:root,:root[data-theme=jiho]{--bg: #f3ebe2;--surface: #fffdf9;--surface-2: #f8f2ea;--text: #2e2620;--muted: #7d6e62;--border: #e4d8ca;--primary: #483f36;--primary-soft: #efe5da;--on-primary: #fffdf9;--topbar-bg: #483f36;--topbar-fg: #f3ebe2;--topbar-line: transparent;--cta-bg: #a57069;--cta-fg: #ffffff;--cta-icon-bg: rgba(255, 255, 255, .2);--tab-active: #a57069;--notice-bg: #f3e2da;--notice-fg: #7a4b45;--bubble-store: #f3e2da;--bubble-hq: #efe5da;--success: #5b7f56;--success-soft: #e7efe3;--warn: #a8672c;--warn-soft: #f6e8d8;--danger: #b8443c;--danger-soft: #f8e4e0;--st-pending: #b8443c;--st-pending-bg: #f8e4e0;--st-accepted: #483f36;--st-accepted-bg: #efe5da;--st-contacting: #7a4b45;--st-contacting-bg: #f3e2da;--st-processing: #a8672c;--st-processing-bg: #f6e8d8;--st-confirm: #5b7f56;--st-confirm-bg: #e7efe3;--st-closed: #7d6e62;--st-closed-bg: #ece4da;--tone-0: #a57069;--tone-1: #c9935f;--tone-2: #6f8a6e;--tone-3: #8c6a4f;--tone-4: #b5838d;--tone-5: #5f7480}:root[data-theme=cafein]{--bg: #f7f7f7;--surface: #ffffff;--surface-2: #f4f4f4;--text: #111111;--muted: #777777;--border: #e2e2e2;--primary: #111111;--primary-soft: #ededed;--on-primary: #ffffff;--topbar-bg: #ffffff;--topbar-fg: #111111;--topbar-line: #111111;--cta-bg: #111111;--cta-fg: #ffffff;--cta-icon-bg: rgba(255, 255, 255, .16);--tab-active: #111111;--notice-bg: #fff2f2;--notice-fg: #c93c3c;--bubble-store: #f2f2f2;--bubble-hq: #e8e8e8;--success: #2f6b3a;--success-soft: #eaf2ec;--warn: #8a5a12;--warn-soft: #f6efe2;--danger: #c93c3c;--danger-soft: #fff2f2;--st-pending: #c93c3c;--st-pending-bg: #fff2f2;--st-accepted: #111111;--st-accepted-bg: #ededed;--st-contacting: #444444;--st-contacting-bg: #e6e6e6;--st-processing: #111111;--st-processing-bg: #dcdcdc;--st-confirm: #ffffff;--st-confirm-bg: #111111;--st-closed: #999999;--st-closed-bg: #f2f2f2;--tone-0: #111111;--tone-1: #555555;--tone-2: #888888;--tone-3: #333333;--tone-4: #777777;--tone-5: #aaaaaa}:root{--radius: 14px;--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);--tabbar-h: 64px;--maxw: 760px;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Noto Sans TC,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang TC,Microsoft JhengHei,sans-serif;font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body.no-scroll{overflow:hidden}a{color:var(--primary)}h1,h2,h3{margin:0;line-height:1.3}h1{font-size:1.35rem}h2{font-size:1.05rem}input,select,textarea{width:100%;font:inherit;font-size:16px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:11px 12px;min-height:46px}input:focus,select:focus,textarea:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}textarea{resize:vertical}button{font:inherit;cursor:pointer}.app{min-height:100vh;padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px)}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));background:var(--topbar-bg);color:var(--topbar-fg);border-bottom:1px solid var(--topbar-line)}.brand{display:flex;align-items:center;gap:8px;min-width:0;color:inherit;font-weight:700;text-decoration:none;white-space:nowrap}.brand-name{overflow:hidden;text-overflow:ellipsis}.logo{display:block;flex-shrink:0;object-fit:contain}.logo-small{height:30px;max-width:96px}.logo-large{height:72px;max-width:220px;margin:0 auto}.logo-placeholder{display:inline-flex;align-items:center;justify-content:center;border:1.5px dashed currentColor;border-radius:6px;opacity:.6;font-size:.7rem;font-weight:700;letter-spacing:1px}.logo-small.logo-placeholder{width:52px}.logo-large.logo-placeholder{width:140px;font-size:1rem;color:var(--muted)}.logo-preview{display:flex;align-items:center;justify-content:center;min-height:110px;padding:16px;border-radius:12px;background:var(--surface-2);border:1px dashed var(--border)}.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.theme-option{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;border-radius:12px;border:2px solid var(--border);background:var(--surface);color:var(--text);text-align:left}.theme-option.active{border-color:var(--primary)}.theme-swatches{display:flex;gap:4px;margin-bottom:4px}.theme-swatches span{width:22px;height:22px;border-radius:6px;border:1px solid rgba(0,0,0,.12)}.logo-preview img{max-height:90px;max-width:100%;object-fit:contain}.who{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px;justify-content:flex-end}.who-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.who-role{font-size:.75rem;opacity:.85;white-space:nowrap}.topbar .link-btn{color:inherit;opacity:.9}.demo-banner{background:#fff7e0;color:#7a5a00;font-size:.78rem;text-align:center;padding:4px 16px}.main{max-width:var(--maxw);margin:0 auto;padding:16px}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:var(--tabbar-h);color:var(--muted);text-decoration:none;font-size:.75rem}.tab.active{color:var(--tab-active);font-weight:600}.tab-ico{position:relative;font-size:1.35rem;line-height:1}.tab-badge{position:absolute;top:-6px;right:-12px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--danger);color:#fff;font-size:.7rem;line-height:18px;text-align:center;font-weight:700}.stack{display:flex;flex-direction:column;gap:14px}.row{display:flex;align-items:center}.row.between{justify-content:space-between;gap:8px}.gap-s{gap:8px}.wrap{flex-wrap:wrap}.row.wrap>.field{flex:1 1 200px}.end{justify-content:flex-end}.grow{flex:1;min-width:0}.block{display:block}.center{text-align:center}.pre{white-space:pre-wrap;word-break:break-word}.muted{color:var(--muted)}.small{font-size:.85rem}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:12px}.card.highlight{border:2px solid var(--success);background:var(--success-soft)}.card.inactive,.sub-row.inactive{opacity:.6}.page-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 16px;border-radius:12px;border:1px solid transparent;font-weight:600;text-decoration:none;text-align:center;white-space:nowrap}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.big{width:100%;min-height:54px;font-size:1.05rem}.btn.primary{background:var(--primary);color:var(--on-primary)}.btn.secondary{background:var(--primary-soft);color:var(--primary)}.btn.ghost{background:transparent;color:var(--primary);border-color:var(--border)}.btn.success{background:var(--success);color:#fff}.btn.warn{background:var(--warn);color:#fff}.btn.warn-outline{background:var(--surface);color:var(--warn);border-color:var(--warn)}.small-btn{min-height:38px;font-size:.85rem;align-self:center}.link-btn{background:none;border:none;padding:6px 0;color:var(--primary);font-weight:600;text-decoration:none;align-self:flex-start}.link-btn.small{font-size:.85rem;margin-left:auto}.back{margin-bottom:-6px}.icon-btn{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-btn:disabled{opacity:.35}.tag{display:inline-block;font-size:.75rem;padding:1px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary);white-space:nowrap}.tag.danger{background:var(--danger-soft);color:var(--danger)}.tag.warn{background:var(--warn-soft);color:var(--warn)}.error{background:var(--danger-soft);color:var(--danger);border-radius:10px;padding:10px 12px;font-size:.9rem}.ok-text{color:var(--success);font-weight:600}.empty{text-align:center;color:var(--muted);padding:40px 16px}.empty-icon{font-size:2.2rem;margin-bottom:6px}.list{display:flex;flex-direction:column;gap:10px}ul.plain{margin:0;padding-left:20px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.95rem}.req,.opt{font-style:normal;font-size:.7rem;font-weight:600;padding:1px 6px;border-radius:6px}.req{background:var(--danger-soft);color:var(--danger)}.opt{background:var(--surface-2);color:var(--muted);border:1px solid var(--border)}.field-hint{font-size:.82rem;color:var(--muted)}.toggle{display:flex;align-items:center;gap:12px;cursor:pointer;min-height:44px}.toggle input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{position:relative;flex-shrink:0;width:46px;height:28px;border-radius:14px;background:#cfd6e0;transition:background .15s}.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}.toggle input:checked+.toggle-track{background:var(--success)}.toggle input:checked+.toggle-track:after{transform:translate(18px)}.toggle input:focus-visible+.toggle-track{outline:2px solid var(--primary);outline-offset:2px}.input-unit{display:flex;align-items:center;gap:8px;max-width:220px}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}.chip{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;font-size:.9rem}.chip.active{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.chip-n{font-size:.75rem;min-width:20px;padding:0 6px;border-radius:10px;background:#00000012}.chip.active .chip-n{background:#ffffff40}.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filters input[type=search]{grid-column:1 / -1}@media (min-width: 640px){.filters{grid-template-columns:repeat(4,1fr)}}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:.78rem;font-weight:700;white-space:nowrap}.st-pending{background:var(--st-pending-bg);color:var(--st-pending)}.st-accepted{background:var(--st-accepted-bg);color:var(--st-accepted)}.st-contacting{background:var(--st-contacting-bg);color:var(--st-contacting)}.st-processing{background:var(--st-processing-bg);color:var(--st-processing)}.st-awaiting_confirm{background:var(--st-confirm-bg);color:var(--st-confirm)}.st-closed{background:var(--st-closed-bg);color:var(--st-closed)}.stepper{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr)}.stepper li{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.68rem;color:var(--muted);text-align:center}.stepper li:before{content:"";position:absolute;top:6px;left:-50%;width:100%;height:2px;background:var(--border)}.stepper li:first-child:before{display:none}.stepper .dot{position:relative;z-index:1;width:14px;height:14px;border-radius:50%;background:var(--border)}.stepper li.done .dot,.stepper li.done:before,.stepper li.current:before{background:var(--primary)}.stepper li.current .dot{background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.stepper li.current{color:var(--primary);font-weight:700}.case-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);color:var(--text);text-decoration:none;border-left:5px solid var(--border)}.tone-0{--tone: var(--tone-0)}.tone-1{--tone: var(--tone-1)}.tone-2{--tone: var(--tone-2)}.tone-3{--tone: var(--tone-3)}.tone-4{--tone: var(--tone-4)}.tone-5{--tone: var(--tone-5)}.case-card[class*=tone-]{border-left-color:var(--tone)}.case-no{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.85rem;color:var(--muted)}.case-cat{font-size:.92rem}.case-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text);opacity:.85;font-size:.92rem}.case-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.8rem;color:var(--muted);align-items:center}.cta{display:flex;align-items:center;gap:16px;padding:20px;border-radius:18px;background:var(--cta-bg);color:var(--cta-fg);text-decoration:none;box-shadow:var(--shadow)}.cta-icon{width:56px;height:56px;border-radius:16px;background:var(--cta-icon-bg);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700}.cta b{display:block;font-size:1.25rem}.cta small{opacity:.85}.notice-banner{width:100%;text-align:left;border:none;background:var(--notice-bg);color:var(--notice-fg);border-radius:12px;padding:12px 14px;font-weight:600}.notice-banner.static{cursor:default;background:var(--warn-soft);color:var(--warn)}.section-label{font-weight:700;font-size:.9rem}.section-label.danger{color:var(--danger)}.wizard{display:flex;flex-direction:column;gap:14px}.wizard-head{display:flex;justify-content:space-between;align-items:center}.progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.progress-seg{height:6px;border-radius:3px;background:var(--border)}.progress-seg.on{background:var(--primary)}.wizard-title{font-size:1.5rem}.crumb{font-weight:600;color:var(--muted)}.cat-grid{display:grid;gap:12px}@media (min-width: 640px){.cat-grid{grid-template-columns:repeat(3,1fr)}}.cat-card{display:flex;align-items:center;gap:16px;padding:22px 20px;border-radius:18px;border:2px solid var(--border);background:var(--surface);text-align:left;box-shadow:var(--shadow);border-left-width:8px}@media (min-width: 640px){.cat-card{flex-direction:column;text-align:center;border-left-width:2px;border-top-width:8px}}.cat-card[class*=tone-]{border-color:var(--tone)}.loading{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.spinner{width:36px;height:36px;border-radius:50%;border:4px solid var(--primary-soft);border-top-color:var(--primary);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.import-box textarea{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:14px}.cat-icon{font-size:2.4rem;line-height:1}.cat-name{font-size:1.3rem;font-weight:700}.sub-list{display:flex;flex-direction:column;gap:8px}.sub-item{display:flex;justify-content:space-between;align-items:center;min-height:58px;padding:12px 18px;border-radius:14px;border:1px solid var(--border);background:var(--surface);font-size:1.1rem;font-weight:600;text-align:left;color:var(--text)}.sub-item.active{border-color:var(--primary);background:var(--primary-soft)}.sub-item span{color:var(--muted);font-size:1.4rem}.summary{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);padding:14px 16px;display:flex;flex-direction:column;gap:10px}.summary-title{font-weight:700}dl{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:6px 14px}dt{color:var(--muted);font-size:.88rem}dd{margin:0;min-width:0;word-break:break-word}.success{text-align:center;padding:32px 8px;display:flex;flex-direction:column;gap:10px}.success-icon{font-size:3.5rem}.success .case-no{font-size:1.1rem;color:var(--text)}.media-picker{display:flex;flex-direction:column;gap:10px}.media-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}.media-tile{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#e9edf2}.media-tile img,.media-tile video{width:100%;height:100%;object-fit:cover;display:block;background:#000}.media-btn{padding:0;border:none;width:100%;height:100%;background:none}.media-ph{display:flex;align-items:center;justify-content:center;height:100%;font-size:.75rem;color:var(--muted);text-align:center;padding:4px}.media-kind{position:absolute;left:4px;top:4px;font-size:.8rem;pointer-events:none}.media-remove{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;border:none;background:#0009;color:#fff;font-size:.8rem}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#000000e0;display:flex;align-items:center;justify-content:center;padding:16px}.lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:none}.upload-progress{display:flex;align-items:center;gap:10px;font-size:.85rem;color:var(--muted)}.upload-bar{flex:1;height:6px;border-radius:3px;background:var(--border);overflow:hidden}.upload-bar span{display:block;height:100%;background:var(--primary);transition:width .2s}.video-thumb{position:relative;display:block;background:#000}.video-thumb .media-ph{color:#ddd}.play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#0009;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem;pointer-events:none}.video-box{flex-direction:column;gap:12px}.video-frame{width:min(100%,900px);aspect-ratio:16 / 9;max-height:75vh;background:#000}.video-frame iframe{width:100%;height:100%;border:0}.video-actions{display:flex;gap:8px}.video-note{margin:0;color:#ffffffb3;font-size:.8rem}.media-ph a{font-size:.72rem}.storage-status{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-size:.9rem}.camera{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#000;color:#fff;display:flex;flex-direction:column}.camera-top,.camera-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.camera-top{padding-top:calc(12px + env(safe-area-inset-top))}.camera-bottom{flex-direction:column;justify-content:center;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.camera-title{font-weight:600;text-align:center}.camera-icon{width:44px;height:44px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:1.1rem}.camera-icon:disabled{opacity:.3}.camera-view{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.camera-view video{width:100%;height:100%;object-fit:contain}.camera-view video.mirror{transform:scaleX(-1)}.camera-msg{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.camera-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:#fff3}.camera-progress div{height:100%;background:#ff3b30;transition:width .2s linear}.shutter{width:72px;height:72px;border-radius:50%;border:5px solid #fff;background:#fff;box-shadow:inset 0 0 0 3px #000}.shutter.rec{background:#ff3b30}.shutter.rec.on{border-radius:18px;width:64px;height:64px}.shutter:disabled{opacity:.4}.camera-fallback{background:none;border:none;color:#fffc;text-decoration:underline;font-size:.85rem;padding:4px}.detail-title{font-size:1.2rem}.desc{margin:0;font-size:1rem}.info{padding-top:8px;border-top:1px solid var(--border)}.status-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.tl-item{display:flex;gap:10px;font-size:.92rem}.tl-icon{width:28px;flex-shrink:0;text-align:center}.tl-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.tl-note{background:var(--surface-2);border-radius:8px;padding:8px 10px}.tl-item.warn .tl-note{background:var(--warn-soft)}.tl-item.ok .tl-note{background:var(--success-soft)}.tl-time{font-size:.75rem;color:var(--muted)}.bubble-row{display:flex}.bubble-row.mine{justify-content:flex-end}.bubble{max-width:85%;border-radius:14px;padding:8px 12px;display:flex;flex-direction:column;gap:6px}.bubble.from-store{background:var(--bubble-store)}.bubble.from-hq{background:var(--bubble-hq)}.bubble-who{font-size:.78rem;font-weight:700}.comment-box{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--border);padding-top:12px}.comment-box .btn{align-self:flex-end}.notice{display:block;padding:12px 14px;border-radius:12px;background:var(--surface);box-shadow:var(--shadow);color:var(--text);text-decoration:none}.notice.unread{border-left:4px solid var(--danger);font-weight:600}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#10182873;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:560px;max-height:92vh;background:var(--surface);border-radius:18px 18px 0 0;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}@media (min-width: 640px){.sheet-backdrop{align-items:center}.sheet{border-radius:18px}}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 16px 8px}.sheet-body{padding:8px 16px 16px;overflow-y:auto}.sheet-foot{padding:12px 16px 16px;border-top:1px solid var(--border)}.login{min-height:100vh;padding:24px 16px;display:flex;flex-direction:column;align-items:center;gap:16px}.login-card{width:100%;max-width:420px;background:var(--surface);border-radius:18px;box-shadow:var(--shadow);padding:24px 20px;display:flex;flex-direction:column;gap:14px}.login-card h1{text-align:center}.login-logo{font-size:2.6rem;text-align:center}.login-card.demo{background:var(--surface-2);border:1px dashed #c8d1dd;box-shadow:none}.login-card.demo h2{font-size:1rem}.login-card.demo p{margin:-6px 0 0}.demo-group{display:flex;flex-direction:column;gap:6px}.demo-group-title{font-size:.8rem;font-weight:700;color:var(--muted)}.demo-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.demo-user{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface);text-align:left;color:var(--text);min-height:52px}.demo-user:hover{border-color:var(--primary)}.menu-item,.table-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);color:var(--text);text-decoration:none;border:none;text-align:left;width:100%}.menu-icon{font-size:1.6rem}.table-list{display:flex;flex-direction:column;gap:8px}.check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.check{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);min-height:46px;cursor:pointer}.check.on{border-color:var(--primary);background:var(--primary-soft)}.check input{width:18px;height:18px;min-height:0;margin:0}.cat-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.cat-head-name,.sub-row-name{display:flex;align-items:center;gap:8px;background:none;border:none;padding:4px 0;color:var(--text);text-align:left;font-size:1.05rem;min-width:0}.cat-icon-s{font-size:1.4rem}.assign-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--primary-soft)}.assign-row .small{white-space:nowrap;font-weight:600;color:var(--primary)}.assign-select{min-height:40px;padding:6px 10px}.sub-rows{display:flex;flex-direction:column;border-top:1px solid var(--border)}.sub-row{display:grid;grid-template-columns:1fr minmax(120px,44%) auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--border)}.sub-row-name{font-size:.95rem}.order-btns{display:inline-flex;gap:4px}.order-btns .icon-btn{width:32px;height:32px;font-size:.7rem}.choice-grid{display:grid;gap:8px}.choice-grid.two{grid-template-columns:1fr 1fr}.choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:50px;padding:10px 14px;border-radius:12px;border:2px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;text-align:left}.choice small{font-weight:400;color:var(--muted);font-size:.8rem}.choice.active{border-color:var(--primary);background:var(--primary-soft)}.choice.danger.active{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.check-row{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.95rem;cursor:pointer}.check-row input{width:20px;height:20px;min-height:0;margin:0;flex-shrink:0}.info-box{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:12px;background:var(--notice-bg);color:var(--notice-fg);font-size:.92rem;text-align:left}.info-box.warn{background:var(--warn-soft);color:var(--warn)}.danger-text{color:var(--danger)}.urgent-tag{margin-left:8px;vertical-align:middle}.tag.urgent{background:var(--danger);color:#fff;font-weight:700}.case-card.is-urgent{box-shadow:0 0 0 2px var(--danger)}.sub-item-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sub-item .tag{font-size:.72rem}.dl-row{display:contents}.answers{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-size:.9rem}.answers b{display:block;font-size:.8rem;color:var(--muted);font-weight:600}.reason-list,.question-list{display:flex;flex-direction:column;gap:8px}.reason-row{display:grid;grid-template-columns:1fr auto auto;gap:6px;align-items:center}.question-card{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-2)}.sub-row-meta{grid-column:1 / -1;display:flex;gap:6px;flex-wrap:wrap;font-size:.78rem;color:var(--muted);margin-top:-4px}.reason-row.inactive{opacity:.55}
