@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#18243b;--muted:#718098;--line:#e5eaf1;--blue:#315cec;--light:#f6f8fc;--white:#fff;--green:#188b6c;--orange:#b66b21}
*{box-sizing:border-box}body{margin:0;background:var(--light);color:var(--ink);font:14px/1.5 'DM Sans',Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:244px;flex:none;background:#111c32;color:#c6d0e3;padding:26px 15px;display:flex;flex-direction:column}.brand-mark{display:flex;align-items:center;gap:11px;color:white;font:800 19px/1.1 Manrope,Arial,sans-serif;padding:0 11px 49px}.brand-mark small{display:block;font:400 11px/1.8 'DM Sans',Arial,sans-serif;color:#9dabca;letter-spacing:.02em}.brand-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#435feb;font-size:22px}.side-label{font-size:10px;letter-spacing:.15em;color:#8190ad;font-weight:700;padding:0 11px 12px}.project-link,.side-add{display:block;width:100%;border:0;background:transparent;color:#b9c6dd;text-align:left;padding:10px 12px;border-radius:9px;margin:2px 0;font-weight:600}.project-link:hover,.side-add:hover{background:#1e2c46;color:white}.project-link.active{background:#28395b;color:white}.project-link .mini{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#3e5379;color:white;margin-right:8px}.side-add{color:#8eafff}.side-bottom{margin-top:auto;border-top:1px solid #273651;padding:22px 10px 0;display:flex;align-items:center;gap:8px;font-size:11px;color:#8292b0}.status-dot{background:#49c6a0;width:7px;height:7px;border-radius:50%}.main{flex:1;min-width:0}.topbar{height:75px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:#8390a4}.topbar-right{display:flex;align-items:center;gap:17px}.top-tag{border:1px solid var(--line);padding:5px 10px;border-radius:7px;color:#66758d;font-size:11px}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e8edff;color:#3d59c9;font-weight:800}.content{max-width:1120px;margin:0 auto;padding:39px 38px 70px}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--blue);text-transform:uppercase}.page-title{font:800 30px/1.25 Manrope,Arial,sans-serif;letter-spacing:-.03em;margin:8px 0 9px}.page-subtitle{color:var(--muted);margin:0 0 28px;max-width:700px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;background:var(--blue);color:white;font-weight:700;padding:10px 16px;white-space:nowrap}.button:hover{background:#2449cb}.button:disabled{opacity:.5;cursor:default}.button.secondary{background:white;color:#35445d;border-color:#dbe1eb}.button.secondary:hover{background:#f8faff}.button.ghost{background:transparent;color:var(--blue);padding-left:0}.card{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 15px rgba(27,49,86,.025)}.padded{padding:27px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.metric{padding:22px 24px}.metric .label{font-size:12px;color:var(--muted)}.metric strong{display:block;font:800 24px Manrope;margin:7px 0 3px}.metric span{color:#8794a8;font-size:11px}.section-title{font:800 18px Manrope;margin:30px 0 15px}.project-card{padding:23px;cursor:pointer;transition:transform .15s,box-shadow .15s}.project-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(27,49,86,.09)}.project-card h3{font:800 17px Manrope;margin:11px 0 4px}.project-card p{color:var(--muted);margin:0 0 20px}.pill{display:inline-block;border-radius:99px;background:#edf2ff;color:#4563bc;font-size:11px;font-weight:700;padding:4px 9px}.pill.green{background:#e8f8f2;color:#178061}.pill.amber{background:#fff4e5;color:#a4631a}.pill.gray{background:#eff2f6;color:#6e7b8f}.project-card footer{border-top:1px solid var(--line);padding-top:16px;color:#8996a9;font-size:12px;display:flex;justify-content:space-between}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:9px 0 24px}.tab{border:0;background:none;padding:12px 0;color:#8190a4;font-weight:700;border-bottom:2px solid transparent}.tab.active{color:var(--blue);border-color:var(--blue)}.two-col{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:18px}.field{display:block;margin:0 0 20px}.field span{display:block;font-weight:700;color:#334157;margin-bottom:7px;font-size:12px}.field small{display:block;color:#8b97a9;margin-top:6px;font-size:11px;line-height:1.4}.field input,.field textarea,.field select{width:100%;border:1px solid #dce3ed;border-radius:8px;background:white;color:var(--ink);padding:11px 12px;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#6584f3;box-shadow:0 0 0 3px #edf1ff}.field textarea{min-height:94px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.muted{color:var(--muted)}.divider{border-top:1px solid var(--line);margin:22px 0}.info-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;gap:12px}.info-row:last-child{border:0}.info-row strong{font-size:13px}.info-row small{display:block;color:#8a96a9}.empty{padding:48px 30px;text-align:center}.empty .symbol{width:55px;height:55px;border-radius:16px;background:#eef2ff;color:var(--blue);display:grid;place-items:center;font-size:24px;margin:0 auto 17px}.empty h3{font:800 18px Manrope;margin:0 0 7px}.empty p{color:var(--muted);max-width:460px;margin:0 auto 20px}.task-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 23px;border-bottom:1px solid var(--line);cursor:pointer}.task-row:last-child{border:0}.task-row:hover{background:#fbfcff}.task-row strong{display:block}.task-row small{color:var(--muted)}.step-list{list-style:none;margin:0;padding:0}.step-list li{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}.step-list li:last-child{border:0}.step-index{flex:none;width:25px;height:25px;border-radius:50%;background:#e9efff;color:#315cec;display:grid;place-items:center;font-weight:800;font-size:11px}.step-list strong{display:block}.step-list small{color:var(--muted)}.notice{position:fixed;z-index:9;top:87px;right:28px;max-width:400px;padding:12px 17px;border-radius:9px;background:#1e3557;color:white;box-shadow:0 12px 28px #1f355633}.notice.error{background:#a83f3f}.result-meta li{margin:0 0 8px}.mono{font-family:Consolas,monospace;font-size:12px;word-break:break-word}.hero{background:linear-gradient(110deg,#203969,#315cec);border-radius:15px;color:white;padding:28px 31px;margin:8px 0 23px}.hero h2{font:800 20px Manrope;margin:0 0 7px}.hero p{color:#cbd7fb;margin:0;max-width:700px}.hero .eyebrow{color:#a9bcff}.inline-action{color:var(--blue);font-weight:700;background:none;border:0;padding:0}.project-placeholder{border:1px dashed #cbd6e7;border-radius:12px;padding:23px;color:#74839b}.section-caption{color:var(--muted);font-size:12px;margin-top:-8px;margin-bottom:18px}@media(max-width:950px){.grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.sidebar{width:205px}.content{padding:28px 23px}.topbar{padding:0 23px}}@media(max-width:650px){.shell{display:block}.sidebar{width:100%;padding:12px 15px;display:block}.brand-mark{padding:0}.side-label,.sidebar nav,.side-add,.side-bottom{display:none}.topbar{height:54px;padding:0 16px}.content{padding:24px 15px}.grid,.form-grid{grid-template-columns:1fr}.page-head{display:block}.page-head .button{margin-top:10px}.tabs{overflow:auto;white-space:nowrap;gap:18px}.top-tag{display:none}}

[hidden]{display:none!important}.compact{padding:6px 12px;font-size:12px}.signed-out .sidebar{display:none}.signed-out .topbar-right{display:none}.auth-wrap{max-width:1050px;min-height:calc(100vh - 75px);margin:0 auto;padding:65px 35px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.auth-intro h1{font:800 42px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;margin:20px 0}.auth-intro p{color:var(--muted);max-width:360px;font-size:16px}.auth-card h2{font:800 23px Manrope;margin:0 0 24px}.auth-card .button{width:100%}.field-hint{color:var(--muted);font-size:12px;margin-top:-12px}.setup-note{background:#edf2ff;padding:12px;border-radius:8px;color:#425a8a}.check-field{display:flex;align-items:center;gap:8px;margin-bottom:18px;font-size:12px;color:var(--muted)}.check-field input{width:auto}.brand-columns{grid-template-columns:1fr 1fr;align-items:start}.brand-columns textarea[name=instructions]{min-height:190px}.profile-history{margin-top:20px}.profile-history summary{cursor:pointer;font-weight:700}.revision{border-top:1px solid var(--line);padding:14px 0;margin-top:12px}.revision dt{font-weight:700;color:#66758d;margin-top:10px}.revision dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 12px}.field input[readonly]{background:#f5f7fb;color:#718098}
@media(max-width:750px){.auth-wrap{grid-template-columns:1fr;gap:20px;padding:25px 18px}.auth-intro h1{font-size:30px}.auth-intro h1 br{display:none}.auth-intro p{font-size:14px}.brand-columns{grid-template-columns:1fr}.topbar-right{gap:10px}.topbar-right #account-button{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

.analysis-card{margin-bottom:24px}.analysis-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.analysis-row h2{margin:0 0 8px}.analysis-row .section-caption{margin:0;max-width:760px}.analysis-row .button{flex-shrink:0}.analysis-sources{margin-top:18px}.analysis-sources li{margin-top:8px}.analysis-sources a{color:var(--blue,#355cff);overflow-wrap:anywhere}@media(max-width:760px){.analysis-row{align-items:flex-start;flex-direction:column}}

.author-summary{margin-top:24px}.author-card{margin-bottom:16px}.author-card.selected{border-color:#355cff}.author-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.author-card h3{margin:0;overflow-wrap:anywhere}.author-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.authors-layout{align-items:start}#author-editor{min-width:0}.authors-layout .profile-history{margin-top:20px}

.authors-layout .section-caption,#tab-content>.page-head .section-caption,#brand-form .section-caption{margin-top:8px}.authors-layout{grid-template-columns:minmax(250px,.85fr) minmax(0,1.35fr)}@media(max-width:1000px){.authors-layout{grid-template-columns:1fr}}

.production-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:22px;align-items:start}.production-panel{position:sticky;top:20px}.production-status{line-height:1.7}.production-error{color:#a14532;background:#fff2ec;padding:12px;border-radius:8px}.result-card{margin-top:22px}.article-preview{width:100%;height:650px;border:1px solid var(--line);border-radius:10px;background:white}.meta-value{overflow-wrap:anywhere;white-space:pre-wrap}.production-layout .info-row small{overflow-wrap:anywhere}.production-layout #edit-task{margin-top:18px}@media(max-width:1000px){.production-layout{grid-template-columns:1fr}.production-panel{position:static;grid-row:1}}
