@font-face{font-family:Golos;src:url(/fonts/golos-cyrillic.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Golos;src:url(/fonts/golos-latin.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  color-scheme:light;
  --background:#f7f8fa;--paper:#ffffff;--text:#172b4d;--muted:#465773;--quiet:#566783;--line:#dce3ec;
  --blue-surface:#eaf1fa;--accent:#0c60c5;--accent-dark:#074886;--ink:#1e2835;--sidebar:#f1f5fa;--warning:#a03953;
  --radius:17px;--shadow:0 1px 2px #1c263209;
  font-family:Golos,system-ui,sans-serif;font-size:16px;line-height:1.5;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;min-width:320px;min-height:100%}
body{color:var(--text);background:var(--background)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a{color:inherit;text-decoration:none}
p,h1,h2,h3,h4,ul{margin:0}
svg{flex:none;vertical-align:middle}
::selection{background:#d6e5f7;color:#252f3c}
:focus-visible{outline:2px solid #5695e2;outline-offset:3px}
[hidden]{display:none!important}
.skip,.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{width:auto;height:auto;clip-path:none;left:12px;top:12px;z-index:20;background:white;padding:10px;border-radius:7px}
.boot,.fatal{max-width:640px;margin:12vh auto;padding:32px}
.fatal>*+*{margin-top:18px}
.button,.icon-button,.record-title,.nav-item,.text-button{transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;max-width:100%;
  padding:8px 14px;border:1px solid transparent;border-radius:10px;font-size:.875rem;font-weight:650;line-height:1.25;
  white-space:nowrap;color:var(--text)
}
.button span{overflow:hidden;text-overflow:ellipsis}
.button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 1px 2px #20446f27}
.button.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.button.secondary{background:white;border-color:#dbe2ec;color:#2e3d54}
.button.secondary:hover,.button.quiet:hover{background:#eef2f8;border-color:#dce5f0}
.button.quiet{background:transparent;color:var(--accent);border-color:transparent}
.button.danger-quiet{background:#fcf0f4;border-color:#f4dce6;color:#96314d}
.button.danger{background:#a03953;color:white}
.icon-button{display:inline-grid;place-items:center;width:39px;height:39px;border:1px solid transparent;background:transparent;border-radius:9px;color:var(--muted);flex:none}
.icon-button:hover{background:#eef2f8;color:var(--accent-dark)}
.text-button{border:0;background:none;color:var(--accent);padding:0;font-weight:650}
.text-button:hover{text-decoration:underline}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:1.52rem;font-weight:780;letter-spacing:-.045em;line-height:1}
.brand-mark{display:grid;place-items:center;width:37px;height:37px;background:#d1e2f6;border-radius:11px;color:#203855}
.brand-dot{color:#79a7e0}
.project-initial{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#d2e2f5;color:#305787;font-size:.94rem;font-weight:740;flex:none}
.section-icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#eaf1fa;color:#4476b4;flex:none}
.alert-icon{background:#faedf1;color:#a54660}
.decision-icon{background:#eaf2e8;color:#4b6e48}
.avatar{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:50%;font-size:.7rem;font-weight:750;letter-spacing:.01em;flex:none}
.avatar-0{background:#d9e7f8;color:#335e92}.avatar-1{background:#dce7fb;color:#36548c}.avatar-2{background:#f4d7e3;color:#8a3b5f}.avatar-3{background:#dbead0;color:#426137}.avatar-4{background:#f8e4ba;color:#6e4e11}
.surface{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.shell{min-height:100dvh;display:grid;grid-template-columns:244px minmax(0,1fr)}
.sidebar{position:sticky;top:0;align-self:start;height:100dvh;display:flex;flex-direction:column;padding:23px 16px 16px;background:var(--sidebar);color:var(--text);border-right:1px solid #dee6f0;overflow-y:auto}
.sidebar-brand{margin:0 0 28px 10px;width:max-content}
.workspace{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:9px 10px;margin-bottom:17px;border:1px solid #d9e3ef;border-radius:13px;background:#fff;color:#445b81
}
.workspace:hover{background:#f8fbfe}
.workspace-text,.profile>span:nth-child(2){min-width:0;display:flex;flex-direction:column}
.workspace strong,.profile strong{font-size:.875rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#293442}
.workspace small,.profile small{font-size:.75rem;color:#586985}
.nav-label{margin:17px 0 7px 10px;color:#576b8c;font-size:.73rem;font-weight:660;letter-spacing:.055em;text-transform:uppercase}
.nav-item{position:relative;display:flex;align-items:center;gap:11px;min-height:43px;padding:8px 11px;margin-bottom:3px;color:#3d4d66;font-size:.88rem;font-weight:540;border-radius:9px}
.nav-item svg{color:#556f9a}
.nav-item:hover{background:#e6edf6;color:#2b496e}
.nav-item.selected{background:#dfe9f5;color:#26456a;font-weight:690}
.nav-item.selected::before{content:"";position:absolute;left:0;width:3px;height:20px;border-radius:6px;background:#5987c0}
.nav-item.selected svg{color:#3a6498}
.sidebar-bottom{margin-top:auto;border-top:1px solid #d8e2ef;padding-top:13px}
.profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;width:100%;align-items:center;text-align:left;background:transparent;color:#4e6385;border:0;border-radius:10px;padding:7px}
.profile:hover{background:#e6edf6}
.profile .avatar{width:34px;height:34px}
.topbar{height:65px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line)}
.breadcrumbs,.topbar-actions{display:flex;align-items:center;gap:11px;min-width:0}
.breadcrumbs{font-size:.875rem;color:var(--muted);white-space:nowrap}
.breadcrumbs a{max-width:220px;overflow:hidden;text-overflow:ellipsis}
.breadcrumbs a:hover{color:var(--accent);text-decoration:underline}
.breadcrumbs>span{color:#2b333f;font-weight:650;overflow:hidden;text-overflow:ellipsis}
.breadcrumbs>svg{color:#7385a2}
.breadcrumbs .icon-button,.nav-overlay{display:none}
.demo-label{display:inline-flex;align-items:center;gap:7px;color:#3e5374;font-size:.83rem;white-space:nowrap;margin-right:3px}
.demo-label i{width:7px;height:7px;background:#75a3dc;border-radius:50%}
.workspace-content{width:min(100%,1260px);margin:0 auto;padding:30px 30px 45px}
.overview-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:1px 0 23px}
.overview-date{display:flex;align-items:center;gap:7px;color:var(--quiet);font-size:.83rem;text-transform:capitalize}
.overview-intro h1,.page-heading h1,.portfolio h1{font-size:clamp(2.25rem,4.45vw,3.5rem);font-weight:700;letter-spacing:-.025em;line-height:1.08;margin:7px 0 6px;overflow-wrap:anywhere}
.overview-intro p,.page-heading p{color:var(--muted);font-size:1rem;line-height:1.55;max-width:70ch;overflow-wrap:anywhere}
.focus-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:21px;padding:24px 25px 23px;min-height:185px;border-radius:19px;background:#edf5ff;border:1px solid #d8e4f3;color:#24303e;box-shadow:0 3px 10px #3c6ba40c}
.focus-content{max-width:720px;z-index:1;min-width:0}
.focus-label{display:flex;align-items:center;gap:8px;color:#46628e;font-size:.83rem;font-weight:670;letter-spacing:.045em;text-transform:uppercase}
.focus-card h2{font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.14;letter-spacing:-.035em;font-weight:680;margin:9px 0 13px;overflow-wrap:anywhere}
.focus-person{display:flex;align-items:center;gap:8px;color:#40567a;font-size:.91rem;overflow-wrap:anywhere}
.focus-person .avatar{width:25px;height:25px;font-size:.63rem}
.focus-edit{z-index:1;align-self:flex-end;flex:none;color:#36567d;background:#f8fbfe;border-color:#bed1e8}
.focus-edit:hover{background:#fff}
.focus-art{position:absolute;pointer-events:none;inset:0;z-index:-1;overflow:hidden}
.focus-art i,.auth-art i{position:absolute;width:356px;height:356px;right:-39px;top:-95px;border:1px solid #7ca2d045;border-radius:42%;transform:rotate(31deg)}
.focus-art i:nth-child(2){width:305px;height:305px;right:-15px;top:-69px}
.focus-art i:nth-child(3){width:252px;height:252px;right:11px;top:-42px}
.focus-art i:nth-child(4){width:199px;height:199px;right:36px;top:-17px}
.focus-art span{position:absolute;right:119px;top:49px;color:#648ec28f;font-size:1.75rem}
.overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-top:16px}
.overview-panel{padding:16px 18px;min-width:0}
.surface-heading{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.surface-heading h2,.decision-card h2{font-size:1.12rem;line-height:1.35;letter-spacing:-.024em;font-weight:700}
.surface-heading>a{margin-left:auto;color:var(--accent);font-size:.8rem;font-weight:640;display:inline-flex;gap:3px;align-items:center;white-space:nowrap}
.surface-heading>a:hover{text-decoration:underline}
.count{margin-left:auto;display:grid;place-items:center;min-width:26px;height:25px;padding:0 7px;background:#f9edf1;color:#90374f;border-radius:7px;font-size:.8rem;font-weight:670}
.deadline-list{padding:0;list-style:none}
.deadline{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;min-width:0}
.deadline+.deadline{border-top:1px solid #eaeff5}
.date-chip{display:grid;place-items:center;align-content:center;width:42px;height:43px;background:#f0f5fb;color:#3b68a0;border-radius:8px;font-size:.8rem;line-height:1.15}
.date-chip b{font-size:1.02rem}
.date-chip small{font-size:.7rem;font-weight:550}
.date-chip.late{color:#96314d;background:#fbecf0}
.record-title{font-weight:650;line-height:1.35;overflow-wrap:anywhere;color:#252f3b}
.record-title:hover,.record-title:focus-visible{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.deadline .record-title{font-size:.9rem}
.deadline>div small{display:block;margin-top:3px;color:var(--muted);font-size:.78rem}
.badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:4px 8px;border-radius:7px;background:#ecf1f6;color:#4c5d78;white-space:nowrap;font-size:.75rem;font-weight:610;line-height:1.3;vertical-align:middle}
.badge-stage,.badge-testing{background:#e9f1fa;color:#396498}
.badge-doing{background:#eaf0fc;color:#34578f}
.badge-blocked,.badge-rejected{background:#fcecf0;color:#953951}
.badge-done,.badge-supported,.badge-decision{background:#eaf3e9;color:#3e6942}
.badge-uncertain{background:#f9efdb;color:#77531c}
.badge-evidence{background:#eaf1fa;color:#37649c}
.compact-empty{padding:12px 0 8px}
.compact-empty p{font-weight:660;margin-bottom:2px}
.compact-empty span{display:block;color:var(--muted);font-size:.9rem}
.decision-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:13px;margin-top:16px;padding:18px}
.decision-card .button{align-self:center}
.decision-label{margin-bottom:3px;color:var(--muted);font-size:.8rem;font-weight:640}
.decision-label span{font-weight:450}
.decision-card p{font-size:.9rem;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.decision-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}
.page-heading h1{font-size:clamp(2.1rem,4vw,3.05rem);margin-top:0}
.page-heading>.button{flex:none}
.filterbar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:12px}
.search-field{display:flex;align-items:center;gap:9px;padding:0 12px;background:white;border:1px solid var(--line);color:#63748f;border-radius:9px;max-width:100%;width:310px;min-height:42px}
.search-field:focus-within{border-color:#6c96ca;box-shadow:0 0 0 2px #e3ecf7}
.search-field input{padding:7px 0;min-width:0;width:100%;border:0;background:transparent;outline:0!important;color:var(--text)}
.search-field input::placeholder{color:var(--quiet)}
select{appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d648e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;padding-right:34px!important}
.select-filter select{min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:9px;color:#3b4b64;font-size:.88rem}
.records-header,.record-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(116px,.9fr) minmax(126px,1fr) minmax(110px,.8fr);gap:12px;align-items:center;padding:13px 15px}
.records-header{background:#f5f8fb;color:var(--muted);font-size:.81rem;font-weight:650;border-radius:16px 16px 0 0}
.record-row{border-top:1px solid #eaeff5;font-size:.88rem;min-height:65px}
.record-row small{display:block;color:var(--quiet);font-size:.76rem}
.assignee{display:inline-flex;gap:7px;align-items:center;overflow-wrap:anywhere}
.assignee .avatar{width:24px;height:24px;font-size:.61rem}
.overdue{color:var(--warning);font-weight:660}
.subtle{color:var(--quiet)}
.list-foot{margin-top:10px;color:var(--muted);font-size:.83rem}
.filter-empty{border-top:1px solid var(--line);padding:20px;color:var(--muted)}
.tabs{display:flex;flex-wrap:wrap;gap:5px 18px;border-bottom:1px solid var(--line);margin-bottom:17px}
.tabs a{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-weight:580;font-size:.92rem;padding:8px 2px 9px;border-bottom:2px solid transparent}
.tabs a:hover{color:var(--accent)}
.tabs a[aria-current]{color:var(--accent-dark);border-bottom-color:var(--accent)}
.tabs a span{min-width:22px;text-align:center;padding:1px 4px;border-radius:6px;background:#e7edf4;font-size:.75rem}
.empty{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:start;padding:23px;border:1px dashed #c8d7e9;border-radius:var(--radius);background:#f9fbfd;margin-top:13px}
.empty h3{font-size:1.05rem}
.empty p{color:var(--muted);margin:4px 0 12px;font-size:.9rem}
.lab-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:15px 17px;min-width:0}
.lab-row+.lab-row,.team-row+.team-row{border-top:1px solid #eaeff5}
.lab-row h2,.team-row h2,.template-card h2{font-size:1.04rem;font-weight:715;line-height:1.4;letter-spacing:-.016em;overflow-wrap:anywhere}
.lab-row p,.team-row p{font-size:.89rem;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}
.lab-row p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lab-row small,.team-status small{font-size:.78rem;color:var(--quiet)}
.lab-row>.badge{margin-top:5px}
.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.template-card{padding:17px;display:flex;flex-direction:column;align-items:flex-start}
.template-label{font-size:.75rem;font-weight:620;color:var(--quiet);margin:11px 0 4px}
.template-card p{font-size:.86rem;color:var(--muted);margin:4px 0 13px}
.template-card .button{margin:auto 0 0 -8px;padding-left:8px;padding-right:8px}
.notice{display:flex;gap:9px;align-items:start;background:#ebf1f9;border:1px solid #dce6f3;color:#344869;border-radius:9px;padding:10px 12px;font-size:.89rem;margin-bottom:13px;overflow-wrap:anywhere}
.notice svg{margin-top:2px}
.notice-error{background:#fff0f4;color:#873551;border-color:#f2d8e3}
.team-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(130px,auto) auto;align-items:center;gap:13px;padding:16px 18px}
.team-row>.avatar{width:40px;height:40px;font-size:.82rem}
.team-status{display:grid;gap:4px;justify-items:start}
.team-actions{display:flex;gap:5px}
.portfolio{min-height:100dvh}
.portfolio-nav{display:flex;justify-content:space-between;align-items:center;padding:14px max(20px,calc((100vw - 1120px)/2));background:white;border-bottom:1px solid var(--line);gap:12px}
.portfolio-nav>div{display:flex;gap:6px;min-width:0}
.portfolio-inner{max-width:1160px;padding:42px 20px;margin:auto}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.project-tile{display:flex;flex-direction:column;align-items:start;min-width:0;min-height:205px;padding:19px;background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
a.project-tile:hover{border-color:#b3cae7;background:#fcfdff}
.project-tile h2{margin-top:12px;font-size:1.28rem;overflow-wrap:anywhere}
.project-tile p{font-size:.91rem;color:var(--muted);margin:5px 0 14px;overflow-wrap:anywhere}
.project-tile>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:var(--muted);font-size:.78rem;margin-top:auto}
.project-tile>.button{margin-top:auto}
.demo-tile{background:#eef3f9}
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1.04fr 1fr;background:white}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100%;overflow:hidden;padding:clamp(24px,5vw,64px);background:#edf4fc;color:#232e3c}
.auth-story>a{width:max-content}
.auth-intro{margin:auto 0;max-width:620px;padding:35px 0 45px}
.auth-kicker{display:flex;align-items:center;gap:8px;color:#445f8a;font-size:.88rem;font-weight:620}
.auth-intro h1{font-size:clamp(2.5rem,5.25vw,5.25rem);line-height:1.05;font-weight:690;letter-spacing:-.035em;margin:15px 0}
.auth-intro h1 em{font-style:normal;color:#37649b}
.auth-intro p{color:#425472;max-width:420px}
.auth-preview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;max-width:412px;margin-top:30px;padding:12px;border-radius:13px;border:1px solid #c4d6eb;background:#ffffffa4}
.auth-preview small{display:block;color:#486492;font-size:.73rem;margin-bottom:3px;letter-spacing:.03em}
.auth-preview strong{display:block;line-height:1.3;font-size:.94rem}
.auth-art{position:absolute;inset:0;z-index:-1;pointer-events:none}
.auth-art i{width:520px;height:520px;right:-210px;top:auto;bottom:-284px}
.auth-art i:nth-child(2){width:460px;height:460px;right:-178px;bottom:-252px}
.auth-art i:nth-child(3){width:400px;height:400px;right:-145px;bottom:-220px}
.auth-content{display:grid;place-items:center;padding:30px}
.auth-form-wrap{width:min(100%,405px)}
.auth-form-wrap h2{font-size:2rem;letter-spacing:-.055em;line-height:1.12}
.auth-form-wrap>p{color:var(--muted);line-height:1.55;margin:9px 0 20px}
.auth-form-wrap form>.primary,.demo-button{width:100%}
.auth-form-wrap .auth-toggle{text-align:center;margin:15px 0}
.auth-divider{border-top:1px solid var(--line);margin:18px 0}
.panel{
  inset:0 0 0 auto;position:fixed;margin:0;width:min(100%,550px);max-width:100%;height:100dvh;max-height:100dvh;
  border:0;border-left:1px solid var(--line);background:white;color:var(--text);padding:0;box-shadow:-10px 0 36px #19243228;overflow:hidden
}
.panel-wide{width:min(100%,730px)}
.panel[open]{display:flex;flex-direction:column}
.panel::backdrop{background:#18202a72;backdrop-filter:blur(1px)}
.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:18px 21px;border-bottom:1px solid var(--line);background:#f8fafd}
.panel-heading h2{font-size:1.63rem;font-weight:740;letter-spacing:-.047em;line-height:1.22;overflow-wrap:anywhere}
.panel-heading h2:focus{outline:none}
.panel-kicker{font-size:.77rem;color:var(--accent);font-weight:700;margin-bottom:4px;text-transform:uppercase;letter-spacing:.04em}
.panel-content{padding:19px 21px 25px;overflow:auto;flex:1}
.panel-copy{color:var(--muted);margin-bottom:15px;overflow-wrap:anywhere}
.form{display:flex;flex-direction:column;gap:13px}
.form label,.share-field,.field-label{display:flex;flex-direction:column;gap:5px;font-size:.88rem;font-weight:650;color:#313f55;min-width:0}
.form label small{font-size:.8rem;color:var(--muted);font-weight:450}
.form input:not([type=radio]):not([type=checkbox]),.form textarea,.form select,.share-field input{
  border:1px solid #d2dce9;width:100%;min-height:42px;border-radius:9px;padding:8px 10px;font-weight:460;color:var(--text);min-width:0
}
.form input:not([type=radio]):focus,.form textarea:focus,.form select:focus,.share-field input:focus{
  border-color:#6f99cd;outline:2px solid #e2ecf9;outline-offset:0
}
.form input::placeholder,.form textarea::placeholder{color:#63738c}
.form textarea{resize:vertical;line-height:1.5}
.form .notice{margin:0}
.form-actions,.detail-action-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px;align-items:center}
.form-error{padding:9px 11px;border:1px solid #f0cbd9;background:#fff0f4;color:#91344e;border-radius:8px;font-size:.88rem}
.field-row{display:flex;flex-wrap:wrap;gap:9px}
.field-row>label{flex:1 1 128px}
.form-details,.profile-email{border:1px solid var(--line);padding:10px;border-radius:9px;font-size:.87rem;color:var(--muted)}
.form-details summary{cursor:pointer}
.form-details>label{margin-top:10px}
.stage-options,.ref-fields{padding:0;border:0;margin:0;min-width:0}
.stage-options legend,.ref-fields legend{color:#313f55;font-size:.88rem;font-weight:650;margin:0 0 5px;padding:0}
.form .stage-option,.ref-options label{display:flex;flex-direction:row;gap:9px;align-items:flex-start;padding:8px 9px;border:1px solid var(--line);border-radius:9px;margin-bottom:5px;cursor:pointer}
.form .stage-option:has(input:checked),.ref-options label:has(input:checked){border-color:#adc9ec;background:#f0f5fc}
.stage-option input,.ref-options input{accent-color:var(--accent);margin:4px 0 0;flex:none}
.stage-option span,.ref-options label span{display:flex;flex-direction:column;overflow-wrap:anywhere}
.stage-preview-inner{background:#eff4fb;border-radius:10px;padding:11px 14px;color:#344869;font-size:.89rem;margin-bottom:6px}
.stage-preview-inner ul{padding-left:19px;margin-top:4px}
.stage-readiness{padding:.7rem .8rem;border:1px solid var(--line);border-radius:var(--radius)}
.stage-readiness h3{font-size:.9rem;margin:0 0 .4rem}
.stage-readiness ul{list-style:none;padding:0;margin:0}
.stage-readiness li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.15rem .6rem;padding:.32rem 0;border-top:1px solid var(--line)}
.stage-readiness li small{color:var(--muted)}
.stage-readiness li a{text-decoration:underline;text-underline-offset:3px}
.stage-readiness p{margin:.35rem 0 0;font-size:.83rem}
.ref-fields>p{color:var(--muted);font-size:.83rem}
.ref-options{max-height:208px;overflow:auto}
.ref-options label{font-size:.85rem}
.share-field{margin:12px 0}
.record-detail{overflow-wrap:anywhere}
.record-detail>.badge{margin:0 0 10px}
.detail-field{margin-bottom:14px}
.detail-field h3,.detail-links h3{font-size:.87rem;font-weight:700;margin-bottom:3px;color:#3e506c}
.detail-field p{color:var(--text);white-space:pre-wrap}
.detail-links{margin:16px 0}
.detail-links>a{display:grid;grid-template-columns:102px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 7px;border-top:1px solid var(--line)}
.detail-links>a:hover{background:#f1f6fc}
.detail-links>a span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:.78rem}
.detail-links>a strong{font-size:.89rem;line-height:1.35}
.detail-actions{padding-top:12px;margin-top:14px;border-top:1px solid var(--line)}
.rich-editor,.rich-reader{overflow-wrap:anywhere;color:var(--text)}
.editor-field .field-label{margin-bottom:5px}
.editor-toolbar{display:flex;gap:3px;flex-wrap:wrap;padding:5px;background:#f2f6fb;border:1px solid var(--line);border-radius:8px 8px 0 0}
.editor-toolbar button,.board-control{border:1px solid transparent;color:#405679;background:white;min-width:34px;height:33px;padding:3px 6px;border-radius:6px;display:inline-flex;gap:6px;align-items:center;justify-content:center;font-size:.86rem}
.editor-toolbar button:hover,.editor-toolbar button[aria-pressed=true],.board-control:hover,.board-control[aria-pressed=true]{background:#e4edf7;border-color:#d3e1f3}
.editor-link-entry{display:flex;gap:5px;border-inline:1px solid var(--line);padding:5px}
.rich-editor{border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px}
.rich-editor .tiptap{min-height:230px;padding:14px;outline:0!important;white-space:pre-wrap;white-space:break-spaces;word-wrap:break-word}
.rich-editor:focus-within{box-shadow:0 0 0 2px #dbe8f8}
.rich-editor h2,.rich-reader h2{font-size:1.24rem;margin:.7em 0 .25em;letter-spacing:-.03em}
.rich-editor h1,.rich-reader h1{font-size:1.55rem}
.rich-editor h3,.rich-reader h3{font-size:1.08rem}
.rich-editor p,.rich-reader p{margin:.28em 0 .58em}
.rich-editor ul,.rich-editor ol,.rich-reader ul,.rich-reader ol{padding-left:24px}
.rich-editor li p,.rich-reader li p{margin:0}
.rich-editor a,.rich-reader a{color:var(--accent);text-decoration:underline}
.rich-editor blockquote,.rich-reader blockquote{margin:7px 0;border-left:3px solid #8fb2dc;padding:5px 10px;background:#f7fafd}
.rich-editor .tiptap>*:first-child,.rich-reader>*:first-child{margin-top:0}
.board-frame{overflow:hidden}
.board-top,.board-bottom{background:white;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 12px;flex-wrap:wrap}
.board-tools,.board-palette,.board-zoom,.board-object{display:flex;align-items:center;gap:4px}
.board-control[aria-pressed=true]{color:#2c5586}
.swatch{width:25px;height:25px;border:1px solid #c7d1e1;background:var(--swatch);border-radius:50%;padding:0}
.swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px;margin-inline:2px}
.board-viewport{height:clamp(360px,62vh,680px);position:relative;overflow:hidden;touch-action:none;background-color:#f4f7fb;background-image:radial-gradient(circle,#c5d3e4 1px,transparent 1.25px);background-size:24px 24px;border-block:1px solid var(--line)}
.board-viewport[data-mode=hand]{cursor:grab}
.board-viewport[data-mode=hand]:active{cursor:grabbing}
.board-viewport[data-mode=pen],.board-viewport[data-mode=note],.board-viewport[data-mode=line]{cursor:crosshair}
.board-world{position:absolute;inset:0;transform-origin:0 0;pointer-events:none}
.board-lines{overflow:visible;position:absolute;inset:0;pointer-events:none}
.board-line{pointer-events:stroke;cursor:pointer}
.sticky{position:absolute;pointer-events:auto;width:190px;height:126px;border:1px solid #252c3728;border-radius:8px;background:var(--sticky);padding:12px;text-align:left;align-content:start;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;font-size:.9rem;color:#272c34;box-shadow:0 3px 7px #28334024;line-height:1.42}
.sticky[style*="#2f4662"]{color:white}
.sticky-selected{outline:2px solid #4379ba;outline-offset:2px}
.board-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;color:var(--muted);text-align:center;padding:10px}
.board-placeholder h2{font-size:1.2rem;color:var(--text);margin-top:7px}
.board-hint{font-size:.83rem;color:var(--muted);margin-right:auto}
.board-zoom .board-control,.board-object .board-control{border-color:var(--line)}
.zoom-value{min-width:52px}
#toast{position:fixed;z-index:20;bottom:19px;left:50%;transform:translateX(-50%);max-width:min(90vw,620px);pointer-events:none}
#toast.toast{background:#23364d;color:#fff;border-radius:10px;padding:10px 14px;box-shadow:0 3px 14px #1e283540;font-size:.9rem}
#toast.error{background:#85334d}
@media(max-width:1120px){
  .shell{grid-template-columns:217px minmax(0,1fr)}
  .sidebar{padding-inline:13px}
  .workspace-content,.topbar{padding-inline:22px}
  .overview-grid{grid-template-columns:minmax(0,1.23fr) minmax(0,1fr)}
}
@media(max-width:930px){
  .deadline{grid-template-columns:auto minmax(0,1fr)}
  .template-grid,.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .records-header,.record-row{grid-template-columns:minmax(0,1.5fr) minmax(90px,.8fr) minmax(113px,1fr) minmax(76px,.65fr);gap:8px}
  .team-row{grid-template-columns:auto minmax(0,1fr) auto}
  .team-actions{grid-column:2/-1}
}
@media(max-width:740px){
  .shell{display:block}
  .sidebar{position:fixed;top:0;bottom:0;left:0;z-index:5;width:min(83vw,260px);transform:translateX(-102%);visibility:hidden;transition:transform .22s ease,visibility .22s}
  .menu-open .sidebar{transform:translateX(0);visibility:visible}
  .menu-open .nav-overlay{display:block;position:fixed;inset:0;z-index:4;background:#18212b90;border:0}
  .breadcrumbs .icon-button{display:inline-grid;margin-left:-5px}
  .topbar{height:57px;padding-inline:14px}
  .workspace-content{padding:17px 14px 36px}
  .auth-layout{display:flex;flex-direction:column}
  .auth-story{padding:19px 23px}
  .auth-intro{padding:22px 0 13px}
  .auth-intro h1{font-size:2.42rem}
  .auth-preview{display:none}
  .auth-content{padding:23px 20px}
}
@media(max-width:500px){
  .breadcrumbs{gap:5px}
  .breadcrumbs>a:first-of-type,.breadcrumbs>svg:first-of-type,.demo-label{display:none}
  .breadcrumbs a{max-width:90px}
  .topbar-actions .button{min-height:36px;padding:6px 8px}
  .topbar-actions .button svg{width:14px;height:14px}
  .overview-intro{align-items:start;flex-direction:column;gap:9px;margin-bottom:14px}
  .overview-intro h1{font-size:2.28rem}
  .focus-card{min-height:0;padding:16px;display:grid;gap:11px}
  .focus-edit{justify-self:start}
  .focus-card h2{margin-bottom:7px}
  .focus-art{opacity:.63}
  .overview-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px}
  .overview-panel{padding:13px}
  .deadline{grid-template-columns:auto minmax(0,1fr)}
  .decision-card{grid-template-columns:auto minmax(0,1fr);gap:9px;padding:12px;margin-top:10px}
  .decision-card .button{grid-column:2;justify-self:start}
  .page-heading{flex-direction:column;align-items:start;margin-bottom:14px;gap:8px}
  .page-heading h1{font-size:2rem}
  .template-grid,.portfolio-grid{grid-template-columns:minmax(0,1fr)}
  .records-header{display:none}
  .record-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:9px 11px}
  .record-row:first-of-type{border-top:0}
  .record-row>.assignee{grid-column:1}
  .record-row>span:last-child{font-size:.81rem;text-align:right}
  .lab-row{grid-template-columns:auto minmax(0,1fr);padding:11px}
  .lab-row>.badge,.lab-row>.button{grid-column:2;justify-self:start}
  .team-row{gap:8px;padding:11px;grid-template-columns:auto minmax(0,1fr)}
  .team-status,.team-actions{grid-column:2}
  .team-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
  .board-tools .board-control span{display:none}
  .board-top,.board-bottom{padding:6px}
  .board-hint{flex-basis:100%}
  .portfolio-inner{padding-top:23px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.template-actions{display:flex;flex-wrap:wrap;gap:2px 8px;margin-top:auto}
.template-actions .button{min-height:35px}
.section-links{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}
.section-links a{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid var(--line);background:white;border-radius:8px;color:var(--muted);font-size:.85rem}
.section-links a[aria-current],.section-links a:hover{background:#e4edf8;border-color:#d4e1f1;color:var(--accent-dark)}

.overview-title{display:flex;align-items:center;gap:5px}
.overview-title .icon-button{margin:6px 0 0 3px}

.page-coach{container:coach / inline-size}
.coach-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(340px,1fr);gap:18px;align-items:start}
.coach-progress,.coach-rubric,.coach-todos,.coach-chat{padding:19px;margin-bottom:14px;min-width:0}
.coach-progress{border-color:#dce6f3;background:linear-gradient(148deg,#f8fbfe,#fff 74%)}
.coach-card-head,.coach-chat>header{display:flex;align-items:start;gap:10px}
.coach-card-head{justify-content:space-between;align-items:center;margin-bottom:12px}
.coach-card-head h2,.coach-rubric h2,.coach-chat h2{font-size:1.18rem;font-weight:720;line-height:1.35;letter-spacing:-.026em}
.coach-card-head p,.coach-chat header p{font-size:.88rem;color:var(--muted);margin:3px 0 0}
.coach-stat div>span{font-size:.75rem;color:var(--muted);overflow-wrap:anywhere}
.coach-check-head{display:flex;justify-content:space-between;align-items:center;gap:4px;color:#445d86;font-size:.88rem;font-weight:650}
.coach-progress progress{appearance:none;display:block;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;margin:8px 0 10px;background:#e5ecf5;accent-color:#5b88bf}
.coach-progress progress::-webkit-progress-bar{background:#e5ecf5;border-radius:20px}
.coach-progress progress::-webkit-progress-value{background:#5b88bf;border-radius:20px}
.coach-progress progress::-moz-progress-bar{background:#5b88bf;border-radius:20px}
.coach-progress>p{color:var(--muted);font-size:.88rem}
.coach-rubric ul,.coach-todos ul{list-style:none;padding:0;margin-top:8px}
.coach-rubric li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:start;padding:9px 0}
.coach-rubric li+li,.coach-todos li+li{border-top:1px solid var(--line)}
.coach-state{display:grid;place-items:center;width:26px;height:26px;background:#fbf1df;color:#815c24;border-radius:8px}
.coach-state.recorded{background:#ebf4e7;color:#456f4c}
.coach-rubric h3,.coach-todos h3,.coach-answer h3{font-size:.96rem;color:var(--text);line-height:1.4;font-weight:690;overflow-wrap:anywhere}
.coach-rubric li p,.coach-todos li p{font-size:.86rem;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.coach-state-text{font-size:.74rem;font-weight:625;color:var(--muted);padding-top:4px}
.coach-todos li{padding:10px 0}
.coach-todos li:last-child{padding-bottom:0}
.coach-suggestion-head{display:flex;align-items:start;justify-content:space-between;gap:7px}
.coach-links,.coach-answer-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 11px}
.coach-links .button{padding:3px 5px;min-height:30px;margin-left:-5px}
.coach-source{display:inline-flex;align-items:center;gap:4px;color:#486695;font-size:.78rem;min-height:27px}
.coach-source:hover,.coach-answer-links a:hover{text-decoration:underline}
.coach-spark{background:#e6f2e8;color:#4c7452}
.coach-questions{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}
.coach-questions button{display:inline-flex;align-items:center;gap:5px;min-height:32px;background:#f3f8fd;border:1px solid #dee8f4;color:#3c5b82;border-radius:8px;font-size:.8rem;font-weight:570;padding:5px 8px}
.coach-questions button:hover{background:#e1eaf6}
.coach-form{display:flex;flex-direction:column;align-items:start;gap:6px}
.coach-form label{font-size:.88rem;font-weight:650;color:#3a4b66}
.coach-form textarea{width:100%;min-height:87px;resize:vertical;padding:8px 10px;border:1px solid #d1ddeb;border-radius:10px;color:var(--text)}
.coach-form textarea::placeholder{color:#60708a}
.coach-form .button{margin-top:3px}
.coach-local{display:flex;align-items:start;gap:7px;margin-top:12px;color:var(--muted);font-size:.78rem}
.coach-local svg{margin-top:2px;color:#63806a}
.coach-response:not(:empty){margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}
.coach-answer-head{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:7px}
.coach-answer-head .text-button{font-size:.81rem}
.coach-answer h3{margin-bottom:6px}
.coach-answer h4{font-size:.86rem;margin:10px 0 4px}
.coach-answer-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.92rem}
.coach-answer ol{margin:3px 0 0;padding-left:20px;font-size:.89rem}
.coach-answer li{margin:3px 0}
.coach-answer details{margin-top:10px;border:1px solid var(--line);padding:8px;border-radius:8px;font-size:.86rem}
.coach-answer details summary{color:#426691;font-weight:630;cursor:pointer}
.coach-answer-links a{display:inline-flex;align-items:center;gap:5px;font-size:.82rem;color:#3a6292;overflow-wrap:anywhere}
.coach-answer-links div>p{font-size:.81rem;color:var(--muted);margin:1px 0 4px}
.coach-wait{color:var(--muted);font-size:.86rem;display:flex;align-items:center;gap:7px}
.coach-wait>span{width:16px;height:16px;border:2px solid #d1dfef;border-top-color:#4c7bb5;border-radius:50%;flex:none;animation:coach-spin 1s linear infinite}
@keyframes coach-spin{to{transform:rotate(360deg)}}
@container coach (width <= 830px){
 .coach-grid{grid-template-columns:minmax(0,1fr) minmax(290px,.9fr)}
}
@container coach (width <= 680px){
 .coach-grid{grid-template-columns:minmax(0,1fr)}
 .coach-progress,.coach-rubric,.coach-todos,.coach-chat{margin-bottom:10px}
}
@container coach (width <= 510px){
 .coach-progress,.coach-rubric,.coach-todos,.coach-chat{padding:12px}
 .coach-state-text{grid-column:2;padding-top:0}
 .coach-rubric li{grid-template-columns:auto minmax(0,1fr)}
}

.coach-form textarea[aria-invalid=true]{border-color:#a24260}
.coach-field-error{font-size:.8rem;color:#983950}

/* Workspace navigation and reference views */
.workspace{background:#fff;border-color:#d2dce9}
.sidebar{border-color:#d9e2ed}
.sidebar .nav-item{min-height:36px;margin-bottom:2px}
.sidebar .nav-label{margin-top:15px}
.nav-item.selected{background:#dcebff;color:#123d75}
.nav-item.selected::before{background:#0c60c5}
.nav-item.selected svg{color:#124b91}
.brand-mark{background:#cce2ff;color:#153b70}
.brand-dot{color:#0c60c5}
.focus-card{min-height:155px;border:1px solid #d6e5f6;box-shadow:none}
.focus-label{color:#34577e}
.focus-person{color:#3e5570}
.focus-edit{background:#fff;color:#174c80;border-color:#cbdbee}
.roadmap-ladder{list-style:none;margin:0;padding:0}
.roadmap-step{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;margin:0 0 11px min(calc(var(--step)*1.65rem),10vw);max-width:900px}
.roadmap-step::before{content:"";position:absolute;left:15px;top:34px;bottom:-13px;border-left:1px solid #b7cce6}
.roadmap-step:last-child::before{display:none}
.roadmap-index{z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#e4edf8;color:#234b79;font-weight:680}
.roadmap-current .roadmap-index{color:white;background:#0c60c5}
.roadmap-step-body{min-width:0;padding:13px 16px;border-radius:11px}
.roadmap-current .roadmap-step-body{border-color:#90bae9;border-left:4px solid #0c60c5}
.roadmap-step-body>header{display:flex;justify-content:space-between;gap:8px}
.roadmap-step-body h2,.engineering-card h2,.cash-summary h2{font-size:1.1rem;line-height:1.38;letter-spacing:-.015em}
.roadmap-step-body p{color:var(--muted);font-size:.88rem;margin:3px 0}
.roadmap-step-body .button{min-height:34px;padding-inline:5px;margin-left:-6px}
.roadmap-empty{margin-top:8px!important}
.milestones{list-style:none;margin:7px 0 0;padding:0}
.milestones li{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.milestones small{display:block;color:var(--muted);font-size:.8rem;margin-top:2px}
.work-links{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;margin-bottom:14px}
.work-table-wrap{max-width:100%;overflow:auto;margin:0 0 15px;border-radius:10px}
.work-table{border-spacing:0;min-width:100%;width:max-content;text-align:left;font-size:.9rem}
.work-table th,.work-table td{padding:10px 13px;border-bottom:1px solid var(--line);vertical-align:top}
.work-table th{background:#f1f5fa;color:#334967;font-size:.82rem;font-weight:680}
.work-table tr:last-child td{border-bottom:0}
.work-table tr:hover td{background:#f7faff}
.work-table td:first-child{max-width:350px;min-width:145px;overflow-wrap:anywhere}
.work-table th:not(:first-child),.work-table td:not(:first-child){white-space:nowrap}
.pipeline-overview{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}
.pipeline-tile{display:flex;align-items:center;gap:7px;color:#3b5371;background:white;border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:.83rem}
.pipeline-tile[aria-pressed=true]{background:#e4efff;color:#153e74;border-color:#9cbce2}
.cash-summary{margin-bottom:12px;padding:13px 16px}
.cash-summary dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:8px 0 0}
.cash-summary dt{font-size:.81rem;color:var(--muted)}
.cash-summary dd{margin:2px 0 0;font-size:1.17rem;font-weight:650}
.engineering-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,355px),1fr));gap:11px}
.engineering-card{padding:15px 17px}
.engineering-card p,.engineering-card ol{font-size:.9rem;color:var(--muted)}
.engineering-card ol{padding-left:19px}
.engineering-card li+li{margin-top:6px}
.engineering-card pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f6fb;color:#274a71;font-size:.82rem;line-height:1.5;padding:10px;border-radius:6px}
.engineering-card .work-links{margin:0}
.engineering-card a{color:#0b559e;font-size:.84rem}
.engineering-card a:hover{text-decoration:underline}
@media(max-width:660px){
 .roadmap-step{margin-left:min(calc(var(--step)*.38rem),4vw);gap:6px}
 .roadmap-step-body{padding:9px}
}
.git-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:13px 16px;margin-bottom:13px}
.git-meta .work-links{margin:0 0 0 auto}
.git-meta h2,.git-section h2{font-size:1.08rem}
.git-meta p{margin-top:3px;color:var(--muted);font-size:.86rem}
.git-meta a,.git-section a{color:#074f98}
.git-meta a:hover,.git-section a:hover{text-decoration:underline}
.git-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr));gap:10px}
.git-section{padding:14px}
.git-section ul{padding:0;margin:9px 0 0;list-style:none}
.git-section li{display:flex;justify-content:space-between;gap:7px;padding:7px 0;border-top:1px solid var(--line)}
.git-section strong{font-size:.9rem;overflow-wrap:anywhere}
.git-section small{display:block;color:var(--muted);margin-top:2px;font-size:.8rem}
.git-section .button{padding:3px 5px;min-height:33px;flex:none}
@media(max-width:620px){.git-meta .work-links{margin:0;width:100%}}
.git-item-actions{display:grid;gap:3px;align-content:start;justify-items:end}

.sidebar nav{min-height:0;overflow:auto;scrollbar-width:thin;margin:0 -5px 8px;padding:0 5px}
.sidebar-bottom{flex:none}
.roadmap-step-body>header{align-items:start}
.cash-summary>p{font-size:.83rem;margin-top:8px}
.kanban-scroll{max-width:100%;overflow:auto;padding-bottom:8px}
.kanban-columns{display:grid;grid-template-columns:repeat(4,minmax(185px,1fr));gap:10px}
.kanban-column{background:#edf2f8;border:1px solid #dce5ef;border-radius:9px;padding:8px;min-height:130px}
.kanban-column h2{display:flex;align-items:center;gap:7px;font-size:.92rem;margin-bottom:8px}
.kanban-column>p{padding:4px 7px;font-size:.83rem;color:var(--muted)}
.kanban-task{padding:9px;margin-bottom:7px;border-radius:7px}
.kanban-task h3{font-size:.9rem}
.kanban-task p{color:var(--muted);font-size:.78rem;margin:3px 0 6px}
.kanban-task select{max-width:100%;min-height:32px;padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:var(--text)}
.project-search-results{color:var(--muted);font-size:.9rem}
.project-search-results a{display:grid;border-top:1px solid var(--line);padding:8px 5px;color:var(--text)}
.project-search-results a:hover{background:#f1f6fd}
.project-search-results small{font-size:.76rem;color:var(--muted)}
@media(max-width:380px){.topbar-actions{gap:3px}.breadcrumbs>a:nth-of-type(2){max-width:60px}}
.topbar-actions{flex-shrink:0}
.breadcrumbs{min-width:0;overflow:hidden}
.breadcrumbs>span{min-width:0}

.lecture-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) auto;align-items:end;gap:12px;padding:14px 16px}
.lecture-filter{display:grid;gap:5px;color:var(--text);font-size:.875rem;font-weight:650}
.lecture-filters input,.lecture-filters select{min-width:0;min-height:42px;width:100%;border:1px solid var(--line);border-radius:7px;background-color:white;color:var(--text);font:inherit;font-weight:450;padding:7px 9px}
.lecture-filters [role=status]{color:var(--muted);font-size:.85rem;padding-block:11px}
.lecture-note{margin:13px 0;color:var(--muted);font-size:.88rem}
.lecture-list{display:grid;gap:14px}
.lecture-module{padding:14px 16px}
.lecture-module h2{font-size:1.15rem}
.lecture-module header p,.lecture-source{color:var(--muted);font-size:.87rem}
.lecture-module header{padding-bottom:8px}
.lecture-item{border-top:1px solid var(--line)}
.lecture-item summary{display:flex;align-items:center;gap:8px;padding:11px 0;cursor:pointer;list-style:none;color:var(--text);font-weight:640}
.lecture-item summary::-webkit-details-marker{display:none}
.lecture-item[open] summary>svg{rotate:90deg}
.lecture-item summary:hover .lecture-item-title{text-decoration:underline}
.lecture-item summary .badge{margin-left:auto;flex-shrink:0}
.lecture-body{margin:0 0 12px 24px;max-width:72ch}
.lecture-body h3{font-size:.92rem;margin:9px 0 4px}
.lecture-body p{line-height:1.55}
.lecture-links{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0 5px}
.lecture-empty{padding:16px}
@media(max-width:780px){.lecture-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.lecture-filters [role=status]{grid-column:1/-1;padding-block:0}}
@media(max-width:480px){.lecture-filters{grid-template-columns:minmax(0,1fr)}.lecture-module{padding-inline:12px}.lecture-body{margin-left:0}}

/* Compact workspace */
.shell{
  --radius:11px;
  --workspace-mono:Menlo,Consolas,"Liberation Mono",Golos,monospace;
  --sidebar:#eef3f9;
  --line:#d7e1ee;
  background:#f4f7fb;
}
.sidebar{padding-block:15px 9px}
.sidebar-brand{margin-bottom:14px}
.workspace{padding:6px 8px;margin-bottom:5px;border-radius:9px}
.sidebar .nav-label{margin:9px 0 3px 10px;font:650 .69rem/1.4 var(--workspace-mono);letter-spacing:.044em}
.sidebar .nav-item{min-height:30px;padding:4px 10px;gap:8px;border-radius:6px}
.nav-item svg{width:17px;height:17px}
.sidebar-bottom{padding-top:5px}
.topbar{height:54px}
.workspace-content{width:min(100%,1460px);padding-block:19px 30px}
.page-heading,.overview-intro{margin-bottom:14px}
.page-heading h1,.overview-intro h1{font-size:clamp(1.65rem,1.4rem + 1.5vw,2.6rem);line-height:1.15}
.page-heading p,.overview-intro p{font-size:.93rem;line-height:1.45}
.shell .button{min-height:36px;border-radius:7px}
.shell .section-icon{width:33px;height:33px;border-radius:8px}
.shell .section-icon svg{width:18px;height:18px}
.focus-card{
  min-height:113px;padding:14px 16px;gap:13px;border-radius:11px;
  background:#eaf2fc radial-gradient(circle at 1px 1px,#b4c9e057 1px,transparent 1.2px) 0 0/17px 17px;
}
.focus-card h2{font-size:clamp(1.26rem,1rem + 1.3vw,2rem);margin:4px 0 7px}
.focus-label,.overview-date,.date-chip,.records-header,.work-table th{
  font-family:var(--workspace-mono);font-variant-numeric:tabular-nums;
}
.overview-grid{gap:10px;margin-top:10px}
.overview-panel,.decision-card{padding:11px 13px}
.decision-card,.stage-flow{margin-top:10px}
.deadline{padding-block:7px}
.date-chip{height:36px;width:36px}
.compact-empty{padding:7px 0 4px}
.record-row{min-height:48px;padding-block:7px}
.records-header,.lab-row{padding-block:9px}
.coach-progress,.coach-rubric,.coach-todos,.coach-chat{padding:13px;margin-bottom:10px}
.coach-grid{gap:12px}
.coach-answer-steps li{padding-block:3px}
.coach-answer-steps li .button{min-height:27px;margin-inline-start:4px;padding:3px 6px;font-size:.77rem;vertical-align:middle}
.stage-flow{padding:9px 12px 11px;container-type:inline-size}
.stage-flow header{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:4px}
.stage-flow h2,.process-tasks h2{font-size:1rem}
.stage-flow ol,.process-lane ul,.process-tasks ul{list-style:none;margin:0;padding:0}
.stage-flow ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.stage-flow li{position:relative;display:flex;align-items:center;gap:6px;padding:6px 7px;min-height:43px;border:1px solid var(--line);border-radius:7px;background:#f7fafe;color:#425a7c;font-size:.82rem;line-height:1.24;overflow-wrap:anywhere}
.stage-flow li:not(:last-child)::after{content:"";position:absolute;right:-11px;top:calc(50% - 2px);width:5px;height:5px;rotate:45deg;border-block-start:1px solid #6586ad;border-inline-end:1px solid #6586ad}
.stage-flow li[aria-current]{color:#234e82;background:#e8f1fd;border-color:#a6bfdd;font-weight:700}
.stage-flow li small{display:block;margin-top:3px;font-size:.68rem;font-weight:550}

.process-panel{container-type:inline-size}
.process-control{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:7px;padding:10px 12px;border-bottom:1px solid var(--line)}
.process-control div{display:grid;gap:3px;width:min(100%,510px)}
.process-control label{font-size:.78rem;color:var(--muted)}
.process-control select{width:100%;min-height:35px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);padding-inline:7px}
.process-layout{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:12px;background:#f0f5fc radial-gradient(circle at 1px 1px,#8ba8c75e 1px,transparent 1.25px) 0 0/16px 16px}
.process-edges{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.process-edges path{fill:none;stroke:#6586ad;stroke-width:1.5}
.process-lane{min-width:0}
.process-lane h2{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#355b84;font:680 .87rem/1.3 var(--workspace-mono);overflow-wrap:anywhere}
.process-lane ul{display:grid;gap:7px}
.process-node,.process-unfilled{background:white;border:1px solid #c6d6e8;border-radius:8px;min-width:0;padding:8px}
.process-node>a{display:block;font-size:.9rem;margin-bottom:5px}
.process-node>.badge,.process-tasks .badge{white-space:normal;justify-content:start}
.process-node p,.process-unfilled,.process-tasks p{font-size:.76rem;color:var(--muted);overflow-wrap:anywhere;line-height:1.35}
.process-node p{margin-top:5px}
.process-unfilled{border-style:dashed}
.process-tasks{padding:9px 12px;border-top:1px solid var(--line)}
.process-tasks ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin-top:4px}
.process-tasks li{display:flex;align-items:center;justify-content:space-between;gap:7px;border-bottom:1px solid #edf1f6;padding-block:4px;font-size:.84rem}
@container (max-width:680px){
  .process-layout{grid-template-columns:minmax(0,1fr);gap:9px}
  .process-edges{display:none}
  .process-tasks ul{grid-template-columns:minmax(0,1fr)}
}
@container (max-width:560px){
  .stage-flow ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .stage-flow li::after{display:none}
}
@media(max-width:740px){
  .workspace-content{padding-block:13px 25px}
  .focus-card{min-height:0}
  .sidebar .nav-item{min-height:38px}
  .shell .button{min-height:38px}
  .coach-answer-steps li .button{min-height:32px}
}

.overview-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0 0}
.overview-summary>div{display:flex;flex-direction:column-reverse;gap:2px;padding:8px 12px;min-width:0}
.overview-summary>div+div{border-inline-start:1px solid var(--line)}
.overview-summary dt{line-height:1.2;font-size:.81rem;color:#355b84;overflow-wrap:anywhere}
.overview-summary dt a:hover{text-decoration:underline}
.overview-summary dd{margin:0;font:670 1.3rem/1.2 var(--workspace-mono);color:var(--text)}
.agenda-note,.overview-more{font-size:.82rem;color:var(--muted);overflow-wrap:anywhere}
.agenda-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:3px}
.overview-more{border-top:1px solid var(--line);padding-top:5px}
.overview-panel .surface-heading>.badge{margin-inline-start:auto}
.overview-panel .deadline{align-items:start}
.overview-panel .deadline>.badge{align-self:center;justify-self:start}
.decision-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:5px;font-size:.8rem;color:var(--muted)}
.decision-card .decision-next{-webkit-line-clamp:4}
.stage-flow li[aria-current]{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.stage-flow li[aria-current] small{margin:0}
.stage-flow li[aria-current]:has(>svg){grid-template-columns:auto minmax(0,1fr);gap:2px 6px}
.stage-flow li[aria-current]:has(>svg) small{grid-column:2}
.shell .stage-inline{justify-content:start;min-height:22px;padding:0;border-radius:3px;background:transparent;text-align:start;color:#234e82;white-space:normal;font-size:inherit}
.shell .stage-inline:hover{text-decoration:underline}
.stage-inline span{overflow-wrap:anywhere}
.stage-next{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;padding-top:8px}
.stage-next strong,.stage-next small,.stage-next .record-title{display:block}
.stage-next p,.stage-next strong,.stage-next small{font-size:.79rem;color:var(--muted)}
.stage-next .record-title{font-size:.9rem}
.section-actions{display:flex;flex-wrap:wrap;gap:7px}
.secondary-note{margin-top:13px;font-size:.87rem;color:var(--muted)}
.secondary-note summary{width:fit-content;cursor:pointer;color:#355b84;font-weight:650}
.secondary-note p{margin-top:4px}
.process-count{font-size:.75rem;font-variant-numeric:tabular-nums}
@media(max-width:930px){.overview-panel .deadline>.badge{grid-column:2}}
@media(max-width:500px){.overview-summary>div{padding:7px}.overview-summary dd{font-size:1.1rem}}
