:root{--ui-k:1}@media (min-width:900px){.dashboard-shell{--ui-k:1.25}}.card-shell{--u:calc(1px * var(--ui-k));--gold-border:#dfb758;--gold-hover:#c99a2c;--gold-shell:#e8c77a;--color-action-gold:#8a7016;--shadow-3d:0 1px 1px #fffffff2 inset, 0 -3px 5px #c1a8762e inset, 0 1px 2px #8a701624, 0 3px 6px #967d4b29;--shadow-3d-hover:0 1px 1px #fffffff2 inset, 0 -3px 5px #c1a87638 inset, 0 2px 3px #8a701629, 0 5px 9px #967d4b33;--shadow-3d-pressed:0 1px 1px #ffffffe6 inset, 0 -1px 3px #c1a87624 inset, 0 1px 2px #8a70161f;width:100%;max-width:calc(850 * var(--u));background:var(--color-surface);border:calc(1.5 * var(--u)) solid var(--gold-shell);border-radius:calc(32 * var(--u));box-shadow:var(--shadow-card);padding:calc(18 * var(--u)) calc(24 * var(--u)) calc(20 * var(--u));box-sizing:border-box;color:var(--color-text-primary);margin-inline:auto}.card-shell [hidden]{display:none!important}.card-shell .main-container-error,.main-container-error{text-align:center;width:100%;margin-bottom:calc(12 * var(--u,1px));justify-content:center;align-items:center;display:flex}.card-shell .error-span,.error-span{color:var(--color-danger,#d94f4f);font-size:calc(12.5 * var(--u,1px));text-align:center;font-weight:700;line-height:1.4;display:inline-block}.card-shell .card-header{justify-content:space-between;align-items:flex-start;gap:calc(16 * var(--u));flex-wrap:wrap;width:100%;display:flex}.card-shell>.card-header{margin-bottom:calc(12 * var(--u))}.card-shell .card-header.sub{margin-bottom:calc(10 * var(--u))}.card-shell .card-title-group{align-items:center;gap:calc(10 * var(--u));flex-wrap:wrap;min-width:0;display:flex}.card-shell .card-title{min-height:calc(34 * var(--u));font-size:calc(18 * var(--u));color:var(--color-text-primary);align-items:center;margin:0;font-weight:700;line-height:1.3;display:flex}.card-shell .card-title-group.card-title-group-stacked{align-items:flex-start;gap:calc(16 * var(--u));flex-direction:column}.card-shell .card-title-group-stacked .card-title{min-height:0}.card-shell .card-subtitle-line{align-items:baseline;gap:calc(6 * var(--u));font-size:calc(13 * var(--u));flex-wrap:wrap;margin:0;line-height:1.3;display:flex}.card-shell .card-subtitle-name{color:var(--color-text-primary);overflow-wrap:anywhere;font-weight:700}.card-shell .card-subtitle-sep{color:var(--color-text-secondary)}.card-shell .card-subtitle-meta{color:var(--color-text-secondary);font-weight:500}.card-shell .action-bar-group{align-items:center;gap:calc(4 * var(--u));flex-direction:column;flex-shrink:0;display:inline-flex}.card-shell .btn-row,.card-shell .action-bar{align-items:center;gap:calc(8 * var(--u));flex-wrap:wrap;display:flex}.card-shell .save-feedback{font-size:calc(11 * var(--u));min-height:calc(16 * var(--u));text-align:center;font-weight:600;line-height:1.2}.card-shell .save-feedback.saving{color:#8a7016}.card-shell .save-feedback.saved{color:#15803d}.card-shell .form-messages{margin-bottom:calc(8 * var(--u))}.card-shell .msg{font-size:calc(10 * var(--u));margin:calc(6 * var(--u)) 0 0;font-weight:500;line-height:1.4}.card-shell .msg.err{color:var(--color-danger)}.card-shell .msg.ok{color:var(--color-success-text)}.card-shell .docked-tabs{margin:calc(2 * var(--u)) 0 calc(16 * var(--u))}.card-shell .seg-track{padding:calc(5 * var(--u));border-radius:9999px}.card-shell .seg-tab{padding:calc(6 * var(--u)) calc(16 * var(--u));font-size:calc(12 * var(--u));min-height:calc(30 * var(--u));border-radius:9999px;font-weight:600;line-height:1}.card-shell .btn-primary,.card-shell .btn-secondary,.card-shell .danger-btn{justify-content:center;align-items:center;gap:calc(6 * var(--u));max-width:max-content;min-height:calc(34 * var(--u));white-space:nowrap;cursor:pointer;border-radius:9999px;line-height:1;transition:transform .14s,box-shadow .14s,filter .14s,border-color .14s;width:fit-content!important;padding:calc(7 * var(--u)) calc(18 * var(--u))!important;border-width:calc(1.5 * var(--u))!important;font-size:calc(12 * var(--u))!important;letter-spacing:normal!important;font-weight:700!important;display:inline-flex!important}.card-shell .btn-secondary{border-color:var(--gold-border)!important;color:var(--color-action-gold)!important;box-shadow:var(--shadow-3d)!important;background:linear-gradient(176deg,#fff 0%,#fdfaf3 55%,#f6f0e3 100%)!important}.card-shell .btn-secondary:not(:disabled):hover{filter:brightness(1.02);transform:translateY(-1px);border-color:var(--gold-hover)!important;box-shadow:var(--shadow-3d-hover)!important}.card-shell .btn-secondary:not(:disabled):active{transform:translateY(1px);box-shadow:var(--shadow-3d-pressed)!important}.card-shell .btn-secondary.danger-text{color:#dc2626!important}.card-shell .btn-primary{color:#261b05!important;background:linear-gradient(#edd07e 0%,#dfb758 45%,#c99a2c 100%)!important;border-color:#b8861e!important;font-weight:800!important;box-shadow:inset 0 1px 1px #ffffffb3,0 4px 10px #c99a2c47!important}.card-shell .btn-primary:not(:disabled):hover{filter:brightness(1.03);transform:translateY(-1px)}.card-shell .btn-primary:not(:disabled):active{transform:translateY(1px)}.card-shell .btn-sm{min-height:calc(34 * var(--u));padding:calc(7 * var(--u)) calc(18 * var(--u))!important;font-size:calc(12 * var(--u))!important}.card-shell .btn-primary:focus-visible,.card-shell .btn-secondary:focus-visible{outline:calc(2 * var(--u)) solid #b99a3e;outline-offset:calc(3 * var(--u))}.card-shell .btn-primary:disabled,.card-shell .btn-secondary:disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}.card-shell .truncate{max-width:calc(180 * var(--u));text-overflow:ellipsis;overflow:hidden}.card-shell .text-link{cursor:pointer;font-size:calc(10.5 * var(--u));text-underline-offset:2px;color:var(--color-action-gold);background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.card-shell .text-link.danger{color:#dc2626}.card-shell .text-link:disabled{opacity:.45;cursor:not-allowed}.card-shell .field-row{align-items:center;gap:calc(16 * var(--u));margin-bottom:calc(12 * var(--u));width:100%;display:flex}.card-shell .field-row.top{align-items:flex-start}.card-shell .field-row.top .form-label{padding-top:calc(8 * var(--u));align-items:flex-start}.card-shell .form-label{width:calc(140 * var(--u));font-size:calc(12 * var(--u));color:var(--color-text-primary);flex-shrink:0;align-items:center;margin:0;padding:0;font-weight:600;line-height:1.4;display:inline-flex}.card-shell .form-input,.card-shell .form-textarea,.card-shell .form-select{padding:calc(7.2 * var(--u)) calc(16 * var(--u));font-size:calc(12 * var(--u));box-sizing:border-box;border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(20 * var(--u));color:var(--color-text-primary);background-color:#fffdf8;outline:none;line-height:1.4;transition:background-color .14s,border-color .14s,box-shadow .14s;box-shadow:inset 0 2px 4px #8a701614}.card-shell .form-input:hover,.card-shell .form-textarea:hover,.card-shell .form-select:hover{border-color:var(--gold-hover);background-color:#fff9e9}.card-shell .form-input:focus,.card-shell .form-textarea:focus,.card-shell .form-select:focus{border-color:var(--gold-border);box-shadow:0 0 0 3px #dfb75840}.card-shell .form-input[readonly]{background:var(--color-surface-secondary);color:var(--color-text-secondary)}.card-shell .form-input.invalid,.card-shell .form-input.invalid:hover,.card-shell .form-input.invalid:focus,.card-shell .form-select.invalid,.card-shell .form-select.invalid:hover,.card-shell .form-select.invalid:focus{border-color:#dc2626;box-shadow:0 0 0 2px #dc262626}.card-shell .form-select{appearance:none;min-height:calc(34 * var(--u));padding:0 calc(38 * var(--u)) 0 calc(16 * var(--u));cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a7016' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right calc(14 * var(--u)) center;background-size:calc(14 * var(--u));font-weight:600}.gold-input,.gold-select{box-sizing:border-box;padding:calc(7.2 * var(--ui-k,1) * 1px) calc(16 * var(--ui-k,1) * 1px);font-size:calc(12 * var(--ui-k,1) * 1px);border:calc(1.5 * var(--ui-k,1) * 1px) solid #dfb758;border-radius:calc(20 * var(--ui-k,1) * 1px);color:var(--color-text-primary);background-color:#fffdf8;outline:none;line-height:1.4;transition:background-color .14s,border-color .14s,box-shadow .14s;box-shadow:inset 0 2px 4px #8a701614}.gold-input:hover,.gold-select:hover{background-color:#fff9e9;border-color:#c99a2c}.gold-input:focus,.gold-select:focus{border-color:#dfb758;box-shadow:0 0 0 3px #dfb75840}.gold-select{appearance:none;min-height:calc(34 * var(--ui-k,1) * 1px);padding:0 calc(38 * var(--ui-k,1) * 1px) 0 calc(16 * var(--ui-k,1) * 1px);cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a7016' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right calc(14 * var(--ui-k,1) * 1px) center;background-size:calc(14 * var(--ui-k,1) * 1px);font-weight:600}.gold-input.table-filter,.gold-select.table-filter{min-height:calc(26 * var(--ui-k,1) * 1px);font-size:calc(11 * var(--ui-k,1) * 1px);border-radius:calc(12 * var(--ui-k,1) * 1px)}.gold-input.table-filter{padding:0 calc(10 * var(--ui-k,1) * 1px)}.gold-select.table-filter{padding:0 calc(26 * var(--ui-k,1) * 1px) 0 calc(10 * var(--ui-k,1) * 1px);background-position:right calc(8 * var(--ui-k,1) * 1px) center;background-size:calc(12 * var(--ui-k,1) * 1px)}.fluid-table{container:fluidtable/inline-size}@container fluidtable (max-width:640px){.fluid-table table,.fluid-table thead,.fluid-table tbody,.fluid-table tr,.fluid-table th,.fluid-table td{display:block}.fluid-table .fluid-table-head{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;position:absolute;overflow:hidden}.fluid-table .fluid-table-filters{border-bottom:0;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:8px;padding:4px 0 8px;display:grid}.fluid-table .fluid-table-filters th{text-align:left;padding:0;font-weight:400}.fluid-table .fluid-table-filters th:empty{display:none}.fluid-table .fluid-table-filters th[data-label]:before,.fluid-table [data-cell=stat]:before{content:attr(data-label);letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary);margin-bottom:3px;font-size:.625rem;font-weight:700;display:block}.fluid-table .fluid-table-row{background:#fffdf8;border-radius:16px;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:8px;padding:12px;display:grid;border:1.5px solid var(--color-surface-secondary-border)!important}.fluid-table .fluid-table-row>td{min-width:0;padding:0}.fluid-table [data-cell=name]{grid-area:1/1/auto/span 4}.fluid-table [data-cell=edit]{grid-area:1/5/auto/span 2;justify-self:end}.fluid-table [data-cell=category],.fluid-table [data-cell=available]{grid-column:1/-1}.fluid-table [data-cell=stat]{background:var(--color-surface-secondary);border-radius:12px;grid-column:span 2;padding:6px 8px}}@container fluidtable (max-width:400px){.fluid-table [data-cell=stat]{grid-column:span 3}}.card-shell .w-name{width:calc(260 * var(--u));max-width:100%}.card-shell .w-compact{width:calc(100 * var(--u));max-width:100%}.card-shell .w-dim,.card-shell .w-hex{width:calc(112 * var(--u));max-width:100%}.card-shell .form-textarea{resize:vertical;width:100%;min-height:calc(84 * var(--u))}.card-shell .stack-field{gap:calc(4 * var(--u));flex-direction:column;display:flex}.card-shell .stack-field .form-label{width:auto}.card-shell .dim-row{gap:calc(12 * var(--u));flex-wrap:wrap;align-items:flex-end;display:flex}@media (max-width:640px){.card-shell .field-row{align-items:stretch;gap:calc(6 * var(--u));flex-direction:column}.card-shell .form-label{width:auto}.card-shell .field-row.top .form-label{padding-top:0}.card-shell{padding:calc(14 * var(--u)) calc(14 * var(--u)) calc(16 * var(--u));border-radius:calc(24 * var(--u))}}.card-shell .toggle-switch,.card-shell .toggle-switch-text{--toggle-w:calc(62 * var(--u));--toggle-h:calc(22 * var(--u));--knob-size:calc(27 * var(--u));width:var(--toggle-w);height:var(--toggle-h);border:calc(1.5 * var(--u)) solid var(--gold-border);cursor:pointer;background:linear-gradient(#ede4d3 0%,#e0d4be 50%,#d4c5ab 100%);border-radius:999px;outline:none;flex:none;align-items:center;padding:0;transition:background .2s,border-color .2s;display:inline-flex;position:relative;box-shadow:inset 0 2px 4px #64502847,inset 0 -1px 2px #ffffffb3,0 2px 6px #8c6e322e}.card-shell .toggle-switch:hover,.card-shell .toggle-switch-text:hover{border-color:var(--gold-hover)}.card-shell .toggle-switch:disabled,.card-shell .toggle-switch-text:disabled{opacity:.55;cursor:not-allowed}.card-shell .toggle-knob{width:var(--knob-size);height:var(--knob-size);font-weight:900;font-size:calc(6.7 * var(--u));letter-spacing:.02em;text-align:center;white-space:pre-line;color:var(--color-action-gold);background:linear-gradient(175deg,#fff 0%,#fffdf8 40%,#f7eedc 85%,#ead7be 100%);border-radius:999px;justify-content:center;align-items:center;line-height:1.05;transition:transform .2s cubic-bezier(.4,0,.2,1),color .2s;display:flex;position:absolute;top:50%;left:2px;transform:translateY(-50%);box-shadow:inset 0 2px 2px #fff,inset 0 -3px 5px #b48c3c59,0 4px 10px #00000047}.card-shell .toggle-switch[aria-checked=true]{background:linear-gradient(#ffd768 0%,#fdc841 50%,#e6a815 100%)}.card-shell .toggle-switch[aria-checked=true] .toggle-knob{transform:translate(calc(var(--toggle-w) - var(--knob-size) - 4 * var(--u)), -50%);color:#15803d}.card-shell .toggle-switch-text{background:linear-gradient(#f05246 0%,#e6392b 55%,#cf2618 100%)}.card-shell .toggle-switch-text .toggle-knob{color:#dc2626}.card-shell .toggle-switch-text[aria-checked=true]{background:linear-gradient(#3cd070 0%,#22b85a 55%,#189c48 100%)}.card-shell .toggle-switch-text[aria-checked=true] .toggle-knob{transform:translate(calc(var(--toggle-w) - var(--knob-size) - 4 * var(--u)), -50%);color:#15803d}.card-shell .toggle-switch:focus-visible,.card-shell .toggle-switch-text:focus-visible{outline:calc(2 * var(--u)) solid #b99a3e;outline-offset:calc(3 * var(--u))}.card-shell .badge{align-items:center;gap:calc(6 * var(--u));height:calc(22 * var(--u));padding:calc(2 * var(--u)) calc(10 * var(--u));font-size:calc(11 * var(--u));white-space:nowrap;border:1px solid #0000;border-radius:9999px;font-weight:700;display:inline-flex}.card-shell .badge-gold{border-color:var(--gold-border);color:var(--color-action-gold);background:#fff3d1}.card-shell .badge-progress{border-color:var(--gold-border);color:#18181b;background:#fdc8412e}.card-shell .pulse-dot{width:calc(6 * var(--u));height:calc(6 * var(--u));background:var(--gold-border);border-radius:50%;animation:1.2s ease-in-out infinite card-shell-pulse}@keyframes card-shell-pulse{50%{opacity:.35}}.card-shell .photo-grid{gap:calc(12 * var(--u));grid-template-columns:repeat(2,minmax(0,1fr));display:grid}@media (min-width:640px){.card-shell .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.card-shell .photo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.card-shell .media-slot{border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(12 * var(--u));padding:calc(8 * var(--u));gap:calc(6 * var(--u));background:#fff;flex-direction:column;min-width:0;display:flex}.card-shell .media-slot-head{justify-content:space-between;align-items:center;gap:calc(4 * var(--u));font-size:calc(11 * var(--u));min-height:calc(22 * var(--u));font-weight:600;display:flex}.card-shell .media-thumb{aspect-ratio:1;border-radius:calc(10 * var(--u));object-fit:cover;background:#eae2d5;width:100%}.card-shell .media-actions{justify-content:space-between;align-items:center;gap:calc(6 * var(--u));min-width:0;display:flex}.card-shell .media-actions .fname{font-size:calc(10 * var(--u));color:var(--color-text-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.card-shell .media-empty{aspect-ratio:1;border:calc(1.5 * var(--u)) dashed var(--gold-border);border-radius:calc(12 * var(--u));justify-content:center;align-items:center;gap:calc(4 * var(--u));width:100%;font-size:calc(11 * var(--u));color:var(--color-action-gold);cursor:pointer;background:#fffdf8;flex-direction:column;font-weight:600;transition:background .15s;display:flex}.card-shell .media-empty:hover{background:#fff9e9}.card-shell .media-empty svg{width:calc(22 * var(--u));height:calc(22 * var(--u));opacity:.6}.card-shell .video-slot{width:calc(244 * var(--u));max-width:100%}.card-shell .video-frame{aspect-ratio:16/9;border-radius:calc(10 * var(--u));color:#8a7016;width:100%;font-size:calc(11 * var(--u));text-align:center;background:#eae2d5;justify-content:center;align-items:center;display:flex;overflow:hidden}.card-shell .video-frame video{object-fit:cover;width:100%;height:100%}.card-shell .video-frame.empty{border:calc(1.5 * var(--u)) dashed var(--gold-border);cursor:pointer;background:#fffdf8;font-weight:600;transition:background .15s}.card-shell .video-frame.empty:hover{background:#fff9e9}.card-shell .block{margin-top:calc(16 * var(--u));padding-top:calc(14 * var(--u));border-top:1px solid #f1e9d2}.card-shell .block:first-child{border-top:none;margin-top:0;padding-top:0}.card-shell .block-title{font-size:calc(12 * var(--u));margin:0;font-weight:600}.card-shell .scan-card,.card-shell .block.scan-card{margin-top:calc(16 * var(--u));padding:calc(14 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(12 * var(--u));background:#fff9}.card-shell .chooser{align-items:center;gap:2px;display:inline-flex}.card-shell .chip-x{color:#dc2626;cursor:pointer;font-size:calc(12 * var(--u));background:0 0;border:none;border-radius:9999px;padding:2px 6px;font-weight:700}.card-shell .chip-x:hover{background:#0000000d}.card-shell .pulse-line{align-items:center;gap:calc(8 * var(--u));font-size:calc(10 * var(--u));color:var(--color-text-primary);font-weight:500;display:flex}.card-shell .hand-hint{margin:calc(8 * var(--u)) 0 0}.card-shell .hand-split{gap:calc(18 * var(--u));margin-top:calc(10 * var(--u));grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}@media (max-width:900px){.card-shell .hand-split{grid-template-columns:minmax(0,1fr)}}.card-shell .hand-photo{min-width:0}.card-shell .hand-photo-fig{gap:calc(6 * var(--u));flex-direction:column;margin:0;display:flex}.card-shell .hand-photo-fig img{border-radius:calc(10 * var(--u));width:100%;height:auto;display:block}.card-shell .hand-photo-fig figcaption{font-size:calc(11 * var(--u));text-align:center;color:var(--color-text-primary);font-weight:600}.card-shell .hand-photo.loading .empty-state,.card-shell .hand-photo.loading .hand-photo-fig img{opacity:.35;animation:1s ease-in-out infinite handShimmer}@keyframes handShimmer{50%{opacity:.7}}.card-shell .job-log{min-width:0}.card-shell .job-list{margin:calc(10 * var(--u)) 0 0;gap:calc(8 * var(--u));flex-direction:column;padding:0;list-style:none;display:flex}.card-shell .job-progress-row{justify-content:space-between;align-items:flex-start;gap:calc(10 * var(--u));padding:calc(12 * var(--u)) calc(18 * var(--u));border-radius:calc(16 * var(--u));background:var(--color-surface-secondary);border:calc(1.5 * var(--u)) solid var(--gold-border);box-shadow:0 calc(2 * var(--u)) calc(6 * var(--u)) #8a70160d;display:flex}.card-shell .job-progress-row.wait{opacity:.55}.card-shell .job-main{align-items:flex-start;gap:calc(10 * var(--u));min-width:0;display:flex}.card-shell .job-body{min-width:0}.card-shell .job-status-msg{font-size:calc(12.5 * var(--u));color:var(--color-text-primary);font-weight:600;display:block}.card-shell .job-detail{margin-top:calc(2 * var(--u));font-size:calc(11 * var(--u));color:var(--color-text-secondary);white-space:pre-line;overflow-wrap:anywhere;font-weight:500;display:block}.card-shell .job-elapsed{font-size:calc(12 * var(--u));color:var(--color-action-gold);flex:none;font-weight:600}.card-shell .job-spinner{width:calc(16 * var(--u));height:calc(16 * var(--u));border:calc(2 * var(--u)) solid var(--gold-border);border-top-color:var(--color-action-gold);margin-top:calc(1 * var(--u));border-radius:50%;flex:none;animation:.8s linear infinite jobSpin}.card-shell .job-state{width:calc(16 * var(--u));height:calc(16 * var(--u));font-size:calc(10 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);background:var(--color-surface-secondary);color:var(--color-action-gold);margin-top:calc(1 * var(--u));border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.card-shell .job-progress-row.done .job-state{background:var(--color-success-bg);border-color:var(--color-success-text);color:var(--color-success-text)}.card-shell .job-progress-row.fail{border-color:var(--color-danger)}.card-shell .job-progress-row.fail .job-state{border-color:var(--color-danger);color:var(--color-danger);background:#fff}.card-shell .job-progress-row.fail .job-status-msg{color:var(--color-danger)}.card-shell .job-error{margin:calc(10 * var(--u)) 0 0}.card-shell .job-prompt{margin-top:calc(10 * var(--u));font-size:calc(12 * var(--u))}.card-shell .job-prompt summary{cursor:pointer;font-weight:600}.card-shell .job-prompt-text{white-space:pre-wrap;margin:calc(8 * var(--u)) 0 0;padding:calc(10 * var(--u));border-radius:calc(12 * var(--u));background:var(--color-surface-secondary);font:calc(11 * var(--u)) / 1.5 ui-monospace, Consolas, monospace;overflow-wrap:anywhere;border:1px solid #f1e9d2}.card-shell .job-box{margin-top:calc(6 * var(--u));padding-top:calc(12 * var(--u));border-top:1px solid #f1e9d2;min-width:0}@keyframes jobSpin{to{transform:rotate(360deg)}}.card-shell .empty-state{text-align:center;justify-content:center;align-items:center;gap:calc(8 * var(--u));padding:calc(36 * var(--u)) calc(24 * var(--u));border-radius:calc(24 * var(--u));background:var(--color-surface-secondary);border:calc(1.5 * var(--u)) dashed var(--gold-border);flex-direction:column;display:flex}.card-shell .empty-icon{width:calc(36 * var(--u));height:calc(36 * var(--u));color:var(--color-action-gold)}.card-shell .empty-title{font-size:calc(15 * var(--u));color:var(--color-text-primary);margin:0;font-weight:700}.card-shell .empty-desc{font-size:calc(12.5 * var(--u));color:var(--color-text-secondary);max-width:calc(380 * var(--u));margin:0}.card-shell .ar-card{margin-top:calc(18 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(12 * var(--u));padding:calc(14 * var(--u));gap:calc(12 * var(--u));background:#fff9;flex-direction:column;display:flex}.card-shell .repair-panel{border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(14 * var(--u));padding:calc(12 * var(--u));background:var(--color-surface-secondary);gap:calc(8 * var(--u));flex-direction:column;display:flex}.card-shell .ai-panel{gap:calc(12 * var(--u));flex-direction:column;display:flex}.card-shell .ai-grid{gap:calc(14 * var(--u));grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}@media (min-width:880px){.card-shell .ai-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.card-shell .fix-card{border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(16 * var(--u));padding:calc(14 * var(--u));gap:calc(10 * var(--u));background:#fff;flex-direction:column;min-width:0;display:flex}.card-shell .ai-label{font-size:calc(11 * var(--u));text-transform:uppercase;letter-spacing:.04em;color:var(--color-action-gold);margin:0;font-weight:700}.card-shell .ai-table{border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(16 * var(--u));background:#fff;margin:0;overflow:hidden}.card-shell .ai-table>div{justify-content:space-between;align-items:center;gap:calc(12 * var(--u));padding:calc(8 * var(--u)) calc(14 * var(--u));min-height:calc(34 * var(--u));border-bottom:1px solid #f1e9d2;display:flex}.card-shell .ai-table>div:last-child{border-bottom:none}.card-shell .ai-table dt{font-size:calc(11 * var(--u));text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary);font-weight:700}.card-shell .ai-table dd{font-size:calc(12 * var(--u));text-align:right;margin:0;font-weight:700}.card-shell .colour-list{gap:calc(8 * var(--u));flex-direction:column;display:flex}.card-shell .colour-row{align-items:center;gap:calc(10 * var(--u));border:calc(1.5 * var(--u)) solid #f1e9d2;border-radius:calc(14 * var(--u));padding:calc(6 * var(--u)) calc(12 * var(--u));background:#fff;display:flex}.card-shell .swatch{width:calc(26 * var(--u));height:calc(26 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:50%;flex:none;box-shadow:inset 0 1px 2px #0003}.card-shell .colour-name{font-size:calc(11 * var(--u));text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary);width:calc(64 * var(--u));flex:none;font-weight:700}.card-shell .colour-hex{font-family:Consolas,Courier New,monospace;font-size:calc(12 * var(--u));font-weight:700}.card-shell .colour-edit{align-items:center;gap:calc(10 * var(--u));display:flex}.card-shell .colour-edit .colour-name{width:calc(56 * var(--u))}.card-shell .color-pick{width:calc(34 * var(--u));height:calc(34 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);cursor:pointer;background:0 0;border-radius:50%;flex:none;padding:0;overflow:hidden}.card-shell .color-pick::-webkit-color-swatch-wrapper{padding:0}.card-shell .color-pick::-webkit-color-swatch{border:none;border-radius:50%}.card-shell .ai-meta{font-size:calc(10 * var(--u));color:var(--color-text-secondary);flex-direction:column;gap:2px;font-weight:500;line-height:1.4;display:flex}.card-shell .raw-details{border:calc(1.5 * var(--u)) solid #f1e9d2;border-radius:calc(14 * var(--u));padding:calc(4 * var(--u)) calc(12 * var(--u));background:#fff}.card-shell .raw-details summary{cursor:pointer;min-height:calc(30 * var(--u));font-size:calc(12 * var(--u));color:var(--color-action-gold);align-items:center;font-weight:600;list-style:none;display:flex}.card-shell .raw-details summary::-webkit-details-marker{display:none}.card-shell .raw-details pre{margin:calc(6 * var(--u)) 0 calc(8 * var(--u));max-height:calc(220 * var(--u));scrollbar-width:none;color:#fff;border-radius:calc(10 * var(--u));padding:calc(10 * var(--u)) calc(12 * var(--u));font-size:calc(11 * var(--u));white-space:pre-wrap;word-break:break-all;background:#1e1e24;line-height:1.5;overflow:auto}.card-shell .raw-details pre::-webkit-scrollbar{display:none}.card-shell .viewer-frame{width:100%;height:calc(352 * var(--u));border:calc(1.5 * var(--u)) solid var(--gold-border);border-radius:calc(12 * var(--u));background:#eae2d5;overflow:hidden}@media (prefers-reduced-motion:reduce){.card-shell *{transition:none!important}.card-shell .pulse-dot{animation:none}}.dishcard-view{background:var(--color-surface,#fff);border-radius:20px;flex-direction:column;gap:12px;width:100%;max-width:1180px;margin-inline:auto;padding:clamp(12px,2.2cqi,20px);display:flex;box-shadow:0 2px 4px #211c170a,0 10px 20px #211c170f,0 30px 60px #211c171f;container:dishcard/inline-size}.dishcard-view>.card-shell{box-shadow:none;max-width:calc(850 * var(--u));background:0 0;border:none;margin-inline:0;padding-inline:0}.dishcard-view h2.title{color:var(--color-text-primary,#1c1917);font-size:20px;font-weight:800}.dishcard-view .error-span{text-align:center;color:var(--color-danger,#d94f4f);font-size:12.5px;font-weight:700;line-height:1.4;display:block}.dishcard-view .seg{background:var(--color-surface-secondary,#f5efe6);scrollbar-width:none;border-radius:999px;gap:2px;width:max-content;max-width:100%;padding:4px;display:inline-flex;overflow-x:auto}.dishcard-view .seg::-webkit-scrollbar{display:none}.dishcard-view .seg button{font:inherit;cursor:pointer;color:var(--color-text-secondary,#78716c);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:700;transition:background .15s,color .15s,box-shadow .15s}.dishcard-view .seg button.on{color:var(--color-text-primary,#1c1917);background:#fff;box-shadow:0 2px 4px #00000014}.dishcard-view .eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-secondary,#78716c);font-size:11px;font-weight:700}.dishcard-view .gi,.dishcard-view .gs{font:inherit;border:1.5px solid var(--gold-border,#dfb758);color:var(--color-text-primary,#1c1917);background:#fffdf8;border-radius:20px;width:100%;padding:7px 16px;font-size:12px;box-shadow:inset 0 2px 4px #8a701614}.dishcard-view .gs{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a7016' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:36px;font-weight:600}.dishcard-view .tf{border-radius:12px;min-height:26px;padding:4px 10px;font-size:11px}.dishcard-view .tf.gs{background-position:right 8px center;background-size:12px;padding-right:26px}.dishcard-view .badge{background:var(--color-surface-secondary,#f5efe6);color:var(--color-text-secondary,#78716c);white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:700;display:inline-block}.dishcard-view .badge.gen{background:var(--color-success-bg,#e8f8ea);color:var(--color-success-text,#15803d)}.dishcard-view .dot{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.dishcard-view .edit,.dishcard-view .edit-btn,.dish-tbl .edit,.dish-tbl .edit-btn{color:var(--color-text-secondary,#78716c);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;font-family:inherit;font-size:12px;text-decoration:underline}.dish-tbl{--cols:minmax(7rem, 1.2fr) minmax(8rem, 1.5fr) minmax(3.5rem, .55fr) minmax(7rem, 1fr) minmax(7rem, 1fr) minmax(4.5rem, .7fr) minmax(4.5rem, .7fr) minmax(5.5rem, .85fr) minmax(4.5rem, .7fr) 2.5rem;flex-direction:column;display:flex}.dish-tbl .r{grid-template-columns:var(--cols);border-top:1px solid var(--color-surface-secondary-border,#eae2d5);align-items:center;gap:6px 10px;padding:9px 2px;font-size:13px;display:grid}.dish-tbl .head{border-top:0;align-items:end;padding-bottom:4px;font-size:12px;font-weight:700}.dish-tbl .filters{border-top:1px solid var(--color-surface-secondary-border,#eae2d5);padding-top:6px}.dish-tbl .filters label{display:block}.dish-tbl .filters .eyebrow{margin-bottom:3px;font-size:10px;display:none}.dish-tbl .name{font-weight:700}.dish-tbl .cat,.dish-tbl .cell{color:var(--color-text-secondary,#78716c)}.dish-tbl .lbl{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-secondary,#78716c);font-size:10px;font-weight:700;display:none}.dish-tbl .stats{display:contents}.dish-tbl .empty{color:var(--color-text-secondary,#78716c);border-top:1px solid var(--color-surface-secondary-border,#eae2d5);padding:14px 4px;font-size:13px}@container dishcard (max-width:860px){.dish-tbl .head{display:none}.dish-tbl .filters{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:8px;display:grid}.dish-tbl .filters .blank{display:none}.dish-tbl .filters .eyebrow{display:block}.dish-tbl .row{border:1.5px solid var(--color-surface-secondary-border,#eae2d5);background:#fffdf8;border-radius:16px;grid-template-columns:1fr auto;margin-top:8px;padding:12px}.dish-tbl .row .name{font-size:14px}.dish-tbl .row .edit,.dish-tbl .row .edit-btn{grid-area:1/2;justify-self:end}.dish-tbl .row .cat{grid-column:1/-1;font-size:12px}.dish-tbl .row .avail{grid-column:1/-1}.dish-tbl .row .stats{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.dish-tbl .row .stats .cell{background:var(--color-surface-secondary,#f5efe6);border-radius:12px;flex-direction:column;gap:2px;padding:6px 8px;display:flex}.dish-tbl .row .lbl{display:block}}@container dishcard (max-width:420px){.dish-tbl .row .stats{grid-template-columns:1fr 1fr}}.card-shell.dish-form{container:dishform/inline-size}.card-shell .dish-form-grid{gap:calc(16 * var(--u));grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;display:grid}.card-shell .dish-form-col,.card-shell .dish-tab-stack{gap:calc(16 * var(--u));flex-direction:column;min-width:0;display:flex}.card-shell .dish-panel,.card-shell .dish-tab-stack>.block,.card-shell .dish-tab-stack>.block:first-child,.card-shell .dish-tab-stack>.block.scan-card,.card-shell .dish-tab-stack>.scan-card,.card-shell .dish-tab-stack>.ar-card{padding:calc(18 * var(--u)) calc(20 * var(--u)) calc(20 * var(--u));border:calc(1.5 * var(--u)) solid #eadfc6;border-radius:calc(20 * var(--u));background:#fff;min-width:0;margin:0}.card-shell .dish-panel-title,.card-shell .dish-tab-stack .block-title,.card-shell .dish-tab-stack .ar-card .section-heading{margin:0 0 calc(12 * var(--u));font-size:calc(14 * var(--u));letter-spacing:0;text-transform:none;color:var(--color-text-primary);font-weight:800;line-height:1.25}.card-shell .dish-fields{grid-template-columns:repeat(auto-fit, minmax(min(100%, calc(220 * var(--u))), 1fr));gap:calc(14 * var(--u)) calc(16 * var(--u));display:grid}.card-shell .dish-fields.dish-dim-fields{grid-template-columns:repeat(auto-fit, minmax(min(100%, calc(110 * var(--u))), 1fr));align-items:end}.card-shell .dish-field{gap:calc(6 * var(--u));flex-direction:column;min-width:0;display:flex}.card-shell .dish-field.full{grid-column:1/-1}.card-shell .dish-field .form-label{width:auto}.card-shell .dish-field .form-input,.card-shell .dish-field .form-select,.card-shell .dish-field .form-textarea{width:100%;max-width:100%}.card-shell .dish-btn-field{justify-content:flex-end}.card-shell .dish-suffix{position:relative}.card-shell .dish-suffix .form-input{padding-right:calc(48 * var(--u))}.card-shell .dish-suffix span{right:calc(16 * var(--u));font-size:calc(12 * var(--u));color:var(--color-text-secondary);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.card-shell .dish-switch-row{justify-content:space-between;align-items:center;gap:calc(12 * var(--u));padding:calc(7 * var(--u)) 0;display:flex}.card-shell .dish-switch-row+.dish-switch-row{border-top:1px solid #f1e8d3}.card-shell .dish-switch-row .form-label{width:auto}.card-shell .dish-panel .photo-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, calc(150 * var(--u))), 1fr))}.card-shell .dish-panel .video-slot{width:100%;max-width:calc(560 * var(--u))}@container dishform (max-width:760px){.card-shell .dish-form-grid,.card-shell .hand-split,.card-shell .ai-grid{grid-template-columns:minmax(0,1fr)}}.section-divider{border:0;border-top:1px solid var(--color-surface-secondary-border);width:100%;margin:4px 0 0}.card-shell .seg-track-underline{gap:calc(4 * var(--u));border-bottom:1px solid var(--color-surface-secondary-border);background:0 0;border-radius:0;padding:0;width:100%!important}.card-shell .seg-track-underline .seg-tab{align-items:center;gap:calc(8 * var(--u));padding:calc(10 * var(--u)) calc(16 * var(--u));min-height:calc(40 * var(--u));border-bottom:calc(2 * var(--u)) solid transparent;color:var(--color-text-secondary);border-radius:0;margin-bottom:-1px;display:inline-flex;box-shadow:none!important;background:0 0!important}.card-shell .seg-track-underline .seg-tab[data-active=true]{color:var(--color-text-primary);border-bottom-color:#b8861e;font-weight:700}.card-shell .dish-switch-control{align-items:center;gap:calc(12 * var(--u));display:inline-flex}.card-shell .dish-switch-control .toggle-knob{font-size:0}.card-shell .dish-switch-state{min-width:calc(52 * var(--u));font-size:calc(12 * var(--u));color:var(--color-text-secondary);font-weight:700}.dishcard-view .btn-primary,.dishcard-view .btn-secondary,.dishcard-view .btn-pill,.dishcard-view .btn-sm{border-radius:9999px;justify-content:center;align-items:center;gap:6px;min-height:34px;line-height:1;width:auto!important;font-family:var(--font-display), sans-serif!important;letter-spacing:normal!important;padding:7px 18px!important;font-size:12px!important;font-weight:700!important;display:inline-flex!important}.dishcard-view .btn-primary{font-weight:800!important}.dishcard-view .btn-row,.dishcard-view .action-bar,.dishcard-view .ar-card>.btn-row,.dishcard-view .card-header.sub .action-bar{justify-content:flex-end}
