:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7fb;color:#172033;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.72}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(#0b1220b8,#0b1220d1),url(https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1600&q=80) center/cover}.app-recovery{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f5f7fb}.app-recovery .login-panel{box-shadow:0 18px 52px #070d1c24}.login-panel{width:min(100%,440px);background:#fff;border:1px solid #e4e8f0;border-radius:8px;padding:24px;box-shadow:0 24px 80px #070d1c42}.brand-mark,.panel-header>div,.metric,.main-nav,.mode-switch,.card-actions,.search-box,.store-editor label span,.photo-picker span,.topbar{display:flex;align-items:center}.brand-mark{gap:10px;color:#d71920;font-weight:800}.brand-mark svg,.panel-header svg,.metric svg,.main-nav svg,.mode-switch svg,.search-box svg,.icon-button svg,.secondary-action svg,.store-editor svg,.photo-picker svg,.card-actions svg{width:18px;height:18px}.login-panel h1,.topbar h1{margin:8px 0;line-height:1.1}.login-panel p{color:#637083;margin:0 0 20px}.mode-switch,.main-nav{gap:8px;background:#eef2f8;border:1px solid #e1e6ef;border-radius:8px;padding:4px}.mode-switch button,.main-nav button{border:0;border-radius:6px;background:transparent;color:#405066;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:700}.mode-switch button{flex:1}.mode-switch button.active,.main-nav button.active{background:#fff;color:#102036;box-shadow:0 1px 2px #10182814}.login-form,.entry-form{display:grid;gap:14px;margin-top:18px}label{display:grid;gap:6px;color:#2f3c50;font-size:.9rem;font-weight:700}input,select,textarea{width:100%;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#172033;min-height:42px;padding:10px 12px}textarea{resize:vertical}.password-field{position:relative}.password-field svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7b8798;width:18px}.password-field input{padding-left:40px}.primary-action,.secondary-action,.card-actions button{border:0;border-radius:8px;min-height:42px;font-weight:800}.primary-action{background:#d71920;color:#fff}.secondary-action,.card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0f5fa8;color:#fff;padding:0 14px}.error{color:#b42318;font-weight:700}.app-shell{width:min(1280px,100%);margin:0 auto;padding:18px}.topbar{justify-content:space-between;gap:16px;margin-bottom:14px}.eyebrow{color:#d71920;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.icon-button{position:relative;display:grid;place-items:center;width:44px;height:44px;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#172033}.topbar-actions{display:flex;align-items:center;gap:8px}.notification-shell{position:relative}.notification-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;border:2px solid #ffffff;border-radius:999px;background:#d71920;color:#fff;font-size:.7rem;font-weight:900}.notification-menu{position:absolute;z-index:15;top:52px;right:0;width:min(340px,calc(100vw - 24px));max-height:360px;overflow-y:auto;display:grid;gap:6px;border:1px solid #d6deeb;border-radius:8px;background:#fff;box-shadow:0 16px 40px #070d1c2e;padding:10px}.notification-menu>strong{padding:2px 4px 6px}.notification-menu p{color:#637083;margin:0;padding:6px 4px}.notification-menu button{display:grid;gap:2px;border:1px solid #eef2f8;border-radius:6px;background:#f8fafc;color:#172033;padding:9px;text-align:left}.notification-menu button:hover{border-color:#b8c6d9;background:#f1f7ff}.notification-menu span,.notification-menu em{color:#637083;font-size:.74rem;font-style:normal;font-weight:800}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.metric{gap:10px;background:#fff;border:1px solid #e1e6ef;border-radius:8px;padding:14px}.metric svg{color:#0f5fa8}.metric strong{display:block;font-size:1.35rem}.metric span{color:#637083;font-size:.83rem;font-weight:700}.main-nav{width:fit-content;margin-bottom:14px;flex-wrap:wrap}.store-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;margin-bottom:8px}.store-tabs button{white-space:nowrap;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#405066;min-height:40px;padding:0 14px;font-weight:800}.empty-chip{display:inline-flex;align-items:center;min-height:40px;border:1px dashed #c9d3e2;border-radius:8px;color:#637083;background:#fff;padding:0 14px;font-weight:800}.store-tabs button.active{color:#fff;background:#172033;border-color:#172033}.store-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;background:#fff;border:1px solid #e1e6ef;border-radius:8px;padding:12px;margin-bottom:14px}.store-editor label span,.photo-picker span{gap:8px}.upload-card{position:relative;min-height:96px;display:grid;place-items:center;gap:4px;text-align:center;border:1px dashed #b8c6d9;border-radius:8px;background:#f8fafc;color:#172033;padding:16px;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.upload-card:hover{border-color:#1769b2;background:#f1f7ff;box-shadow:0 8px 24px #1769b21a}.upload-card input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#1769b2;color:#fff}.upload-icon svg{width:20px;height:20px}.upload-card strong,.upload-card em{display:block;line-height:1.2}.upload-card strong{font-size:.95rem}.upload-card em{color:#637083;font-size:.82rem;font-style:normal;font-weight:700}.checkbox-fieldset{min-width:0;margin:0;border:1px solid #d6deeb;border-radius:8px;padding:10px}.checkbox-fieldset legend{padding:0 4px;color:#405066;font-size:.85rem;font-weight:800}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;max-height:180px}.checkbox-option{display:flex;align-items:center;gap:8px;min-width:0;border-radius:6px;background:#f8fafc;padding:8px}.checkbox-option input{width:16px;height:16px;min-height:auto;margin:0}.checkbox-option span{min-width:0;overflow-wrap:anywhere;font-size:.86rem;font-weight:700}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:14px;align-items:start}.side-stack{display:grid;gap:14px}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.panel{background:#fff;border:1px solid #e1e6ef;border-radius:8px;padding:16px}.collapsible-panel{padding:0;overflow:hidden}.collapsible-trigger{width:100%;min-height:52px;border:0;background:#fff;color:#172033;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-weight:900;text-align:left}.collapsible-trigger span{display:inline-flex;align-items:center;gap:8px;min-width:0}.collapsible-trigger svg{width:18px;height:18px;flex:0 0 auto}.collapsible-trigger em{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#eef2f8;font-style:normal}.collapsible-body{border-top:1px solid #eef2f8;padding:12px}.scroll-list{max-height:360px;overflow-y:auto;padding-right:4px}.compact-list .account-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.full-panel{min-height:520px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-header>div{gap:8px}.panel-header h2{font-size:1rem;margin:0}.panel-header>span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#eef2f8;font-weight:900}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-row.three-col{grid-template-columns:1.2fr .6fr .8fr}.entry-form{border:1px solid #e1e6ef;border-radius:8px;background:#f8fafc;padding:12px;margin-bottom:14px}.entry-form.compact{gap:10px}.list-stack,.board-grid,.pattern-list{display:grid;gap:10px}.board-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.task-card,.pattern-group{position:relative;border:1px solid #e1e6ef;border-radius:8px;padding:14px;background:#fff}.need-card,.repair-card{display:flex;flex-direction:column;min-height:248px}.card-delete-button{position:absolute;top:8px;right:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#8a1f12}.card-delete-button:hover{background:#ffe1dc}.card-delete-button svg{width:17px;height:17px}.need-card .card-top,.repair-card .card-top{padding-right:28px}.task-card h3{margin:8px 0 6px;font-size:1rem}.task-card p{margin:0 0 8px;color:#526174}.card-summary{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.read-more-button{width:fit-content;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#0f5fa8;font-weight:800;padding:2px 0}.read-more-button svg{width:16px;height:16px}.expected{background:#fff7e6;border-left:3px solid #f59e0b;padding:8px 10px}.photo-picker input{background:#fff}.photo-preview{display:grid;gap:10px}.photo-carousel{display:grid;gap:8px}.photo-carousel img{display:block;width:100%;max-height:280px;object-fit:cover;border:1px solid #d6deeb;border-radius:8px;background:#eef2f8}.carousel-controls{display:flex;align-items:center;justify-content:center;gap:8px}.carousel-controls button{width:34px;min-height:34px;display:inline-grid;place-items:center;border:1px solid #d6deeb;border-radius:999px;background:#fff;color:#0f5fa8;padding:0}.carousel-controls button:first-child svg{transform:rotate(180deg)}.carousel-controls span{min-width:56px;text-align:center;color:#405066;font-size:.82rem;font-weight:900}.photo-preview img,.issue-photo{display:block;width:100%;max-height:280px;object-fit:cover;border:1px solid #d6deeb;border-radius:8px;background:#eef2f8}.photo-preview button{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#405066;font-weight:800;padding:0 12px}.issue-photo{margin:10px 0}.photo-carousel.issue-photo{display:grid}.video-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:fit-content;border-radius:8px;background:#172033;color:#fff;font-weight:800;padding:0 12px;text-decoration:none}.video-link svg{width:18px;height:18px}.video-preview,.rule-section{display:grid;gap:10px}.video-preview{margin-bottom:6px}.video-preview video,.training-video{display:block;width:100%;max-height:320px;border:1px solid #d6deeb;border-radius:8px;background:#111827}.video-preview button{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#405066;font-weight:800;padding:0 12px}.rule-section{margin:14px 0}.password-board{display:grid;gap:10px}.account-row{display:grid;gap:10px;border:1px solid #e1e6ef;border-radius:8px;padding:12px;background:#fff}.account-row strong,.account-row span{display:block}.account-row span{color:#637083;font-size:.84rem;font-weight:700;margin-top:2px}.account-row form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.inline-edit-form,.history-list{display:grid;gap:10px}.history-list{margin-top:12px;border-top:1px solid #eef2f8;padding-top:12px}.history-item{display:grid;gap:2px;color:#526174;font-size:.86rem}.history-item span{color:#637083;font-weight:700}.store-detail-page{grid-column:1 / -1}.detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.card-top,.meta-row,.board-tools,.pattern-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.priority,.status,.store-pill{border-radius:999px;padding:4px 9px;font-size:.75rem;font-weight:900;text-transform:capitalize}.priority.high{color:#fff;background:#d71920}.priority.medium{color:#653600;background:#ffd99b}.priority.low{color:#174c2b;background:#c9f7d8}.status{color:#1f2a44;background:#e9eef7}.status.open,.status.needed,.status.assigned,.status.reported{color:#8a1f12;background:#ffe1dc}.status.manager_done,.status.ordered,.status.done,.status.in_progress{color:#694100;background:#ffe8b8}.status.verified,.status.received,.status.fixed{color:#0f5132;background:#d8f7e5}.store-pill{color:var(--store-color, #0f5fa8);background:color-mix(in srgb,var(--store-color, #0f5fa8) 12%,white)}.color-picker-row{display:flex;align-items:center;gap:10px}.color-picker-row input{width:54px;min-height:40px;padding:4px}.color-picker-row strong{color:#637083;font-size:.84rem}.needs-store-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;padding-bottom:6px}.full-panel>.collapsible-panel{margin-top:14px}.assigned-work-summary{background:#f8fafc}.needs-store-tabs button{min-height:40px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #d6deeb;border-radius:8px;background:#fff;color:#405066;padding:0 10px;font-weight:800}.needs-store-tabs button.active{border-color:var(--store-color);background:color-mix(in srgb,var(--store-color) 12%,white);color:var(--store-color)}.needs-store-tabs em{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#eef2f8;color:#405066;font-size:.76rem;font-style:normal}.store-color-dot{width:10px;height:10px;flex:0 0 auto;border-radius:999px;background:var(--store-color)}.meta-row{justify-content:flex-start;flex-wrap:wrap;color:#7b8798;font-size:.78rem;font-weight:700}.card-actions{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:12px}.need-card>.meta-row,.repair-card>.meta-row{margin-top:auto}.need-card>.card-actions,.repair-card>.card-actions{margin-top:10px}.need-card>.card-actions button,.repair-card>.card-actions button{min-height:38px;padding:0 11px;font-size:.9rem}.dialog-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0b12207a;padding:16px}.details-dialog{width:min(100%,560px);max-height:min(82vh,720px);overflow-y:auto;border:1px solid #d6deeb;border-radius:8px;background:#fff;box-shadow:0 24px 80px #070d1c3d}.dialog-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eef2f8;background:#fff;padding:14px 16px}.dialog-header h2{margin:0;font-size:1.05rem}.dialog-body{padding:16px}.dialog-body p{color:#405066;margin:0 0 10px}.collaboration-panel{display:grid;gap:12px;margin-top:16px;border-top:1px solid #eef2f8;padding-top:14px}.collaboration-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.collaboration-heading h3{margin:0;font-size:.98rem}.collaboration-heading span{color:#0f5fa8;font-size:.78rem;font-weight:800;text-align:right}.comment-list,.comment-form{display:grid;gap:8px}.comment-item{border:1px solid #e1e6ef;border-radius:8px;background:#f8fafc;padding:10px}.comment-item div{display:flex;justify-content:space-between;gap:8px}.comment-item span,.comment-item em{color:#637083;font-size:.76rem;font-style:normal;font-weight:700}.comment-item em{display:inline-block;margin-top:4px;color:#0f5fa8}.comment-item p{margin:6px 0 0}.board-tools{margin-bottom:14px;align-items:flex-start}.search-box{width:min(100%,360px);min-height:42px;border:1px solid #d6deeb;border-radius:8px;padding:0 10px;background:#fff;grid-template-columns:none;gap:8px}.search-box input{min-height:40px;padding:0;border:0;outline:0}.search-box svg{color:#7b8798;flex:0 0 auto}.pattern-group h3{margin:0 0 10px}.pattern-row{padding:10px 0;border-top:1px solid #eef2f8;align-items:flex-start}.pattern-row span,.pattern-row em{color:#637083;font-size:.85rem;font-style:normal;font-weight:800}.pattern-row strong{flex:1}.empty-state{border:1px dashed #c9d3e2;border-radius:8px;color:#637083;margin:0;padding:18px;text-align:center;font-weight:700}.helper-note{margin:10px 0 0;color:#637083;font-size:.9rem;font-weight:800}@media (max-width: 860px){.workspace-grid,.management-grid,.metric-row{grid-template-columns:1fr}.main-nav{width:100%;overflow-x:auto;justify-content:flex-start}.main-nav button{flex:0 0 auto;padding:0 8px}.board-tools{display:grid}}@media (max-width: 520px){.app-shell{padding:12px}.topbar{align-items:flex-start;display:grid}.topbar-actions{width:100%;justify-content:space-between}.login-panel,.panel{padding:14px}.form-row,.form-row.three-col,.store-editor,.account-row form,.board-grid{grid-template-columns:1fr}.card-actions{display:grid;grid-template-columns:1fr}.card-actions button,.secondary-action,.primary-action{width:100%}.photo-preview img,.photo-carousel img,.issue-photo{max-height:220px}.upload-card{min-height:116px}.dialog-backdrop{padding:10px}.details-dialog{max-height:88vh}.compact-list .account-row{grid-template-columns:1fr}.topbar h1{font-size:1.6rem}.pattern-row{display:grid}}
