:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f6f8fb;--bg-strong: #eef3f7;--surface: #ffffff;--surface-subtle: #f8fafc;--surface-muted: #f1f5f9;--border: #d8e1eb;--border-strong: #c2cfdd;--text: #172033;--muted: #66758a;--muted-strong: #3d4b60;--brand: #1f6feb;--brand-dark: #185abd;--brand-soft: #eaf2ff;--success: #12805c;--danger: #a73930;--danger-soft: #fff2f0;--warning: #b7791f;--shadow-sm: 0 1px 2px rgba(23, 32, 51, .06);--shadow-md: 0 16px 42px rgba(23, 32, 51, .1);--radius: 8px}*{box-sizing:border-box}html{min-width:320px;background:var(--bg)}body{min-width:320px;margin:0;background:linear-gradient(180deg,#e5edf6e0 0,#f6f8fb00 280px),linear-gradient(90deg,#1f6feb14 0,#12805c0f 52%,#b7791f0d),var(--bg)}body:before{content:"";position:fixed;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#1f6feb,#12805c 58%,#b7791f);pointer-events:none;z-index:10}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(31,111,235,.18);outline-offset:2px}h1,h2,p,dl{margin:0}h1{color:var(--text);font-size:34px;font-weight:760;line-height:1.12}h2{color:var(--text);font-size:16px;font-weight:720;line-height:1.3}.app-shell{min-height:100vh;padding:34px 32px 46px}.workspace-header{width:min(1280px,100%);margin:0 auto 24px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:780;letter-spacing:0;text-transform:uppercase}.status-pill,.panel-count{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:999px;padding:0 12px;background:#ffffffd6;color:var(--muted-strong);box-shadow:var(--shadow-sm);font-size:12px;font-weight:720;white-space:nowrap}.panel-count{min-height:28px;border-radius:6px;padding:0 10px;background:var(--surface-subtle);box-shadow:none}.status-dot{width:8px;height:8px;border-radius:999px;background:var(--success);box-shadow:0 0 0 4px #12805c1f}.asset-layout{width:min(1280px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(300px,352px) minmax(0,1fr);gap:22px;align-items:start}.asset-sidebar{display:grid;gap:18px}.asset-panel,.asset-detail-panel{border:1px solid rgba(196,208,221,.9);border-radius:var(--radius);background:#fffffff0;box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.asset-panel{padding:20px;display:grid;gap:16px}.asset-detail-panel{min-height:640px;padding:22px;overflow:hidden}.panel-heading,.asset-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading{min-height:32px}.asset-detail-heading{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--border)}.asset-detail-heading>div{min-width:0}.asset-detail-heading h2{overflow-wrap:anywhere;font-size:20px}.asset-meta-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.asset-meta-line span{min-height:26px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;padding:0 10px;color:var(--muted-strong);background:var(--surface-subtle);font-size:12px;font-weight:700}.field{display:grid;gap:7px;color:var(--muted-strong);font-size:13px;font-weight:720}.field input,.field textarea{width:100%;min-height:42px;border:1px solid var(--border-strong);border-radius:6px;padding:9px 11px;color:var(--text);background:#fbfdff;box-shadow:inset 0 1px 1px #17203308;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.field textarea{min-height:82px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#91a0b2}.field input[type=file]{min-height:46px;padding:7px;color:var(--muted);background:linear-gradient(180deg,#fff,#f9fbfd)}.field input[type=file]::file-selector-button{min-height:30px;margin-right:12px;border:1px solid var(--border-strong);border-radius:6px;padding:0 12px;color:var(--muted-strong);background:#fff;font-weight:720;cursor:pointer}.field input[type=file]::file-selector-button:hover{border-color:#9fb0c3;background:var(--surface-subtle)}.field input:disabled,.field textarea:disabled{cursor:not-allowed;color:#8492a5;background:#f0f4f8}.field input:focus,.field textarea:focus{border-color:var(--brand);background:#fff;box-shadow:inset 0 1px 1px #17203305,0 0 0 4px #1f6feb1c;outline:none}.asset-list{max-height:430px;display:grid;gap:8px;overflow:auto;padding-right:2px}.asset-list-item{width:100%;min-height:60px;display:grid;gap:5px;border:1px solid var(--border);border-radius:7px;padding:11px 12px;text-align:left;background:#fff;box-shadow:0 1px 1px #17203308;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.asset-list-item:hover{border-color:#a9b7c7;background:#fbfdff;box-shadow:0 8px 18px #17203314;transform:translateY(-1px)}.asset-list-item.active{border-color:#1f6feb8c;background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand),0 8px 20px #1f6feb1a}.asset-list-item span{min-width:0;color:var(--text);font-size:14px;font-weight:760;overflow-wrap:anywhere}.asset-list-item small{color:var(--muted);font-size:12px;font-weight:640}.asset-summary{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(150px,.8fr) minmax(0,1fr);gap:16px;border-bottom:1px solid var(--border);padding:0 0 18px;margin-bottom:18px}.asset-summary div{min-width:0;display:grid;gap:5px}dt{color:var(--muted);font-size:11px;font-weight:780;letter-spacing:0;text-transform:uppercase}dd{margin:0;color:var(--text);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.upload-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:18px}.upload-panel .panel-heading,.upload-panel .file-summary,.upload-panel .message,.upload-panel .primary-action{grid-column:1 / -1}.file-summary{display:grid;gap:10px;border:1px solid var(--border);border-radius:var(--radius);padding:12px;background:var(--surface-subtle)}.selected-files-heading,.selected-file-list li{display:flex;align-items:center;justify-content:space-between;gap:14px}.selected-files-heading{color:var(--muted-strong);font-size:13px;font-weight:740}.selected-file-list{max-height:166px;display:grid;gap:8px;margin:0;padding:0;list-style:none;overflow:auto}.selected-file-list li{min-height:34px;border:1px solid rgba(216,225,235,.9);border-radius:6px;padding:7px 9px;color:var(--muted-strong);background:#fff;font-size:13px}.selected-file-list li span:first-child{min-width:0;overflow-wrap:anywhere}.selected-file-list li span:last-child{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.message{border-radius:7px;padding:10px 12px;font-size:13px;line-height:1.45}.message.error{border:1px solid #efb2ab;color:var(--danger);background:var(--danger-soft)}.primary-action{min-height:44px;border:0;border-radius:7px;padding:0 16px;color:#fff;background:linear-gradient(180deg,#2b7df2,var(--brand));box-shadow:0 1px #fff3 inset,0 10px 20px #1f6feb38;font-weight:760;cursor:pointer;transition:background .14s ease,box-shadow .14s ease,transform .14s ease}.primary-action:hover:not(:disabled){background:linear-gradient(180deg,#216ddd,var(--brand-dark));box-shadow:0 1px #ffffff2e inset,0 12px 24px #1f6feb47;transform:translateY(-1px)}.primary-action:active:not(:disabled){transform:translateY(0)}.primary-action:disabled{cursor:not-allowed;opacity:.6;box-shadow:none}.compact-empty,.empty-state{display:grid;place-items:center;color:var(--muted);text-align:center}.compact-empty{min-height:78px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-subtle);font-size:13px;font-weight:650}.empty-state{min-height:290px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:linear-gradient(180deg,#ffffffd1,#f8fafce6),var(--surface-subtle);font-size:14px;font-weight:650}.documents-table-wrap{width:100%;border:1px solid var(--border);border-radius:var(--radius);background:#fff;overflow-x:auto}.documents-table{width:100%;min-width:1160px;border-collapse:separate;border-spacing:0;table-layout:fixed}.documents-table th,.documents-table td{border-bottom:1px solid var(--border);padding:11px 12px;text-align:left;vertical-align:top}.documents-table th{position:sticky;top:0;z-index:1;color:var(--muted);background:#f5f8fb;box-shadow:0 1px 0 var(--border);font-size:11px;font-weight:780;letter-spacing:0;text-transform:uppercase;white-space:nowrap}.documents-table td{color:var(--text);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.documents-table tbody tr{transition:background .12s ease}.documents-table tbody tr:hover{background:#f9fbfd}.documents-table tbody tr:last-child td{border-bottom:0}.documents-table th:nth-child(1),.documents-table td:nth-child(1){width:17%}.documents-table th:nth-child(2),.documents-table td:nth-child(2),.documents-table th:nth-child(5),.documents-table td:nth-child(5),.documents-table th:nth-child(10),.documents-table td:nth-child(10){width:8%}.documents-table th:nth-child(3),.documents-table td:nth-child(3),.documents-table th:nth-child(4),.documents-table td:nth-child(4),.documents-table th:nth-child(6),.documents-table td:nth-child(6),.documents-table th:nth-child(7),.documents-table td:nth-child(7),.documents-table th:nth-child(8),.documents-table td:nth-child(8),.documents-table th:nth-child(9),.documents-table td:nth-child(9){width:10%}.filename-cell{color:var(--text);font-weight:720}.mono-cell{color:var(--muted-strong);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.action-cell{text-align:center}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--border-strong);border-radius:7px;padding:0;background:#fff;color:var(--muted-strong);box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease,transform .14s ease}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.icon-button:hover:not(:disabled){border-color:#9fb0c3;background:var(--surface-subtle);transform:translateY(-1px)}.icon-button.danger{color:var(--danger)}.icon-button.danger:hover:not(:disabled){border-color:#e3a29b;background:var(--danger-soft)}.icon-button:disabled{cursor:not-allowed;opacity:.48;transform:none}@media(max-width:1040px){.asset-layout{grid-template-columns:minmax(280px,330px) minmax(0,1fr)}}@media(max-width:920px){.app-shell{padding:24px 16px 34px}.workspace-header{align-items:flex-start;flex-direction:column}h1{font-size:30px}.asset-layout{grid-template-columns:1fr}.asset-list{max-height:none}.asset-summary,.upload-panel{grid-template-columns:1fr}}@media(max-width:560px){.asset-panel,.asset-detail-panel{padding:16px}.asset-detail-heading,.panel-heading{align-items:flex-start;flex-direction:column;gap:10px}.asset-detail-heading h2{font-size:18px}.status-pill,.panel-count{white-space:normal}.selected-files-heading,.selected-file-list li{align-items:flex-start;flex-direction:column;gap:5px}}
