/* 政企管理台主题：深蓝工作条、灰白内容区、台账与紧凑控件。 */
:root {
  --bg:#f1f3f5; --panel:#fff; --line:#dce1e7; --line2:#edf0f3;
  --ink:#25344a; --ink2:#556274; --ink3:#798594;
  --brand:#1765b1; --brand-l:#eaf2fb; --brand2:#1765b1; --brand2-l:#eaf2fb;
  --r:3px; --sh:none;
}
body { font:14px/1.65 "Microsoft YaHei","PingFang SC",Arial,sans-serif; }
:focus-visible { outline:2px solid #3986d3; outline-offset:2px; }
button,input,textarea,select,a { -webkit-tap-highlight-color:transparent; }
.btn { min-height:32px; border-radius:3px; padding:5px 13px; font-size:13px; font-weight:400; box-shadow:none; }
.btn.pri { background:#1765b1; border-color:#1765b1; }
.btn.pri:hover { background:#125599; border-color:#125599; }
.btn:disabled { cursor:wait; }
.btn.sm { min-height:27px; font-size:12px; }
.logo,.logo.sm { background:#fff; color:#185c9c; border-radius:3px; font-size:18px; font-weight:700; width:34px; height:34px; }
.chip { border-radius:3px; font-size:12px; padding:1px 7px; }
.card { border-radius:3px; box-shadow:none; }
.card-hd { padding:11px 16px; border-bottom:1px solid var(--line); background:#fafbfc; }
.card-hd h2 { font-size:14px; font-weight:600; }
.card-bd { overflow-x:auto; }
.note,.warnbox,.okbox { border-radius:3px; }
.note,.hint { color:#697788; }
.toast { max-width:calc(100vw - 24px); width:max-content; white-space:normal; border-radius:3px; font-size:13px; box-shadow:0 3px 12px #0002; }
/* 登录：正式系统标识与横向业务背景 */
.auth-screen { min-height:100dvh; display:grid; grid-template-columns:minmax(450px,650px) 380px; gap:90px; justify-content:center; align-content:center; padding:140px 5vw 110px; background:linear-gradient(to bottom,#fff 0 104px,#1c5e9b 104px,#18558f calc(100% - 76px),#f7f8fa calc(100% - 76px)); position:relative; overflow:hidden; }
.login-header { position:absolute; top:0; left:0; right:0; height:104px; display:flex; align-items:center; justify-content:space-between; padding:0 max(5vw,calc((100vw - 1120px)/2)); background:#fff; }
.login-identity { display:flex; align-items:center; gap:15px; }
.system-mark { width:46px; height:46px; background:#1765b1; color:#fff; display:grid; place-items:center; font-size:30px; border-radius:3px; }
.login-identity h1 { margin:0; font-size:25px; font-weight:600; color:#204365; letter-spacing:1px; }
.login-identity p { margin:3px 0 0; color:#7e8b97; font-size:12px; letter-spacing:2px; }
.login-header-note { font-size:12px; color:#7a8794; white-space:nowrap; }
.auth-intro { color:#fff; position:relative; align-self:center; padding-bottom:165px; }
.login-line { height:4px; width:48px; background:#9bc5ec; margin-bottom:24px; }
.auth-intro h2 { margin:0 0 15px; font-size:34px; letter-spacing:2px; font-weight:500; }
.auth-intro p { margin:0; font-size:15px; color:#c4d9ed; letter-spacing:.5px; }
.auth-features { display:flex; gap:0; margin-top:28px; color:#d8e7f4; font-size:13px; }
.auth-features span { padding:0 18px; border-left:1px solid #a2c5e96b; }
.auth-features span:first-child { border:0; padding-left:0; }
.city-lines { position:absolute; bottom:-18px; left:-40px; width:calc(100% + 70px); height:200px; color:#79a9d1; opacity:.42; }
.auth-card { width:380px; max-width:100%; padding:31px 32px 27px; border:1px solid #dfe5eb; border-top:3px solid #b6cee4; border-radius:4px; box-shadow:0 8px 26px #102f4e30; z-index:1; }
.auth-brand { margin-bottom:26px; gap:0; }
.auth-brand .logo { display:none; }
.auth-brand h1 { font-size:21px; color:#253b52; font-weight:500; }
.auth-brand p { margin-top:6px; font-size:12px; color:#8a949e; }
.auth-tabs { padding:0; border-radius:0; background:none; border-bottom:1px solid var(--line); margin-bottom:20px; }
.auth-tabs button { border-radius:0; padding:8px 0; }
.auth-tabs button.on { box-shadow:none; border-bottom:2px solid var(--brand); }
.auth-form { gap:17px; }
.auth-form label { font-size:13px; gap:7px; color:#536172; }
.auth-form input { min-height:40px; border:1px solid #d7dee6; border-radius:3px; background:white; font-size:14px; padding:8px 11px; }
.auth-form .btn { height:40px; margin-top:3px; font-size:15px; letter-spacing:5px; }
.auth-hint { font-size:11px; color:#8a949e; line-height:1.8; margin-top:0; }
.auth-foot { position:absolute; bottom:25px; left:0; right:0; text-align:center; font-size:12px; color:#8b959f; }
/* 通用系统顶栏 */
.topbar { height:62px; padding:0 22px; gap:14px; border:0; background:#15568e; box-shadow:none; color:#fff; }
.topbar-t { min-width:0; }
.topbar-t h1 { font-size:17px; font-weight:500; letter-spacing:.5px; color:#fff; }
.topbar-t p { color:#c2d5e8; font-size:11px; }
.topbar-r { min-width:0; gap:10px; }
.topbar .btn { background:transparent; border-color:#8eafd06b; color:#f0f6fb; }
.topbar .btn:hover { background:#ffffff18; border-color:#afc9e4; }
.topbar .btn.pri { background:#fff; border-color:#fff; color:#15568e; }
.topbar .icon-btn { color:white; }
.topbar .icon-btn:hover { background:#ffffff16; }
.who-chip { background:none; border:0; color:#e5eff7; border-radius:0; padding:4px 9px; max-width:230px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; }
.who-chip:hover,#whoChip2:hover { color:#fff; border-color:transparent; background:#ffffff12; }
.who-chip i { background:#b8cde0!important; }
.live { background:#ffffff10; color:#dceaf6; border:0; border-radius:3px; padding:4px 9px; }
.live-dot { box-shadow:none; }
.live-pop { border-radius:3px; color:var(--ink); }
/* 项目管理台账 */
.proj-main { max-width:none; padding:0 24px 40px; }
.page-location { height:42px; display:flex; align-items:center; gap:12px; color:#8b949e; font-size:12px; border-bottom:1px solid #dfe4e9; }
.page-location b { color:#bdc4cb; font-weight:400; }
.page-location strong { color:#536173; font-weight:400; }
.project-intro { margin:20px 0 17px; }
.project-intro h2 { margin:0 0 4px; padding-left:10px; border-left:3px solid #1765b1; font-size:19px; font-weight:500; line-height:1.2; }
.project-intro p { color:#84909e; font-size:12px; margin:8px 0 0 13px; }
.project-summary { display:grid; grid-template-columns:repeat(4,1fr); background:white; border:1px solid var(--line); margin-bottom:18px; }
.project-summary>div { padding:17px 25px; border-right:1px solid var(--line2); display:flex; align-items:baseline; justify-content:space-between; }
.project-summary>div:last-child { border:0; }
.project-summary span { font-size:13px; color:#697788; }
.project-summary strong { font-size:27px; color:#285e91; font-weight:500; font-variant-numeric:tabular-nums; }
.project-summary>div:nth-child(3) strong { color:#357c65; }
.project-summary>div:nth-child(4) strong { color:#b46c2b; }
.proj-head { margin:0; padding:18px 20px; background:white; border:1px solid var(--line); gap:16px; display:flex; align-items:center; }
.proj-head h2 { font-size:13px; font-weight:400; white-space:nowrap; }
.project-search { width:360px; min-width:0; border:1px solid #d6dce4; padding:6px 10px; height:33px; border-radius:3px; background:white; font-size:13px; }
.proj-head .btn { margin-left:auto; }
.project-list-title { margin-top:18px; background:white; border:1px solid var(--line); border-bottom:0; padding:13px 18px; display:flex; align-items:center; justify-content:space-between; }
.project-list-title>span { font-size:14px; font-weight:600; border-left:3px solid var(--brand); padding-left:9px; line-height:1; }
.project-list-title small { font-size:12px; color:#8a959f; }
.proj-grid { display:block; background:white; border:1px solid var(--line); overflow-x:auto; }
.project-table { border-collapse:collapse; width:100%; min-width:1000px; font-size:13px; }
.project-table th { background:#f4f6f8; border-bottom:1px solid #dfe4e9; text-align:left; padding:11px 16px; font-size:12px; font-weight:500; color:#586677; white-space:nowrap; }
.project-table td { padding:17px 16px; border-bottom:1px solid #e8ecf0; vertical-align:middle; }
.project-table tr:last-child td { border-bottom:0; }
.project-table .seq-col { width:58px; text-align:center; color:#8a949e; }
.project-table .progress-col { width:180px; }
.proj-card { position:static; border:0; border-radius:0; box-shadow:none; background:white; padding:0; cursor:pointer; transition:background .12s; }
.proj-card:hover { background:#f6faff; border:0; transform:none; box-shadow:none; }
.proj-card h3 { font-size:14px; font-weight:500; padding:0; margin:0 0 6px; color:#254563; line-height:1.6; overflow-wrap:anywhere; }
.project-name-cell { max-width:440px; min-width:240px; }
.proj-card .meta { font-size:11.5px; color:#8a949e; margin:4px 0 0; line-height:1.7; }
.project-date { display:block; }
.progress-caption { display:flex; justify-content:space-between; font-size:12px; color:#788493; }
.progress-caption b { font-weight:400; color:#476f94; }
.project-progress { height:5px; background:#e7edf3; margin-top:7px; overflow:hidden; }
.project-progress i { height:100%; display:block; background:#4a84bb; }
.project-counts { white-space:nowrap; }
.project-counts span { display:block; color:#8a949e; font-size:12px; line-height:1.9; }
.project-counts .missing-count { color:#c0473d; }
.role-label { display:inline-block; border:1px solid #c7d9eb; border-radius:2px; padding:1px 7px; color:#4777a5; background:#f1f6fb; font-size:11.5px; }
.project-open { padding:0; color:#1765b1; font-size:13px; white-space:nowrap; }
.project-open:hover { text-decoration:underline; }
.proj-empty { padding:66px 20px; color:#8a949e; background:white; text-align:center; }
.proj-empty h3 { font-size:14px; font-weight:400; color:#6a7886; margin:10px 0 6px; }
.proj-empty p { font-size:12px; margin:0 0 20px; }
.empty-symbol { display:none; }
/* 材料编制工作区 */
.app-screen { height:100dvh; }
.app-screen .topbar-t h1 { font-size:15px; }
.layout { position:relative; padding:12px; gap:12px; }
.side { width:268px; border:1px solid var(--line); background:#fff; }
.side-heading { height:43px; background:#f7f9fb; border-bottom:1px solid var(--line); padding:0 13px; display:flex; align-items:center; justify-content:space-between; flex:none; }
.side-heading span { font-size:14px; font-weight:600; color:#425c75; border-left:3px solid var(--brand); padding-left:8px; line-height:1; }
.side-heading small { font-size:11px; color:#9aa4ae; }
.side-top { padding:12px 13px; }
.srch { margin:10px 12px 5px; }
.srch input { background:white; border-radius:3px; font-size:12px; }
.tree { padding:6px 7px 16px; }
.stage-hd { padding:7px 6px; border-radius:2px; color:#4f6478; background:#f5f7fa; margin:4px 0; font-size:12px; }
.node { border-radius:2px; padding-top:7px; padding-bottom:7px; font-size:12px; }
.node .tag { border-radius:2px; }
.stage-hd .cnt { background:none; border-radius:0; color:#8996a3; }
.side-foot { background:#fafbfc; padding:10px 12px; }
.main { border:1px solid var(--line); background:#fff; }
.tabs { background:#f8f9fb; padding:0 10px; gap:0; }
.tab { font-size:13px; padding:12px 14px 11px; border-right:1px solid #edf0f3; }
.tab.on { background:#fff; border-bottom-color:#1765b1; }
.tab .bdg { border-radius:3px; font-weight:400; }
.pane { padding:16px 16px 40px; background:#f6f7f9; }
.pane#pane-doc { padding:0 0 30px; background:#f3f5f7; }
.docbar { padding:11px 17px; position:sticky; top:0; z-index:5; background:white; border-bottom:1px solid var(--line); gap:8px; }
.crumb { font-size:12px; overflow-wrap:anywhere; }
.md { margin:18px auto; width:calc(100% - 36px); max-width:960px; min-height:460px; padding:30px 38px 40px; border:1px solid #e1e5ea; border-radius:0; box-shadow:none; background:#fff; font-size:14px; line-height:1.9; overflow-wrap:anywhere; }
.md h1 { font-size:21px; font-weight:600; border-bottom:1px solid #dfe5ed; padding-bottom:14px; margin-bottom:21px; }
.md h2 { font-size:16px; border-left:3px solid #3374b3; }
.md blockquote { border-radius:0; background:#f4f7fb; }
.md table { display:block; overflow-x:auto; }
.md code { border-radius:2px; }
.edit-area { font-size:14px; line-height:1.85; border-radius:3px; min-height:48vh; }
.insp { width:276px; border:1px solid var(--line); }
.insp-sec { padding:16px 14px; }
.insp-sec h3 { font-size:13px; color:#506b84; font-weight:600; }
.insp .sum { border-radius:2px; background:#f6f8fa; }
.mini-ver { border-radius:2px; }
.att { flex-wrap:wrap; border-radius:2px; }.att .nm { overflow-wrap:anywhere; }
.filters { flex-wrap:wrap; background:#fafbfc; }
.filters input,.filters select { border-radius:3px; }
.tbl th { background:#f2f5f8; font-weight:500; color:#536779; }
.tbl td,.tbl th { padding:10px 12px; overflow-wrap:anywhere; }
.mbox { border-radius:4px; box-shadow:0 10px 35px #122b4530; }
.mhd { padding:14px 19px; background:#f7f9fb; border-bottom:1px solid var(--line); }
.mhd h3 { font-size:15px; color:#3c5871; font-weight:500; }
.mbd { padding:21px; }.mft { padding:12px 19px; background:#fafbfc; }
.form-grid { gap:14px; }.form-grid label { font-size:13px; }
.form-grid input,.form-grid select,.form-grid textarea { border-radius:3px; min-height:35px; background:white; }
.opt { border-radius:3px; margin-bottom:8px; }.opt .ico { border-radius:3px; }
.drawer-toggle,.info-toggle,.drawer-backdrop { display:none; }
@media(max-width:1240px) {
  .info-toggle { display:inline-block!important; }
  .insp { display:none; position:absolute; right:12px; top:12px; bottom:12px; z-index:35; width:min(330px,88vw); box-shadow:-8px 0 22px #1d375426; }
  .info-open .insp { display:block; }
  .info-open .drawer-backdrop { display:block; position:absolute; inset:0; background:#14283e55; z-index:25; }
  .topbar { padding:0 14px; }.topbar-r { gap:7px; }
}
@media(max-width:1100px) {
  .auth-screen { gap:35px; grid-template-columns:minmax(350px,1fr) 360px; padding-left:4vw; padding-right:4vw; }
  .auth-card { width:360px; padding:28px; }.auth-intro h2 { font-size:27px; }.auth-intro p { font-size:13px; }
  .who-chip { max-width:160px; }.login-header-note { display:none; }.login-identity h1 { font-size:23px; }
}
@media(max-width:900px) {
  .side { display:none; position:absolute; left:12px; top:12px; bottom:12px; width:min(300px,86vw); z-index:35; box-shadow:8px 0 24px #172b4526; }
  .side-open .side { display:flex; }
  .side-open .drawer-backdrop { display:block; position:absolute; inset:0; background:#14283e55; z-index:25; }
  .drawer-toggle { display:inline-block; }
  .topbar-r .btn:not(.pri) { display:inline-block; }.topbar-r #btnActivity,.topbar-r #btnMembers { display:none; }
  .topbar-t { flex:1; }.topbar-t h1,.topbar-t p { max-width:none; }.topbar-r .who-chip { display:none; }
  .app-screen .logo.sm { display:none; }.topbar { gap:9px; }
  .project-summary>div { padding:15px; }.project-summary strong { font-size:24px; }
}
@media(max-width:700px) {
  .auth-screen { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:0; padding:112px 20px 90px; min-height:100dvh; background:linear-gradient(to bottom,#fff 0 82px,#1d5d98 82px,#18558f calc(100% - 64px),#f6f7f9 calc(100% - 64px)); }
  .login-header { height:82px; padding:0 20px; }.login-identity { gap:11px; }.system-mark { width:36px; height:36px; font-size:24px; }.login-identity h1 { font-size:18px; letter-spacing:0; }.login-identity p { font-size:10px; letter-spacing:1px; }
  .auth-intro { display:none; }.auth-card { width:380px; padding:27px; }.auth-foot { bottom:19px; font-size:10px; }
  .topbar { height:58px; padding:0 10px; gap:7px; }.topbar-t h1,.app-screen .topbar-t h1 { font-size:13px; letter-spacing:0; }.topbar-t p { font-size:10px; }.topbar-t { overflow:hidden; }
  .topbar .logo.sm { width:28px; height:28px; font-size:15px; }.topbar-r { gap:5px; }.topbar-r .live { display:none; }.topbar-r .btn { font-size:11px; padding:5px 8px; }
  .topbar-r #btnInfo { width:30px; padding:0; font-size:0; }.topbar-r #btnInfo::after { content:"ⓘ"; font-size:18px; }
  .proj-screen .topbar-r .who-chip { display:none; }.proj-main { padding:0 12px 30px; }.page-location { height:36px; font-size:11px; }.project-intro { margin:17px 0; }.project-intro h2 { font-size:17px; }.project-intro p { font-size:11px; }
  .project-summary { grid-template-columns:repeat(2,1fr); margin-bottom:12px; }.project-summary>div { padding:12px 15px; border-bottom:1px solid var(--line2); }.project-summary>div:nth-child(2) { border-right:0; }.project-summary>div:nth-child(3) { border-bottom:0; }.project-summary span { font-size:12px; }.project-summary strong { font-size:23px; }
  .proj-head { padding:13px; flex-wrap:wrap; gap:10px; }.project-search { order:3; width:100%; }.proj-head h2 { font-size:12px; }.project-list-title { margin-top:12px; padding:13px; }
  .project-table { min-width:0; }.project-table thead { display:none; }.project-table tbody { display:block; }
  .project-table .proj-card { display:grid; grid-template-columns:1fr 1fr; padding:16px; border-bottom:1px solid var(--line); gap:10px 15px; }.project-table td { display:block; padding:0; border:0; }
  .project-table .seq-col { display:none; }.project-name-cell { grid-column:1/-1; min-width:0; max-width:none; }.project-table .progress-col { width:auto; }.project-counts span { display:inline; margin-right:6px; }.project-date { display:inline; margin-left:10px; }.project-open { font-size:12px; }.project-table td:last-child { align-self:center; text-align:right; }.proj-card h3 { font-size:14px; }.proj-card .meta { font-size:11px; }
  .layout { padding:8px; gap:8px; }.side { left:8px; top:8px; bottom:8px; }.insp { right:8px; top:8px; bottom:8px; }
  .tabs { padding:0; }.tab { padding:11px 10px; font-size:12px; }.pane { padding:12px 10px 35px; }
  .docbar { padding:11px 12px; gap:6px; }.docbar .crumb { width:100%; font-size:11px; }.docbar .spacer { display:none; }
  .md { width:calc(100% - 20px); margin:10px auto; padding:24px 20px; font-size:13px; min-height:360px; }.md h1 { font-size:19px; }
  .modal { padding:12px; }.mbox { max-height:92dvh; }.mbd { padding:16px; }.mhd { padding:13px 16px; }.mft { padding:12px 16px; flex-wrap:wrap; }.form-grid { grid-template-columns:1fr; }.form-grid label.full { grid-column:auto; }.filters input,.filters select { max-width:100%; }
  .auth-form .row2 { grid-template-columns:1fr; }
}
@media print {
  .drawer-toggle,.info-toggle,.drawer-backdrop,.side-heading { display:none!important; }
  .layout { padding:0; }.main { border:0; }.md { border:0; width:100%; margin:0; padding:0; min-height:0; }
}
.account-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:12px}.account-toolbar input{border:1px solid var(--line);border-radius:3px;padding:7px 10px;min-width:260px;font-size:13px}.account-toolbar span{font-size:12px;color:var(--ink3)}.account-table-wrap{overflow-x:auto}.account-table{min-width:700px}.account-actions{white-space:nowrap}.account-actions button{margin-right:5px}@media(max-width:700px){.account-toolbar{flex-wrap:wrap;gap:7px}.account-toolbar input{min-width:0;width:100%}.topbar-r #btnUserAdmin{font-size:11px;padding:5px 8px}}
.project-actions{white-space:nowrap}.project-delete{padding:0;margin-left:15px;color:#bc3d34;font-size:13px}.project-delete:hover{text-decoration:underline}@media(max-width:700px){.project-delete{font-size:12px;margin-left:12px}}
/* AI settings and directory audit */
.ai-settings small,.ai-note{font-size:12px;color:var(--ink3);line-height:1.7}.ai-settings .form-grid{margin:16px 0}.ai-settings label{display:flex;flex-direction:column;gap:7px}.ai-settings input,.ai-settings select,.ai-settings textarea,#aiBasis{width:100%;border:1px solid var(--line);border-radius:3px;padding:9px 11px;font:inherit;background:#fff;color:var(--ink)}.ai-settings .ai-checkbox{flex-direction:row;align-items:center;align-self:center}.ai-settings .ai-checkbox input{width:auto}.ai-settings details{margin-top:16px}.ai-settings summary{cursor:pointer;color:var(--accent);font-size:13px}.ai-status{padding:10px;background:#f0f5fa;font-size:13px;overflow-wrap:anywhere}.ai-block{display:block;margin:13px 0 7px;font-size:13px;font-weight:600}.ai-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.ai-heading h2{font-size:18px;margin:0 0 6px}.ai-heading p{font-size:12px;color:var(--ink3);margin:0}.ai-scope{border:1px solid #c9daea;background:#f2f7fc;padding:14px 17px;font-size:13px;line-height:1.8}.ai-scope p{margin:4px 0}.ai-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.ai-toolbar span,#aiRunStatus{font-size:12px;color:var(--ink3)}.ai-columns{display:grid;grid-template-columns:210px minmax(0,1fr);border-top:1px solid var(--line);margin-top:18px;gap:20px}.ai-columns h3{font-size:14px;margin:17px 0 13px}.ai-history-item{display:block;width:100%;border:1px solid var(--line);padding:11px;text-align:left;margin-bottom:8px;color:var(--ink);background:#fff;border-radius:3px}.ai-history-item:hover,.ai-history-item.selected{background:#edf4fb;border-color:#8eafce}.ai-history-item strong{display:block;font-size:12px;font-weight:500}.ai-history-item span{display:block;font-size:11px;color:var(--ink3);margin-top:6px}.ai-results{min-width:0}.ai-results details{margin:11px 0;font-size:12px}.ai-results summary{cursor:pointer}.ai-pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.ai-issue{border:1px solid var(--line);padding:14px;margin-top:12px;background:#fff;border-radius:3px}.ai-issue-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ai-issue-heading h4{font-size:14px;margin:4px 0;width:100%}.ai-tag{background:#edf2f7;color:#355b7c;border-radius:2px;padding:2px 6px;font-size:11px}.ai-node-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.ai-node-links .btn{white-space:normal;text-align:left;overflow-wrap:anywhere;max-width:100%}.ai-settings input:disabled,.ai-settings select:disabled,#aiBasis:disabled{background:#f2f3f5}.ai-audit button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:850px){.ai-columns{grid-template-columns:1fr;gap:0}.ai-history>div{display:flex;gap:8px;overflow-x:auto;max-width:100%}.ai-history-item{flex:0 0 190px}.ai-heading h2{font-size:16px}}@media(max-width:700px){.topbar-r #btnAISettings{font-size:11px;padding:5px 8px}.ai-toolbar .btn{font-size:12px}.ai-scope{padding:10px;font-size:12px}}
/* AI document outline draft review */
.outline-ai {min-width:0;font-size:13px;overflow-wrap:anywhere}.outline-ai>select,.outline-ai input[type=file],.outline-ai textarea {width:100%;max-width:100%;border:1px solid var(--line);border-radius:3px;padding:9px;font:inherit;background:#fff;color:var(--ink)}.outline-ai #outlineText{font-family:Consolas,monospace;line-height:1.7;white-space:pre;tab-size:2}.outline-ai .ai-toolbar select{flex:1;min-width:0;max-width:100%;padding:8px;border:1px solid var(--line);background:white;font:inherit}.outline-ai button:disabled{opacity:.5;cursor:not-allowed}.outline-ai h3{font-size:16px;margin:20px 0 12px}.outline-ai #outlineEvidenceBody{margin-top:12px}.outline-ai details summary{cursor:pointer;color:var(--accent)}.outline-ai [hidden]{display:none!important}.outline-ai textarea:read-only{background:#f5f6f8}@media(max-width:700px){.outline-ai .ai-toolbar{gap:8px}.outline-ai #outlineHistory{flex-basis:60%}.outline-ai #outlinePurpose{font-size:12px}.outline-ai .ai-scope{padding:10px}}
