@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750&display=swap');
:root{font-family:Inter,system-ui,sans-serif;color:#172449;background:#f5f7fc;--blue:#1957ee;--muted:#526381;--line:#dfe6f3}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}:focus-visible{outline:3px solid #547fff;outline-offset:3px}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:white;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;gap:42px}
.brand{display:flex;gap:11px;align-items:center;padding:0 8px;font-size:21px;font-weight:750;line-height:1.15}
.brand-mark,.avatar,.account-logo{display:grid;place-items:center;font-weight:750;flex:none}
.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--blue);color:white;font-size:16px}
small{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-top:4px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:11px;font-size:14px;font-weight:550;color:var(--muted)}
.sidebar nav a span{font-size:20px;line-height:1;width:24px;text-align:center}
.sidebar nav a:hover,.sidebar nav a[aria-current]{background:#eaf0ff;color:#184ad1}
.integration{display:flex;align-items:center;gap:9px;margin-top:auto;padding:12px;border:1px solid var(--line);border-radius:12px;font-weight:650;font-size:13px}.integration i{width:8px;height:8px;border-radius:50%;background:#6d80a7}
main{margin-left:238px;min-height:100vh}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.avatar{width:38px;height:38px;border-radius:50%;background:#e9efff;color:#1647c1;font-size:13px}
.screen{padding:32px clamp(20px,4vw,60px) 38px;max-width:1380px;margin:auto}
.hero{min-height:300px;display:flex;align-items:center;border:1px solid #d8e4ff;border-radius:26px;overflow:hidden;background-color:#eaf1ff;background-image:linear-gradient(90deg,#eaf1ff 0%,#eaf1ff 40%,transparent 73%),url('/hero.webp');background-repeat:no-repeat;background-position:center,right center;background-size:auto,60% auto}
.hero-content{position:relative;padding:clamp(24px,4vw,55px);max-width:580px}.overline{font-size:11px;letter-spacing:.12em;font-weight:750;color:#1849bf}
h1{font-size:clamp(28px,4vw,49px);line-height:1.04;letter-spacing:-.05em;margin:12px 0}h2{font-size:22px;letter-spacing:-.025em;margin:0}p{color:var(--muted);line-height:1.55;margin:8px 0}.hero p{max-width:370px;margin:16px 0 24px}
.primary,.secondary,.close{border:1px solid transparent;border-radius:11px;padding:11px 15px;font-weight:650;font-size:14px;min-height:42px}.primary{background:var(--blue);color:white;box-shadow:0 3px 8px #1957ee30}.primary:hover{background:#1748c7}.secondary,.close{background:white;border-color:var(--line);color:#23437d}.secondary:hover,.close:hover{background:#edf3ff}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 15px}.screen>.section-heading:first-child{margin-top:4px}
.items{display:grid;gap:11px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:19px;overflow-wrap:anywhere}.item,.account{display:flex;align-items:center;gap:14px}.item>div{flex:1;min-width:0}.item h3{margin:0 0 4px;font-size:16px}.item p{font-size:13px;margin:2px 0}.item-actions{display:flex;gap:6px}.tag{display:inline-block;padding:4px 8px;background:#edf2ff;color:#244ba9;border-radius:20px;font-size:11px;margin-bottom:5px}.empty{text-align:center;padding:32px 18px}
.upload{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-bottom:15px}.account-logo{width:45px;height:45px; border-radius:12px;background:#ffecea;color:#b22216;font-size:23px}.account h2{font-size:18px}.account p{margin:4px 0 0}
dialog{border:1px solid var(--line);border-radius:20px;padding:24px;color:#172449;width:min(510px,calc(100% - 24px));box-shadow:0 24px 80px #10214338}dialog::backdrop{background:#12234985}dialog form{display:grid;gap:14px}dialog .section-heading{margin:0 0 5px}.close{font-size:21px;padding:0 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{display:grid;gap:7px;font-size:13px;font-weight:650;min-width:0}
input,select{padding:10px;border-radius:9px;border:1px solid #cdd8ec;background:white;color:#172449;width:100%;min-width:0}.error{color:#9c241c}.notice{position:fixed;bottom:18px;right:20px;max-width:min(360px,calc(100% - 40px));background:#172449;color:white;padding:12px 16px;border-radius:11px;box-shadow:0 6px 20px #17244930;z-index:5}
@media(max-width:900px){.sidebar{width:180px;padding-left:12px;padding-right:12px}main{margin-left:180px}.upload{grid-template-columns:1fr}.hero{background-size:auto,70% auto}}
@media(max-width:650px){.sidebar{position:static;width:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 15px;gap:11px}.brand{padding:0}.brand-mark{width:34px;height:34px;border-radius:9px}.brand small,.integration,.topbar{display:none}.sidebar nav{display:flex;gap:2px;flex-wrap:wrap}.sidebar nav a{padding:8px;font-size:12px;gap:4px}.sidebar nav a span{width:19px;font-size:16px}main{margin:0}.screen{padding:15px}.hero{min-height:235px;border-radius:17px;background-image:linear-gradient(90deg,#eaf1ff 5%,#eaf1ffcc 60%,#eaf1ff50),url('/hero.webp');background-size:auto,cover}.hero-content{padding:20px}.hero p{margin:10px 0 15px}.item{align-items:flex-start;flex-wrap:wrap}.item-actions{width:100%}.section-heading{margin-top:23px}}

.settings { display:grid; gap:14px; max-width:680px; padding:24px; }
.settings .primary { justify-self:start; }
.setting-meta { display:flex; gap:12px; align-items:center; justify-content:space-between; min-height:26px; }
.setting-meta span, .settings-help, #settings-status { font-size:14px; color:#435675; margin:0; }
.settings-help { overflow-wrap:anywhere; }
#settings-status:empty { display:none; }
