:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#20372d;background:#f5f7f2;font-synthesis:none;--green:#245f45;--deep:#173f30;--muted:#768178;--line:#e5eae1;--cream:#f4eddd;--shadow:0 10px 35px #243a2510}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bd9d58;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #3d7957;outline-offset:2px}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}input,textarea,select{color:#20372d}input[type=date]{max-width:100%;min-width:0}textarea{resize:vertical;line-height:1.8}input,textarea,select{width:100%;border:1px solid #dfe5dc;background:#fafbf8;border-radius:12px;padding:14px 15px;font-size:16px}label{display:block}small{font-size:12px}button.primary,.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border-radius:14px;padding:15px 22px;font-weight:600;min-height:52px}button.primary:hover{background:#1c4e38}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 16px;border:1px solid var(--line);background:white;color:var(--green);border-radius:12px;min-height:46px}.text-button{background:none;color:var(--green);display:inline-flex;align-items:center;gap:5px;padding:10px 0;font-weight:600}.icon-button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#fff;border:1px solid var(--line);border-radius:50%;color:var(--green)}.muted{color:var(--muted)}.tiny{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#768b6c}.header{border-bottom:1px solid var(--line);background:#f9faf6}.header-inner{max-width:1120px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:2px}.brand-mark{width:40px;height:40px;background:var(--green);border-radius:13px;display:flex;align-items:center;justify-content:center;color:#fff}.brand-mark svg{width:27px;height:27px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;font-weight:500;margin-top:2px}.header-right{display:flex;align-items:center;gap:18px;font-size:13px;color:var(--muted)}.header-right .place{display:flex;align-items:center;gap:5px}.header-right svg{width:16px;height:16px}.page{max-width:1120px;margin:auto;padding:35px 32px 45px}.welcome{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px;gap:16px}.welcome h1{font-size:29px;letter-spacing:-.5px;margin:8px 0}.welcome p{font-size:14px;color:var(--muted);line-height:1.7}.sync{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:#6e8274}.sync-dot{width:6px;height:6px;border-radius:50%;background:#689369}.sync.offline{color:#b46832}.sync.offline .sync-dot{background:#b46832}.date-banner{position:relative;overflow:hidden;border:1px solid #dde6d7;background:#eaf0e3;border-radius:22px;padding:25px 28px;margin-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:16px}.date-main{z-index:1}.date-label{font-size:12px;color:#667759;display:flex;gap:6px;align-items:center;margin-bottom:12px}.date-label svg{width:15px;height:15px}.date-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}.date-number{font-size:34px;font-weight:650;letter-spacing:-1.5px}.weekday{font-size:14px;color:#586c52}.deadline{margin-top:12px;font-size:13px;line-height:1.7;color:#65725f;display:flex;align-items:center;gap:6px}.deadline svg{width:15px;height:15px}.status-pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#fff9;border:1px solid #d7e2cf;border-radius:30px;padding:7px 11px;font-size:12px;color:var(--green)}.status-pill.closed{color:#7a776f;background:#f9f8f2}.status-pill span{width:5px;height:5px;background:currentColor;border-radius:50%}.banner-art{position:absolute;width:205px;height:150px;right:25px;bottom:-20px;color:#648257;opacity:.12;transform:rotate(-10deg)}.banner-art svg{width:100%;height:100%;stroke-width:.8}.banner-status{z-index:1;align-self:flex-start}.employee-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:25px;box-shadow:0 3px 15px #20372d02}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.heading-title{display:flex;align-items:center;gap:9px}.heading-title svg{color:#658166;width:20px;height:20px}.card h2{font-size:18px;font-weight:650}.card-heading small{color:var(--muted);font-size:11px}.meal-row{display:flex;gap:14px;padding:20px 0;border-bottom:1px dashed var(--line)}.meal-row:first-child{padding-top:0}.meal-row:last-child{border-bottom:none;padding-bottom:3px}.meal-icon{height:43px;width:43px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#fbf2de;color:#b08b48;flex-shrink:0}.meal-icon.lunch{background:#eaf0e4;color:#668259}.meal-icon.dinner{background:#efedf7;color:#8e80aa}.meal-content{flex:1;min-width:0}.meal-title{font-size:14px;font-weight:650;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.meal-title span{font-weight:400;color:#98a18f;font-size:10px;letter-spacing:.6px}.dishes{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#556052}.pending-menu{color:#a3aa9b;font-size:13px;font-weight:400}.menu-note{margin-top:22px;border-radius:11px;background:#f8f9f4;font-size:12px;color:#859077;padding:13px;display:flex;align-items:flex-start;gap:8px;line-height:1.7}.menu-note svg{width:16px;height:16px;margin-top:2px}.form-label{font-size:13px;font-weight:600;margin-bottom:9px}.profile-line{display:grid;grid-template-columns:1fr 112px;gap:12px;margin-bottom:23px}.department-value{height:50px;display:flex;align-items:center;gap:8px;background:#f2f5ed;border-radius:12px;padding:12px;color:#64715b;font-size:14px}.department-value svg{width:17px;height:17px}.meal-choice-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0;gap:12px}.choice-label{font-size:14px;display:flex;align-items:center;gap:10px}.choice-label svg{width:18px;height:18px;color:#839575}.segmented{display:flex;gap:5px;background:#f4f6f0;padding:4px;border-radius:11px}.option{cursor:pointer;position:relative;min-width:68px;text-align:center;border-radius:8px;color:#92998a;font-size:13px}.option input{position:absolute;opacity:0;width:1px;height:1px;padding:0}.option span{display:block;padding:10px 13px;border:1px solid transparent;border-radius:8px}.option input:checked+span{background:white;border-color:#d8e3d0;color:var(--green);box-shadow:0 2px 5px #405c3510;font-weight:650}.option input:focus-visible+span{outline:2px solid var(--green)}.option input:disabled+span{opacity:.65}.selection-help{font-size:11px;color:#8d9784;margin:17px 0 20px;line-height:1.7}.form-actions .primary{width:100%}.form-footnote{font-size:11px;text-align:center;color:#8f9888;margin-top:12px;line-height:1.7}.record{padding:13px 14px;border:1px solid #d6e6cf;background:#f2f8ee;border-radius:12px;color:var(--green);font-size:13px;line-height:1.8;margin-bottom:18px;display:flex;gap:8px}.record svg{width:18px;height:18px;margin-top:2px}.record strong{display:block}.error-box{background:#fff4ed;border:1px solid #efd2bd;color:#a65128;padding:13px;border-radius:12px;font-size:13px;line-height:1.7;margin:12px 0}.below-note{margin:25px 0 0;text-align:center;color:#9aa38f;font-size:12px;display:flex;justify-content:center;align-items:center;gap:7px}.below-note svg{width:14px;height:14px}.footer{display:flex;align-items:center;justify-content:space-between;max-width:1056px;margin:5px auto 0;border-top:1px solid var(--line);padding:24px 0;font-size:11px;color:#9aa38f}.footer a{color:#7f8b77}.bottom-nav{display:none}.toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);max-width:min(90vw,450px);width:max-content;z-index:100;background:#203d2ff2;color:white;padding:13px 20px;border-radius:12px;font-size:14px;box-shadow:var(--shadow);line-height:1.7}.loading-screen{display:grid;place-content:center;min-height:80vh;text-align:center;gap:20px;color:var(--green)}.loading-screen h1{font-size:24px}.loading-screen p{font-size:14px;color:var(--muted)}.loading-dot{height:32px;width:32px;border:3px solid #d9e4d0;border-top-color:var(--green);border-radius:50%;margin:auto;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-wrap{max-width:440px;margin:50px auto 90px}.login-icon{width:64px;height:64px;background:#eaf0e3;border-radius:20px;display:flex;align-items:center;justify-content:center;color:var(--green);margin:0 auto 22px}.login-icon svg{width:30px;height:30px}.login-wrap h1{text-align:center;font-size:25px;margin-bottom:12px}.login-wrap .intro{text-align:center;color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:30px}.login-wrap .primary{width:100%;margin-top:20px}.login-wrap .back{display:block;text-align:center;margin-top:22px;font-size:13px;color:var(--muted)}.admin-tabs{display:flex;gap:6px;background:#e9ede3;border-radius:13px;padding:5px;width:fit-content;margin-bottom:24px}.admin-tabs button{border-radius:9px;background:transparent;color:#839078;padding:12px 24px;display:flex;gap:7px;align-items:center;font-size:14px}.admin-tabs button.active{background:#fff;color:var(--green);box-shadow:0 2px 6px #3149250a;font-weight:600}.admin-tabs svg{width:18px;height:18px}.admin-date{display:flex;align-items:center;gap:10px}.admin-date input{width:166px;background:white;padding:11px;font-size:14px}.admin-date button{font-size:12px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.stat-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px;position:relative;color:#253f2e}.stat-card.active{border-color:#5c8151;box-shadow:0 0 0 2px #5c815119}.stat-card .stat-label{font-size:13px;color:#7b8972;display:flex;justify-content:space-between;align-items:center}.stat-card .stat-number{font-size:44px;font-weight:650;letter-spacing:-1px;margin:18px 0 7px;display:block;line-height:1}.stat-card small{font-size:12px;color:#97a08f;font-weight:400;letter-spacing:0;margin-left:5px}.stat-card .stat-hint{font-size:11px;color:#8f9b84}.stats-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:10px}.stats-heading h2{font-size:17px}.stats-heading p{font-size:12px;color:var(--muted);margin-top:8px}.summary-text{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dce5d4;background:#edf3e7;border-radius:14px;padding:15px 18px;font-size:14px;line-height:1.8;margin-bottom:24px}.summary-text .text-button{flex-shrink:0;padding:4px}.summary-text svg{width:17px;height:17px}.people-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.people-heading h2{font-size:17px}.people-heading select{width:125px;padding:9px;font-size:12px}.person{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.person:last-child{border-bottom:0}.avatar{height:36px;width:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eff3e9;color:#7a8b6b;font-size:13px}.person-name{flex:1;font-size:14px;overflow-wrap:anywhere}.person-name small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.meal-tags{display:flex;gap:5px;flex-shrink:0}.meal-tags span{border-radius:6px;background:#edf3e7;color:#648352;font-size:11px;padding:5px 7px}.meal-tags .no-meal{background:#f3f3ef;color:#8a9381}.empty-state{padding:35px 10px;text-align:center}.empty-state svg{width:36px;height:36px;color:#aebca0;margin-bottom:12px}.empty-state p{font-size:14px;color:#7c8c71;line-height:1.8}.empty-state small{display:block;color:#a0aa95;margin-top:6px;line-height:1.7}.menu-editor{max-width:700px;margin:auto}.editor-block{margin-bottom:23px}.editor-block .meal-title{justify-content:start;gap:8px;margin-bottom:10px}.editor-block .meal-title svg{color:#859775;width:19px;height:19px}.editor-block textarea{min-height:100px;background:#fafbf8}.editor-note{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.8;color:#7b8a70;margin-bottom:23px;padding:12px;background:#f4f7ef;border-radius:10px}.editor-note svg{width:16px;height:16px;flex-shrink:0}.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.share-card{text-align:center}.share-card h2{margin-bottom:9px}.share-card p{color:var(--muted);font-size:13px;line-height:1.8}.share-card .qr-image{width:220px;max-width:100%;margin:15px auto;display:block;border-radius:16px}.share-card .primary{margin-top:8px;font-size:14px}.share-address{margin-bottom:24px}.share-address summary{cursor:pointer;font-size:13px;color:#7a886e;padding:4px}.share-address label{font-size:12px;margin:16px 0 8px}.address-row{display:flex;gap:10px}.share-notice{font-size:12px;line-height:1.8;color:#89947d;margin-top:12px}.local-notice{background:#fbf2e3;color:#967746;border:1px solid #ecdcbf;border-radius:11px;padding:12px 14px;font-size:12px;line-height:1.8;margin-bottom:18px}dialog{border:1px solid var(--line);border-radius:24px;padding:28px;width:min(92vw,420px);color:#20372d;box-shadow:0 30px 100px #10271830;max-height:90dvh;overflow:auto}dialog::backdrop{background:#1e382e6b;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-top h2{font-size:19px}.dialog-top .icon-button{width:34px;height:34px}.dialog-qr{width:100%;max-width:290px;display:block;margin:auto}.dialog-note{text-align:center;font-size:12px;color:var(--muted);margin:15px 0;line-height:1.8}.dialog-download{width:100%}.hidden,[hidden]{display:none!important}.admin-alert{margin-bottom:20px}.chip{font-size:11px;color:#708a5f;background:#edf3e6;padding:5px 8px;border-radius:7px}.card-subtitle{font-size:12px;color:var(--muted);margin:8px 0 20px;line-height:1.8}.report-layout{max-width:850px;margin:auto}.unsaved{color:#a07b3b;font-size:12px}.inline-date{font-size:12px;color:var(--muted)}
@media(min-width:761px){.employee-grid>.card{min-height:425px}.employee-page .menu-column{position:sticky;top:24px}.only-mobile{display:none}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}}
@media(max-width:760px){.header-inner{padding:16px 20px}.brand{font-size:20px;gap:9px}.brand-mark{height:36px;width:36px;border-radius:11px}.brand small{font-size:9px}.header-right{gap:12px;font-size:12px}.header-right .desktop-link{display:none}.page{padding:25px 18px calc(100px + env(safe-area-inset-bottom))}.welcome{margin-bottom:20px;align-items:center}.welcome h1{font-size:25px;margin:6px 0}.welcome p{font-size:12px}.welcome .eyebrow{font-size:10px}.welcome .sync{font-size:10px}.date-banner{padding:21px 20px;border-radius:18px;margin-bottom:19px;gap:4px}.date-number{font-size:30px}.weekday{font-size:12px}.date-label{font-size:11px;margin-bottom:10px}.deadline{font-size:11px;gap:4px;margin-top:10px}.date-line{gap:8px}.status-pill{font-size:10px;padding:6px 8px}.banner-art{width:155px;height:120px;right:-5px;bottom:-20px}.employee-grid{display:flex;flex-direction:column;gap:18px}.employee-grid>*{width:100%}.card{padding:20px;border-radius:18px}.card-heading{margin-bottom:18px}.card h2{font-size:16px}.heading-title{gap:7px}.card-heading small{font-size:10px}.meal-row{padding:16px 0;gap:12px}.meal-icon{width:36px;height:36px;border-radius:11px}.meal-icon svg{width:20px;height:20px}.meal-title{font-size:13px;margin-bottom:5px}.dishes{font-size:13px;line-height:1.75}.meal-title span{font-size:9px}.menu-note{padding:10px;font-size:11px;margin-top:16px}.profile-line{grid-template-columns:1fr 100px;gap:10px;margin-bottom:20px}.form-label{font-size:12px}.meal-choice-row{margin:12px 0}.option{min-width:66px}.selection-help{margin:14px 0 18px}.form-footnote{font-size:10px}.below-note{font-size:10px;line-height:1.8;margin-top:20px}.footer{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffefaf5;border-top:1px solid #e4e9df;backdrop-filter:blur(14px);padding:9px 15px calc(9px + env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button,.bottom-nav a{background:none;display:flex;flex-direction:column;align-items:center;gap:5px;color:#98a18e;font-size:10px;min-width:66px;padding:3px 8px}.bottom-nav .active{color:var(--green);font-weight:650}.bottom-nav svg{width:21px;height:21px}.admin-tabs{display:none}.admin-date{margin-top:16px;gap:8px;justify-content:space-between}.admin-date input{flex:1;width:150px}.admin-welcome{display:block}.admin-welcome .welcome-text{display:flex;align-items:center;justify-content:space-between}.stat-grid{gap:9px;margin-bottom:18px}.stat-card{border-radius:15px;padding:16px 13px}.stat-card .stat-label{font-size:12px}.stat-card svg{width:17px;height:17px}.stat-card .stat-number{font-size:34px;margin-top:17px}.stat-card .stat-hint{font-size:9px}.stat-card small{font-size:10px;margin-left:4px}.stats-heading h2{font-size:16px}.stats-heading p{font-size:11px}.summary-text{font-size:12px;padding:13px;margin-bottom:18px;align-items:start}.summary-text .text-button{font-size:11px}.people-heading h2{font-size:15px}.people-heading select{width:108px;font-size:11px}.person{gap:10px}.person-name{font-size:13px}.meal-tags span{font-size:10px;padding:5px}.avatar{width:33px;height:33px}.login-wrap{margin:30px auto}.login-wrap .card{padding:27px 22px}.share-grid{grid-template-columns:1fr;gap:18px}.share-card .qr-image{width:210px}.share-card .primary{width:100%}.share-address{margin-bottom:18px}.address-row{flex-direction:column}.address-row .secondary{width:100%}.editor-block{margin-bottom:22px}.editor-block textarea{min-height:110px}.menu-editor .primary{width:100%}.editor-note{font-size:11px}.local-notice{font-size:11px}.toast{font-size:13px}.admin-alert{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}@media(max-width:360px){.page{padding-left:12px;padding-right:12px}.header-inner{padding-left:16px;padding-right:16px}.date-banner{padding:18px 15px}.date-number{font-size:27px}.card{padding:17px}.header-right .place{display:none}.stat-card{padding:15px 10px}.weekday{font-size:11px}.people-heading h2{display:flex;flex-direction:column;align-items:flex-start;gap:6px}}
.option span{min-height:44px;display:flex;align-items:center;justify-content:center}.stat-card .stat-hint{font-size:12px}.stat-card .stat-label{font-size:14px}.people-heading .chip{white-space:nowrap}.form-label{display:block}.admin-welcome h1{font-size:clamp(23px,3vw,29px)}
.submitted-list{border:1px solid #dce7d5;background:#f5f9f1;border-radius:14px;padding:14px;margin-bottom:24px}.submitted-list h3{font-size:14px;margin-bottom:8px}.submitted-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e1e9dc}.submitted-person strong{font-size:14px;overflow-wrap:anywhere}.submitted-person small{display:block;color:#798970;font-size:12px;line-height:1.7;margin-top:3px}.submitted-person .text-button{flex-shrink:0;min-height:44px}.person-draft{min-width:0;border:1px solid #e1e7da;border-radius:14px;padding:15px;margin:0 0 20px}.person-draft legend{padding:0 7px;color:#60814e;font-size:13px;font-weight:600}.draft-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.draft-heading .form-label{margin:0;font-size:14px}.draft-heading .text-button{font-size:12px;min-height:40px}.add-person{width:100%;border:1px dashed #9bb58d;background:#f5f9f1;font-size:15px}.person-draft .meal-choice-row:last-child{margin-bottom:0}@media(max-width:360px){.person-draft{padding:12px}.person-draft .option{min-width:56px}.person-draft .choice-label{gap:5px}.person-draft .segmented{gap:3px}}

.admin-date{flex-wrap:wrap}.admin-date .secondary{white-space:nowrap}.person-name small{line-height:1.6}@media(max-width:420px){.admin-date input{flex-basis:100%;width:100%}.admin-date .secondary{flex:1}.person{flex-wrap:wrap}.person .meal-tags{margin-left:auto}}

.home-counts{margin-bottom:22px}.count-day{padding:12px 0;border-top:1px solid var(--line)}.count-day h3{font-size:14px;margin-bottom:12px}.home-count-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.home-count-grid>div{background:#f2f6ec;padding:12px;border-radius:12px}.home-count-grid span,.home-count-grid small{display:block;font-size:12px;color:var(--muted)}.home-count-grid strong{display:block;font-size:28px;color:var(--green);margin-top:4px}.home-count-grid strong small{display:inline;margin-left:4px}.menu-entry{width:100%;margin-top:18px}.extra-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.extra-inputs label{font-size:13px;line-height:2}.extra-summary{padding:16px;background:#f1f5e8;border-radius:12px;margin-bottom:20px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}#menu-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #dce5d5;border-radius:20px;padding:24px;background:#fffefb;color:var(--ink)}#menu-dialog::backdrop{background:#18352577}#menu-dialog .editor-block{margin-top:18px}#menu-dialog .primary{width:100%}#extras-form .primary{margin-top:20px}#extras-form .form-footnote{margin-top:12px}@media(max-width:360px){.home-count-grid>div{padding:10px}.extra-inputs{gap:7px}.extra-inputs label{font-size:11px}}

@media(max-width:700px){.header-right{gap:10px}.header-right .desktop-link{display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-size:12px}}

.mode-switch{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:12px;color:var(--green);background:#fff;font-size:13px;font-weight:600}.mode-switch svg{width:18px;height:18px}.home-counts summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;font-weight:650;list-style:none;gap:12px}.home-counts summary::-webkit-details-marker{display:none}.collapse-hint{font-size:12px;font-weight:400;color:var(--muted)}.home-counts[open] summary{margin-bottom:14px}.home-counts:not([open]){padding-top:10px;padding-bottom:10px}@media(max-width:700px){body{padding-bottom:0}.page{padding-bottom:28px}.admin-tabs{display:flex;gap:6px;margin-bottom:18px}.admin-tabs button{flex:1;padding:12px 5px;font-size:12px;white-space:nowrap}.admin-tabs svg{width:16px;height:16px}.employee-page{padding-top:18px}}

.single-qr{grid-template-columns:minmax(0,520px);justify-content:center}.verify-submission{width:100%;margin-bottom:12px}.verify-submission[hidden]{display:none}.person-draft:disabled{opacity:.7}.person-draft input{font-size:17px}.form-actions .primary{min-height:54px}.single-qr .qr-image{width:min(100%,280px)}

/* Keep the background still in mobile browsers while the editor scrolls. */
html.modal-open{overflow:hidden;overscroll-behavior:none}
html.modal-open body{position:fixed;left:0;right:0;width:100%;overflow:hidden}
#menu-dialog{min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
#menu-dialog>*{min-width:0;max-width:100%}
#menu-dialog h2:focus{outline:none}
#menu-day{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:50px}
#menu-day::-webkit-date-and-time-value{min-width:0;text-align:left}
#menu-day::-webkit-datetime-edit{min-width:0;padding:0}
.connection-warning{padding:10px 16px;background:#fff2e5;color:#8b4b1e;font-size:13px;line-height:1.6;text-align:center}
