:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#20334e;background:#f5f7fb;font-synthesis:none;--navy:#0f2b5c;--muted:#768397;--border:#e4e9f1}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100vh}aside{width:252px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--border);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:780;letter-spacing:-1px}.brand-icon{background:var(--navy);color:#fff;border-radius:13px;padding:9px 13px;font-size:27px;font-style:italic}.version{font-size:12px;letter-spacing:0;background:#edf3ff;color:#4074ba;border-radius:5px;padding:3px 5px;margin-left:7px}.brand small{display:block;font-size:11px;letter-spacing:1px;font-weight:450;color:var(--muted);margin-top:4px}.nav-label{font-size:10px;letter-spacing:1.3px;color:#99a3b3;margin:49px 12px 14px}nav{display:grid;gap:7px}nav a{padding:13px 12px;border-radius:9px;color:#788497;display:flex;gap:13px;align-items:center;font-size:18px}nav a span{font-size:13px;font-weight:550}nav a.active{background:#edf3ff;color:var(--navy)}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-bottom img{width:100%;height:125px;object-fit:cover;border-radius:12px}.sidebar-bottom p{font-size:12px;line-height:1.8;color:var(--muted);padding:0 8px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding-top:20px;font-size:12px}.profile>span{padding:11px;background:#eff2f7;border-radius:50%;font-weight:650}.profile small{display:block;color:var(--muted);margin-top:5px}.workspace{margin-left:252px;flex:1;min-width:0}header{height:76px;border-bottom:1px solid var(--border);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 40px;font-size:12px;color:var(--muted)}header b{margin:0 14px;color:#c5cbd5}.local{background:#f1f7f4;color:#53816b;padding:7px 12px;border-radius:20px}.local i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#75a58b;margin-right:5px}main{max-width:1450px;margin:auto;padding:34px 40px 40px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#6682aa;text-transform:uppercase}h1{font-size:30px;letter-spacing:-.8px;margin:10px 0}h2{font-size:18px;letter-spacing:-.3px;margin:0}p{line-height:1.6}.muted{color:var(--muted);font-size:13px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.heading p{margin:9px 0 0}.btn{border:1px solid var(--border);background:white;color:var(--navy);padding:11px 16px;border-radius:8px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:8px}.btn.primary{background:var(--navy);border-color:var(--navy);color:white}.btn:disabled{opacity:.5;cursor:not-allowed}.hero{border-radius:15px;padding:28px 32px;background:linear-gradient(115deg,#0f2b5c,#254d83);color:white;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:23px}.hero h2{font-size:23px;margin:10px 0}.hero p{color:#c3d2e8;font-size:13px;max-width:550px;margin:10px 0}.hero .eyebrow{color:#97b7e2}.hero .btn{white-space:nowrap;background:#fff;color:var(--navy)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}.stat .label{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:31px;margin:12px 0 6px;color:var(--navy)}.stat small{font-size:11px;color:var(--muted)}.section-top{display:flex;align-items:center;justify-content:space-between;margin:27px 0 17px}.section-top a{font-size:12px;color:#436a9d}.notice{background:#eef3fa;border:1px solid #dce5f3;padding:13px 16px;border-radius:9px;font-size:12px;color:#62758c;margin:17px 0}.filters{display:flex;flex-wrap:wrap;gap:10px;background:white;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:18px}.filters input{flex:1;min-width:180px}input,select,textarea{border:1px solid var(--border);border-radius:7px;background:white;padding:11px 12px;color:#20334e;font-size:13px}.cards{display:grid;gap:13px}.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:23px;display:grid;grid-template-columns:1fr auto;gap:20px}.tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:12px}.tag{font-size:10px;font-weight:600;padding:5px 8px;border-radius:5px;background:#f1f4f8;color:#6b7d95}.tag.green{background:#eef7f2;color:#55846e}.tag.orange{background:#fff3e6;color:#b88440}.card h3{font-size:16px;margin:0 0 9px;line-height:1.4;max-width:690px}.buyer{font-size:11px;color:#7b8799;line-height:1.5}.meta{display:flex;flex-wrap:wrap;gap:23px;margin-top:18px;font-size:12px;color:#65758c}.meta b{color:#344b6a;font-weight:550}.card-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:20px}.bookmark{background:#fff;border:1px solid var(--border);border-radius:8px;font-size:20px;padding:5px 10px;color:#7e8ca0}.bookmark.selected{background:#eef3ff;color:#315a99;border-color:#c3d3ef}.panel{background:white;border:1px solid var(--border);border-radius:12px;padding:24px;margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0}label{display:grid;gap:9px;font-size:12px;font-weight:600}label small{font-weight:400;line-height:1.5;color:var(--muted)}textarea{resize:vertical;min-height:85px}.empty{text-align:center;padding:55px 20px;background:white;border:1px dashed #ccd6e5;border-radius:12px;color:var(--muted)}footer{border-top:1px solid var(--border);margin:0 40px;padding:20px 0;color:#98a2b1;font-size:10px;text-align:center}dialog{border:0;border-radius:16px;max-width:810px;width:calc(100% - 32px);padding:30px;color:#20334e;max-height:90vh}dialog::backdrop{background:#0c22465e;backdrop-filter:blur(3px)}.detail-head{display:flex;gap:20px;justify-content:space-between}.detail-head h2{line-height:1.45}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.detail-grid div{background:#f5f7fb;padding:15px;border-radius:8px;font-size:13px}.detail-grid small{display:block;color:var(--muted);margin-bottom:8px}.detail-section{padding-top:20px;margin-top:20px;border-top:1px solid var(--border)}.detail-section p{font-size:13px;white-space:pre-wrap}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.stars{display:flex;gap:6px}.stars button{border:0;background:none;color:#b88528;font-size:25px}.history-row{display:grid;grid-template-columns:1fr auto;gap:15px;border-bottom:1px solid var(--border);padding:18px 0;font-size:13px}.history-row:last-child{border:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;border-radius:10px;padding:13px 22px;font-size:13px;display:none;z-index:10}@media(min-width:1400px){main{padding:40px 60px}.card{padding:25px}}@media(max-width:950px){aside{width:210px;padding:25px 16px}.workspace{margin-left:210px}main{padding:25px}.stats{grid-template-columns:repeat(2,1fr)}header{padding:0 25px}.hero{padding:24px}.hero h2{font-size:20px}.meta{gap:12px}}@media(max-width:650px){.shell{display:block}aside{position:static;width:100%;padding:18px;border:0}.brand{font-size:24px}.brand-icon{font-size:21px}.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;margin-top:20px;gap:5px}nav a{padding:9px;white-space:nowrap}nav a span{font-size:11px}.workspace{margin:0}header{height:52px;padding:0 18px;font-size:10px}main{padding:24px 18px}.heading{align-items:flex-start}.heading h1{font-size:25px}.heading .btn{padding:10px}.hero{display:block;padding:23px}.hero .btn{margin-top:8px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:26px}.card{padding:18px;grid-template-columns:1fr;gap:14px}.card-right{flex-direction:row;align-items:center}.meta{display:grid;gap:8px}.form-grid,.detail-grid{grid-template-columns:1fr}.filters select{flex:1;min-width:0}.local{padding:5px 8px}footer{margin:0 18px;line-height:1.8}dialog{padding:22px}.section-top h2{font-size:16px}}

