:root {--forest-deep:#10312b;--forest-soft:#e9f1ee;--gold:#c79b59;--ink:#24322e;--muted:#6e7a75;--bg:#f7f8f5;--paper:#fff;--line:#e5eae6;--orange:#bc6e37;--red:#b3504a;--red-soft:#fff0ed;--green:#277b5b;--green-soft:#e5f5ed;--shadow:0 8px 28px rgba(22,45,35,.052);--radius:18px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--forest)}.hide{display:none!important}.muted{color:var(--muted)}.tiny{font-size:12px}.small{font-size:13px}.bold{font-weight:700}.right{text-align:right}.center{text-align:center}.nowrap{white-space:nowrap}.caps{letter-spacing:.15em;text-transform:uppercase;font-size:10px;font-weight:800;color:var(--muted)}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.055em;line-height:1.18}h2{font-size:21px;letter-spacing:-.03em;line-height:1.25}h3{font-size:16px;letter-spacing:-.018em}p{line-height:1.55}.fancy{font-family:Georgia,serif;letter-spacing:-.04em}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c19c60;outline-offset:2px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;border:1px solid transparent;border-radius:10px;background:var(--forest);color:#fff;font-weight:700;line-height:1.15;transition:.15s;min-height:41px}.btn:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.ghost{background:transparent;border-color:transparent;color:var(--forest)}.btn.critical{background:var(--red)}.btn.light{background:#eef3ee;color:var(--forest)}.btn.gold{background:var(--gold);color:#1b2e27}.btn.small{min-height:34px;padding:8px 11px;font-size:12px}.btn.wide{width:100%}.btn.soft{background:var(--forest-soft);color:var(--forest)}.roundbtn{border:1px solid var(--line);border-radius:50%;background:#fff;width:30px;height:30px;display:inline-grid;place-items:center;font-size:19px;color:var(--forest)}
.app-layout{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--forest);color:#f5f7f4;padding:28px 18px 20px}.brand{display:flex;align-items:center;gap:11px;padding:4px 12px 23px}.brand-logo{display:grid;place-items:center;width:42px;height:42px;color:var(--forest);background:#e9e4d8;border-radius:12px;font-family:Georgia,serif;font-size:25px;font-weight:700}.brand-word{font-weight:900;letter-spacing:.18em;font-size:21px;line-height:1}.brand-sub{font-size:10px;letter-spacing:.08em;color:#a8c5b8;margin-top:6px}.nav-kicker{color:#84a69a;padding:15px 14px 8px;font-size:10px;font-weight:800;letter-spacing:.14em}.nav{display:grid;gap:5px}.nav-item{color:#ccdad3;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px 13px;background:transparent;border:0;border-radius:11px;font-weight:650;font-size:13px}.nav-item:hover{background:#255047;color:#fff}.nav-item.active{background:#eaf0eb;color:var(--forest);box-shadow:0 1px 7px #09241d24}.nav-icon{font-size:17px;width:20px;text-align:center}.side-bottom{margin-top:auto;display:grid;gap:14px;padding:12px}.side-profile{border-top:1px solid #43675c;padding-top:18px}.avatar{display:grid;place-items:center;background:#f7e5c7;color:#6a5435;border-radius:13px;width:40px;height:40px;font-weight:800}.profile-flex{display:flex;gap:10px;align-items:center}.profile-name{font-size:13px;font-weight:800}.profile-sub{font-size:11px;color:#a9c5ba}.side-link{border:0;background:transparent;text-align:left;padding:7px 0;color:#d4e4db;font-size:12px}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:15px}.topbar-left{font-size:13px;font-weight:700;color:#4f615b}.topbar-right{display:flex;align-items:center;gap:12px}.pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:20px;background:var(--forest-soft);color:var(--forest);font-size:11px;font-weight:800}.pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#539b6b}.pill.demo{background:#fff3df;color:#856336}.pill.demo:before{background:#d4a343}.workspace{max-width:1310px;padding:34px 44px 85px;margin:auto}.heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:25px}.page-desc{color:var(--muted);margin-top:7px;font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:24px 0 13px;gap:12px}.section-head h2{font-size:19px}
.card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);padding:23px;min-width:0}.card.flush{padding:0;overflow:hidden}.card.flat{box-shadow:none}.card h3{margin-bottom:7px}.card + .card{margin-top:12px}.grid{display:grid;gap:17px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.content-side{grid-template-columns:minmax(0,1fr) 335px;align-items:start}.stack{display:grid;gap:15px}.row{display:flex;align-items:center;gap:12px}.row.between{justify-content:space-between}.row.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.divider{border:0;border-top:1px solid var(--line);margin:18px 0}.mt{margin-top:18px}.mb{margin-bottom:18px}.mbsm{margin-bottom:9px}.mtlg{margin-top:28px}.subtle{color:var(--muted)}
.hero{background:linear-gradient(105deg,#173c35,#254f45);border-radius:20px;padding:32px 35px;position:relative;overflow:hidden;color:#fff;min-height:166px}.hero:after{content:'N';position:absolute;right:28px;top:-65px;font-family:Georgia,serif;font-size:250px;font-weight:700;color:#ffffff0d;pointer-events:none}.hero>*{position:relative;z-index:1}.hero h1{font-size:28px;margin:8px 0}.hero p{font-size:13px;color:#d3e3dc;max-width:560px}.hero .caps{color:#dcb983}.hero.light{background:#e8efe9;color:var(--forest)}.hero.light p{color:#4f675d}
.stat{min-height:128px;padding:20px}.stat .number{font-size:28px;font-weight:850;letter-spacing:-.04em;line-height:1.2;margin:10px 0 2px}.stat .icon-tile{height:32px;width:32px;display:grid;place-items:center;background:var(--forest-soft);border-radius:9px;color:var(--forest)}.stat .bottom{font-size:11px;color:var(--muted)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:800;white-space:nowrap;background:#edf2ef;color:#596e64}.badge.open{background:#e8f5ec;color:#2b8052}.badge.submitted{background:#e7eefc;color:#35629a}.badge.confirmed{background:#e9f0ed;color:#1b664f}.badge.delivered{background:#ece9fb;color:#69579d}.badge.cancelled{background:#f9edeb;color:#aa4b49}.badge.unpaid{background:#fff1dd;color:#ab7132}.badge.paid{background:#e8f5ec;color:#277c54}
.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:13px}.table th{text-align:left;background:#f8faf8;padding:12px 15px;color:#7b8982;font-size:10px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.table td{border-top:1px solid var(--line);padding:14px 15px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table .name{font-weight:800}.table .desc{display:block;font-size:11px;color:var(--muted);margin-top:3px}.table button{white-space:nowrap}.line-items{display:grid;gap:8px}.line-item{display:flex;justify-content:space-between;align-items:start;gap:12px;font-size:13px}.line-item .quant{font-size:12px;color:var(--muted)}
.product-card{display:flex;flex-direction:column;gap:12px;padding:18px}.product-head{display:flex;align-items:center;justify-content:space-between}.food-icon{width:43px;height:43px;border-radius:12px;background:#f3f1e8;display:grid;place-items:center;font-size:22px}.product-price{font-size:18px;font-weight:850;color:var(--forest)}.product-card h3{font-size:15px;margin-bottom:0}.product-desc{font-size:12px;color:var(--muted);min-height:37px}.product-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.quantity{display:flex;align-items:center;gap:13px}.quantity span{min-width:12px;text-align:center;font-weight:750}.order-sidebar{position:sticky;top:24px}.cart-total{display:flex;justify-content:space-between;align-items:center;margin:13px 0 17px;padding-top:15px;border-top:1px solid var(--line)}.cart-total strong{font-size:25px;letter-spacing:-.04em;color:var(--forest)}.empty{display:grid;place-items:center;text-align:center;padding:40px 20px;color:var(--muted);gap:8px}.empty-icon{font-size:34px}
label.field{display:grid;gap:6px;font-size:12px;font-weight:750;color:#46574e}.field input,.field select,.field textarea,input.entry,select.entry{width:100%;border:1px solid #dce4de;border-radius:10px;min-height:42px;padding:10px 12px;color:var(--ink);background:#fff;font-size:14px}.field textarea{min-height:75px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#799c88;outline:2px solid #b9d5c6}.form{display:grid;gap:15px}.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form .span2{grid-column:1/-1}.help{font-size:11px;color:var(--muted)}.selectbar{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid var(--line);border-radius:999px;background:#fff;padding:9px 12px;font-size:12px;font-weight:800;color:#6a7a71}.chip.active{background:var(--forest);color:#fff;border-color:var(--forest)}.selection{min-width:210px;border-radius:10px;border:1px solid var(--line);padding:10px 12px;background:#fff;color:var(--ink);font-weight:650}
.notice{padding:13px 16px;background:var(--forest-soft);border:1px solid #cfe1d6;border-radius:12px;color:var(--forest);font-size:12px}.notice.warning{background:#fff4e7;border-color:#f1e0c3;color:#875c2f}.notice.error{background:var(--red-soft);border-color:#f1d5d1;color:#a4433c}.alert-host{position:fixed;right:20px;top:18px;z-index:90;width:min(400px,calc(100% - 40px))}.toast{box-shadow:0 8px 40px #12302626;background:#fff;border-left:4px solid var(--green);padding:16px 18px;border-radius:9px;font-weight:750;font-size:13px}.toast.error{border-left-color:#c6544f}.code-box{padding:10px 13px;background:#f3f6f3;border:1px dashed #b5c7bb;letter-spacing:.1em;border-radius:9px;font-family:ui-monospace,monospace;font-weight:800;color:var(--forest);display:inline-block;font-size:13px}
.login-shell{min-height:100vh;display:grid;grid-template-columns: 1fr 1.02fr}.login-art{background:#173c35;color:#fff;position:relative;padding:57px min(7vw,90px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.login-art::after{content:'N';font-family:Georgia,serif;position:absolute;bottom:-205px;right:-15px;font-size:690px;color:#ffffff0d;line-height:1;pointer-events:none}.login-art>*{position:relative;z-index:2}.login-logo{display:flex;align-items:center;gap:11px;color:#fff;font-size:25px;letter-spacing:.17em;font-weight:850}.login-mark{width:45px;height:45px;display:grid;place-items:center;background:#f0e8d6;color:var(--forest);border-radius:11px;font:700 28px Georgia,serif}.login-art-title{font:normal clamp(42px,5vw,75px)/1.07 Georgia,serif;letter-spacing:-.055em;max-width:680px}.login-art-title em{color:#dfbf83;font-style:italic}.login-art-copy{margin-top:21px;max-width:490px;color:#c5d7ce;font-size:16px}.login-points{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:#acc9b7}.login-panel{display:grid;place-items:center;padding:42px 26px}.login-panel-inner{max-width:415px;width:100%}.login-panel h1{font-size:30px;margin:9px 0 8px}.login-panel .intro{font-size:13px;color:var(--muted);margin-bottom:27px}.login-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#edf1ed;border-radius:11px;margin-bottom:22px}.login-tabs button{border:0;background:transparent;padding:10px;border-radius:8px;color:#6a7e71;font-weight:800;font-size:12px}.login-tabs button.active{background:#fff;color:var(--forest);box-shadow:0 1px 6px #142c1b18}.form-quick{display:grid;gap:9px}.demo-choice{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 13px;width:100%;border:1px solid var(--line);background:#fff;border-radius:11px;color:var(--ink);text-align:left;font-size:13px;font-weight:800}.demo-choice:hover{border-color:#7c9b8b;background:#f7faf8}.demo-choice span{font-size:11px;color:var(--muted);font-weight:500}.login-bottom{margin-top:25px;border-top:1px solid var(--line);padding-top:22px}
.mobile-brand{display:none}.mobile-nav{display:none}.footer-note{color:#9ca6a0;font-size:11px;margin-top:35px}.checkline{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:12px;font-weight:800}.checkline input{width:17px;height:17px;accent-color:var(--forest)}.mini-list{display:grid;gap:8px}.mini-list>div{display:flex;justify-content:space-between;align-items:start;font-size:12px;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}.mini-list>div:last-child{border:0}.round-card{display:flex;justify-content:space-between;align-items:center;gap:14px}.round-card .date{color:var(--muted);font-size:12px}.progressbar{height:7px;background:#e7eee9;overflow:hidden;border-radius:10px}.progressbar>span{display:block;height:100%;background:#408a66;border-radius:10px;transition:width .15s}.icon-squad{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#edf4ef;font-size:21px}
@media(max-width:1050px){.app-layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:24px 12px}.workspace{padding:30px 24px 70px}.topbar{padding:0 24px}.grid.content-side{grid-template-columns:minmax(0,1fr) 290px}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.app-layout{display:block;padding-bottom:68px}.sidebar{display:none}.mobile-brand{display:flex;gap:8px;align-items:center;font-weight:900;color:var(--forest);letter-spacing:.14em}.mobile-brand .brand-logo{height:34px;width:34px;font-size:21px;background:var(--forest);color:#fff}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fff;box-shadow:0 -2px 22px #10281a1c;border-top:1px solid #e5ece7;padding:7px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{background:transparent;color:#718379;border:0;font-size:11px;font-weight:800;padding:6px 7px;display:grid;justify-items:center;gap:2px;border-radius:10px}.mobile-nav button strong{font-size:20px;font-weight:400}.mobile-nav button.active{color:var(--forest);background:#eff5ef}.topbar{height:65px}.workspace{padding:23px 17px 42px}.grid.content-side{grid-template-columns:1fr}.order-sidebar{position:static}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.login-shell{grid-template-columns:1fr}.login-art{min-height:185px;padding:25px}.login-art-title{font-size:29px;max-width:350px}.login-art-copy{font-size:13px;margin-top:7px}.login-points{display:none}.login-panel{padding:28px 20px 45px}.login-panel-inner{max-width:440px}.login-art-title em{white-space:nowrap}}
@media(max-width:540px){h1{font-size:25px}.grid.two,.grid.three{grid-template-columns:1fr}.grid.four{gap:10px}.stat{min-height:113px;padding:15px}.stat .number{font-size:25px}.card{padding:18px}.hero{padding:26px 21px}.heading-row{align-items:start}.heading-row .btn{font-size:11px;padding:8px}.form.two{grid-template-columns:1fr}.topbar{padding:0 16px}.topbar-left{display:none}.table{font-size:12px}.table th,.table td{padding:10px}.round-card{align-items:start;flex-direction:column}.login-panel h1{font-size:26px}.login-art{min-height:170px}.login-art-title{font-size:26px}.product-card{padding:17px}}

/* Wiederkehrende Bestellrunden */
.schedule-list{display:grid;gap:10px;margin:14px 0 22px}
.schedule-item{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fafbf9}
.schedule-item .small{margin:6px 0;font-size:13px}
.weekdays{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.weekdays label{display:flex;align-items:center;gap:5px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-weight:700;min-width:58px}
.weekdays input{accent-color:var(--forest);width:16px;height:16px}
@media(max-width:540px){.schedule-item{align-items:stretch}.schedule-item .row{width:100%}.weekdays label{min-width:52px;padding:9px}}

/* Zentraler Speisenkatalog und Berechtigungen */
.catalog-dish-list{display:grid;gap:10px}
.catalog-dish{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--line)}
.catalog-dish:last-child{border-bottom:0}
.catalog-group-title{font-weight:900;color:var(--forest);font-size:14px;padding:10px 0 4px;margin-top:14px}
.catalog-assignment{border:1px solid var(--line);border-radius:12px;padding:14px;margin:9px 0;background:#fcfdfa}
.catalog-assignment-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.catalog-assignment-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(100px,0.7fr) auto;align-items:end;gap:9px}
.catalog-assignment-fields .field{margin:0}
.catalog-assignment-fields .btn{white-space:nowrap}
@media(max-width:680px){.catalog-assignment-fields{grid-template-columns:1fr 1fr}.catalog-assignment-fields .btn{grid-column:1 / -1;width:100%}}

/* Individueller Pizzakonfigurator */
.pizza-modal-backdrop{position:fixed;inset:0;z-index:1200;background:rgba(8,31,26,.68);display:grid;place-items:center;padding:12px}
.pizza-modal{width:min(600px,100%);max-height:calc(100dvh - 24px);overflow:auto;background:var(--paper,#fff);border-radius:18px;padding:24px;box-shadow:0 18px 70px rgba(0,0,0,.25)}
.pizza-modifier-fieldset{border:1px solid var(--line);border-radius:12px;padding:10px;margin:12px 0}
.pizza-modifier-fieldset legend{font-weight:800;padding:0 7px}
.pizza-modifier-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:11px 5px;cursor:pointer}
.pizza-modifier-row:last-child{border-bottom:0}
.pizza-modifier-row input{width:17px;height:17px;accent-color:#154332}
.pizza-modifier-row strong{font-variant-numeric:tabular-nums}
.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0}
.cart-line .small{margin-top:5px}
.cart-line .row{gap:6px}
.modifier-list{display:grid;gap:7px}
.modifier-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:10px;padding:10px}
.modifier-row strong{font-size:14px}
.pizza-modal .form{margin-top:12px}
.pizza-modal .field{margin-top:10px}
@media(max-width:560px){
  .pizza-modal-backdrop{padding:0;align-items:end}
  .pizza-modal{border-radius:18px 18px 0 0;max-height:91dvh;padding:18px 16px 30px}
  .modifier-row{align-items:flex-start}
}

/* Gesicherte Bildoption im Speisenkatalog */
.product-card .food-icon img{width:100%;height:100%;min-height:65px;max-height:92px;object-fit:cover;border-radius:12px}

/* Einheitliche Bildmarke aus der vorhandenen App-Icon-Datei und Firmen-Detailverwaltung */
.brand-icon{display:block;flex:none;object-fit:contain;aspect-ratio:1;max-width:100%;border-radius:11px;background:transparent}
.brand img.brand-icon{width:44px;height:44px}
.mobile-brand{align-items:center;gap:8px}
.mobile-brand img.brand-icon{display:inline-block;width:30px;height:30px;vertical-align:middle}
.login-logo img.brand-icon{width:52px;height:52px;background:transparent}
.company-group-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.company-group-row h3{margin:0 0 4px}
.company-group-row:last-of-type{border-bottom:0}
.company-group-row .row{gap:7px}
.company-group-row .small{margin:5px 0;line-height:1.5}
@media(max-width:650px){.company-group-row{display:block}.company-group-row .row{margin-top:12px}.table-wrap .btn.small{margin:2px}}

/* NAHIC Verwaltung V2: listenbasiert, platzsparend und mobil verwendbar */
.admin-main-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:thin}
.admin-tab{border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 13px;font-weight:700;
  font-size:12px;line-height:1.2;border-radius:9px;white-space:nowrap;min-height:34px}
.admin-tab.selected{background:var(--forest);border-color:var(--forest);color:white}
.admin-list-card{padding:15px!important}
.admin-list-card h2{font-size:19px}
.catalog-head,.catalog-compact-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 85px 115px;gap:12px;align-items:center}
.catalog-head,.company-head,.company-users-head,.bulk-dish-head{padding:6px 11px;font-size:10px;font-weight:800;
  letter-spacing:.075em;text-transform:uppercase;color:var(--muted);background:#f3f6f3;border-radius:8px}
.catalog-compact-row,.company-compact-row,.company-user-row{padding:10px 11px;border:0;border-bottom:1px solid var(--line);
  border-radius:0;background:transparent;color:var(--ink);font:inherit;text-align:left;min-width:0;width:100%}
.catalog-compact-row:last-child,.company-compact-row:last-child,.company-user-row:last-child{border-bottom:0}
.catalog-compact-row.clickable:hover,.company-compact-row.clickable:hover{background:#f1f6f2}
.catalog-compact-row.clickable:focus-visible,.company-compact-row.clickable:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.catalog-main-cell,.company-name,.company-user-row>div:first-child{display:grid;gap:2px;min-width:0}
.catalog-main-cell strong,.company-name strong{font-size:13px}
.catalog-main-cell .tiny,.company-name .tiny,.company-user-row .tiny{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.catalog-compact-row .num,.company-compact-row .num,.company-user-row .num{font-variant-numeric:tabular-nums}
.company-head,.company-compact-row{display:grid;grid-template-columns:minmax(155px,1fr) 70px 70px 100px 105px;gap:9px;align-items:center}
.company-users-head,.company-user-row{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(120px,1fr) 75px 95px 160px;gap:9px;align-items:center}
.company-user-row{font-size:13px}
.company-user-row>div:nth-child(2){display:grid;gap:2px;min-width:0}
.company-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.company-kpis>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:1px;min-width:0}
.company-kpis span{color:var(--muted);font-size:11px}
.company-kpis strong{font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.company-kpis small{font-size:10px;color:var(--muted)}
.company-overview-rows{display:grid}
.company-overview-rows>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,1.6fr) auto;gap:10px;align-items:center;
  padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
.company-overview-rows>div:last-child{border:0}
.company-overview-rows>div>span{color:var(--muted);overflow-wrap:anywhere}
.admin-collapsible{border:1px solid var(--line);border-radius:10px;padding:10px 13px;box-shadow:none}
.admin-collapsible summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--forest);list-style-position:inside}
.admin-collapsible[open]{background:#fbfcfb}
.admin-inline-editor{border:1px solid #bfd4c9;padding:16px;border-radius:12px;background:#f5faf6}
.admin-drawer-backdrop{position:fixed;inset:0;z-index:1250;display:flex;justify-content:flex-end;align-items:stretch}
.admin-drawer-scrim{position:absolute;inset:0;background:rgba(10,31,23,.58)}
.admin-drawer{position:relative;z-index:1;height:100%;width:min(640px,100%);overflow-y:auto;background:var(--paper);
  padding:22px 24px 42px;box-shadow:-14px 0 55px rgba(0,0,0,.15);overscroll-behavior:contain}
.admin-drawer h2{font-size:24px}
.admin-drawer .admin-tabs{display:flex;gap:6px;overflow-x:auto;margin-top:14px}
.admin-detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:16px}
.admin-detail-stats>div{border:1px solid var(--line);border-radius:10px;padding:10px 9px;display:flex;flex-direction:column;gap:4px}
.admin-detail-stats strong{font-size:17px;line-height:1.2;}
.admin-detail-stats span{font-size:10px;color:var(--muted)}
.bulk-dish-head,.bulk-dish-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,180px) 92px;
  gap:11px;align-items:center}
.bulk-dish-row{padding:8px 10px;border-bottom:1px solid var(--line)}
.bulk-dish-row:last-child{border:0}
.bulk-dish-label{display:grid;min-width:0;gap:2px;font-size:13px}
.bulk-dish-row select,.bulk-dish-row input{max-width:100%;min-width:0;padding:7px 8px;border:1px solid #d7dfd8;
  background:#fff;border-radius:8px;font-size:12px;min-height:34px}
.bulk-dish-row .bulk-price{text-align:right;font-variant-numeric:tabular-nums}
.admin-sticky-save{position:sticky;bottom:-1px;z-index:2;display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:8px;background:#fff;padding:12px 2px;border-top:1px solid var(--line)}
@media(max-width:800px){
  .company-head,.company-compact-row{grid-template-columns:minmax(130px,1fr) 60px 60px 70px 85px;gap:6px}
  .company-users-head,.company-user-row{grid-template-columns:minmax(130px,1fr) minmax(90px,.85fr) 65px 80px 130px;gap:6px}
  .company-users-head,.company-user-row{min-width:550px}
  .company-kpis strong{font-size:18px}
}
@media(max-width:600px){
  .admin-main-tabs{margin-left:-5px;margin-right:-5px;padding-left:5px}
  .catalog-head,.catalog-compact-row{grid-template-columns:minmax(0,1fr) 70px 58px;gap:7px}
  .catalog-head span:last-child,.catalog-compact-row>span:last-child{display:none}
  .catalog-compact-row{padding:9px 5px}
  .catalog-main-cell strong{font-size:12px}
  .catalog-main-cell .tiny{font-size:10px}
  .company-head,.company-compact-row{grid-template-columns:minmax(90px,1fr) 43px 43px 48px 64px;gap:5px}
  .company-head,.company-compact-row{font-size:11px;padding-left:4px;padding-right:4px}
  .company-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .company-overview-rows>div{grid-template-columns:minmax(0,1fr) auto;gap:6px}
  .company-overview-rows>div>span{grid-column:1 / -1;grid-row:auto}
  .company-overview-rows>div>.btn{grid-column:2;grid-row:1}
  .admin-drawer{width:100%;padding:18px 15px 35px}
  .admin-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bulk-dish-head,.bulk-dish-row{grid-template-columns:minmax(85px,1fr) minmax(115px,135px) 73px;gap:5px;padding-left:3px;padding-right:3px}
  .bulk-dish-row .bulk-dish-label strong{font-size:12px}
  .bulk-dish-row .bulk-dish-label .tiny{font-size:10px}
  .bulk-dish-row select,.bulk-dish-row input{padding:6px 3px;font-size:11px}
  .admin-sticky-save .btn{width:100%}
}

@media(max-width:600px){
  .company-users-head{display:none}
  .company-user-row{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;padding:12px 5px}
  .company-user-row>div:first-child{grid-column:1/-1}
  .company-user-row>div:nth-child(2){grid-column:1/-1}
  .company-user-row>div:last-child{grid-column:1/-1}
  .company-compact-row:not(.clickable){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 6px;padding:10px 5px}
  .company-compact-row:not(.clickable)>div:first-child{grid-column:1/-1}
  .company-compact-row:not(.clickable)>div:last-child{grid-column:1/-1}
  .company-compact-row:not(.clickable) .btn.small{flex:1;min-width:70px}
}

/* === NAHIC UX V3 · operation first, accessible mobile, compact administration === */
:root{--bg:#f5f6f3;--forest:#173c35;--ink:#20372f;--gold:#bc8d4d;--line:#dce6df;--shadow:0 2px 13px rgba(19,54,42,.045)}
html{scroll-padding-top:85px}
body{font-size:15px;line-height:1.55}
button,a,select,input[type=checkbox]{touch-action:manipulation}
.btn{min-height:44px;font-size:13px}
.btn.small{min-height:42px;padding:9px 12px}
.chip{min-height:43px}
.nav-item{min-height:47px;font-size:14px}
.nav-kicker{letter-spacing:.12em}
.nav-icon svg,.mobile-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-icon{display:grid;place-items:center}
.workspace{padding-top:26px}
.heading-row{margin-bottom:17px}
.heading-row h1{font-size:clamp(23px,2.4vw,29px);letter-spacing:-.035em}
.page-desc{margin-top:5px;max-width:760px;line-height:1.5}
.stat{min-height:104px;padding:15px}
.stat .number{font-size:25px}
.stat .bottom{font-size:12px}
.card{border-radius:14px}
.section-head{margin:19px 0 12px}
.section-head h2{font-size:18px}
.admin-list-card{padding:15px 16px!important}
.admin-tab{min-height:43px;font-size:13px;padding:9px 15px}
.admin-main-tabs{gap:7px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.admin-main-tabs button{scroll-snap-align:start}
.admin-drawer{box-shadow:-16px 0 42px rgba(4,30,20,.14)}
.admin-detail-stats strong{font-variant-numeric:tabular-nums}
.tab-hint{display:none}
.operation-head{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:17px 19px;border:1px solid #d4e3d9;background:#f8fbf8;border-radius:14px;flex-wrap:wrap}
.operation-head strong{font-size:15px}
.operation-head .op-sub{color:var(--muted);font-size:13px;margin-top:3px}
.operation-head .btn{white-space:nowrap}
.order-headline{padding:16px 19px;border:1px solid #d4e3d9;background:#f8fbf8;border-radius:14px;margin:14px 0}
.order-headline strong{font-size:14px}
.order-headline p{font-size:12px;color:var(--muted)}
.order-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0}
.order-context-item{padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;min-width:0}
.order-context-item strong{display:block;font-size:13px;line-height:1.3;margin-top:3px;overflow-wrap:anywhere}
.order-context-item .tiny{text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800;color:var(--muted)}
.menu-tools,.list-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.search-field{display:flex;align-items:center;gap:9px;flex:1;min-width:200px;background:#fff;border:1px solid #d9e3db;border-radius:10px;padding:0 12px;min-height:45px}
.search-field:focus-within{outline:2px solid #a9ccb7;outline-offset:1px}
.search-field svg{flex:none;width:18px;height:18px;color:#698175;stroke:currentColor;fill:none;stroke-width:1.9}
.search-field input{border:none;background:transparent;width:100%;min-width:0;outline:0;font-size:14px;padding:11px 0;color:var(--ink)}
.search-field input:focus{outline:none}
.search-field input::placeholder{color:#71877c}
.list-tools .selection{min-width:170px;min-height:45px;font-size:13px}
.list-result-count{color:var(--muted);font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.menu-grid .product-card{box-shadow:none;border:1px solid #dde6df;border-radius:13px;gap:8px;padding:15px}
.menu-grid .product-head{align-items:start}
.menu-grid .product-card h3{font-size:15px;line-height:1.26}
.menu-grid .product-desc{font-size:12px;line-height:1.42;min-height:unset}
.menu-grid .product-footer{padding-top:5px}
.menu-grid .product-footer .btn{min-height:40px}

.food-fallback{display:grid;place-items:center;width:54px;height:54px;background:#eaf1e9;border:1px solid #d9e5d9;border-radius:11px}
.food-fallback svg{width:34px;height:34px;fill:none;stroke:#547568;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.product-card .food-icon{width:54px;height:54px;overflow:hidden}
.product-card .food-icon img{min-height:54px;max-height:54px;width:54px}
.order-sidebar .card{border-color:#d2e2d7}
.mobile-cart-peek{display:none}
.coordinator-payments{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 17px;border:1px solid #dfd5c0;background:#fffbf1;border-radius:13px;flex-wrap:wrap;margin:14px 0}
.coordinator-payments strong{font-size:16px}
.coordinator-payments .small{color:#6e715d}
.coordinator-payments .summary-price{font-size:22px;font-weight:850;color:var(--forest)}
.coordinator-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0;flex-wrap:wrap}
.coordinator-controls label{display:flex;align-items:center;gap:7px;font-weight:700;font-size:13px}
.coordinator-controls input[type=checkbox]{width:19px;height:19px;accent-color:var(--forest)}
.coordinator-results{font-size:12px;color:var(--muted)}
.coordinator-payments .btn{min-height:42px}
.admin-operational-list{display:grid;gap:0}
.admin-operational-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(140px,.8fr) 115px auto;gap:11px;align-items:center;width:100%;padding:13px 14px;border:0;border-top:1px solid var(--line);background:#fff;color:var(--ink);text-align:left}
.admin-operational-row:hover{background:#f4f8f5}
.admin-operational-row strong{display:block;font-size:13px}
.admin-operational-row span{font-size:12px}
.admin-operational-row .small{display:block}
.admin-operational-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(140px,.8fr) 115px auto;gap:11px;padding:10px 14px;font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;background:#f5f8f5}
.catalog-compact-row:focus-visible,.company-compact-row:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.catalog-compact-row{min-height:59px}
.catalog-main-cell .tiny,.company-name .tiny{max-width:100%;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.company-user-row .tiny{line-height:1.4}
.company-users-head{grid-template-columns:minmax(150px,1.4fr) minmax(120px,1fr) 75px 95px 160px}
.company-overview-rows button{min-height:42px}
.search-empty{display:none;text-align:center;padding:24px;color:var(--muted);border-top:1px solid var(--line)}
.search-empty.show{display:block}
.admin-empty-hint{padding:17px 0;color:var(--muted);font-size:13px}
.admin-drawer .admin-detail-stats{margin:14px 0}
.order-sidebar [id]{scroll-margin-top:80px}
.catalog-actions-hint{color:var(--muted);font-size:12px}
@media(max-width:1050px){
.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-operational-row,.admin-operational-head{grid-template-columns:minmax(0,1fr) 140px auto}
.admin-operational-row>.op-value,.admin-operational-head>.op-value{display:none}
}
@media(max-width:800px){
.app-layout{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
.topbar{height:59px}
.topbar-right .pill:not(.demo){display:none}
.workspace{padding-top:17px}
.mobile-nav{padding:5px max(5px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom))}
.mobile-nav button{font-size:11px;min-height:51px;min-width:54px;padding:5px 7px}
.mobile-nav button strong{display:grid;place-items:center;height:23px}
.mobile-nav button strong svg{height:22px;width:22px}
.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.company-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.tab-hint{display:block;font-size:11px;color:var(--muted);margin-top:-8px;margin-bottom:10px}
.order-context{grid-template-columns:repeat(3,minmax(0,1fr))}
.mobile-cart-peek{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;z-index:49;bottom:calc(63px + env(safe-area-inset-bottom));left:12px;right:12px;border-radius:14px;box-shadow:0 7px 26px #132c2160;border:1px solid #3f6258;padding:10px 13px;min-height:53px;background:var(--forest);color:#fff;font-size:13px;font-weight:750}
.mobile-cart-peek .cart-sum{font-size:18px;font-weight:850;font-variant-numeric:tabular-nums}
body:has(.mobile-cart-peek) .app-layout{padding-bottom:calc(135px + env(safe-area-inset-bottom))}
}
@media(max-width:600px){
.workspace{padding:15px 13px 46px}
.card{padding:14px}
.heading-row h1{font-size:23px}
.heading-row{gap:8px;flex-wrap:wrap}
.heading-row .btn{min-height:42px;padding:9px 12px;font-size:12px}
.menu-grid .product-card{padding:11px;gap:7px}
.menu-grid .product-card h3{font-size:14px}
.menu-grid .product-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:0}
.menu-grid .product-card .tiny{font-size:11px}
.menu-grid .product-price{font-size:16px}
.menu-grid .product-footer{display:block}
.menu-grid .product-footer>span{display:none}
.menu-grid .product-footer .btn{width:100%;font-size:12px;padding:8px 5px;min-height:44px;line-height:1.25}
.food-fallback,.product-card .food-icon{width:47px;height:47px}
.food-fallback svg{width:31px;height:31px}
.product-card .food-icon img{width:47px;height:47px;min-height:47px;max-height:47px}
.order-context{grid-template-columns:1fr 1fr;gap:7px}
.order-context-item:last-child{grid-column:1/-1}
.order-context-item{padding:9px 10px}
.order-context-item strong{font-size:12px}
.list-tools{align-items:stretch}
.list-tools .search-field{min-width:100%;width:100%}
.list-tools .selection{flex:1}
.catalog-head{display:none}
.catalog-compact-row{grid-template-columns:minmax(0,1fr) 75px 65px;gap:7px;padding:11px 7px}
.catalog-compact-row>*:last-child{display:none}
.catalog-compact-row .num{font-size:12px}
.company-head{display:none}
.company-compact-row.clickable{grid-template-columns:minmax(0,1fr) 63px 72px;gap:8px;padding:13px 7px}
.company-compact-row.clickable>*:nth-child(3),.company-compact-row.clickable>*:nth-child(5){display:none}
.company-compact-row.clickable .num{font-size:12px}
.company-user-row>div:last-child{justify-content:flex-start}
.company-kpis>div{padding:11px}
.company-kpis strong{font-size:20px}
.admin-operational-head{display:none}
.admin-operational-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}
.admin-operational-row>.op-date{grid-column:1/-1}
.admin-operational-row>.op-value{display:none}
.stat{min-height:100px}
.tab-hint{font-size:12px}
.coordinator-payments{padding:12px}
.coordinator-payments .btn{width:100%}
.coordinator-controls{justify-content:space-between}
.coordinator-controls .search-field{width:100%}
.order-sidebar{margin-top:14px}
.pizza-modal .pizza-modifier-row{min-height:46px}
}
@media(prefers-reduced-motion:reduce){
*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* UX V3 details + safe native hidden state */
[data-search-row][hidden],.menu-category[hidden]{display:none!important}
.pizza-extra-more{border:1px solid var(--line);border-radius:12px;background:#fafcf9;margin:2px 0}
.pizza-extra-more summary{min-height:47px;cursor:pointer;display:flex;align-items:center;padding:12px 13px;font-weight:750;color:var(--forest)}
.pizza-extra-more summary:after{content:'⌄';margin-left:auto;font-size:20px;line-height:1}
.pizza-extra-more[open] summary:after{transform:rotate(180deg)}
.pizza-extra-more .extra-rows{border:0;border-top:1px solid var(--line);padding:0 10px;border-radius:0}
.pizza-current-total{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:4px;padding:12px 14px;border-radius:12px;background:#eaf2ec}
.pizza-current-total span{font-size:13px;color:#476454;font-weight:700}
.pizza-current-total strong{font-size:19px;color:var(--forest);font-variant-numeric:tabular-nums}
.pizza-modal .pizza-modifier-row strong{font-size:12px;white-space:nowrap}
.pizza-modal .pizza-modifier-fieldset legend{font-size:13px}
.pizza-modal .pizza-modifier-row:has(input:checked){background:#eef6ef;border-radius:8px}
.pizza-modal .pizza-modifier-row input{width:20px;height:20px}
.pizza-modal .pizza-modifier-row{min-height:45px}
@media(max-width:600px){
 .pizza-modal{padding-bottom:calc(20px + env(safe-area-inset-bottom));}
 .pizza-modal form button[type=submit]{position:sticky;bottom:calc(env(safe-area-inset-bottom) + 2px);z-index:3;box-shadow:0 7px 18px rgba(24,66,50,.17)}
 .admin-tabs{overflow-x:auto;scrollbar-width:thin}
 .table-wrap{overscroll-behavior-x:contain}
}

.round-picker-row{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-top:5px}
.round-picker-row label.field{min-width:min(360px,100%);flex:1;max-width:570px}
.round-picker-row select{min-height:49px;border-radius:11px;font-weight:750}
.round-picker-row>.tiny{padding-bottom:10px}
@media(max-width:600px){
 .round-picker-row label.field{width:100%;min-width:0;max-width:none}
 .round-picker-row>.tiny{padding:0}
}

.dish-photo-preview{display:flex;align-items:center;gap:13px;flex-wrap:wrap;background:#f7f9f7;border:1px solid var(--line);padding:10px;border-radius:11px}
.dish-photo-preview img{display:block;width:112px;height:78px;object-fit:cover;border-radius:9px;border:1px solid var(--line);background:#e4ebe5}
.dish-photo-preview .small{max-width:260px}

/* NAHIC reference wordmark: based on supplied printed pizza-menu graphic */
.brand .brand-wordmark{display:block;width:132px;max-width:100%;height:auto;object-fit:contain;border-radius:5px}
.login-logo .login-wordmark{display:block;width:172px;max-width:55vw;height:auto;object-fit:contain;border-radius:7px;background:#fff6e4}
.login-logo{gap:10px;max-width:100%}
@media(max-width:380px){.login-logo .login-wordmark{width:140px}.brand .brand-wordmark{width:115px}}

/* === NAHIC Firmenverpflegung · public landing & account UX === */
html{scroll-behavior:smooth}
.public-page{background:#f7f8f5;color:var(--ink);min-height:100vh}
.public-page section[id]{scroll-margin-top:95px}
.public-topbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px clamp(18px,6vw,94px);background:#fdfbf4;border-bottom:1px solid #e6e6de;position:sticky;top:0;z-index:51;box-shadow:0 2px 18px rgba(24,48,38,.045)}
.public-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;}
.public-brand>img:first-child{display:block;width:45px;height:45px;border-radius:11px;object-fit:contain;flex:none}
.public-wordmark{display:block;width:142px;height:auto;max-width:min(37vw,180px);object-fit:contain;flex:none}
.public-topnav{display:flex;align-items:center;gap:26px;flex-wrap:wrap;justify-content:flex-end}
.public-topnav a{color:#375147;font-size:13px;text-decoration:none;font-weight:750}
.public-topnav a:hover,.public-footer a:hover{text-decoration:underline}
.public-topnav .public-login-link{display:inline-flex;align-items:center;border:1px solid #b7cdc1;border-radius:10px;min-height:44px;padding:10px 16px;background:#fff}
.public-main{max-width:1500px;margin:0 auto}
.public-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:clamp(30px,5vw,88px);align-items:center;min-height:610px;padding:clamp(55px,7vw,105px) clamp(24px,7vw,112px);background:linear-gradient(120deg,#f8f5eb,#f7f8f5 58%,#eaf0e9)}
.public-hero-copy .caps{color:#8e683f;letter-spacing:.18em}
.public-hero h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(46px,5.2vw,84px);letter-spacing:-.054em;line-height:1.05;color:#173c35;margin:18px 0 23px}
.public-hero h1 em{color:#b37545;font-style:italic}
.public-hero-copy>p{font-size:clamp(15px,1.25vw,18px);max-width:610px;color:#52675d}
.public-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:27px}
.public-actions .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:47px;white-space:normal;text-align:center}
.public-hero-foot{display:flex;gap:16px 28px;flex-wrap:wrap;margin-top:28px}
.public-hero-foot span{font-size:12px;color:#64776b;font-weight:700}
.public-hero-foot span::before{content:'✓';color:#26805a;margin-right:7px}
.public-showcase{min-height:440px;background:linear-gradient(155deg,#1e493d,#0e2e25);border-radius:25px;color:#fff;padding:27px;box-shadow:0 26px 65px rgba(9,43,28,.18);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.public-showcase::after{content:'';width:320px;height:320px;border:50px solid rgba(239,234,211,.04);border-radius:50%;position:absolute;right:-180px;bottom:-150px;pointer-events:none}
.showcase-top{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:.14em;color:#c9d8c7}
.showcase-dot{background:#cfa36a;width:9px;height:9px;border-radius:50%}
.showcase-order{background:#fcfaf4;color:#1d392f;border-radius:18px;padding:25px 25px 22px;margin:24px 0;box-shadow:0 4px 22px #09261936;position:relative;z-index:1}
.showcase-kicker{font-size:10px;color:#8b7355;letter-spacing:.13em;font-weight:800;text-transform:uppercase}
.showcase-order h2{font:normal clamp(24px,2.1vw,34px)/1.2 Georgia,serif;margin:10px 0 21px;color:#164032}
.showcase-line{display:flex;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #e6e9df}
.showcase-line strong{font-size:14px}
.showcase-line p{font-size:12px;color:#718078;margin-top:2px;line-height:1.4}
.showcase-num{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eaf2eb;color:#31574b;font-size:12px;font-weight:850;flex:none}
.showcase-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:9px;letter-spacing:.1em;color:#a9c8ba}
.public-steps{padding:78px clamp(24px,7vw,112px) 82px}
.public-section-head .caps,.public-inquiry .caps{color:#9b784a;letter-spacing:.17em}
.public-section-head h2,.public-inquiry h2{font-family:Georgia,serif;color:#173c35;font-size:clamp(29px,3vw,45px);letter-spacing:-.035em;line-height:1.19;margin:13px 0}
.public-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
.public-benefits article{background:#fff;border:1px solid #e0e7e2;padding:27px 24px;border-radius:15px}
.public-benefits h3{font-size:17px;color:#173c35;margin:18px 0 10px}
.public-benefits p{color:#61746a;line-height:1.7}
.public-step-number{font:normal 23px Georgia,serif;color:#b48854}
.public-inquiry{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:clamp(24px,5vw,90px);align-items:start;background:#eaf1e9;padding:70px clamp(24px,7vw,112px)}
.public-inquiry-copy>p{color:#50665b;line-height:1.7;max-width:540px;margin:15px 0}
.public-inquiry-form{background:#fff;padding:25px;border:1px solid #dce6de;border-radius:16px;box-shadow:0 7px 30px #1035240e;display:grid;gap:12px}
.public-inquiry-form .field{font-size:12px}
.public-inquiry-form .field input{background:#fff;min-height:44px}
.public-inquiry-form button{margin-top:4px}
.public-inquiry-form .help{font-size:11px;line-height:1.55;margin-top:1px}
.public-access{padding:76px clamp(20px,7vw,112px) 90px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:clamp(20px,7vw,100px);align-items:start}
.public-access .login-panel{display:block;padding:0;min-width:0}
.public-access .login-panel-inner{max-width:none;width:100%;border:1px solid #dbe6df;border-radius:15px;padding:25px;box-shadow:0 7px 34px #112e2010;background:#fff}
.public-access .login-panel-inner h3{font-size:21px;color:#183c30;margin:0 0 16px}
.public-access .login-tabs{margin-bottom:16px}
.public-access .form{gap:14px}
.public-access .form .btn{margin-top:3px}
.public-admin-setup{border-top:1px solid #e7ece7;margin-top:21px;padding-top:14px;color:#728277;font-size:11px}
.public-admin-setup summary{cursor:pointer;min-height:36px;display:flex;align-items:center}
.public-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#143a30;color:#c4d6c9;padding:28px clamp(22px,7vw,112px);font-size:12px}
.public-footer div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.public-footer a,.public-footer button{color:#e5eddf;text-decoration:none;background:none;border:none;font-size:12px;cursor:pointer}
.profile-details{max-width:740px;padding:26px}
.profile-summary{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:19px}
.profile-summary h2{font-size:22px;line-height:1.3}
.profile-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#eaf3ee;color:#1d5c44;font-size:23px;font-weight:800;flex:none}
.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:8px 0}
.profile-fields div{padding:17px 9px 17px 0;border-bottom:1px solid var(--line);min-width:0}
.profile-fields dt{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:750;margin-bottom:7px}
.profile-fields dd{font-weight:750;overflow-wrap:anywhere;font-size:14px}
.profile-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.profile-actions .btn{min-width:145px}
.profile-link{display:block;width:100%;padding:12px 10px;border:1px solid transparent;color:inherit;background:transparent;text-align:left;cursor:pointer;border-radius:12px}
.profile-link:hover,.profile-link:focus-visible{background:#ffffff12;border-color:#ffffff22}
.confirm-layer{position:fixed;inset:0;background:rgba(9,23,17,.68);z-index:200;display:grid;place-items:center;padding:18px;overscroll-behavior:contain}
.confirm-dialog{background:#fff;border-radius:18px;padding:30px;max-width:420px;width:100%;box-shadow:0 26px 90px #0005;outline:none}
.confirm-icon{width:51px;height:51px;background:#eaf2ec;border-radius:15px;display:grid;place-items:center;font-size:28px;color:#1e493b}
.confirm-dialog h2{font:normal 30px Georgia,serif;letter-spacing:-.03em;margin:18px 0 8px;color:#1b4436}
.confirm-dialog p{color:#62756a;font-size:14px;line-height:1.65}
.confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}
.confirm-actions button{flex:1;min-height:46px;white-space:normal}
@media(max-width:1080px){
.public-hero{grid-template-columns:minmax(0,1fr) minmax(280px,.75fr);gap:27px}
.public-hero h1{font-size:clamp(42px,5vw,64px)}
}
@media(max-width:800px){
.public-topbar{min-height:65px;padding:9px 19px}
.public-brand>img:first-child{width:36px;height:36px}
.public-wordmark{width:123px}
.public-topnav{gap:12px}
.public-topnav>a:not(.public-login-link){display:none}
.public-hero{grid-template-columns:1fr;min-height:auto;padding:50px 23px 55px;gap:30px}
.public-hero h1{font-size:clamp(44px,9vw,67px)}
.public-showcase{min-height:unset;padding:19px}
.showcase-order{margin:18px 0;padding:21px}
.public-steps{padding:52px 22px}
.public-benefits{grid-template-columns:1fr;gap:12px}
.public-benefits article{padding:22px}
.public-benefits h3{margin:10px 0}
.public-inquiry{grid-template-columns:1fr;padding:50px 22px}
.public-access{grid-template-columns:1fr;gap:18px;padding:51px 22px 70px}
.profile-details{padding:20px}
}
@media(max-width:520px){
.public-topbar{gap:8px;padding:9px 13px}
.public-brand{gap:6px}
.public-wordmark{width:102px}
.public-topnav .public-login-link{padding:8px 13px;min-height:40px;font-size:12px}
.public-hero{padding:41px 18px 43px}
.public-hero h1{font-size:clamp(42px,11vw,56px);margin:13px 0 17px}
.public-hero-copy>p{font-size:14px;line-height:1.65}
.public-actions{display:grid;grid-template-columns:1fr;gap:9px}
.public-actions .btn{width:100%;min-height:46px}
.public-hero-foot{gap:8px 14px;margin-top:21px}
.public-showcase{padding:13px;border-radius:17px}
.showcase-order{padding:17px}
.showcase-order h2{font-size:27px}
.showcase-line{padding:10px 0}
.public-inquiry-form{padding:17px}
.public-access .login-panel-inner{padding:18px}
.public-footer{padding:24px 19px}
.profile-details{padding:17px}
.profile-summary{gap:12px;padding-bottom:12px}
.profile-summary h2{font-size:19px}
.profile-avatar{width:46px;height:46px;font-size:19px;border-radius:13px}
.profile-fields{grid-template-columns:1fr;margin:4px 0}
.profile-fields div{padding:11px 0}
.profile-fields dt{font-size:12px;margin-bottom:4px;color:#536b5d}
.profile-fields dd{font-size:15px}
.profile-edit-trigger{min-height:44px;margin-top:12px}
.profile-actions{display:grid;grid-template-columns:1fr 1fr}
.profile-actions .btn{min-width:0;width:100%}
.confirm-dialog{padding:22px}
.confirm-actions{display:grid;grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== 2026 NAHIC: Food-first brand + streamlined delivery scheduler ===== */
/* Keep the supplied wordmark's natural proportions. An older first-child rule
   erroneously forced the full logo into a 45x45 icon, making it tiny. */
.public-brand>img.public-wordmark{
  width:210px;min-width:0;
  flex-shrink:1
}
.public-brand{flex:0 1 auto;min-width:0;max-width:53vw}
.public-topbar{min-height:82px;background:#fffaf0}
.brand{justify-content:center;padding:4px 4px 23px}
.sidebar .brand>div{width:100%;text-align:center}
.sidebar .brand-wordmark{max-width:168px;border-radius:7px}
.sidebar .brand-sub{font-size:10px;letter-spacing:.12em;margin-top:5px}
.mobile-wordmark{width:142px;max-height:57px;}
.public-hero{
  grid-template-columns:minmax(0,1fr) minmax(0,.93fr);
  background:radial-gradient(circle at 8% 9%,#fff9e6 0%,transparent 50%),#f7f1e6;
  min-height:630px;gap:clamp(25px,4vw,64px);padding:clamp(32px,5vw,74px) clamp(24px,6vw,100px);
  overflow:hidden;position:relative
}
.public-hero-brand{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}
.public-hero-brand img{display:block;width:clamp(220px,21vw,292px);}
.public-hero-brand span{display:block;font-weight:850;color:#95724c;font-size:10px;letter-spacing:.34em;padding-left:17px;margin-top:4px}
.public-hero .caps{letter-spacing:.19em;font-size:11px;color:#b47f50}
.public-hero h1{font-size:clamp(43px,5vw,73px);line-height:1.06;max-width:660px;margin:16px 0 21px;letter-spacing:-.05em}
.public-hero h1 em{color:#bb673c;font-weight:400;white-space:normal}
.public-hero-copy>p{max-width:550px;line-height:1.7;font-size:clamp(14px,1.22vw,17px)}
.public-hero-foot{margin-top:25px}
.public-share-button{display:inline-flex;align-items:center;background:none;color:#2b5a47;border:none;border-bottom:1px solid #a6c0af;margin-top:20px;font-size:12px;font-weight:800;padding:5px 0;cursor:pointer}
.public-share-button:hover{color:#9d562f}
.public-food-visual{position:relative;isolation:isolate;min-width:0;min-height:530px;height:100%;margin:0;border-radius:22px;overflow:visible}
.public-food-photo{display:block;width:100%;height:100%;min-height:530px;max-height:710px;object-fit:cover;object-position:center;border-radius:22px;box-shadow:0 28px 55px #48291e2f;background:radial-gradient(circle at 50% 50%,#c85a31,#4e2f20)}
.public-food-stamp{position:absolute;left:-19px;bottom:70px;background:#c15c37;color:#fff;width:118px;height:118px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-10deg);border:4px solid #f9e4cb;box-shadow:0 8px 27px #3e2a1e48}
.public-food-stamp strong{font:italic 34px Georgia,serif;letter-spacing:-.05em}
.public-food-stamp span{text-align:center;font-size:9px;font-weight:850;line-height:1.4;letter-spacing:.12em}
.public-food-visual figcaption{position:absolute;right:10px;bottom:10px;background:#0d211f9c;color:#f2f4ef;font-size:10px;padding:6px 10px;border-radius:7px}
.public-intro-lead{max-width:670px;color:#6c7a70;line-height:1.6}
.public-steps{background:#fff;padding-top:71px;padding-bottom:82px}
.public-benefits article{background:#f9f7f2;border:1px solid #efede5}
.public-benefit-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#f0dfce;font:700 23px Georgia,serif;color:#995730}
.public-benefits h3{font-size:18px;margin:22px 0 8px}
.public-benefits p{font-size:13px}
.public-inquiry{background:#183e33;color:#fff}
.public-inquiry .caps{color:#dfbd84}
.public-inquiry h2{color:#fff;font-size:clamp(33px,3.6vw,55px)}
.public-inquiry-copy>p{color:#c8dbcf}
.public-inquiry-form{box-shadow:0 20px 54px #061a1940}
.public-access{background:#f9f7f1}
.public-access .login-panel-inner{padding:31px 32px;border-radius:19px;box-shadow:0 16px 48px #193b2418}
.access-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:21px;padding-bottom:20px;border-bottom:1px solid #e9e8df}
.access-brand img{max-width:245px;width:82%;}
.access-brand span{margin-top:5px;font-size:10px;letter-spacing:.26em;color:#98754c;font-weight:850}
.public-access .login-panel-inner h3{margin-top:4px}
/* Termine: compact dashboard rather than one full-size card per scheduled round */
.term-heading{display:flex;gap:16px;justify-content:space-between;align-items:start;flex-wrap:wrap;margin-bottom:21px}
.term-heading h1{margin:0 0 8px}
.term-heading .page-desc{margin:0}
.term-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.term-stats>div,.term-stats>button{border:1px solid #e3e9e3;background:#fff;border-radius:13px;padding:15px 18px;min-width:0;text-align:left;display:flex;flex-direction:column;gap:4px}
.term-stats strong{font-size:26px;color:#244c3e;line-height:1.15;font-variant-numeric:tabular-nums}
.term-stats span{font-size:11px;color:#687c70;font-weight:750}
.term-stats .term-stat-action{cursor:pointer;border-color:#e3dbc9;background:#fffbf2}
.term-stats .term-stat-action:hover{border-color:#cfa274}
.term-tabs{display:flex;gap:6px;border-bottom:1px solid #dce5df;padding-bottom:6px;overflow-x:auto;scrollbar-width:thin;margin-bottom:22px}
.term-tab{font-size:14px;font-weight:800;cursor:pointer;border:0;background:transparent;color:#6d8175;border-radius:10px 10px 8px 8px;white-space:nowrap;padding:12px 18px}
.term-tab:hover{background:#eef3ee}
.term-tab.selected{color:#164433;background:#e5efe8;box-shadow:inset 0 -3px #378362}
.term-filters{display:grid;gap:13px;margin:0 0 16px}
.term-filter-days{display:flex;flex-wrap:wrap;gap:6px}
.term-filter-days button{border:1px solid #dce5de;background:#fff;color:#50665b;border-radius:8px;font-size:12px;font-weight:750;padding:9px 14px;cursor:pointer}
.term-filter-days button.selected{background:#214e3f;color:#fff;border-color:#214e3f}
.term-filter-fields{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1.2fr);gap:9px}
.term-filter-fields label{display:flex;flex-direction:column;gap:5px;color:#758279;font-size:11px;font-weight:800}
.term-filter-fields select,.term-filter-fields input{height:42px;border:1px solid #dfe6e0;border-radius:9px;padding:8px 10px;background:#fff;color:#243d32;font-size:13px;width:100%;min-width:0}
.term-list-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.92fr);gap:15px;align-items:start}
.term-list{min-width:0}
.term-list-caption{display:flex;justify-content:space-between;align-items:center;margin:2px 0 12px;gap:14px}
.term-list-caption h2{font-size:18px;margin:0}
.term-list-caption span,.term-day-title span{font-size:11px;color:#819185;font-weight:750}
.term-day{background:#fff;border:1px solid #e2e9e4;border-radius:13px;overflow:hidden;margin-bottom:11px}
.term-day-title{padding:12px 15px;background:#f3f6f3;display:flex;gap:10px;justify-content:space-between;align-items:center}
.term-day-title strong{font-size:13px;color:#405d4e}
.term-row{display:grid;grid-template-columns:54px minmax(0,1fr) 56px auto 12px;align-items:center;gap:9px;width:100%;text-align:left;border:0;border-top:1px solid #eef1ee;background:#fff;padding:13px 13px;cursor:pointer;color:#1c342a;min-height:64px}
.term-row:hover{background:#f9fbf8}
.term-row.active{background:#edf6ef;border-left:3px solid #34835a;padding-left:10px}
.term-time{color:#2d6248;font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
.term-row-main{display:flex;min-width:0;flex-direction:column;gap:3px}
.term-row-main strong{font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.term-row-main>span{font-size:11px;color:#809087;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.term-row-orders{font-size:11px;color:#62786c;white-space:nowrap}
.term-row .badge{font-size:10px;text-align:center}
.term-chevron{font-size:24px;color:#84a594}
.term-row[hidden],.term-day[hidden],.term-search-empty[hidden]{display:none!important}
.term-detail{position:sticky;top:90px;scroll-margin-top:20px}
.term-detail-card{padding:22px 20px}
.term-detail-card h2{font-size:20px;margin:0}
.term-detail-badges{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#65786b;font-size:12px;margin:15px 0}
.term-detail-info{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}
.term-detail-info>div{background:#f5f7f3;border-radius:9px;padding:10px;display:grid;gap:5px;min-width:0}
.term-detail-info span,.term-detail-metrics span{font-size:10px;color:#7b8b80;font-weight:750}
.term-detail-info strong{font-size:11px;overflow-wrap:anywhere}
.term-detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-top:1px solid #ebeee9;border-bottom:1px solid #ebeee9;padding:14px 0;margin-bottom:15px}
.term-detail-metrics>div{display:grid;gap:5px;min-width:0}
.term-detail-metrics strong{font-size:18px;color:#1c4736;overflow-wrap:anywhere}
.term-detail-card h3{font-size:14px}
.term-detail-card .table{min-width:450px}
.term-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.term-close{background:#edf2ec;border:none;border-radius:8px;width:34px;height:34px;font-size:22px;color:#32543d;cursor:pointer}
.term-detail-prompt{min-height:240px;background:#edf4ee;border:1px dashed #bad0c0;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}
.term-detail-prompt h3{font-size:18px}
.term-detail-prompt p{max-width:250px;font-size:12px;color:#698074}
.term-prompt-icon{font-size:32px;color:#3e7c5d}
.term-section{max-width:1140px}
.term-section-heading{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;align-items:center;margin-bottom:17px}
.term-section-heading h2{font-size:20px;margin:0 0 7px}
.term-section-heading p{max-width:630px}
.term-schedules{display:grid;gap:9px}
.term-schedule-row{display:grid;grid-template-columns:minmax(0,1fr) 82px auto;align-items:center;gap:13px;background:#fff;border:1px solid #e1e9e3;border-radius:11px;padding:15px 16px}
.term-schedule-main{display:grid;gap:5px;min-width:0}
.term-schedule-main strong{font-size:14px}
.term-schedule-main span{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.term-state{padding:7px 9px;border-radius:8px;font-weight:800;font-size:11px;text-align:center}
.term-on{background:#e5f4e8;color:#347853}
.term-off{background:#f2eeec;color:#81736a}
.term-row-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.term-empty{border:1px dashed #b9ccc0;background:#f8faf7;padding:28px;border-radius:13px;color:#456a54}
.term-empty strong{font-size:16px}
.term-empty p{margin:7px 0 0;color:#738779;font-size:12px;line-height:1.6}
.term-editor{margin-top:18px;max-width:720px;scroll-margin-top:100px}
.term-editor .field{font-size:12px}
.term-editor .form{gap:13px}
.term-single-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,465px);gap:clamp(20px,4vw,65px);align-items:start;max-width:1160px}
.term-single-wrap h2{font-size:25px}
.term-single-editor{padding:24px}
@media(max-width:1050px){
  .term-list-layout{grid-template-columns:minmax(0,1fr)}
  .term-detail{position:static}
  .term-detail-prompt{min-height:100px}
  .public-hero{grid-template-columns:1fr 1fr}
  .public-food-visual,.public-food-photo{min-height:460px}
}
@media(max-width:800px){
  .public-brand>img.public-wordmark{width:174px;height:auto}
  .public-topbar{min-height:72px;padding:10px 16px}
  .public-hero{grid-template-columns:1fr;padding:36px 20px 50px;gap:25px}
  .public-hero-brand{align-items:center;margin-bottom:18px}
  .public-hero-brand img{width:min(75vw,284px)}
  .public-hero-brand span{padding:0;text-align:center}
  .public-hero h1{font-size:clamp(43px,8vw,66px)}
  .public-food-visual,.public-food-photo{min-height:340px;max-height:490px}
  .public-food-stamp{bottom:45px;width:92px;height:92px;left:-9px}
  .public-food-stamp strong{font-size:27px}
  .public-benefits{grid-template-columns:1fr}
  .public-steps{padding-top:48px;padding-bottom:48px}
  .public-access .login-panel-inner{padding:24px}
  .access-brand img{width:min(67vw,245px)}
  .term-single-wrap{grid-template-columns:1fr}
}
@media(max-width:540px){
  .public-brand>img.public-wordmark{width:min(42vw,166px);height:auto;max-width:42vw}
  .public-topbar{padding:9px 13px;min-height:65px}
  .public-topnav .public-login-link{padding:9px 11px}
  .public-hero{padding:30px 18px 41px}
  .public-hero h1{font-size:clamp(41px,10vw,54px)}
  .public-food-visual,.public-food-photo{min-height:315px;max-height:360px}
  .public-hero .caps{text-align:center}
  .public-hero-foot{gap:6px 12px}
  .term-heading h1{font-size:26px}
  .term-heading>.btn{font-size:11px}
  .term-stats{gap:6px}
  .term-stats>div,.term-stats>button{padding:12px 9px}
  .term-stats strong{font-size:22px}
  .term-stats span{font-size:10px}
  .term-tab{padding:11px 13px;font-size:12px}
  .term-filter-fields{grid-template-columns:1fr 1fr}
  .term-search-label{grid-column:1/-1}
  .term-row{grid-template-columns:43px minmax(0,1fr) auto 11px;gap:6px;padding:12px 9px}
  .term-row-orders{display:none}
  .term-time{font-size:12px}
  .term-row-main strong{font-size:12px}
  .term-row-main>span{font-size:10px}
  .term-row .badge{font-size:9px}
  .term-day-title{padding:12px 10px}
  .term-detail-card{padding:17px 14px}
  .term-detail-info{grid-template-columns:1fr}
  .term-schedule-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .term-row-actions{grid-column:1/-1;justify-content:flex-start}
  .term-schedule-main span{font-size:11px}
}

/* NAHIC: Pizza individuell bestellen – klare +/−-Bedienung auf iPhone und Desktop */
.pizza-builder{width:min(610px,100%);padding:25px 25px calc(25px + env(safe-area-inset-bottom))}
.pizza-builder-section{border:1px solid #e0e7df;border-radius:14px;padding:16px;background:#fcfcf9;display:grid;gap:6px}
.pizza-builder-section h3{font-size:16px;color:var(--forest);margin-bottom:0}
.pizza-builder-section .help{margin-bottom:8px}
.pizza-choice-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:57px;padding:10px 3px;border-bottom:1px solid #edf0e8}
.pizza-choice-row:last-child{border-bottom:0}
.pizza-choice-row>span{display:grid;gap:3px;min-width:0}
.pizza-choice-row strong{font-size:14px;font-weight:780}
.pizza-choice-row small{display:block;color:#7d8b80;font-size:11px}
.pizza-choice-row.removed strong{text-decoration:line-through;text-decoration-thickness:1px;color:#8c938d}
.pizza-choice-row.added{background:#f0f7ef;margin-inline:-7px;padding-inline:10px;border-radius:10px}
.pizza-stepper{display:inline-grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;border:1px solid #bdd6c5;background:#edf6ee;color:#1d6242;font-size:25px;font-weight:600;line-height:1}
.pizza-stepper.minus{border-color:#e4d6d0;background:#fff1ec;color:#a84f38}
.pizza-stepper:focus-visible{outline:3px solid #c19c60;outline-offset:2px}
.pizza-modal-close{width:43px;height:43px;border-radius:12px;background:#f5f6f2;color:#375344;border:1px solid #e4eae4;font-size:24px;flex:none}
.pizza-builder-actions{display:grid;grid-template-columns:minmax(0,0.8fr) minmax(0,1.2fr);gap:10px}
.pizza-builder-actions .btn{min-height:48px;font-size:13px}
.pizza-favorite-btn{min-height:48px;border-radius:11px;padding:10px 12px;background:#fff6f5;border:1px solid #edd6d4;color:#a34847;font-size:13px;font-weight:800}
.pizza-favorite-btn.saved{background:#e9f4ed;border-color:#bfd9c8;color:#286647}
.favorites-strip{padding:17px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-top:16px}
.favorites-strip h2{font-size:16px}
.favorite-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin-top:12px}
.favorite-card{display:flex;align-items:stretch;border:1px solid #e6e6df;border-radius:11px;background:#fffcf6;min-width:0}
.favorite-add{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:13px;color:var(--forest)}
.favorite-add>span{color:#ba5960;font-size:19px}
.favorite-add strong{font-size:13px}
.favorite-add small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.favorite-remove{align-self:start;border:0;background:transparent;padding:10px;font-size:23px;color:#956a62;min-width:41px;min-height:41px}
.removed-text{color:#a14d40;font-weight:700}
.notice-inbox{margin:0 0 17px;border-color:#e6d6bb;background:#fff8ea;color:#5d4930}
.notice-message{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e6d9c8;margin-top:9px;padding-top:9px}
.notice-message span{font-size:13px}
.coordinator-team-panel{margin:14px 0;padding:18px}
.coordinator-team-panel summary{cursor:pointer;font-weight:850;font-size:15px;min-height:34px}
.coordinator-invite{display:grid;gap:12px;border-radius:12px;background:#f1f6f1;padding:16px;margin-top:15px}
.coordinator-member-list{margin-top:14px}
.coordinator-member-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:12px 3px;border-bottom:1px solid var(--line)}
.coordinator-member-row div{display:grid;gap:4px}
.coordinator-member-row strong{font-size:14px}
.coordinator-member-row .btn{min-height:41px}
.sidebar .brand-wordmark{box-shadow:0 5px 15px rgba(0,0,0,.09);padding:5px;border-radius:10px;max-width:176px}
.sidebar .brand{padding-top:10px;padding-bottom:25px}

.access-brand img{max-width:260px;width:min(86%,260px);}
.public-hero-brand img{max-width:100%;}
@media(max-width:800px){
  .mobile-wordmark{width:152px;max-width:42vw;height:auto;max-height:55px}
  .mobile-nav button{min-height:55px}
  .pizza-builder{max-height:94dvh;overflow:auto;border-radius:20px 20px 0 0}
}
@media(max-width:540px){
  .field input,.field select,.field textarea,.public-inquiry-form input{font-size:16px}
  .pizza-builder{padding:20px 15px calc(22px + env(safe-area-inset-bottom))}
  .pizza-builder-actions{grid-template-columns:1fr}
  .pizza-builder-actions .btn{min-height:50px}
  .pizza-builder-section{padding:13px}
  .notice-message{align-items:flex-start;flex-direction:column}
  .coordinator-team-panel{padding:15px}
  .coordinator-member-row .btn{width:100%}
}

/* Speisenverwaltung: Allergene immer eindeutig, Firmenfreigaben auf einen Blick */
.modifier-title{display:flex;flex-direction:column;gap:7px;min-width:0;text-align:left}
.modifier-allergen-list{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px}
.catalog-allergen{display:inline-flex;align-items:center;gap:6px;border-radius:8px;background:#fff1e3;border:1px solid #e7cbaf;color:#754625;padding:6px 9px;font-size:12px;font-weight:800;line-height:1.25;white-space:normal}
.catalog-allergen-icon{display:inline-grid;place-items:center;flex:none;width:17px;height:17px;background:#945f32;color:white;border-radius:50%;font-size:12px}
.allergen-unverified{display:inline-flex;align-items:center;background:#f5f4ef;color:#69665c;padding:5px 7px;border-radius:7px;font-size:11px;font-weight:680}
.modifier-price{font-size:13px;white-space:normal}
.modifier-count{font-size:12px;font-weight:780;color:#275b44;white-space:normal}
.modifier-company-matrix{display:grid;gap:10px;margin:20px 0;padding:18px 16px;border:1px solid #dce8dc;border-radius:15px;background:#f9fbf7}
.modifier-company-matrix h3{margin:0;color:#224936;font-size:17px}
.modifier-company-matrix>.help{line-height:1.5}
.modifier-company-detail{border:1px solid #dce6dc;border-radius:11px;background:#fff;overflow:hidden}
.modifier-company-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:13px 14px}
.modifier-company-detail>summary::-webkit-details-marker{display:none}
.modifier-company-detail>summary>span:first-child{display:grid;gap:3px;min-width:0}
.modifier-company-detail>summary strong{font-size:13px}
.modifier-company-detail>summary small{font-size:11px;color:#6d7a6f}
.modifier-company-detail[open]>summary{border-bottom:1px solid #e8ece7;background:#f4f8f3}
.modifier-availability{font-size:11px;font-weight:800;padding:6px 9px;border-radius:30px;white-space:nowrap}
.modifier-availability.available{background:#e6f3e8;color:#25613b}
.modifier-availability.blocked{background:#fbebe4;color:#97543f}
.modifier-scope-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;border-top:1px solid #f0f1ec}
.modifier-scope-line:first-child{border-top:0}
.modifier-scope-line>div{display:grid;gap:3px;min-width:0}
.modifier-scope-line strong{font-size:12px}
.modifier-scope-line small{font-size:11px;color:#69796b}
.modifier-scope-line .btn{min-height:40px;min-width:78px}
.modifier-rule-editor{border:1px solid #e2e7df;border-radius:12px;padding:13px;margin-top:10px}
.modifier-rule-editor summary{font-weight:750;cursor:pointer}
@media(max-width:720px){
 .modifier-company-matrix{padding:13px 10px}
 .catalog-compact-row .modifier-title strong{font-size:13px}
 .catalog-compact-row .catalog-allergen{padding:4px 6px;font-size:11px}
 .catalog-compact-row .allergen-unverified{font-size:10px}
 .modifier-company-detail>summary{flex-wrap:wrap}
}
@media(max-width:440px){
 .modifier-scope-line{align-items:flex-start;flex-direction:column}
 .modifier-scope-line .btn{align-self:flex-start}
}

/* NAHIC Admin: kompakter Auftragsmonitor, inline Lieferdetails und Statistik */
.terminal-screen{display:grid;gap:19px;min-width:0}
.terminal-screen>.heading-row{margin-bottom:0}
.terminal-pulse,.statistics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.terminal-pulse>div,.statistics-kpis>div{background:#fff;border:1px solid #e0e8dd;border-radius:15px;padding:17px 16px;min-width:0;display:grid;gap:5px}
.terminal-pulse strong,.statistics-kpis strong{color:#194f39;font-size:31px;line-height:1.1;font-weight:850;font-variant-numeric:tabular-nums}
.terminal-pulse span,.statistics-kpis span{font-size:11px;font-weight:750;color:#596d5e;line-height:1.4}
.statistics-kpis small{font-size:11px;color:#829083}
.statistics-kpis .statistics-kpi-name{font-size:16px;overflow-wrap:anywhere;line-height:1.35}
.terminal-list-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}
.terminal-list-heading h2{margin:0;font-size:21px}
.terminal-list-heading>span{font-size:12px;color:#6c7e70}
.terminal-filter-row{display:flex;gap:8px;flex-wrap:wrap}
.terminal-filter{border:1px solid #d9e4d8;border-radius:100px;background:#fff;color:#345644;font-weight:760;font-size:12px;min-height:41px;padding:8px 14px}
.terminal-filter.selected{background:#1a4938;color:#fff;border-color:#1a4938}
.terminal-order-list{display:grid;gap:11px}
.terminal-order-card{background:#fff;border:1px solid #e0e7dc;border-radius:14px;overflow:hidden;box-shadow:0 3px 16px #123b2420}
.terminal-order-card.requires-action{border-left:5px solid #be7d30}
.terminal-order-trigger{background:transparent;border:0;width:100%;display:grid;grid-template-columns:82px minmax(180px,1fr) 70px minmax(125px,auto) 20px;gap:14px;text-align:left;align-items:center;min-height:94px;padding:16px 18px;color:inherit;cursor:pointer}
.terminal-order-trigger:hover,.terminal-order-trigger[aria-expanded=true]{background:#f8faf4}
.terminal-time{display:grid;gap:4px;align-content:center}
.terminal-time strong{font-size:27px;font-weight:860;color:#153e31;font-variant-numeric:tabular-nums;line-height:1}
.terminal-time small{font-size:11px;color:#6a7d6b;font-weight:700}
.terminal-customer{display:grid;gap:4px;min-width:0}
.terminal-customer>strong{font-size:15px;color:#213c2d;overflow-wrap:anywhere}
.terminal-customer>small{color:#78867c;font-size:11px;overflow-wrap:anywhere}
.terminal-batch{color:#4b6a52;font-weight:750;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.terminal-quantity{display:grid;gap:3px;text-align:center}
.terminal-quantity strong{font-size:23px;font-weight:870;color:#184b37}
.terminal-quantity small{font-size:10px;color:#78867c}
.terminal-state{justify-self:end}
.terminal-chevron{color:#657d6d;font-size:22px;line-height:1}
.terminal-detail{border-top:1px solid #e0e7dc;background:#fbfcf8}
.terminal-detail-body{padding:18px;display:grid;gap:18px}
.terminal-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.terminal-detail-facts>div{display:grid;align-content:start;gap:6px;padding:12px;border:1px solid #e6ece4;border-radius:9px;background:#fff;min-width:0}
.terminal-detail-facts span{font-size:11px;color:#6b7d6d;font-weight:760}
.terminal-detail-facts strong{font-size:13px;overflow-wrap:anywhere}
.terminal-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:19px}
.terminal-detail-columns section{min-width:0}
.terminal-detail-columns h3{font-size:15px;margin-bottom:10px}
.terminal-employee-orders{display:grid;gap:7px}
.terminal-employee-orders details{background:#fff;border:1px solid #e0e7dc;border-radius:9px}
.terminal-employee-orders summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;padding:12px;font-size:12px;font-weight:750;list-style:none}
.terminal-employee-orders summary::-webkit-details-marker{display:none}
.terminal-employee-orders .mini-list{padding:8px 12px;border-top:1px solid #e0e7dc}
.terminal-actions{display:flex;flex-wrap:wrap;gap:9px}
.terminal-actions .btn{min-height:43px}
.terminal-empty{padding:28px}
.term-inline-list{min-width:0}
.term-inline-item{border-bottom:1px solid #e8eee5}
.term-inline-item:last-child{border-bottom:none}
.term-inline-item>.term-row{width:100%}
.term-inline-detail{background:#fafcf7;border-top:1px solid #e0e9df;border-bottom:1px solid #dce8db;padding:2px}
.term-inline-detail .terminal-detail-body{padding:15px}
.statistics-screen{display:grid;gap:20px}
.statistics-grid[hidden]{display:none!important}
.statistics-no-data{padding:21px 23px;display:grid;gap:8px}
.statistics-no-data strong{font-size:16px;line-height:1.35;color:#1d4433}
.statistics-no-data p{margin:0;color:#536b5d;font-size:13px;line-height:1.5}
.statistics-filters{padding:17px}
.statistics-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.statistics-filters .field{min-width:0;font-size:12px;font-weight:740}
.statistics-filters select{width:100%;min-width:0;min-height:43px;font-size:13px}
.statistics-filters>.btn{margin-top:13px}

/* Keep statistics immediately useful on mobile: period first, advanced options
   behind a native details toggle. Desktop retains expanded control visibility. */
.statistics-filter-quick .field{max-width:315px}
.statistics-more-filters .statistics-filter-grid{margin-top:14px}
.statistics-more-filters>.btn{margin-top:13px}
.statistics-more-filters summary{display:none}
@media(max-width:800px){
 .statistics-filters{padding:12px 14px}
 .statistics-filter-quick .field{max-width:none}
 .statistics-more-filters{margin-top:8px}
 .statistics-more-filters>summary{
   display:flex;align-items:center;justify-content:space-between;gap:9px;
   min-height:44px;padding:10px 12px;border-radius:10px;
   background:#edf3ed;color:#244c3a;cursor:pointer;
   font-size:14px;font-weight:760;list-style:none
 }
 .statistics-more-filters>summary::-webkit-details-marker{display:none}
 .statistics-more-filters>summary:after{content:"⌄";font-size:19px;line-height:1}
 .statistics-more-filters[open]>summary:after{transform:rotate(180deg)}
 .statistics-more-filters>summary span{
   font-size:11px;font-weight:550;color:#536b5d;text-align:right
 }
 .statistics-more-filters>summary:focus-visible{outline:3px solid #bc9357;outline-offset:2px}
 .statistics-more-filters .statistics-filter-grid{margin-top:13px;gap:11px}
}

.statistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.statistics-panel{min-width:0;display:grid;gap:13px}
.statistics-panel h2{font-size:18px;margin:0}
.statistics-panel-main{grid-column:1/-1}
.statistics-ranking{display:grid;gap:4px}
.statistics-rank-row{display:grid;grid-template-columns:28px minmax(0,1fr) 112px;align-items:center;gap:11px;padding:9px 0;border-bottom:1px solid #eef0ea}
.statistics-rank-row:last-child{border-bottom:0}
.statistics-rank-number{font-weight:850;color:#7e9a86;font-size:12px}
.statistics-rank-main{display:grid;gap:7px;min-width:0}
.statistics-rank-main strong{font-size:13px;overflow-wrap:anywhere}
.statistics-rank-bar{height:7px;background:#edf1eb;border-radius:9px;overflow:hidden}
.statistics-rank-bar>span{display:block;height:100%;border-radius:9px;background:#638c6e}
.statistics-rank-values{text-align:right;display:grid;gap:3px}
.statistics-rank-values strong{font-size:13px;font-variant-numeric:tabular-nums}
.statistics-rank-values small{font-size:10px;color:#849187;line-height:1.2}
.statistics-days{display:grid;gap:0;min-width:0;overflow-x:auto}
.statistics-days-head,.statistics-day-row{display:grid;grid-template-columns:minmax(110px,1fr) repeat(3,minmax(82px,1fr));gap:14px;padding:11px 9px;border-bottom:1px solid #e9eee8;font-size:12px}
.statistics-days-head{background:#f5f7f3;color:#6b7d6b;font-size:11px;font-weight:800}
.statistics-day-row>strong,.statistics-day-row>span{font-variant-numeric:tabular-nums}
.statistics-day-row>span,.statistics-day-row>strong:not(:first-child){text-align:right}
@media(max-width:1000px){
 .terminal-pulse,.statistics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .statistics-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .terminal-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .terminal-order-trigger{grid-template-columns:72px minmax(140px,1fr) 62px 20px}
 .terminal-state{grid-column:2/4;justify-self:start}
}
@media(max-width:800px){
 .mobile-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}
 .mobile-nav button{flex:1 0 60px;font-size:10px;min-width:57px}
 .terminal-order-trigger{grid-template-columns:73px minmax(0,1fr) 40px;gap:9px;min-height:94px;padding:13px 10px}
 .terminal-time strong{font-size:24px}
 .terminal-quantity{grid-column:3;grid-row:1}
 .terminal-state{grid-column:2;grid-row:2}
 .terminal-chevron{grid-column:3;grid-row:2;text-align:center}
 .terminal-customer>strong{font-size:14px}
 .terminal-customer>small,.terminal-batch{font-size:11px}
 .terminal-detail-columns{grid-template-columns:1fr}
 .statistics-grid{grid-template-columns:1fr}
 .statistics-panel-main{grid-column:auto}
 .term-inline-item>.term-row{grid-template-columns:75px minmax(0,1fr) auto}
 .term-inline-item .term-row .badge{grid-column:2;justify-self:start}
}
@media(max-width:490px){
 .terminal-screen>.heading-row .btn{width:100%}
 .terminal-pulse,.statistics-kpis{gap:8px}
 .terminal-pulse>div,.statistics-kpis>div{padding:12px}
 .terminal-pulse strong,.statistics-kpis strong{font-size:25px}
 .statistics-filter-grid{grid-template-columns:1fr}
 .terminal-detail-facts{gap:7px}
 .terminal-detail-facts>div{padding:9px}
 .terminal-detail-body{padding:12px}
 .terminal-actions .btn{width:100%}
 .statistics-rank-row{grid-template-columns:22px minmax(0,1fr) 90px;gap:7px}
 .statistics-days-head,.statistics-day-row{min-width:400px}
 .terminal-filter-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}
 .terminal-filter{white-space:nowrap;flex:none}
}

/* NAHIC mobile and brand refinement · high-priority design review 2026-11-15 */
/* One proportional wordmark, with no forced square logo or raster-stretching. */
.public-brand>img.public-wordmark{display:block;width:clamp(150px,15vw,196px);height:auto;max-width:100%;aspect-ratio:172/65;object-fit:contain;border:0;border-radius:0}
.sidebar .brand-wordmark{display:block;max-width:174px;max-height:none;aspect-ratio:172/65;padding:6px 9px;margin:0 auto;box-shadow:none}
.sidebar .brand{padding:8px 2px 22px}
.mobile-wordmark{display:block;max-width:42vw;max-height:none;aspect-ratio:172/65;}
.access-brand img{display:block;width:min(80%,228px);height:auto;max-height:none;aspect-ratio:172/65;object-fit:contain}
.public-hero-brand img{width:min(100%,250px);height:auto;aspect-ratio:172/65;object-fit:contain}
.public-hero-brand span{padding-left:0;letter-spacing:.22em}
.public-food-visual{overflow:hidden}
/* Food-first ordering cards: the photo becomes the hero of each dish. */
.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:15px}
.menu-grid .product-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;border:1px solid #dce6df;border-radius:17px;background:#fff;box-shadow:0 3px 16px rgba(20,59,42,.055)}
.menu-grid .product-head{display:block;position:relative;width:100%;flex:none}
.menu-grid .product-card .food-icon{display:block;width:100%;height:172px;overflow:hidden;border-radius:0;background:#e7eee5}
.menu-grid .product-card .food-icon img{display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center;border-radius:0}
.menu-grid .product-card .food-fallback{width:100%;height:100%;border:0;border-radius:0;background:radial-gradient(circle at 35% 30%,#fdf3dd 0%,#e8f0e6 70%);display:grid;place-items:center}
.menu-grid .product-card .food-fallback svg{width:66px;height:66px;stroke:#8fa88b;stroke-width:1.2}
.menu-grid .product-price{position:absolute;right:12px;top:12px;padding:7px 12px;background:#fffaf0;color:#154334;border-radius:999px;font-size:17px;box-shadow:0 3px 12px #132a221f}
.menu-grid .product-card h3{margin:0;padding:15px 16px 0;font-size:18px;line-height:1.3;color:#1a4031}
.menu-grid .product-desc{padding:6px 16px 0;min-height:0;font-size:13px;line-height:1.5;color:#64776a}
.menu-grid .product-card>.tiny{padding:7px 16px 0;font-size:12px;line-height:1.45}
.menu-grid .product-card>.tiny+.tiny{padding-top:5px}
.menu-grid .product-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 16px;margin-top:auto}
.menu-grid .product-footer .btn{min-height:44px;font-size:13px;white-space:normal}
.menu-grid .product-footer>span{display:inline;font-size:12px}
/* Fieldwork readability in the order terminal and delivery planning. */
.terminal-pulse span,.statistics-kpis span{font-size:12px}
.terminal-customer>small,.terminal-batch,.terminal-quantity small,.terminal-detail-facts span{font-size:12px}
.terminal-state .badge,.term-row .badge{font-size:12px;line-height:1.3;white-space:normal}
.term-day-title span,.term-list-caption span{font-size:12px}
.term-row-main strong{font-size:14px}
.term-row-main>span,.term-row-main>small{font-size:12px}
.term-time{font-size:15px}
.term-row-orders{font-size:12px}
.term-detail-info span,.term-detail-metrics span,.term-detail-facts span{font-size:12px}
.term-detail-info strong,.term-detail-facts strong{font-size:13px}
.term-detail-metrics strong{font-size:19px}
.term-row{min-height:69px}
.mobile-more-backdrop,.mobile-more-panel{display:none}
/* Responsive marketing: visitors see the food before they scroll through long explanations. */
@media(max-width:800px){
  .public-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:27px 20px 45px}
  .public-hero-copy{display:contents}
  .public-hero-brand{display:none}
  .public-hero-copy>.caps{order:1;text-align:left;margin:0 0 9px;font-size:11px}
  .public-hero-copy>h1{order:2;font-size:clamp(39px,8vw,59px);line-height:1.07;margin:0 0 18px}
  .public-actions{order:3;margin:0 0 20px;display:grid;grid-template-columns:1fr;gap:3px}
  .public-actions .btn{width:100%;min-height:46px}
  .public-actions .btn.secondary{border:0;background:transparent;text-decoration:underline;min-height:32px;padding:6px 8px}
  .public-food-visual{order:4;min-height:285px;height:clamp(285px,72vw,360px);max-height:none;margin:0 0 19px;border-radius:17px}
  .public-food-photo{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;border-radius:17px}
  .public-food-visual figcaption{bottom:8px;right:8px}
  .public-hero-copy>p{order:5;font-size:14px;line-height:1.58;margin:0}
  .public-hero-foot{order:6;margin-top:18px}
  .public-share-button{order:7;margin-top:13px;align-self:flex-start}
  .mobile-wordmark{width:145px;max-width:45vw}
  .mobile-nav.admin-nav{justify-content:space-around}
  .mobile-nav button{min-height:53px;font-size:12px}
  /* One source of truth for the shared iPhone More menu across all roles. */
  /* Only the open More tab is emphasized while its navigation sheet is visible. */
  .mobile-nav:has(.mobile-more-trigger[aria-expanded="true"]) button.active:not(.mobile-more-trigger){
    background:transparent;color:#718379
  }
  .mobile-nav .mobile-more-trigger.is-open,
  .mobile-nav .mobile-more-trigger[aria-expanded="true"]{background:#eaf2e9;color:#173c35}
  .mobile-more-backdrop:not([hidden]){
    display:block;position:fixed;inset:0;z-index:48;
    background:rgba(10,32,25,.40);-webkit-tap-highlight-color:transparent
  }
  .mobile-more-panel:not([hidden]){
    display:block;position:fixed;
    left:max(10px,env(safe-area-inset-left));
    right:max(10px,env(safe-area-inset-right));
    bottom:calc(75px + env(safe-area-inset-bottom));
    z-index:51;max-height:min(68dvh,540px);overflow-y:auto;overscroll-behavior:contain;
    padding:12px;background:#fff;border:1px solid #dce7de;
    border-radius:17px;box-shadow:0 17px 47px rgba(12,37,27,.20)
  }
  .mobile-more-heading{padding:5px 12px 9px;color:#5d7367;font-size:12px;letter-spacing:.01em;font-weight:760}
  .mobile-more-links{display:grid;gap:3px}
  .mobile-more-panel button{
    display:flex;align-items:center;min-height:48px;width:100%;
    border:0;border-radius:11px;background:transparent;padding:12px 13px;
    font-size:14px;line-height:1.3;font-weight:710;text-align:left;
    color:#183e31;gap:13px
  }
  .mobile-more-panel button:hover,.mobile-more-panel button.active{background:#e8f0e9;color:#153c2f}
  .mobile-more-panel .mobile-more-logout{
    display:flex;margin-top:8px;padding-top:15px;border-top:1px solid #e2e9e3;
    border-radius:0 0 11px 11px;color:#5e685f
  }
  .mobile-more-panel .mobile-more-logout:hover{background:#f3f5f2}
  .mobile-more-icon{display:grid;place-items:center;width:24px;height:24px}
  .mobile-more-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-more-panel button:focus-visible,.mobile-nav button:focus-visible{outline:3px solid #bc9357;outline-offset:1px}
}
@media(max-width:600px){
  .menu-grid{grid-template-columns:1fr;gap:15px}
  .menu-grid .product-card{padding:0;gap:0;border-radius:16px}
  .menu-grid .product-card .food-icon{width:100%;height:205px}
  .menu-grid .product-card .food-icon img{width:100%;height:100%;min-height:0;max-height:none}
  .menu-grid .product-card .food-fallback{width:100%;height:100%}
  .menu-grid .product-card h3{font-size:18px;padding:15px 16px 0}
  .menu-grid .product-desc{display:block;font-size:13px;line-height:1.5;padding:6px 16px 0;overflow:visible}
  .menu-grid .product-card .tiny{font-size:12px}
  .menu-grid .product-price{font-size:17px}
  .menu-grid .product-footer{display:flex;align-items:center;gap:10px;padding:14px 16px 16px}
  .menu-grid .product-footer>span{display:inline}
  .menu-grid .product-footer .btn{width:auto;min-height:46px;font-size:13px;padding:10px 14px;flex:1}
  .term-row{grid-template-columns:48px minmax(0,1fr) auto 12px;gap:8px;padding:13px 10px;min-height:78px}
  .term-time{font-size:14px}
  .term-row-main strong{font-size:14px}
  .term-row-main>span,.term-row-main>small{font-size:12px}
  .term-row .badge{font-size:11px}
  .terminal-customer>small,.terminal-batch{font-size:12px}
  .terminal-quantity small{font-size:11px}
  .term-day-title strong{font-size:14px}
  .term-day-title span{font-size:12px}
  .term-stats span{font-size:12px}
  .term-detail-info strong{font-size:13px}
  .term-detail-info span,.term-detail-metrics span{font-size:12px}
  .terminal-filter{font-size:13px}
  .terminal-pulse span,.statistics-kpis span{font-size:12px}
}
@media(max-width:420px){
  .public-brand>img.public-wordmark{width:min(41vw,160px)}
  .public-hero{padding:24px 16px 37px}
  .public-hero-copy>h1{font-size:clamp(38px,10.2vw,45px)}
  .public-food-visual{height:265px;min-height:265px}
  .menu-grid .product-card .food-icon{height:186px}
  .menu-grid .product-card .food-icon img{height:100%}
  .mobile-nav button{font-size:12px;min-width:0;flex:1 1 0}

}

/* NAHIC Marken-Landingpage 2026-11 · neue öffentliche Oberfläche */
.public-redesign{background:#faf9f4;color:#173a30}
.landing-header{position:sticky;z-index:55;top:0;background:#faf9f4;height:78px;padding:9px clamp(18px,6vw,90px);display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dce5da}
.landing-brand{display:flex;align-items:center}
.landing-links{display:flex;align-items:center;gap:26px}.landing-links a{color:#335747;font-weight:750;font-size:13px;text-decoration:none}
.landing-links button{display:flex;align-items:center;gap:18px;min-height:43px;border:0;background:#173c35;border-radius:30px;color:#fff;padding:11px 19px;font-size:13px;font-weight:800}
.landing-links button:hover{background:#2e614c}
.landing-hero{background:#f5f0e6;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.93fr);align-items:center;gap:clamp(26px,5vw,80px);padding:64px clamp(18px,6vw,90px);min-height:600px}
.landing-eyebrow{font-weight:800;letter-spacing:.15em;font-size:11px;color:#a06b4b}
.landing-hero h1{font:normal clamp(50px,6vw,90px)/1.04 Georgia,serif;letter-spacing:-.056em;margin:18px 0 19px;color:#193e33}
.landing-hero h1 em{color:#bd774f;font-style:italic}
.landing-hero-copy>p{font-size:clamp(15px,1.3vw,18px);max-width:550px;line-height:1.7;color:#506b5d}
.landing-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:27px}
.landing-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:17px;min-height:50px;padding:14px 21px;background:#173f32;color:#fff;border:0;border-radius:11px;text-decoration:none;font-size:14px;font-weight:800;cursor:pointer}
.landing-primary:hover{background:#2b6249;color:#fff}
.landing-secondary{display:inline-flex;align-items:center;color:#355747;text-decoration:none;font-size:13px;font-weight:800;padding:10px}
.landing-secondary:hover{text-decoration:underline}
.landing-proof{display:flex;flex-wrap:wrap;gap:10px 20px;border-top:1px solid #d9dfd2;margin-top:30px;padding-top:20px}
.landing-proof span{font-size:12px;color:#68786e;font-weight:700}
.landing-proof span:before{content:'✓';color:#267e55;margin-right:7px}
.landing-photo{margin:0;position:relative;height:clamp(390px,41vw,550px)}
.landing-photo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:21px;box-shadow:0 25px 58px #193b2c28;background:#dee2d7}
.landing-photo figcaption{position:absolute;right:11px;bottom:11px;color:#fff;background:#102b23a6;padding:6px 10px;font-size:11px;border-radius:7px}
.landing-band{display:flex;justify-content:space-around;flex-wrap:wrap;gap:14px;padding:22px 18px;border-bottom:1px solid #e4e8e0;background:#fff}
.landing-band span{font-size:11px;font-weight:800;letter-spacing:.14em;color:#708475}
.landing-how{padding:80px clamp(18px,6vw,90px);background:#fff;scroll-margin-top:88px}
.landing-how h2,.landing-inquiry h2{font:normal clamp(34px,4vw,54px)/1.16 Georgia,serif;letter-spacing:-.035em;margin:14px 0}
.landing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:31px}
.landing-steps article{padding:29px;background:#f8faf7;border:1px solid #dde8dc;border-radius:15px}
.landing-steps article>span{font:italic 31px Georgia,serif;color:#b87549}
.landing-steps h3{font-size:19px;margin:18px 0 8px;color:#174233}
.landing-steps p{font-size:14px;color:#617969;line-height:1.65}
.landing-inquiry{scroll-margin-top:88px;padding:77px clamp(18px,6vw,90px);background:#163d32;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,445px);gap:clamp(24px,6vw,90px)}
.landing-inquiry h2{color:#fff;font-size:clamp(38px,4.4vw,60px)}
.landing-inquiry .landing-eyebrow{color:#dfb98c}
.landing-inquiry-copy>p{font-size:16px;line-height:1.75;color:#c8dace;max-width:480px;margin-top:16px}
.landing-note{display:inline-block;margin-top:25px;padding:9px 15px;border:1px solid #4c7766;border-radius:40px;color:#dbebe0;font-size:12px}
.landing-form{background:#fff;padding:26px;border-radius:18px;border:1px solid #dbe9db;box-shadow:0 18px 47px #0a211f65;display:grid;gap:14px}
.landing-form .field{font-size:13px;color:#315443}
.landing-form input,.landing-form textarea{width:100%;border:1px solid #d7e2d8;background:#fafbf8;border-radius:10px;font-size:16px;min-height:44px;padding:11px 12px;color:#18392d}
.landing-form textarea{min-height:85px;resize:vertical}
.landing-send{width:100%;justify-content:center}
.landing-status{font-size:13px;color:#9a4539}.landing-status:empty{display:none}.landing-status.is-success{color:#216a47}
.landing-privacy{font-size:11px;color:#758a7c;line-height:1.5}.landing-privacy a{color:#285a40}
.landing-honeypot{position:absolute;left:-100vw;width:1px;height:1px;overflow:hidden}
.landing-footer{background:#faf9f4;padding:27px clamp(18px,6vw,90px);display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;color:#718376}
.landing-footer nav{display:flex;gap:18px}.landing-footer a{color:#4a6854;text-decoration:none}
.login-layer{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:17px}
.login-overlay{position:absolute;inset:0;background:#061d19bb;backdrop-filter:blur(4px)}
.login-popup{position:relative;z-index:1;width:min(450px,100%);max-height:calc(100dvh - 34px);overflow-y:auto;background:#fffdf9;border-radius:20px;padding:29px;box-shadow:0 20px 80px #0c272a65}
.login-popup-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:24px}
.login-popup-head span{color:#947853;font-size:10px;font-weight:800;letter-spacing:.14em}
.login-popup h2{font:normal 33px Georgia,serif;color:#163e2e;margin-top:6px}
.login-popup-close{width:41px;height:41px;border:0;border-radius:10px;background:#edf2eb;color:#254c3b;font-size:26px}
.login-popup-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:12px;background:#edf2ec;margin-bottom:20px}
.login-popup-tabs button{border:0;background:transparent;color:#678172;border-radius:8px;font-size:13px;font-weight:800;min-height:43px}
.login-popup-tabs button.active{background:#fff;color:#173f31;box-shadow:0 2px 8px #1f493319}
.login-popup-form .form{gap:14px}.login-popup-form .field input{font-size:16px}
.login-popup-form .btn{min-height:48px;font-size:14px}.auth-note{font-size:13px;color:#637a6c;margin-bottom:12px}
.login-popup-demo{border-top:1px solid #dde7dc;margin-top:20px;padding-top:14px}
@media(max-width:760px){
 .landing-header{height:67px;padding:9px 16px}.landing-brand img{width:145px}
 .landing-links{gap:8px}.landing-links>a{display:none}.landing-links button{padding:9px 15px;min-height:43px}
 .landing-hero{display:flex;flex-direction:column;align-items:stretch;padding:30px 18px 45px;gap:0;min-height:0}
 .landing-hero-copy{display:contents}.landing-hero .landing-eyebrow{order:1}
 .landing-hero h1{order:2;font-size:clamp(43px,10.4vw,64px);margin:14px 0 16px}
 .landing-actions{order:3;margin:0 0 19px}.landing-photo{order:4;height:clamp(295px,66vw,440px);margin-bottom:23px}
 .landing-hero-copy>p{order:5;font-size:15px}.landing-proof{order:6;margin-top:18px}
 .landing-band{justify-content:center;gap:12px 17px}.landing-how{padding:52px 19px}
 .landing-steps{grid-template-columns:1fr;gap:11px}.landing-steps article{padding:23px}.landing-steps h3{margin:9px 0 5px}
 .landing-inquiry{grid-template-columns:1fr;gap:27px;padding:55px 19px}.landing-form{padding:21px}
}
@media(max-width:430px){.landing-actions{display:grid;grid-template-columns:1fr;gap:0}.landing-primary{width:100%;justify-content:center}.landing-secondary{justify-content:center}.landing-photo{height:275px}.login-popup{padding:20px}}

/* Original NAHIC vector identity · exact user supplied artwork. */
.landing-brand img{display:block;width:175px;height:auto;max-height:68px;aspect-ratio:1427/514;object-fit:contain}
.sidebar .brand-wordmark{aspect-ratio:1427/514;max-width:175px;max-height:78px;width:100%;height:auto;object-fit:contain;padding:7px 10px;border-radius:11px;background:#fffaf0}
.mobile-wordmark{aspect-ratio:1427/514;width:148px;height:auto;max-height:60px;object-fit:contain}
@media(max-width:760px){.landing-brand img{width:146px;max-height:55px}}

/* Landingpage v2 · mehr Speisen, Firmenablauf und Einladungscode klarer erklären */
.landing-expanded{--landing-forest:#153d32;--landing-sage:#eaf0e9;--landing-accent:#c08155}
.landing-expanded .landing-header{min-height:78px}
.landing-expanded .landing-links{gap:clamp(13px,2vw,28px)}
.landing-expanded .landing-links a{white-space:nowrap}
.landing-expanded .landing-links a.landing-nav-inquiry{background:#e6ede3;padding:11px 15px;border-radius:999px;color:#174a39}
.landing-expanded .landing-links a.landing-nav-inquiry:hover{background:#d6e5d7;text-decoration:none}
.landing-expanded .landing-hero{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);min-height:590px;padding-block:65px}
.landing-expanded .landing-photo{height:clamp(420px,42vw,575px)}
.landing-expanded .landing-proof{margin-top:27px}
.landing-concept,.landing-gallery,.landing-how-expanded,.landing-roles,.landing-faq{scroll-margin-top:90px}
.landing-concept{background:#fbfaf5;padding:clamp(58px,6vw,100px) clamp(18px,6vw,90px);display:grid;grid-template-columns:minmax(0,1.45fr) minmax(295px,.85fr);gap:clamp(30px,7vw,110px);align-items:center}
.landing-concept h2,.landing-gallery h2,.landing-roles h2,.landing-faq h2{font:normal clamp(35px,4vw,57px)/1.15 Georgia,serif;letter-spacing:-.045em;color:#193e32;margin:16px 0 25px}
.landing-concept h2 em{color:#b36d48;font-style:italic}
.landing-concept-copy>p{font-size:16px;line-height:1.82;color:#526e60;max-width:760px;margin:0 0 14px}
.landing-text-cta{display:inline-flex;align-items:center;gap:11px;color:#1c5c3e;text-decoration:none;font-weight:800;border-bottom:1px solid #9fbea8;padding:9px 0;margin-top:12px}
.landing-text-cta:hover{color:#b66f49}
.landing-fit-card{background:#f0f3ec;border:1px solid #d5e1d6;border-radius:20px;padding:clamp(24px,3vw,39px);position:relative;overflow:hidden;box-shadow:0 12px 42px #1b473212}
.landing-fit-icon{font:italic 79px/1 Georgia,serif;color:#b8744e;letter-spacing:-.09em;margin-bottom:20px}
.landing-fit-icon span{font:normal 37px/1 Georgia,serif;margin-left:6px}
.landing-fit-card h3{font:normal 30px/1.2 Georgia,serif;color:#173d30;margin:12px 0}
.landing-fit-card p{font-size:15px;line-height:1.68;color:#476859}
.landing-fit-card p.landing-fit-small{font-size:12px;color:#708675;margin-top:17px}
.landing-fit-card a{display:inline-flex;gap:7px;color:#1b573f;font-weight:850;text-decoration:none;margin-top:14px;font-size:13px}
.landing-gallery{background:#143b30;color:#fff;padding:85px clamp(18px,6vw,90px) 65px}
.landing-gallery-top{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:34px}
.landing-gallery .landing-eyebrow{color:#e4b787}
.landing-gallery h2{color:#fff;margin:12px 0 0}
.landing-gallery-top>p{font-size:15px;line-height:1.75;color:#c7dad0;max-width:430px;margin:0 0 3px}
.landing-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.landing-food-card{background:#fdfdf9;color:#173b30;border-radius:15px;overflow:hidden;min-width:0;box-shadow:0 9px 24px #071c1b19}
.landing-food-img{aspect-ratio:4/3;background:#dfe6dd;overflow:hidden}
.landing-food-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.landing-food-card:hover .landing-food-img img{transform:scale(1.035)}
.landing-food-meta{padding:20px 19px 24px}
.landing-food-meta>span{font-weight:850;font-size:10px;letter-spacing:.12em;color:#b17148}
.landing-food-meta h3{margin:9px 0 8px;font-size:20px;line-height:1.2;color:#173c35}
.landing-food-meta p{font-size:13px;line-height:1.55;color:#607668;margin:0}
.landing-gallery-caption{font-size:11px;color:#acc3b5;margin:20px 0 0}
.landing-how-expanded{padding-block:85px;background:#f8f7f2}
.landing-how-heading{max-width:790px;margin-bottom:33px}
.landing-how-expanded h2{max-width:700px;margin-bottom:12px}
.landing-how-heading>p{font-size:16px;color:#5b7465;line-height:1.65}
.landing-how-expanded .landing-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:30px}
.landing-how-expanded .landing-steps article{padding:24px 19px 28px;background:#fff;box-shadow:0 5px 23px #1937230c;border-color:#e0e8dc}
.landing-how-expanded .landing-steps h3{font-size:16px;line-height:1.25;margin-top:23px}
.landing-how-expanded .landing-steps p{font-size:12px;line-height:1.65}
.landing-how-bottom{margin-top:25px;padding:21px 23px;background:#e8efe6;border:1px solid #d0dfd1;border-radius:13px;font-size:14px;line-height:1.65;color:#385948}
.landing-how-bottom strong{color:#194d38}
.landing-how-bottom a{color:#17593b;font-weight:780;text-decoration:underline;text-underline-offset:3px}
.landing-roles{padding:83px clamp(18px,6vw,90px);background:#fff;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:clamp(30px,5vw,85px);align-items:start}
.landing-roles-head>p{font-size:15px;line-height:1.7;color:#607667;max-width:410px}
.landing-role-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.landing-role-cards article{padding:27px 23px 21px;background:#f0f5ed;border-radius:15px;border:1px solid #dfeade;display:flex;flex-direction:column}
.landing-role-symbol{width:49px;height:49px;border-radius:13px;background:#174937;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:800}
.landing-role-cards h3{font-size:19px;color:#174234;margin:22px 0 10px}
.landing-role-cards p{font-size:14px;color:#5e7564;line-height:1.7}
.landing-role-foot{margin-top:auto;padding-top:20px;border-top:1px solid #d6e2d5;color:#427252;font-size:12px;font-weight:750}
.landing-faq{padding:72px clamp(18px,6vw,90px) 84px;background:#f6f4ed}
.landing-faq h2{margin-bottom:28px}
.landing-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.landing-faq details{border:1px solid #dbe3d9;border-radius:12px;background:#fff;padding:19px 20px}
.landing-faq summary{font-weight:780;color:#204638;font-size:15px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
.landing-faq summary::-webkit-details-marker{display:none}
.landing-faq summary:after{content:'+';font-size:22px;font-weight:400;line-height:1;color:#b8764d}
.landing-faq details[open] summary:after{content:'−'}
.landing-faq details p{color:#5d7466;font-size:14px;line-height:1.7;margin:15px 0 0}
.landing-expanded .landing-inquiry{padding-top:90px;padding-bottom:90px}
.landing-expanded .landing-inquiry-copy>p{max-width:570px}
.landing-expanded .landing-note{line-height:1.55}
@media(max-width:1150px){
 .landing-expanded .landing-links{gap:13px}
 .landing-expanded .landing-links a:not(.landing-nav-inquiry){display:none}
 .landing-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-how-expanded .landing-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
 .landing-roles{grid-template-columns:1fr}
}
@media(max-width:760px){
 .landing-expanded .landing-header{height:67px}
 .landing-expanded .landing-links a.landing-nav-inquiry{display:inline-block;padding:10px 12px;font-size:12px}
 .landing-expanded .landing-links button{font-size:12px;padding:9px 12px}
 .landing-expanded .landing-hero{display:flex;flex-direction:column;align-items:stretch;padding:31px 18px 48px;gap:0;min-height:0}
 .landing-expanded .landing-hero-copy{display:contents}
 .landing-expanded .landing-hero .landing-eyebrow{order:1}
 .landing-expanded .landing-hero h1{order:2}
 .landing-expanded .landing-hero .landing-actions{order:3}
 .landing-expanded .landing-hero .landing-photo{order:4;height:clamp(280px,65vw,420px);margin-bottom:22px}
 .landing-expanded .landing-hero .landing-hero-copy>p{order:5}
 .landing-expanded .landing-hero .landing-proof{order:6}
 .landing-concept{grid-template-columns:1fr;padding:54px 19px;gap:26px}
 .landing-concept h2,.landing-gallery h2,.landing-roles h2,.landing-faq h2{font-size:clamp(33px,8vw,44px)}
 .landing-fit-card{padding:25px}
 .landing-fit-icon{font-size:57px}
 .landing-gallery{padding:56px 18px 51px}
 .landing-gallery-top{display:block;margin-bottom:24px}
 .landing-gallery-top>p{margin-top:15px}
 .landing-how-expanded{padding:54px 18px}
 .landing-how-expanded .landing-steps{grid-template-columns:1fr;gap:11px}
 .landing-how-expanded .landing-steps article{padding:21px 24px}
 .landing-how-expanded .landing-steps article>span{font-size:28px}
 .landing-how-expanded .landing-steps h3{margin-top:8px;font-size:18px}
 .landing-how-expanded .landing-steps p{font-size:14px}
 .landing-roles{padding:59px 18px;gap:24px}
 .landing-faq{padding:53px 18px 60px}
 .landing-faq-grid{grid-template-columns:1fr}
 .landing-expanded .landing-inquiry{padding-top:60px;padding-bottom:70px}
}
@media(max-width:520px){
 .landing-gallery-grid{grid-template-columns:1fr;gap:15px}
 .landing-food-img{aspect-ratio:16/10}
 .landing-food-meta{padding:17px 20px 20px}
 .landing-expanded .landing-links a.landing-nav-inquiry{display:none}
 .landing-expanded .landing-header{padding-inline:16px}
 .landing-role-cards{grid-template-columns:1fr}
 .landing-role-cards article{padding:21px}
 .landing-concept-copy>p{font-size:15px}
 .landing-expanded .landing-hero .landing-photo{height:280px}
 .landing-faq details{padding:17px 16px}
}
@media(prefers-reduced-motion:reduce){.landing-food-img img{transition:none}.landing-food-card:hover .landing-food-img img{transform:none}}

/* NAHIC landing v3: mobile-first, streamlined collective orders */
.lp-page{--lp-green:#163b32;--lp-gold:#b57a51;--lp-cream:#f7f3eb;background:#fffdf8;color:#18382d;min-height:100vh}
.lp-page *{box-sizing:border-box}
.lp-page .lp-header{position:sticky;top:0;z-index:60;height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fffdf8;border-bottom:1px solid #e9e8df;padding:7px clamp(18px,5vw,78px)}
.lp-logo{display:flex;align-items:center;flex-shrink:0}
.lp-logo img{display:block;width:166px;height:auto;max-height:66px;object-fit:contain}
.lp-nav{display:flex;align-items:center;gap:clamp(13px,2.3vw,30px)}
.lp-nav>a{font-size:13px;font-weight:730;text-decoration:none;white-space:nowrap;color:#35564a}
.lp-nav>a:hover{text-decoration:underline}
.lp-nav .lp-nav-contact{color:#17533d}
.lp-nav>button{border:1px solid var(--lp-green);border-radius:999px;min-height:44px;background:var(--lp-green);color:#fff;font-size:13px;font-weight:750;padding:10px 18px;white-space:nowrap}
.lp-nav>button:hover{background:#2b5745}
.lp-main{max-width:1560px;margin:0 auto}
.lp-main section[id]{scroll-margin-top:86px}
.lp-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.13em;font-weight:830;color:#9a7958}
.lp-eyebrow-dot{width:8px;height:8px;background:var(--lp-gold);border-radius:50%;flex:none}
.lp-hero{background:var(--lp-cream);display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:clamp(24px,4.3vw,72px);align-items:center;padding:clamp(40px,5.6vw,78px) clamp(18px,5vw,78px)}
.lp-hero-content h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(47px,5.5vw,82px);font-weight:400;letter-spacing:-.055em;line-height:1.08;margin:19px 0 18px;color:#153b30}
.lp-hero-content h1 em{color:#ae6a48;font-style:italic}
.lp-hero-content>p{font-size:clamp(16px,1.35vw,19px);line-height:1.65;color:#556e61;max-width:590px;margin:0}
.lp-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:27px}
.lp-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;border:0;background:#173d31;color:#fff;min-height:50px;text-decoration:none;border-radius:11px;padding:13px 19px;font-size:14px;font-weight:780;cursor:pointer}
.lp-primary:hover{background:#285d45;color:#fff}
.lp-primary span{font-size:18px;font-weight:400}
.lp-inline-link{display:inline-flex;gap:10px;align-items:center;text-decoration:none;color:#345b47;font-size:13px;font-weight:750;padding:10px}
.lp-inline-link:hover{text-decoration:underline}
.lp-highlights{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:32px;padding-top:21px;border-top:1px solid #dcded4}
.lp-highlights>span{color:#567466;font-size:12px;font-weight:650}
.lp-highlights>span:before{content:'✓';margin-right:7px;color:#377e57}
.lp-hero-photo{margin:0;min-width:0;height:clamp(345px,38vw,525px);position:relative}
.lp-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:17px;box-shadow:0 20px 48px #233b2d23}
.lp-hero-photo figcaption{position:absolute;bottom:12px;right:12px;border-radius:5px;font-size:10px;color:#fff;background:#10281eae;padding:5px 9px}
.lp-flow,.lp-audience,.lp-food,.lp-contact{padding:clamp(52px,6vw,88px) clamp(18px,5vw,78px)}
.lp-flow{background:#fff}
.lp-section-lead{max-width:850px}
.lp-section-lead h2,.lp-audience h2,.lp-food h2,.lp-contact h2{font-family:Georgia,'Times New Roman',serif;color:#193d31;font-size:clamp(32px,3.7vw,53px);font-weight:400;line-height:1.18;letter-spacing:-.038em;margin:13px 0}
.lp-section-lead>p{font-size:15px;color:#6a7f70;line-height:1.55;margin:13px 0 0}
.lp-steps{list-style:none;margin:35px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-steps li{display:flex;flex-direction:column;gap:21px;background:#f7f8f4;border:1px solid #e3eae1;border-radius:14px;padding:25px 20px 23px;min-width:0}
.lp-step-number{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#e7ede4;color:#1b543d;font:italic 21px Georgia,serif}
.lp-steps h3{font-size:17px;line-height:1.3;font-weight:780;margin:0 0 9px;color:#153e2e}
.lp-steps p{font-size:13px;line-height:1.55;color:#62786a;margin:0}
.lp-invitation{display:flex;gap:10px;align-items:start;margin:23px 0 0;padding:17px 19px;background:#eaf1e8;border-radius:10px;color:#365f47;font-size:13px;line-height:1.5}
.lp-invitation icon{font-weight:900;flex:none;font-style:normal}
.lp-audience{background:#f4f0e7;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,86px)}
.lp-audience h2{margin:14px 0}
.lp-audience-copy>p{font-size:16px;color:#5b7567;line-height:1.66;max-width:600px;margin:0}
.lp-audience-types{display:grid;gap:9px}
.lp-audience-types>div{display:flex;align-items:center;gap:18px;background:#fffdf8;border:1px solid #e7e7de;border-radius:11px;padding:17px 20px}
.lp-audience-types>div span{color:#ab7755;font:italic 20px Georgia,serif}
.lp-audience-types>div strong{color:#204837;font-weight:750;font-size:15px}
.lp-food{background:#143b30;color:#fff}
.lp-food-top{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:30px}
.lp-food .lp-eyebrow{color:#d9ad80}
.lp-food h2{color:#fff}
.lp-food-top>p{max-width:320px;color:#c5d9ce;font-size:14px;line-height:1.6;margin:0 0 3px}
.lp-food-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.lp-food-card{background:#fffdf8;border-radius:13px;overflow:hidden;color:#1c4434;min-width:0}
.lp-food-card>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#e3e8df}
.lp-food-card>div{padding:19px}
.lp-food-card h3{margin:0 0 4px;color:#173e30;font-size:19px;font-weight:760;line-height:1.3}
.lp-food-card p{margin:0;color:#627668;font-size:13px;line-height:1.5}
.lp-photo-note{font-size:11px;margin:18px 0 0;color:#afc4b7}
.lp-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:clamp(25px,6vw,96px);background:#fffdf9}
.lp-contact-intro{padding-top:20px}
.lp-contact h2{font-size:clamp(37px,4.3vw,58px);max-width:600px}
.lp-contact-intro>p{color:#596e60;font-size:16px;line-height:1.66;max-width:490px;margin-top:18px}
.lp-contact-note{display:inline-block;border:1px solid #d9e5d8;background:#edf3e9;border-radius:999px;color:#426c51;font-size:12px;font-weight:650;padding:9px 14px;margin-top:22px}
.lp-contact-form{background:#fff;border:1px solid #e3e9e0;box-shadow:0 14px 40px #1c3c2c12}
.lp-contact-form .field{font-size:13px}
.lp-send{width:100%;justify-content:center}
.lp-footer{padding:27px clamp(18px,5vw,78px);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;background:#f7f3eb;border-top:1px solid #e4e8e0;color:#728577;font-size:12px}
.lp-footer nav{display:flex;flex-wrap:wrap;gap:20px}
.lp-footer a{color:#4b6857;text-decoration:none}
.lp-footer a:hover{text-decoration:underline}
@media(max-width:1040px){
  .lp-nav{gap:14px}
  .lp-nav>a:not(.lp-nav-contact){display:none}
  .lp-hero-content h1{font-size:clamp(44px,5.6vw,65px)}
  .lp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-food-track{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .lp-page .lp-header{height:68px;padding:8px 17px}
  .lp-logo img{width:145px;max-height:54px}
  .lp-nav{gap:9px}
  .lp-nav>a{display:none}
  .lp-nav>button{padding:9px 14px;font-size:13px}
  .lp-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:34px 17px 48px}
  .lp-hero-content{display:contents}
  .lp-hero-content>.lp-eyebrow{order:1}
  .lp-hero-content>h1{order:2;font-size:clamp(43px,9.8vw,62px);margin:15px 0 15px}
  .lp-hero-actions{order:3;display:grid;gap:2px;margin:4px 0 19px}
  .lp-primary{justify-content:center;gap:17px;text-align:center}
  .lp-inline-link{justify-content:center;padding:10px}
  .lp-hero-photo{order:4;height:clamp(270px,69vw,420px);margin-bottom:20px}
  .lp-hero-content>p{order:5;font-size:15px;line-height:1.6}
  .lp-highlights{order:6;margin-top:22px;padding-top:17px}
  .lp-flow,.lp-audience,.lp-food,.lp-contact{padding:53px 17px}
  .lp-section-lead h2,.lp-audience h2,.lp-food h2,.lp-contact h2{font-size:clamp(33px,7.5vw,43px)}
  .lp-steps{grid-template-columns:1fr;gap:0;margin-top:25px}
  .lp-steps li{flex-direction:row;gap:15px;border-radius:0;border:0;border-bottom:1px solid #e0e7de;background:transparent;padding:18px 0}
  .lp-steps li:first-child{border-top:1px solid #e0e7de}
  .lp-step-number{width:43px;height:43px;font-size:20px}
  .lp-steps h3{font-size:16px;margin-bottom:4px}
  .lp-steps p{font-size:13px;line-height:1.5}
  .lp-invitation{margin-top:22px;padding:16px;font-size:12px}
  .lp-audience{grid-template-columns:1fr;gap:26px}
  .lp-audience-copy>p{font-size:15px}
  .lp-audience-types{gap:8px}
  .lp-audience-types>div{padding:14px 17px}
  .lp-food-top{display:block;margin-bottom:20px}
  .lp-food-top>p{margin:10px 0 0}
  .lp-food-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 0 12px;scrollbar-width:thin;scrollbar-color:#678678 transparent}
  .lp-food-card{flex:0 0 min(73vw,280px);scroll-snap-align:start}
  .lp-food-card>img{aspect-ratio:4/3}
  .lp-food-card>div{padding:15px}
  .lp-food-card h3{font-size:17px}
  .lp-food-card p{font-size:12px}
  .lp-photo-note{margin-top:12px}
  .lp-contact{grid-template-columns:1fr;gap:26px}
  .lp-contact-intro{padding-top:0}
  .lp-contact-intro>p{font-size:15px}
}
@media(max-width:400px){
  .lp-logo img{width:136px}
  .lp-nav>button{padding:8px 12px}
  .lp-hero-content>h1{font-size:clamp(39px,10vw,44px)}
  .lp-hero-photo{height:270px}
  .lp-highlights>span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.lp-food-track{scroll-behavior:auto}}

/* NAHIC Admin: category-wide visibility control for companies and groups */
.category-access-panel{background:#f8faf6;border:1px solid #dce7db;border-radius:15px;margin:19px 0 24px;overflow:hidden}
.category-access-savebar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #dce7db;background:#f8faf6}
.category-access-savebar .btn{min-height:38px}
.category-access-savebar .btn:disabled{opacity:.55;cursor:default}
.category-access-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 23px 17px;border-bottom:1px solid #dce6da}
.category-access-header h3{font-size:20px;color:#224d38;margin:0 0 7px;letter-spacing:-.025em}
.category-access-header p{font-size:13px;max-width:650px;color:#6f8271;line-height:1.55;margin:0}
.category-access-scope{white-space:nowrap;font-size:11px;font-weight:700;color:#416f50;background:#e7f1e5;border:1px solid #d5e5d2;border-radius:999px;padding:8px 11px}
.category-access-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 23px}
.category-access-row+.category-access-row{border-top:1px solid #e2e9e0}
.category-access-name{display:flex;flex-direction:column;gap:3px;min-width:155px}
.category-access-name strong{font-size:15px;color:#234e36}
.category-access-name small{font-size:11px;line-height:1.4;color:#78887a}
.category-access-options{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.category-access-choice{background:#fff;border:1px solid #d9e3d5;color:#4d6955;border-radius:9px;min-height:38px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.category-access-choice:hover{background:#ebf2e9}
.category-access-choice.selected{background:#1b503b;border-color:#1b503b;color:#fff}
.category-access-choice:focus-visible{outline:3px solid #c69a5a;outline-offset:2px}
.category-access-choice:disabled{opacity:.55;cursor:wait}
.category-access-foot{border-top:1px solid #dfe8db;padding:13px 23px 17px;font-size:12px;line-height:1.55;color:#637d6b;margin:0}
@media(max-width:770px){
 .category-access-header{flex-direction:column;gap:11px;padding:18px 17px}
 .category-access-scope{white-space:normal}
 .category-access-row{align-items:stretch;flex-direction:column;gap:10px;padding:16px 17px}
 .category-access-name{min-width:0}
 .category-access-options{justify-content:flex-start}
 .category-access-choice{flex:1;min-width:84px}
 .category-access-foot{padding:13px 17px}
}

/* Clean sign-out dialog and no character-glyph logout icon */
.confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:750;letter-spacing:.09em;color:#647d70}
.confirm-heading button{border:0;background:#f1f3ef;border-radius:50%;color:#456356;font-size:22px;line-height:1;width:38px;height:38px}
.confirm-dialog h2{margin-top:12px;font-family:inherit;font-weight:800;letter-spacing:-.035em}
.side-link[data-action="logout"]{display:flex;align-items:center;gap:11px}
.side-link[data-action="logout"] svg{width:18px;height:18px;flex:none}

/* Account profile: direct personal edits and carefully approved tenant transfer */
.profile-edit-trigger{display:inline-flex;align-items:center;gap:9px;margin-top:18px}
.profile-edit-trigger svg{width:18px;height:18px}
.profile-edit-form,.profile-transfer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.profile-edit-form>.help,.profile-transfer-form>.help,.profile-edit-actions{grid-column:1/-1}
.profile-edit-actions{display:flex;gap:9px;flex-wrap:wrap}
.profile-edit-actions button{min-height:43px}
.profile-transfer-card{margin-top:16px}
.profile-transfer-head h2{font-size:20px;margin-bottom:7px}
.profile-transfer-head p{font-size:13px;line-height:1.65;margin-bottom:16px}
.profile-pending-message{background:#f3f6e8;border:1px solid #dfe7c6;padding:16px 18px;border-radius:12px;color:#315542;display:grid;gap:7px}
.profile-pending-message strong{font-size:15px}
.profile-pending-message span{font-size:13px}
.profile-pending-message small{font-size:12px;color:#73846f}
.profile-review-panel{margin:18px 0 24px}
.profile-review-panel h2{font-size:21px;margin:0 0 6px}
.profile-review-list{margin-top:17px}
.profile-review-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:18px;padding:18px 0;align-items:start;border-top:1px solid #e4e9e2}
.profile-review-info{display:grid;gap:6px}
.profile-review-info>strong{color:#214c39;font-size:16px}
.profile-review-info small{font-size:12px;color:#738a78}
.profile-review-info p{margin:2px 0;font-size:12px;color:#506a56}
.profile-review-info p strong{color:#23503e}
.profile-review-controls .field{font-size:12px}
.profile-review-controls select{width:100%}
.profile-review-buttons{display:flex;gap:8px;margin-top:9px}
.profile-review-buttons button{flex:1;min-height:43px}
@media(max-width:740px){
 .profile-edit-form,.profile-transfer-form,.profile-review-row{grid-template-columns:minmax(0,1fr)}
 .profile-review-row{gap:12px}
 .profile-edit-actions button{flex:1}
 .profile-review-controls{width:100%}
}

/* Administrator sees pending membership changes from every workspace view. */
.admin-profile-notice{border:1px solid #d8b66a;background:#fff5de;color:#704d1c;border-radius:10px;padding:9px 12px;font-weight:800;font-size:12px;white-space:nowrap;cursor:pointer}
.admin-profile-notice:hover{background:#f7e8c5}
.admin-profile-notice:focus-visible{outline:2px solid #244e3c;outline-offset:2px}
@media(max-width:800px){.admin-profile-notice{font-size:10px;padding:7px 9px;max-width:124px;white-space:normal}.topbar:has(.admin-profile-notice){gap:8px}}

/* One-time employee invitations and secure first-login account setup */
.onboarding-shell{min-height:100dvh;display:grid;place-items:center;padding:clamp(16px,4vw,48px);background:#f3f7f5}
.onboarding-panel{width:min(100%,520px);padding:clamp(22px,4vw,38px);display:grid;gap:16px}
.onboarding-panel h1{font-size:clamp(25px,4vw,34px);line-height:1.16;margin:0}
.onboarding-panel p{line-height:1.55;margin:0}
.onboarding-panel .form{display:grid;gap:14px}
.onboarding-panel input[readonly]{background:#ecf0ed;color:#41564c;cursor:not-allowed}
.onboarding-logo{width:160px;height:auto;max-height:64px;object-fit:contain;object-position:left}
.invite-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin-top:14px}
.invite-method{padding:16px;border:1px solid #d6e2dc;border-radius:14px;min-width:0}
.invite-method h3{font-size:17px;margin:0 0 8px}
.invite-method p{line-height:1.45;margin:0 0 14px}
.admin-invite-panel .admin-invite-compact{max-width:430px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:12px 0 0}
.admin-invite-panel .invite-method[hidden]{display:none!important}
.admin-invite-panel .invite-method{padding:12px;display:grid;gap:10px}
.admin-invite-panel .invite-method h3{font-size:15px;margin:0}
.admin-invite-panel .invite-method p{font-size:13px;margin:0}
.admin-invite-panel .invite-method .form{gap:10px}
.admin-invite-panel .admin-invite-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-invite-panel .admin-invite-actions .btn{flex:1;min-width:min(180px,100%)}
@media(max-width:540px){.admin-invite-panel .admin-invite-compact{max-width:100%}.admin-invite-panel .invite-method{padding:10px}}
.invite-result{border:1px solid #c3d8cd;border-radius:12px;padding:16px;display:grid;gap:10px;margin-top:16px}
.invite-result code{overflow-wrap:anywhere;user-select:all}
.invite-result p{margin:0}

/* Public browse-only view deliberately reuses the employee menu components. */
.guest-app-shell{min-height:100dvh;background:#f4f7f4;padding:clamp(12px,2.5vw,32px) clamp(12px,4vw,64px) 70px}
.guest-app-shell .guest-order-view{max-width:1020px;margin:0 auto}
.order-menu-titlebar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.guest-menu-back{display:inline-flex;align-items:center;justify-content:center;color:#214736;text-decoration:none;font-size:14px;font-weight:700;background:#fff;border:1px solid #d4dfd6;border-radius:11px;padding:11px 16px}
.guest-menu-back:hover,.guest-menu-back:focus-visible{background:#eaf1e8}
.guest-menu-context{margin:12px 0 18px;padding:14px 17px;border:1px solid #d5e1d7;border-radius:15px;background:#eef3ec}
.guest-menu-context strong{display:block;color:#234936;font-size:14px}
.guest-menu-context p{margin:6px 0 0;color:#536959;font-size:13px;line-height:1.55}
.guest-order-view .order-menu-row .order-row-desc strong,.guest-order-view .order-detail-price{font-size:13px;line-height:1.35}
.guest-menu-error{padding:15px 18px;border:1px solid #e1b9b9;border-radius:12px;background:#fff6f5;color:#8b3434}
.guest-info-caution{font-size:13px;color:#715832;background:#fff8e7;border-radius:9px;padding:10px 12px;margin:10px 0}
.guest-access-layer{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:16px}
.guest-access-shade{position:absolute;inset:0;background:rgba(12,31,24,.66);backdrop-filter:blur(3px)}
.guest-access-dialog{position:relative;max-width:440px;width:100%;border-radius:21px;background:#fff;box-shadow:0 25px 85px rgba(0,0,0,.28);padding:clamp(24px,5vw,36px);display:grid;gap:14px;text-align:center}
.guest-access-icon{display:block;font-size:31px}
.guest-access-dialog h2{font-size:clamp(23px,5vw,28px);line-height:1.22;color:#173c35;margin:0}
.guest-access-dialog p{font-size:15px;line-height:1.6;color:#647368;margin:0}
.guest-access-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#4f6256;font-size:28px;width:36px;height:36px;cursor:pointer}
.guest-access-apply{display:block;text-align:center;background:#173c35;color:#fff!important;padding:15px 24px;font-weight:750;border-radius:12px;text-decoration:none}
.guest-access-apply:hover{background:#265b4b}
.guest-access-cancel{font-size:14px;font-weight:700;color:#446452;border:0;background:transparent;padding:10px;cursor:pointer}
@media(max-width:520px){.guest-app-shell{padding:12px 9px 70px}.guest-menu-back{font-size:12px;padding:10px 12px}.guest-order-view .order-menu-title{font-size:27px}}

/* Firmen & Teams: searchable global people directory and administrator-only person record. */
.people-directory{margin:20px 0 25px;min-width:0}
.people-directory .row.mb h2{margin:0 0 5px}
.people-directory-tools{display:grid;grid-template-columns:minmax(200px,1.6fr) repeat(3,minmax(120px,1fr));gap:12px;padding:17px 0 22px}
.people-directory-tools label{display:flex;flex-direction:column;gap:6px;min-width:0}
.people-directory-tools label.people-directory-search{grid-column:span 2}
.people-filter-label{font-size:11px;color:#567064;font-weight:750;line-height:1.3}
.people-directory-tools select,.people-directory-tools input{width:100%;min-width:0;height:42px;min-height:42px;padding:9px 11px;border:1px solid #d8e4dc;border-radius:11px;background:#fff;color:#1e4030;font-size:13px;font-weight:580}
.people-directory-tools input{font-size:15px}
.people-directory-tools select:focus,.people-directory-tools input:focus{outline:2px solid #9cc8ae;outline-offset:1px;border-color:#609977}
.people-directory-head,.people-directory-row{display:grid;grid-template-columns:minmax(170px,1.45fr) minmax(145px,1.05fr) minmax(160px,1.1fr) minmax(116px,.85fr);align-items:center;gap:16px}
.people-directory-head{color:#789084;font-size:11px;font-weight:760;padding:12px 16px;background:#f0f5f0;border:1px solid #e5ece6;border-bottom:0;border-radius:12px 12px 0 0}
.people-directory-results{border:1px solid #e5ece6;border-radius:0 0 12px 12px;overflow:hidden}
.people-directory-row{width:100%;padding:15px 16px;border:0;border-bottom:1px solid #edf0ec;background:#fff;color:#254739;text-align:left;cursor:pointer;transition:background .2s,box-shadow .2s}
.people-directory-row:last-child{border-bottom:0}
.people-directory-row:hover,.people-directory-row:focus-visible{background:#f1f7f2}
.people-directory-row[hidden]{display:none!important}
.people-directory-person,.people-directory-team,.people-directory-delivery,.people-directory-side{display:flex;align-items:center;gap:12px;min-width:0}
.people-directory-person>span:last-child,.people-directory-team,.people-directory-delivery,.people-directory-side{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.people-directory-row strong{font-size:13px;line-height:1.35;font-weight:760;color:#193f30;overflow-wrap:anywhere}
.people-directory-row small{display:block;font-size:11px;line-height:1.44;color:#698072;overflow-wrap:anywhere;font-weight:500}
.people-avatar{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:50%;background:#e9f1e9;color:#20523e;font-weight:830;font-size:15px}
.people-directory-side small span{font-size:20px;color:#487b5e;line-height:0;vertical-align:middle}
.people-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;background:#f1f3ea;color:#54715d;font-size:11px;font-weight:760;line-height:1.2;white-space:normal}
.people-status.is-active{background:#e8f3e9;color:#357354}
.people-status.is-pending{background:#f7f1e4;color:#896e3b}
.people-status.is-disabled{background:#f8eeed;color:#965850}
.people-directory-footer{margin-top:15px}
.people-directory-empty{padding:18px;background:#f8f4eb;border-radius:10px;color:#715d42;font-size:13px}
.people-directory-empty[hidden]{display:none}
.people-directory-note{margin:13px 0 0}
/* Profile with factual account fields and expandable historical orders. */
.people-profile{display:grid;gap:20px}
.people-profile>.heading-row{margin-bottom:4px}
.people-profile-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px}
.people-profile-identity{display:flex;align-items:center;gap:17px;min-width:0}
.people-profile-identity .people-avatar{width:62px;height:62px;font-size:24px}
.people-profile-identity h2{font-size:23px;letter-spacing:-.035em;line-height:1.2;margin:0 0 5px;color:#173c35}
.people-profile-identity p{margin:0 0 9px;font-size:13px;color:#607769;overflow-wrap:anywhere}
.people-profile-facts h2,.people-profile-deliveries h2,.people-profile-history h2{font-size:19px;color:#1c4735;letter-spacing:-.03em;margin:0 0 19px}
.people-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px;margin:0}
.people-facts>div{display:grid;gap:7px;border-bottom:1px solid #e9ede7;padding:13px 0;min-width:0}
.people-facts dt{font-size:11px;font-weight:720;color:#75897a}
.people-facts dd{font-size:14px;font-weight:660;color:#1d3e30;margin:0;overflow-wrap:anywhere}
.people-profile-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.people-profile-overview>div{display:grid;align-content:center;gap:10px;border:1px solid #dce5dc;border-radius:14px;background:#f3f7f2;padding:20px;min-height:106px}
.people-profile-overview span{font-size:11px;font-weight:670;color:#607a66}
.people-profile-overview strong{color:#143f2f;font-size:27px;font-weight:760;letter-spacing:-.04em}
.people-delivery-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
.people-delivery-pair>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.people-delivery-pair strong{font-size:17px;line-height:1.36;color:#173f32}
.people-delivery-pair small{font-size:12px;color:#687d6f}
.people-delivery-pair p{margin:0;line-height:1.55}
.people-profile-history>p{line-height:1.6}
.people-order-history{margin-top:16px;border-top:1px solid #e7ede6}
.people-order-detail{border-bottom:1px solid #e7ede6}
.people-order-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;cursor:pointer;padding:17px 7px;color:#214632}
.people-order-detail>summary::-webkit-details-marker{display:none}
.people-order-detail>summary:hover{background:#f7faf6}
.people-order-detail>summary>span:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}
.people-order-detail>summary strong{font-size:13px}
.people-order-detail>summary small{font-size:11px;color:#6c7d70}
.people-order-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.people-order-meta b{font-size:14px}
.people-order-items{padding:7px 12px 18px 18px;border-left:3px solid #cadece}
.people-order-items>div{padding:9px 0;font-size:13px}
.people-order-items .removed-text{font-size:12px}
@media(max-width:1160px){
 .people-directory-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
 .people-directory-tools label.people-directory-search{grid-column:span 2}
 .people-directory-head,.people-directory-row{grid-template-columns:minmax(170px,1.4fr) minmax(135px,1fr) minmax(120px,1fr) minmax(100px,.8fr);gap:10px}
}
@media(max-width:800px){
 .people-directory-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .people-directory-tools label.people-directory-search{grid-column:1/-1}
 .people-directory-head{display:none}
 .people-directory-results{border-radius:12px}
 .people-directory-row{grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:15px}
 .people-directory-person{grid-column:1/-1}
 .people-directory-person>span:last-child{flex:1}
 .people-directory-team{grid-column:1/2}
 .people-directory-delivery{grid-column:1/2}
 .people-directory-side{grid-column:2/3;grid-row:2/4;align-items:flex-end;text-align:right}
 .people-profile-head{align-items:flex-start}
 .people-profile-overview{gap:9px}
}
@media(max-width:520px){
 .people-directory-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 .people-directory-tools label.people-directory-search{grid-column:1/-1}
 .people-directory-row strong{font-size:12px}
 .people-directory-row small{font-size:10.5px}
 .people-facts{grid-template-columns:1fr}
 .people-profile-identity .people-avatar{width:52px;height:52px;font-size:20px}
 .people-profile-overview{grid-template-columns:1fr 1fr}
 .people-profile-overview>div:last-child{grid-column:1/-1}
 .people-profile-overview>div{padding:15px;min-height:88px}
 .people-profile-overview strong{font-size:23px}
 .people-delivery-pair{grid-template-columns:1fr}
 .people-order-detail>summary{align-items:flex-start}
 .people-order-meta{flex-direction:column;align-items:flex-end}
}

/* Scoped administrator account dialogs: no page navigation, mobile-first. */
.member-dialog-layer{position:fixed;inset:0;z-index:1750;display:grid;place-items:center;padding:clamp(9px,3vw,24px);isolation:isolate}
.member-dialog-scrim{position:absolute;inset:0;background:rgba(4,26,18,.71);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}
.member-dialog{position:relative;z-index:1;width:min(610px,100%);max-height:calc(100dvh - 30px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:clamp(17px,2.5vw,28px);box-shadow:0 25px 90px rgba(4,23,17,.33);outline:0}
.member-dialog.is-details{width:min(940px,100%)}
.member-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px clamp(19px,3vw,32px);border-bottom:1px solid #e8eee8;background:#fcfdfb;flex:none}
.member-dialog-heading span{font-size:10px;letter-spacing:.14em;color:#9d7953;font-weight:790}
.member-dialog-heading h2{font-size:clamp(24px,3vw,31px);line-height:1.12;letter-spacing:-.05em;margin:7px 0 0;color:#173c35;font-weight:780}
.member-dialog-x{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#e9f1e9;border:0;border-radius:50%;color:#295341;font-size:26px;cursor:pointer}
.member-dialog-x:hover{background:#d9e7db}
.member-dialog-body{padding:clamp(19px,3vw,30px);overflow:auto;min-height:0;overscroll-behavior:contain}
.member-dialog-body .people-profile{gap:17px}
.member-dialog-body .people-profile .heading-row{display:none}
.member-dialog-body .people-profile-head{border:0;padding:0 0 14px;border-bottom:1px solid #ebf0eb;box-shadow:none;border-radius:0}
.member-dialog-body .people-profile-overview>div{min-height:90px}
.member-dialog-body .people-profile-overview>div strong{font-size:25px}
.member-dialog-body .people-profile-history,.member-dialog-body .people-profile-facts,.member-dialog-body .people-profile-deliveries{border:1px solid #e1e8df}
.member-dialog-editor>.small{margin:0 0 19px;line-height:1.7}
.member-dialog-editor .form{display:grid;gap:17px}
.member-dialog-editor .field input,.member-dialog-editor .field select,.member-delete-confirm .field input{width:100%;min-height:48px;font-size:16px;border-radius:11px;padding:10px 13px}
.member-dialog-editor .form .btn,.member-delete-confirm .btn{min-height:45px}
.member-danger-zone{border:1px solid #ebd2d0;background:#fff8f7;border-radius:15px;padding:19px 20px;margin-top:29px}
.member-danger-zone h3{font-size:16px;font-weight:760;color:#8d3934;margin:0 0 9px}
.member-danger-zone p,.member-delete-confirm>p{font-size:13px;color:#6c5b55;line-height:1.7}
.member-danger-zone .btn{border-color:#d29e95;color:#923b34}
.member-delete-confirm{display:grid;gap:14px}
.member-delete-confirm strong{color:#254634}
.member-delete-confirm .form{display:grid;gap:18px;margin-top:8px}
.member-delete-confirm .checkline{align-items:flex-start;line-height:1.6}
.member-delete-button{background:#a33d36!important;border:1px solid #a33d36!important;color:#fff!important}
.member-delete-button:hover{background:#7d2926!important}
.member-delete-button:disabled{opacity:.45;cursor:not-allowed}
.member-delete-blocked{border:1px solid #e1ac8d;background:#fff2e8;border-radius:11px;padding:15px;color:#96512d;font-size:13px;line-height:1.6;font-weight:650}
@media(max-width:600px){
  .member-dialog-layer{padding:8px}
  .member-dialog{max-height:calc(100dvh - 16px);border-radius:17px}
  .member-dialog-heading{padding:17px 18px}
  .member-dialog-body{padding:17px}
  .member-dialog-body .people-profile-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-dialog-body .people-profile-overview>div:last-child{grid-column:1/-1}
  .member-dialog-body .people-profile-head{align-items:flex-start}
  .member-dialog-body .people-profile-identity h2{font-size:21px}
  .member-dialog .row.wrap>.btn{max-width:100%}
}

/* Sammelbesteller: one delivery at a time, quieter overview and deliberate secondary tools. */
.coord-workspace{display:grid;gap:19px}
.coord-workspace .heading-row{margin-bottom:0}
.coord-workspace .heading-row h1{margin-bottom:8px}
.coord-focus{border:1px solid #d7e6d9;background:linear-gradient(126deg,#f8fcf6,#eaf4ec);padding:clamp(20px,3.5vw,34px)}
.coord-focus-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.coord-focus-heading .caps{color:#62846a;font-size:11px;font-weight:800;letter-spacing:.12em}
.coord-focus-heading h2{font-size:clamp(25px,4vw,38px);font-weight:790;line-height:1.12;letter-spacing:-.05em;margin:12px 0;color:#173f30}
.coord-focus-heading p{color:#668170;font-size:13px;margin:0;line-height:1.55}
.coord-deadline{margin:19px 0 22px;color:#6a8472;font-size:12px}
.coord-deadline strong{color:#264d37}
.coord-other-rounds{margin:17px 0 0;padding:12px 15px;border:1px solid #cfdfd1;border-radius:12px;background:#fff}
.coord-other-rounds summary{color:#24543c;font-size:13px;font-weight:720;cursor:pointer;list-style:revert;min-height:28px}
.coord-other-rounds .round-picker-row{margin:13px 0 3px;max-width:560px}
.coord-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#cde1d2;border:1px solid #cde1d2;border-radius:13px;overflow:hidden}
.coord-metrics>div{display:grid;gap:7px;background:#f7fbf6;padding:21px 18px}
.coord-metrics strong{color:#1d4b36;font-size:clamp(20px,3vw,30px);line-height:1.05;letter-spacing:-.045em}
.coord-metrics span{font-size:11px;color:#62836b;font-weight:700}
.coord-workspace .coordinator-payments{margin:0;padding:18px 20px;background:#fff;border:1px solid #e3e9df;border-radius:13px;box-shadow:none}
.coord-workspace .coordinator-payments strong{font-size:15px}
.coord-workspace .coordinator-payments .summary-price{font-size:20px}
.coord-workspace .coordinator-payments .btn{border-radius:11px}
.coord-workspace .coordinator-team-panel{margin:0}
.coord-workspace .grid.content-side{margin:5px 0 0}
.coord-workspace .section-head h2{font-size:20px}
@media(max-width:760px){
 .coord-focus{padding:20px}
 .coord-focus-heading{flex-wrap:wrap}
 .coord-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .coord-metrics>div{padding:17px 15px;min-height:82px}
 .coord-workspace .coordinator-payments{padding:16px}
 .coord-workspace .coordinator-payments .btn{min-height:43px;width:100%}
}

/* Company-first admin directory: short, searchable, paged tables for large tenants. */
.company-hub-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:14px 0 20px}
.company-hub-summary>div{border:1px solid #dfe8df;border-radius:14px;padding:15px 18px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.company-hub-summary span{font-size:12px;font-weight:650;color:#667b6b}
.company-hub-summary strong{font-size:25px;font-weight:800;letter-spacing:-.04em;color:#173c35;font-variant-numeric:tabular-nums}
.company-hub-tabs{display:flex;align-items:center;gap:8px;margin-bottom:16px;border-bottom:1px solid #e1e8e0;padding-bottom:12px}
.company-hub-tabs .admin-tab{white-space:nowrap}
.company-hub-list,.company-hub-list .list-tools{min-width:0}
.company-hub-list .list-tools .search-field{width:min(420px,100%);min-width:0}
.admin-list-pager{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;padding:17px 3px 5px;border-top:1px solid #e8eee8;margin-top:7px}
.admin-list-pager-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.admin-list-pager-controls .btn{min-height:39px;padding:8px 12px}
.admin-list-pager-controls span{white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-list-empty{padding:23px 12px;color:#688071;font-size:13px;margin:0}
[data-admin-results]{min-width:0;scroll-margin-top:100px}
@media(max-width:650px){
 .company-hub-summary{gap:7px}
 .company-hub-summary>div{display:grid;gap:4px;padding:12px 10px}
 .company-hub-summary span{font-size:10px}
 .company-hub-summary strong{font-size:21px}
 .company-hub-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .company-hub-tabs .admin-tab{flex:1;min-width:max-content;text-align:center}
 .admin-list-pager{align-items:stretch;gap:9px}
 .admin-list-pager-controls{justify-content:space-between;width:100%}
 .admin-list-pager-controls .btn{flex:1}
 .people-directory{margin:0 0 20px}
}

/* Administrator workspace: one clear navigation path, no explanatory banners. */
.admin-compact-heading{margin-bottom:14px}
.admin-breadcrumb{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:nowrap;white-space:nowrap;
  margin:0 0 16px;padding:3px 0 5px;font-size:13px;color:#315646}
.admin-breadcrumb button,.admin-breadcrumb strong{min-width:0;max-width:min(360px,44vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-breadcrumb button{border:0;border-radius:7px;background:transparent;color:#537265;font-weight:670;
  padding:6px 3px;text-align:left}
.admin-breadcrumb button:hover{text-decoration:underline;color:#174a34}
.admin-breadcrumb button:focus-visible{outline:2px solid #b99865;outline-offset:2px}
.admin-breadcrumb strong{font-weight:800;color:#173c35}
.admin-breadcrumb-chevron{color:#95a79b;font-size:19px;font-weight:400;line-height:1;flex:none}
.admin-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important}
.company-detail-tabs{margin-top:0!important;margin-bottom:14px!important;padding-top:0!important}
.company-detail-tabs .admin-tab{min-height:35px;padding:8px 13px;font-size:12px}
.term-heading{margin-bottom:13px}
.term-heading h1{margin-bottom:0}

/* Company employee lists: 25 dense one-line records with actions on demand. */
.company-users-head.staff-compact-head,.staff-compact-list .company-user-row{
  display:grid;grid-template-columns:minmax(140px,1.7fr) minmax(100px,1fr) minmax(95px,.75fr) 55px 82px;
  align-items:center;gap:11px;min-width:0
}
.staff-compact-list{position:relative}
.staff-compact-list .company-user-row{position:relative;padding:6px 10px;min-height:53px}
.staff-compact-list .company-user-row:has(.staff-action-menu[open]){z-index:10;background:#f6faf7}
.staff-compact-list .company-user-row:hover{background:#f7faf7}
.staff-person-button{display:flex;flex-direction:column;justify-content:center;gap:2px;width:100%;min-width:0;
  padding:2px 0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.staff-person-button strong,.staff-person-button small,.staff-group strong,.staff-group small{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.staff-person-button strong{font-size:12.5px;color:#1c4935;font-weight:760}
.staff-person-button small,.staff-group small{font-size:11px;color:#738276}
.staff-person-button:hover strong{text-decoration:underline}
.staff-person-button:focus-visible{outline:2px solid #b99865;outline-offset:2px;border-radius:4px}
.staff-person-mobile-meta{display:none!important}
.staff-group{display:grid;gap:2px;min-width:0;font-size:12px}
.staff-group strong{font-size:12px;font-weight:650}
.staff-account-status{justify-self:start;padding:4px 8px;font-size:10.5px}
.staff-order-count{text-align:center;font-size:12px;color:#41604e;font-variant-numeric:tabular-nums}
.staff-row-actions{display:flex;justify-content:flex-end;gap:5px;align-items:center;min-width:0}
.staff-icon-action,.staff-action-menu summary{display:grid;place-items:center;min-width:34px;width:34px;height:34px;
  padding:0;line-height:1;border:1px solid #dbe6dd;border-radius:8px;background:#fff;color:#28523e;cursor:pointer}
.staff-icon-action{font-size:18px}
.staff-action-menu{position:relative;flex:none}
.staff-action-menu summary{font-size:23px;font-weight:700;list-style:none;letter-spacing:1px}
.staff-action-menu summary::-webkit-details-marker{display:none}
.staff-icon-action:hover,.staff-action-menu summary:hover{background:#ebf3ed}
.staff-action-menu[open] summary{background:#e8f0ea;border-color:#b7ccbd}
.staff-action-menu-panel{position:absolute;top:calc(100% + 5px);right:0;z-index:40;min-width:194px;
  display:grid;padding:5px;border:1px solid #d9e4dc;border-radius:12px;background:#fff;
  box-shadow:0 14px 34px rgba(20,48,31,.16)}
.staff-action-menu-panel button{border:0;background:transparent;text-align:left;padding:9px 12px;
  color:#234633;border-radius:7px;white-space:nowrap;font-size:12px;min-height:36px;font-weight:600}
.staff-action-menu-panel button:hover,.staff-action-menu-panel button:focus-visible{background:#eff5ef}
.staff-compact-list .company-user-row>div,.staff-compact-list .company-user-row>span{min-width:0}

@media(max-width:820px){
 .company-users-head.staff-compact-head,.staff-compact-list .company-user-row{
   grid-template-columns:minmax(140px,1.7fr) minmax(100px,1fr) minmax(75px,.7fr) 35px 82px;gap:7px
 }
 .staff-compact-list .company-user-row{padding:7px 7px}
 .staff-account-status{font-size:10px}
}
@media(max-width:600px){
 .admin-breadcrumb{gap:6px;font-size:12px;margin-bottom:12px}
 .admin-breadcrumb button,.admin-breadcrumb strong{max-width:38vw}
 .company-detail-tabs{margin-left:0!important;margin-right:0!important}
 .company-detail-tabs .admin-tab{min-height:34px;padding:7px 11px}
 .company-users-head.staff-compact-head{display:none}
 .staff-compact-list .company-user-row{display:grid;grid-template-columns:minmax(0,1fr) auto;
   gap:7px;padding:6px 3px;min-height:58px}
 .staff-compact-list .staff-person-button{grid-column:1;grid-row:1;max-width:100%}
 .staff-compact-list .staff-person-mobile-meta{display:block!important;font-size:10px}
 .staff-compact-list .staff-group,.staff-compact-list .staff-account-status,.staff-compact-list .staff-order-count{display:none!important}
 .staff-compact-list .staff-row-actions{grid-column:2;grid-row:1;align-self:center;justify-content:flex-end}
 .staff-compact-list .staff-icon-action,.staff-compact-list .staff-action-menu summary{
   width:35px;min-width:35px;height:35px
 }
 .company-hub-summary{margin-top:7px;margin-bottom:12px}
 .admin-list-card{padding:11px 12px!important}
}

/* NAHIC admin-only density: operational information first, at every desktop width. */
.admin-workspace .workspace{max-width:1460px;padding:20px 28px 55px;font-size:13px}
.admin-workspace .workspace h1{font-size:clamp(22px,2.2vw,27px);line-height:1.2}
.admin-workspace .workspace h2{font-size:17px}
.admin-workspace .workspace h3{font-size:14px}
.admin-workspace .workspace .heading-row{margin-bottom:14px}
.admin-workspace .workspace .card{padding:15px}
.admin-workspace .workspace .btn{min-height:37px;padding:8px 12px;font-size:12px}
.admin-workspace .workspace .btn.small{min-height:32px;padding:6px 10px;font-size:11px}
.admin-workspace .workspace .selection{min-height:38px;font-size:12px;padding:7px 10px}
.admin-workspace .workspace .search-field{min-height:38px}
.admin-workspace .workspace .search-field input{font-size:13px;padding:8px 0}
.admin-workspace .workspace .list-tools{margin:9px 0;gap:7px}
.admin-workspace .workspace .admin-main-tabs .admin-tab{min-height:34px;font-size:12px;padding:7px 11px}
.admin-workspace .workspace .company-hub-summary{gap:8px;margin:8px 0 13px}
.admin-workspace .workspace .company-hub-summary>div{padding:11px 14px;border-radius:10px}
.admin-workspace .workspace .company-hub-summary strong{font-size:21px}
.admin-workspace .workspace .company-hub-tabs{margin-bottom:10px;padding-bottom:8px}
.admin-workspace .workspace .company-hub-tabs .admin-tab{min-height:35px;padding:7px 12px}
.admin-workspace .workspace .company-kpis{margin-bottom:12px;gap:6px}
.admin-workspace .workspace .company-kpis>div{padding:10px}
.admin-workspace .workspace .company-kpis strong{font-size:19px}
.admin-workspace .workspace .terminal-screen{gap:12px}
.admin-workspace .workspace .terminal-pulse,.admin-workspace .workspace .statistics-kpis{gap:7px}
.admin-workspace .workspace .terminal-pulse>div,.admin-workspace .workspace .statistics-kpis>div{padding:11px 13px;border-radius:10px}
.admin-workspace .workspace .terminal-pulse strong,.admin-workspace .workspace .statistics-kpis strong{font-size:24px}
.admin-workspace .workspace .terminal-list-heading h2{font-size:18px}
.admin-workspace .workspace .term-stats{gap:8px;margin-bottom:13px}
.admin-workspace .workspace .term-stats>div,.admin-workspace .workspace .term-stats>button{padding:10px 13px;border-radius:9px}
.admin-workspace .workspace .term-stats strong{font-size:20px}
.admin-workspace .workspace .term-tabs{margin-bottom:13px}
.admin-workspace .workspace .term-heading{margin-bottom:12px}
.admin-workspace .workspace .section-head{margin:15px 0 9px}

/* Employee action controls expand in the document flow instead of covering other records. */
.admin-workspace .staff-compact-list .company-user-row:has(.staff-actions-expanded:not([hidden])){z-index:auto;background:#f4f8f4}
.admin-workspace .staff-compact-list .staff-actions-expanded{
  grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  gap:7px;width:100%;min-width:0;padding:8px 4px 4px;border-top:1px solid #e6eee7
}
.admin-workspace .staff-compact-list .staff-actions-expanded[hidden]{display:none!important}
.admin-workspace .staff-compact-list .staff-more-trigger{font-size:23px;line-height:1}
.admin-workspace .staff-compact-list .staff-more-trigger[aria-expanded="true"]{background:#e6efe7;border-color:#aec7b7}
.admin-workspace .staff-compact-list .staff-actions-expanded .btn{white-space:normal}

/* Single company menu: category selection precedes the dish list. */
.admin-workspace .company-menu-card{padding:13px 16px!important}
.admin-workspace .company-menu-scope{margin-bottom:10px!important;gap:6px}
.admin-workspace .company-menu-scope>.btn{min-height:31px;padding:6px 10px}
.admin-workspace .bulk-scope-form{display:block;min-width:0}
.admin-workspace .bulk-dish-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 10px}
.admin-workspace .bulk-dish-toolbar h2{margin:0;font-size:16px}
.admin-workspace .bulk-toolbar-actions{gap:6px}
.admin-workspace .bulk-category-nav{display:flex;gap:5px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;
  padding:2px 0 9px;margin-bottom:5px;scrollbar-width:thin}
.admin-workspace .bulk-category-chip{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:34px;
  padding:6px 10px;border:1px solid #dbe6dc;border-radius:8px;background:#fff;color:#53695d;
  font-size:12px;font-weight:710;white-space:nowrap}
.admin-workspace .bulk-category-chip span{font-size:10px;color:inherit;opacity:.75;font-variant-numeric:tabular-nums}
.admin-workspace .bulk-category-chip.selected{background:#1d4b38;color:#fff;border-color:#1d4b38}
.admin-workspace .bulk-category-chip:focus-visible{outline:2px solid #c39a5c;outline-offset:2px}
.admin-workspace .bulk-dish-head{padding:8px 10px}
.admin-workspace .bulk-dish-row{padding:5px 10px;min-height:43px}
.admin-workspace .bulk-dish-row[hidden]{display:none!important}
.admin-workspace .bulk-dish-label{gap:0}
.admin-workspace .bulk-dish-label strong{font-size:12px}
.admin-workspace .bulk-dish-row select,.admin-workspace .bulk-dish-row input{min-height:32px;padding:5px 8px;font-size:12px}
.admin-workspace .bulk-scope-form .admin-sticky-save{margin-top:9px;padding:9px 2px;gap:9px}
.admin-workspace .menu-category-settings{margin:12px 0 0;padding:7px 11px;border-radius:9px}
.admin-workspace .menu-category-settings>summary{font-size:12px}
.admin-workspace .menu-category-settings .category-access-panel{margin:9px 0 0;border-radius:9px}
.admin-workspace .menu-category-settings .category-access-row{padding:7px 10px;gap:10px}
.admin-workspace .menu-category-settings .category-access-name{min-width:100px}
.admin-workspace .menu-category-settings .category-access-name strong{font-size:12px}
.admin-workspace .menu-category-settings .category-access-choice{min-height:30px;padding:5px 9px;font-size:11px;border-radius:7px}
@media(max-width:800px){
 .admin-workspace .workspace{padding:15px 16px 70px}
 .admin-workspace .workspace .btn{min-height:39px}
 .admin-workspace .workspace .btn.small{min-height:35px}
 .admin-workspace .workspace .terminal-pulse>div,.admin-workspace .workspace .statistics-kpis>div{padding:10px}
 .admin-workspace .workspace .terminal-pulse strong,.admin-workspace .workspace .statistics-kpis strong{font-size:21px}
}
@media(max-width:600px){
 .admin-workspace .workspace{padding:12px 10px 80px}
 .admin-workspace .workspace .card{padding:12px}
 .admin-workspace .workspace h1{font-size:22px}
 .admin-workspace .workspace h2{font-size:16px}
 .admin-workspace .workspace .heading-row{margin-bottom:11px}
 .admin-workspace .company-menu-card{padding:10px 11px!important}
 .admin-workspace .bulk-dish-toolbar{align-items:stretch}
 .admin-workspace .bulk-dish-toolbar h2{width:100%}
 .admin-workspace .bulk-category-nav{margin-right:-5px}
 .admin-workspace .bulk-dish-head,.admin-workspace .bulk-dish-row{
   display:grid;grid-template-columns:minmax(85px,1fr) minmax(122px,132px) 70px;gap:5px;
   padding-left:3px;padding-right:3px
 }
 .admin-workspace .bulk-dish-row .bulk-dish-label strong{font-size:11px}
 .admin-workspace .bulk-dish-row select,.admin-workspace .bulk-dish-row input{min-height:34px;font-size:11px;padding:5px 3px}
 .admin-workspace .bulk-dish-toolbar .btn.small{flex:1}
 .admin-workspace .menu-category-settings .category-access-row{flex-direction:row;align-items:center;padding:7px;gap:7px}
 .admin-workspace .menu-category-settings .category-access-name{min-width:70px}
 .admin-workspace .menu-category-settings .category-access-options{justify-content:flex-end;gap:4px}
 .admin-workspace .menu-category-settings .category-access-choice{flex:0 1 auto;min-width:0;padding:5px 7px;font-size:10px}
 .admin-workspace .staff-compact-list .staff-actions-expanded{grid-column:1/-1;grid-row:2;justify-content:flex-start}
}

/* Production dashboard & delivery planner: denser operational rows, not customer cards. */
.admin-workspace .workspace .terminal-order-list{gap:7px}
.admin-workspace .workspace .terminal-order-card{border-radius:10px;box-shadow:0 1px 7px rgba(18,59,36,.06)}
.admin-workspace .workspace .terminal-order-trigger{
  min-height:64px;padding:9px 13px;gap:10px;
  grid-template-columns:67px minmax(150px,1fr) 55px minmax(105px,auto) 17px
}
.admin-workspace .workspace .terminal-time strong{font-size:21px}


.admin-workspace .workspace .terminal-customer>strong{font-size:13px}
.admin-workspace .workspace .terminal-customer>small{font-size:10.5px}
.admin-workspace .workspace .terminal-quantity strong{font-size:19px}
.admin-workspace .workspace .terminal-detail-body{padding:12px;gap:12px}
.admin-workspace .workspace .terminal-detail-facts{gap:7px}
.admin-workspace .workspace .terminal-detail-facts>div{padding:8px 9px;gap:3px}
.admin-workspace .workspace .terminal-employee-orders summary{padding:8px 10px}
.admin-workspace .workspace .terminal-filter{min-height:33px;padding:6px 11px;}
.admin-workspace .workspace .terminal-filter-row{gap:6px}
.admin-workspace .workspace .terminal-actions{gap:6px}
.admin-workspace .workspace .terminal-actions .btn{min-height:36px}
.admin-workspace .workspace .term-tab{font-size:12px;padding:8px 12px}
.admin-workspace .workspace .term-filters{gap:8px;margin-bottom:12px}
.admin-workspace .workspace .term-filter-days button{padding:7px 11px;font-size:11px}
.admin-workspace .workspace .term-filter-fields select,.admin-workspace .workspace .term-filter-fields input{height:35px;font-size:12px;padding:6px 9px}
.admin-workspace .workspace .term-row{min-height:49px;padding:8px 10px;gap:7px}
.admin-workspace .workspace .term-row.active{padding-left:7px}
.admin-workspace .workspace .term-day{margin-bottom:7px;border-radius:9px}
.admin-workspace .workspace .term-day-title{padding:8px 11px}
@media(max-width:1100px){
 .admin-workspace .workspace .terminal-order-trigger{grid-template-columns:64px minmax(120px,1fr) 51px 17px}
 .admin-workspace .workspace .terminal-state{grid-column:2/4;justify-self:start}
}
@media(max-width:740px){
 .admin-workspace .workspace .terminal-order-trigger{
   grid-template-columns:60px minmax(0,1fr) 39px;gap:6px;min-height:72px;padding:8px 9px
 }
 .admin-workspace .workspace .terminal-time strong{font-size:19px}
 .admin-workspace .workspace .terminal-customer>strong{font-size:12px}
 .admin-workspace .workspace .terminal-quantity strong{font-size:17px}
 .admin-workspace .workspace .terminal-quantity{grid-column:3;grid-row:1}
 .admin-workspace .workspace .terminal-state{grid-column:2;grid-row:2}
 .admin-workspace .workspace .terminal-chevron{grid-column:3;grid-row:2}
 .admin-workspace .workspace .term-row{min-height:53px}
 .admin-workspace .workspace .term-tab{min-height:38px}
}

/* Sale categories are explicit administrator tabs; modifiers stay separate. */
.admin-workspace .workspace .catalog-sales-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  overflow:visible;scroll-snap-type:none;white-space:normal;margin-bottom:12px!important;padding:0 0 10px}
.admin-workspace .workspace .catalog-sales-tabs .admin-tab{flex:0 0 auto;min-height:32px;
  padding:6px 11px;font-size:11.5px;scroll-snap-align:none;white-space:nowrap}
.admin-workspace .workspace .catalog-sales-tabs .admin-tab.selected{background:#1d4b38;color:#fff}
.admin-workspace .workspace .admin-list-card .catalog-head{margin-top:6px}
.admin-workspace .workspace .catalog-compact-row{min-height:49px;padding:8px 10px}
@media(max-width:650px){
 /* One compact swipeable category row, never two or three lines of admin tabs. */
 .admin-workspace .workspace .catalog-sales-tabs{
   display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
   overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
   scroll-snap-type:x proximity;scrollbar-width:none;white-space:nowrap;
   gap:7px;padding:2px 2px 10px
 }
 .admin-workspace .workspace .catalog-sales-tabs::-webkit-scrollbar{display:none}
 .admin-workspace .workspace .catalog-sales-tabs .admin-tab{
   flex:0 0 auto;min-height:44px;padding:10px 13px;
   font-size:13px;line-height:1.2;scroll-snap-align:start
 }
 .admin-workspace .workspace .catalog-compact-row{min-height:49px;padding:8px 7px}
 .admin-workspace .workspace .admin-list-card .empty{
   padding:25px 12px 20px;gap:7px
 }
 .admin-workspace .workspace .admin-list-card .empty-icon{font-size:23px}
 .admin-workspace .workspace .admin-list-card .empty strong{font-size:13px;line-height:1.45}
}

/* The logged-in iPhone UI has a persistent bottom navigation; a decorative
   copyright line at the bottom of each app section adds no actionable context. */
@media(max-width:800px){
 .app-layout .footer-note{display:none}
}

/* Shared recipe and ingredient library: scoped mobile-first forms and stacked overlays. */
.recipe-ingredient-list{display:grid;margin-top:16px;gap:5px}
.recipe-ingredient-row{display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line,#ddd);padding:13px 8px;text-align:left;color:inherit;cursor:pointer}
.recipe-ingredient-row span:first-child{display:grid;gap:4px}
.recipe-ingredient-row small{font-size:12px;color:#607169}
.recipe-items{display:grid;gap:9px;margin:15px 0}
.recipe-item-row{display:grid;grid-template-columns:minmax(0,1fr) 105px 66px;gap:9px;align-items:center;padding:10px 8px;background:#f7f9f6;border:1px solid var(--line,#ddd);border-radius:11px}
.recipe-item-row>button{background:transparent;border:0;text-align:left;cursor:pointer;color:#163d34;min-width:0}
.recipe-item-row>button strong,.recipe-item-row>button small{display:block;overflow:hidden;text-overflow:ellipsis}
.recipe-item-row>button small{color:#53665c;font-size:11px;margin-top:4px}
.recipe-item-row label{display:grid;font-size:11px;gap:4px}
.recipe-item-row input[type=number]{min-width:0;width:100%;padding:9px;border:1px solid #bdc8c0;border-radius:8px;font:inherit}
.recipe-item-row .recipe-remove{justify-items:center}
.recipe-add-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(95px,1fr);gap:9px}
.recipe-calculation{border:1px solid #c5d9ca;background:#f0f6f0;padding:14px;border-radius:14px;margin-top:18px}
.recipe-calculation h3{margin-top:0}
.recipe-warning{color:#763f22;font-weight:700}
.ingredient-modal-backdrop{position:fixed;inset:0;z-index:2300;display:grid;place-items:center;padding:14px}
.ingredient-scrim{position:absolute;inset:0;border:0;background:rgba(10,24,19,.7)}
.ingredient-dialog{position:relative;z-index:1;width:min(690px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 20px 80px #0004}
.recipe-nutri-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.ingredient-selected-list{display:grid;gap:8px;border:1px solid #c3d3c8;border-radius:12px;padding:12px}
.ingredient-selected-list[hidden]{display:none}
.ingredient-selected-list label{display:flex;gap:8px;align-items:center;padding:5px 0}
.recipe-usage{background:#f4f6f3;border-radius:12px;padding:12px;margin:12px 0;display:grid;gap:3px;font-size:13px}
.recipe-usage h3{margin:0}
@media(max-width:640px){
 .ingredient-modal-backdrop{padding:0;align-items:end}
 .ingredient-dialog{border-radius:18px 18px 0 0;max-height:93dvh;padding:20px 14px 32px}
 .recipe-item-row{grid-template-columns:minmax(0,1fr) 80px 58px;gap:5px}
 .recipe-nutri-grid,.recipe-add-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* Sammelbesteller: kurze Tagesübersicht statt Termin-/Statistikcockpit. */
.coord-simple{gap:14px}
.coord-today-head{background:#fff;border:1px solid #dde8df;border-radius:15px;padding:15px 18px;display:grid;gap:13px}
.coord-today-head h1{font-size:clamp(20px,2.8vw,24px);margin:0;line-height:1.14}
.coord-today-facts{display:grid;grid-template-columns:1.15fr 1.35fr 1.05fr 1.15fr;gap:8px 16px}
.coord-today-facts>div{display:grid;gap:3px;min-width:0}
.coord-today-facts span,.coord-cash-strip span,.coord-submit-amounts span{font-size:11px;color:#687d70;font-weight:650}
.coord-today-facts strong{font-size:13px;line-height:1.3;color:#1c4233;overflow-wrap:anywhere}
.coord-cash-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f3f7f3;border:1px solid #dfe9df;border-radius:13px;overflow:hidden}
.coord-cash-strip>div{display:grid;gap:5px;padding:12px 17px;min-width:0;border-right:1px solid #dce7df}
.coord-cash-strip>div:last-child{border-right:0}
.coord-cash-strip strong{font-size:clamp(17px,2.4vw,25px);line-height:1.1;letter-spacing:-.035em;color:#184634;white-space:nowrap}
.coord-orders-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:5px 0 9px}
.coord-orders-header h2{font-size:19px}
.coord-orders-header span,.coord-orders-tools .coordinator-results{font-size:12px;color:#64766c}
.coord-orders-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.coord-orders-tools .search-field{flex:1 1 200px;max-width:350px;min-width:0}
.coord-filter-unpaid{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;cursor:pointer}
.coord-filter-unpaid input{accent-color:var(--forest);width:18px;height:18px}
.coord-orders-tools .coordinator-results{margin-left:auto}
.coord-orders-list{box-shadow:none}
.coord-orders-list .table td{padding:12px 14px}
.coord-orders-list .table td.name{font-weight:800}
.coord-orders-list .coord-item-list>div+div{margin-top:7px}
.coord-orders-list .table td:nth-child(3){font-weight:850;color:#153b30}
.coord-orders-list .search-empty{display:none}
.coord-orders-list .search-empty.show{display:block;padding:20px;color:var(--muted);font-size:13px}
.coord-submit-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 17px;border:1px solid #dce7de;background:#fff;border-radius:14px}
.coord-submit-amounts{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.coord-submit-amounts>div{display:grid;gap:3px}
.coord-submit-amounts strong{font-size:18px;color:#184635;font-weight:800}
.coord-submit-bar .btn{white-space:nowrap}
.coord-status{font-size:13px;color:#296e51;font-weight:800}
.coord-simple .coordinator-team-panel{padding:13px 17px}
.coord-simple .coordinator-team-panel summary{font-size:13px;cursor:pointer;font-weight:750}
.coord-simple .coordinator-invite{margin-top:12px}
.order-cart-info.order-cart-image{appearance:none;border:0;padding:0;display:block;cursor:pointer;flex-shrink:0}
.order-cart-info.order-cart-image:focus-visible{outline:3px solid var(--gold,#c79b59);outline-offset:3px}
.order-cart-info.order-cart-image:hover{filter:brightness(.96)}
@media(max-width:770px){
 .coord-today-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .coord-today-head{padding:14px}
 .coord-cash-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .coord-cash-strip>div{padding:12px 14px}
 .coord-cash-strip>div:nth-child(2){border-right:0}
 .coord-cash-strip>div:nth-child(-n+2){border-bottom:1px solid #dce7df}
}
@media(max-width:650px){
 .coord-simple{gap:12px}
 .coord-orders-tools .search-field{flex:1 1 100%;max-width:none}
 .coord-orders-tools .coordinator-results{display:none}
 .coord-orders-list .table-wrap{overflow:visible}
 .coord-orders-list table,.coord-orders-list tbody{display:block;width:100%}
 .coord-orders-list thead{display:none}
 .coord-orders-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:13px 14px;border-bottom:1px solid #e4ebe6}
 .coord-orders-list tbody tr:last-child{border-bottom:0}
 .coord-orders-list .table td{display:block;padding:3px 0;border:0;min-width:0}
 .coord-orders-list tbody td:first-child{grid-column:1 / -1;font-size:14px}
 .coord-orders-list tbody td:nth-child(2){grid-column:1;grid-row:2;overflow-wrap:anywhere}
 .coord-orders-list tbody td:nth-child(3){grid-column:2;grid-row:2;text-align:right;align-self:center;font-size:15px}
 .coord-orders-list tbody td:nth-child(4){grid-column:1;grid-row:3}
 .coord-orders-list tbody td:nth-child(5){grid-column:2;grid-row:3;text-align:right}
 .coord-submit-bar{align-items:stretch;flex-direction:column}
 .coord-submit-amounts{justify-content:space-between;gap:11px}
 .coord-submit-bar .btn{width:100%}
}
@media(max-width:360px){
 .coord-today-facts strong{font-size:12px}
 .coord-cash-strip strong{font-size:18px}
 .coord-submit-amounts strong{font-size:16px}
}

/* Administration: creation actions share one calm container; the sample-data
   utility is secondary and must not compete with normal company operations. */
.admin-workspace .workspace .company-creation-panel{
  padding:0!important;overflow:hidden;border:1px solid #dfe8df;
  border-radius:13px;box-shadow:none;margin-top:14px;
}
.admin-workspace .workspace .company-creation-panel .company-create-item{
  margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;
}
.admin-workspace .workspace .company-creation-panel .company-create-item+ .company-create-item{
  border-top:1px solid #e3eae3;
}
.admin-workspace .workspace .company-creation-panel .company-create-item>summary{
  display:flex;align-items:center;min-height:48px;padding:13px 16px;
  color:#234d3b;font-size:14px;font-weight:730;line-height:1.35;
}
.admin-workspace .workspace .company-creation-panel .company-create-item[open]{
  background:#fbfcfa;
}
.admin-workspace .workspace .company-creation-panel .company-create-item .form{
  padding:0 16px 18px;margin:0;max-width:580px;
}
.admin-workspace .workspace .company-sample-link{
  margin:7px 0 12px;padding:0 6px;border:0;border-radius:9px;
  background:transparent;box-shadow:none;
}
.admin-workspace .workspace .company-sample-link>summary{
  display:flex;align-items:center;min-height:44px;
  font-size:12px;font-weight:680;color:#5d7163;
}
.admin-workspace .workspace .company-sample-link[open]{
  background:#fff;border:1px solid #dfe8df;padding:8px 14px;
}
/* Company drilldown: use a readable underline rail instead of five separate
   outlined tab cards. This keeps actions distinct from navigation. */
.admin-workspace .workspace .company-detail-tabs{
  display:flex;align-items:stretch;flex-wrap:nowrap;
  gap:5px;overflow-x:auto;overflow-y:hidden;
  margin:0 0 15px!important;padding:0 0 2px!important;
  border-bottom:1px solid #dfe8df;box-shadow:none;
  -webkit-overflow-scrolling:touch;scrollbar-width:none
}
.admin-workspace .workspace .company-detail-tabs::-webkit-scrollbar{display:none}
.admin-workspace .workspace .company-detail-tabs .admin-tab{
  flex:0 0 auto;min-height:44px;padding:10px 13px;
  font-size:13px;line-height:1.3;font-weight:720;
  color:#5e7265;border:0;border-bottom:3px solid transparent;
  border-radius:0;background:transparent;box-shadow:none;
}
.admin-workspace .workspace .company-detail-tabs .admin-tab.selected{
  color:#1d513a;border-bottom-color:#256449;
  background:transparent;box-shadow:none
}
.admin-workspace .workspace .company-detail-tabs .admin-tab:focus-visible{
  outline:2px solid #b78c55;outline-offset:-2px
}
/* Desktop should use the same restrained information hierarchy as mobile:
   metric groups share a single outline and divider, rather than four cards. */
@media(min-width:801px){
  .admin-workspace .workspace :is(.tiny,.small,small){font-size:12px;line-height:1.45}
  .admin-workspace .workspace .btn.small{min-height:38px;font-size:12px}
  .admin-workspace .workspace .search-field input{font-size:14px}
  .admin-workspace .workspace :is(.company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis){
    display:grid;gap:0;overflow:hidden;
    background:#fff;border:1px solid #dde5dd;border-radius:14px;box-shadow:none
  }
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats){grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-workspace .workspace :is(.company-kpis,.terminal-pulse,.statistics-kpis){
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .admin-workspace .workspace :is(.company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis)>:is(div,button){
    display:grid;align-content:start;justify-content:stretch;gap:5px;
    min-width:0;padding:15px 16px;margin:0;border:0;border-radius:0;
    box-shadow:none;background:transparent;text-align:left
  }
  .admin-workspace .workspace :is(.company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis)>:is(div,button):not(:last-child){
    border-right:1px solid #e3eae3
  }
  .admin-workspace .workspace .term-stats>.term-stat-action{
    background:#f1f6f1;color:#1d5339;cursor:pointer
  }
  .admin-workspace .workspace .term-stats>.term-stat-action:focus-visible{
    outline:3px solid #ad8045;outline-offset:-3px
  }
}
/* Readability + layout audit: the admin tools are functional work surfaces,
   not a dashboard of separate decorative metric cards. Scoped to the signed-in
   mobile workspace, never the public catering/ordering landing page. */
.admin-workspace .workspace .statistics-kpis[data-has-orders="false"]{display:none}
@media(max-width:800px){
  .admin-workspace .workspace{font-size:14px;line-height:1.48}
  .admin-workspace .workspace :is(.tiny,small,.small){font-size:12px;line-height:1.4}
  .admin-workspace .workspace .field{font-size:13px;line-height:1.4}
  .admin-workspace .workspace :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    min-height:44px;font-size:16px;
  }
  .admin-workspace .workspace .search-field{min-height:44px}
  .admin-workspace .workspace .search-field input{font-size:16px;min-height:42px}
  .admin-workspace .workspace .btn,
  .admin-workspace .workspace .btn.small,
  .admin-workspace .workspace .admin-main-tabs .admin-tab,
  .admin-workspace .workspace .company-detail-tabs .admin-tab,
  .admin-workspace .workspace .company-hub-tabs .admin-tab,
  .admin-workspace .workspace .term-tab,
  .admin-workspace .workspace .term-filter-days button,
  .admin-workspace .workspace .terminal-filter,
  .admin-workspace .workspace .term-stat-action,
  .admin-workspace .workspace .admin-list-pager-controls button{
    min-height:44px;font-size:13px;line-height:1.25;
  }
  .admin-workspace .workspace .btn.small{padding:10px 12px}
  .admin-workspace .workspace .term-filter-days button{padding:9px 11px}
  .admin-workspace .workspace .term-filter-fields :is(select,input){height:auto;min-height:44px;font-size:16px}
  .admin-workspace .workspace .term-tabs,.admin-workspace .workspace .company-hub-tabs{
    gap:5px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  }
  .admin-workspace .workspace .term-tabs>*,.admin-workspace .workspace .company-hub-tabs>*{flex-shrink:0}
  .admin-workspace .workspace .catalog-sales-tabs .admin-tab{min-height:44px;font-size:13px}
  .admin-workspace .workspace .terminal-time small,
  .admin-workspace .workspace .terminal-customer>small,
  .admin-workspace .workspace .terminal-quantity small{
    font-size:12px;line-height:1.35;color:#546b5d;
  }
  .admin-workspace .workspace .terminal-customer>strong{font-size:14px;line-height:1.34}
  .admin-workspace .workspace .term-row-main>span,.admin-workspace .workspace .term-row-main>small{
    font-size:12px;line-height:1.36
  }
  .admin-workspace .workspace .term-row-main strong{font-size:14px}
  .admin-workspace .workspace .company-hub-summary span,
  .admin-workspace .workspace .company-kpis span,
  .admin-workspace .workspace .term-stats span,
  .admin-workspace .workspace .terminal-pulse span,
  .admin-workspace .workspace .statistics-kpis span{
    color:#52685b;font-size:12px;line-height:1.36;font-weight:670;
  }

  /* One segmented summary panel replaces separate raised metric cards. */
  .admin-workspace .workspace :is(.company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis){
    display:grid;gap:0;background:#fff;border:1px solid #dde5dd;
    border-radius:14px;overflow:hidden;box-shadow:none;
  }
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats){grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-workspace .workspace :is(.company-kpis,.terminal-pulse,.statistics-kpis){
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .admin-workspace .workspace :is(.company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis)>:is(div,button){
    display:grid;align-content:start;justify-content:stretch;gap:5px;min-width:0;
    margin:0;padding:13px 12px;border:0;border-radius:0;background:transparent;
    box-shadow:none;text-align:left;
  }
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats)>:is(div,button):not(:last-child){
    border-right:1px solid #e3eae3;
  }
  .admin-workspace .workspace :is(.company-kpis,.terminal-pulse,.statistics-kpis)>:is(div,button):nth-child(odd){
    border-right:1px solid #e3eae3;
  }
  .admin-workspace .workspace :is(.company-kpis,.terminal-pulse,.statistics-kpis)>:is(div,button):nth-child(-n+2){
    border-bottom:1px solid #e3eae3;
  }
  .admin-workspace .workspace .term-stats>.term-stat-action{
    background:#f1f6f1;color:#1d5339;cursor:pointer;
  }
  .admin-workspace .workspace .term-stats>.term-stat-action:focus-visible{
    outline:3px solid #ad8045;outline-offset:-3px
  }
  .admin-workspace .workspace .statistics-no-data{
    border:0;box-shadow:none;background:transparent;padding:16px 4px;
  }
  .admin-workspace .workspace .statistics-no-data p{font-size:14px;line-height:1.55}
  /* Firm actions use two text lines beside one button, not three tall rows. */
  .admin-workspace .workspace .company-overview-rows>div{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title action" "detail action";
    gap:3px 12px;align-items:center;padding:11px 0;
  }
  .admin-workspace .workspace .company-overview-rows>div>strong{
    grid-area:title;min-width:0;font-size:14px;line-height:1.3
  }
  .admin-workspace .workspace .company-overview-rows>div>span{
    grid-area:detail;min-width:0;font-size:12px;line-height:1.4;color:#627567
  }
  .admin-workspace .workspace .company-overview-rows>div>.btn{
    grid-area:action;min-height:44px;align-self:center
  }
  .admin-workspace .workspace .admin-list-card{box-shadow:none;border-color:#e1e8e1}
  .admin-workspace .workspace :is(.catalog-compact-row,.company-compact-row){min-height:54px}
  .admin-workspace .workspace :is(.catalog-main-cell strong,.company-name strong){font-size:14px;line-height:1.35}
  .admin-workspace .workspace :is(.catalog-main-cell .tiny,.company-name .tiny){font-size:12px}
  .admin-workspace .workspace .company-hub-summary strong{font-size:22px}
  .admin-workspace .workspace :is(.terminal-pulse,.statistics-kpis,.company-kpis) strong{
    font-size:23px;line-height:1.1;
  }
}
/* Pricing and offer controls need their own space on an iPhone:
   never clip “Nicht anbieten” inside a squeezed three-column table. */
@media(max-width:650px){
  .admin-workspace .workspace .bulk-dish-head{display:none}
  .admin-workspace .workspace .bulk-dish-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(94px,31%);
    grid-template-rows:auto auto;gap:6px 9px;
    align-items:center;min-height:0;padding:11px 7px 13px;
  }
  .admin-workspace .workspace .bulk-dish-row .bulk-dish-label{
    grid-column:1/-1;grid-row:1;min-width:0;
  }
  .admin-workspace .workspace .bulk-dish-row .bulk-dish-label strong{
    font-size:14px;line-height:1.4;white-space:normal;
  }
  .admin-workspace .workspace .bulk-dish-row .bulk-mode{
    grid-column:1;grid-row:2;min-width:0;width:100%;
    font-size:16px;min-height:44px;
  }
  .admin-workspace .workspace .bulk-dish-row .bulk-price{
    grid-column:2;grid-row:2;min-width:0;width:100%;
    font-size:16px;min-height:44px;text-align:right;
  }
  .admin-workspace .workspace .bulk-category-chip{
    min-height:44px;padding:9px 12px;font-size:13px;
  }
}
@media(max-width:420px){
  .admin-workspace .workspace{padding-inline:12px}
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats)>:is(div,button){padding:12px 9px}
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats) strong{font-size:21px}
  .admin-workspace .workspace :is(.company-hub-summary,.term-stats) span{font-size:12px}
  .admin-workspace .workspace :is(.company-kpis,.terminal-pulse,.statistics-kpis)>:is(div,button){padding:12px}
}
@media(prefers-reduced-motion:reduce){
  .admin-workspace .workspace *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Stress-tested content: preserve long real company names in lists instead of
   hiding the identifying suffix; narrow screens use labeled metrics, not five
   unreadable columns. */
.admin-workspace .workspace :is(.company-name strong,.terminal-customer>strong,
  .terminal-customer>small,.staff-person-button strong,.staff-person-button small,
  .term-schedule-main strong,.term-schedule-main span,
  .company-overview-rows>div>strong,.company-overview-rows>div>span,
  .member-dialog-heading h2){
  overflow-wrap:anywhere;hyphens:auto;
}
.admin-workspace .workspace .company-compact-row .company-name{
  min-width:0;white-space:normal
}
.admin-workspace .workspace .company-compact-row .company-name strong{
  white-space:normal;overflow:visible;text-overflow:clip;line-height:1.42
}

.admin-workspace .workspace .terminal-customer>strong,
.admin-workspace .workspace .terminal-customer>small{
  white-space:normal;text-overflow:clip;line-height:1.4
}
.admin-workspace .workspace .staff-person-button{min-width:0}
.admin-workspace .workspace .staff-person-button strong,
.admin-workspace .workspace .staff-person-button small{
  max-width:100%;white-space:normal;line-height:1.35
}
.admin-workspace .workspace .member-dialog-heading h2{white-space:normal}
@media(max-width:560px){
  .admin-workspace .workspace .company-head{display:none}
  .admin-workspace .workspace .company-compact-row{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto auto auto;gap:7px 10px;
    align-items:start;min-width:0;min-height:0;padding:13px 10px;
    text-align:left;font-size:13px;
  }
  .admin-workspace .workspace .company-compact-row .company-name{
    grid-column:1/-1;min-width:0;display:grid;gap:2px;
  }
  .admin-workspace .workspace .company-compact-row .company-name strong{
    font-size:15px;line-height:1.38;
  }
  .admin-workspace .workspace .company-compact-row .company-name .tiny{
    font-size:12px;line-height:1.4
  }
  .admin-workspace .workspace .company-compact-row>.num{
    min-width:0;font-size:13px;line-height:1.4;
    text-align:left;white-space:normal;overflow-wrap:anywhere;
  }
  .admin-workspace .workspace .company-compact-row>.num:before{
    display:inline;white-space:nowrap;color:#607567;font-size:12px;font-weight:550
  }
  .admin-workspace .workspace .company-compact-row>.num:nth-child(2):before{content:"Personen · "}
  .admin-workspace .workspace .company-compact-row>.num:nth-child(3):before{content:"Gruppen · "}
  .admin-workspace .workspace .company-compact-row>.num:nth-child(4):before{content:"Bestellungen · "}
  .admin-workspace .workspace .company-compact-row>strong.num:before{content:"Wert · "}
  .admin-workspace .workspace .terminal-customer>strong{font-size:14px;line-height:1.38}
  .admin-workspace .workspace .terminal-customer>small{font-size:12px;line-height:1.45}
  .admin-workspace .workspace .member-dialog{
    max-width:100%;overflow-x:hidden
  }
}

/* Live-Sammelübersicht im Admin-Auftragsterminal */
.terminal-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.terminal-payment-inline{font-size:12px;font-weight:750;color:#4b6655;line-height:1.4;overflow-wrap:anywhere}
.terminal-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.terminal-payment-summary>span{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;min-width:0;border:1px solid #dfe8de;border-radius:11px;background:#fff;padding:11px 13px;font-size:12px;color:#586e60}
.terminal-payment-summary strong{color:#184633;font-size:18px;line-height:1.2;font-variant-numeric:tabular-nums}
.terminal-draft-note{margin:0;padding:12px 14px;border:1px solid #eadfc8;background:#fffaf1;color:#745229;border-radius:11px;font-size:13px;line-height:1.55}
.terminal-sorted-dishes{display:grid;gap:11px}
.terminal-dish-group{overflow:hidden;border:1px solid #dfe8de;border-radius:11px;background:#fff}
.terminal-dish-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#eff5ee;padding:10px 12px;font-size:13px;color:#174633}
.terminal-dish-heading>span{font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap}
.terminal-dish-list{display:grid}
.terminal-dish-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 12px;font-size:13px;line-height:1.45;min-width:0}
.terminal-dish-row+.terminal-dish-row{border-top:1px solid #edf0eb}
.terminal-dish-row>div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.terminal-dish-row>div>strong{color:#263d30}
.terminal-dish-variant{font-size:12px;color:#4f6659}
.terminal-dish-people{font-size:12px;color:#748178}
.terminal-dish-qty{font-variant-numeric:tabular-nums;white-space:nowrap;color:#194c38}
.terminal-employee-name{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.terminal-employee-orders summary>strong{flex-shrink:0;font-variant-numeric:tabular-nums}
.terminal-payment-pill{display:inline-block;justify-self:start;font-size:11px;font-weight:750;border-radius:7px;padding:3px 6px}
.terminal-payment-pill.paid{background:#e6f4ea;color:#23623d}
.terminal-payment-pill.unpaid{background:#fff1e2;color:#9c5827}
@media(max-width:640px){
  .terminal-heading-actions{justify-content:flex-start}
  .terminal-heading-actions .btn{min-height:40px}
  .terminal-payment-summary{grid-template-columns:1fr}
  .terminal-payment-summary>span{padding:9px 11px}
  .terminal-payment-summary strong{font-size:16px}
  .terminal-dish-row{padding:10px;font-size:13px}
  .terminal-employee-orders summary{font-size:12px;align-items:center}
  .terminal-payment-inline{font-size:12px}
}

/* NAHIC production terminal: compact, glove-friendly mobile workflow. */
.terminal-workflow-actions{display:flex;justify-content:flex-end;padding:3px 11px 10px;border-top:1px solid var(--line)}
.terminal-workflow-actions .btn{font-size:12px;min-height:36px;padding:7px 11px}
.production-screen{max-width:1120px;margin:0 auto;padding-bottom:26px}
.production-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.production-title-row h1{font-size:21px;line-height:1.2;margin:0;letter-spacing:-.035em}
.production-title-row .btn{font-size:12px;padding:8px 10px;white-space:nowrap;min-height:36px}
.production-warning{color:#8d2d22;background:#fff3ef;padding:10px 12px;border-radius:10px;font-size:12px}
.production-summary{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:10px;background:var(--forest);color:#fff;border-radius:15px;padding:13px 15px;margin-bottom:12px}
.production-summary>div:not(.production-progress){display:flex;flex-direction:column;gap:1px;}
.production-summary strong{font-size:22px;font-weight:720;line-height:1.2;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.production-summary div>span{opacity:.78}
.production-progress{grid-column:1/-1;background:rgba(255,255,255,.2);height:5px;border-radius:10px;overflow:hidden}
.production-progress span{display:block;height:100%;background:#d9b27e;border-radius:10px;transition:width .15s ease}
.production-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;margin:0 0 11px}
.production-switch,.production-statuses{display:flex;gap:3px;padding:3px;border-radius:10px;background:#e9eee9}
.production-switch button,.production-statuses button{border:0;border-radius:8px;background:transparent;color:#52625b;min-height:35px;padding:7px 11px;font-size:12px;font-weight:620;line-height:1.1;white-space:nowrap}
.production-switch button.selected,.production-statuses button.selected{background:white;color:var(--forest);box-shadow:0 1px 5px rgba(0,0,0,.09)}
.production-group{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:9px;box-shadow:0 2px 10px rgba(16,49,43,.025)}
.production-group-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:#f1f5f1;border-bottom:1px solid var(--line)}
.production-group-head strong{font-weight:720;min-width:0;overflow-wrap:anywhere}
.production-group-head span{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.production-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 11px;border-bottom:1px solid #edf0ed}
.production-entry:last-child{border-bottom:0}
.production-entry.is-done{background:#f6faf6}
.production-entry-content{min-width:0}
.production-entry-dish{display:block;font-size:13px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.production-entry-meta{display:flex;flex-wrap:wrap;gap:2px 8px;align-items:center;font-size:11.5px;line-height:1.4;color:#52615b;margin-top:2px}
.production-entry-meta strong{font-size:12px;color:#253d34}
.production-entry-meta span:not(:last-child)::after{content:" ·";color:#90a09a}
.production-entry-extra,.production-entry-note{font-size:11.5px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}
.production-entry-extra{color:#9a4d27;font-weight:570}
.production-entry-note{color:#8b3e31}
.production-entry-time{display:block;color:#77837c;font-size:10.5px;margin-top:3px}
.production-entry-controls{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.production-entry-count{font-size:11px;color:#59665f;font-weight:680;font-variant-numeric:tabular-nums}
.production-stepper{display:flex;gap:5px}
.production-stepper button{border:1px solid #d7e1da;background:#f8faf7;border-radius:9px;width:40px;height:39px;font-size:19px;line-height:1;font-weight:600;color:#46574b;touch-action:manipulation}
.production-stepper button.production-check{background:#1d7053;color:white;border-color:#1d7053}
.production-stepper button:disabled{opacity:.3}
.production-stepper button:focus-visible,.production-switch button:focus-visible,.production-statuses button:focus-visible{outline:3px solid #d0a66d;outline-offset:2px}
.production-empty{background:#fff;border:1px dashed #cad7ce;border-radius:12px;text-align:center;padding:28px 14px}
.production-empty strong{font-size:14px}
.production-empty p{font-size:12px;color:var(--muted);margin:5px 0 0}
.production-hint{font-size:11px;color:var(--muted);margin:12px 2px}
@media(max-width:530px){
 .production-title-row h1{font-size:19px}
 
 .production-summary strong{font-size:19px}
 .production-toolbar{gap:6px}
 .production-switch,.production-statuses{width:100%;justify-content:space-between}
 .production-switch button{flex:1}
 .production-statuses button{flex:1}
 .production-entry{gap:6px;padding:8px 9px}
 .production-entry-meta{font-size:11px;gap:1px 6px}
 .production-stepper button{width:38px;height:38px}
}

/* Production terminal quality pass: predictable states, high information density. */
.production-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
.production-summary>div:not(.production-progress){min-width:0}
.production-summary strong{font-size:20px}
.production-summary div>span{font-size:11px;opacity:.9}
.production-statuses{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.production-statuses button{flex-shrink:0;white-space:nowrap;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px}
.production-filter-count{display:inline-block;font-size:10px;font-weight:800;line-height:1.5;min-width:16px;text-align:center;border-radius:6px;background:#dae4dc;color:#274d36;padding:1px 4px}
.production-statuses .selected .production-filter-count{background:#dcece0;color:#184a32}
.production-group-head{background:#e8f0e9;border-bottom-color:#d3e2d6}
.production-group-head strong{font-size:13px;color:#1b4030}
.production-group-head span{font-size:11px;font-weight:710;color:#385545}
.production-entry-head{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}
.production-entry-head .production-entry-dish{flex:0 1 auto;min-width:0}
.production-entry-state{flex-shrink:0;display:inline-flex;align-items:center;border:1px solid #cbd9d0;background:#f1f5f1;color:#415649;border-radius:6px;font-size:10px;font-weight:730;line-height:1.2;padding:2px 5px;white-space:nowrap}
.production-entry.phase-working{background:#fffaf1;box-shadow:inset 3px 0 #b2823a}
.production-entry.phase-working .production-entry-state{color:#704a1b;border-color:#e2c696;background:#faeccf}
.production-entry.phase-done{background:#f0f7f1;box-shadow:inset 3px 0 #428365}
.production-entry.phase-done .production-entry-state{color:#1b5c3c;border-color:#b1d6bf;background:#e1f1e6}
.production-entry-meta{color:#415a4d}
.production-entry-time{color:#496152;font-size:11px;font-weight:600}
.production-entry-count{color:#344e3d}
.production-stepper button{width:43px;height:44px}
.production-stepper button:disabled{opacity:.35}
.production-hint{color:#536a5c;line-height:1.5}

/* Termine: stronger date/quantity hierarchy and sufficient contrast on light cards. */
.admin-workspace .workspace .term-day{border-color:#ccdcd0}
.admin-workspace .workspace .term-day-title{background:#e7f0e8;border-bottom:1px solid #cadccd;padding:10px 12px;gap:8px;flex-wrap:wrap}
.admin-workspace .workspace .term-day-title strong{color:#173e2c;font-size:14px;line-height:1.4;font-weight:830;overflow-wrap:anywhere}
.admin-workspace .workspace .term-day-title .term-day-count{background:#fff;color:#245138;border:1px solid #b9d0be;padding:3px 8px;border-radius:7px;font-size:11px;font-weight:790;white-space:nowrap}
.admin-workspace .workspace .term-day.is-today .term-day-title{background:#d8ebde;border-left:3px solid #2e7d52;padding-left:9px}
.admin-workspace .workspace .term-time{color:#154e30;font-weight:850}
.admin-workspace .workspace .term-row-main>span{color:#405b49}
.admin-workspace .workspace .term-row-main>small{color:#4e6857}
.admin-workspace .workspace .term-filter-fields label{color:#365642}
.admin-workspace .workspace .term-schedule-main span{color:#405b49}
.admin-workspace .workspace .term-single-editor input[type="datetime-local"],
.admin-workspace .workspace .term-editor input[type="date"]{color:#183f2d;background:#fff;border-color:#9bb9a5;font-weight:640;opacity:1;color-scheme:light}
.admin-workspace .workspace .term-single-editor input[type="datetime-local"]:focus-visible,
.admin-workspace .workspace .term-editor input[type="date"]:focus-visible{outline:2px solid #377858;outline-offset:2px}
@media(max-width:530px){
 .production-summary{padding:11px 12px}
 .production-summary strong{font-size:17px}
 .production-summary div>span{font-size:10.5px}
 .production-statuses{width:100%;justify-content:flex-start;gap:3px}
 .production-statuses button{min-height:40px;flex:0 0 auto;font-size:11px;padding:7px 9px}
 .production-entry-meta{font-size:11px}
 .production-stepper button{width:44px;min-width:44px;height:44px}
 .admin-workspace .workspace .term-day-title{padding:10px}
 .admin-workspace .workspace .term-day.is-today .term-day-title{padding-left:7px}
}

/* Produktionsliste: fixe Reihenfolge, Mengen auf einen Blick, fertig ≠ verschwunden. */
.production-dish-label{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.production-dish-total{background:#1e5a3d;color:#fff;display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:4px 7px;border-radius:8px;font-size:14px;line-height:1.15;font-weight:850;font-variant-numeric:tabular-nums}
.production-item-total{color:#175436;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.production-entry.phase-done{background:#eef1ee;box-shadow:inset 3px 0 #a4ada5}
.production-entry.phase-done .production-entry-dish,
.production-entry.phase-done .production-entry-meta strong{color:#657268;text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:#798b7e}
.production-entry.phase-done .production-entry-meta span,
.production-entry.phase-done .production-entry-time,
.production-entry.phase-done .production-entry-extra,
.production-entry.phase-done .production-entry-note{color:#647369}
.production-entry.phase-done .production-item-total{color:#657268}
.production-entry.phase-done .production-entry-state{color:#3d5948;background:#e0e8e1;border-color:#bacbbd}
.production-entry.phase-done .production-entry-count{color:#405747}
.production-statuses{display:flex;align-items:center;justify-content:flex-start;gap:6px;overflow:visible;flex-wrap:wrap;max-width:100%;background:transparent;padding:0}
.production-stage{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#e9eee9;border:1px solid #d5e1d7;color:#3c5b46;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:670;line-height:1.2}
.production-stage strong{background:#fff;color:#164c32;border-radius:5px;min-width:18px;text-align:center;font-size:11px;padding:2px 4px;font-variant-numeric:tabular-nums}
.production-entry{scroll-margin-top:78px}
@media(max-width:530px){
 .production-group-head{gap:7px}
 .production-dish-label{font-size:13px}
 .production-dish-total{font-size:13px;min-width:33px}
 .production-stage{font-size:10.5px;padding:6px 7px}
 .production-statuses{justify-content:flex-start;gap:5px}
 .production-entry.phase-done .production-entry-content{opacity:1}
}

/* Gleich sortierte Küchenpositionen in jeder Firma, inklusive fester Pizza-Reihenfolge. */
.production-company-dish+.production-company-dish{border-top:2px solid #d9e4da}
.production-company-dish-head{
  display:flex;align-items:center;justify-content:space-between;gap:7px 12px;flex-wrap:wrap;
  background:#f0f5f1;border-bottom:1px solid #dbe6de;padding:8px 11px
}
.production-company-dish-head strong{
  font-size:13px;line-height:1.4;color:#234734;font-weight:780;
  display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere
}
.production-company-dish-total{
  background:#e0ede3;border:1px solid #c0d8c5;color:#1d5437;
  border-radius:6px;min-width:28px;text-align:center;padding:2px 5px;
  font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:850
}
.production-company-dish-progress{
  font-size:11px;line-height:1.35;font-weight:690;color:#476251;
  font-variant-numeric:tabular-nums;white-space:nowrap
}
@media(max-width:530px){
  .production-company-dish-head{padding:8px 9px;gap:4px 8px}
  .production-company-dish-head strong{font-size:12.5px}
  .production-company-dish-progress{font-size:10.5px}
}

/* NAHIC administration: coherent, higher-contrast surface hierarchy.
   Only the signed-in administrator shell is affected. The public website
   and employee ordering pages keep their current visual identity. */
.admin-workspace{
  --admin-canvas:#dfe7e2;
  --admin-paper:#ffffff;
  --admin-outline:#b9cbbf;
  --admin-soft:#eaf2ec;
  --admin-heading:#193d2b;
  --admin-secondary:#415d4e;
  --line:#c7d5ca;
  --muted:#425d4d;
  --shadow:0 3px 13px rgba(17,47,32,.095);
  background:var(--admin-canvas);
  color:#21382c;
}
.admin-workspace .main{
  background:var(--admin-canvas);
  min-height:100vh;
}
.admin-workspace .topbar{
  background:#fff;
  border-bottom:1px solid var(--admin-outline);
  box-shadow:0 1px 9px rgba(16,46,31,.07);
}
.admin-workspace .workspace :is(h1,h2,h3){color:var(--admin-heading)}
.admin-workspace .workspace :is(.muted,.subtle,.page-desc,.help,.footer-note){
  color:var(--admin-secondary);
}
.admin-workspace .workspace .card:not(.flat){
  background:var(--admin-paper);
  border-color:var(--admin-outline);
  box-shadow:var(--shadow);
}
.admin-workspace .workspace :is(
  .terminal-order-card,.term-day,.term-schedule-row,.production-group,.admin-list-card
){
  background:var(--admin-paper);
  border-color:var(--admin-outline);
  box-shadow:var(--shadow);
}
.admin-workspace .workspace .terminal-order-card.requires-action{
  border-left-color:#b16a22;
}
.admin-workspace .workspace :is(
  .company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis
){
  border-color:var(--admin-outline);
  box-shadow:0 2px 9px rgba(17,47,32,.055);
}
.admin-workspace .workspace :is(
  .company-hub-summary,.company-kpis,.terminal-pulse,.term-stats,.statistics-kpis
) > :is(div,button){
  color:var(--admin-heading);
}
.admin-workspace .workspace :is(
  .terminal-detail-facts>div,.term-detail-info>div,.term-detail-facts>div,
  .company-overview-rows>div,.recipe-item-row
){
  background:#eef4ef;
  border-color:#cedbd0;
}
.admin-workspace .workspace :is(
  .catalog-head,.company-head,.company-users-head,.bulk-dish-head,
  .term-day-title,.terminal-dish-heading
){
  background:#dce9df;
  color:var(--admin-heading);
}
.admin-workspace .workspace :is(
  .term-day-title,.terminal-dish-heading,.production-group-head,
  .production-company-dish-head
){
  border-bottom-color:#b8cfc0;
}
.admin-workspace .workspace .term-day.is-today .term-day-title{
  background:#cfe5d6;
  border-left-color:#216d49;
}
.admin-workspace .workspace .production-group-head{
  background:#dce9df;
}
.admin-workspace .workspace .production-company-dish-head{
  background:#eaf2ec;
}
.admin-workspace .workspace :is(
  .production-group-head strong,.production-group-head span,
  .production-company-dish-head strong,.production-company-dish-progress,
  .terminal-dish-people,.terminal-batch,.terminal-customer>small,
  .term-row-main>span,.term-row-main>small,.term-schedule-main span
){
  color:#365441;
}
.admin-workspace .workspace :is(
  .production-entry,.term-row,.catalog-compact-row,.company-compact-row,.company-user-row
){
  border-bottom-color:#d3ded5;
}
.admin-workspace .workspace .production-entry.phase-open{background:#fff}
.admin-workspace .workspace .production-entry.phase-working{
  background:#fff6e7;
  box-shadow:inset 3px 0 #bd8439;
}
.admin-workspace .workspace .production-entry.phase-done{
  background:#e8ede9;
  box-shadow:inset 3px 0 #8ba395;
}
.admin-workspace .workspace .production-entry.phase-done :is(
  .production-entry-dish,.production-entry-meta strong,.production-item-total
){
  color:#52655a;
}
.admin-workspace .workspace .production-entry.phase-done :is(
  .production-entry-meta span,.production-entry-time,
  .production-entry-extra,.production-entry-note
){
  color:#52665b;
}
.admin-workspace .workspace :is(.production-statuses .production-stage,.production-company-dish-total){
  background:#e4eee6;
  border-color:#b8cbbd;
  color:#284d36;
}
.admin-workspace .workspace :is(
  .btn.secondary,.admin-tab:not(.selected),.terminal-filter:not(.selected),
  .term-filter-days button:not(.selected),.production-title-row .btn.secondary
){
  background:#fff;
  border-color:#aebfb2;
  color:#254d37;
}
.admin-workspace .workspace .term-tab:not(.selected){
  color:#355b44;
}
.admin-workspace .workspace .term-tab.selected{
  color:#154a32;
  background:#fff;
  box-shadow:inset 0 -3px #24764e,0 1px 5px rgba(17,47,32,.055);
}
.admin-workspace .workspace :is(
  .field input,.field select,.field textarea,
  .term-filter-fields input,.term-filter-fields select,
  .search-field input
){
  border-color:#a8bdae;
  background:#fff;
  color:#193e2c;
}
.admin-workspace .workspace :is(
  .field label,.term-filter-fields label,.people-filter-label
){
  color:#375342;
}
.admin-workspace .workspace :is(
  .field input,.field select,.field textarea,
  .term-filter-fields input,.term-filter-fields select,.search-field input
):focus-visible{
  outline:2px solid #257350;
  outline-offset:1px;
  border-color:#257350;
}
.admin-workspace .workspace .terminal-order-trigger:hover,
.admin-workspace .workspace .terminal-order-trigger[aria-expanded="true"]{
  background:#eaf3ec;
}
.admin-workspace .workspace .terminal-detail{
  background:#f2f7f2;
  border-top-color:#bdcebf;
}
.admin-workspace .workspace .term-row.active{
  background:#e4f1e7;
  border-left-color:#27754f;
}
.admin-workspace .workspace .term-row-main strong{
  color:#203c2d;
}
.admin-workspace .workspace .production-empty{
  background:#fff;
  border:1px dashed #a7bcac;
}
@media(max-width:800px){
  .admin-workspace .mobile-nav{
    background:#fff;
    border-top:1px solid #aebfb2;
    box-shadow:0 -4px 18px rgba(16,46,31,.1);
  }
  .admin-workspace .mobile-nav button:not(.active){color:#466153}
  .admin-workspace .mobile-nav button.active{
    background:#e0eee4;
    color:#164c33;
  }
}

/* Production terminal visual hierarchy: strong foreground contrast.
   Preserve the existing grey-green admin background and all typography sizes.
   Level 1: deep-green company/dish heading.
   Level 2: warm neutral company dish heading.
   Level 3: white individual orders, or shaded when completed. */
.admin-workspace .workspace .production-title-row h1{
  color:#183d2c;
  font-weight:800;
}
.admin-workspace .workspace .production-group{
  border:1px solid #a5bdad;
  box-shadow:0 4px 15px rgba(20,51,35,.11);
}
.admin-workspace .workspace .production-group-head{
  background:#1c4636;
  border-bottom:1px solid #173929;
  color:#ffffff;
  padding:11px 12px;
}
.admin-workspace .workspace .production-group-head strong{
  color:#ffffff;
  font-weight:800;
  letter-spacing:.005em;
}
.admin-workspace .workspace .production-group-head .production-group-progress{
  color:#f0f6f1;
  font-weight:740;
}
.admin-workspace .workspace .production-group-head .production-dish-total{
  background:#f2ddb3;
  color:#263b2b;
  border:1px solid #ead2a0;
  font-weight:860;
}
.admin-workspace .workspace .production-company-dish+.production-company-dish{
  border-top:2px solid #a5bcae;
}
.admin-workspace .workspace .production-company-dish-head{
  background:#e4d9c4;
  border-bottom:1px solid #b8aa91;
  padding:9px 11px;
}
.admin-workspace .workspace .production-company-dish-head strong{
  color:#253c30;
  font-weight:800;
}
.admin-workspace .workspace .production-company-dish-head .production-company-dish-progress{
  color:#3a4c3e;
  font-weight:780;
}
.admin-workspace .workspace .production-company-dish-total{
  background:#274e3c;
  color:#ffffff;
  border:1px solid #274e3c;
  font-weight:860;
}
.admin-workspace .workspace .production-group-rows{
  background:#ffffff;
}
.admin-workspace .workspace .production-entry{
  border-bottom-color:#c7d5ca;
}
.admin-workspace .workspace .production-entry.phase-open{
  background:#ffffff;
}
.admin-workspace .workspace .production-entry-head .production-entry-dish{
  color:#1b3527;
  font-weight:770;
}
.admin-workspace .workspace .production-entry-meta strong{
  color:#25412e;
  font-weight:760;
}
.admin-workspace .workspace .production-entry-meta span,
.admin-workspace .workspace .production-entry-time{
  color:#466151;
}
.admin-workspace .workspace .production-entry.phase-done .production-entry-dish,
.admin-workspace .workspace .production-entry.phase-done .production-entry-meta strong{
  color:#53685b;
}
.admin-workspace .workspace .production-statuses .production-stage{
  border:1px solid #9ebaa7;
  background:#ffffff;
  color:#294937;
  font-weight:740;
}
.admin-workspace .workspace .production-statuses .production-stage strong{
  color:#ffffff;
  background:#244c38;
}
.admin-workspace .workspace .production-switch{
  background:#d2e0d5;
  border:1px solid #b0c7b5;
}
.admin-workspace .workspace .production-switch button{
  color:#375746;
  font-weight:740;
}
.admin-workspace .workspace .production-switch button.selected{
  background:#1c4636;
  color:#ffffff;
  box-shadow:0 1px 4px rgba(17,47,32,.12);
}
.admin-workspace .workspace .production-switch button:focus-visible{
  outline:3px solid #c79b59;
  outline-offset:2px;
}
@media(max-width:530px){
  .admin-workspace .workspace .production-group-head{
    padding:10px 9px;
    gap:5px 8px;
  }
  .admin-workspace .workspace .production-group-head .production-group-progress{
    white-space:normal;
    text-align:right;
  }
  .admin-workspace .workspace .production-company-dish-head{
    padding:9px;
  }
}

/* Produktionsvarianten: Abwahlen klar vor Extras, Standard auf einen Blick. */
.admin-workspace .workspace .production-entry-changes{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  margin:5px 0 2px;padding:0;line-height:1.4;
}
.admin-workspace .workspace .production-entry-changes>span{
  display:block;font-size:12px;font-weight:730;max-width:100%;
  overflow-wrap:anywhere;
}
.admin-workspace .workspace .production-change-minus{color:#9b3129}
.admin-workspace .workspace .production-change-plus{color:#176245}
.admin-workspace .workspace .production-entry-standard{
  display:inline-flex;align-items:center;gap:4px;margin-top:4px;
  padding:2px 6px;border-radius:5px;
  background:#e8f3eb;border:1px solid #c2d9c8;
  color:#22533b;font-size:10.5px;font-weight:720;line-height:1.3;
}
.admin-workspace .workspace .production-entry.phase-done .production-change-minus,
.admin-workspace .workspace .production-entry.phase-done .production-change-plus{
  color:#52665b;
}
.admin-workspace .workspace .production-entry.phase-done .production-entry-standard{
  color:#53675b;background:#e0e9e2;border-color:#b7c9bc;
}
.admin-workspace .workspace .production-entry-note{
  margin-top:5px;font-weight:640;
}
@media(max-width:530px){
  .admin-workspace .workspace .production-entry-changes{gap:2px}
  .admin-workspace .workspace .production-entry-changes>span{font-size:11.5px}
}

/* Produktion: frei kombinierbare Verpackungsebenen und Team-Übergabe.
   Hierarchie ist farblich eindeutig, auch auf 320px breiten iPhones. */
.admin-workspace .workspace .production-switch{
  display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:thin;gap:3px;flex:1 1 auto;min-width:0;scroll-snap-type:x proximity;
}
.admin-workspace .workspace .production-switch button{
  flex:0 0 auto;min-height:44px;scroll-snap-align:start;padding:9px 12px;
  white-space:nowrap;font-size:12px;
}
.admin-workspace .workspace .production-layout-filters{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
  padding:12px;margin:0 0 10px;border:1px solid #adc3b4;border-radius:12px;
  background:#f7faf7;box-shadow:0 2px 8px rgba(18,47,31,.05);
}
.admin-workspace .workspace .production-layout-filters label{
  display:grid;gap:5px;min-width:0;font-size:12px;font-weight:760;color:#244a35;
}
.admin-workspace .workspace .production-layout-filters select{
  display:block;width:100%;min-width:0;min-height:44px;
  border:1px solid #a1b9a9;border-radius:9px;background:#fff;
  color:#203e2c;padding:9px 11px;font-size:16px;font-weight:620;
}
.admin-workspace .workspace .production-layout-panel{
  margin:0 0 11px;padding:13px;border:1px solid #abc3b1;
  background:#fff;border-radius:13px;box-shadow:0 3px 12px rgba(18,47,31,.08);
}
.admin-workspace .workspace .production-layout-panel>strong{
  display:block;color:#183f2c;font-size:14px;font-weight:840;
}
.admin-workspace .workspace .production-layout-panel>p,
.admin-workspace .workspace .production-merge-controls>p{
  margin:4px 0 11px;color:#3e5c49;font-size:12px;line-height:1.45;
}
.admin-workspace .workspace .production-layout-controls{
  display:grid;gap:7px;
}
.admin-workspace .workspace .production-layout-level{
  display:flex;align-items:stretch;gap:7px;min-height:44px;
}
.admin-workspace .workspace .production-layout-checkbox,
.admin-workspace .workspace .production-merge-toggle{
  display:inline-flex;align-items:center;gap:9px;
  min-height:44px;min-width:0;padding:8px 11px;
  border:1px solid #b4cbb9;border-radius:9px;
  background:#f4f8f5;color:#284c37;
  font-size:13px;font-weight:760;text-align:left;
}
.admin-workspace .workspace .production-layout-checkbox{flex:1}
.admin-workspace .workspace .production-layout-checkbox.selected,
.admin-workspace .workspace .production-merge-toggle.selected{
  background:#e0efe4;border-color:#8eaf99;color:#173f29;
}
.admin-workspace .workspace .production-layout-check{
  flex:0 0 19px;width:19px;height:19px;
  border:2px solid #62866f;border-radius:5px;
  display:inline-grid;place-items:center;color:#fff;
  line-height:1;font-size:13px;font-weight:900;
  background:#fff;
}
.admin-workspace .workspace .selected>.production-layout-check{
  background:#246443;border-color:#246443;
}
.admin-workspace .workspace .production-layout-move{
  display:flex;gap:4px;flex:0 0 auto;
}
.admin-workspace .workspace .production-layout-move button{
  width:44px;height:44px;border:1px solid #adbfaf;
  border-radius:9px;background:#fff;color:#1f4e35;
  font-weight:850;font-size:20px;
}
.admin-workspace .workspace .production-layout-move button:disabled{opacity:.33}
.admin-workspace .workspace .production-layout-path{
  margin:10px 0 0!important;padding:8px 10px;
  border-radius:7px;background:#dce9df;color:#204631;
  font-weight:760;font-size:12px;
}
.admin-workspace .workspace .production-merge-controls{
  margin:0 0 12px;padding:12px;
  border:1px solid #b4c7b6;border-radius:11px;
  background:#eef4ef;
}
.admin-workspace .workspace .production-merge-controls>strong{
  display:block;font-size:13px;color:#204631;
}
.admin-workspace .workspace .production-merge-list{
  display:flex;flex-wrap:wrap;gap:7px;
}
.admin-workspace .workspace .production-merge-toggle{
  flex:1 1 180px;font-size:12px;
}
.admin-workspace .workspace .production-level{
  min-width:0;margin:0 0 10px;border:1px solid #a7beac;
  border-radius:12px;background:#fff;overflow:hidden;
  box-shadow:0 3px 10px rgba(17,48,31,.075);
}
.admin-workspace .workspace .production-level-body{min-width:0;background:#fff}
.admin-workspace .workspace .production-level-head{
  display:flex;justify-content:space-between;align-items:center;
  gap:5px 10px;flex-wrap:wrap;min-height:46px;
  padding:10px 12px;border-bottom:1px solid #abc2b3;
}
.admin-workspace .workspace .production-level-head>strong{
  display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;
  min-width:0;overflow-wrap:anywhere;font-size:13px;
  font-weight:850;line-height:1.35;
}
.admin-workspace .workspace .production-level-progress{
  font-size:11px;font-weight:760;line-height:1.35;
  white-space:normal;font-variant-numeric:tabular-nums;
}
.admin-workspace .workspace .production-level-depth-0>.production-level-head{
  background:#1c4636;border-bottom-color:#173929;
}
.admin-workspace .workspace .production-level-depth-0>.production-level-head>strong{
  color:#fff;
}
.admin-workspace .workspace .production-level-depth-0>.production-level-head>.production-level-progress{
  color:#f0f6f1;
}
.admin-workspace .workspace .production-level-depth-1>.production-level-head{
  background:#e4d9c4;border-bottom-color:#bdaf93;
}
.admin-workspace .workspace .production-level-depth-1>.production-level-head>strong{
  color:#243e2f;
}
.admin-workspace .workspace .production-level-depth-1>.production-level-head>.production-level-progress{
  color:#3b5141;
}
.admin-workspace .workspace .production-level-depth-2>.production-level-head{
  background:#dce9df;border-bottom-color:#b5cbb9;
}
.admin-workspace .workspace .production-level-depth-2>.production-level-head>strong{
  color:#214630;
}
.admin-workspace .workspace .production-level-depth-2>.production-level-head>.production-level-progress{
  color:#355642;
}
.admin-workspace .workspace .production-level-count{
  display:inline-flex;align-items:center;justify-content:center;
  padding:3px 7px;border-radius:7px;min-width:32px;
  font-weight:900;font-variant-numeric:tabular-nums;
  background:#244e37;color:#fff;
}
.admin-workspace .workspace .production-level-depth-0>.production-level-head .production-level-count{
  background:#f1dab1;color:#26392c;
}
.admin-workspace .workspace .production-level-body>.production-level{
  margin:8px 8px 10px;border-color:#b9cbbd;box-shadow:none;
}
.admin-workspace .workspace .production-level-body>.production-entry:last-child{
  border-bottom:0;
}
.admin-workspace .workspace :is(.production-layout-checkbox,.production-merge-toggle,
  .production-layout-move button,.production-layout-filters select):focus-visible{
  outline:3px solid #a87236;outline-offset:2px;
}
@media(max-width:600px){
  .admin-workspace .workspace .production-layout-filters{grid-template-columns:1fr;padding:10px}
  .admin-workspace .workspace .production-layout-panel{padding:10px}
  .admin-workspace .workspace .production-level-head{padding:9px 10px}
  .admin-workspace .workspace .production-level-body>.production-level{margin:6px 6px 8px}
  .admin-workspace .workspace .production-switch{width:100%}
  .admin-workspace .workspace .production-merge-list{display:grid;grid-template-columns:1fr}
  .admin-workspace .workspace .production-merge-toggle{width:100%}
}

.admin-workspace .workspace .production-level-flat>.production-level-head{
  background:#1c4636;border-bottom-color:#173929;
}
.admin-workspace .workspace .production-level-flat>.production-level-head>strong,
.admin-workspace .workspace .production-level-flat>.production-level-head>.production-level-progress{
  color:#fff;
}

/* Edge-to-edge iOS: the WKWebView starts at screen y=0, so the sticky
   navigation must reserve the actual status-bar / Dynamic Island area.
   CSS env() handles Safari/PWA and iOS rotation; the native StatusBar height
   is an extra fallback for devices where WKWebView reports a zero inset. */
:root{--nahic-safe-top:env(safe-area-inset-top,0px)}
html.nahic-native-ios{
  --nahic-safe-top:max(env(safe-area-inset-top,0px),var(--nahic-native-status-top,0px));
}
@media(max-width:800px){
  .app-layout .topbar{
    position:sticky;top:0;z-index:100;
    height:calc(59px + var(--nahic-safe-top));
    min-height:calc(59px + var(--nahic-safe-top));
    padding-top:var(--nahic-safe-top);
    background:#fff;
    -webkit-backdrop-filter:none;backdrop-filter:none;
    isolation:isolate;
  }
  .app-layout .topbar .mobile-wordmark{
    display:block;width:min(148px,42vw);max-height:49px;object-fit:contain;
  }
}

/* In-app account erasure: explicit, accessible confirmation for employees. */
.profile-account-settings{margin-top:18px;display:grid;gap:10px}
.profile-account-settings h2{font-size:1.08rem;margin:0}
.profile-account-settings p{margin:0;line-height:1.5}
.profile-account-settings .btn{justify-self:start}
.profile-delete-layer{position:fixed;inset:0;z-index:350;display:grid;place-items:center;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));}
.profile-delete-backdrop{position:absolute;inset:0;border:0;background:rgba(10,21,19,.68);cursor:default}
.profile-delete-dialog{position:relative;z-index:1;width:min(100%,440px);max-height:min(90dvh,760px);overflow:auto;overscroll-behavior:contain;background:#fff;border-radius:20px;box-shadow:0 24px 80px rgba(0,0,0,.22);padding:22px;color:#183a32}
.profile-delete-dialog header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:10px}
.profile-delete-dialog h2{font-size:1.27rem;line-height:1.28;margin:0}
.profile-delete-dialog header button{border:0;background:transparent;font:inherit;font-size:1.8rem;line-height:1;cursor:pointer;min-width:44px;min-height:44px}
.profile-delete-dialog p{margin:0 0 14px;line-height:1.55}
.profile-delete-dialog .form{display:grid;gap:14px}
.profile-delete-ack{display:flex!important;align-items:start;gap:10px;line-height:1.45}
.profile-delete-ack input{width:20px;height:20px;min-width:20px;margin-top:2px;accent-color:#af302b}
.profile-delete-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.profile-delete-confirm{background:#af302b!important;color:#fff!important;border-color:#af302b!important}
.profile-delete-confirm:hover{background:#8f2520!important}
.profile-delete-dialog [data-profile-delete-error]:not([hidden]){padding:10px 12px;border-radius:10px;background:#fff1ef;color:#9e2822;font-weight:600;font-size:.9rem}
@media(max-width:480px){.profile-delete-dialog{padding:18px;border-radius:18px}.profile-delete-actions .btn{flex:1 1 130px}}

/* Mobile overlays must start BELOW the iPhone status bar / Dynamic Island.
   The native fallback handles WKWebViews reporting env(safe-area-inset-top)=0. */
:root{--nahic-overlay-safe-top:var(--nahic-safe-top,env(safe-area-inset-top,0px))}
html.nahic-native-ios{
  --nahic-overlay-safe-top:max(env(safe-area-inset-top,0px),var(--nahic-native-status-top,0px));
}
@media(max-width:800px){
  .admin-drawer-backdrop,.ingredient-modal-backdrop,.pizza-modal-backdrop,.profile-delete-layer,
  .confirm-layer,.login-layer,.guest-access-layer,.member-dialog-layer{
    top:var(--nahic-overlay-safe-top);
  }
  .admin-drawer{padding-top:20px;padding-bottom:max(35px,env(safe-area-inset-bottom,0px))}
  .ingredient-dialog{max-height:calc(100dvh - var(--nahic-overlay-safe-top) - 12px)}
}

/* Production terminal: one compact, scroll-capped dropdown for any number of firms/teams. */
.admin-workspace .workspace .production-controls-compact{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;
  padding:9px 10px;margin:0 0 12px;border:1px solid #d0ddd1;
  border-radius:11px;background:#fff;
}
.admin-workspace .workspace .production-filter-dropdown{position:relative;min-width:0;flex:0 0 auto}
.admin-workspace .workspace .production-filter-trigger,
.admin-workspace .workspace .production-sort-select select{
  box-sizing:border-box;min-height:40px;border:1px solid #b8c9bc;border-radius:9px;
  background:#f8faf8;color:#1d422e;font:inherit;font-size:13px;font-weight:700;
}
.admin-workspace .workspace .production-filter-trigger{
  display:flex;align-items:center;gap:8px;cursor:pointer;padding:7px 11px;
  list-style:none;user-select:none;
}
.admin-workspace .workspace .production-filter-trigger::-webkit-details-marker{display:none}
.admin-workspace .workspace .production-filter-trigger:after{content:"⌄";font-size:16px;line-height:1}
.admin-workspace .workspace .production-filter-dropdown[open] .production-filter-trigger:after{content:"⌃"}
.admin-workspace .workspace .production-filter-trigger small{
  color:#557060;font-weight:650;font-size:11px;white-space:nowrap;
}
.admin-workspace .workspace .production-sort-select{
  display:flex;align-items:center;gap:7px;color:#526e5b;font-size:12px;font-weight:700;
}
.admin-workspace .workspace .production-sort-select select{
  padding:7px 27px 7px 9px;max-width:190px;min-width:132px;
}
.admin-workspace .workspace .production-controls-compact .production-statuses{
  margin-left:auto;display:flex;flex:0 1 auto;gap:7px;align-items:center;
  padding:0;background:transparent;overflow:visible;
}
.admin-workspace .workspace .production-controls-compact .production-stage{
  display:inline-flex;gap:4px;align-items:center;font-size:11px;white-space:nowrap;
  padding:5px 7px;border-radius:7px;background:#f0f4f0;color:#355440;
}
.admin-workspace .workspace .production-filter-content{
  position:absolute;top:calc(100% + 6px);left:0;z-index:210;
  width:min(360px,calc(100vw - 38px));max-height:min(62dvh,480px);
  overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  border:1px solid #b8cdbd;border-radius:12px;background:#fff;
  box-shadow:0 14px 35px rgba(18,48,31,.19);
}
.admin-workspace .workspace .production-filter-section{padding:11px 12px;border-bottom:1px solid #e1eae2}
.admin-workspace .workspace .production-filter-section-title{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  margin:0 0 8px;color:#214833;font-size:13px;
}
.admin-workspace .workspace .production-filter-actions{display:flex;gap:6px}
.admin-workspace .workspace .production-filter-actions button,
.admin-workspace .workspace .production-filter-footer button{
  min-height:30px;padding:4px 8px;border:1px solid #d1ded3;
  border-radius:7px;background:#fff;color:#245538;font:inherit;
  font-size:12px;font-weight:720;cursor:pointer;
}
.admin-workspace .workspace .production-filter-options{display:grid;gap:2px}
.admin-workspace .workspace .production-filter-option{
  display:flex;align-items:center;gap:9px;min-height:36px;padding:5px 7px;
  border-radius:7px;cursor:pointer;color:#274736;
  font-size:13px;line-height:1.3;overflow-wrap:anywhere;
}
.admin-workspace .workspace .production-filter-option:hover{background:#edf5ee}
.admin-workspace .workspace .production-filter-option.is-disabled{
  opacity:.4;cursor:not-allowed;
}
.admin-workspace .workspace .production-filter-option input[type=checkbox]{
  flex:0 0 17px;width:17px;height:17px;accent-color:#21613f;
}
.admin-workspace .workspace .production-filter-company-teams{
  display:grid;gap:2px;padding:5px 0 8px;
}
.admin-workspace .workspace .production-filter-company-teams+.production-filter-company-teams{
  border-top:1px solid #e8efe9;
}
.admin-workspace .workspace .production-filter-company-label{
  font-size:11px;font-weight:790;color:#627a68;padding:5px 6px 1px;
}
.admin-workspace .workspace .production-filter-help,
.admin-workspace .workspace .production-filter-merge p{
  font-size:11px;color:#667b6b;margin:0 0 7px;line-height:1.4;
}
.admin-workspace .workspace .production-filter-merge-list{display:grid;gap:3px}
.admin-workspace .workspace .production-filter-merge-toggle{
  min-height:34px;padding:5px 7px;text-align:left;border:0;border-radius:7px;
  background:transparent;color:#315440;font:inherit;font-size:12px;cursor:pointer;
}
.admin-workspace .workspace .production-filter-merge-toggle.selected{background:#e3f0e6;color:#194e31}
.admin-workspace .workspace .production-filter-footer{
  position:sticky;bottom:0;background:#fff;padding:8px 11px;text-align:right;
  border-top:1px solid #d8e3da;
}
.admin-workspace .workspace .production-filter-footer button{background:#1e593c;color:#fff;padding:6px 15px}
.admin-workspace .workspace :is(
  .production-filter-trigger,.production-sort-select select,
  .production-filter-option input,.production-filter-actions button,
  .production-filter-merge-toggle,.production-filter-footer button
):focus-visible{outline:3px solid #b48d56;outline-offset:2px}
@media(max-width:600px){
  .admin-workspace .workspace .production-controls-compact{gap:7px;padding:8px}
  .admin-workspace .workspace .production-filter-dropdown{flex:1 1 190px}
  .admin-workspace .workspace .production-filter-trigger{justify-content:space-between;padding:7px 9px}
  .admin-workspace .workspace .production-sort-select{flex:1 1 135px;justify-content:flex-end}
  .admin-workspace .workspace .production-sort-select select{min-width:105px;max-width:145px}
  .admin-workspace .workspace .production-controls-compact .production-statuses{
    flex:1 1 100%;justify-content:space-between;gap:5px;margin-left:0;
  }
  .admin-workspace .workspace .production-controls-compact .production-stage{font-size:10px;padding:4px 6px}
}
.dish-archive-button{color:#9b302d!important;border-color:#b77d79!important}
.catalog-archive{margin:14px 0;border:1px solid #b8c9bd;border-radius:11px;padding:12px}
.catalog-archive summary{font-weight:760;cursor:pointer}
.catalog-archive-list{display:grid;gap:9px;margin-top:10px}
.catalog-archive-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px;background:#f7faf7;border-radius:8px}
@media(max-width:680px){
  .admin-workspace .workspace .production-scope-columns{grid-template-columns:1fr}
  .admin-workspace .workspace .production-scope-panel,
  .admin-workspace .workspace .production-sort-panel{padding:10px}
  .admin-workspace .workspace .production-scope-options{grid-template-columns:1fr}
}

/* Admin-only company deletion: deliberately separated from routine edits. */
.admin-workspace .company-delete-panel{border-top:1px solid #e4e7e4;padding-top:9px}
.admin-workspace .company-delete-panel>summary{min-height:44px;color:#a13b36;font-weight:650;cursor:pointer}
.admin-workspace .company-delete-content{padding:4px 0 12px;max-width:540px}
.admin-workspace .company-delete-content .form{max-width:540px}
.admin-workspace .company-delete-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.45;font-size:14px;margin:8px 0 14px}
.admin-workspace .company-delete-check input{width:19px;height:19px;flex:0 0 19px;accent-color:#9f3730;margin-top:2px}
.admin-workspace .company-delete-button{min-height:44px;background:#923d36;border-color:#923d36;color:#fff}
.admin-workspace .company-delete-button:hover{background:#792f29}

/* Read-only app-store reviewer role picker; not visible to actual employees. */
.store-review-bar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;
  padding:12px 14px;margin-bottom:18px;border:1px solid #d6d1bd;
  border-radius:14px;background:#f7f0e4;color:#203c32}
.store-review-bar>strong{font-size:14px}.store-review-bar>div{display:flex;flex-wrap:wrap;gap:6px}
.store-review-bar button{font-size:12px;min-height:38px}
.store-review-bar button[aria-pressed="true"]{background:#203c32;color:#fff}
.store-review-bar small{display:block;width:100%;font-size:12px}

.review-admin{display:grid;gap:16px;max-width:980px}
.review-admin>h1{font-size:clamp(26px,4vw,36px);margin:0}
.review-admin>p{margin:0;line-height:1.6}
.review-admin-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.review-admin-kpis>div{padding:18px;border:1px solid #dddcd4;border-radius:14px;background:white}
.review-admin-kpis small{display:block;color:#52665d}
.review-admin-kpis strong{display:block;font-size:clamp(20px,3vw,27px)}
.review-admin-orders{display:grid;gap:8px}
.review-admin-orders>div{padding:12px 0;display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #eee}
.review-admin-orders>div span{flex:1;min-width:120px}
@media(max-width:650px){.review-admin-kpis{grid-template-columns:1fr}}

/* Read-only administrator diagnostic for the actual persisted company and menu */
.member-access-controls{display:grid;gap:9px;margin:0 0 14px;padding:10px 12px;border:1px solid #dce7db;border-radius:12px}
.member-access-controls>.btn{justify-self:start;max-width:100%;white-space:normal;text-align:left}
.member-access-report{display:grid;gap:6px;font-size:13px;line-height:1.5}
.member-access-report>p{margin:0}
.member-access-report>strong{color:#224d38}

/* Verified account assignment status remains visible in the employee dialog. */
.member-save-confirmation{padding:11px 13px;margin-bottom:12px;border:1px solid #bfd8c8;border-radius:10px;background:#f2f8f3;color:#1d5337;font-size:13px;font-weight:650;line-height:1.5}
.member-save-error{padding:10px 12px;border:1px solid #e3b5b0;border-radius:9px;background:#fff4f2;color:#9b322c;font-size:13px;line-height:1.45}
.member-save-error[hidden]{display:none}

/* WhatsApp: role and scope selection; choose recipient in WhatsApp. */
.admin-invite-panel [data-admin-invite-section="whatsapp"] .field{min-width:0}
.admin-invite-panel [data-admin-invite-section="whatsapp"] select{width:100%;min-height:44px}
.admin-invite-panel [data-admin-invite-section="whatsapp"] [data-admin-whatsapp-hint]{
  padding:7px 10px;border-radius:8px;background:#f4f7f4;color:#466153;font-size:12px
}

.admin-invite-panel .admin-whatsapp-send{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:46px;background:#167347;border-color:#167347;color:#fff;
}
.admin-invite-panel .admin-whatsapp-send:hover{background:#115c39;border-color:#115c39}
.admin-invite-panel .admin-whatsapp-icon{width:22px;height:22px;flex:0 0 22px}

/* Unified password visibility on onboarding, profile, dialogs and invitations. */
.field .auth-password-wrap{display:block;position:relative;min-width:0;width:100%}
.field .auth-password-wrap input{width:100%;padding-right:58px!important;min-height:44px;box-sizing:border-box}
.field .auth-password-wrap .auth-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-width:43px;min-height:43px}
.profile-password-form{display:grid;gap:14px;margin-top:6px;max-width:440px}
.profile-password-form .btn{justify-self:start}

/* Direct, distinct account actions without nesting buttons in a button row. */
.people-directory-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;cursor:default}
.people-directory-open{display:grid;grid-template-columns:minmax(120px,1.45fr) minmax(110px,1.05fr) minmax(100px,.8fr);align-items:center;gap:12px;
  width:100%;min-width:0;background:none;border:0;padding:0;text-align:left;color:inherit;cursor:pointer}
.people-directory-open:focus-visible{outline:2px solid #3f7654;outline-offset:4px;border-radius:6px}
.people-directory-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}
.people-directory-actions button{border:1px solid #d4e1d7;background:#f7faf7;color:#285643;border-radius:9px;padding:8px 10px;
  font-size:12px;font-weight:700;min-height:40px;cursor:pointer}
.people-directory-actions button:hover{background:#e8f4e9}
.people-directory-actions button.danger{color:#963c36;background:#fff8f7;border-color:#efd5d1}
.people-directory-actions button.danger:hover{background:#ffece8}
@media(max-width:800px){
  .people-directory-row{grid-template-columns:minmax(0,1fr);gap:11px}
  .people-directory-row{display:flex;flex-direction:column;gap:10px;min-width:0;padding:13px 15px}
  .people-directory-open{display:flex;flex-wrap:wrap;align-items:center;gap:7px 11px;min-width:0;width:100%}
  .people-directory-person{flex:1 1 100%;min-width:0;display:flex;align-items:center;gap:10px}
  .people-directory-person strong{white-space:normal;overflow-wrap:break-word}
  .people-directory-team{flex:1 1 160px;min-width:min(160px,100%);display:flex;flex-direction:row;flex-wrap:wrap;gap:3px 7px;align-items:center;
    grid-column:auto;overflow-wrap:normal;word-break:normal}
  .people-directory-team strong,.people-directory-team small{white-space:normal;overflow-wrap:normal;word-break:normal}
  .people-directory-side{flex:0 0 auto;display:flex;align-items:center;grid-column:auto;grid-row:auto;max-width:100%;text-align:left}
  .people-directory-side .people-status{max-width:100%;white-space:normal}
  .people-directory-actions{justify-content:flex-start;display:flex;flex-wrap:nowrap;gap:8px;width:100%}
  .people-directory-actions button{flex:0 1 auto;min-width:108px;min-height:40px;padding:8px 12px}
  .people-directory-open:focus-visible{outline-offset:2px}
  /* The account dialog must fit below the iOS status bar and above the home indicator. */
  .member-dialog-layer{padding:8px 8px max(8px,env(safe-area-inset-bottom,0px))}
  .member-dialog{max-height:calc(100dvh - var(--nahic-overlay-safe-top,0px) - env(safe-area-inset-bottom,0px) - 16px)}
  .onboarding-shell{padding-top:max(16px,calc(var(--nahic-safe-top,0px) + 16px));
    padding-bottom:max(16px,env(safe-area-inset-bottom,0px));align-content:safe center}
}

/* One optional-scope invitation form shared by all administrator entry points. */
.admin-invite-editor{max-width:760px;margin:18px auto;min-width:0}
.admin-invite-editor>.row{gap:14px;margin-bottom:12px}
.admin-invite-editor h2{font-size:clamp(22px,3vw,29px);line-height:1.2;margin:0}
.admin-invite-editor>.small{line-height:1.6;margin:0 0 20px}
.admin-invite-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-invite-editor form>.field:first-child,.admin-invite-editor [data-admin-invite-hint],
.admin-invite-editor [data-admin-invite-extra],.admin-invite-editor [data-admin-invite-submit]{grid-column:1/-1}
.admin-invite-editor select,.admin-invite-editor input{width:100%;min-width:0;min-height:45px;font-size:16px}
.admin-invite-editor [data-admin-invite-extra]{display:grid;gap:12px;max-width:480px}
.admin-invite-editor [data-admin-invite-submit]{justify-self:start}
.admin-invite-editor .invite-result{margin-top:18px}
.admin-invite-editor [hidden]{display:none!important}
@media(max-width:650px){
 .admin-invite-editor form{grid-template-columns:minmax(0,1fr)}
 .admin-invite-editor form>.field{grid-column:1/-1}
 .admin-invite-editor [data-admin-invite-submit]{width:100%}
 .admin-invite-editor>.row .btn{min-height:40px}
}
/* Company-first planning: same schedules and deliveries as the central terminal,
   projected into the selected business without duplicating editing logic. */
.company-planning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 18px}
.company-planning-panel{min-width:0;border:1px solid #dce6dd;border-radius:14px;background:#fcfdfa;padding:15px}
.company-planning-panel-head{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.company-planning-panel-head h3{margin:0;font-size:17px;line-height:1.3;color:#234f39}
.company-planning-panel-head p{margin:3px 0 0;color:#637768;font-size:12px}
.company-planning-panel-head .btn{min-height:42px;white-space:nowrap}
.company-planning-list{display:grid;min-width:0}
.company-plan-row{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0;
  padding:12px 0;border-top:1px solid #e5ece5}
.company-plan-info{min-width:0;flex:1 1 auto;display:grid;gap:4px;overflow-wrap:break-word}
.company-plan-info strong{font-size:14px;line-height:1.3;color:#224835}
.company-plan-info .company-plan-meta{font-size:12px;color:#566e5c;line-height:1.45}
.company-plan-info small{font-size:12px;color:#687b6b;line-height:1.4}
.company-plan-actions{flex:0 0 auto;display:flex;align-items:flex-end;flex-direction:column;gap:8px}
.company-plan-actions .btn{min-height:42px}
.company-plan-state{font-size:11px;font-weight:800;padding:4px 9px;border-radius:30px;background:#e2eee5;color:#306843;white-space:nowrap}
.company-plan-state.is-paused{background:#f1ede5;color:#846a38}
.company-planning-empty{font-size:13px;color:#667b6b;line-height:1.55;padding:11px 0;margin:0;border-top:1px solid #e5ece5}
.company-planning-return{max-width:100%;margin:0 0 12px;white-space:normal;text-align:left;min-height:42px}
.company-planning-page{display:grid;gap:14px}
.company-planning-page .company-planning-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.company-planning-intro h2{margin:0 0 4px}
.company-planning-intro p{margin:0;max-width:680px}
.company-planning-page .company-planning-grid{margin:0}
@media(max-width:940px){.company-planning-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .company-planning-panel{padding:12px}
  .company-planning-panel-head h3{font-size:16px}
  .company-plan-row{align-items:flex-start;gap:9px;padding:12px 0}
  .company-plan-info strong{font-size:13px}
  .company-plan-actions{gap:7px}
  .company-plan-actions .btn{font-size:12px;padding:7px 9px}
  .company-planning-intro .row{width:100%}
  .company-planning-intro .row .btn{flex:1 1 140px}
}

/* Company workspace: compact decision-first overview and expandable team lists. */
.company-overview-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:8px}
.company-overview-top h2{margin:0;font-size:20px;line-height:1.3}
.company-overview-top p{margin:4px 0 0;line-height:1.45}
.company-overview-top .btn{min-height:44px}
.company-planning-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;margin-bottom:4px}
.company-planning-label h3{margin:0;font-size:17px;color:#214b36}
.company-planning-label .btn{min-height:42px}
.company-team-intro{line-height:1.5;margin:6px 0 14px}
.company-team-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.company-team-card{border:1px solid #dbe6dc;border-radius:13px;min-width:0;overflow:hidden;background:#fff}
.company-team-card>summary{display:flex;align-items:center;gap:12px;padding:14px 15px;cursor:pointer;list-style:none;min-height:68px;color:#234c37}
.company-team-card>summary::-webkit-details-marker{display:none}
.company-team-card>summary:hover{background:#f5f9f5}
.company-team-card>summary:focus-visible{outline:3px solid #86b499;outline-offset:-3px}
.company-team-card[open]>summary{background:#f3f8f3;border-bottom:1px solid #dce6dc}
.company-team-title{display:grid;gap:4px;flex:1 1 auto;min-width:0}
.company-team-title strong{font-size:15px;line-height:1.3;overflow-wrap:break-word}
.company-team-title small{font-size:12px;color:#69806e;overflow-wrap:break-word}
.company-team-figures{display:grid;gap:4px;flex:0 0 auto;text-align:right;white-space:nowrap}
.company-team-figures b{font-size:13px}
.company-team-figures small{font-size:11px;color:#657b6a}
.company-team-chevron{font-size:18px;color:#627969;transition:transform .15s}
.company-team-card[open] .company-team-chevron{transform:rotate(180deg)}
.company-team-details{padding:12px 15px 15px;display:grid;gap:12px}
.company-team-details>p{margin:0;line-height:1.45}
.company-team-details h3{font-size:13px;margin:2px 0 0;color:#315743}
.company-team-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.company-team-person{border:1px solid #e1e9e2;background:#fafcfa;border-radius:9px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;
  align-items:flex-start;min-width:0;text-align:left;cursor:pointer;min-height:44px}
.company-team-person:hover{border-color:#abcdb6;background:#f0f8f1}
.company-team-person strong{font-size:13px;color:#244934;overflow-wrap:break-word;max-width:100%}
.company-team-person small{font-size:11px;color:#6c7c71}
.company-team-actions{display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid #e4ebe4;padding-top:13px}
.company-team-actions .btn{min-height:42px}
.staff-team-chips{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
.staff-team-chip{background:#eaf3eb;border:1px solid #d6e6da;color:#2b5e40;border-radius:24px;padding:3px 8px;
  font-size:11px;font-weight:700;line-height:1.35;overflow-wrap:break-word;max-width:100%}
.staff-team-chip.is-empty{background:#f3f4f1;border-color:#e1e4de;color:#667769}
.staff-team-chip.staff-team-more{background:#f3f4f1;color:#4b5e52}
.member-team-manager{margin:16px 0!important}
.member-team-manager summary{min-height:43px;display:list-item;align-content:center}
.member-team-manager>p{margin:11px 0}
.member-teams-form{display:grid;gap:14px}
.member-teams-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.member-team-choice{display:flex;align-items:center;gap:10px;padding:11px 12px;background:#fff;border:1px solid #dbe6dd;border-radius:10px;
  cursor:pointer;min-width:0}
.member-team-choice:has(input:checked){background:#eef6ef;border-color:#afcdb7}
.member-team-choice input{flex:0 0 21px;width:21px;height:21px;accent-color:#2c6a47}
.member-team-choice span{min-width:0;display:grid;gap:3px;flex:1 1 auto}
.member-team-choice strong{font-size:13px;overflow-wrap:break-word;color:#2b513b}
.member-team-choice small{font-size:11px;color:#6c7d70;overflow-wrap:break-word}
.member-team-choice em{font-size:10px;color:#35704b;font-style:normal;font-weight:700}
.member-teams-form .btn{min-height:44px;justify-self:start}
@media(max-width:650px){
  .company-overview-top{align-items:flex-start}
  .company-overview-top .btn{width:100%}
  .company-planning-label h3{font-size:15px}
  .company-team-people{grid-template-columns:minmax(0,1fr)}
  .company-team-card>summary{gap:8px;padding:13px 11px}
  .company-team-figures{font-size:12px}
  .company-team-details{padding:11px}
  .company-team-actions .btn{flex:1 1 120px}
  .member-team-choice{padding:10px}
  .member-teams-form .btn{width:100%}
}

/* NAHIC operations density: restrained type, compact rows, preserved 44px touch targets. */
.admin-workspace .workspace .terminal-screen{font-size:12px}
.admin-workspace .workspace .terminal-screen .heading-row{margin-bottom:7px}
.admin-workspace .workspace .terminal-screen h1{font-size:19px;line-height:1.25}
.admin-workspace .workspace .terminal-pulse-compact{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 8px
}
.admin-workspace .workspace .terminal-pulse-compact>div{
  display:flex;align-items:center;gap:7px;padding:5px 9px;min-height:34px;border-radius:7px;
  box-shadow:none;border-color:#e1e9e0
}
.admin-workspace .workspace .terminal-pulse-compact strong{font-size:15px;line-height:1}
.admin-workspace .workspace .terminal-pulse-compact span{font-size:10px;line-height:1.2;font-weight:600}
.admin-workspace .workspace .terminal-list-heading{margin:4px 0}
.admin-workspace .workspace .terminal-list-heading h2{font-size:15px}
.admin-workspace .workspace .terminal-filter-row{gap:4px;margin:4px 0 8px}
.admin-workspace .workspace .terminal-filter{font-size:11px;padding:4px 9px;min-height:32px}
.admin-workspace .workspace .terminal-order-list{gap:5px}
.admin-workspace .workspace .terminal-order-card{
  border-radius:7px;border-left-width:4px;box-shadow:none
}
.admin-workspace .workspace .terminal-order-card.terminal-progress-collecting{border-left:4px solid #e1a72f}
.admin-workspace .workspace .terminal-order-card.terminal-progress-processing{border-left:4px solid #3b945f}
.admin-workspace .workspace .terminal-order-card.terminal-progress-cancelled{border-left:4px solid #c94e48}
.admin-workspace .workspace .terminal-order-trigger{
  box-sizing:border-box;min-height:56px;
  grid-template-columns:57px minmax(0,1fr) 42px 118px 13px;
  gap:7px;padding:7px 9px
}
.admin-workspace .workspace .terminal-time{gap:2px}
.admin-workspace .workspace .terminal-time strong{font-size:17px;line-height:1}
.admin-workspace .workspace .terminal-time small{font-size:10px}
.admin-workspace .workspace .terminal-customer{gap:1px;min-width:0}
.admin-workspace .workspace .terminal-customer>strong{font-size:12.5px;line-height:1.25}
.admin-workspace .workspace .terminal-customer>small,
.admin-workspace .workspace .terminal-batch,
.admin-workspace .workspace .terminal-payment-inline{
  font-size:10px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis
}
.admin-workspace .workspace .terminal-quantity strong{font-size:14px}
.admin-workspace .workspace .terminal-quantity small{font-size:9px}
.admin-workspace .workspace .terminal-state .badge{font-size:10px;line-height:1.2;padding:4px 6px}
.admin-workspace .workspace .terminal-detail{padding:10px}
.admin-workspace .workspace .terminal-payment-summary{gap:5px}
.admin-workspace .workspace :is(.terminal-actions,.term-row-actions) .btn{min-height:34px;padding:5px 9px;font-size:11px}
.admin-workspace .workspace .term-stats{gap:6px;margin:5px 0 8px}
.admin-workspace .workspace .term-stats>:is(div,button){padding:7px 9px;min-height:42px;border-radius:8px}
.admin-workspace .workspace .term-stats strong{font-size:16px}
.admin-workspace .workspace .term-stats span{font-size:10px}
.admin-workspace .workspace .term-section-heading h2,
.admin-workspace .workspace .term-heading h1{font-size:19px}
.admin-workspace .workspace .term-schedule-row{padding:8px 10px;gap:7px}
.admin-workspace .workspace .term-row{padding:7px 9px;min-height:53px}
.admin-workspace .workspace .term-row-main strong{font-size:12px}
.admin-workspace .workspace .term-schedule-main strong{font-size:12px}
.admin-workspace .workspace .term-schedule-main .small{font-size:10px}
.admin-workspace .workspace .term-planning-scopes{gap:8px}
@media(max-width:760px){
  .admin-workspace .workspace .terminal-order-trigger{
    grid-template-columns:49px minmax(0,1fr) 35px 13px;min-height:60px;gap:6px;padding:6px 7px
  }
  .admin-workspace .workspace .terminal-time strong{font-size:15px}
  .admin-workspace .workspace .terminal-state{grid-column:2/4;grid-row:2;justify-self:start}
  .admin-workspace .workspace .terminal-state .badge{font-size:10px;padding:2px 6px}
  .admin-workspace .workspace .terminal-quantity{grid-column:3;grid-row:1}
  .admin-workspace .workspace .terminal-chevron{grid-column:4;grid-row:1}
  .admin-workspace .workspace .terminal-customer>strong{font-size:12px}
  .admin-workspace .workspace .terminal-batch{display:none}
  .admin-workspace .workspace .terminal-payment-inline{display:none}
}
@media(max-width:420px){
  .admin-workspace .workspace .terminal-pulse-compact{gap:4px}
  .admin-workspace .workspace .terminal-pulse-compact>div{padding:5px 6px;gap:5px}
  .admin-workspace .workspace .terminal-pulse-compact span{font-size:9.5px}
  .admin-workspace .workspace .terminal-pulse-compact strong{font-size:14px}
}
/* Only collecting cash is a checkbox action. Card/unknown payment choices are read-only. */
.coord-order-payment input:disabled{cursor:not-allowed}

/* Production action is usable without opening the order. Keep quantity next to it. */
.admin-workspace .workspace .terminal-order-card .terminal-order-row{
  display:grid;grid-template-columns:minmax(0,1fr) 62px 118px;align-items:stretch;
  gap:3px;padding:0 7px 0 0;min-width:0
}
.admin-workspace .workspace .terminal-order-card .terminal-row-no-action{
  grid-template-columns:minmax(0,1fr) 62px
}
.admin-workspace .workspace .terminal-order-row>.terminal-order-trigger{
  display:grid;grid-template-columns:57px minmax(0,1fr) auto 13px;
  align-items:center;gap:7px;grid-row:auto;grid-column:auto;
  min-width:0;min-height:57px;padding:7px 7px 7px 10px
}
.admin-workspace .workspace .terminal-order-row>.terminal-quantity{
  grid-row:auto;grid-column:auto;align-self:center;justify-self:center;
  text-align:center;display:grid;gap:2px;min-width:0
}
.admin-workspace .workspace .terminal-order-row>.terminal-quantity strong{font-size:15px;line-height:1.1}
.admin-workspace .workspace .terminal-order-row>.terminal-quantity small{font-size:9px}
.admin-workspace .workspace .terminal-order-row .terminal-state,
.admin-workspace .workspace .terminal-order-row .terminal-chevron{
  grid-row:auto;grid-column:auto;align-self:center
}
.admin-workspace .workspace .terminal-inline-add{
  display:inline-flex;align-items:center;justify-content:center;
  align-self:center;min-height:34px;padding:6px 7px;
  color:#fff;background:#254d39;border:1px solid #254d39;border-radius:7px;
  font:inherit;font-size:10.5px;font-weight:730;white-space:nowrap;cursor:pointer
}
.admin-workspace .workspace .terminal-inline-add:hover{background:#173e2c}
.admin-workspace .workspace .terminal-inline-add.is-added{
  color:#285540;background:#eff4ef;border-color:#adc5b2
}
.admin-workspace .workspace .terminal-inline-add:disabled{opacity:.6;cursor:wait}
.admin-workspace .workspace .terminal-order-row .terminal-customer{min-width:0;overflow:hidden}
.admin-workspace .workspace .terminal-order-row .terminal-customer>small{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
@media(max-width:760px){
  .admin-workspace .workspace .terminal-order-card .terminal-order-row{
    grid-template-columns:minmax(0,1fr) 41px 105px;gap:2px;padding-right:5px
  }
  .admin-workspace .workspace .terminal-order-card .terminal-row-no-action{
    grid-template-columns:minmax(0,1fr) 45px
  }
  .admin-workspace .workspace .terminal-order-row>.terminal-order-trigger{
    grid-template-columns:47px minmax(0,1fr) 10px;grid-template-rows:auto auto;
    gap:2px 4px;min-height:59px;padding:7px 3px 6px 7px
  }
  .admin-workspace .workspace .terminal-order-row .terminal-time{grid-column:1;grid-row:1/3}
  .admin-workspace .workspace .terminal-order-row .terminal-customer{grid-column:2;grid-row:1}
  .admin-workspace .workspace .terminal-order-row .terminal-state{
    grid-column:2;grid-row:2;justify-self:start;max-width:100%
  }
  .admin-workspace .workspace .terminal-order-row .terminal-state .badge{
    font-size:9px;padding:2px 4px
  }
  .admin-workspace .workspace .terminal-order-row .terminal-chevron{
    grid-column:3;grid-row:1/3;align-self:center
  }
  .admin-workspace .workspace .terminal-inline-add{
    min-height:34px;padding:6px 4px;font-size:10px
  }
  .admin-workspace .workspace .terminal-order-row>.terminal-quantity strong{font-size:13px}
  .admin-workspace .workspace .terminal-order-row>.terminal-quantity small{font-size:8px}
}
@media(max-width:370px){
  .admin-workspace .workspace .terminal-order-card .terminal-order-row{
    grid-template-columns:minmax(0,1fr) 35px 96px
  }
  .admin-workspace .workspace .terminal-order-row>.terminal-order-trigger{
    grid-template-columns:42px minmax(0,1fr) 9px;gap:2px 3px
  }
  .admin-workspace .workspace .terminal-order-row .terminal-time strong{font-size:14px}
  .admin-workspace .workspace .terminal-order-row .terminal-customer>strong{font-size:11px}
  .admin-workspace .workspace .terminal-inline-add{font-size:9px}
}

.catalog-admin-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.catalog-admin-nav .btn{min-height:40px}
.company-rules-top{margin:10px 0 4px}
.company-rules-top>summary{cursor:pointer;min-height:42px}
.people-directory-more-fields{min-width:0;max-width:100%}
.people-directory-more-fields label,.people-directory-more-fields select{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
@media(max-width:540px){.people-directory-more-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Firm-first, compact actionable navigation. */
.admin-workspace .workspace .company-overview-card .company-overview-top{gap:7px;margin-bottom:12px;align-items:center}
.admin-workspace .workspace .company-overview-top h2{font-size:17px}
.admin-workspace .workspace .company-overview-top p{font-size:12px;line-height:1.4;margin-top:3px}
.admin-workspace .workspace .company-overview-top .btn{width:auto;min-height:44px;font-size:12px;padding:8px 11px}
.company-action-list{display:grid;border-top:1px solid var(--border,#e1e6df)}
.company-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:8px 2px;background:none;border:0;border-bottom:1px solid var(--border,#e1e6df);text-align:left;color:inherit;font:inherit;cursor:pointer}
.company-action-row:last-child{border-bottom:0}.company-action-row>span:first-child{display:grid;min-width:0;gap:3px}.company-action-row strong{font-size:14px;line-height:1.25}.company-action-row small{font-size:12px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}.company-action-arrow{font-size:22px;color:var(--muted);padding:0 6px}.company-action-row:hover{background:#f4f7f3}.company-action-row:focus-visible{border-radius:6px}
@media(max-width:540px){.admin-workspace .workspace .company-overview-card{padding:12px}.admin-workspace .workspace .company-overview-top h2{font-size:16px}.company-action-row{min-height:52px}.company-action-row strong{font-size:13px}}

/* Company workspace: compact hierarchy and a dedicated financial section. */
.company-staff-switch{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.company-staff-switch .btn{flex:1;min-height:44px}.company-billing-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.company-billing-summary>div{display:grid;gap:6px;border:1px solid #d5e0d8;border-radius:12px;padding:12px;background:#f5f8f5;min-width:0}.company-billing-summary small{color:#425d4d;font-size:13px;overflow-wrap:anywhere}.company-billing-summary strong{font-size:20px;color:#173c35}.company-billing-page>.service-panel{margin-top:20px}.company-action-row:focus-visible{outline:2px solid #256449;outline-offset:-2px}.company-action-row:hover{background:#f2f6f2;border-radius:8px}.company-action-row{padding-inline:8px}.company-action-row strong{font-size:15px}.company-action-row small{font-size:13px}@media(max-width:375px){.company-billing-summary{grid-template-columns:1fr}.company-action-row strong{font-size:14px}}

/* Persistent, accessible request feedback; no automatic replay of writes. */
.connection-banner{position:fixed;z-index:1100;left:50%;transform:translateX(-50%);bottom:calc(82px + env(safe-area-inset-bottom,0px));width:min(calc(100% - 24px),560px);box-sizing:border-box;display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 14px;border:1px solid #d5bd85;border-radius:12px;background:#fff9e9;color:#46391c;box-shadow:0 6px 24px #172a2520}.connection-banner p{margin:4px 0 0;font-size:13px;line-height:1.4}.connection-banner .btn{flex-shrink:0;min-height:44px}.connection-loading{margin:60px auto;max-width:560px}.alert-host .toast{display:flex;align-items:center;justify-content:space-between;gap:12px}.alert-host .toast button{background:transparent;color:inherit;border:0;min-width:44px;min-height:44px;font-size:23px;cursor:pointer}.alert-host .toast.error{max-width:min(560px,calc(100vw - 24px));overflow-wrap:anywhere}.connection-host:empty{display:none}@media(max-width:420px){.connection-banner{align-items:flex-start;flex-direction:column}.connection-banner .btn{width:100%}}

/* Operational handoff: order -> production -> cash. */
.terminal-production-progress{display:block;color:#426453;font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.terminal-production-progress strong{color:#244b3a}
.production-entry-meta .production-entry-delivery{color:#405c4c;font-variant-numeric:tabular-nums}
.terminal-heading-actions .btn{min-height:44px}
@media(max-width:600px){.terminal-screen>.heading-row{align-items:flex-start;flex-wrap:wrap}.terminal-heading-actions{justify-content:flex-start}.terminal-heading-actions .btn{font-size:12px}.production-entry-meta .production-entry-delivery{flex-basis:100%}}

/* Five firm workspaces; history and settings remain contextual subpages. */
.company-section-navigation{display:flex;align-items:flex-start;gap:8px;min-width:0}
.company-section-navigation .company-detail-tabs{flex:1;min-width:0}
.company-context-actions{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;margin-top:12px}
.company-more-menu{flex-shrink:0;display:grid;gap:6px;max-width:100%}
.company-more-menu>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;border:1px solid #d5e0d8;border-radius:9px;padding:6px 12px;color:#294c3a;font-size:13px;font-weight:650;background:#fff;box-sizing:border-box}
.company-more-menu>summary::-webkit-details-marker{display:none}
.company-more-menu>summary::after{content:"⋯";font-weight:750}
.company-more-menu[open]>button{margin-top:5px}
.company-more-menu>summary:focus-visible{outline:2px solid #256449;outline-offset:2px}
.company-context-actions .btn,.company-group-create summary{min-height:44px}
@media(max-width:600px){.company-section-navigation{flex-wrap:wrap}.company-section-navigation .company-detail-tabs{flex-basis:100%}.company-section-navigation .company-more-menu{margin-left:auto}}

/* Sales and kitchen are separate workspaces; keep dense mobile lists readable. */
.catalog-workspace-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.catalog-workspace-switch>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:4px;padding:12px;min-height:64px;border:1px solid #d5e0d8;border-radius:12px;background:#fff;color:#294c3a;min-width:0}
.catalog-workspace-switch>button.selected{background:#edf5ee;border-color:#256449;box-shadow:inset 0 0 0 1px #256449}
.catalog-workspace-switch>button strong{font-size:14px;overflow-wrap:anywhere}
.catalog-workspace-switch>button small{font-size:12px;line-height:1.35;color:#53675b}
.catalog-workspace-switch>button:focus-visible{outline:2px solid #256449;outline-offset:2px}
.kitchen-recipe-list{margin-top:8px}
.kitchen-recipe-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #e8eee8}
.kitchen-recipe-row>div{flex:1;min-width:120px;display:grid;gap:3px}
.kitchen-recipe-row>div small{font-size:12px;color:#53675b}
.kitchen-recipe-row .btn{min-height:44px}
.statistics-finance{margin:12px 0}
.statistics-finance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.statistics-finance-grid>div{display:grid;gap:5px;border:1px solid #e0e8e1;border-radius:10px;padding:12px;background:#fafcf9;min-width:0}
.statistics-finance-grid>div span,.statistics-finance-grid>div small{font-size:12px;color:#53675b;overflow-wrap:anywhere}
.statistics-finance-grid>div strong{font-size:19px;color:#244b3a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(min-width:801px){.statistics-finance-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* NAHIC shared application design tokens — semantic, scoped to the app. */
:root{--ui-primary:#244b3a;--ui-secondary:#557465;--ui-text:#24362d;--ui-muted:#52665a;--ui-surface:#fff;--ui-surface-soft:#f5f5f0;--ui-danger:#9b3836;--ui-outline:#256449;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-radius:14px;--ui-touch:44px;--ui-body:1rem;--ui-meta:.8125rem;--ui-heading:1.75rem;--ui-section:1.1875rem}
@media screen{
 .skip-to-content{position:fixed;top:max(8px,env(safe-area-inset-top,0px));left:8px;z-index:3000;transform:translateY(-200%);padding:12px 16px;background:var(--ui-primary);color:white;border-radius:8px;font-weight:700}
 .skip-to-content:focus{transform:none}
 .nav-grouped,.nav-group{display:grid;gap:var(--ui-space-1)}
 .nav-grouped .nav-kicker{font-size:.75rem;letter-spacing:.04em;text-transform:none;color:#b8d0c4;padding:12px 14px 5px}
 .sidebar{overflow-y:auto;overscroll-behavior:contain}
 .mobile-more-group-label{font-size:var(--ui-meta);font-weight:700;color:var(--ui-muted);padding:12px 13px 4px;border-top:1px solid var(--line);margin-top:4px}
 .app-layout .main:focus-visible{outline:2px solid var(--ui-outline);outline-offset:-2px}
 .app-layout .workspace{color:var(--ui-text)}
 .admin-workspace .workspace :is(.heading-row,.term-heading,.cashdesk-page-title,.production-heading,.offer-admin-head) h1{font-size:clamp(1.5rem,3vw,var(--ui-heading));line-height:1.2;letter-spacing:-.025em}
 .admin-workspace .workspace :is(.card,.cashdesk-section,.company-planning-panel){border-radius:var(--ui-radius)}
 .admin-workspace .workspace .card h2{font-size:var(--ui-section);line-height:1.3}
 .admin-workspace .workspace .muted,.admin-workspace .workspace .footer-note{color:var(--ui-muted)}
 .admin-workspace .workspace :is(.small,.tiny){font-size:var(--ui-meta)}
 .admin-workspace .workspace :is(.btn,.btn.small,.admin-tab,.term-tab,.cashdesk-history-action,.company-action-row,.catalog-compact-row,.terminal-inline-add,.people-directory-actions button){min-height:var(--ui-touch)}
 .admin-workspace .workspace :is(.btn:not(.secondary):not(.ghost):not(.soft):not(.danger):not(.company-delete-button):not(.member-delete-button)){background-color:var(--ui-primary);color:#fff;border-color:var(--ui-primary)}
 .admin-workspace .workspace :is(.btn.secondary,.btn.ghost){color:var(--ui-primary)}
 .admin-workspace .workspace :is(.danger,.is-delete,.dish-archive-button){color:var(--ui-danger)}
 .admin-workspace .workspace :is(.terminal-order-row .terminal-customer>strong,.company-action-row strong,.catalog-main-cell>strong){font-size:.875rem;line-height:1.35}
 .admin-workspace .workspace :is(.terminal-order-row>.terminal-quantity small,.terminal-pulse-compact span,.terminal-state .badge,.terminal-production-progress){font-size:.75rem;line-height:1.35}
 .app-layout :is(button,a,input,select,textarea,summary):focus-visible,[role="dialog"] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--ui-outline);outline-offset:2px}
 .app-layout [role="dialog"]{overscroll-behavior:contain}
 .app-layout .workspace :is(.table-wrap,.admin-main-tabs,.catalog-sales-tabs){max-width:100%;overflow-x:auto}
 .app-layout .workspace :is(.heading-row,.term-heading,.company-overview-top){flex-wrap:wrap}
 .app-layout :is(.workspace,.main,.card,.form,.field){min-width:0}
}
@media screen and (max-width:800px){
 .app-layout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.app-layout select,.app-layout textarea,[role="dialog"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),[role="dialog"] select,[role="dialog"] textarea,.onboarding-shell input{font-size:16px}
 .mobile-nav button{min-height:var(--ui-touch);min-width:var(--ui-touch);flex:1 1 0;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
 .admin-workspace .workspace .terminal-inline-add{min-width:var(--ui-touch);font-size:.75rem;white-space:normal}
 .admin-workspace .workspace .people-directory-actions{flex-wrap:wrap}
 .admin-drawer{padding-top:max(20px,calc(var(--nahic-safe-top,env(safe-area-inset-top,0px)) + 12px));padding-bottom:max(24px,env(safe-area-inset-bottom,0px));max-height:100dvh}
 .mobile-more-panel:not([hidden]){max-height:min(68dvh,540px)}
}
@media screen and (max-width:360px){.mobile-nav button{font-size:.6875rem;padding-inline:3px}.admin-workspace .workspace .terminal-order-row>.terminal-quantity small{font-size:.6875rem}}
@media(prefers-reduced-motion:reduce){.app-layout *,[role="dialog"] *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Account security controls use the shared mobile form spacing. */
.profile-email-security{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#e3e7e2)}
.profile-email-security>.btn,.profile-email-pending>.btn{justify-self:start;min-height:44px}
.profile-email-pending{display:grid;gap:12px;min-width:0;overflow-wrap:anywhere}
.profile-email-security input[name="code"]{font-variant-numeric:tabular-nums;letter-spacing:.14em;font-size:16px}

/* Professional operations panels. Mobile-first; tablet layout is explicit. */
.security-audit-panel,.daily-closing-panel{display:grid;gap:14px;margin-top:16px}
.security-audit-list{display:grid;gap:0}.security-audit-list article{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#e3e7e2);overflow-wrap:anywhere}
.security-audit-list small,.daily-closing-rows small{display:block;color:var(--ui-muted,#52665a);font-size:.8125rem;margin-top:3px}
.daily-closing-date{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.daily-closing-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.daily-closing-totals>div{background:var(--ui-surface-soft,#f5f5f0);border-radius:14px;padding:14px;display:grid;gap:6px}
.daily-closing-totals strong{font-size:clamp(1.25rem,3vw,1.8rem);font-variant-numeric:tabular-nums}
.daily-closing-rows>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line,#e3e7e2)}
.cashdesk-page-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.production-tablet-mode .production-title-row{position:sticky;top:0;z-index:5;background:var(--ui-surface,#fff);padding:10px 0}
.production-tablet-mode .production-entry{min-height:80px;padding-block:12px}
.production-tablet-mode .production-entry-controls button,.production-tablet-mode [data-action="production-quantity"]{min-width:60px;min-height:60px;font-size:1.5rem;touch-action:manipulation}
.production-tablet-mode .production-entry-count{font-size:1.25rem;font-weight:700;font-variant-numeric:tabular-nums}
.production-tablet-mode .production-entry-person,.production-tablet-mode .production-dish-label{font-size:1.125rem}
@media(max-width:540px){.security-audit-list article{grid-template-columns:1fr}.daily-closing-totals{grid-template-columns:1fr}}
