:root{--page: #f6f2ea;--surface: #ffffff;--brand: #382a22;--text: #292722;--muted: #66645e;--border: #e4ded3;--accent: #536b51;--action: #426448;--action-hover: #34543a;--success: #2f704c;--pending: #a66326;--error: #b5453c}*{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif;color:var(--text);background:var(--page)}a{color:var(--brand);text-underline-offset:4px}header{background:var(--brand);color:var(--surface);display:flex;flex-direction:column;gap:20px;padding:24px;border-bottom:1px solid var(--border)}nav{display:flex;gap:24px}main{padding:32px 24px;margin:auto}.employee main{max-width:640px}h1{font-size:32px}h2{font-size:20px}p{line-height:1.7}.eyebrow{color:var(--muted)}section{margin-top:32px;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}@media(min-width:900px){header{flex-direction:row;justify-content:space-between;align-items:center;padding:28px 48px}.admin main{max-width:1200px;padding:48px}}.auth-panel{max-width:520px}.auth-panel label{display:block;margin:18px 0;line-height:1.6}.auth-panel input{display:block;width:100%;min-height:44px;padding:10px;margin-top:6px;border:1px solid var(--border);border-radius:6px;font:inherit}.auth-panel button{min-height:44px;padding:10px 20px;margin:8px 12px 0 0;border:0;border-radius:6px;background:var(--action);color:var(--surface);font:inherit;cursor:pointer}.auth-panel button:disabled{opacity:.6;cursor:wait}.auth-panel [role=alert]{color:var(--error)}.auth-panel:has(.management){max-width:none}.management{margin-top:24px;background:var(--surface)}.management nav{flex-wrap:wrap;gap:8px}.management nav button[aria-pressed=true]{background:var(--accent);outline:2px solid var(--accent);outline-offset:2px}.management label,.portal label{display:block;margin:16px 0;line-height:1.6}.management input,.management select,.management textarea,.portal input,.portal select,.portal textarea{display:block;width:100%;max-width:560px;min-height:44px;padding:10px;margin-top:6px;border:1px solid var(--border);border-radius:6px;font:inherit;background:var(--surface)}.management textarea,.portal textarea{min-height:96px;resize:vertical}.management .check,.portal .check{display:flex;gap:10px;align-items:center}.management .check input{width:20px;min-height:20px;height:20px;margin:0;flex-shrink:0}fieldset{border:1px solid var(--border);border-radius:6px;margin-top:18px}button,.button{min-height:44px;padding:10px 18px;margin:8px 10px 0 0;border:0;border-radius:6px;background:var(--action);color:var(--surface);font:inherit;cursor:pointer}.button{display:inline-block;text-decoration:none}button:disabled{opacity:.6;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[role=alert]{color:var(--error)}.hint,small{color:var(--muted)}.records{list-style:none;padding:0}.records li{padding:18px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.records li>span{display:block;margin-top:6px;color:var(--muted)}.records p{margin:8px 0;white-space:pre-wrap}@media(max-width:600px){section{padding:16px}.management{padding:12px}main{padding:24px 12px}}.table-scroll{overflow-x:auto;margin-top:20px;max-width:100%}.employee-summary table{border-collapse:collapse;width:100%;min-width:1120px;font-size:14px}.employee-summary th,.employee-summary td{text-align:left;vertical-align:top;padding:14px 12px;border-bottom:1px solid var(--border)}.employee-summary thead th{background:var(--page);white-space:nowrap}.employee-summary tbody tr:nth-child(2n){background:color-mix(in srgb,var(--page) 55%,var(--surface))}.employee-summary td{overflow-wrap:anywhere}.employee-summary .store-cell{margin-bottom:10px;min-height:22px}.admin-badge{display:block;margin-top:5px;font-weight:400}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workbench .welcome{border-bottom:1px solid var(--border);padding-bottom:18px}.workbench section{margin-top:22px;padding:18px;background:var(--surface)}.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-details div{min-width:0}.profile-details dt{color:var(--muted);font-size:14px;margin-bottom:6px}.profile-details dd{margin:0;overflow-wrap:anywhere}.store-tools nav{flex-wrap:wrap;gap:8px}.store-tools button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:420px){.profile-details{grid-template-columns:1fr}.workbench section{padding:14px}}header a{color:var(--surface)}button:hover:not(:disabled),.button:hover{background:var(--action-hover);color:var(--surface)}.management nav button[aria-pressed=true]:hover{background:var(--accent)}.status-success{color:var(--success)}.status-pending{color:var(--pending)}.status-error{color:var(--error)}.attendance-table{border-collapse:collapse;width:100%;min-width:620px}.attendance-table th,.attendance-table td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}.attendance-table thead th{background:var(--page)}.attendance-table small{display:block}.schedule-table{min-width:2200px;font-size:.9rem}.schedule-table th,.schedule-table td{border:1px solid var(--border);padding:.4rem;min-width:64px}.schedule-table thead th{background:var(--page)}.schedule-table small{display:block;font-weight:400;white-space:nowrap}.schedule-table input{width:90px;padding:.35rem}.schedule-cell{min-width:56px;width:100%;padding:.45rem .25rem;border-radius:.3rem}details{margin:1.25rem 0;border-top:1px solid var(--border);padding-top:1rem}summary{cursor:pointer;font-weight:700;padding:.5rem 0}.schedule-table{border-collapse:separate;border-spacing:0}.schedule-table th:first-child,.schedule-table td:first-child{position:sticky;left:0;min-width:80px;max-width:80px;background:var(--surface);z-index:1}.schedule-table th:nth-child(2),.schedule-table td:nth-child(2){position:sticky;left:80px;min-width:80px;max-width:80px;background:var(--surface);z-index:1}.schedule-table thead th:first-child,.schedule-table thead th:nth-child(2){background:var(--page);z-index:2}.schedule-table .schedule-cell{padding:.45rem .25rem;margin:0;background:var(--surface);color:var(--muted);border:1px solid var(--border)}.schedule-table .schedule-cell.has-shift{background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--text);border-color:var(--accent)}.schedule-table .schedule-cell:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 22%,var(--surface))}.employee main{max-width:860px;padding:24px 18px 110px}.employee .portal{margin:0;padding:0;border:0;background:transparent}.employee .workbench-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:8px 4px 24px}.workbench-top h1{margin:4px 0 18px;font-size:clamp(22px,4.6vw,36px);letter-spacing:-.04em;line-height:1.25;color:var(--brand)}.user-greeting{text-align:right;flex-shrink:0;max-width:40%}.user-greeting p{margin:10px 0 2px;line-height:1.4;font-size:16px;overflow-wrap:anywhere}.user-greeting small{font-size:12px}.user-greeting .avatar-button{display:block;width:58px;height:58px;min-height:0;margin:0 0 0 auto;padding:0;border-radius:50%;background:var(--accent);font-size:28px}.portal .shop-switch{position:relative;display:inline-flex;align-items:center;margin:0;padding:0 8px 0 12px;background:var(--surface);border:1px solid var(--border);border-radius:30px;max-width:100%}.portal .shop-switch select{width:auto;max-width:190px;padding:10px 2px 10px 8px;margin:0;border:0;background:transparent;font-weight:600;border-radius:30px}.shop-switch svg{flex-shrink:0;color:var(--brand)}.modern-workbench section{margin:24px 0 0;padding:24px;border-radius:22px}.modern-workbench .today-card{margin-top:0;background:linear-gradient(120deg,#382a22,#503c2e);border:0;color:#fff;padding:26px 24px 20px;border-radius:26px}.today-heading{display:flex;gap:16px;align-items:center}.today-heading>svg{width:38px;height:38px;flex-shrink:0}.today-heading h2{font-size:27px;margin:0;letter-spacing:.02em}.today-heading p{margin:3px 0 0;font-size:13px;color:#e4ded3}.today-heading button{display:flex;gap:8px;align-items:center;background:#fff;color:var(--brand);border-radius:50px;white-space:nowrap;padding:10px 18px;margin:0 0 0 auto;font-weight:600}.today-heading button:hover:not(:disabled){background:var(--action-hover);color:var(--surface)}.today-heading button svg{width:15px;height:15px}.today-empty{display:flex;gap:12px;align-items:center;padding:20px 16px;border-radius:18px;margin-top:24px;background:#ffffff0f}.today-empty>svg{flex-shrink:0;width:30px;height:30px;opacity:.75}.today-empty strong{font-size:15px;font-weight:500}.today-empty p{margin:6px 0 0;font-size:12px;color:#e4ded3}.today-empty .development-badge{flex-shrink:0;margin-left:auto;color:#f6f2ea;background:#ffffff1a}.development-badge,.available-badge{display:inline-block;font-size:11px;font-weight:500;border-radius:6px;padding:3px 7px;line-height:1.5;white-space:nowrap}.development-badge{background:#f3eee5;color:var(--muted)}.available-badge{color:var(--success);background:#e8f1e7}.live-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.live-shortcuts button{display:flex;align-items:center;gap:8px;justify-content:flex-start;background:var(--surface);color:var(--brand);margin:0;border:1px solid var(--border);border-radius:14px;padding:14px;font-weight:600}.live-shortcuts button>svg:last-child{margin-left:auto;width:14px;height:14px}.live-shortcuts button>svg:first-child{color:var(--accent)}.live-shortcuts button:hover:not(:disabled),.function-grid button:hover:not(:disabled),.module-list button:hover:not(:disabled){background:var(--action-hover);color:var(--surface)}.modern-workbench .common-functions{padding:0;border:0;background:transparent;margin-top:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-heading h2{font-size:23px;margin:0;letter-spacing:-.02em}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading button{display:inline-flex;align-items:center;gap:4px;background:transparent;color:var(--muted);padding:4px 0;margin:0;min-height:32px;font-size:13px}.section-heading button:hover:not(:disabled){background:transparent;color:var(--brand)}.section-heading svg{width:16px;height:16px}.toolbar-divider{height:18px;width:1px;background:var(--border)}.function-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.function-grid .function-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:var(--surface);color:var(--brand);border:1px solid var(--border);border-radius:20px;margin:0;padding:20px 8px 14px;min-width:0}.tile-icon{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;background:#f4f1eb;border-radius:20px;flex-shrink:0;color:var(--accent)}.tile-icon svg{width:42px;height:42px}.function-tile strong{font-size:clamp(14px,2.5vw,20px);font-weight:600}.function-tile.daily .tile-icon{color:var(--brand)}.function-tile.cupping .tile-icon,.function-tile.archive .tile-icon{color:#918574}.function-tile.reports .tile-icon{color:var(--pending)}.modern-workbench .recent-card{padding:24px}.recent-card ul{margin:0;padding:0;list-style:none}.recent-card li{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);padding:18px 0}.recent-card li:first-child{border-top:0;padding-top:2px}.recent-card li:last-child{padding-bottom:0}.record-icon{background:#f4f1eb;color:var(--accent);width:48px;height:48px;border-radius:14px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0}.recent-card li button{padding:0;margin:0;min-width:0;text-align:left;color:var(--text);background:transparent}.recent-card li button:hover:not(:disabled){background:transparent;color:var(--text)}.recent-card li small{display:block;font-size:12px;margin-top:5px}.record-status{background:#e8f1e7;color:var(--success);font-size:12px;padding:5px 9px;border-radius:8px;margin-left:auto;white-space:nowrap}.recent-card li>svg{width:14px;color:var(--muted);flex-shrink:0}.empty-copy{color:var(--muted);font-size:14px;margin:8px 0 0}.bottom-navigation{position:fixed;bottom:0;left:0;right:0;width:100%;display:flex;justify-content:space-around;gap:0;border-top:1px solid var(--border);background:#fffffff5;padding:10px max(12px,calc((100vw - 820px)/2)) max(8px,env(safe-area-inset-bottom));z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-navigation button{display:flex;flex:1;flex-direction:column;align-items:center;gap:3px;background:transparent;color:#888176;margin:0;padding:0 8px;font-size:13px}.bottom-navigation button svg{width:26px;height:26px}.bottom-navigation button i{width:20px;height:3px;border-radius:3px;background:transparent}.bottom-navigation button[aria-current=page]{color:var(--brand);font-weight:600}.bottom-navigation button[aria-current=page] i{background:var(--brand)}.bottom-navigation button:hover:not(:disabled){background:transparent;color:var(--brand)}.modern-workbench .back-link{padding:8px 0;margin:0;background:transparent;color:var(--muted)}.module-placeholder{text-align:center;padding:40px 24px!important}.module-placeholder>.tile-icon{display:flex;margin:0 auto 16px}.module-placeholder h2{margin-top:16px}.module-list>button{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:16px 0;background:transparent;color:var(--text);text-align:left;border-bottom:1px solid var(--border)}.module-list .tile-icon{width:46px;height:46px;border-radius:12px}.module-list .tile-icon svg{width:26px;height:26px}.module-list>button>span:nth-child(2){min-width:0;flex:1}.module-list small{display:block;font-size:12px;margin-top:4px}.module-list>button>svg{width:14px;flex-shrink:0}.shortcut-editor{padding:16px;background:#fff;border:1px solid var(--border);border-radius:16px;margin-bottom:16px}.portal .shortcut-editor label{display:inline-flex;align-items:center;gap:8px;margin:8px 16px 8px 0;font-size:14px}.portal .shortcut-editor input{width:18px;min-height:18px;margin:0}.membership-notice{font-size:14px;color:var(--pending)}@media(max-width:480px){.employee main{padding:20px 14px 105px}.workbench-top h1{font-size:24px;margin-top:8px}.user-greeting .avatar-button{width:46px;height:46px;font-size:24px}.user-greeting p{font-size:14px}.user-greeting small{font-size:10px}.portal .shop-switch{padding-left:10px}.portal .shop-switch select{max-width:140px;font-size:14px}.modern-workbench .today-card{padding:22px 16px 16px;border-radius:23px}.today-heading{gap:10px}.today-heading>svg{width:30px;height:30px}.today-heading h2{font-size:23px}.today-heading p{font-size:11px}.today-heading button{font-size:13px;padding:8px 12px}.today-empty{padding:16px 12px;gap:10px;margin-top:20px}.today-empty strong{font-size:13px}.today-empty p{font-size:11px}.today-empty .development-badge{display:none}.modern-workbench .recent-card{padding:20px 16px}.function-grid{gap:8px}.function-grid .function-tile{border-radius:16px;padding:16px 5px 12px;gap:8px}.tile-icon{width:54px;height:54px;border-radius:16px}.tile-icon svg{width:34px;height:34px}.section-heading h2{font-size:22px}.section-heading>div{gap:8px}.section-heading button{font-size:12px}.section-heading svg{width:14px}.recent-card li{gap:8px}.record-icon{width:38px;height:42px;border-radius:10px}.record-status{padding:4px 6px;font-size:11px}.recent-card li small{font-size:10px}.module-list>button{gap:8px}.module-list .tile-icon{width:36px;height:40px}}.store-picker{position:relative;width:fit-content;max-width:100%}.store-picker .store-picker-trigger{display:flex;align-items:center;gap:10px;margin:0;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--brand);font-size:15px;font-weight:600;max-width:100%}.store-picker-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.store-picker-trigger svg{flex-shrink:0}.store-picker .store-picker-trigger:hover:not(:disabled){background:var(--surface);border-color:var(--accent)}.store-picker-trigger[aria-expanded=true]{border-color:var(--accent)}.store-picker-menu{position:absolute;left:0;top:calc(100% + 8px);min-width:190px;max-width:min(280px,calc(100vw - 40px));max-height:280px;overflow-y:auto;z-index:20;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 10px 30px #382a221a}.store-picker-menu [role=option]{display:flex;justify-content:space-between;gap:16px;padding:12px;border-radius:7px;color:var(--text);cursor:pointer;overflow-wrap:anywhere}.store-picker-menu [role=option].is-active{background:var(--page)}.store-picker-menu [aria-selected=true]{color:var(--accent);font-weight:600}.store-picker-menu:focus{outline:none}@media(max-width:480px){.store-picker .store-picker-trigger{font-size:14px;gap:8px}.store-picker-trigger span{max-width:125px}}.modern-workbench .espresso-module{padding:0;border:0;background:transparent}.coffee-tabs{display:flex;align-items:center;gap:24px;margin:18px 0 24px}.coffee-tabs button{margin:0;background:var(--accent);padding:12px 22px;border-radius:8px;font-weight:600}.coffee-tabs>span{color:var(--muted)}.coffee-tabs small{display:inline-block;margin-left:5px;font-size:10px}.espresso-standard,.espresso-entry{background:#ffffffb8;padding:24px;border:1px solid var(--border);border-radius:18px;margin-bottom:18px}.espresso-standard h2{margin:0 0 20px;font-size:20px}.espresso-standard dl{margin:0}.espresso-standard dl>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.espresso-standard dt{color:var(--muted)}.espresso-standard dd{margin:0;font-weight:700;letter-spacing:.03em}.espresso-standard>p{font-size:12px;margin-bottom:0}.coffee-choices{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.coffee-choices button{padding:9px 14px;margin:0;min-height:38px;border:1px solid #d9c9b3;border-radius:24px;background:#ffffffb8;color:#827563;font-size:14px}.coffee-choices button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.coffee-choices button:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 15%,var(--surface));color:var(--brand)}.espresso-entry .section-heading{margin-bottom:4px}.espresso-entry .section-heading h2{font-size:22px}.espresso-author{font-size:13px;color:var(--muted);margin-top:0}.espresso-entry fieldset{margin:0;padding:0;border:0}.portal .espresso-input{display:flex;align-items:center;gap:12px;padding:5px 14px;margin:16px 0;min-height:44px;background:#e7e9de;border:1px solid #cdd2be;border-radius:12px;font-weight:600}.espresso-input>span:first-child{flex-shrink:0}.espresso-input>span:last-child{color:#827563;font-size:13px;font-weight:400}.portal .espresso-input input{flex:1;min-width:0;width:100%;min-height:32px;padding:0;margin:0;border:0;background:transparent;text-align:right;color:var(--text)}.espresso-entry h3{margin-bottom:12px;font-size:16px}.flavor-choices{display:flex;flex-wrap:wrap;gap:8px}.portal .flavor-choices label{margin:0;position:relative}.portal .flavor-choices input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.flavor-choices label span{display:inline-block;padding:9px 12px;border:1px solid #d9c9b3;border-radius:24px;color:#827563;font-size:13px}.flavor-choices input:checked+span{color:var(--accent);border-color:var(--accent);background:#e7e9de}.flavor-choices input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.portal .espresso-adjustment{border:1px solid #d9c9b3;padding:14px;border-radius:12px;margin-top:20px;font-weight:600}.portal .espresso-adjustment textarea{border:0;background:#fff;font-weight:400;margin-top:12px}.espresso-entry .espresso-submit{width:100%;margin:8px 0 0;background:var(--accent);border-radius:10px;padding:15px;font-weight:600}.espresso-history h2{font-size:17px}.espresso-history .section-heading{margin-bottom:0}.espresso-history>.hint{font-size:12px}.espresso-history ul,.espresso-admin-records{padding:0;margin:0;list-style:none;border:1px solid var(--border);border-radius:16px;overflow:hidden}.espresso-record{padding:18px;background:#fffdf8;border-bottom:1px solid var(--border);touch-action:pan-y}.espresso-record:last-child{border-bottom:0}.espresso-record.is-current{background:#e5e9de}.espresso-record-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.espresso-record-heading strong{font-size:14px}.record-check{border:2px solid var(--accent);color:var(--accent);width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.espresso-tags{display:inline-flex;gap:6px;margin-left:auto}.espresso-tags .record-status{margin:0;font-size:11px;padding:3px 7px}.espresso-not-passed{color:var(--pending);background:#fff0dc;font-size:11px;padding:3px 7px;border-radius:8px}.espresso-record>p{color:var(--muted);margin:8px 0 3px 32px;font-size:13px}.espresso-values{margin-left:32px;font-size:14px;overflow-wrap:anywhere}.espresso-record details{padding-top:8px;margin:10px 0 0 32px;font-size:12px}.espresso-record details p{margin:4px 0}.espresso-record>button{margin:10px 0 0 32px;padding:6px 12px;font-size:12px;min-height:36px;border-radius:8px;background:var(--accent)}@media(max-width:480px){.espresso-standard,.espresso-entry{padding:20px 16px}.espresso-record{padding:14px 10px}.espresso-record-heading strong,.espresso-values{font-size:12px}.espresso-record>p{font-size:12px}.espresso-tags{gap:4px}.espresso-tags .record-status{font-size:10px}}.espresso-record.is-today{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.portal .espresso-input input{max-width:none}.coffee-settings{margin:1.5rem 0}.coffee-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.coffee-settings-heading h3{margin:0}.coffee-settings-heading button{background:#536b51}.coffee-settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:1rem 0}.coffee-settings-tabs button{background:transparent;color:#66645e;border:1px solid transparent}.coffee-settings-tabs button[aria-pressed=true]{background:#536b51;color:#fff}.coffee-option-list{padding:0;list-style:none;display:grid;gap:.75rem}.coffee-option-list>li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem;background:#fff;border:1px solid #E4DED3;border-radius:1rem;min-width:0}.coffee-option-list>li>div:first-child{min-width:0;overflow-wrap:anywhere}.coffee-option-list p{color:#66645e;margin:.4rem 0 0;white-space:pre-wrap}.coffee-usage{display:inline-block;padding:.2rem .6rem;border-radius:1rem;background:#eee7d9;color:#66645e;font-size:.85rem}.coffee-usage.is-active{background:#e6ecdf;color:#536b51}.coffee-option-actions{display:flex;gap:.4rem;flex-shrink:0}.coffee-option-actions button{background:transparent;color:#382a22;border:1px solid #E4DED3;padding:.5rem .65rem}@media(max-width:480px){.coffee-option-list>li{align-items:flex-start;flex-direction:column}.coffee-option-actions{align-self:flex-end}}.cold-step-one{margin:1.5rem 0;padding:1rem;border:1px solid #E4DED3;border-radius:1rem;background:#fff}.cold-step-one form,.cold-batch form{margin:1rem 0 0}.cold-batch-list{list-style:none;padding:0;display:grid;gap:1rem}.cold-batch{background:#fff;border:1px solid #E4DED3;border-radius:1rem;padding:1.1rem;min-width:0;overflow-wrap:anywhere}.cold-batch h4{margin:0;font-size:1.1rem}.cold-batch p{white-space:pre-wrap}.cold-status{padding:.25rem .6rem;border-radius:1rem;font-size:.85rem;white-space:nowrap}.cold-status.soaking{color:#a66326;background:#fff1dc}.cold-status.completed{color:#2f704c;background:#e8f2e6}.cold-status.discarded{color:#b5453c;background:#faece6}.cold-actions,.cold-pagination{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.cold-batch .secondary{background:#fff;border:1px solid #E4DED3;color:#b5453c}.daily-toolbar,.daily-item-actions,.daily-upload-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.daily-progress{background:#382a22;color:#f6f2ea;border-radius:1rem;padding:1.25rem;margin:1rem 0;display:flex;gap:.75rem;justify-content:space-between;flex-wrap:wrap}.daily-category{border:1px solid #E4DED3;border-radius:1rem;background:#fff;margin:1rem 0;padding:1rem}.daily-category>summary{display:flex;justify-content:space-between;gap:.5rem;align-items:center;cursor:pointer;list-style:none}.daily-category>summary:before{content:"▸";color:#536b51}.daily-category[open]>summary:before{content:"▾"}.daily-category summary strong{flex:1}.daily-category .is-pending{color:#a66326;background:#fff1dc;padding:.2rem .6rem;border-radius:1rem;font-size:.85rem}.daily-category .is-complete{color:#2f704c;background:#e8f2e6;padding:.2rem .6rem;border-radius:1rem;font-size:.85rem}.daily-category>ul{list-style:none;padding:0;margin:.75rem 0 0}.daily-item{border-top:1px solid #E4DED3;padding:1rem 0;min-width:0}.daily-item:first-child{border-top:0}.daily-item-heading{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.daily-check{display:flex;align-items:center;gap:.75rem;margin:0;flex:1;overflow-wrap:anywhere}.daily-check input{width:1.5rem;height:1.5rem;margin:0;accent-color:#536B51;flex-shrink:0}.daily-check span{min-width:0}.daily-abnormal{background:#e8ecdf;color:#536b51;padding:.4rem .65rem;border-radius:1rem;flex-shrink:0}.daily-abnormal.selected{color:#b5453c;background:#fae5de}.daily-completer{display:block;color:#66645e;font-size:.8rem;margin:.6rem 0 .5rem 2.25rem}.daily-completer span{display:block;margin-top:.2rem}.daily-note{color:#b5453c;white-space:pre-wrap;overflow-wrap:anywhere}.daily-photos{display:flex;gap:.5rem;flex-wrap:wrap;margin:.6rem 0}.daily-photos img{display:block;width:96px;height:96px;object-fit:cover;border-radius:.5rem;border:1px solid #E4DED3}.daily-editor{background:#f6f2ea;border-radius:.75rem;padding:.75rem;margin:.75rem 0}.daily-editor fieldset{padding:0;border:0}.daily-upload-actions label{max-width:100%}.daily-upload-actions input[type=file]{position:static;display:block;box-sizing:border-box;width:100%;max-width:100%;height:auto;opacity:1;padding:.5rem;margin:.5rem 0;cursor:pointer;font-size:.85rem}.daily-upload-actions input[type=file]::file-selector-button{padding:.65rem .8rem;margin-right:.5rem;border:1px solid #536B51;border-radius:.5rem;background:#fff;color:#536b51;font:inherit;cursor:pointer}.daily-revisions{background:#f6f2ea;border-radius:.5rem;padding:.5rem}.daily-revisions>div{margin:.5rem 0}.daily-settings{border:1px solid #E4DED3;border-radius:1rem;padding:1rem;margin:1rem 0;background:#fff}.daily-config-row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;border-bottom:1px solid #E4DED3;padding:.5rem 0}.daily-config-row>label:first-child{flex:1;min-width:12rem}.daily-bulk-add{margin:.75rem 0}.daily-upload-actions input:focus-visible{outline:2px solid #536B51;outline-offset:2px}.daily-upload-actions input:disabled{opacity:.5;cursor:not-allowed}.portal .daily-check,.management .daily-check{display:flex;gap:.75rem;align-items:center;margin:0;line-height:1.5}.daily-check input[type=checkbox]{display:inline-block;min-height:24px;height:24px;width:24px;max-width:24px;padding:0;margin:0;flex:0 0 24px}.daily-work .check input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:20px;max-width:20px;padding:0;margin:0;flex:0 0 20px;accent-color:#536B51}.inventory-module{min-width:0}.inventory-heading,.inventory-actions,.inventory-exports{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.inventory-heading h2,.inventory-heading h3,.inventory-heading h4{margin:0}.inventory-create,.inventory-settings,.inventory-submit,.inventory-unknown,.inventory-missed{background:#fff;border:1px solid #E4DED3;border-radius:18px;padding:1.1rem;margin:1rem 0}.inventory-settings details{margin:1rem 0;padding:1rem;border:1px solid #E4DED3;border-radius:12px}.inventory-settings form{display:grid;gap:.8rem}.inventory-group{padding:.8rem;border:1px solid #E4DED3;border-radius:12px}.inventory-product-picker{max-height:360px;overflow:auto;margin:.8rem 0}.inventory-picker-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 0;border-bottom:1px solid #E4DED3}.portal .inventory-module .check{display:flex;flex-direction:row;align-items:center;gap:.6rem;margin:.5rem 0;font-size:.95rem}.portal .inventory-module .check input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#536B51}.inventory-module small{display:block;font-size:.8rem;color:#66645e;font-weight:400;margin:.25rem 0}.inventory-batches{display:grid;gap:.8rem}.portal .inventory-batch-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;width:100%;background:#fff;color:#292722;border:1px solid #E4DED3;border-radius:14px;padding:1rem}.inventory-count-list{display:grid;gap:0;margin:1rem 0}.portal .inventory-count-list label{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:.75rem;padding:.85rem 0;border-bottom:1px solid #E4DED3}.portal .inventory-count-list input{min-width:0;width:100%}.inventory-summary{color:#fff;background:#382a22;border-radius:14px;padding:1rem}.inventory-results{border:1px solid #E4DED3;border-radius:14px;background:#fff;padding:1rem;margin:.8rem 0}.inventory-results summary,.inventory-missed summary{cursor:pointer;font-weight:700}.inventory-results article{padding:1rem 0;border-bottom:1px solid #E4DED3}.inventory-results article:last-child{border:0}.inventory-results article.over strong{color:#a66326}.inventory-exports a{color:#536b51;font-size:.9rem}.inventory-module .hint{color:#66645e;font-size:.9rem;line-height:1.6}.inventory-unknown{border-color:#a66326}.inventory-actions button{flex:1 1 160px}@media(max-width:600px){.inventory-batch-card{flex-wrap:wrap}.inventory-product-picker{max-height:280px}.inventory-heading label{width:100%}.inventory-heading h2{font-size:1.5rem}}.portal .inventory-detail{border:0;padding:0;margin:0;background:transparent}.portal .inventory-count-list label{margin:0}.inventory-request-id{overflow-wrap:anywhere;font-size:.85rem;-webkit-user-select:all;user-select:all}.inventory-daily-switch{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.inventory-daily-switch button{padding:.35rem .5rem;font-size:.8rem}.inventory-catalog-warnings{background:#fff4e6;border:1px solid #A66326;border-radius:12px;padding:1rem}.inventory-picker-row{flex-wrap:wrap}section.cupping{width:100%;max-width:900px;margin:0 auto;padding-bottom:110px;overflow-wrap:anywhere}.cup-public{max-width:720px;padding:20px 14px 110px}.cup-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.cup-title h2{margin:4px 0}.cup-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:18px;margin:14px 0}.cup-card h3,.cup-card h4{margin:4px 0 14px}.cupping button,.cupping .button{min-height:46px;touch-action:manipulation}.cupping input:not([type=checkbox]),.cupping textarea,.cupping select{width:100%;max-width:100%;min-height:46px}.cupping fieldset{min-width:0}.cupping details>summary{cursor:pointer;min-height:44px;padding:10px 0}.cupping details>summary small{display:block;font-size:.82rem;color:var(--muted);font-weight:400;margin-top:5px}.cupping .hint{font-size:.86rem;line-height:1.6}.cup-inline{display:flex!important;align-items:center;gap:10px}.cup-inline input{width:22px!important;height:22px;min-height:22px!important;flex-shrink:0}.cup-event-list{display:grid;gap:10px}.cup-event-button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;color:var(--text);gap:8px;margin:0}.cup-event-button span,.cup-event-button small{color:var(--muted)}.cup-phases,.cup-view-tabs{display:flex;gap:6px;margin:14px 0;overflow-x:auto;flex-wrap:nowrap}.cup-phases{position:sticky;top:0;z-index:5;background:var(--page);padding:8px 0}.cup-phases button{flex:1;background:transparent;color:var(--muted);border-radius:0;border:0;border-bottom:3px solid transparent;padding:10px 8px;white-space:nowrap}.cup-phases button[aria-pressed=true]{color:var(--brand);border-bottom-color:var(--brand);font-weight:700}.cup-view-tabs button{background:var(--surface);color:var(--brand);white-space:nowrap}.cup-view-tabs button[aria-pressed=true],.cup-segment button[aria-pressed=true],.cup-sample-buttons button[aria-pressed=true]{background:var(--brand);color:#fff}.cup-segment{display:flex;gap:6px;margin:10px 0}.cup-segment button{flex:1;background:var(--page);color:var(--brand)}.cup-sample-bar{display:flex;align-items:center;gap:14px;margin-top:18px}.cup-sample-bar>strong{font-size:1.35rem;white-space:nowrap}.cup-sample-buttons{display:flex;gap:6px;overflow:auto;min-width:0}.cup-sample-buttons button{background:#fff;color:var(--brand);min-width:50px;padding:10px;flex-shrink:0}.cup-sample-meta{font-size:.86rem;color:var(--muted)}.cup-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.cup-chips button,.cup-chips span{background:var(--page);color:var(--brand);border:1px solid var(--border);border-radius:12px;padding:10px 15px}.cup-chips button[aria-pressed=true]{background:#e4ebe0;border-color:var(--accent);color:var(--accent);font-weight:700}.cup-subtags{padding:8px;background:var(--page);border-radius:12px}.cup-score-row{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:14px 4px;background:transparent;color:var(--text);border:0;border-bottom:1px solid var(--border);border-radius:0;text-align:left}.cup-score-row:disabled{opacity:1}.cup-cup-check{padding:14px 0;border-bottom:1px solid var(--border)}.cup-cup-check h4{display:flex;justify-content:space-between}.cup-cup-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cup-cup-buttons button{background:var(--page);color:var(--text);padding:8px}.cup-cup-buttons button[aria-pressed=true]{background:#fae8c8;color:#814b14;border-color:#b1772e}.cup-editor-footer{position:sticky;bottom:78px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px;margin:16px 0}.cup-editor-footer span{font-size:.8rem;color:var(--success);max-width:50%}.cup-public .cup-editor-footer,.admin .cup-editor-footer{bottom:8px}.cup-dialog-backdrop{position:fixed;inset:0;background:#29272270;z-index:100;display:flex;justify-content:center;align-items:flex-end}.cup-score-picker{width:100%;max-width:560px;background:var(--surface);border-radius:24px 24px 0 0;padding:22px 18px max(22px,env(safe-area-inset-bottom));max-height:85dvh;overflow:auto}.cup-score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.cup-score-grid button{background:var(--page);color:var(--brand);padding:10px 4px}.cup-score-grid button[aria-pressed=true]{background:var(--accent);color:#fff}.cup-total{display:flex;justify-content:space-between;font-size:1.5rem}.cup-error{color:var(--error);border:1px solid var(--error);background:#fff;padding:14px;border-radius:12px}.cup-host button{margin:5px 6px 5px 0}.cup-roster{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--border)}.cup-roster span{color:var(--muted);font-size:.85rem}.cup-qr{display:block;width:260px;max-width:100%;margin:10px auto}.cupping pre{white-space:pre-wrap;word-break:break-word;font-size:.8rem}.cupping dl>div{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid var(--border)}.cupping-workbench>.workbench-top,.cupping-workbench>.back-link,.cupping-workbench>.membership-notice,.cupping-workbench>.bottom-navigation{display:none}.modern-workbench section.cupping{margin:0;padding:0;background:transparent;border:0;border-radius:0}.modern-workbench .cupping .cup-card{padding:14px;margin:12px 0;border-radius:16px}.modern-workbench .cupping .cup-score-picker{margin:0;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.cup-session>.cup-title{margin:4px 0 8px;gap:8px}.cup-session>.cup-title .eyebrow{font-size:.75rem;margin:0 0 3px}.cup-session>.cup-title h2{font-size:1.12rem;line-height:1.4;margin:0}.cup-session>.cup-title>div{flex:1;min-width:0}.cup-back{background:transparent!important;color:var(--brand)!important;padding:6px 0!important;border:0!important;min-height:40px!important}.cup-activity-tools{border-bottom:1px solid var(--border);font-size:.85rem}.cup-activity-tools>summary{min-height:38px!important;padding:8px 0!important;color:var(--muted)}.cup-activity-tools .cup-view-tabs{margin:6px 0}.cup-sample-bar{position:sticky;top:0;z-index:8;background:var(--page);padding:8px 0;margin:10px 0 0;min-height:62px}.cup-sample-bar>strong{max-width:50%;overflow:hidden;text-overflow:ellipsis}.cup-sample-meta{margin:4px 0 8px}.cup-phases{top:62px;margin:0;padding:4px 0;z-index:7}.cup-editor-footer,.cup-public .cup-editor-footer,.admin .cup-editor-footer{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(calc(100% - 28px),860px);margin:0;z-index:40}@media(max-width:480px){.cupping .cup-title>button{padding:9px 12px}.cup-chips button{padding:9px 12px}.cupping .cup-score-row{padding:12px 4px}}section.cupping{background:transparent;border:0;border-radius:0}.cupping.cup-public{padding:20px 14px 110px}.cup-editor-footer span[data-state=error]{color:var(--error)}.cup-editor-footer span[data-state=pending]{color:var(--pending)}.coffee-choices button[aria-pressed=true],.cupping .cup-view-tabs button[aria-pressed=true],.cupping .cup-segment button[aria-pressed=true],.cupping .cup-sample-buttons button[aria-pressed=true],.cupping .cup-score-grid button[aria-pressed=true],.cupping .cup-chips button[aria-pressed=true]{background:var(--action);border-color:var(--action);color:#fff}.cupping button:hover:not(:disabled),.cupping button:active:not(:disabled),.coffee-choices button:hover:not(:disabled),.coffee-choices button:active:not(:disabled){background:var(--action-hover);color:#fff}.attendance-correction,.attendance-correction fieldset,.attendance-correction label{min-width:0;max-width:100%}.attendance-correction input[type=date],.attendance-correction input[type=datetime-local]{min-width:0;width:100%;max-width:100%;box-sizing:border-box;font-size:16px}.attendance-correction input::-webkit-date-and-time-value{min-width:0;text-align:left}.attendance-correction input::-webkit-datetime-edit{min-width:0;padding:0}.sensory-learning a{overflow-wrap:anywhere}.sensory-learning article{border:1px solid var(--border);border-radius:12px;padding:16px;margin:16px 0;background:var(--surface)}.sensory-learning li{margin:10px 0;line-height:1.7}.live-shortcuts button:hover:not(:disabled)>svg:first-child{color:inherit}.daily-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px}.daily-toolbar>label{display:grid;grid-template-columns:minmax(0,1fr);grid-column:1 / -1;min-width:0;margin:0}.daily-toolbar>button{min-width:0;width:100%;margin:0}.daily-toolbar>button:last-child{grid-column:1 / -1}.attendance-correction fieldset{min-inline-size:0;inline-size:100%;margin-inline:0}.attendance-correction fieldset>label{display:grid;grid-template-columns:minmax(0,1fr);min-inline-size:0}.attendance-correction legend{max-inline-size:100%;white-space:normal}.daily-toolbar input[type=date],.attendance-correction input[type=date],.attendance-correction input[type=datetime-local]{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;inline-size:100%;min-inline-size:0;max-inline-size:100%;min-height:46px;font-size:16px}.daily-toolbar input::-webkit-date-and-time-value,.attendance-correction input::-webkit-date-and-time-value{min-width:0;max-width:100%;text-align:left}@media(min-width:640px){.daily-toolbar{grid-template-columns:minmax(0,1fr) repeat(3,auto)}.daily-toolbar>label,.daily-toolbar>button:last-child{grid-column:auto}}.daily-config-row{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:.4rem}.daily-config-row>label:first-child{min-width:0;margin:0}.daily-config-row input:not([type=checkbox]){min-width:0;width:100%;margin:0;padding:.55rem}.daily-config-row .check{display:flex;align-items:center;gap:.25rem;margin:0;white-space:nowrap;font-size:.8rem}.daily-config-row .check input{width:18px;min-height:18px;height:18px;margin:0}.daily-config-row button{margin:0;padding:.3rem;min-height:44px;font-size:1.3rem}.daily-settings fieldset{min-width:0;padding:.5rem;border:0}.daily-settings details{margin:.75rem 0}.daily-settings summary{cursor:pointer;padding:.6rem 0;font-weight:600}.tv-host .tv-controls{display:flex;flex-wrap:wrap;gap:.5rem}.tv-host fieldset{min-width:0}.tv-launch{display:inline-block;padding:.8rem 1rem;border-radius:.7rem;background:#555ee7;color:#fff;font-weight:700;text-decoration:none}.tv-root{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;display:flex;align-items:center;justify-content:center;background:#eceef5;color:#182038;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif}.tv-root:fullscreen{background:#eceef5}.tv-stage{margin:0;border:0;border-radius:0;container-type:inline-size;width:min(100vw,177.777vh);aspect-ratio:16/9;background:#fff;padding:3.6%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.tv-stage .tv-header{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:1rem;padding:0;border:0;background:#fff;color:#182038}.tv-eyebrow{font-size:1.05cqw;letter-spacing:.14em;color:#6c7285;font-weight:700}.tv-header h1{margin:.65cqw 0 0;font-size:3cqw;font-weight:500;line-height:1.2;max-width:75cqw;overflow-wrap:anywhere}.tv-mark{font-size:3.4cqw;line-height:1;font-weight:900;color:#343a78;letter-spacing:-.12em}.tv-mark span{color:#6668ec}.tv-sample-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:2cqw 0}.tv-sample-heading h2{font-size:1.6cqw;font-weight:500;margin:0}.tv-sample-heading>span{color:#6c7285;font-size:1.1cqw}.tv-score-view{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:6cqw;flex:1;min-height:0;align-items:center}.tv-score-lines{display:grid;gap:1.35cqw}.tv-score-row{--tv-color:#5d64e8}.tv-color-1{--tv-color:#ff7376}.tv-color-2{--tv-color:#343a78}.tv-color-3{--tv-color:#9990e9}.tv-score-label{display:flex;justify-content:space-between;font-size:1.3cqw;margin-bottom:.55cqw}.tv-scale{height:.4cqw;background:#e8e9ee;position:relative;margin-right:.5cqw}.tv-scale-fill{background:var(--tv-color);height:100%;transition:width .8s ease}.tv-scale-dot{width:1.15cqw;height:1.15cqw;border-radius:50%;background:var(--tv-color);border:.18cqw solid white;position:absolute;top:50%;transform:translate(-50%,-50%);transition:left .8s ease}.tv-scale-limits{display:flex;justify-content:space-between;font-size:1cqw;color:#767b8a}.tv-total{text-align:center}.tv-total>span{font-size:1.5cqw}.tv-total>strong{display:block;font-size:8.4cqw;line-height:1.2;font-weight:600;letter-spacing:-.04em;color:#555ee7;font-variant-numeric:tabular-nums}.tv-total>p{font-size:1.25cqw;color:#6c7285}.tv-bases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1cqw;margin:2cqw 0}.tv-bases span{display:block;font-size:1.05cqw;color:#6c7285;margin-bottom:.5cqw}.tv-bases b{font-size:1.65cqw;font-weight:500}.tv-total>small{font-size:.95cqw;color:#6c7285}.tv-stage .tv-footer{display:flex;justify-content:space-between;gap:1rem;padding:1.5cqw 0 0;background:#fff;color:#6c7285;font-size:1.1cqw;margin-top:auto}.tv-wait{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column}.tv-wait>span{font-size:2.4cqw}.tv-wait>strong{font-size:9cqw;line-height:1.3;color:#555ee7;font-weight:500}.tv-wait strong small{font-size:3cqw;color:#a0a4b5}.tv-wait>p{font-size:1.5cqw;margin:.5cqw}.tv-wait>small{font-size:1.2cqw;color:#6c7285}.tv-join{flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:4cqw;align-items:center}.tv-join h2{font-size:3cqw;font-weight:500}.tv-join p{font-size:1.4cqw;color:#6c7285}.tv-join strong{font-size:6cqw;color:#555ee7;font-weight:500}.tv-join strong small{font-size:1.5cqw;color:#182038}.tv-qr{text-align:center}.tv-qr img{width:23cqw;max-width:100%;display:block;margin:auto}.tv-qr p{font-size:1.2cqw}.tv-screen-tools{position:fixed;z-index:5;top:.5rem;left:.5rem;display:flex;gap:1rem;opacity:0;transition:opacity .2s}.tv-screen-tools:focus-within,.tv-screen-tools:hover{opacity:1}.tv-screen-tools a,.tv-screen-tools button{font-size:13px;color:#182038;background:#fff;padding:.5rem;border:1px solid #ddd;border-radius:.3rem;text-decoration:none}.tv-error{position:fixed;z-index:6;bottom:0;left:0;right:0;background:#fff1db;color:#743b17;padding:.6rem;text-align:center;font-size:14px}.tv-error button{margin-left:1rem}.tv-loading{text-align:center;padding:2rem}@media(prefers-reduced-motion:reduce){.tv-scale-fill,.tv-scale-dot{transition:none}}.tv-word-cloud{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}.tv-word-cloud svg{width:100%;min-height:0;flex:1;font-family:system-ui,sans-serif}.tv-word-cloud text{transition:font-size .6s ease,fill .6s ease}.tv-word-cloud .hint{font-size:1.1cqw;margin:0;color:#666}@media(prefers-reduced-motion:reduce){.tv-word-cloud text{transition:none}}.tv-options{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.tv-options label{display:flex;align-items:center;gap:.5rem}.tv-options input{width:auto}.tv-composed{display:flex;flex:1;min-height:0;gap:2cqw}.tv-results{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.tv-join-sidebar{width:14%;align-self:center;text-align:center;font-size:1.1cqw}.tv-join-sidebar img{width:100%}.tv-cloud-position{transition:transform .85s cubic-bezier(.22,.68,.2,1)}.tv-cloud-enter{animation:tv-cloud-grow .7s cubic-bezier(.16,1,.3,1) both;transform-origin:0 0}.tv-word-cloud text{transition:font-size .85s cubic-bezier(.22,.68,.2,1),fill .85s ease}@keyframes tv-cloud-grow{0%{transform:scale(.05);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.tv-cloud-position,.tv-word-cloud text{transition:none}.tv-cloud-enter{animation:none}}.tv-both .tv-results{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:2.5cqw;overflow:hidden}.tv-both .tv-score-view,.tv-both .tv-word-cloud{min-height:0;min-width:0;overflow:hidden}.tv-both .tv-score-view{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:1.8cqw}.tv-both .tv-score-lines{gap:1cqw;width:100%}.tv-both .tv-score-label{font-size:1.1cqw;line-height:1.25;margin-bottom:.45cqw}.tv-both .tv-scale{height:.3cqw}.tv-both .tv-scale-dot{width:.9cqw;height:.9cqw;border-width:.14cqw}.tv-both .tv-scale-limits{font-size:.9cqw;line-height:1.2}.tv-both .tv-total{display:grid;grid-template-columns:auto auto auto;align-items:center;justify-content:center;column-gap:1cqw;row-gap:.5cqw}.tv-both .tv-total>span{font-size:1.05cqw}.tv-both .tv-total>strong{font-size:4cqw;line-height:1.1}.tv-both .tv-total>p{font-size:1cqw;margin:0;border-left:1px solid #e8e9ee;padding-left:1cqw}.tv-both .tv-total>small{font-size:.8cqw;grid-column:1/-1}.tv-both .tv-bases{display:none}.tv-both .tv-word-cloud{border-left:1px solid #e8e9ee;padding-left:2.5cqw;box-sizing:border-box}.tv-both .tv-word-cloud svg{display:block;height:0}.tv-both .tv-word-cloud .hint{font-size:.8cqw;line-height:1.2;flex-shrink:0}.staff-tasks{min-width:0}.staff-tasks .task-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;background:transparent;color:#292722;padding:0;border:0;margin:0}.task-heading h2{margin:.4rem 0}.task-heading p{font-size:.85rem}.task-heading>button{flex-shrink:0;white-space:nowrap}.task-heading p{color:#66645e;margin:.3rem 0}.task-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;margin:1rem 0}.task-tabs button{padding:.65rem .2rem;background:#fff;color:#292722;border:1px solid #e4ded3;font-size:.9rem}.task-tabs button[aria-pressed=true]{background:#426448;color:#fff}.task-tabs span{margin-left:.3rem;font-size:.8em}.task-form{background:#f6f2ea;padding:1rem;border-radius:12px}.task-form fieldset{min-width:0}.task-checks,.task-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin:.8rem 0}.task-checks label,.task-filter label{display:flex;align-items:center;gap:.4rem}.staff-tasks input[type=checkbox]{width:auto}.task-private{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem;margin:1rem 0}.task-private form{display:flex;flex:1;gap:.5rem;min-width:0}.task-private input{min-width:0}.task-filter{display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap;font-size:.8rem;color:#66645e;margin:1rem 0}.task-list{list-style:none;padding:0;margin:0}.task-list>li{border-bottom:1px solid #e4ded3;padding:.8rem 0}.task-row{display:grid;grid-template-columns:auto 1fr;gap:.5rem .7rem;width:100%;text-align:left;background:#fff;color:#292722;border:0;padding:.4rem;white-space:normal}.task-row:hover,.task-row:active{background:#f6f2ea;color:#292722}.task-row strong{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:500}.task-meta{grid-column:2;font-size:.8rem;color:#66645e}.task-state{font-size:.72rem;padding:.2rem .45rem;border-radius:.4rem;background:#fdf0dd;color:#8a541e;align-self:start}.task-state-active{background:#eef2e9;color:#426448}.task-state-done{background:#e6f2e5;color:#2f704c}.task-state-cancelled{background:#eee;color:#666}.task-detail{padding:1rem .5rem;background:#faf9f6;border-radius:8px}.task-detail label{margin-top:.7rem}.task-detail textarea,.task-detail input,.task-detail select,.task-form input,.task-form select,.task-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.task-detail input[type=datetime-local],.task-form input[type=datetime-local]{appearance:none;display:block;min-inline-size:0}.task-history{font-size:.8rem;line-height:1.6;border-bottom:1px solid #e4ded3;padding:.7rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.task-empty{text-align:center;color:#66645e;padding:2rem .5rem}.task-postpone{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}.task-postpone label{flex:1;min-width:0}.staff-tasks button:disabled{opacity:.55}.task-home-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;text-align:left;background:transparent;color:inherit;border-radius:0;border-bottom:1px solid #ffffff30;padding:1rem 0}.task-home-item strong{overflow-wrap:anywhere;font-weight:500}.task-home-item span{font-size:.8rem;flex-shrink:0}@media(max-width:500px){.task-home-item{display:block}.task-home-item span{display:block;margin-top:.4rem}}.task-tabs span{display:block;margin:.15rem 0 0}.task-item-line{display:flex;gap:.4rem;align-items:start}.task-item-line>.task-row{flex:1;min-width:0}.task-private-toggle{padding-top:.7rem;flex-shrink:0}.task-private-toggle input{width:1.2rem!important;height:1.2rem}.interactive-module{min-width:0}.interactive-module label,.interactive-join label{display:block;margin:1rem 0}.interactive-module input:not([type=checkbox]),.interactive-module select,.interactive-module textarea,.interactive-join input:not([type=checkbox]):not([type=radio]),.interactive-join textarea{box-sizing:border-box;max-width:100%;width:100%;min-width:0}.interactive-module .interactive-check,.interactive-join .interactive-option{display:flex;align-items:center;gap:.65rem}.interactive-check input,.interactive-option input{flex:0 0 auto;width:1.2rem;height:1.2rem;accent-color:var(--action,#426448)}.interactive-question{padding:1rem;margin:1rem 0;border:1px solid #e4ded3;border-radius:12px}.interactive-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.interactive-list-row{display:flex;align-items:center;gap:.6rem;padding:1rem 0;border-bottom:1px solid #e4ded3;flex-wrap:wrap}.interactive-list-row>div{flex:1;min-width:180px;overflow-wrap:anywhere}.interactive-list-row p{margin:.4rem 0}.interactive-button{display:inline-flex;padding:.75rem 1rem;background:#426448;color:#fff;border-radius:8px;text-decoration:none;align-items:center}.interactive-qr img{display:block;width:220px;max-width:100%;margin:.5rem auto}.interactive-qr{text-align:center;margin:1rem 0}.interactive-join{max-width:680px}.interactive-join fieldset{min-width:0;border:0;padding:0}.interactive-option{padding:1rem;border:1px solid #e4ded3;border-radius:12px;background:#fff}.interactive-rating{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;margin:1rem 0}.interactive-rating button{padding:.8rem .2rem;background:#fff;color:#426448;border:1px solid #426448}.interactive-rating button[aria-pressed=true]{background:#426448;color:#fff}.interactive-recovery{padding:1rem;background:#eef2e9;border-radius:12px;margin:1rem 0}.interactive-recovery code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.interactive-screen{box-sizing:border-box;width:100vw;min-height:100vh;margin:0;max-width:none;background:#fff;color:#20243e;padding:3vw 4vw;display:flex;flex-direction:column;font-family:Arial,PingFang SC,sans-serif}.interactive-screen-brand{font-size:1.1vw;letter-spacing:.12em;color:#777b91;display:flex;justify-content:space-between;align-items:center}.interactive-screen-brand span{color:#5c5fee;font-size:3vw;font-weight:700}.interactive-screen h1{font-size:2vw;margin:.3em 0 1em}.interactive-screen h2{font-size:2.8vw;margin:.3em 0 1em}.interactive-results{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:48vh}.interactive-results .tv-word-cloud{width:100%}.interactive-screen .interactive-qr img{width:min(30vw,400px)}.interactive-screen .interactive-qr{flex:1}.interactive-screen footer{display:flex;justify-content:space-between;background:transparent;color:#777b91;font-size:1.1vw;padding:1.5vw 0 0;margin-top:auto}.interactive-mean{font-size:10vw;font-weight:700;color:#5c5fee;text-align:center}.interactive-mean small{font-size:2vw;color:#777b91}.interactive-results>p{text-align:center;font-size:1.5vw}.interactive-bar-row{display:grid;grid-template-columns:minmax(120px,25%) 1fr 3em;gap:1vw;align-items:center;font-size:1.5vw;margin:1vw 0}.interactive-bar-track{background:#f0f0f5;height:3vw}.interactive-bar{height:100%;transition:width .7s ease;min-width:0}.interactive-bar.color-0{background:#5c5fee}.interactive-bar.color-1{background:#ff686d}.interactive-bar.color-2{background:#343975}.interactive-wait,.interactive-screen-thanks{flex:1;display:grid;place-items:center;min-height:45vh;font-size:3vw;color:#777b91}@media(prefers-reduced-motion:reduce){.interactive-bar{transition:none}}@media(max-width:600px){.interactive-module{padding:.75rem}.interactive-list-row button{padding:.6rem}.interactive-join{padding:.5rem}.interactive-screen h1{font-size:5vw}.interactive-screen h2{font-size:6vw}.interactive-screen footer{font-size:3vw}.interactive-bar-row{font-size:3vw;grid-template-columns:30% 1fr 2em}.interactive-screen-brand{font-size:3vw}}.interactive-screen{height:100vh;overflow:hidden}.interactive-screen .interactive-results{min-height:0;overflow:hidden}.interactive-screen .tv-word-cloud svg{display:block;height:0}.interactive-screen .interactive-bar-row{min-height:0;margin:.5vh 0;flex:1;max-height:8vh}.interactive-screen .interactive-bar-row>span{font-size:1.3vw;line-height:1.2;overflow-wrap:anywhere}.tv-sample-picker{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.tv-sample-picker p{flex-basis:100%;margin:0}.tv-sample-picker label{display:flex;align-items:center;gap:.5rem;padding:.5rem;border:1px solid var(--border);border-radius:8px}.tv-sample-picker input{width:1.2rem;height:1.2rem;accent-color:var(--action)}.tv-multi-area{flex:1;min-height:0;display:flex;gap:1.5cqw}.tv-multi-grid{flex:1;min-width:0;min-height:0;display:grid;gap:1cqw;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.tv-multi-2,.tv-multi-3{grid-template-columns:minmax(0,1fr)}.tv-multi-2{grid-template-rows:repeat(2,minmax(0,1fr))}.tv-multi-3{grid-template-rows:repeat(3,minmax(0,1fr))}.tv-multi-4{grid-template-rows:repeat(2,minmax(0,1fr))}.tv-sample-card{min-width:0;min-height:0;border:1px solid #e8e9ee;border-radius:.4cqw;padding:.65cqw;display:flex;flex-direction:column;overflow:hidden}.tv-card-heading{display:flex;align-items:center;justify-content:space-between;gap:.5cqw;font-size:1cqw}.tv-card-heading strong{font-size:1.4cqw}.tv-card-heading span{color:#777b91;font-size:.75cqw}.tv-card-panels{flex:1;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.7cqw}.tv-card-both{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-card-panels>.tv-word-cloud{min-width:0;overflow:hidden}.tv-card-both>.tv-word-cloud{border-left:1px solid #e8e9ee;padding-left:.6cqw}.tv-card-panels .tv-word-cloud svg{display:block;height:0}.tv-card-panels .tv-word-cloud .hint{font-size:.55cqw;line-height:1.2}.tv-card-panels .tv-score-view{min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:.3cqw}.tv-card-panels .tv-score-lines{min-height:0;display:flex;flex-direction:column;justify-content:space-evenly}.tv-card-panels .tv-score-row{margin:0}.tv-card-panels .tv-score-label{font-size:.7cqw;line-height:1.1}.tv-card-panels .tv-scale{font-size:.5cqw}.tv-multi-2 .tv-card-heading strong,.tv-multi-3 .tv-card-heading strong{font-size:1.5cqw}.tv-multi-2 .tv-score-label{font-size:.95cqw}.tv-card-panels .tv-total{padding:0;display:flex;align-items:baseline;justify-content:center;gap:.4cqw;min-height:0}.tv-card-panels .tv-total>strong{font-size:2.2cqw;line-height:1}.tv-card-panels .tv-total>span,.tv-card-panels .tv-total>p{font-size:.65cqw;margin:0}.tv-card-panels .tv-total>small,.tv-card-panels .tv-bases{display:none}.tv-card-panels .tv-scale{height:.18cqw;min-height:2px;margin:.12cqw 0}.tv-card-panels .tv-scale-dot{width:.4cqw;height:.4cqw}.tv-card-panels .tv-scale-limits{font-size:.6cqw;line-height:1}.tv-card-panels .tv-word-cloud>p:not(.hint){font-size:1.2cqw}.tv-card-panels .tv-score-lines{gap:.1cqw}.tv-card-panels .tv-score-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:.3cqw;align-items:center}.tv-card-panels .tv-score-label,.tv-card-panels .tv-scale{margin:0}.tv-card-panels .tv-score-view{align-items:stretch}.tv-card-panels .tv-total{flex-wrap:wrap;row-gap:0}.tv-card-panels .tv-total>p{white-space:nowrap}.tv-card-wait{align-items:center;justify-content:center}.tv-card-wait h3{font-size:1.6cqw;margin:.4cqw}.tv-card-wait p{font-size:1.1cqw;margin:.3cqw}.cup-entry-modes{display:flex;gap:.5rem;flex-wrap:wrap;margin:.75rem 0}.cup-entry-modes button{flex:1;min-height:44px;background:#fff;color:var(--action);border:1px solid var(--action)}.cup-entry-modes button[aria-pressed=true]{background:var(--action);color:#fff}.cup-compact>.cup-card{margin:12px 0}.cup-compact h3{margin:.25rem 0}.cup-compact-field{padding:.65rem 0;border-top:1px solid var(--border)}.cup-compact-summary>button{display:flex;justify-content:space-between;gap:.5rem;align-items:center;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:.9rem;padding:.5rem}.cup-compact-details{padding:.75rem 0}.cup-compact-details label{display:block;margin:.75rem 0}.cup-compact-details textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:90px}.cup-compact-records{padding:.75rem;background:var(--page);border-radius:8px;margin:.75rem 0;overflow-wrap:anywhere}.cup-compact-records p{margin:.4rem 0}.cup-compact-records button{padding:.3rem .6rem;min-height:36px}.cup-compact .cup-card .cup-card{padding:.75rem;margin:.5rem 0}.cup-compact .cup-score-row{margin:0}.cup-compact .hint{font-size:.85rem}.cup-entry-modes button{font-size:clamp(12px,3.4vw,15px);padding:10px 6px;white-space:nowrap}.cup-compact>.cup-card{padding:12px 16px;margin:10px 0}.cup-compact-field{padding:.35rem 0}.cup-compact .cup-score-row{padding:10px 0;border:0}.cup-compact .cup-score-row strong{background:#e6eddf;color:var(--action);border-radius:7px;padding:.35rem .65rem;white-space:nowrap}.cup-compact-summary>button{background:transparent;color:var(--muted);border:0;min-height:36px;padding:.2rem 0;font-size:.85rem;line-height:1.35}.cup-compact summary{padding:.4rem 0}.cup-simple>details.cup-card{padding:12px 16px;margin:8px 0}.cup-simple .cup-total{padding:14px 16px;margin:10px 0}