/* App shell: persistent navigation, compact content, restrained surfaces. */
:root{background:#f4f5f7;--border:#e8ebef;--muted:#808a99;color:#263449}aside{width:218px;padding:25px 16px;background:#fafbfc}.workspace{margin-left:218px}.brand{font-size:25px;padding:0 9px}.brand-icon{padding:6px 11px;border-radius:11px;font-size:24px}.version{background:transparent;color:#8d9aae;font-size:10px;padding:0}.nav-label{margin:34px 12px 12px;font-size:9px}.sidebar-bottom{padding-top:18px}nav{gap:5px}nav a{gap:12px;padding:12px;border-radius:10px}nav a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}nav a.active{background:#e9eef6;color:#0f2b5c}.profile{padding-top:16px}.profile>span{padding:9px;font-size:11px}header{position:sticky;top:0;height:60px;padding:0 30px;background:#fafbfceF;backdrop-filter:blur(12px);z-index:3}.header-title{font-size:14px;font-weight:650;color:#34445e}.local{background:#eef0f3;color:#788496;font-size:10px;padding:5px 9px}.local i{background:#9ba7b6}main{max-width:1150px;padding:27px 30px 35px}h1{font-size:25px;margin:0;letter-spacing:-.65px}.heading{margin-bottom:22px;gap:12px}.heading p{margin:7px 0 0;font-size:12px}.heading .eyebrow{display:none}.btn{font-size:11px;border-radius:9px;padding:10px 13px;min-height:38px}.stats{gap:12px;margin-bottom:25px}.stat{border-radius:12px;padding:17px 18px;box-shadow:0 2px 5px #17294103}.stat strong{font-size:28px;margin:10px 0 3px;letter-spacing:-1px}.stat .label{font-size:11px}.stat small{font-size:10px}.section-top{margin:23px 0 13px}.section-top h2{font-size:15px}.section-top a{font-size:11px}.notice{background:transparent;border:0;border-left:2px solid #c4cfdd;padding:3px 10px;font-size:10px;line-height:1.7;color:#8b95a4;border-radius:0;margin:14px 0 18px}.card{padding:18px 20px;gap:14px;border-radius:12px;box-shadow:0 2px 6px #17294103}.card h3{font-size:14px;line-height:1.45;letter-spacing:-.15px}.tags{gap:6px;margin-bottom:9px}.tag{font-size:9px;padding:4px 7px;font-weight:550}.buyer{font-size:10px}.meta{gap:17px;font-size:11px;margin-top:13px}.card p.muted{font-size:10px;margin-bottom:0}.bookmark{font-size:19px;padding:3px 9px;min-height:34px}.cards{gap:10px}.card-right{gap:12px}.filters{padding:12px;gap:8px;margin-bottom:15px}.filters input,.filters select{font-size:12px}.panel{padding:22px}.panel h2{font-size:16px}footer{display:none}dialog{box-shadow:0 24px 80px #0f2b5c30}.detail-head h2{font-size:18px}#toast{bottom:25px}
@media(max-width:950px){aside{width:190px}.workspace{margin-left:190px}main{padding:24px}.stats{grid-template-columns:repeat(2,1fr)}header{padding:0 24px}}
@media(max-width:650px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}aside{position:static;width:100%;padding:16px 18px 12px;background:#fafbfc;border-bottom:1px solid var(--border)}.workspace{margin:0}.brand{font-size:22px;gap:8px;padding:0}.brand-icon{font-size:20px;padding:5px 10px;border-radius:10px}.version{font-size:10px}.nav-label,.sidebar-bottom{display:none}nav{position:fixed;left:0;right:0;bottom:0;margin:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:6;border-top:1px solid #e4e8ee;background:#ffffffed;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:visible}nav a{flex-direction:column;justify-content:center;gap:5px;padding:7px 1px;border-radius:10px;min-width:0;color:#88919f}nav a svg{width:20px;height:20px}nav a span{font-size:9px;font-weight:550}nav a.active{background:#eef2f8;color:#0f2b5c}header{position:absolute;top:18px;right:18px;left:auto;height:auto;padding:0;border:0;background:none}header .header-title{display:none}.local{font-size:9px}.local i{width:5px;height:5px}main{padding:23px 16px 25px}.heading h1{font-size:23px}.heading p{font-size:11px;line-height:1.5;max-width:220px}.heading .btn{font-size:10px;padding:8px 10px;min-height:34px;white-space:nowrap}.heading{margin-bottom:18px;align-items:center}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:24px}.stat{padding:13px 8px;text-align:center;border-radius:11px}.stat strong{font-size:25px;margin:9px 0 0}.stat .label{font-size:9px;color:#6a778a}.stat small{display:none}.section-top{margin:20px 0 12px}.notice{font-size:9px;padding:2px 8px;line-height:1.7;margin:12px 0 15px}.card{padding:15px;grid-template-columns:1fr;gap:12px}.card h3{font-size:13px}.meta{display:flex;flex-wrap:wrap;gap:7px 15px;font-size:10px}.meta span:last-child{flex-basis:100%}.card p.muted{font-size:9px}.buyer{font-size:9px}.card-right{flex-direction:row;align-items:center;padding-top:10px;border-top:1px solid #f0f2f5}.card-right .btn{border:0;background:#f1f4f8;min-height:32px;font-size:10px}.bookmark{border:0;background:#f4f6f8;min-height:32px}.filters{padding:10px;display:grid;grid-template-columns:1fr 1fr}.filters input{grid-column:1 / -1;min-width:0}.filters select{width:100%;font-size:10px;padding:10px 8px}.filters .btn{grid-column:1 / -1;justify-content:center}.form-grid{gap:16px}.panel{padding:18px}.panel p{font-size:11px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:90%;width:max-content}dialog{padding:21px 18px;border-radius:17px;max-height:88dvh}.detail-head h2{font-size:16px}.detail-grid{gap:8px;margin:18px 0}.detail-grid div{padding:12px;font-size:12px}.detail-grid small{font-size:10px}.detail-section h2{font-size:15px}}
@media(max-width:650px){.stat .label{font-size:10px}.card h3{font-size:14px}.buyer{font-size:10px}.meta{font-size:11px}.card p.muted{font-size:10px}.notice{font-size:10px}nav a{min-height:48px}nav a span{font-size:10px}.bookmark{min-width:42px;min-height:42px}.card-right .btn{min-height:42px;font-size:11px}.heading .btn{min-height:40px}.tag{font-size:10px}.heading p{font-size:12px}}
.toggle{display:flex;align-items:center;gap:7px;font-weight:400}.toggle input{width:16px;height:16px;accent-color:#0f2b5c}.profile-form .section-top{margin-top:0}.profile-form textarea{min-height:90px}.history-row small{font-size:10px}.btn:disabled{opacity:.65}
[hidden]{display:none!important}.account-actions{display:flex;gap:7px}.account-actions .btn{min-height:30px;padding:6px 10px;font-size:10px}.auth-card{width:min(420px,calc(100% - 32px));margin:6vh auto;background:#fff;border:1px solid var(--border);padding:30px;border-radius:18px;box-shadow:0 10px 40px #0f2b5c08}.auth-card .brand{margin-bottom:30px}.auth-card h1{font-size:24px}.auth-card form{display:grid;gap:17px;margin-top:25px}.auth-card label{font-size:12px}.auth-card input{min-height:44px}.auth-card button.primary{justify-content:center;min-height:44px}.form-error{color:#ac3745;font-size:12px;margin:0}.text-button{border:0;background:none;color:#5e7493;font-size:11px;margin-top:22px;padding:0;line-height:1.6}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.permission-grid label{font-size:11px;line-height:1.5}.danger{color:#aa3745;border-color:#ecd3d6}.user-row{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:0}.user-row h2{font-size:14px}.user-row .actions{margin:0;max-width:330px}.account-menu{display:grid;gap:10px;margin-top:20px}#password-form{display:grid;gap:13px}.select-card{display:inline-flex}.select-card input{margin:0;accent-color:#0f2b5c;width:15px;height:15px}.share-preview{width:100%;min-height:300px;font-size:12px;line-height:1.7}.compact{margin:0;justify-content:flex-end}.history-row .btn{align-self:center}#invite-text{min-height:140px}
@media(max-width:650px){.account-actions .btn{font-size:9px;padding:6px 8px}.permission-grid{grid-template-columns:1fr}.user-row{display:block}.user-row .actions{margin-top:15px}.auth-card{padding:25px;margin:4vh auto}.heading .compact{gap:5px;max-width:130px;flex-wrap:wrap}.share-preview{min-height:260px}}
