:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#080b12;color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#141b27f5,#080b12 320px),#080b12}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}code{color:#bae6fd}.pwa-banner{position:fixed;z-index:30;left:12px;right:12px;bottom:84px;border:1px solid rgba(148,163,184,.28);border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:10px;background:#0f172af5;box-shadow:0 18px 42px #0000005c;color:#e2e8f0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.pwa-banner span{flex:1 1 180px}.pwa-banner .button{min-height:36px;padding:0 12px}.pwa-banner-warning{border-color:#fbbf2470;background:#4c3812f5;color:#fef3c7}.app-shell{min-height:100vh}.top-bar{position:sticky;top:0;z-index:18;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#020617f0;border-bottom:1px solid rgba(148,163,184,.2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.org-summary{min-width:0;display:flex;align-items:center;gap:10px}.org-summary div{min-width:0;display:flex;flex-direction:column}.org-summary strong,.org-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-summary span{color:#94a3b8;font-size:.78rem;text-transform:capitalize}.org-switcher{max-width:38%}.org-switcher select{min-height:40px;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#111827;color:#f8fafc;padding:0 10px}.org-settings-link{min-height:40px;border:1px solid rgba(148,163,184,.24);border-radius:8px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;color:#cbd5e1;background:#94a3b81a;font-size:.82rem;font-weight:800}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.page-wrap{width:min(1120px,100%);margin:0 auto;padding:18px 16px calc(var(--navigation-height, 76px) + 24px)}.stack{display:flex;flex-direction:column;gap:18px}.hero,.page-header,.auth-card,.panel,.form-panel,.state{border:1px solid rgba(148,163,184,.22);background:#0f172ad6;box-shadow:0 24px 60px #0000003d}.hero,.page-header,.auth-card,.form-panel,.state{border-radius:8px;padding:22px}.panel{border-radius:8px;padding:18px}.hero h1,.page-header h1,.auth-card h1{margin:0;font-size:2.35rem;line-height:1.04;letter-spacing:0}.page-header h1,.auth-card h1{font-size:2rem}.hero p,.page-header p,.auth-card p,.panel p{color:#cbd5e1}.eyebrow{margin:0 0 8px;color:#67e8f9;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.lede{margin-top:8px;font-size:1.04rem}.hero-actions,.action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.join-request-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(251,191,36,.42);border-left:4px solid #fbbf24;border-radius:8px;background:#45341080}.join-request-notice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fbbf2426;color:#fde68a}.join-request-notice-copy{min-width:0}.join-request-notice-title{display:flex;align-items:center;gap:8px}.join-request-notice-title span{min-width:24px;padding:2px 7px;border-radius:999px;background:#fbbf24;color:#111827;font-size:.78rem;font-weight:900;text-align:center}.join-request-notice p{margin:3px 0 0;color:#fde68a;font-size:.9rem}.join-request-notice>a{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:#fef3c7;font-weight:800;white-space:nowrap}@media(max-width:420px){.join-request-notice{grid-template-columns:auto minmax(0,1fr)}.join-request-notice>a{grid-column:2;justify-self:start}}.dashboard{gap:24px}.dashboard-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:4px 0 20px;border-bottom:1px solid rgba(148,163,184,.22)}.dashboard-header h1,.dashboard-section-heading h2,.dashboard-stat-title h3{margin:0;letter-spacing:0}.dashboard-header h1{font-size:1.65rem;line-height:1.15}.dashboard-header p:not(.eyebrow){margin:5px 0 0;color:#cbd5e1}.dashboard-brand-mark{width:54px;height:54px;border:1px solid rgba(103,232,249,.3);border-radius:8px;display:grid;place-items:center;overflow:hidden;background:#0e749029;color:#67e8f9}.dashboard-logo{width:100%;height:100%;object-fit:contain;background:#fff}.dashboard-role{grid-column:2;justify-self:start;min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid rgba(52,211,153,.28);border-radius:999px;background:#10b9811a;color:#a7f3d0;font-size:.78rem;font-weight:800}.dashboard-band{min-width:0;display:grid;gap:12px}.dashboard-section-heading{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-section-heading h2{font-size:1.18rem}.dashboard-section-heading>a{min-height:40px;display:inline-flex;align-items:center;gap:5px;color:#7dd3fc;font-size:.86rem;font-weight:800}.dashboard-section-status{min-height:48px;display:flex;align-items:center;gap:10px;margin:0;color:#94a3b8}.dashboard-section-status .spinner{width:22px;height:22px}.dashboard-section-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-left:3px solid #f87171;background:#7f1d1d33;color:#fecaca}.dashboard-section-error .button{flex:0 0 auto;min-height:38px}.dashboard-attention-list{display:grid;gap:8px}.dashboard-attention-item{min-height:68px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:10px 12px;border:1px solid rgba(148,163,184,.22);border-left-width:4px;border-radius:6px;background:#0f172abd}.dashboard-attention-item.attention-warning{border-left-color:#fbbf24}.dashboard-attention-item.attention-danger{border-left-color:#f87171}.dashboard-attention-item.attention-info{border-left-color:#38bdf8}.dashboard-attention-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#94a3b81c}.attention-warning .dashboard-attention-icon{color:#fde68a}.attention-danger .dashboard-attention-icon{color:#fca5a5}.attention-info .dashboard-attention-icon{color:#7dd3fc}.dashboard-attention-copy{min-width:0;display:grid;gap:3px}.dashboard-attention-copy small{overflow:hidden;color:#cbd5e1;text-overflow:ellipsis}.dashboard-attention-count{min-width:30px;padding:4px 8px;border-radius:999px;background:#94a3b826;font-weight:900;text-align:center}.dashboard-clear{min-height:52px;display:flex;align-items:center;gap:9px;padding:10px 12px;border-left:4px solid #34d399;background:#064e3b38;color:#a7f3d0;font-weight:800}.dashboard-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-quick-actions>a{min-width:0;min-height:58px;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(148,163,184,.24);border-radius:6px;background:#0f172ab8;color:#e2e8f0;font-weight:800}.dashboard-quick-actions>a.quick-action-primary{border-color:#38bdf875;background:#0369a13d;color:#bae6fd}.dashboard-main-grid{min-width:0;display:grid;gap:24px;padding-top:20px;border-top:1px solid rgba(148,163,184,.18)}.dashboard-event-list,.dashboard-location-list,.dashboard-activity-list{display:grid;gap:8px}.dashboard-event-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid rgba(148,163,184,.2);border-radius:6px;background:#0f172a9e}.dashboard-event-row>div:nth-child(2){min-width:0;display:grid;gap:3px}.dashboard-event-row>div:nth-child(2) strong,.dashboard-event-row>div:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-event-row small,.dashboard-event-progress,.dashboard-event-date{color:#94a3b8;font-size:.82rem}.dashboard-event-date{grid-column:1 / -1;display:flex;align-items:center;gap:6px}.dashboard-event-progress{grid-column:1 / -1;display:grid;gap:6px}.dashboard-event-progress progress{width:100%;height:7px;accent-color:#38bdf8}.dashboard-event-row .status-pill{align-self:start}.dashboard-gear-groups{display:grid;gap:18px}.dashboard-gear-groups>div+div{padding-top:18px;border-top:1px solid rgba(148,163,184,.16)}.dashboard-stat-title{display:flex;align-items:center;gap:8px;color:#bae6fd}.dashboard-stat-title h3{color:#f8fafc;font-size:.98rem}.dashboard-stat-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}.dashboard-stat-list>div{min-height:58px;display:flex;flex-direction:column;justify-content:center;padding:8px 10px;border-left:2px solid rgba(56,189,248,.48);background:#0f172a8f}.dashboard-stat-list dt{color:#94a3b8;font-size:.76rem}.dashboard-stat-list dd{margin:2px 0 0;font-size:1.25rem;font-weight:900}.dashboard-location-list>a,.dashboard-activity-list>a{min-width:0;display:grid;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid rgba(148,163,184,.15)}.dashboard-location-list>a{grid-template-columns:minmax(0,1fr) auto auto}.dashboard-location-list>a>span{min-width:0;display:flex;align-items:center;gap:8px}.dashboard-location-list strong,.dashboard-location-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-location-list small{color:#94a3b8}.dashboard-activity-list>a{grid-template-columns:auto minmax(0,1fr)}.dashboard-activity-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#0ea5e91f;color:#7dd3fc}.dashboard-activity-list>a>span:last-child{min-width:0;display:grid;gap:3px}.dashboard-activity-list span span,.dashboard-activity-list small{overflow:hidden;color:#cbd5e1;font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-activity-list small{display:flex;align-items:center;gap:5px;color:#94a3b8;font-size:.75rem}.dashboard-empty{margin:0;padding:9px 0;color:#94a3b8}.dashboard-empty a{color:#7dd3fc;font-weight:800}@media(max-width:560px){.dashboard-location-list>a{grid-template-columns:minmax(0,1fr) auto}.dashboard-location-list>a>small{grid-column:1 / -1;padding-left:26px}.dashboard-location-list>a>svg{grid-column:2;grid-row:1}}@media(min-width:700px){.dashboard-header{grid-template-columns:auto minmax(0,1fr) auto}.dashboard-header h1{font-size:2rem}.dashboard-role{grid-column:3;grid-row:1}.dashboard-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-gear-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-gear-groups>div+div{padding-top:0;padding-left:18px;border-top:0;border-left:1px solid rgba(148,163,184,.16)}}@media(min-width:960px){.dashboard-main-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}}.button{min-height:46px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;color:#f8fafc;cursor:pointer;font-weight:800}.button:disabled{opacity:.65;cursor:progress}.button-large{width:100%;min-height:58px;font-size:1rem}.button-primary{background:#0284c7}.button-oauth{width:100%;min-height:52px;background:#0f172af0;border:1px solid rgba(148,163,184,.34)}.google-mark{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;background:#f8fafc;color:#0f172a;font-size:.9rem;font-weight:900}.auth-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:.78rem;font-weight:800;text-transform:uppercase}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#94a3b847}.button-secondary{background:#334155}.button-ghost{background:#94a3b824;border:1px solid rgba(148,163,184,.28)}.button-danger{background:#991b1b}.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:4px;padding:8px 8px max(8px,env(safe-area-inset-bottom));background:#020617f2;border-top:1px solid rgba(148,163,184,.2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav a{min-height:58px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#94a3b8;font-size:.75rem;font-weight:700}.bottom-nav a.active{background:#0ea5e92e;color:#f8fafc}.organisation-select-card{width:min(560px,calc(100vw - 32px))}.organisation-choice-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.organisation-choice{width:100%;min-height:68px;border:1px solid rgba(148,163,184,.24);border-radius:8px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px;background:#0f172ae6;color:#f8fafc;text-align:left}.organisation-choice span:first-child{display:flex;flex-direction:column;gap:3px}.organisation-choice small{color:#94a3b8;text-transform:capitalize}.movement-list{display:flex;flex-direction:column;gap:10px}.movement-row{border:1px solid rgba(148,163,184,.18);border-radius:8px;padding:12px;background:#0f172a9e}.movement-row strong{text-transform:capitalize}.movement-row p{margin:4px 0 0}@media(max-width:560px){.top-bar{align-items:stretch}.org-switcher{max-width:42%}.org-settings-link span{display:none}}.search-box{min-height:56px;border:1px solid rgba(148,163,184,.25);border-radius:8px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#0f172ac7;color:#94a3b8}.search-box input,label input,label textarea,label select{width:100%;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#111827;color:#f8fafc;outline:none}.search-box input{border:0;background:transparent;min-height:52px}label{display:grid;gap:8px;color:#e2e8f0;font-weight:800}label input,label textarea,label select{min-height:48px;padding:12px;font-weight:600}label textarea{min-height:96px;resize:vertical}.form-panel{display:grid;gap:16px}.inline-form{display:grid;gap:12px;margin-top:14px}.checkbox-label{display:flex;align-items:center;gap:10px}.checkbox-label input{width:22px;height:22px}.case-grid{display:grid;gap:12px}.case-card{border:1px solid rgba(148,163,184,.24);border-radius:8px;display:grid;gap:16px;padding:18px;background:#0f172ac7}.case-card h3,.panel h2,.panel h3,.section-title h2{margin:0;letter-spacing:0}.case-card-footer,.meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#cbd5e1}.case-card-footer{justify-content:space-between;font-size:.88rem}.case-note{margin:0;color:#cbd5e1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.detail-grid{display:grid;gap:16px}.field-label{display:block;margin-bottom:4px;color:#94a3b8;font-size:.78rem;font-weight:800;text-transform:uppercase}.photo-grid{display:grid;gap:12px}.photo-grid figure{margin:0;border:1px solid rgba(148,163,184,.22);border-radius:8px;overflow:hidden;background:#0f172ac7}.photo-grid figcaption{padding:10px 12px;color:#cbd5e1;font-weight:800}.photo-preview{display:block;width:100%;aspect-ratio:4 / 3;object-fit:contain;background:#111827}.photo-loading{min-height:180px;display:grid;place-items:center;color:#94a3b8}.photo-upload-form,.photo-attachments-section{display:grid;gap:12px}.photo-attachments-section{width:100%;padding-top:8px;border-top:1px solid rgba(148,163,184,.14)}.photo-attachment-picker{width:100%}.photo-attachment-grid{display:grid;gap:14px}.photo-attachment-card{display:grid;gap:12px;padding:12px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172a75}.photo-attachment-image{width:100%;max-height:320px;object-fit:contain;border-radius:8px;background:#020617}.photo-attachment-body{display:grid;gap:10px}.photo-attachment-body strong,.photo-attachment-body p{margin:0}.event-report-page{max-width:980px;margin:0 auto}.report-photo-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;width:100%}.report-photo-strip figure{margin:0}.report-photo{width:100%;aspect-ratio:4 / 3;object-fit:contain;border-radius:8px;background:#020617}.report-photo-strip figcaption{margin-top:4px;color:#94a3b8;font-size:.78rem}.photo-field{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:grid;gap:12px;padding:14px;background:#0f172a94}.photo-field-header{display:grid;gap:4px}.photo-field-header label{display:block}.photo-field-header span{color:#94a3b8;font-size:.86rem}.file-picker{min-height:48px;border:1px dashed rgba(148,163,184,.42);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;background:#0206174d;cursor:pointer}.file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.item-list{display:grid;gap:10px;margin-top:14px}.item-row{border:1px solid rgba(148,163,184,.18);border-radius:8px;display:grid;grid-template-columns:1fr;align-items:center;gap:12px;padding:14px;background:#0206175c}.item-row:has(.item-photo){grid-template-columns:74px 1fr}.item-photo{width:74px;height:74px;border-radius:8px;object-fit:contain;background:#111827}.item-row p{margin:5px 0 0}.item-row-static{cursor:default}.pill{border-radius:999px;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;background:#94a3b829;color:#e2e8f0;font-size:.78rem;font-weight:900;white-space:nowrap}.pill-required,.pill-success{background:#22c55e2e;color:#bbf7d0}.pill-warning{background:#fbbf242e;color:#fde68a}.item-condition-good{background:#22c55e2e;color:#bbf7d0}.item-condition-worn{background:#fbbf242e;color:#fde68a}.item-condition-damaged,.item-condition-missing{background:#f871712e;color:#fecaca}.item-condition-needs_repair,.item-condition-out_of_service{background:#fb923c33;color:#fed7aa}.section-title{display:flex;justify-content:space-between;gap:14px;align-items:end}.section-title p,.muted,.form-help{margin:0;color:#94a3b8}.form-error,.notice-error{color:#fecaca}.notice{border:1px solid rgba(56,189,248,.28);border-radius:8px;padding:14px;background:#0ea5e91f;color:#e0f2fe}.notice-error{border-color:#f8717166;background:#7f1d1d47}.notice-success{border-color:#22c55e66;background:#14532d47;color:#bbf7d0}.state{display:grid;place-items:center;min-height:220px;text-align:center}.state h2,.state p{margin:0}.state p{max-width:32rem;color:#cbd5e1}.state-loading{gap:12px}.access-denied{gap:14px}.access-denied svg{color:#fde68a}.role-pill{border-radius:999px;display:inline-flex;align-items:center;min-height:28px;padding:0 10px;font-size:.78rem;font-weight:900}.role-admin{background:#0ea5e92e;color:#bae6fd}.role-member{background:#22c55e2e;color:#bbf7d0}.role-owner{background:#0ea5e92e;color:#bae6fd}.role-viewer{background:#94a3b829;color:#e2e8f0}.spinner{width:34px;height:34px;border:4px solid rgba(148,163,184,.26);border-top-color:#38bdf8;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{width:min(420px,100%);display:grid;gap:16px}.brand-mark{width:56px;height:56px;border-radius:8px;display:grid;place-items:center;background:#0284c7}.qr-page{min-height:calc(100vh - 140px);display:grid;place-items:center;gap:18px}.qr-label{width:min(430px,100%);border:1px solid rgba(148,163,184,.28);border-radius:8px;display:grid;justify-items:center;gap:12px;padding:24px;background:#fff;color:#0f172a;text-align:center}.qr-brand{margin:0;color:#0369a1;font-size:.85rem;font-weight:900;text-transform:uppercase}.qr-logo,.organisation-logo{width:76px;height:76px;border-radius:8px;object-fit:contain;background:#ffffffeb}.onboarding-page{max-width:800px;margin:0 auto;padding:24px 16px 48px}.join-search{display:grid;gap:12px;padding-block:16px;border-block:1px solid rgba(148,163,184,.25)}.onboarding-page .user-card h2,.onboarding-page .user-card h3{font-size:1.15rem;overflow-wrap:anywhere}.join-status{text-transform:capitalize;font-weight:700}.join-status-pending{color:#fde68a}.join-status-approved{color:#bbf7d0}.join-status-rejected{color:#fecaca}.join-status-cancelled{color:#cbd5e1}.membership-settings-form{padding-block:12px}.membership-settings-form .checkbox-label{min-height:44px}.membership-settings-form input[readonly]{font-family:monospace}.organisation-logo{width:88px;height:88px}.qr-label h1{margin:0;font-size:1.75rem;line-height:1.1;letter-spacing:0}.qr-code-box{border:2px solid #0f172a;border-radius:8px;padding:10px;background:#fff}.qr-inline{width:fit-content;border:1px solid rgba(148,163,184,.22);border-radius:8px;padding:12px;background:#fff}.qr-label strong{font-size:1.35rem}.qr-label p{margin:0}.label-control-grid{display:grid;gap:12px}.label-option-list{display:grid;gap:8px}.label-option{min-height:62px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#0f172ab8}.label-option-select{min-width:0;display:flex;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;cursor:pointer}.label-option-select input{width:22px;height:22px;flex:0 0 auto}.label-option-select span{min-width:0;display:grid;gap:3px}.label-option-select strong,.label-option-select small{overflow-wrap:anywhere}.label-option-select small,.label-preview-heading p{color:#94a3b8}.label-option-disabled{opacity:.76}.label-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}.label-preview-heading h2,.label-preview-heading p{margin:0}.label-sheet-stack{display:grid;gap:24px}.label-sheet-page{width:min(100%,210mm);aspect-ratio:210 / 297;display:grid;align-content:start;gap:.8%;margin:0 auto;padding:2.5%;overflow:hidden;background:#fff;box-shadow:0 12px 34px #00000057}.label-sheet-a4-2x7 .label-sheet-page{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr))}.label-sheet-a4-3x8 .label-sheet-page{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr))}.printable-qr-label{container-type:inline-size;min-width:0;min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(4px,2cqw,10px);padding:clamp(4px,1.6cqw,10px);overflow:hidden;break-inside:avoid;border:1px solid #94a3b8;background:#fff;color:#0f172a;text-align:left}.printable-qr-label-single{width:min(560px,100%);aspect-ratio:97 / 38}.printable-label-qr{width:clamp(44px,28cqw,128px);height:auto;aspect-ratio:1;display:grid;place-items:center;background:#fff}.printable-label-qr svg{width:100%;height:100%;display:block}.printable-label-copy{min-width:0;display:grid;align-content:center;gap:2px}.printable-label-brand{min-width:0;display:flex;align-items:center;gap:5px;color:#0369a1;font-size:clamp(.48rem,2.5cqw,.78rem);font-weight:900;text-transform:uppercase}.printable-label-brand span,.printable-label-copy h2,.printable-label-copy strong,.printable-label-copy small{min-width:0;overflow-wrap:anywhere}.printable-label-logo{width:clamp(14px,7cqw,30px);height:clamp(14px,7cqw,30px);flex:0 0 auto;object-fit:contain}.printable-label-kind{color:#475569;font-size:clamp(.46rem,2.2cqw,.7rem);font-weight:800;text-transform:uppercase}.printable-label-copy h2{margin:0;font-size:clamp(.62rem,4.2cqw,1.22rem);line-height:1.05;letter-spacing:0}.printable-label-copy strong{font-size:clamp(.56rem,3.2cqw,.95rem);line-height:1.05}.printable-label-copy small{color:#334155;font-size:clamp(.43rem,2.2cqw,.68rem);line-height:1.1}.printable-qr-label-a4-3x8 .printable-label-instruction,.printable-qr-label-a4-3x8 .printable-label-kind{display:none}.scanner-panel{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:grid;gap:12px;padding:14px;background:#0f172ac7}.scanner-target{overflow:hidden;border-radius:8px;min-height:310px;background:#020617}.scanner-target video{width:100%!important}.manual-scan{display:grid;gap:12px}.mode-grid{display:grid;gap:14px}.mode-button{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:grid;gap:10px;justify-items:start;min-height:150px;padding:22px;background:#0f172adb;color:#f8fafc;text-align:left;cursor:pointer}.mode-button:disabled{opacity:.72;cursor:progress}.mode-button strong{font-size:1.35rem}.mode-button span{color:#cbd5e1}.session-list,.packing-case-list{display:grid;gap:12px}.session-card,.packing-case-card{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:grid;gap:10px;padding:16px;background:#0f172ac7}.session-card h3,.packing-case-card h2{margin:0}.session-card p,.packing-case-card p{margin:0;color:#cbd5e1}.session-issues{font-weight:700}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.status-pill{border-radius:999px;display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:30px;padding:0 11px;font-size:.8rem;font-weight:900}.status-unchecked{background:#94a3b829;color:#e2e8f0}.status-complete{background:#22c55e2e;color:#bbf7d0}.status-missing,.status-extra{background:#fbbf242e;color:#fde68a}.status-damaged{background:#f871712e;color:#fecaca}.membership-active{background:#22c55e24;color:#bbf7d0}.membership-invited{background:#fbbf2424;color:#fde68a}.membership-disabled{background:#94a3b81f;color:#cbd5e1}.case-status-packed,.case-status-returned{background:#22c55e2e;color:#bbf7d0}.case-status-checked_out,.case-status-at_event{background:#0ea5e92e;color:#bae6fd}.case-status-missing{background:#fbbf242e;color:#fde68a}.case-status-damaged{background:#f871712e;color:#fecaca}.case-status-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.case-status-actions button{min-height:44px;border:1px solid rgba(148,163,184,.25);border-radius:8px;background:#0f172ad6;color:#e2e8f0;cursor:pointer;font-weight:800}.case-status-actions button:disabled{opacity:.72;cursor:default}.case-status-actions button.active{border-color:#0ea5e999;background:#0ea5e92e;color:#e0f2fe}.filter-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.filter-row button{min-height:40px;border:1px solid rgba(148,163,184,.25);border-radius:8px;flex:0 0 auto;padding:0 12px;background:#0f172ad6;color:#e2e8f0;cursor:pointer;font-weight:800}.filter-row button.active{border-color:#0ea5e999;background:#0ea5e92e;color:#e0f2fe}.event-status-draft,.event-status-packing{background:#0ea5e92e;color:#bae6fd}.event-status-checked_out,.event-status-at_event,.event-status-returning{background:#fbbf242e;color:#fde68a}.event-status-completed{background:#22c55e2e;color:#bbf7d0}.event-status-cancelled{background:#94a3b829;color:#e2e8f0}.event-pick-list,.event-entry-list{display:grid;gap:10px}.event-pick-row,.event-entry{border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0206175c}.event-pick-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:#f8fafc;cursor:pointer;text-align:left}.event-pick-row span{display:grid;gap:4px}.event-pick-row small{color:#94a3b8;font-weight:700}.event-entry{display:grid;gap:12px;padding:14px}.event-entry p{margin:4px 0 0;color:#cbd5e1}.packing-check-group{display:grid;gap:14px}.packing-check-item{border-top:1px solid rgba(148,163,184,.16);display:grid;gap:12px;padding-top:14px}.packing-check-main p{margin:5px 0 0}.packing-item-photo{width:100%;max-height:220px;border-radius:8px;object-fit:contain;background:#111827}.status-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.status-buttons button{min-height:42px;border:1px solid rgba(148,163,184,.25);border-radius:8px;background:#0f172ad6;color:#e2e8f0;cursor:pointer;font-weight:800}.status-buttons button:disabled{opacity:.8;cursor:default}.status-buttons button.active{border-color:#0ea5e999;background:#0ea5e92e;color:#e0f2fe}.status-buttons button.active.packed{border-color:#22c55ea6;background:#22c55e2e;color:#bbf7d0}.status-buttons button.active.missing,.status-buttons button.active.extra{border-color:#fbbf24a6;background:#fbbf242e;color:#fde68a}.status-buttons button.active.damaged{border-color:#f87171a6;background:#f871712e;color:#fecaca}.packing-notes{display:grid;gap:8px}.user-list{display:grid;gap:12px}.user-card{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:grid;gap:14px;padding:16px;background:#0f172ac7}.user-card-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:start}.member-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}.member-dates{display:grid;gap:4px}.user-card h2,.user-card p,.notice p{margin:0}.notice p{display:flex;gap:8px;align-items:flex-start}.settings-grid{display:grid;gap:10px}.settings-card{border:1px solid rgba(148,163,184,.22);border-radius:8px;display:flex;gap:12px;align-items:flex-start;padding:12px;background:#0f172a9e;color:inherit;text-decoration:none}.settings-card p{margin:4px 0 0}.settings-link-card{transition:border-color .15s ease,background .15s ease}.settings-link-card:hover{border-color:#38bdf87a;background:#0ea5e91f}@media(min-width:700px){.page-wrap{padding:28px 28px calc(var(--navigation-height, 76px) + 28px)}.hero h1{font-size:3.6rem}.page-header h1,.auth-card h1{font-size:2.7rem}.button-large{width:auto;min-width:210px}.case-grid,.photo-grid,.mode-grid,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.packing-check-item:has(.packing-item-photo){grid-template-columns:110px 1fr;align-items:start}.packing-check-item:has(.packing-item-photo)>label,.packing-check-item:has(.packing-item-photo) .status-buttons,.packing-check-item:has(.packing-item-photo) .packing-notes,.packing-check-item:has(.packing-item-photo) .form-help{grid-column:2}.packing-item-photo{width:110px;height:110px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-row{grid-template-columns:1fr auto auto auto}.item-row:has(.item-photo){grid-template-columns:74px 1fr auto auto auto}.case-status-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.inline-form{grid-template-columns:1fr auto;align-items:end}}@media(min-width:980px){.case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.label-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@page{size:A4 portrait;margin:0}@media print{:root,body{background:#fff;color:#000}.bottom-nav,.top-bar,.print-hide,.page-wrap>:not(.qr-page):not(.event-report-page):not(.label-print-page){display:none!important}.page-wrap{width:100%;padding:0}.qr-page{min-height:auto;display:block;padding:15.15mm 5.9mm}.label-print-page{display:block!important}.label-print-page>:not(.label-sheet-stack),.label-print-page .label-print-controls{display:none!important}.label-sheet-stack{display:block}.label-sheet-page{width:210mm;height:297mm;aspect-ratio:auto;margin:0;gap:0;overflow:hidden;box-sizing:border-box;box-shadow:none;break-after:page;page-break-after:always}.label-sheet-page:last-child{break-after:auto;page-break-after:auto}.label-sheet-a4-2x7 .label-sheet-page{grid-template-columns:repeat(2,99.1mm);grid-template-rows:repeat(7,38.1mm);padding:15.15mm 5.9mm}.label-sheet-a4-3x8 .label-sheet-page{grid-template-columns:repeat(3,63.5mm);grid-template-rows:repeat(8,33.9mm);padding:12.9mm 9.75mm}.printable-qr-label{gap:2mm;padding:1.5mm;border:.3mm solid #777777}.printable-qr-label-a4-2x7 .printable-label-qr{width:32mm;height:32mm}.printable-qr-label-a4-3x8 .printable-label-qr{width:28mm;height:28mm}.qr-page .printable-qr-label-single{width:99.1mm;height:38.1mm;aspect-ratio:auto;margin:0}.qr-page .printable-qr-label-single .printable-label-qr{width:32mm;height:32mm}.event-report-page{display:block;max-width:none;padding:12mm;color:#000}.event-report-page .panel,.event-report-page .event-entry,.report-print-panel{border:1px solid #cccccc;background:#fff;color:#000;box-shadow:none;break-inside:avoid}.event-report-page .muted,.event-report-page .field-label,.event-report-page p,.event-report-page small,.event-report-page figcaption{color:#111}.event-report-page .status-pill,.event-report-page .pill{border:1px solid #999999;background:#fff;color:#000}.qr-label{width:90mm;min-height:120mm;margin:0 auto;border:2px solid #000000;box-shadow:none;page-break-inside:avoid}}
