/* ConocimientoTI — a documentation workspace, not a marketing dashboard.
   Quiet neutral chrome; a single deep-jade accent; content and context first. */
:root {
  --ink:#24292e; --muted:#626c75; --border:#e1e5e8; --bg:#fff;
  --sidebar:#f5f6f7; --soft:#f7f8f9; --teal:#24675e; --teal-dark:#194c45;
  --teal-light:#e9f1ef; --navy:#243b36; --white:#fff; --radius:8px;
  font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  color:var(--ink); background:var(--bg); font-size:14px; line-height:1.55;
  font-synthesis:none; text-rendering:optimizeLegibility;
}
* { box-sizing:border-box; }
body { margin:0; }
[hidden] { display:none!important; }
button,input,select,textarea { font:inherit; }
button,a,input,textarea,select,summary { touch-action:manipulation; }
button,summary { cursor:pointer; }
a { color:var(--teal); text-decoration:none; }
a:hover { text-decoration:underline; }
button:disabled { opacity:.5; cursor:not-allowed; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid var(--teal); outline-offset:3px; }
h1,h2,h3,h4,p { margin-top:0; }
h1 { font-size:30px; line-height:1.22; letter-spacing:-1px; font-weight:650; margin-bottom:10px; }
h2 { font-size:17px; line-height:1.4; letter-spacing:-.25px; font-weight:650; margin-bottom:16px; }
h3 { font-size:14px; line-height:1.45; font-weight:600; }
p { margin-bottom:1rem; }
svg.icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.skip-link { position:fixed; left:16px; top:-70px; background:#fff; padding:12px; z-index:2000; border:1px solid var(--teal); }
.skip-link:focus { top:12px; }
.layout { display:grid; grid-template-columns:224px minmax(0,1fr); min-height:100vh; }
.sidebar { position:fixed; inset:0 auto 0 0; width:224px; background:var(--sidebar); border-right:1px solid var(--border); padding:21px 14px 0; display:flex; flex-direction:column; z-index:30; overflow-y:auto; }
.brand { display:flex; align-items:center; gap:10px; margin:0 5px 20px; color:var(--ink); }
.brand:hover { text-decoration:none; }
.brand strong { display:block; font-size:16px; font-weight:650; letter-spacing:-.5px; white-space:nowrap; }
.brand strong>span { color:var(--teal); }
.brand small { display:block; font-size:11px; color:var(--muted); margin-top:1px; }
.brand-mark { width:32px; height:34px; display:grid; place-items:center; border-radius:7px; background:var(--teal); color:#fff; font-size:18px; font-weight:600; flex-shrink:0; }
.brand-mark .icon { width:20px; height:20px; }
.sidebar-create { width:100%; justify-content:flex-start!important; margin-bottom:8px; background:#fff; box-shadow:0 1px 2px #202a3010; }
.nav-caption { color:#65717a; padding:0 11px; margin:12px 0 5px; font-size:11px; font-weight:600; }
.nav-item { display:flex; align-items:center; gap:10px; color:#535d65; padding:7px 10px; border-radius:5px; font-size:12px; margin:1px 0; min-height:33px; }
.nav-item .icon { width:17px; height:17px; color:#79838b; }
.nav-item:hover { background:#e9ecee; text-decoration:none; color:var(--ink); }
.nav-item.active { background:#e3eeeb; color:#205d53; font-weight:600; }
.nav-item.active .icon { color:#24675e; }
.sidebar-bottom { padding:16px 9px 0; margin-top:auto; }
.workspace-status { display:flex; align-items:center; gap:7px; color:#58636a; font-size:11px; }
.workspace-status strong { font-weight:500; }
.workspace-status .icon { width:14px; height:14px; }
.sidebar-bottom>p { color:#65717a; font-size:10px; margin:6px 0 12px 21px; }
.sidebar-user { display:flex; gap:9px; align-items:center; border-top:1px solid var(--border); padding:13px 0; }
.avatar { width:30px; height:30px; border-radius:50%; background:#dfe7e7; color:#365a56; font-size:11px; font-weight:600; display:grid; place-items:center; flex-shrink:0; }
.user-meta { min-width:0; flex:1; }
.user-meta strong { display:block; font-size:11px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.user-meta span { display:block; color:var(--muted); font-size:10px; }
.shell { grid-column:2; min-width:0; }
.topbar { height:65px; padding:0 34px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:20px; background:#fff; }
.topbar-context { display:flex; gap:9px; align-items:center; font-size:11px; color:var(--muted); white-space:nowrap; }
.topbar-context>.icon { width:15px; height:15px; }
.topbar-divider { color:#bec5ca; }
.topbar-page { color:var(--ink); }
.private-label { display:flex; gap:5px; align-items:center; font-size:10px; color:#65717a; }
.private-label .icon { width:13px; height:13px; }
.global-search { width:330px; margin-left:auto; }
.global-search .search-line { height:35px; background:#f7f8f9; border-color:#e7eaec; padding:0 11px; gap:7px; border-radius:6px; }
.global-search .search-line input { font-size:11px; padding:7px 0; }
.global-search .search-line>.icon { width:15px; height:15px; }
kbd { font-family:inherit; font-size:10px; color:#65717a; border:1px solid #e1e5e8; border-radius:3px; background:#fff; padding:1px 4px; white-space:nowrap; }
.icon-btn { display:inline-flex; align-items:center; justify-content:center; border:0; color:var(--muted); background:transparent; padding:7px; border-radius:5px; }
.icon-btn:hover { background:#e9edee; text-decoration:none; }
.menu-toggle,.menu-close,.sidebar-scrim { display:none; }
.content { max-width:1440px; padding:39px 40px 50px; margin:0 auto; min-width:0; }
.content:focus { outline:none; }
.page-head { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin-bottom:28px; }
.page-head p { color:var(--muted); font-size:12px; max-width:680px; margin:0; }
.page-head>.btn { flex-shrink:0; margin-top:2px; }
.eyebrow { font-size:11px; font-weight:600; color:var(--muted); margin-bottom:12px; }
.muted { color:var(--muted); }
.small { font-size:12px; }
a.small { display:inline-block; padding:3px 0; }
.tiny { font-size:11px; }
.btn { min-height:36px; border:1px solid #d7dde1; border-radius:6px; padding:8px 12px; display:inline-flex; align-items:center; justify-content:center; gap:7px; background:#fff; color:#374148; font-size:12px; line-height:1.3; font-weight:500; }
.btn:hover { text-decoration:none; background:#f3f5f6; border-color:#c6ced3; }
.btn.primary { background:var(--teal); border-color:var(--teal); color:#fff; }
.btn.primary:hover { background:var(--teal-dark); }
.btn.danger { color:#a63838; border-color:#e6cccc; }
.btn.subtle { background:var(--soft); }
.btn.small { min-height:31px; padding:6px 9px; font-size:11px; }
.btn .icon { width:16px; height:16px; }
.actions { display:flex; gap:8px; flex-wrap:wrap; }
.home-search-block { padding:5px 0 23px; max-width:820px; }
.home-search-block>label { display:block; font-weight:600; font-size:13px; margin-bottom:10px; }
.home-search-block .search-line { padding:6px 7px 6px 16px; border-color:#cbd6d3; box-shadow:0 2px 4px #253b3210; }
.home-search-block .search-line input { font-size:13px; padding:9px; }
.search-hint { color:#65717a; font-size:10px; margin-top:9px; }
.search-wrap { position:relative; }
.search-line { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #d8dfe3; border-radius:7px; padding:5px 6px 5px 12px; }
.search-line>.icon { color:#65717a; }
.search-line input { flex:1; min-width:0; width:100%; color:var(--ink); background:transparent; border:0; padding:7px; font-size:12px; }
.search-line input::placeholder { color:#65717a; }
.search-line input:focus { outline:none; }
.search-line:focus-within { border-color:var(--teal); box-shadow:0 0 0 2px #24675e22; }
.search-line .btn { flex-shrink:0; }
.suggestions { position:absolute; top:calc(100% + 6px); inset-inline:0; background:#fff; border:1px solid var(--border); border-radius:7px; box-shadow:0 10px 26px #253b3320; z-index:35; overflow:hidden; }
.suggestions:empty { display:none; }
.suggestions a { display:block; padding:11px 14px; color:var(--ink); font-size:12px; border-bottom:1px solid #f0f2f3; }
.suggestions a:hover,.suggestions a:focus { background:#edf4f2; text-decoration:none; }
.workspace-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin:0 0 34px; padding:4px 0; }
.workspace-shortcuts>a { display:flex; gap:10px; align-items:center; color:var(--ink); padding:14px 12px; border-radius:4px; font-size:12px; font-weight:600; }
.workspace-shortcuts>a:first-child { padding-left:0; }
.workspace-shortcuts>a:hover { text-decoration:none; background:var(--soft); }
.workspace-shortcuts>a>.icon:first-child { color:var(--teal); }
.workspace-shortcuts>a>.icon:last-child { width:13px; height:13px; color:#9aa2a8; margin-left:auto; }
.workspace-shortcuts small { display:block; color:var(--muted); font-size:10px; font-weight:400; margin-top:2px; }
.home-columns { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:36px; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:14px; margin:0 0 17px; }
.section-head h2,.section-head h3 { margin:0; }
.section-head a { font-size:11px; }
.text-link { display:inline-flex; gap:7px; align-items:center; font-weight:500; white-space:nowrap; padding:5px 0; }
.text-link .icon { width:14px; height:14px; }
.count-label { display:inline-grid; place-items:center; min-width:20px; height:20px; background:#eef1f2; color:#626b73; border-radius:5px; font-size:10px; font-weight:500; }
.resource-list { border-top:1px solid var(--border); }
.resource-list-head { display:grid; grid-template-columns:minmax(0,1fr) 150px 120px; gap:20px; padding:10px 12px; background:#f7f8f9; color:#69737b; font-size:10px; border-bottom:1px solid var(--border); }
.resource-row { display:grid; grid-template-columns:25px minmax(0,1fr) 150px 120px; align-items:start; gap:13px; border-bottom:1px solid #e8ebed; padding:18px 12px; min-width:0; }
.resource-row:hover { background:#fafbfb; }
.document-icon { color:#76858a; display:flex; align-items:center; padding-top:2px; }
.document-icon .icon { width:20px; height:20px; }
.resource-main { min-width:0; }
.resource-main h3 { margin:0 0 5px; font-size:14px; line-height:1.45; font-weight:600; }
.resource-main h3 a { color:#263239; display:inline-block; padding:4px 0; margin:-4px 0; }
.resource-main h3 a:hover { color:var(--teal); }
.resource-main>p { color:var(--muted); font-size:12px; margin:0 0 7px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.resource-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:11px; color:#69757e; }
.resource-category { font-size:11px; color:#67727a; padding-top:3px; }
.resource-date { font-size:11px; color:#69737a; padding-top:3px; white-space:nowrap; }
.resource-date>span { display:block; margin-top:5px; font-size:10px; color:#65717a; }
.status-dot { color:#8a6527; }
.status-dot:before { content:""; width:5px; height:5px; background:#b59451; border-radius:50%; display:inline-block; margin-right:4px; vertical-align:middle; }
.tag { display:inline-block; border-radius:3px; padding:1px 6px; background:#f0f3f4; color:#5e6b72; font-size:10px; font-weight:400; }
a.tag { display:inline-flex; align-items:center; min-height:24px; padding:2px 7px; }
.tags { display:flex; gap:6px; flex-wrap:wrap; margin:9px 0 20px; }
.home-list .resource-row { grid-template-columns:25px minmax(0,1fr) 81px; padding:13px 0; gap:10px; }
.home-list .resource-category { display:none; }
.home-list .resource-date>span { display:none; }
.home-list .resource-main>p { -webkit-line-clamp:1; }
.home-list .resource-meta>.tag { display:none; }
.home-aside { border-left:1px solid var(--border); padding-left:24px; }
.home-aside h2 { font-size:14px; }
.domain-list { display:flex; flex-direction:column; gap:2px; }
.domain-list>a { display:flex; align-items:center; gap:9px; padding:9px 0; font-size:11px; color:#56616a; line-height:1.4; }
.domain-list>a>.icon:first-child { width:16px; height:16px; color:#8a959b; }
.domain-list>a>.icon:last-child { width:12px; height:12px; margin-left:auto; color:#9da5ab; }
.workspace-note { margin-top:27px; border-top:1px solid var(--border); padding-top:20px; display:flex; gap:9px; color:#5f6f69; }
.workspace-note>.icon { width:16px; height:16px; margin-top:2px; color:var(--teal); }
.workspace-note strong { font-size:11px; font-weight:500; color:#52615f; }
.workspace-note p { font-size:10px; line-height:1.7; margin:5px 0 0; }
.content-tabs { display:flex; gap:26px; border-bottom:1px solid var(--border); margin-bottom:23px; overflow-x:auto; }
.content-tabs>a { display:flex; align-items:center; gap:7px; padding:11px 0; font-size:12px; color:var(--muted); white-space:nowrap; border-bottom:2px solid transparent; }
.content-tabs>a[aria-current] { color:var(--teal); border-color:var(--teal); font-weight:600; }
.content-tabs .icon { width:15px; height:15px; }
.library-tools .search-form { max-width:700px; }
.filter-disclosure { margin-top:13px; }
.filter-disclosure>summary { display:inline-flex; gap:7px; align-items:center; min-height:26px; border:1px solid var(--border); padding:6px 10px; border-radius:5px; font-size:11px; color:#5e6870; list-style:none; }
.filter-disclosure>summary::-webkit-details-marker { display:none; }
.filter-disclosure>summary>.icon { width:13px; height:13px; }
.filter-disclosure>summary>.icon:last-child { transform:rotate(90deg); }
.filter-disclosure[open]>summary>.icon:last-child { transform:rotate(-90deg); }
.filter-disclosure form { background:var(--soft); border:1px solid var(--border); padding:18px; margin-top:12px; border-radius:7px; }
.filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.list-toolbar { display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:11px; margin:23px 0 12px; }
.list-toolbar strong { color:var(--ink); font-weight:600; }
.pagination { display:flex; justify-content:center; align-items:center; gap:14px; margin-top:26px; }
.panel { border:1px solid var(--border); border-radius:8px; padding:22px; background:#fff; min-width:0; }
.panel+.panel { margin-top:22px; }
.pill { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; background:#edf0f2; color:#5b686f; font-size:10px; line-height:1.5; padding:3px 7px; border-radius:4px; font-weight:500; }
.pill.green { background:#e8f1ec; color:#386c50; }
.pill.gold { background:#fbf2e2; color:#8a6529; }
.pill.blue { background:#eaf0f7; color:#456b94; }
.pill.red { background:#f8eaea; color:#9a4444; }
.notice { display:flex; align-items:flex-start; gap:10px; background:#eff6f3; border:1px solid #d9e7df; color:#436659; border-radius:6px; padding:12px 14px; margin-bottom:20px; font-size:12px; }
.notice p { margin:0; }
.notice.warning { color:#816128; border-color:#ecdfc7; background:#fffaf0; }
.notice.error { color:#973b3b; border-color:#eed1d1; background:#fff6f6; }
.field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.field label,.field>span { font-size:11px; color:#4c565e; font-weight:500; }
.field input,.field select,.field textarea { width:100%; color:var(--ink); background:#fff; border:1px solid #d3dade; border-radius:5px; padding:9px 10px; min-height:38px; font-size:12px; }
.field select { padding-right:24px; }
.field textarea { resize:vertical; min-height:90px; line-height:1.6; }
.field input[readonly],.field select:disabled { background:#f5f7f8; color:#7d858b; }
.field small { font-size:10px; color:#65717a; line-height:1.6; }
.field.full { grid-column:1/-1; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.form-actions { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:22px; flex-wrap:wrap; }
.breadcrumbs { display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:11px; color:#65717a; margin-bottom:25px; }
.breadcrumbs .icon { width:12px; height:12px; }
.breadcrumbs a { display:inline-block; min-width:24px; padding:5px 0; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:40px; align-items:start; }
.article-content { padding:0 4px 30px 0; border:0; border-radius:0; max-width:820px; }
.article-content>.section-head { margin-bottom:22px; }
.article-content h1 { font-size:32px; letter-spacing:-.9px; line-height:1.25; }
.article-content .summary { color:#6a747c; font-size:15px; line-height:1.7; padding-bottom:23px; border-bottom:1px solid var(--border); margin-bottom:28px; }
.prose { font-size:14px; line-height:1.85; max-width:78ch; overflow-wrap:anywhere; }
.prose h1 { font-size:25px; }
.prose h2 { font-size:21px; margin-top:30px; margin-bottom:13px; }
.prose h3 { font-size:17px; margin-top:25px; }
.prose :is(h1,h2,h3) { scroll-margin-top:30px; }
.prose ul,.prose ol { padding-left:24px; }
.prose li { margin-bottom:5px; }
.prose code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.88em; background:#f0f3f4; border-radius:3px; padding:2px 5px; }
.prose pre { background:#f5f7f8; border:1px solid #e7ebed; border-radius:6px; padding:16px; overflow:auto; }
.prose pre code { padding:0; background:transparent; white-space:pre-wrap; }
.prose blockquote { margin:20px 0; border-left:3px solid #b8cdc6; padding:4px 18px; color:#66776f; }
.article-side { border-left:1px solid var(--border); padding-left:23px; font-size:12px; }
.article-side .panel { border:0; padding:0; border-radius:0; }
.article-side .panel+.panel { border-top:1px solid var(--border); padding-top:23px; margin-top:24px; }
.article-side h3 { color:#4e5d63; font-size:11px; font-weight:600; margin-bottom:16px; }
.article-side .btn { justify-content:flex-start; font-size:11px; }
.article-toc { border-bottom:1px solid var(--border); padding-bottom:20px; margin-bottom:23px; }
.toc-link { display:block; width:100%; text-align:left; background:none; border:0; border-left:2px solid #e7ebed; padding:7px 0 7px 12px; color:#65717a; font-size:11px; line-height:1.4; }
.toc-link:hover { color:var(--teal); border-left-color:var(--teal); }
.toc-link.level-3 { padding-left:22px; }
.detail-list { margin:0; }
.detail-list dt { font-size:10px; color:#65727b; margin-top:17px; }
.detail-list dt:first-child { margin-top:0; }
.detail-list dd { margin:4px 0 0; color:#52616a; font-size:11px; overflow-wrap:anywhere; }
.reader-actions { border-top:1px solid var(--border); padding-top:25px; margin-top:40px; }
.reader-actions>strong { display:block; font-size:12px; font-weight:500; margin-bottom:13px; }
#inline-feedback { margin-top:12px; }
.editor-layout { display:grid; grid-template-columns:minmax(0,1fr) 230px; border:1px solid var(--border); border-radius:8px 8px 0 0; }
.editor-canvas { display:flex; flex-direction:column; gap:24px; padding:27px; min-width:0; }
.editor-properties { padding:23px 20px; border-left:1px solid var(--border); background:#fafbfb; display:flex; flex-direction:column; gap:18px; }
.editor-properties h2 { font-size:13px; margin:0 0 2px; }
.editor-properties .field input,.editor-properties .field select { font-size:11px; }
.title-field input { border:0; border-bottom:1px solid var(--border); padding:8px 0 12px; border-radius:0; font-size:23px; font-weight:600; letter-spacing:-.5px; }
.title-field input::placeholder { color:#65717a; font-weight:400; }
.title-field label { font-size:10px; color:#65717a; }
.editor-toolbar { display:flex; flex-wrap:wrap; gap:0; padding:5px; border:1px solid #d3dade; border-bottom:0; border-radius:5px 5px 0 0; background:#f7f8f9; margin-bottom:-7px; }
.editor-toolbar .btn { background:transparent; border:0; border-radius:3px; font-size:10px; }
.editor-toolbar .btn:hover { background:#e7edeb; }
.editor-toolbar .preview-button { margin-left:auto; color:var(--teal); }
.editor-body { min-height:330px!important; border-radius:0 0 5px 5px!important; line-height:1.85!important; font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important; font-size:12px!important; padding:18px!important; }
.preview { padding:24px; background:#fafcfc; border:1px solid var(--border); border-radius:5px; min-height:180px; }
.preview:empty:before { content:"La vista previa aparecerá aquí."; color:var(--muted); }
.editor-savebar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 20px; border:1px solid var(--border); border-top:0; border-radius:0 0 8px 8px; position:sticky; bottom:0; background:#fff; z-index:10; box-shadow:0 -4px 12px #24312a06; }
.save-state { font-size:11px; color:#65717a; }
.editorial-state { margin-top:24px; }
.stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--border); border-radius:7px; margin-bottom:26px; }
.stat { padding:20px; border-right:1px solid var(--border); }
.stat:last-child { border:0; }
.stat-label { color:#647078; font-size:11px; display:flex; align-items:center; gap:7px; }
.stat-label .icon { width:15px; height:15px; }
.stat strong { display:block; font-size:29px; font-weight:550; letter-spacing:-1px; line-height:1.2; margin:13px 0 7px; }
.stat small { color:#65717a; font-size:10px; line-height:1.6; display:block; }
.two-columns { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.table-wrap { overflow:auto; max-width:100%; }
table { width:100%; border-collapse:collapse; font-size:11px; text-align:left; }
th { color:#626c75; font-size:10px; font-weight:500; background:#f7f8f9; white-space:nowrap; }
th,td { padding:12px; border-bottom:1px solid var(--border); vertical-align:top; }
td .actions { flex-wrap:nowrap; }
tr:last-child td { border-bottom:0; }
.diff { font-family:ui-monospace,monospace; font-size:11px; white-space:pre-wrap; overflow-wrap:anywhere; background:#f5f7f8; border:1px solid var(--border); border-radius:6px; padding:20px; max-height:600px; overflow:auto; }
.diff-add { color:#23633e; background:#e5f2e9; }
.diff-remove { color:#9a3636; background:#f9e9e9; }
.stack { display:flex; flex-direction:column; gap:10px; }
.inline-item { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 0; border-bottom:1px solid var(--border); }
.inline-item:last-child { border-bottom:0; }
.inline-item h3 { margin:0; font-size:13px; }
.inline-item h3 a { display:inline-block; padding:4px 0; margin:-4px 0; }
.inline-item p { margin:6px 0 0; color:var(--muted); font-size:10px; }
.divider { border:0; border-top:1px solid var(--border); margin:26px 0; }
.footer-note { font-size:10px; color:#65717a; text-align:left; line-height:1.7; margin-top:30px; padding-top:18px; border-top:1px solid #eef0f1; }
.cards { display:flex; flex-direction:column; border-top:1px solid var(--border); }
.resource-card { display:grid; grid-template-columns:minmax(0,1fr) 200px; column-gap:35px; padding:24px 8px; border-bottom:1px solid var(--border); }
.resource-card .meta { grid-column:1/-1; display:flex; align-items:center; gap:10px; margin-bottom:9px; }
.resource-card .meta>.icon { width:16px; height:16px; color:#73867f; }
.resource-card h3 { grid-column:1; margin-bottom:6px; font-size:16px; }
.resource-card h3 a { color:var(--ink); display:inline-block; padding:3px 0; margin:-3px 0; }
.resource-card>p:first-of-type { grid-column:1; grid-row:3/5; font-size:12px; color:var(--muted); margin:0; max-width:65ch; }
.resource-card .progress { grid-column:2; grid-row:2; }
.resource-card p.tiny { grid-column:2; grid-row:3; font-size:10px; margin:4px 0 10px; }
.resource-card>.btn { grid-column:2; grid-row:4; justify-self:start; background:#fff; color:var(--teal); border-color:#cadbd5; }
.collection-list { max-width:850px; border-top:1px solid var(--border); }
.collection-row { display:flex; align-items:center; gap:18px; border-bottom:1px solid var(--border); padding:20px 14px; color:var(--ink); }
.collection-row:hover { text-decoration:none; background:var(--soft); }
.collection-row small { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.collection-row>.icon { margin-left:auto; width:16px; color:#89979b; }
.empty { padding:55px 20px; text-align:center; color:var(--muted); border:1px dashed #dde4e3; border-radius:6px; margin:15px 0; }
.empty>.icon { width:30px; height:30px; color:#92a6a0; margin-bottom:12px; }
.empty h3 { color:#4b5b55; font-size:15px; margin-bottom:7px; }
.empty p { max-width:440px; margin:0 auto 17px; font-size:12px; }
.loading-state { max-width:650px; padding-top:10px; }
.loading-state p { font-size:12px; color:var(--muted); margin-top:18px; }
.skeleton { border-radius:5px; background:#eff2f2; height:8px; width:55%; box-shadow:0 24px 0 #f3f5f5,0 48px 0 #f3f5f5; margin-bottom:70px; }
.boot { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:25px; gap:14px; }
.boot p { font-size:13px; color:var(--muted); }
.boot .notice { max-width:650px; }
.login-layout { background:#f5f7f6; min-height:100vh; display:grid; place-items:center; }
.login-form-area { max-width:490px; padding:55px 40px; }
.login-form-card .brand { margin:0 0 45px; }
.login-form-card h1 { font-size:32px; margin-bottom:18px; }
.login-form-card>.btn { margin-top:16px; }
.login-security { display:flex; gap:11px; margin-top:34px; color:#69796f; }
.login-security p { font-size:11px; }
.login-security .icon { margin-top:2px; }
#toast { position:fixed; bottom:22px; right:22px; max-width:450px; background:#263e36; color:#fff; border-radius:7px; box-shadow:0 5px 20px #172a3026; padding:13px 18px; font-size:12px; z-index:100; opacity:0; transform:translateY(10px); transition:opacity .15s,transform .15s; pointer-events:none; }
#toast.visible { opacity:1; transform:none; }
#toast.error { background:#953d3d; }
.chat-layout { display:grid; grid-template-columns:200px minmax(0,1fr); min-height:540px; }
.chat-channels { border-right:1px solid var(--border); padding-right:20px; }
.channel-link { display:block; padding:10px; margin:0 0 5px; border-radius:5px; color:#5d6a72; }
.channel-link strong { display:block; font-size:12px; font-weight:500; }
.channel-link small { display:block; font-size:10px; margin-top:4px; color:#5d6970; }
.channel-link:hover { text-decoration:none; background:#f3f6f5; }
.channel-link.selected { background:#e9f2ef; color:#2c6656; }
.chat-thread { padding-left:24px; min-width:0; }
.chat-thread .section-head h2 { font-size:17px; }
.chat-log { min-height:270px; max-height:420px; overflow:auto; padding:18px 0; }
.chat-message { margin:0 0 16px; padding:0 3px 14px; border-bottom:1px solid #f0f3f4; overflow-wrap:anywhere; }
.chat-message small { display:block; font-size:10px; color:#65717a; }
.chat-message small strong { color:#3d554a; font-size:11px; margin-right:5px; }
.chat-message p { font-size:13px; margin:7px 0 4px; line-height:1.7; }
.chat-message .actions { justify-content:flex-end; }
.message-action { font-size:10px; padding:4px 7px; min-height:24px; }
.chat-message.mine { padding-left:12px; border-left:2px solid #c5dcd3; }
#message-form { border-top:1px solid var(--border); padding-top:17px; }
#message-form .form-actions { margin-top:12px; }
.check-row { display:flex; align-items:center; gap:10px; font-size:12px; }
.check-row input { width:auto; min-height:auto; accent-color:var(--teal); }
.progress { height:5px; background:#e8efec; border-radius:10px; overflow:hidden; margin:8px 0; }
.progress span { display:block; height:100%; background:#4c8a73; }
progress.progress { appearance:none; width:100%; border:0; }
progress.progress::-webkit-progress-bar { background:#e8efec; border-radius:10px; }
progress.progress::-webkit-progress-value { background:#4c8a73; border-radius:10px; }
progress.progress::-moz-progress-bar { background:#4c8a73; border-radius:10px; }
.lesson-action { margin:8px 0 22px; }
.lesson .prose { padding:15px 0 4px; }
.lesson summary { cursor:pointer; }
.quiz-question { border:1px solid var(--border); border-radius:6px; padding:17px; margin:20px 0; }
.forum-reply { border-bottom:1px solid var(--border); padding:20px 0; }
.align-end { justify-content:end; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mt-9{margin-top:9px}.mt-12{margin-top:12px}.mt-14{margin-top:14px}.mt-15{margin-top:15px}.mt-16{margin-top:16px}.mt-18{margin-top:18px}.mt-20{margin-top:20px}.mt-22{margin-top:22px}.mt-24{margin-top:24px}.mt-25{margin-top:25px}.mb-0{margin-bottom:0}
@media(min-width:1600px) { .content { padding:45px 60px 60px; } .home-columns { grid-template-columns:minmax(0,1fr) 260px; gap:50px; } }
@media(max-width:1150px) {
 .content { padding:32px 28px 45px; } .topbar { padding:0 27px; gap:16px; }
 .global-search { width:270px; } .topbar-context { gap:6px; } .private-label { display:none; }
 .home-columns { grid-template-columns:minmax(0,1fr) 190px; gap:23px; } .home-aside { padding-left:20px; }
 .workspace-shortcuts>a { gap:7px; padding-inline:8px; } .workspace-shortcuts small { font-size:10px; }
 .workspace-shortcuts>a>.icon:last-child { display:none; }
 .resource-list-head { grid-template-columns:minmax(0,1fr) 115px 100px; }
 .resource-row { grid-template-columns:22px minmax(0,1fr) 115px 100px; gap:10px; padding-inline:6px; }
 .resource-category,.resource-date { font-size:10px; }
 .article-layout { grid-template-columns:minmax(0,1fr) 185px; gap:25px; } .article-side { padding-left:20px; }
 .editor-layout { grid-template-columns:minmax(0,1fr) 205px; } .editor-canvas { padding:22px; } .editor-properties { padding:22px 16px; }
 .stats .stat { padding:17px 14px; }
}
@media(max-width:960px) {
 .home-columns { grid-template-columns:1fr; } .home-aside { border-left:0; border-top:1px solid var(--border); padding:22px 0 0; }
 .domain-list { display:grid; grid-template-columns:1fr 1fr; gap:3px 25px; }
 .workspace-note { max-width:420px; margin-top:18px; } .home-list .resource-date { font-size:11px; }
 .topbar-context .topbar-divider,.topbar-page { display:none; }
 .resource-category { display:none; } .resource-row { grid-template-columns:24px minmax(0,1fr) 95px; }
 .resource-list-head { grid-template-columns:minmax(0,1fr) 95px; }.resource-list-head>span:nth-child(2) { display:none; }
 .article-layout { grid-template-columns:1fr; } .article-side { border-left:0; border-top:1px solid var(--border); padding:25px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:25px; }
 .article-side .panel+.panel { margin:0; border:0; padding:0; }.article-toc { grid-column:1/-1; }
 .editor-layout { grid-template-columns:1fr; }.editor-properties { border-left:0; border-top:1px solid var(--border); display:grid; grid-template-columns:1fr 1fr; }
 .editor-properties h2,.editor-properties>p { grid-column:1/-1; }.stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .stat:nth-child(2) { border-right:0; }.stat:nth-child(-n+2) { border-bottom:1px solid var(--border); }
 .two-columns { grid-template-columns:1fr; }.chat-layout { grid-template-columns:160px minmax(0,1fr); }.chat-channels { padding-right:15px; }.chat-thread { padding-left:18px; }
}
@media(max-width:800px) {
 .layout { display:block; }.sidebar { transform:translateX(-100%); width:244px; padding-top:25px; box-shadow:none; transition:transform .18s; }
 .sidebar.open { transform:translateX(0); box-shadow:8px 0 28px #23332b20; }.shell { width:100%; }
 .menu-is-open .sidebar-scrim { display:block; position:fixed; inset:0; background:#22352d45; border:0; z-index:25; }
 .menu-close { display:inline-flex; position:absolute; right:6px; top:6px; }.menu-close .icon { transform:rotate(45deg); width:14px; }
 .menu-toggle { display:inline-flex; margin-left:-7px; }.topbar { height:59px; padding:0 22px; gap:13px; }
 .topbar-context { font-size:11px; }.global-search { width:min(350px,50vw); }
 .content { padding:28px 24px 40px; }.home-columns { grid-template-columns:minmax(0,1fr) 200px; gap:25px; }.home-aside { border-left:1px solid var(--border); border-top:0; padding:0 0 0 20px; }
 .domain-list { display:flex; }.workspace-note { margin-top:24px; }.workspace-shortcuts>a { padding-block:15px; }.workspace-shortcuts small { font-size:10px; }
 h1 { font-size:28px; }.page-head { margin-bottom:24px; }
}
@media(max-width:620px) {
 .topbar { padding:0 17px; gap:10px; }.topbar-context { display:none; }.global-search { width:auto; flex:1; margin:0; }.global-search kbd { display:none; }
 .global-search .search-line { height:36px; }.global-search .search-line input { font-size:12px; }
 .content { padding:26px 20px 35px; }h1 { font-size:27px; letter-spacing:-.7px; }.page-head { gap:15px; flex-direction:column; }.page-head p { font-size:12px; line-height:1.7; }.page-head>.btn { min-height:35px; }
 .home-search-block { padding-top:0; }.home-search-block .search-line { padding-left:10px; }.home-search-block .search-line input { font-size:12px; padding-left:4px; }
 .search-hint { font-size:10px; }.home-search-block>label { font-size:12px; }
 .workspace-shortcuts { grid-template-columns:1fr; padding:3px 0; margin-bottom:28px; }.workspace-shortcuts>a { padding:12px 2px; gap:12px; }.workspace-shortcuts>a:first-child { padding-left:2px; }.workspace-shortcuts>a:not(:last-child) { border-bottom:1px solid #edf0f1; }.workspace-shortcuts>a>.icon:last-child { display:block; }.workspace-shortcuts small { display:none; }
 .home-columns { grid-template-columns:1fr; gap:26px; }.home-aside { border:0; padding:0; }.domain-list { display:grid; grid-template-columns:1fr 1fr; gap:5px 22px; }.home-aside .section-head { border-bottom:1px solid var(--border); padding-bottom:13px; }.workspace-note { padding-top:17px; margin-top:18px; }
 .section-head h2 { font-size:15px; }.section-head a { font-size:10px; }.text-link { gap:3px; }
 .home-list .resource-row,.resource-row { grid-template-columns:21px minmax(0,1fr); gap:9px; padding:16px 1px; }.resource-row .resource-date { grid-column:2; padding-top:0; display:flex; gap:8px; font-size:10px; }.resource-date>span { margin:0; }.home-list .resource-date { display:none; }.resource-list-head { display:none; }.resource-main h3 { font-size:13px; }.resource-main>p { font-size:11px; }.home-list .resource-main>p { -webkit-line-clamp:2; }
 .content-tabs { gap:21px; margin-bottom:18px; }.content-tabs>a { font-size:11px; }.content-tabs .icon { display:none; }
 .filters,.form-grid { grid-template-columns:1fr; }.filter-disclosure form { padding:15px; }.list-toolbar { font-size:10px; align-items:center; }.list-toolbar>span:last-child { max-width:120px; text-align:right; }
 .panel { padding:19px 16px; }.panel h2 { font-size:16px; }.article-content { padding:0 0 15px; }.article-content h1 { font-size:28px; }.article-content .summary { font-size:14px; }.article-side { grid-template-columns:1fr; gap:23px; }.article-toc { grid-column:1; }.article-side .panel+.panel { padding-top:22px; border-top:1px solid var(--border); }.article-side .detail-list { display:grid; grid-template-columns:1fr 1fr; gap:5px 15px; }.article-side dt { grid-column:1; margin:0 0 9px; }.article-side dd { grid-column:2; margin:0; }
 .breadcrumbs { font-size:10px; margin-bottom:20px; }.prose { font-size:13px; }.prose h2 { font-size:19px; }
 .editor-canvas { padding:20px 15px; }.editor-properties { grid-template-columns:1fr; padding:22px 16px; }.editor-properties h2,.editor-properties>p { grid-column:1; }.editor-savebar { flex-wrap:wrap; padding:13px; }.save-state { width:100%; font-size:10px; }.editor-savebar .actions { margin-left:auto; }.title-field input { font-size:21px; }.editor-toolbar .btn { padding-inline:7px; }.editor-body { padding:13px!important; font-size:11px!important; }.editor-toolbar .preview-button { margin-left:0; }
 .stat { padding:17px 13px!important; }.stat strong { font-size:27px; }.stat-label { font-size:10px; }.stat-label .icon { width:13px; height:13px; }.stat small { font-size:10px; }
 .resource-card { display:block; padding:24px 2px; }.resource-card .progress { margin-top:17px; }.resource-card h3 { font-size:15px; }.resource-card p.tiny { margin:9px 0 12px; }
 .chat-layout { grid-template-columns:1fr; }.chat-channels { border-right:0; border-bottom:1px solid var(--border); padding:0 0 17px; margin-bottom:22px; }.chat-channels .eyebrow { margin-bottom:10px; }.chat-channels>p { display:none; }.channel-link { display:inline-block; margin:0 4px 4px 0; }.channel-link small { display:none; }.chat-thread { padding:0; }.chat-log { max-height:390px; min-height:250px; }.chat-thread .section-head { align-items:flex-start; }.chat-thread .section-head h2 { font-size:15px; }.chat-thread .search-line { padding-left:8px; }.chat-thread .search-line input { font-size:11px; }
 .inline-item { gap:10px; }.inline-item h3 { font-size:12px; }.inline-item .pill { font-size:10px; }
 .login-form-area { padding:40px 25px; }.login-form-card h1 { font-size:29px; }
 #toast { left:16px; right:16px; bottom:16px; max-width:none; }.footer-note { font-size:10px; }.empty { padding:35px 17px; }
 .table-wrap>table { min-width:560px; }
}
@media(prefers-reduced-motion:reduce) { * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

#forum-filter .form-grid { grid-template-columns:2fr 1fr 1fr auto; align-items:end; }
.field.align-end .btn { align-self:flex-end; }
@media(max-width:1100px) { #forum-filter .form-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:620px) { #forum-filter .form-grid { grid-template-columns:1fr; } .field.align-end .btn { align-self:stretch; } }

.two-columns>.panel+.panel { margin-top:0; }
.admin-tools>summary { cursor:pointer; padding:2px 0; }
.admin-tools>summary h2 { display:inline; margin:0; }
.admin-tools[open]>summary { margin-bottom:16px; }
/* Keep both conflict snapshots readable without widening the editor on mobile. */
.conflict-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1rem}
.conflict-columns section{min-width:0}
.conflict-snapshot{white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto;font-size:.85rem;padding:1rem;border:1px solid var(--border,#d8dde4);border-radius:8px;background:var(--surface,#fff)}
#resource-sentinel{min-height:2px}
@media(max-width:800px){.conflict-columns{grid-template-columns:1fr}}

/* Account access: a quiet editorial introduction beside the working form. */
.auth-shell {
  --auth-ink:#183443; --auth-muted:#536574; --auth-teal:#216b60;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(440px,1fr);
  min-height:100vh; min-height:100svh; background:#fbfcfc; color:var(--auth-ink);
}
.auth-story {
  display:flex; flex-direction:column; min-width:0; overflow:hidden;
  padding:44px clamp(32px,4.5vw,76px) 30px; color:#f5faf9;
  background:radial-gradient(ellipse at 78% 68%,#254c59 0,transparent 54%),#173746;
}
.auth-brand { margin:0; color:#fff; }
.auth-brand strong { font-size:21px; letter-spacing:-.65px; }
.auth-brand strong>span { color:#8ad8c5; }
.auth-brand small { margin-top:2px; color:#bdd0d6; font-size:11px; }
.auth-brand .brand-mark { width:40px; height:42px; background:#2d655f; border:1px solid #50877c; }
.auth-brand .brand-mark .icon { width:24px; height:24px; }
.auth-story-content { width:100%; max-width:480px; margin:auto 0; padding:62px 0 42px; }
.auth-eyebrow { color:#acd4cf; font-size:10px; font-weight:650; letter-spacing:1.65px; line-height:1.7; margin-bottom:23px; }
.auth-story h2 { color:#fff; font-size:clamp(30px,3.05vw,45px); font-weight:600; letter-spacing:-1.4px; line-height:1.17; margin-bottom:23px; }
.auth-story h2>span { color:#a3dcd1; }
.auth-story-copy { max-width:390px; color:#c8d8db; font-size:14px; line-height:1.8; margin-bottom:12px; }
.auth-knowledge-graphic { display:block; width:100%; max-width:480px; height:auto; margin:17px 0 12px; }
.auth-story-caption { display:flex; flex-wrap:wrap; gap:23px; align-items:center; color:#c2d8d8; font-size:11px; letter-spacing:.1px; }
.auth-story-caption span { display:inline-flex; gap:10px; align-items:center; }
.auth-story-caption span::before { content:""; width:4px; height:4px; background:#88c7ba; border-radius:50%; }
.auth-story-footer { color:#b3c9cf; margin:0; font-size:11px; line-height:1.7; }
.auth-main { display:flex; flex-direction:column; justify-content:center; min-width:0; padding:70px clamp(32px,5.4vw,90px) 104px; position:relative; }
.auth-main:focus,.auth-heading h1:focus { outline:none; }
.auth-card { width:100%; max-width:410px; margin:0 auto; }
.auth-section-label { display:flex; gap:8px; align-items:center; color:#506670; font-size:11px; font-weight:600; margin-bottom:25px; }
.auth-section-label .icon { width:16px; height:16px; color:#2a7469; }
.auth-heading { margin-bottom:29px; }
.auth-heading h1 { color:var(--auth-ink); font-size:34px; font-weight:650; letter-spacing:-1px; line-height:1.2; margin-bottom:12px; }
.auth-heading p { font-size:13px; color:var(--auth-muted); line-height:1.8; margin:0; }
.auth-form { display:flex; flex-direction:column; gap:20px; }
.auth-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.auth-field>label { color:#273f4b; font-size:12px; font-weight:600; line-height:1.5; }
.auth-field>input,.auth-password>input { width:100%; min-width:0; min-height:48px; border:1px solid #a7b8bf; border-radius:6px; background:#fff; color:#193541; padding:11px 13px; font-size:14px; line-height:1.5; }
.auth-field input::placeholder { color:#60717b; }
.auth-field input:focus { border-color:#246e63; }
.auth-password { display:flex; align-items:stretch; min-width:0; border:1px solid #a7b8bf; border-radius:6px; background:#fff; }
.auth-password>input { border:0; border-radius:6px 0 0 6px; flex:1; }
.auth-password:focus-within { border-color:#246e63; }
.auth-password-toggle { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:84px; min-height:46px; padding:10px; border:0; border-radius:0 5px 5px 0; background:transparent; color:#365b63; font-size:11px; font-weight:600; flex-shrink:0; }
.auth-password-toggle:hover { background:#edf4f1; color:#1c514b; }
.auth-password-toggle svg { width:17px; height:17px; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.auth-password-toggle[aria-pressed=true] { color:#164b43; background:#e7f1ed; }
.auth-field-hint { color:#536574; margin:0; font-size:11px; line-height:1.65; }
.auth-form .auth-submit { width:100%; min-height:48px; margin-top:3px; padding:12px 16px; justify-content:space-between; font-size:13px; font-weight:600; background:#216b60; border-color:#216b60; box-shadow:0 2px 3px #173a3312; }
.auth-form .auth-submit:hover { background:#185349; border-color:#185349; }
.auth-form .auth-submit:disabled { opacity:1; color:#f1f5f4; background:#567b74; border-color:#567b74; }
.auth-form button:focus-visible,.auth-field input:focus-visible,.auth-session-exit:focus-visible { outline:3px solid #246e63; outline-offset:3px; }
.auth-error { color:#852f31; background:#fff2f0; border:1px solid #e6b5af; border-left:3px solid #af4c44; border-radius:5px; padding:12px 14px; font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.auth-error:empty { display:none; }
.auth-error p { margin:0; }
.auth-error:focus { outline:2px solid #9b3b36; outline-offset:3px; }
.auth-status { color:#365e57; font-size:12px; line-height:1.65; margin:-8px 0 0; }
.auth-status:empty { display:none; }
.auth-access-note { display:flex; gap:10px; align-items:flex-start; margin:26px 0 0; padding-top:23px; border-top:1px solid #dce5e5; }
.auth-access-note .icon { width:17px; height:17px; color:#49736a; margin-top:1px; }
.auth-access-note p { color:#586b73; font-size:11px; line-height:1.75; margin:0; }
.auth-help { color:#586b73; font-size:11px; line-height:1.8; margin:18px 0 0; }
.auth-account { color:#536574; font-size:12px; line-height:1.7; margin:0; }
.auth-account strong { color:#273f4b; overflow-wrap:anywhere; }
.auth-session-exit { align-self:center; min-height:40px; border:0; background:transparent; color:#385c62; border-radius:4px; padding:7px 12px; font-size:12px; margin-top:-9px; }
.auth-session-exit:hover { background:#eaf1ef; text-decoration:underline; }
.auth-footer { position:absolute; bottom:27px; left:30px; right:30px; display:flex; align-items:center; justify-content:center; gap:7px 18px; flex-wrap:wrap; color:#5a6c74; font-size:10px; line-height:1.6; text-align:center; }
@media(min-width:1600px) { .auth-story-content { margin-left:auto; margin-right:auto; }.auth-card { max-width:430px; } }
@media(max-width:1050px) { .auth-story { padding-inline:32px; }.auth-main { padding-inline:38px; }.auth-story h2 { font-size:33px; }.auth-story-caption { gap:16px; } }
@media(max-width:800px) {
  .auth-shell { display:flex; flex-direction:column; }
  .auth-story { padding:23px 28px 25px; overflow:visible; }
  .auth-brand strong { font-size:19px; }.auth-brand small { font-size:10px; }
  .auth-brand .brand-mark { width:36px; height:38px; }
  .auth-story-content { max-width:none; padding:25px 0 0; margin:0; }
  .auth-story h2 { font-size:25px; letter-spacing:-.6px; line-height:1.25; margin:0; }
  .auth-story h2 br { display:none; }.auth-story h2>span { display:block; }
  .auth-eyebrow,.auth-story-copy,.auth-knowledge-graphic,.auth-story-caption,.auth-story-footer { display:none; }
  .auth-main { flex:1; justify-content:flex-start; padding:35px 28px 25px; }
  .auth-card { max-width:440px; }.auth-section-label { margin-bottom:19px; }
  .auth-heading { margin-bottom:25px; }.auth-heading h1 { font-size:30px; }
  .auth-footer { position:static; margin:36px auto 0; max-width:440px; font-size:10px; }
}
@media(max-width:400px) {
  .auth-story { padding:20px 22px 23px; }.auth-story-content { padding-top:21px; }
  .auth-story h2 { font-size:23px; }.auth-main { padding:31px 22px 23px; }
  .auth-heading h1 { font-size:28px; }.auth-heading p { font-size:12px; }
  .auth-password-toggle { min-width:78px; padding-inline:9px; }
  .auth-footer { flex-direction:column; gap:3px; text-align:left; align-items:flex-start; width:100%; }
}
@media(forced-colors:active) {
  .auth-story,.auth-password,.auth-field>input,.auth-password-toggle,.auth-error,.auth-submit { border:1px solid CanvasText; }
  .auth-story,.auth-main { background:Canvas; color:CanvasText; }
  .auth-brand,.auth-story h2,.auth-story h2>span,.auth-brand strong>span,.auth-story-copy,.auth-story-footer { color:CanvasText; }
  .auth-knowledge-graphic { display:none; }
}

/* Account details and administration share the same readable access vocabulary. */
.role-badge{display:inline-flex;align-items:center;border:1px solid #b8d2c9;border-radius:999px;padding:3px 9px;background:#edf6f1;color:#245c50;font-size:11px;font-weight:600;line-height:1.5}
.sidebar-user .role-badge{margin-top:4px;font-size:10px;padding:2px 7px}
.access-nav{margin-bottom:16px}
.account-profile{display:flex;align-items:center;gap:18px}
.account-profile>.avatar{width:52px;height:52px;font-size:18px;flex-shrink:0}
.account-profile h2{margin:0 0 5px}.account-profile p{margin:0 0 8px}
.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.permission-item{padding:18px;border:1px solid var(--border);border-radius:7px;background:#fcfdfd;min-width:0}
.permission-item h3{font-size:13px;margin:12px 0 6px}.permission-item p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}
.permission-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600}.permission-status .icon{width:14px;height:14px}
.permission-status.allowed{color:#23624e}.permission-status.denied{color:#6c7278}
.access-spaces{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:12px}.access-spaces li{display:flex;align-items:center;gap:10px;font-size:13px}.access-spaces .icon{color:var(--teal);flex-shrink:0}
.role-matrix caption{text-align:left;font-size:13px;font-weight:600;padding:12px 0}.role-matrix th[scope=row]{font-weight:500;text-align:left}
.account-spaces,.account-delegations{border:0;border-top:1px solid var(--border);padding:20px 0 0;margin:24px 0;min-width:0}
.account-spaces legend,.account-delegations legend{font-size:13px;font-weight:600;padding:0 10px 0 0}.account-spaces .check-row,.account-delegations .check-row{font-size:12px;line-height:1.6;min-height:34px;margin-bottom:5px}
.account-password-form{display:grid;gap:18px;max-width:480px;margin-top:20px}.account-password-form>.btn{justify-self:start;min-height:44px}
.account-create>summary h2,details.panel>summary h2{display:inline;margin:0}.account-create>summary,details.panel>summary{padding:4px 0;cursor:pointer}details.panel[open]>summary{margin-bottom:20px}
.account-create .form-grid{margin-top:18px}
@media(max-width:1000px){.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.permission-grid{grid-template-columns:1fr}.account-profile{gap:13px}.account-profile h2{font-size:17px}.account-password-form>.btn{width:100%}.account-spaces .check-row,.account-delegations .check-row{min-height:44px}}
