.workspace-body { min-width:0; min-height:100vh; overflow-x:hidden; background:#f5f2e8; }
.workspace-topbar { position:sticky; top:0; z-index:20; display:flex; justify-content:space-between; align-items:center; min-height:68px; padding:0 clamp(16px,4vw,48px); border-bottom:1px solid var(--line); background:rgba(251,250,245,.96); backdrop-filter:blur(12px); }
.workspace-topbar > div { display:flex; align-items:center; gap:8px; }.workspace-topbar > div > span { max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:850; }
.workspace-shell { width:min(1320px,calc(100% - 32px)); margin:0 auto; padding:34px 0 90px; }
.workspace-hero { display:grid; grid-template-columns:1.35fr .65fr; align-items:center; min-height:310px; overflow:hidden; padding:38px 50px; border:1px solid #cbd7c7; border-radius:22px; background:linear-gradient(125deg,#fffdf6 0 64%,#dfebda 64%); box-shadow:var(--shadow); }.workspace-hero h1 { margin:2px 0 12px; font-size:clamp(42px,6vw,72px); line-height:1.06; }.workspace-hero p:not(.eyebrow) { max-width:650px; color:var(--muted); line-height:1.8; }.workspace-hero img { justify-self:end; width:min(320px,100%); max-height:230px; object-fit:contain; }
.workspace-tabs { position:sticky; top:68px; z-index:12; display:flex; gap:6px; margin:20px 0; padding:9px; overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:#fbfaf5; }.workspace-tabs button { flex:0 0 auto; min-height:42px; padding:0 17px; border:0; border-radius:9px; background:transparent; color:var(--ink); font-weight:850; cursor:pointer; }.workspace-tabs button.active { background:#1d4b31; color:white; }
.workspace-view { animation:workspace-fade .18s ease; }@keyframes workspace-fade { from { opacity:.5; transform:translateY(3px); } }
.workspace-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }.workspace-summary article { display:grid; gap:3px; padding:20px; border:1px solid var(--line); border-radius:15px; background:white; }.workspace-summary span,.workspace-summary small { color:var(--muted); font-size:12px; font-weight:800; }.workspace-summary strong { color:var(--green); font-size:34px; }
.workspace-filter { display:grid; grid-template-columns:2fr 1fr 1fr auto auto; align-items:end; gap:10px; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fffdf7; }.workspace-filter label,.workspace-panel label { display:grid; gap:6px; color:var(--green); font-size:12px; font-weight:850; }.workspace-filter input:not([type="checkbox"]),.workspace-filter select,.workspace-panel input,.workspace-panel select,.workspace-panel textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font:inherit; }.favorite-filter { display:flex!important; align-items:center; min-height:42px; white-space:nowrap; }.favorite-filter input { width:19px; height:19px; accent-color:var(--green); }
.workspace-job-list { display:grid; gap:12px; margin-top:16px; }.workspace-job { display:grid; grid-template-columns:minmax(220px,1fr) minmax(210px,.8fr) auto; gap:18px; align-items:center; padding:20px; border:1px solid var(--line); border-radius:16px; background:white; box-shadow:0 8px 24px rgba(39,51,42,.05); }.workspace-job.favorite { border-color:#8ea989; box-shadow:0 8px 28px rgba(43,91,57,.12); }.workspace-job h3 { margin:0 0 5px; font-size:19px; }.workspace-job p { margin:3px 0; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }.workspace-job progress { width:100%; height:13px; accent-color:var(--green); }.job-state { display:inline-flex; padding:5px 9px; border-radius:99px; background:#e7f0e3; color:#1d4b31; font-size:12px; font-weight:850; }.job-state.failed,.job-state.interrupted { background:#fff0ed; color:#8c332d; }.job-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; max-width:280px; }.job-actions a,.job-actions button { min-height:38px; }.job-edit { grid-column:1/-1; display:grid; grid-template-columns:2fr 1fr auto auto; gap:8px; padding-top:14px; border-top:1px solid var(--line); }.job-edit input { min-width:0; padding:9px 10px; border:1px solid var(--line); border-radius:8px; }
.job-select { align-self:start; width:20px; height:20px; accent-color:var(--green); }.batch-actions { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; padding:10px 14px; border:1px solid var(--line); border-radius:11px; background:#f9f7ef; }.batch-actions label { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:850; }.batch-actions input { width:18px; height:18px; accent-color:var(--green); }
.workspace-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin:30px 0 18px; }.workspace-heading h2 { margin:2px 0 0; font-size:clamp(34px,5vw,54px); }.workspace-heading h3 { margin:0; }.workspace-heading > p,.workspace-heading div > p:not(.eyebrow) { max-width:560px; margin:0; color:var(--muted); }
.workspace-two-columns,.security-grid { display:grid; grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr); gap:16px; align-items:start; }.workspace-panel { display:grid; gap:14px; padding:24px; border:1px solid var(--line); border-radius:17px; background:white; box-shadow:var(--shadow); }.workspace-panel h3 { margin:0; font-size:22px; }.workspace-panel p { margin:0; color:var(--muted); }.workspace-panel .action-button { justify-self:start; }
.preset-list,.token-list { display:grid; gap:10px; }.preset-card,.token-card,.session-card { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:17px; border:1px solid var(--line); border-radius:13px; background:white; }.preset-card h3,.token-card h3,.session-card h3 { margin:0 0 4px; font-size:16px; }.preset-card p,.token-card p,.session-card p { margin:2px 0; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }.session-panel { margin-top:16px; }.session-panel .workspace-heading { margin:0 0 14px; }.session-panel #session-list { display:grid; gap:9px; }.current-session { border-color:#8ea989; background:#f4f8f1; }
.form-actions { display:flex; flex-wrap:wrap; gap:8px; }.quiet-button.danger { color:#8a2f2f; }.token-reveal { display:grid; gap:10px; margin-bottom:14px; padding:18px; border:2px solid #2b6742; border-radius:14px; background:#eef5e9; }.token-reveal code { padding:12px; overflow-wrap:anywhere; border-radius:8px; background:white; }.token-reveal button { justify-self:start; }
.workspace-login { display:grid; place-items:center; min-height:calc(100vh - 68px); padding:24px; }.workspace-login section { width:min(100%,560px); min-width:0; padding:42px; border:1px solid var(--line); border-radius:20px; background:white; text-align:center; box-shadow:var(--shadow); }.workspace-login h1 { overflow-wrap:anywhere; font-size:42px; }.workspace-login p { margin-bottom:24px; color:var(--muted); }
@media (max-width:950px) { .workspace-hero { grid-template-columns:1fr; background:linear-gradient(145deg,#fffdf6,#e5eedf); }.workspace-hero img { display:none; }.workspace-summary { grid-template-columns:repeat(2,1fr); }.workspace-filter { grid-template-columns:1fr 1fr; }.workspace-filter label:first-child { grid-column:1/-1; }.workspace-job { grid-template-columns:1fr; }.job-actions { justify-content:flex-start; max-width:none; }.job-edit { grid-template-columns:1fr 1fr; }.workspace-two-columns,.security-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .workspace-shell { width:min(100% - 24px,1320px); padding-top:18px; }.workspace-topbar { padding:0 12px; }.workspace-topbar > div { min-width:0; }.workspace-topbar > div > span { display:none; }.workspace-topbar .brand span:last-child { display:none; }.workspace-hero { min-height:0; padding:28px 22px; }.workspace-hero h1 { font-size:40px; }.workspace-tabs { top:68px; margin:12px 0; border-radius:10px; }.workspace-summary { grid-template-columns:1fr 1fr; }.workspace-filter { grid-template-columns:1fr; }.workspace-filter label:first-child { grid-column:auto; }.job-edit { grid-template-columns:1fr; }.workspace-heading { align-items:start; flex-direction:column; gap:7px; }.preset-card,.token-card,.session-card { align-items:flex-start; flex-direction:column; }.preset-card button,.token-card button,.session-card button { width:100%; }.workspace-topbar .quiet-button { padding-inline:9px; }.workspace-login { padding:14px; }.workspace-login section { padding:30px 18px; }.workspace-login h1 { font-size:34px; } }
