:root{--bg:#f4f6fa;--ink:#17243c;--muted:#738096;--line:#e6eaf1;--accent:#0d8570;--nav:#14283f;--soft:#eaf5f1}
[hidden]{display:none!important}.setup-form{max-width:760px;margin:0 auto}.setup-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.setup-choices label{border:1px solid #dbe1e9;border-radius:10px;padding:18px;cursor:pointer;margin:0}.setup-choices label:has(input:checked){border-color:#0d8570;background:#eaf5f1}.setup-choices input[type="radio"]{display:inline;width:auto;margin-left:8px}.setup-account{border:1px solid #e6eaf1;border-radius:10px;padding:20px;margin:22px 0}.setup-account legend{color:#0d8570;padding:0 8px}.profile-row .secondary{margin-right:auto}.setup-form button{margin:12px 0 0 8px}@media(max-width:600px){.setup-choices{grid-template-columns:1fr}.profile-row{flex-wrap:wrap}}
input[type="checkbox"]{display:inline-block;width:auto;margin:0 0 0 8px;vertical-align:middle}.sidebar{overflow-y:auto}.event{overflow-wrap:anywhere}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 "Segoe UI",Tahoma,Arial,sans-serif}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a.button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.45;margin:8px 0}h2{font-size:20px;margin-bottom:10px}h3{font-size:18px}small{display:block;color:var(--muted);font-size:12px}b{font-weight:650}
.sidebar{position:fixed;inset:0 0 0 auto;width:244px;background:var(--nav);color:#e2ebf2;padding:32px 22px;display:flex;flex-direction:column}.logo{display:flex;gap:15px;align-items:center;font-size:35px;font-weight:700;color:#5ce0ba}.logo span{font-size:27px;color:white}.logo small{font-size:11px;font-weight:400;color:#a3b3c4}.nav-label{font-size:11px;color:#8195aa;margin:45px 14px 12px}.nav-item{display:flex;justify-content:space-between;border-radius:9px;padding:13px 15px;margin:4px 0;color:#b6c5d4}.nav-item span{font-size:11px;opacity:.6}.nav-item:hover,.nav-item.selected{color:white;background:#284359}.sidebar-bottom{margin-top:auto;padding-top:40px}.sidebar-bottom p{font-size:12px;color:#9fb2c4;margin:15px 0}.owner{border-top:1px solid #31445a;padding-top:18px}.owner small{color:#9fb2c4}.text-button{border:0;background:none;color:#b9c9d7;padding:12px 0;font-size:12px}
.main{margin-right:244px;padding:0 38px 45px;max-width:1700px}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);min-height:79px;font-size:13px;color:var(--muted)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 0 24px}.eyebrow{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.3px}.subtle{color:var(--muted);font-size:14px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;border-radius:8px;padding:10px 19px;font-weight:600;font-size:14px;border:1px solid transparent;white-space:nowrap}.primary{background:var(--accent);color:white}.primary:hover{background:#086b5a}.secondary{background:white;border-color:#ccd5e0;color:var(--ink)}.secondary:hover{background:var(--bg)}.full{width:100%}.pill{display:inline-flex;border-radius:6px;background:var(--soft);color:#087763;padding:4px 10px;font-size:11px;font-weight:600}.pill.muted{background:#edf0f5;color:#607087}.notice{background:#edf5ff;border:1px solid #d7e6f9;color:#385b82;border-radius:9px;padding:14px 18px;font-size:13px;margin-bottom:23px}.notice b{margin-left:6px}.notice.danger{background:#fff0ed;border-color:#f7d2cd;color:#a33a30}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.stat{background:white;border:1px solid var(--line);padding:21px 24px;border-radius:12px}.stat>span{font-size:13px;color:var(--muted)}.stat strong{display:block;font-size:36px;font-weight:650;margin:6px 0}.worker-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 0 26px;font-size:13px}.worker-bar>div{display:flex;align-items:center;gap:10px}.status-dot{width:8px;height:8px;border-radius:50%;background:#b3bcc9;display:inline-block}.status-dot.online{background:#13a781;box-shadow:0 0 0 4px #e1f4ed}
.dashboard-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;min-width:0;scroll-margin-top:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.section-heading h2{margin:0}.count{padding:2px 10px;border-radius:7px;background:var(--bg);font-size:12px;color:var(--muted)}.empty{padding:36px 15px;text-align:center}.empty p{color:var(--muted);font-size:13px;max-width:340px;margin:8px auto}.empty-icon{display:inline-block;background:var(--soft);color:var(--accent);font-size:32px;width:62px;height:62px;border-radius:17px;margin-bottom:18px}.profile-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.profile-row:hover{color:var(--accent)}.profile-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--soft);color:var(--accent);border-radius:11px;font-size:22px}.row-arrow{margin-right:auto}.activity{margin-top:24px}.event{display:flex;gap:18px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;overflow-wrap:anywhere}.event-action{font-family:monospace;color:var(--accent)}.event time{margin-right:auto;white-space:nowrap;color:var(--muted);direction:ltr}
.dashboard-access-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.dashboard-access-card{border:1px solid var(--line);border-radius:10px;background:#fbfcfe;padding:14px}.dashboard-access-card small{margin-top:4px;overflow-wrap:anywhere}.feature-list{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.feature-list span{border:1px solid #dbe7e3;background:#f4fbf8;color:#0a6f5f;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:600}.ready-link{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:center;border:1px solid #bfe3d8;background:#f2fbf8;border-radius:10px;padding:14px;margin:16px 0}.ready-link code{direction:ltr;text-align:left;overflow-wrap:anywhere;color:#075f51}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:10px 0 16px}.dashboard-actions form{margin:0}
label{display:block;font-size:13px;font-weight:600;margin:15px 0;color:#42526b}input,select{display:block;width:100%;border:1px solid #dbe1e9;border-radius:7px;padding:10px 12px;background:#fcfdff;color:var(--ink);margin-top:6px;min-width:0}input:focus,select:focus{outline:2px solid #aadccc;outline-offset:1px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #30c4aa;outline-offset:3px}.hint{font-size:12px;color:var(--muted);margin-top:20px;line-height:1.8}.back{font-size:12px;color:var(--accent)}.tabs{display:flex;gap:25px;padding:0 5px 17px;font-size:14px;color:var(--muted)}.tabs a:hover{color:var(--accent)}.entity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.entity-panel{padding:20px}.entity-list{max-height:240px;overflow:auto;margin-bottom:15px}.entity{border-bottom:1px solid var(--line);padding:10px 0;overflow-wrap:anywhere}.entity-list>.subtle{padding:15px 0}details{border-top:1px solid var(--line);padding-top:10px}summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:600}.service-row{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:20px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.service-row label{margin:0}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:right}th{background:#f7f9fc;color:var(--muted);font-weight:500;padding:12px}td{padding:15px 12px;border-bottom:1px solid var(--line)}td code{font-size:10px;overflow-wrap:anywhere;display:block;min-width:180px}.error-card{margin:60px auto;max-width:650px}.error-card p{margin:20px 0}
.kitchen-settings-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;background:#fbfcfe;border:1px solid var(--line);border-radius:10px;margin:12px 0 16px;padding:16px}.kitchen-settings-form .service-name,.settings-save-row{grid-column:1/-1}.settings-save-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.settings-save-row .primary{min-width:280px}
.auth-main{min-height:100vh;display:grid;place-items:center;padding:40px}.login-layout{width:100%;max-width:1050px;display:grid;grid-template-columns:1.2fr 1fr;gap:85px;align-items:center}.login-intro h1{font-size:47px;margin:22px 0}.login-intro p{color:var(--muted);max-width:420px;margin-bottom:35px}.intro-line{display:flex;gap:24px;padding:12px 0;color:var(--accent);font-size:12px;border-bottom:1px solid var(--line)}.intro-line span{font-size:15px;color:var(--ink)}.login-intro>small{margin-top:30px}.login-card{padding:35px;box-shadow:0 18px 60px #1b38560a}.brand-mark{background:var(--nav);color:#5ce0ba;display:grid;place-items:center;width:50px;height:50px;border-radius:12px;font-size:30px;margin-bottom:20px}.login-card h2{font-size:26px}.login-card form{margin-top:25px}
@media(max-width:1100px){.sidebar{width:200px;padding:25px 16px}.main{margin-right:200px;padding:0 24px 35px}.stats{gap:10px}.stat{padding:17px}.entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.worker-bar{align-items:flex-start;flex-direction:column}.login-layout{gap:40px}.service-row{gap:10px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:14px 20px;flex-direction:row;align-items:center;gap:16px}.logo{font-size:24px}.logo span{font-size:22px}.logo small,.nav-label,.sidebar-bottom,.nav-item span{display:none}.nav-item{font-size:12px;padding:8px}.main{margin:0;padding:0 16px 25px}.topbar{min-height:65px;gap:10px}.page-heading{align-items:flex-start;flex-direction:column;padding-top:24px}h1{font-size:27px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{font-size:29px}.dashboard-grid,.entity-grid,.dashboard-access-grid,.ready-link{grid-template-columns:1fr}.dashboard-actions{display:grid}.panel{padding:20px}.worker-bar>div{flex-wrap:wrap}.event{flex-wrap:wrap;gap:8px}.service-row{grid-template-columns:1fr 1fr;padding:18px 0}.service-name{grid-column:1/-1}.login-layout{grid-template-columns:1fr;gap:30px}.login-intro{display:none}.auth-main{padding:20px}.login-card{padding:27px}.section-heading{flex-wrap:wrap}.notice{font-size:12px}}
.danger{display:inline-flex;justify-content:center;align-items:center;border-radius:8px;padding:10px 19px;font-weight:600;font-size:14px;border:1px solid #f3beb8;white-space:nowrap;background:#fff0ed;color:#a33a30}.danger:hover{background:#ffe4df}.profile-row form{margin:0}.muted-row{opacity:.72;background:#fafbfe;margin:0 -12px;padding-right:12px;padding-left:12px;border-radius:10px}
.profile-section-intro{margin:4px 0 24px}
[data-acceptance-field][hidden]{display:none}
[data-acceptance-settings] .hint{grid-column:1/-1;white-space:normal}
[data-acceptance-settings] label{min-width:0}
@media(max-width:600px){[data-acceptance-settings]{grid-template-columns:1fr}}
.profile-launch-row{flex-wrap:wrap;justify-content:space-between;gap:16px}
.profile-launch-identity{display:flex;align-items:center;gap:14px;flex:1 1 220px;min-width:0}
.profile-launch-identity .profile-icon{flex-shrink:0}
.profile-launch-identity b{overflow-wrap:anywhere}
.orders-shortcut{gap:8px;white-space:normal;text-align:center}
.orders-shortcut svg{flex-shrink:0}
.profile-heading-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:600px){.profile-launch-row>.orders-shortcut{width:100%}.profile-heading-actions{width:100%}}
.profile-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.profile-section-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;border:1px solid var(--line);border-radius:18px;background:white;transition:border-color .15s,box-shadow .15s}
.profile-section-card:hover{border-color:var(--accent);box-shadow:0 8px 24px #14283f0c}
.profile-section-icon{display:grid;place-items:center;width:54px;height:54px;background:var(--soft);color:var(--accent);border-radius:15px;margin-bottom:18px}
.profile-section-icon svg{width:29px;height:29px}
.profile-section-card h3{margin-bottom:8px}
.profile-section-card p{color:#526477;font-size:14px;margin-bottom:24px;overflow-wrap:anywhere}
.profile-section-open{color:var(--accent);font-size:13px;font-weight:700;margin-top:auto}
.profile-section-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:24px}
.profile-section-bar a{padding:10px 14px;border-radius:9px;font-size:14px}
.profile-section-bar a[aria-current="page"]{background:var(--nav);color:white}
.profile-section-content .primary,.profile-section-content .secondary,.profile-section-content .danger{white-space:normal;text-align:center}
.profile-section-content .settings-save-row .primary{min-width:0}
.profile-section-content .ready-link>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.profile-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.profile-section-grid{grid-template-columns:1fr}.profile-section-card{padding:20px}.profile-section-content .service-row{grid-template-columns:1fr}.profile-section-content .profile-row{flex-wrap:wrap}.profile-section-bar a{font-size:13px}.sidebar{flex-wrap:wrap}.topbar{flex-wrap:wrap;padding:12px 0}}
@media(prefers-reduced-motion:reduce){.profile-section-card{transition:none}}
/* Shared controls stay readable and reachable across administration and portals. */
input[type="checkbox"],input[type="radio"]{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0;cursor:pointer}
label:has(>input[type="checkbox"]){min-height:44px;padding:10px 12px;border:1px solid #c3cfdc;border-radius:9px;background:#f8fafc;cursor:pointer;line-height:1.8}
label:has(>input[type="checkbox"]:checked){border-color:#72b7a5;background:#eef8f4}
label:has(>input[type="checkbox"]:disabled){cursor:not-allowed}
.primary,.secondary,.danger{min-height:44px;white-space:normal;text-align:center;overflow-wrap:anywhere}
button:disabled{cursor:not-allowed}
.ssl-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.ssl-actions form{margin:0}
@media(max-width:600px){.ssl-actions form,.ssl-actions button{width:100%}}
.operation-summary{padding:20px;border:2px solid #bddbcf;border-radius:12px;background:#f0f8f5;margin-bottom:20px;min-width:0}
.operation-summary h2{margin-bottom:6px}
.operation-summary p{font-size:14px;color:#42566b}
.operation-summary .pill{font-size:13px}
.operation-save{position:sticky;bottom:10px;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px;background:white;border:2px solid #91bdb0;border-radius:12px;margin-top:20px;box-shadow:0 4px 22px #14283f24}
.operation-save small{flex:1 1 200px;color:#42566b}
@media(max-width:760px){.operation-summary{padding:16px}.operation-save{bottom:0}.operation-save .primary{width:100%}.topbar,.page-heading,.section-heading{min-width:0}.page-heading>*{max-width:100%}}
@media(max-height:500px){.operation-save{position:static}}
