@font-face{font-family:Tajawal;src:url('./assets/tajawal-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Tajawal;src:url('./assets/tajawal-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Tajawal;src:url('./assets/tajawal-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Tajawal;src:url('./assets/tajawal-800.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
@font-face{font-family:Poppins;src:url('./assets/poppins-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('./assets/poppins-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url('./assets/poppins-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('./assets/poppins-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{
  --brand-terracotta:#8B3E2F;
  --brand-orange:#E67E22;
  --brand-olive:#6B8F71;
  --brand-cream:#F8EFE6;
  --surface:#FFFCF8;
  --surface-soft:#F4E9DF;
  --ink:#382B26;
  --muted:#84766D;
  --line:#E7D9CE;
  --shadow:0 8px 24px #3C261B12;
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:24px;
  --font-ar:Tajawal,Tahoma,Arial,sans-serif;
  --font-en:Poppins,Tajawal,Arial,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--brand-cream);scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:var(--font-ar);font-size:15px;background:var(--brand-cream);-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #E67E2266;outline-offset:3px}
button:active{transform:scale(.985)}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}
img{max-width:100%}
[hidden]{display:none!important}
.app-shell{position:relative;max-width:1120px;margin:0 auto;min-height:100vh;background:var(--brand-cream);box-shadow:0 0 50px #54271A0C;overflow:hidden}
.topbar{height:76px;background:#F8EFE6F5;position:fixed;z-index:20;top:0;inset-inline:0;max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:8px 22px;border-bottom:1px solid #8B3E2F16;gap:12px;backdrop-filter:blur(14px)}
.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none}
.brand-lockup>img{width:44px;height:44px;object-fit:cover;border-radius:14px;box-shadow:0 3px 10px #8B3E2F1C}
.brand-copy{display:grid;gap:1px;line-height:1.1;min-width:0}
.brand-en{font-family:var(--font-en);font-size:18px;font-weight:800;letter-spacing:-.6px;direction:ltr;text-align:right;color:var(--brand-terracotta)}
.brand-en span{color:var(--brand-orange)}
.brand-copy small{font-size:10px;font-weight:700;color:var(--muted);white-space:nowrap;margin-top:3px}
.top-actions{display:flex;align-items:center;gap:8px;min-width:0}
.location,.icon-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 11px;border-radius:14px;background:var(--surface);border:1px solid var(--line);color:var(--brand-terracotta);font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 2px 7px #54301C08}
.location svg{width:17px;height:17px;color:var(--brand-olive)}
.chev{font-family:Arial;color:var(--brand-olive);font-size:13px}
.icon-button{width:42px;padding:0;position:relative}
.icon-button svg{width:19px;height:19px}
main{max-width:980px;margin:0 auto;padding:94px 22px 118px}
.welcome{margin:0 2px 17px;display:flex;justify-content:space-between;align-items:end;gap:12px}
.welcome h1{font-size:26px;line-height:1.25;margin:2px 0 0;color:var(--brand-terracotta);font-weight:800}
.welcome>p{max-width:220px;text-align:left;font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 3px}
.eyebrow,.section-kicker{margin:0;color:var(--brand-olive);font-weight:800;font-size:11px;line-height:1.35}
.hero{position:relative;isolation:isolate;min-height:250px;overflow:hidden;border-radius:var(--radius-lg);padding:23px;color:#fff;background:var(--brand-terracotta) url('./assets/kitchen.jpg') center 57%/cover;box-shadow:var(--shadow);display:flex;align-items:center;border:1px solid #FFFFFF33}
.hero:before{content:"";position:absolute;z-index:-1;inset:0;background:#51251FC7}
.hero-content{max-width:370px;position:relative;z-index:1}
.open-label{display:inline-flex;gap:7px;align-items:center;min-height:28px;border:1px solid #FFFFFF4D;background:#FFFFFF18;border-radius:30px;padding:0 10px;font-size:10px;font-weight:800;color:#FFF9F2}
.open-label i{width:7px;height:7px;background:var(--brand-olive);border:1px solid #FFFFFFA6;border-radius:50%}
.hero h2{font-size:32px;line-height:1.18;margin:11px 0 7px;font-weight:800;color:#FFFCF8}
.hero p{font-size:13px;line-height:1.65;margin:0 0 14px;color:#FFF5EC;font-weight:500}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.join-button{background:var(--brand-orange);color:white;padding:11px 16px;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:13px;font-size:12px;font-weight:800;min-height:44px;box-shadow:0 4px 12px #30130C26}
.join-button svg{width:15px;height:15px;transform:rotate(180deg)}
.hero-text-button{font-size:12px;font-weight:700;color:#FFF8EF;text-decoration:underline;text-underline-offset:3px;padding:8px 2px}
.hero-brand-pill{position:absolute;left:15px;bottom:14px;display:flex;align-items:center;gap:6px;background:#F8EFE6EB;color:var(--brand-terracotta);padding:6px 9px;border-radius:12px;font:700 10px var(--font-en);direction:ltr;box-shadow:0 4px 12px #2A110D20}
.hero-brand-pill img{width:20px;height:20px;border-radius:7px}
.search-section{margin:25px 0 22px}
.search-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.search-heading h2,.section-heading h2{font-size:19px;line-height:1.35;margin:2px 0 0;color:var(--brand-terracotta);font-weight:800}
.search-badge{display:grid;place-items:center;width:38px;height:38px;background:#E67E221A;color:var(--brand-orange);border-radius:13px}
.search-badge svg{width:19px;height:19px}
.search-input{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:0 14px;height:50px;color:var(--brand-olive);box-shadow:0 3px 9px #59331A08}
.search-input input{width:100%;border:0;background:none;color:var(--ink);font-size:14px;outline:none}
.search-input input::placeholder{color:#9C8E85}
.sections{margin:0 0 20px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 1px 12px;gap:12px}
.section-heading>button{color:var(--brand-terracotta);background:var(--surface);font-size:11px;border:1px solid var(--line);border-radius:20px;padding:7px 11px;white-space:nowrap;font-weight:700}
.section-heading>button span{color:var(--brand-orange);padding-right:3px}
.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.section-tile{position:relative;padding:9px 7px 8px;border-radius:17px;min-height:108px;background:var(--surface);color:var(--brand-terracotta);border:1px solid var(--line);box-shadow:0 3px 10px #63321D09;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:hidden}
.section-tile img{width:58px;height:54px;display:block;object-fit:contain}
.section-tile strong{font-size:12px;line-height:1.35;display:block;font-weight:800;text-align:center}
.other-tile{grid-column:1/-1;min-height:62px;flex-direction:row;justify-content:flex-start;gap:11px;padding:8px 14px;text-align:right;background:#6B8F7110}
.other-tile svg{width:32px;height:32px;color:var(--brand-olive)}
.other-tile strong{font-size:13px;padding:0}
.other-tile small{font-size:10px;line-height:1.5;color:var(--muted)}
.other-tile>span:last-child{margin-right:auto!important;color:var(--brand-orange)}
.city-card{width:100%;display:flex;text-align:right;gap:11px;align-items:center;background:#6B8F7110;border:1px solid #6B8F7138;border-radius:19px;padding:12px 13px;margin:15px 0 22px;box-shadow:0 3px 10px #314B3209;min-height:84px}
.city-picture{width:49px;height:49px;flex:0 0 auto;border-radius:16px;background:#6B8F711C;display:grid;place-items:center;color:var(--brand-olive)}
.city-picture svg{width:25px;height:25px}
.city-card-copy{flex:1;min-width:0}
.city-card-copy small{display:block;font-size:10px;color:var(--muted);line-height:1.5}
.city-card-copy>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.city-card-copy strong{font-size:17px;font-weight:800;color:var(--brand-terracotta)}
.city-card-copy em{font-size:10px;color:#4F7154;background:#6B8F7118;border-radius:20px;padding:3px 8px;font-style:normal;font-weight:700}
.change-city{background:var(--surface);color:var(--brand-terracotta);padding:7px 10px;border:1px solid var(--line);border-radius:13px;font-size:10px;font-weight:800;white-space:nowrap}
.change-city b{color:var(--brand-olive);padding-inline-start:3px}
.carousel-section{margin:0 0 20px}
.carousel{height:190px;border-radius:20px;overflow:hidden;position:relative;box-shadow:var(--shadow);background:var(--brand-terracotta)}
.carousel>img{width:100%;height:100%;object-fit:cover}
.carousel-shade{position:absolute;inset:0;background:#38221DC2}
.carousel-copy{position:absolute;right:18px;top:22px;color:white;max-width:72%}
.carousel-copy small{font-size:11px;display:flex;align-items:center;gap:6px;color:#F8EFE6}
.carousel-copy small svg{width:15px;height:15px;color:var(--brand-orange)}
.carousel h3{font-size:20px;margin:8px 0 3px;font-weight:800}
.carousel p{font-size:12px;margin:4px 0 10px;color:#F8EFE6}
.carousel-copy button{color:var(--brand-terracotta);background:var(--brand-cream);border-radius:11px;padding:7px 11px;font-size:11px;font-weight:800}
.carousel-arrow{position:absolute;top:calc(50% - 16px);width:32px;height:32px;background:#3D211D88;border:1px solid #FFFFFF55;border-radius:50%;color:white;font:24px Arial;display:grid;place-items:center}
.prev{left:10px}
.next{right:10px}
.dots{display:flex;justify-content:center;gap:5px;padding:9px 0 0}
.dots span{height:5px;width:5px;border-radius:50%;background:#D9C7BA}
.dots span.selected{background:var(--brand-orange);width:16px;border-radius:5px}
.recent{margin:0 0 23px}
.kitchen-cards{display:flex;gap:12px;overflow-x:auto;padding:0 1px 9px;scrollbar-width:none;scroll-snap-type:x mandatory}
.kitchen-cards::-webkit-scrollbar{display:none}
.kitchen-card{padding:0;background:var(--surface);min-width:154px;width:154px;overflow:hidden;border-radius:17px;border:1px solid var(--line);text-align:right;flex-shrink:0;box-shadow:0 4px 11px #48250D0D;scroll-snap-align:start}
.kitchen-photo{height:112px;position:relative;overflow:hidden;background:var(--surface-soft)}
.kitchen-photo img{width:100%;height:100%;object-fit:cover;display:block}
.kitchen-photo span{position:absolute;bottom:8px;right:8px;font-size:10px;background:var(--brand-terracotta);color:#fff;border-radius:12px;padding:4px 8px}
.kitchen-card strong{display:block;font-size:12px;margin:9px 10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--brand-terracotta)}
.kitchen-card small{display:block;font-size:10px;color:var(--brand-olive);margin:4px 10px 10px;font-weight:700}
.meal-finder-pro{position:relative;overflow:hidden;border:1px solid #6B8F7140;border-radius:22px;background:var(--surface);box-shadow:0 8px 22px #34382D0B;margin:19px 0 17px}
.meal-finder-decoration{position:absolute;top:-83px;left:-73px;width:185px;height:185px;border:20px solid #6B8F7116;border-radius:50%;pointer-events:none}
.meal-finder-content{position:relative;padding:18px}
.meal-finder-header{display:flex;align-items:flex-start;gap:12px;padding-bottom:15px;border-bottom:1px solid #EEE5DD}
.meal-finder-icon{display:grid;width:45px;height:45px;flex:0 0 auto;place-items:center;border-radius:14px;background:var(--brand-cream);box-shadow:0 3px 9px #8B3E2F12}
.meal-finder-brand-mark{width:40px;height:40px;object-fit:cover;border-radius:11px}
.meal-finder-heading{min-width:0;flex:1}
.meal-finder-tag{display:inline-flex;align-items:center;margin:0 0 4px;padding:3px 8px;border-radius:999px;background:#6B8F7116;color:#55745A;font-size:10px;font-weight:800;line-height:1.3}
.meal-finder-title{margin:0;color:var(--brand-terracotta);font-size:22px;font-weight:800;line-height:1.3}
.meal-finder-description{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.meal-finder-description strong{color:var(--brand-olive)}
.meal-finder-form{display:grid;gap:14px;margin-top:15px}
.field-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.field-heading small{font-size:10px;color:var(--muted);direction:ltr}
.meal-finder-form label{font-size:12px;font-weight:800;color:var(--brand-terracotta)}
.meal-finder-form label span{font-size:10px;font-weight:400;color:var(--muted)}
.meal-finder-form textarea{width:100%;resize:vertical;min-height:76px;background:#FFFAF6;border:1px solid var(--line);border-radius:13px;padding:10px 12px;color:var(--ink);font-size:13px;line-height:1.8}
.hint{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px}
.budget-row{display:flex;align-items:center;background:#FFFAF6;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:6px;padding:0 11px}
.budget-row input{width:100%;background:none;border:0;padding:10px 0;font-size:13px;outline:none;color:var(--ink)}
.budget-row span{white-space:nowrap;color:var(--brand-olive);font-size:12px;font-weight:700}
.suggest-button{background:var(--brand-olive);color:white;border-radius:12px;padding:12px;font-weight:800}
.suggest-button span{margin-right:6px;color:var(--brand-cream)}
.result-note{background:#6B8F7112;border:1px solid #6B8F7126;border-radius:12px;padding:10px;font-size:11px;line-height:1.8;color:#4F6C53}
.install-card{display:flex;text-align:right;width:100%;margin:5px 0 0;gap:11px;align-items:center;min-height:73px;padding:11px 13px;border-radius:17px;background:var(--brand-terracotta);color:white;box-shadow:0 5px 14px #8B3E2F20;border:1px solid var(--brand-terracotta)}
.install-card img{width:45px;height:45px;object-fit:cover;background:#fff;border-radius:13px;box-shadow:0 1px 4px #32140F30}
.install-card span{flex:1;min-width:0}
.install-card strong{font-size:14px;display:block;line-height:1.45}
.install-card small{font-size:10px;line-height:1.5;color:#F8EFE6;display:block}
.install-card>svg{width:18px;height:18px;transform:rotate(180deg);color:var(--brand-orange)}
.demo-note{text-align:center;font-size:10px;line-height:1.8;color:var(--muted);margin:17px 5px 0}
.bottom-nav{position:fixed;bottom:0;inset-inline:0;max-width:1120px;margin:auto;display:flex;justify-content:space-around;z-index:25;background:#FFFCF8F5;backdrop-filter:blur(14px);border-top:1px solid #8B3E2F15;padding:7px 14px calc(7px + env(safe-area-inset-bottom));height:calc(76px + env(safe-area-inset-bottom));box-shadow:0 -7px 20px #48250D08}
.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;padding:0;color:#96877F}
.nav-icon{display:grid;place-items:center;width:40px;height:34px;border-radius:12px;transition:background .15s,color .15s}
.nav-icon svg{width:21px;height:21px}
.nav-item.active{color:var(--brand-terracotta)}
.nav-item.active .nav-icon{background:#E67E2218;color:var(--brand-orange)}
.nav-item b{font-size:10px;font-weight:700}
.modal-backdrop{position:fixed;inset:0;background:#2316138A;z-index:100;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}
.sheet{position:relative;max-width:520px;width:100%;background:var(--surface);border-radius:25px 25px 0 0;padding:28px 20px calc(27px + env(safe-area-inset-bottom));max-height:86vh;overflow:auto;box-shadow:0 -12px 40px #0002;border-top:3px solid var(--brand-orange)}
.close{position:absolute;left:15px;top:10px;color:var(--muted);font-size:28px;width:35px;height:35px;border-radius:11px;background:var(--brand-cream)}
.sheet h2{font-size:21px;color:var(--brand-terracotta);margin:7px 45px 12px 0;font-weight:800}
.sheet p,.sheet li{font-size:13px;line-height:1.9;color:#786A61}
.sheet button.city-option{display:block;padding:11px 13px;background:var(--brand-cream);border:1px solid var(--line);border-radius:12px;width:100%;margin:7px 0;text-align:right;color:var(--brand-terracotta);font-weight:700}
.sheet img{max-height:210px;object-fit:cover;border-radius:16px}
.sheet .install-now{display:block;width:100%;background:var(--brand-orange);color:white;padding:13px;border-radius:13px;margin:13px 0;font-weight:800}
.search-results{background:var(--surface);border-radius:14px;border:1px solid var(--line);margin-top:8px;padding:8px;box-shadow:var(--shadow)}
.search-results button{display:block;padding:11px;border-bottom:1px solid #EFE4D9;width:100%;text-align:right;font-size:13px;color:var(--brand-terracotta)}
.search-results p{font-size:12px;color:var(--muted);margin:4px}
#toast{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);z-index:150;width:max-content;max-width:90%;background:var(--brand-terracotta);color:white;padding:11px 16px;border-radius:13px;font-size:12px;box-shadow:0 5px 20px #0002}
#secondary-view{min-height:90vh;padding-top:90px}
.secondary-header{display:flex;gap:10px;align-items:center;margin:0 0 18px}
.secondary-header h1{font-size:25px;color:var(--brand-terracotta);margin:0;font-weight:800}
.secondary-header img{width:40px;height:40px;border-radius:13px}
.empty-state{margin:22px 0;text-align:center;padding:25px 18px;border:1px dashed #D9BFAE;border-radius:22px;background:var(--surface)}
.empty-state svg{width:46px;height:46px;color:var(--brand-olive)}
.empty-state h2{font-size:20px;color:var(--brand-terracotta);margin:8px 0}
.empty-state p{font-size:13px;line-height:1.9;color:var(--muted);margin:5px auto 15px;max-width:460px}
.menu-option{display:flex;align-items:center;gap:12px;width:100%;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px;margin:8px 0;font-size:14px;text-align:right;color:var(--brand-terracotta);font-weight:700;box-shadow:0 3px 8px #48250D06}
.menu-option svg{width:19px;height:19px;color:var(--brand-olive)}
.menu-option span:last-child{margin-right:auto;color:var(--brand-orange)}

/* Shared screen system: reusable cards, forms and navigation for the client and kitchen-owner flows. */
.page-wrap{max-width:860px;margin:0 auto;padding-bottom:10px}
.page-head{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px}
.page-back{width:39px;height:39px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:var(--surface);border:1px solid var(--line);color:var(--brand-terracotta)}
.page-back svg{width:18px;height:18px;transform:rotate(180deg)}
.page-heading{min-width:0;flex:1}
.page-kicker{margin:1px 0 2px;color:var(--brand-olive);font-size:11px;font-weight:800}
.page-title{margin:0;color:var(--brand-terracotta);font-size:24px;line-height:1.3;font-weight:800}
.page-desc{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.demo-alert{display:flex;gap:9px;align-items:flex-start;padding:11px 13px;margin:0 0 15px;border:1px solid #6B8F713D;border-radius:14px;background:#6B8F710C;color:#526C55;font-size:11px;line-height:1.7}
.demo-alert svg{width:17px;height:17px;margin-top:1px}
.screen-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:15px;box-shadow:0 4px 12px #48250D07;margin:0 0 12px}
.screen-card h2,.screen-card h3{margin:0 0 7px;color:var(--brand-terracotta);font-size:17px;line-height:1.4}
.screen-card p{margin:5px 0;color:var(--muted);font-size:12px;line-height:1.75}
.screen-grid{display:grid;grid-template-columns:1fr;gap:10px}
.screen-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.screen-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.screen-link{display:flex;align-items:center;gap:10px;width:100%;text-align:right;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--brand-terracotta);font-weight:700;box-shadow:0 3px 9px #48250D06}
.screen-link>svg:first-child{width:21px;height:21px;color:var(--brand-olive)}
.screen-link span{flex:1;min-width:0}
.screen-link strong{display:block;font-size:13px;line-height:1.35}
.screen-link small{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.4}
.screen-link>svg:last-child{width:16px;height:16px;color:var(--brand-orange);transform:rotate(180deg)}
.screen-link.compact{padding:10px;font-size:12px}
.category-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.category-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:center;padding:8px 6px 10px;color:var(--brand-terracotta)}
.category-card img{width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:11px;display:block;margin-bottom:6px}
.category-card strong{font-size:11px;line-height:1.3;display:block}
.photo-card{position:relative;overflow:hidden;border-radius:19px;background:var(--surface-soft);margin:0 0 12px}
.photo-card img{display:block;width:100%;height:190px;object-fit:cover}
.photo-card .photo-label{position:absolute;inset-inline-start:10px;bottom:10px;background:var(--brand-terracotta);color:white;border-radius:10px;padding:5px 9px;font-size:10px;font-weight:700}
.content-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}
.chip{border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:7px 11px;color:var(--muted);font-size:11px;font-weight:700}
.chip.selected{background:#6B8F7114;border-color:#6B8F7150;color:var(--brand-olive)}
.action-row{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0 0}
.action-row>*{flex:1}
.outline-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--brand-terracotta);font-size:12px;font-weight:800}
.outline-button svg{width:17px;height:17px;color:var(--brand-olive)}
.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 14px;border-radius:13px;background:var(--brand-terracotta);color:white;font-size:12px;font-weight:800}
.primary-button.accent{background:var(--brand-orange)}
.primary-button.olive{background:var(--brand-olive)}
.primary-button:disabled{opacity:.55;cursor:not-allowed}
.visual-form{display:grid;gap:12px}
.field{display:grid;gap:5px}
.field label{font-size:12px;font-weight:800;color:var(--brand-terracotta)}
.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;background:#FFFAF6;padding:10px 12px;color:var(--ink);font-size:13px;outline:none}
.field input::placeholder,.field textarea::placeholder{color:#A09389}
.field textarea{min-height:78px;resize:vertical}
.field-note{font-size:10px;color:var(--muted);line-height:1.6}
.auth-panel{max-width:520px;margin:0 auto}
.auth-brand{text-align:center;padding:6px 0 18px}
.auth-brand img{width:72px;height:72px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}
.auth-brand strong{display:block;margin:9px 0 2px;color:var(--brand-terracotta);font:700 20px var(--font-en);direction:ltr}
.auth-brand small{color:var(--muted);font-size:12px}
.avatar{width:58px;height:58px;display:grid;place-items:center;border-radius:20px;background:#6B8F7116;color:var(--brand-olive)}
.avatar svg{width:28px;height:28px}
.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:12px}
.stat-card small{display:block;color:var(--muted);font-size:10px}
.stat-card strong{display:block;color:var(--brand-terracotta);font-size:20px;margin-top:3px}
.stat-card em{display:block;color:var(--brand-olive);font-size:10px;font-style:normal}
.list-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #EFE5DD}
.list-row:last-child{border-bottom:0}
.list-row img{width:53px;height:49px;object-fit:cover;border-radius:12px;background:var(--surface-soft)}
.list-row .row-copy{flex:1;min-width:0}
.list-row strong{display:block;color:var(--brand-terracotta);font-size:13px}
.list-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px;line-height:1.5}
.list-row .row-value{color:var(--brand-terracotta);font-size:12px;font-weight:800;white-space:nowrap}
.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#6B8F7116;color:#537459;padding:5px 8px;font-size:10px;font-weight:800}
.status-pill.warm{background:#E67E2217;color:#B7671E}
.progress-track{height:6px;background:var(--surface-soft);border-radius:99px;overflow:hidden;margin:12px 0}
.progress-track span{display:block;height:100%;width:42%;background:var(--brand-olive);border-radius:inherit}
.progress-list{display:grid;gap:0;margin:10px 0}
.progress-step{display:flex;gap:10px;position:relative;padding:0 0 15px}
.progress-step:not(:last-child):after{content:"";position:absolute;right:11px;top:24px;bottom:0;border-right:1px solid var(--line)}
.progress-dot{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#6B8F7117;color:var(--brand-olive);z-index:1}
.progress-dot svg{width:14px;height:14px}
.progress-step strong{display:block;font-size:12px;color:var(--brand-terracotta)}
.progress-step small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.star-rating{border:0;padding:0;margin:8px 0 14px;min-width:0}
.star-rating legend{font-weight:800;color:var(--brand-terracotta);padding:0 0 4px}
.star-options{display:flex;gap:5px;margin:8px 0;justify-content:flex-start}
.star-choice{position:relative;display:grid;place-items:center;width:42px;height:42px;cursor:pointer;border-radius:10px}
.star-choice input{position:absolute;inset:0;opacity:0;cursor:pointer}
.star-choice span{font-size:30px;line-height:1;color:#C9BFB5;transition:color .15s,transform .15s;pointer-events:none}
.star-choice:hover span,.star-choice input:checked+span,.star-choice:has(~ .star-choice input:checked) span{color:var(--brand-orange);transform:scale(1.08)}
.star-choice input:focus-visible+span{outline:2px solid var(--brand-terracotta);outline-offset:4px;border-radius:3px}
.star-rating small,.chat-privacy-note{color:var(--muted);font-size:11px}
.chat-privacy-note{margin:0}
.chat-thread{display:grid;gap:9px;margin:10px 0}
.chat-bubble{max-width:84%;padding:10px 12px;border-radius:14px;background:var(--brand-cream);color:var(--ink);font-size:12px;line-height:1.7}
.chat-bubble.mine{margin-right:auto;background:#6B8F7118}
.visual-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;text-align:right;padding:12px 0;border-bottom:1px solid #EFE5DD;color:var(--brand-terracotta);font-size:13px;font-weight:700}
.toggle-track{width:40px;height:23px;border-radius:99px;background:#D7CDC5;padding:3px;flex:0 0 auto}
.toggle-track:after{content:"";display:block;width:17px;height:17px;border-radius:50%;background:white}
.toggle-track.on{background:var(--brand-olive)}
.toggle-track.on:after{margin-right:auto}
.mini-chart{display:flex;align-items:end;gap:9px;height:122px;padding:12px 8px 4px;border-bottom:1px solid var(--line)}
.mini-chart span{flex:1;min-width:14px;background:#6B8F715C;border-radius:7px 7px 0 0;position:relative}
.mini-chart span:nth-child(2n){background:#8B3E2F70}
.chart-labels{display:flex;justify-content:space-around;color:var(--muted);font-size:9px;margin-top:6px}
.screen-gallery{display:grid;grid-template-columns:1fr;gap:10px}
.gallery-title{margin:18px 0 9px;color:var(--brand-olive);font-size:13px;font-weight:800}
.onboard-visual{overflow:hidden;border-radius:20px;margin:0 0 15px;background:var(--surface-soft)}
.onboard-visual img{width:100%;height:185px;object-fit:cover;display:block}
.onboard-points{display:grid;gap:8px;margin:12px 0}
.onboard-point{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:12px}
.onboard-point svg{width:18px;height:18px;color:var(--brand-olive)}
.food-detail-photo img{height:230px}
.food-price{color:var(--brand-terracotta);font-weight:800;font-size:18px}

@media(min-width:640px){
  main{padding:100px 32px 126px}
  .topbar{padding-inline:32px}
  .welcome h1{font-size:29px}
  .hero{min-height:270px;padding:28px}
  .hero h2{font-size:36px}
  .section-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .section-tile{min-height:126px}
  .section-tile img{width:68px;height:61px}
  .kitchen-cards{gap:14px}
  .kitchen-card{width:180px;min-width:180px}
  .kitchen-photo{height:126px}
  .screen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .screen-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .screen-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bottom-nav{height:78px;padding-inline:24px}
}
@media(min-width:960px){
  main{max-width:1000px;padding-inline:44px}
  .topbar{padding-inline:44px}
  .welcome{margin-bottom:20px}
  .hero{min-height:300px}
  .section-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .carousel{height:220px}
  .carousel-copy{top:28px;right:26px}
  .kitchen-cards{overflow:visible;flex-wrap:wrap}
  .kitchen-card{flex:1 1 170px;max-width:220px}
  .bottom-nav{height:80px}
}
@media(max-width:380px){
  .topbar{padding-inline:11px;gap:7px}
  .brand-lockup{gap:7px}
  .brand-lockup>img{width:38px;height:38px}
  .brand-en{font-size:16px}
  .brand-copy small{font-size:9px}
  .top-actions{gap:5px}
  .location{font-size:11px;padding-inline:7px;gap:4px;min-height:39px}
  .icon-button{width:38px;min-height:39px}
  main{padding-inline:14px}
  .welcome h1{font-size:22px}
  .welcome>p{font-size:10px;max-width:125px}
  .hero{min-height:222px;padding:17px}
  .hero h2{font-size:27px}
  .hero p{font-size:11px}
  .section-grid{gap:7px}
  .section-tile{min-height:99px}
  .section-tile img{width:49px;height:46px}
  .section-tile strong{font-size:10px}
  .page-title{font-size:22px}
  .screen-grid.two{grid-template-columns:1fr}
  .category-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .meal-finder-content{padding:14px}
  .meal-finder-header{gap:9px}
  .meal-finder-title{font-size:19px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(display-mode:standalone){
  .topbar{padding-top:calc(8px + env(safe-area-inset-top));height:calc(76px + env(safe-area-inset-top))}
  main{padding-top:calc(94px + env(safe-area-inset-top))}
  #secondary-view{padding-top:calc(90px + env(safe-area-inset-top))}
  .install-card{display:none}
}

.preview-banner{margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-inline-start:4px solid var(--brand-orange);border-radius:14px;background:var(--brand-cream);color:var(--brand-terracotta);font-weight:700;line-height:1.6;font-size:14px}
.page-wrap>.preview-banner{margin:0 0 14px}
