.sh-root{--sh-bg:#111d2d;--sh-surface:#18283b;--sh-line:#34485d;--sh-text:#edf4ff;--sh-muted:#a8bbcf;--sh-blue:#91bcff;--sh-blue-bg:#193b64;--sh-green:#91e0b4;--sh-green-bg:#184330;--sh-amber:#ffd085;--sh-amber-bg:#513d1d;--sh-red:#ffb0b5;--sh-red-bg:#572b32;background:var(--sh-bg);color:var(--sh-text);width:100%;min-width:0;box-sizing:border-box;padding:24px 22px max(30px,env(safe-area-inset-bottom));border-radius:0;font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:anywhere;color-scheme:dark}
html:is([data-theme=light],[data-theme=pink],[data-theme=lilac]) .sh-root{color-scheme:light;--sh-bg:#f7f9fc;--sh-surface:#fff;--sh-line:#d9e1ea;--sh-text:#172a40;--sh-muted:#52677f;--sh-blue:#185bb4;--sh-blue-bg:#e8f1ff;--sh-green:#14603b;--sh-green-bg:#e6f5ed;--sh-amber:#80500a;--sh-amber-bg:#fff2d9;--sh-red:#9c2934;--sh-red-bg:#ffecef}
.sh-root *{box-sizing:border-box}.sh-root[hidden]{display:none!important}.sh-root h2,.sh-root h3,.sh-root p{margin:0}.sh-root h2{font-size:30px;line-height:1.2;letter-spacing:-.025em;font-weight:650;color:var(--sh-text);margin:0 0 6px}.sh-root h3{font-size:18px}.sh-root small,.sh-muted{font-size:12px;color:var(--sh-muted)}.sh-root small{display:block}.sh-header{display:flex;align-items:center;gap:14px;margin-bottom:24px}.sh-heading{flex:1;min-width:0}.sh-header-actions{flex:none;margin-left:auto}.sh-root .sh-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border-radius:12px}.sh-back svg{flex:none;width:20px;height:20px}.sh-header p{color:var(--sh-muted);max-width:740px;font-size:13px}.sh-actions,.sh-toolbar,.sh-pagination,.sh-subnav{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sh-toolbar{margin:14px 0}.sh-toolbar .sh-spacer{margin-left:auto}.sh-subnav{padding-bottom:15px;margin-bottom:18px;border-bottom:1px solid var(--sh-line)}.sh-root button,.sh-file-button,.sh-root a.sh-button{min-height:42px;padding:9px 13px;font:inherit;font-weight:600;color:var(--sh-text);border:1px solid var(--sh-line);border-radius:9px;background:var(--sh-surface);cursor:pointer;text-decoration:none;text-align:center}.sh-root .sh-primary{background:#236ac6;border-color:#236ac6;color:#fff}.sh-root button[aria-pressed=true],.sh-root .sh-current{background:var(--sh-blue-bg);border-color:var(--sh-blue);color:var(--sh-blue)}.sh-root button:disabled,.sh-file-button:has(input:disabled){opacity:.5;cursor:not-allowed}.sh-root :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--sh-blue);outline-offset:2px}.sh-root label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650}.sh-root :is(input,select,textarea){font:14px system-ui,sans-serif;color:var(--sh-text);background:var(--sh-surface);border:1px solid var(--sh-line);border-radius:8px;min-height:42px;padding:10px;width:100%;min-width:0;max-width:100%}.sh-root textarea{resize:vertical}.sh-root :is(input,textarea)::placeholder{color:var(--sh-muted);opacity:1}.sh-root option{color:var(--sh-text);background:var(--sh-surface)}.sh-root button:not(:disabled):hover{border-color:var(--sh-blue)}.sh-root .sh-check{display:flex;flex-direction:row;gap:9px;align-items:center;min-height:42px;font-size:14px}.sh-check input{width:19px!important;height:19px;min-height:19px!important;flex:none;accent-color:#236ac6}.sh-filters{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:16px 0;align-items:end}.sh-filters .sh-search{grid-column:span 2}.sh-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--sh-line);border-radius:11px;background:var(--sh-surface);overscroll-behavior-x:contain}.sh-root table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;text-align:left}.sh-list-table{min-width:1430px;table-layout:fixed}.sh-root th{padding:12px 10px;font-size:10px;font-weight:700;color:var(--sh-muted);letter-spacing:.035em;vertical-align:bottom;background:var(--sh-surface)}.sh-root td{padding:13px 10px;border-top:1px solid var(--sh-line);vertical-align:top}.sh-root th small{font-size:10px;font-weight:400;letter-spacing:0;margin-top:3px}.sh-root td small{font-size:11px;margin-top:4px}.sh-list-table th:first-child,.sh-list-table td:first-child{position:sticky;left:0;z-index:1;background:var(--sh-surface);box-shadow:1px 0 0 var(--sh-line)}.sh-list-table th:first-child{z-index:2}.sh-root .sh-link{border:0;background:transparent;padding:0;text-align:left;min-height:30px;color:var(--sh-blue);font-size:13px;line-height:1.4;white-space:normal}.sh-badge{display:inline-block;padding:4px 7px;border-radius:6px;color:var(--sh-muted);background:var(--sh-bg);font-size:11px;font-weight:650;line-height:1.35}.sh-badge[data-tone=blue]{color:var(--sh-blue);background:var(--sh-blue-bg)}.sh-badge[data-tone=green]{color:var(--sh-green);background:var(--sh-green-bg)}.sh-badge[data-tone=amber]{color:var(--sh-amber);background:var(--sh-amber-bg)}.sh-badge[data-tone=red]{color:var(--sh-red);background:var(--sh-red-bg)}.sh-progress-top{display:flex;gap:8px;justify-content:space-between;align-items:baseline;margin-bottom:5px}.sh-progress-top small{margin:0!important;white-space:nowrap}.sh-progress{height:6px;overflow:hidden;border-radius:10px;background:var(--sh-line)}.sh-progress>span{display:block;background:var(--sh-green);height:100%}.sh-pending{line-height:1.5;margin-bottom:5px}.sh-pending b{font-weight:650}.sh-date{display:block;white-space:nowrap;font-variant-numeric:tabular-nums}.sh-duration{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.sh-duration[data-closed=true]{color:var(--sh-green)}.sh-pagination{margin:15px 0}.sh-pagination>span{margin-right:auto;color:var(--sh-muted);font-size:12px}.sh-empty{padding:35px 16px;text-align:center;color:var(--sh-muted)}.sh-empty h3{color:var(--sh-text);margin-bottom:7px}.sh-error,.sh-notice{padding:13px 15px;border-radius:9px;margin:14px 0;display:flex;gap:12px;align-items:center;justify-content:space-between}.sh-error{color:var(--sh-red);background:var(--sh-red-bg);border:1px solid var(--sh-red)}.sh-notice{background:var(--sh-blue-bg);color:var(--sh-blue)}.sh-loading{padding:25px 0;color:var(--sh-muted)}.sh-busy{position:sticky;bottom:15px;background:var(--sh-blue-bg);color:var(--sh-blue);padding:12px;text-align:center;border:1px solid var(--sh-blue);border-radius:9px;margin-top:12px}.sh-form{max-width:980px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sh-form .sh-wide{grid-column:1/-1}.sh-form .sh-actions{margin-top:8px}.sh-help{color:var(--sh-muted);font-size:12px;margin:10px 0 16px!important}.sh-definition{display:flex;flex-wrap:wrap;gap:18px 30px;padding:16px 0;border-top:1px solid var(--sh-line);border-bottom:1px solid var(--sh-line);margin:18px 0}.sh-definition dt{font-size:11px;color:var(--sh-muted)}.sh-definition dd{margin:5px 0 0}.sh-detail-progress{width:min(320px,100%);margin:16px 0}.sh-process-table{min-width:780px}.sh-process-table td:first-child{font-weight:650}.sh-process-table td:last-child{white-space:nowrap}.sh-receipt-table{min-width:1350px}.sh-receipt-table[data-costs=false]{min-width:1040px}.sh-root .sh-receipt-table :is(input,select){padding:8px;font-size:12px}.sh-receipt-table td{padding:9px 7px}.sh-receipt-table input[type=checkbox]{width:20px;min-height:20px;height:20px}.sh-receipt-table th:nth-child(1){width:130px}.sh-receipt-table th:nth-child(2){width:140px}.sh-receipt-table th:nth-child(3){width:230px}.sh-receipt-table th:nth-child(4),.sh-receipt-table th:nth-child(5),.sh-receipt-table th:nth-child(6){width:92px}.sh-receipt-table th:last-child{width:90px}.sh-receipt-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:16px 0}.sh-receipt-controls>label{min-width:220px}.sh-file-button{position:relative;overflow:hidden;display:inline-flex!important;align-items:center}.sh-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.sh-lookup{border:1px solid var(--sh-line);padding:16px;border-radius:9px;margin:14px 0;background:var(--sh-surface)}.sh-lookup ul{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}.sh-lookup button{width:100%;text-align:left}.sh-timeline{margin-top:18px;list-style:none;padding:0}.sh-timeline li{padding:17px 0;border-top:1px solid var(--sh-line)}.sh-timeline-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.sh-timeline p{white-space:pre-wrap;margin:8px 0;max-width:1000px}.sh-timeline time{font-size:12px;color:var(--sh-muted)}.sh-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;list-style:none;padding:0}.sh-files li{border:1px solid var(--sh-line);border-radius:9px;padding:12px;background:var(--sh-surface)}.sh-files img{width:100%;height:170px;object-fit:contain;border-radius:5px;margin-bottom:10px}.sh-files a{color:var(--sh-blue);overflow-wrap:anywhere}.sh-files p{margin:8px 0}.sh-allocations-table{min-width:960px}.sh-allocations-table th:first-child{width:30%}.sh-allocations-table th:nth-child(2){width:24%}.sh-allocations-table th:nth-child(3){width:100px}.sh-allocations-table input,.sh-allocations-table select{font-size:12px;padding:8px}.sh-mobile-hint{display:none}.sh-error p{white-space:pre-wrap}.sh-tiny{font-size:11px;color:var(--sh-muted)}
@media(min-width:768px) and (max-width:1199px){.sh-header{flex-wrap:wrap}.sh-filters{grid-template-columns:repeat(3,minmax(100px,1fr))}.sh-mobile-hint{display:block;margin-bottom:8px!important}}
@media(max-width:767px){.sh-root{padding:17px 12px calc(90px + env(safe-area-inset-bottom));border-radius:0}.sh-header{flex-wrap:wrap;align-items:flex-start;gap:12px}.sh-root h2{font-size:23px}.sh-heading{flex-basis:calc(100% - 56px)}.sh-header .sh-header-actions{margin-left:56px;width:calc(100% - 56px)}.sh-actions{width:100%}.sh-actions button{flex:1}.sh-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sh-filters .sh-search{grid-column:1/-1}.sh-toolbar .sh-spacer{margin-left:0}.sh-form{grid-template-columns:1fr}.sh-form .sh-wide{grid-column:auto}.sh-mobile-hint{display:block;margin-bottom:8px!important}.sh-list-table th:first-child,.sh-list-table td:first-child{width:145px}.sh-definition{gap:16px 24px}.sh-definition>div{flex:1 1 40%}.sh-subnav{gap:6px}.sh-subnav button{font-size:12px;padding:8px 10px}.sh-receipt-controls{align-items:stretch}.sh-receipt-controls>label{width:100%}.sh-error{align-items:flex-start;flex-direction:column}.sh-pagination{gap:7px}.sh-pagination>span{flex-basis:100%}.sh-files{grid-template-columns:1fr 1fr;gap:9px}.sh-files img{height:130px}}
@media(prefers-reduced-motion:no-preference){.sh-root button{transition:background-color .15s,border-color .15s}}

/* Match the existing full-page workspace; the dashboard owns the outer surface. */
.transfer-workspace-host:not(body)>.sh-root{background:transparent;padding:24px 0 max(30px,env(safe-area-inset-bottom,0px));border:0;box-shadow:none}
.sh-root:focus{outline:none}
@media(max-width:767px){.transfer-workspace-host:not(body)>.sh-root{padding:16px 0 calc(24px + env(safe-area-inset-bottom,0px))}}
/* Preserve action and selection meaning under the shared dashboard theme rules. */
html body .sh-root button.sh-primary{background:#236ac6!important;border-color:#236ac6!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
html body .sh-root button[aria-pressed=true]{background:var(--sh-blue-bg)!important;border-color:var(--sh-blue)!important;color:var(--sh-blue)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
html body .sh-root button.sh-link{background:transparent!important;color:var(--sh-blue)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
