:root{--section-decisions:var(--t-coral);--section-rules:var(--t-amber);--section-sources:var(--t-teal);--section-assets:var(--t-amber);--section-log:var(--t-neutro)}html{scrollbar-gutter:stable}body{font:400 17px/1.55 var(--font-body);background:var(--bg);color:var(--fg)}a{color:inherit}*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--fg);outline-offset:2px}::selection{background:var(--amber);color:#0a0a0a}.view-projects,.view-sources,.section-sources,.projects-section,.source-classification{--tone:var(--teal);--tint:var(--t-teal);--field:#e8f5f5;--field-focus:#d8eeee}.view-rules,.section-rules,.view-assets,.view-artifacts,.section-assets,.pinned-section{--tone:var(--amber);--tint:var(--t-amber);--field:#fdf4dd;--field-focus:#faebc4}.view-decisions,.section-decisions,.decision-facts{--tone:var(--coral);--tint:var(--t-coral);--field:#fcebea;--field-focus:#f9dcda}.app-shell .page-heading,.app-shell .project-heading{background:0 0;border:0;flex-wrap:wrap;align-items:flex-start;gap:16px;margin-bottom:24px;padding:0}.app-shell .project-heading{--tone:var(--teal)}h1,h2,h3{font-family:var(--font-display);text-align:left}.app-shell :is(.page-heading,.project-heading,.home-heading) h1,.section-title-row-h1 .section-title{font-size:var(--type-title);letter-spacing:-.045em;text-decoration:underline;-webkit-text-decoration-color:var(--tone);text-decoration-color:var(--tone);text-underline-offset:.14em;text-decoration-skip-ink:none;overflow-wrap:anywhere;font-weight:700;line-height:1.02;text-decoration-thickness:4px}.app-shell :is(.section-heading,.settings-section) h2,.app-shell :is(.home-aside,.reader-aside) h3,.app-shell .section-title,.section-title{letter-spacing:-.03em;text-decoration:underline;-webkit-text-decoration-color:var(--tone);text-decoration-color:var(--tone);text-underline-offset:.16em;text-decoration-skip-ink:none;font-size:1.35rem;font-weight:600;line-height:1.2;text-decoration-thickness:.09em}.app-shell h3.section-title,h3.section-title{font-size:1.05rem}.app-shell .page-heading p,.project-summary{max-width:72ch;font-size:15px;line-height:1.55}.app-shell .project-summary{margin-top:12px}.section-title-row{align-items:center;gap:10px;min-width:0;margin:36px 0 14px;display:flex}.section-title-row .section-title{min-width:0;margin:0}.section-title-row-h1{margin:0}.section-title-row-h3{gap:8px;margin:6px 0 2px}:is(.section-heading,.page-heading,.project-heading,.settings-section,.reader-aside section,.home-aside section)>.section-title-row:first-child{margin-top:0}.section-heading>.section-title-row{margin-bottom:0}.guide-lens{border:1px solid var(--line);background:var(--bg);width:30px;height:30px;color:var(--fg);cursor:pointer;border-radius:999px;flex:none;place-items:center;padding:0;display:inline-grid}.guide-lens:hover{background:var(--field);color:#0a0a0a;border-color:var(--tone)}.app-shell .sidebar{border-right:0;gap:10px;width:200px;padding:24px 10px 20px 12px}.app-shell .sidebar-brand{padding:0 8px 12px}.app-shell .brand{font-size:30px;font-weight:700}.app-shell .workspace-switch{border:0;margin-bottom:10px;padding:8px}.app-shell .workspace-switch strong{font-size:15px}.app-shell .workspace-switch small{font-size:12px}.app-shell .sidebar nav{gap:2px}.app-shell .sidebar nav button{min-height:42px;color:var(--fg);border-radius:0;gap:10px;min-width:0;padding:7px 8px;font-size:15px;font-weight:400}.app-shell .sidebar nav button.nav-active{background:var(--t-neutro);box-shadow:none;font-weight:700}.app-shell .sidebar nav button>span{min-width:0}.app-shell .sidebar nav button>:is(.nav-icon-tile,.nav-ic){flex:0 0 26px}.nav-icon-tile,.nav-ic{background:var(--tint,var(--t-neutro));width:26px;height:26px;color:var(--fg);border-radius:7px;flex:none;place-items:center;display:inline-grid}.nav-icon-tile svg,.nav-ic svg{width:16px;height:16px}.app-shell .sidebar nav button>svg{background:var(--tint,var(--t-neutro));box-sizing:content-box;border-radius:7px;width:16px;height:16px;padding:5px}.app-shell .sidebar-section-title,.nav-group-title{color:var(--muted);font:700 11px/1.4 var(--font-body);text-transform:uppercase;letter-spacing:.09em}.nav-group-title{margin:10px 8px 4px}.app-shell .nav-divider{height:0;margin:10px 8px}.app-shell .sidebar-pins{margin:12px 8px}.app-shell .sidebar-bottom{border-top:0;margin-top:auto;padding:14px 8px 0}.app-shell .app-body{min-width:0;margin-left:200px}.app-shell .topbar{height:auto;min-height:66px;padding:12px var(--gutter);background:var(--bg);gap:16px}.app-shell .main-content{width:100%;min-width:0;max-width:none;padding:28px var(--gutter) 64px}.app-shell .breadcrumb{min-width:0}.app-shell .global-search{border:0;border-bottom:1px solid var(--fg);background:0 0;border-radius:0;max-width:280px;height:36px}.app-shell .global-search input{color:var(--fg);background:0 0;border:0;border-radius:0;padding-block:4px;font-size:15px}.app-shell .global-search:focus-within{outline:2px solid var(--fg);outline-offset:2px}.app-shell .quick-add{border-radius:999px}.area,.app-shell :is(.recent-section,.projects-section,.map-preview,.pinned-section,.settings-section,.decision-facts,.reader-aside>section){background:var(--tint,var(--t-neutro));box-shadow:none;border:0;border-radius:0;padding:18px 20px}.area+.area{margin-top:12px}.app-shell :is(.settings-section,.project-section,.recent-section,.projects-section):has(input:not([type=hidden]),select,textarea,.dg){background:0 0;border:0;padding:4px 0 8px}.app-shell .project-section{background:0 0;border:0;padding:4px 0 8px}.app-shell .section-log{background:var(--t-neutro);padding:18px 20px}.app-shell .quick-capture{background:var(--t-neutro);border:0;padding:18px 20px}.app-shell .project-grid{border:0;gap:12px}.app-shell .project-card,.app-shell .project-card+.project-card{background:var(--t-teal);border:0;padding:18px 20px}.app-shell .knowledge-stats{border:0;gap:12px}.app-shell .knowledge-stats>button,.app-shell .knowledge-stats>button+button{background:var(--tint,var(--t-neutro));border:0;min-width:0;padding:14px 16px 12px}.app-shell .knowledge-stats strong{font:500 2.4rem/1.05 var(--font-display);letter-spacing:-.04em}.app-shell .knowledge-stats small{color:var(--muted);font-size:13px}.app-shell .knowledge-stats>button:hover strong{text-underline-offset:6px;text-decoration:underline}.app-shell .project-card h3{font-weight:600}.app-shell .kind-badge{color:var(--fg);border-radius:999px}.app-shell .document-main strong{font-weight:600}.button,.btn{border:1px solid var(--fg);min-height:38px;font:400 15px/1.25 var(--font-body);color:var(--fg);background:var(--bg);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:6px;max-width:100%;padding:.5rem 1rem;text-decoration:none;display:inline-flex}.button:hover,.btn:hover{background:var(--hover)}.button.primary,.btn.primary{background:var(--fg);border-color:var(--fg);color:var(--bg)}.button.primary:hover,.btn.primary:hover{background:var(--b35-fg-soft);border-color:var(--b35-fg-soft)}.button.danger,.btn.danger{color:var(--bad);border-color:var(--bad);background:var(--bg)}.button.sm,.btn.sm{min-height:32px;padding:.35rem .85rem;font-size:14px}:is(.button,.btn,.icon-button):disabled{opacity:1;color:#5f5f5f;cursor:not-allowed;background:#ececec;border-color:#ececec}:is(.button,.btn):not(:disabled):active{box-shadow:0 0 0 5px #0a0a0a1f}:is(.button,.btn).primary:not(:disabled):active{box-shadow:0 0 0 5px #3fafaf73}:is(.button,.btn)[aria-busy=true],:is(.button,.btn).is-busy{opacity:1;background:var(--bg);color:var(--fg);border-color:var(--fg);cursor:progress}:is(.button,.btn).primary[aria-busy=true]{color:#fff;background:#333;border-color:#333}:is(.button,.btn,.icon-button,.dg-iconbtn).is-done,:is(.button,.btn,.icon-button,.dg-iconbtn).is-done:hover,:is(.button,.btn,.icon-button,.dg-iconbtn).is-done:disabled{opacity:1;background:var(--ok);border-color:var(--ok);color:#fff}.button-spinner,.button-check{flex:none;width:14px;height:14px}.icon-button{width:30px;min-width:30px;height:30px;min-height:30px;color:var(--fg);border-radius:999px;padding:0}:is(.text-button,.source-link,.export-choice,.markdown a){color:inherit;text-underline-offset:3px;text-decoration:underline}.text-button{font-size:14px}input[type=file]::file-selector-button{border:1px solid var(--fg);background:var(--bg);color:var(--fg);font:400 15px var(--font-body);cursor:pointer;border-radius:999px;margin-right:12px;padding:8px 16px}label{font-size:15px;font-weight:600}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea{background-color:var(--field);width:100%;min-width:0;color:var(--field-fg);box-shadow:none;border:0;border-bottom:2px solid #0000;border-radius:6px 6px 0 0;padding:10px 12px;font-size:15px;font-weight:400}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--fg);outline-offset:2px;background-color:var(--field-focus);border-bottom-color:var(--tone);box-shadow:none}:is(input,textarea)::placeholder{color:#5f5f5f}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}:is(input,select,textarea):disabled{background-color:var(--soft);color:var(--muted)}input[type=checkbox],input[type=radio]{accent-color:var(--fg);width:16px;height:16px;padding:0}:is(label:has(>input[type=checkbox]),label:has(>input[type=radio])){font-weight:400}:is(.library-toolbar,.artifacts-search,.artifacts-filters,.project-section-filters,.graph-controls,.global-search,.dg-toolbar,.guide-search) :is(input:not([type=checkbox]):not([type=radio]),select){border:0;border-bottom:1px solid var(--fg);color:var(--fg);background-color:#0000;border-radius:0;padding:4px 0 6px}:is(.library-toolbar,.artifacts-filters,.project-section-filters,.dg-toolbar) select{background-position:right 2px center;padding-right:24px}:is(.library-toolbar,.artifacts-filters,.project-section-filters,.dg-toolbar) label{color:var(--muted);font-size:12px;font-weight:400}:is(.editor-form,.link-project-form){max-width:680px}.app-shell .project-tabs{border:0;gap:8px;margin-block:20px 24px;padding:4px 2px 8px}.app-shell .project-tab{border:1px solid var(--fg);border-radius:999px;flex:none;gap:8px;min-height:36px;padding:6px 14px;font-size:14px;font-weight:400}.app-shell .project-tab.active{background:var(--fg);color:var(--bg);border-color:var(--fg)}.app-shell .project-tab.active>span:first-child{font-weight:600;text-decoration:none}.app-shell .project-tab:focus-visible{outline-offset:2px}.app-shell .project-actions .button{min-height:38px}.app-shell .project-section>.section-heading h2{margin-bottom:0;font-size:1.35rem;line-height:1.2}.app-shell .decision-facts{background:var(--t-coral)}dialog.contextual-guide{background:var(--bg);width:min(520px,100%);max-width:100%;height:100dvh;max-height:100dvh;color:var(--fg);border:0;border-radius:0;margin:0;padding:0;position:fixed;inset:0 0 0 auto;box-shadow:-20px 0 40px #00000014}dialog.contextual-guide[open]{grid-template-rows:auto auto minmax(0,1fr);display:grid}.contextual-guide::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0a0a0a47}.guide-heading{justify-content:space-between;align-items:center;gap:12px;padding:18px 22px 10px;display:flex}.guide-brand{font:700 1.3rem/1.2 var(--font-display);letter-spacing:-.03em}.guide-close{background:var(--soft);width:34px;min-width:34px;height:34px;min-height:34px}.guide-search{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:8px;margin:0 22px;padding-bottom:12px;font-weight:400;display:flex}.guide-search input{color:var(--fg)!important;background:0 0!important;border:0!important;border-radius:0!important;padding:4px 0!important}.guide-body{overscroll-behavior:contain;padding:16px 22px 48px;font-size:16px;overflow:auto}.guide-body h2{margin:0 0 12px;font-size:1.4rem;font-weight:600;line-height:1.2}.guide-body h3{margin:22px 0 8px;font-size:1.05rem;font-weight:600}.guide-back{color:var(--muted);margin-bottom:12px;font-size:13px}.guide-body p{margin:8px 0}.guide-body ul,.guide-body ol{gap:6px;margin:8px 0;padding-left:22px;display:grid}.guide-body ol li::marker{font-weight:600}.guide-example{background:var(--t-neutro);padding:12px 14px;font-size:15px}.guide-results{list-style:none;gap:0!important;padding:0!important}.guide-result{text-align:left;border-bottom:1px solid var(--line);gap:2px;width:100%;padding:12px 0;display:grid}.guide-result:hover strong{text-decoration:underline}.guide-result small{color:var(--muted);font-size:13px}.guide-faq details{border-bottom:1px solid var(--line)}.guide-faq summary{cursor:pointer;padding:12px 0;font-weight:600}.mobile-bottom-nav,.mobile-more-layer{display:none}@media (max-width:1100px){.app-shell .home-grid{grid-template-columns:minmax(0,1fr)}.app-shell .home-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.app-shell .sidebar,.app-shell .sidebar.sidebar-open,.app-shell .sidebar-backdrop,.app-shell .mobile-menu,.app-shell .mobile-close{display:none}.app-shell .app-body{margin-left:0}.app-shell .topbar{gap:10px;min-height:58px;padding:10px 16px}.app-shell .main-content{padding:20px 16px calc(88px + env(safe-area-inset-bottom))}.app-shell :is(.page-heading,.project-heading){padding:0}.app-shell .home-aside{grid-template-columns:minmax(0,1fr)}.app-shell :is(.page-heading,.home-heading,.project-heading) h1{font-size:clamp(2rem,3.6vw,2.8rem);line-height:1.02}.icon-button,.guide-lens{width:36px;min-width:36px;height:36px;min-height:36px}.app-shell .project-section{padding:4px 0 8px}.app-shell .section-log{padding:18px 16px}.app-shell .project-section>.section-heading{display:flex}.app-shell .project-actions{width:100%}.app-shell .project-actions .button{white-space:normal;flex:130px}.app-shell .project-heading-actions{width:100%}.app-shell .project-heading-actions>.button{flex:130px}.app-shell .knowledge-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .knowledge-stats>button{padding:14px 12px}.app-shell .knowledge-stats strong{font-size:2rem}.app-shell .knowledge-stats small{font-size:12px}.app-shell .project-tabs{margin-block:16px 20px}.mobile-bottom-nav{z-index:30;padding-bottom:env(safe-area-inset-bottom);background:var(--bg);border-top:1px solid var(--fg);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}.mobile-bottom-item{min-width:0;min-height:58px;color:var(--muted);font:400 11px/1.25 var(--font-body);flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:8px 2px;display:flex}.mobile-bottom-item>span:last-child{overflow-wrap:anywhere;max-width:100%}.mobile-bottom-item[aria-current=page]{color:var(--fg);box-shadow:inset 0 2px 0 var(--fg);font-weight:600}.mobile-nav-icon{display:inline-flex}.mobile-nav-icon svg{width:20px;height:20px}.mobile-more-layer{z-index:41;display:block;position:fixed;inset:0}.mobile-more-backdrop{background:#0a0a0a59;position:absolute;inset:0}.mobile-more-sheet{overscroll-behavior:contain;max-height:90dvh;padding:0 16px calc(16px + env(safe-area-inset-bottom));background:var(--bg);color:var(--fg);border-radius:18px 18px 0 0;position:absolute;inset:auto 0 0;overflow:auto;box-shadow:0 -8px 30px #0000001f}.mobile-sheet-handle{justify-content:center;padding:8px 0 6px;display:flex}.mobile-sheet-handle span{background:var(--line);border-radius:999px;width:40px;height:4px}.mobile-more-heading{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.mobile-more-heading h2{font-size:1.35rem;font-weight:600}.mobile-more-sheet ul{margin:0;padding:0;list-style:none}.mobile-more-sheet li>button{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 4px;font-size:15px;display:flex}.mobile-more-sheet li>button[aria-current=page]{font-weight:700}.mobile-more-footer{gap:10px;padding-top:16px;display:grid}.mobile-more-footer>.button,dialog.contextual-guide{width:100%}.app-shell .toast{bottom:calc(78px + env(safe-area-inset-bottom))}}@media (max-width:440px){.app-shell .home-heading{flex-wrap:wrap;gap:16px}.app-shell .home-heading>div{max-width:100%}.app-shell .home-heading>.button{width:auto;height:auto;padding:.5rem 1rem}.app-shell .home-heading>.button>svg{width:16px;height:16px}.app-shell .project-section-filters>label{flex-basis:100%;min-width:0}.app-shell .viewer-toolbar .button{white-space:normal}}.dg{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;display:grid}.dg-toolbar{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.dg-status{min-height:0;color:var(--muted);font-size:12px}.dg-status:empty{display:none}.dg-bulk{background:var(--soft);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.dg-pill{border:1px solid var(--fg);background:var(--bg);color:var(--fg);cursor:pointer;white-space:nowrap;transition:background .2s var(--ease);border-radius:999px;align-items:center;gap:6px;padding:3px 12px;font-size:13px;text-decoration:none;display:inline-flex}.dg-pill:hover{background:var(--hover)}.dg-pill[disabled]{opacity:.5;cursor:not-allowed}.dg-ghost{color:var(--muted);border-color:#cfcfcf}.dg-scroll{max-height:var(--dg-max,max(360px, calc(100dvh - 230px)));background:var(--bg);overflow:auto}.dg-grid{width:max(100%, var(--dg-min));font-size:14px;line-height:1.3}.dg-row{grid-template-columns:var(--dg-cols);display:grid}.dg-head{z-index:3;background:var(--bg);position:sticky;top:0}.dg-th{border-bottom:1px solid var(--fg);text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:var(--bg);align-items:flex-end;padding:8px;font-size:11px;font-weight:600;line-height:1.25;display:flex}.dg-sortbtn{text-align:left;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.dg-sortbtn:hover,.dg-sortbtn.is-active{color:var(--fg)}.dg-caret{opacity:.35;transition:opacity .2s var(--ease);display:inline-flex}.dg-sortbtn:hover .dg-caret{opacity:.7}.dg-caret.asc,.dg-caret.desc{opacity:1}.dg-td{border-bottom:1px solid var(--line);background:var(--bg);outline-offset:-2px;align-items:center;gap:6px;min-width:0;min-height:40px;padding:6px 8px;display:flex;position:relative}.dg-td+.dg-td:not(.dg-actions){box-shadow:inset 1px 0 #f1f1f1}.dg-td:focus-visible{outline:2px solid var(--fg)}.dg-val{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dg-check{justify-content:center;padding:6px 0}.dg-check input{width:16px;height:16px;accent-color:var(--fg);padding:0}.dg-pin{z-index:1;position:sticky}.dg-th.dg-pin{z-index:4}.dg-pin-last{box-shadow:inset -1px 0 0 var(--line)!important}.dg-actions{justify-content:flex-end;gap:2px;padding:4px}.dg-opens{cursor:pointer}.dg-opens .dg-val{text-underline-offset:3px;transition:text-decoration-color .2s var(--ease);-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.dg-opens:hover .dg-val{text-decoration-color:currentColor}.dg-iconbtn{min-width:30px;height:30px;color:var(--fg);cursor:pointer;transition:background .2s var(--ease);background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:12px;text-decoration:none;display:inline-flex}.dg-iconbtn:hover{background:#e9e9e9}.dg-editor{height:28px;font-size:14px;padding:2px 0!important}.dg-note{white-space:nowrap;color:var(--muted);font-size:11px}.dg-note.bad{color:var(--bad)}.dg-note.warn{color:var(--warn)}.dg-ok{color:var(--ok);display:inline-flex}.dg-td.has-error{box-shadow:inset 0 0 0 1px var(--bad)}.dg-td.has-conflict{box-shadow:inset 0 0 0 1px var(--warn);background:#fff8ec}.dg-empty{text-align:center;color:var(--muted);padding:40px 16px}.dg-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:768px){.dg-scroll{max-height:none;overflow:visible}.dg-grid{width:100%}.dg-head{display:none}.dg-row{border-bottom:1px solid var(--line);flex-flow:wrap;gap:2px 5px;padding:12px 4px 12px 16px;display:flex;position:relative}.dg-td{border:0;min-height:0;padding:0;position:static;box-shadow:none!important;background:0 0!important}.dg-pin{position:static}.dg-row>.dg-td{flex:1 0 100%}.dg-row>.dg-m-primary{flex:0 auto}.dg-m-hidden{display:none}.dg-row>.dg-actions{flex:1 0 100%;justify-content:flex-start;gap:6px;padding:6px 0 0}.dg-actions .dg-iconbtn{border:1px solid var(--line);background:var(--bg);min-width:36px;height:36px}.dg-m-primary{font-size:16px;font-weight:600}.dg-m-secondary{color:var(--muted);font-size:13px}.dg-check{width:18px;display:none;position:absolute;top:12px;left:-2px}.dg-selecting .dg-check{display:flex}.dg-selecting .dg-body-row{padding-left:24px}.dg-body-row.is-selected{background:var(--hover)}.dg-body-row{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.dg-note{font-size:11px}.dg-bulk{left:8px;right:8px;bottom:calc(64px + env(safe-area-inset-bottom));z-index:35;background:var(--bg);border-radius:14px;position:fixed;box-shadow:0 6px 24px #0000002e}}.sec-grid .card{background:var(--tint)}@media (max-width:768px){.sec-grid{padding:8px}}.sec{--panel-w:clamp(380px, 34vw, 540px);grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;display:grid}.sec.has-panel{grid-template-columns:minmax(0, 1fr) var(--panel-w);align-items:start}.sec.has-panel:has(.rp .chat){--panel-w:clamp(420px, 40vw, 640px)}.sec.is-full{grid-template-columns:minmax(0,1fr)}.sec.is-full .sec-main{display:none}.sec-head{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px;display:flex}.sec-head h1{margin-bottom:0}.sec-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sec-main{min-width:0}.sec-intro{max-width:72ch;color:var(--muted);margin:-8px 0 20px;font-size:15px}.sec-panel{min-width:0;max-height:calc(100vh - 32px);display:flex;position:sticky;top:16px}.sec.is-full .sec-panel{max-height:none;position:static}.rp{border-left:1px solid var(--fg);background:var(--bg);width:100%;min-height:0;max-height:calc(100vh - 32px);animation:rp-in .28s var(--ease);outline:none;flex-direction:column;display:flex;overflow:hidden}.rp-full{border-left:0;max-height:none}@media (min-width:769px){.sec-panel>.rp{height:calc(100vh - 32px)}.sec-panel>.rp.rp-full{height:auto;min-height:calc(100vh - 140px)}}.rp-head{align-items:flex-start;gap:8px;padding:2px 4px 12px 20px;display:flex}.rp-titles{flex:1;gap:4px;min-width:0;display:grid}.rp-title{letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.55rem;line-height:1.1;overflow:hidden}.rp-sub{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:2px 14px;font-size:13px;display:flex}.rp-sub .tlink{color:var(--fg)}.rp-tools{justify-content:flex-end;align-items:center;gap:2px;display:flex}.rp-bar{padding:0 20px 12px}.rp-back,.rp-handle{display:none}.rp-back{cursor:pointer;color:var(--fg);background:0 0;border:0;border-radius:999px;margin:0 2px 0 -8px;padding:6px;transform:rotate(180deg)}.rp-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;gap:18px;padding:0 20px;display:flex;overflow-x:auto}.rp-tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:8px 0;font-size:14px}.rp-tab:hover{color:var(--fg)}.rp-tab[aria-selected=true]{color:var(--fg);border-bottom-color:var(--fg)}.rp-body{flex:1;min-height:0;padding:18px 20px 24px;overflow:auto}.rp-backdrop{display:none}@keyframes rp-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:none}}@keyframes rp-up{0%{transform:translateY(100%)}to{transform:none}}.bb{display:none}@media (max-width:768px){.app{grid-template-columns:minmax(0,1fr)}.side{display:none}.main{padding:16px 16px calc(88px + env(safe-area-inset-bottom));max-width:100vw;overflow-x:clip}.sec.has-panel{grid-template-columns:minmax(0,1fr)}.sec.is-full .sec-main{display:block}.sec-panel{max-height:none;display:block;position:static}.rp{border-left:0;max-height:none}.rp-sheet,.rp-fullscreen{z-index:40;position:fixed}.rp-sheet{height:var(--rp-sheet-h,75vh);animation:rp-up .3s var(--ease);transition:transform .2s var(--ease);border-radius:18px 18px 0 0;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #0000001f}.rp-fullscreen{height:100dvh;animation:rp-up .3s var(--ease);border-radius:0;inset:0}.rp-fullscreen .rp-head{padding-top:10px}.rp-head{padding:4px 8px 10px 16px}.rp-title{font-size:1.3rem}.rp-bar{padding:0 16px 10px}.rp-tabs{padding:0 16px}.rp-body{padding:16px}.rp-sheet .rp-back,.rp-expand{display:none}.rp-fullscreen .rp-back{display:inline-flex}.rp-fullscreen .rp-close{display:none}.rp-handle{touch-action:none;cursor:grab;justify-content:center;padding:8px 0 6px;display:flex}.rp-handle span{background:#d0d0d0;border-radius:999px;width:40px;height:4px}.rp-backdrop{z-index:39;background:#00000059;display:block;position:fixed;inset:0}body.rp-modal .dg-bulk{display:none}.bb{z-index:30;background:var(--bg);border-top:1px solid var(--fg);padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bb-item{min-height:56px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;padding:8px 2px;font-size:11px;text-decoration:none;display:flex}.bb-item[aria-current=page]{color:var(--fg);box-shadow:inset 0 2px 0 var(--fg);font-weight:600}.bb-ico{display:inline-flex;position:relative}.bb-badge{background:var(--coral);color:#fff;text-align:center;border-radius:999px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:-6px;left:12px}.bb-sheet{z-index:41;background:var(--bg);padding:0 16px calc(16px + env(safe-area-inset-bottom));animation:rp-up .3s var(--ease);border-radius:18px 18px 0 0;outline:none;position:fixed;bottom:0;left:0;right:0}.bb-sheet ul{margin:0;padding:0;list-style:none}.bb-out{padding-top:8px}.bb-wiki{width:100%;margin-top:12px}.bb-out .btn{width:100%}.bb-sheet a{border-bottom:1px solid var(--line);padding:14px 4px;text-decoration:none;display:block}.bb-sheet a[aria-current=page]{font-weight:700}}@media (prefers-reduced-motion:reduce){.rp,.rp-sheet,.rp-fullscreen,.bb-sheet{animation:none!important}}.app-shell .main-content{container-type:inline-size}@container (max-width:920px){.sec.has-panel{grid-template-columns:minmax(0,1fr)}.sec.has-panel .sec-main{display:none}.sec.has-panel .sec-panel{max-height:none;position:static}.sec.has-panel .rp{border-left:0}}.dg-scroll{container-type:inline-size}.dg-sortbtn{min-height:28px}.dg-td input.dg-editor,.dg-td select.dg-editor{background:var(--field);color:#0a0a0a;border-radius:0;height:32px;padding:2px 4px!important}:is(.dg-val:has(.status-badge),.dg-val:has(.st)){flex:none;overflow:visible}.dg-status{color:var(--muted)}.dg-pill{min-height:30px}.rp{animation:none!important}.rp .dg-iconbtn{border:1px solid var(--fg);width:34px;height:34px}.rp-title{font-family:var(--font-display);font-weight:500}.rp-body .reader{width:100%;padding:0}.rp-body .reader h1{font-size:1.55rem}.rp-body .reader-layout{display:block}.rp-body .reader-aside{grid-template-columns:minmax(0,1fr);display:grid}.rp-body .viewer-toolbar,.rp-body .viewer-toolbar>div{flex-wrap:wrap}.rp-body .viewer-toolbar .button{white-space:normal}.rp .rp-tab{min-height:40px}.rp-body .revision-metadata{grid-template-columns:minmax(0,1fr)}.rp-body .revision-metadata dd+dt{margin-top:8px}@container (max-width:620px){.dg-scroll{max-height:none;overflow:visible}.dg-grid{width:100%}.dg-head{display:none}.dg-row{border-bottom:1px solid var(--line);flex-flow:wrap;gap:2px 5px;padding:12px 4px 12px 16px;display:flex;position:relative}.dg-td{border:0;min-height:0;padding:0;position:static;box-shadow:none!important;background:0 0!important}.dg-pin{position:static}.dg-row>.dg-td{flex:1 0 100%}.dg-row>.dg-m-primary{flex:0 auto;min-width:0;max-width:100%;font-size:16px;font-weight:600}.dg-m-hidden{display:none}.dg-row>.dg-actions{flex:1 0 100%;justify-content:flex-start;gap:6px;padding:6px 0 0}.dg-actions .dg-iconbtn{border:1px solid var(--line);background:var(--bg);min-width:36px;height:36px}.dg-m-secondary{color:var(--muted);font-size:13px}.dg-check{width:18px;display:none;position:absolute;top:12px;left:-2px}.dg-selecting .dg-check{display:flex}.dg-selecting .dg-body-row{padding-left:24px}.dg-body-row.is-selected{background:var(--soft)}}@media (max-width:768px){.dg-row>.dg-m-primary{min-width:0;max-width:100%}.dg-bulk{border-radius:14px}.dg-td>.dg-val{max-width:100%}.rp .dg-iconbtn{min-width:36px;min-height:36px}.rp-fullscreen{padding-bottom:env(safe-area-inset-bottom)}.rp-sheet{border-radius:18px 18px 0 0}.rp-body .reader h1{font-size:1.3rem}.rp-body .viewer-toolbar{gap:8px;padding:0}.rp-body .viewer-toolbar>div{gap:8px}}.app-shell .section-title-row-h1 .section-title{font-size:var(--type-title);letter-spacing:-.045em;text-underline-offset:.14em;font-weight:700;line-height:1.02;text-decoration-thickness:4px}.sec-grid{background:0 0;padding:0}.guide-body{min-width:0;overflow-y:auto}.guide-brand,.guide-back{align-items:center;gap:8px;display:inline-flex}.guide-search input{min-width:0}.contextual-guide .markdown{min-width:0;font-size:16px}.contextual-guide .markdown pre{max-width:100%;font-size:13px;overflow-x:auto}.contextual-guide .markdown table{max-width:100%;font-size:14px;display:block;overflow-x:auto}@media (max-width:768px){.app-shell .main-content{container-type:normal}}:is(.icon-button,.dg-iconbtn)[aria-busy=true]{opacity:1;color:var(--fg);background:var(--soft);cursor:progress}.record-workspace{grid-template-columns:minmax(0,1fr) minmax(380px,46%);align-items:start;gap:20px;min-width:0;display:grid}.record-grid{min-width:0}.record-workspace>.rp{min-width:0;max-width:540px;height:calc(100dvh - 108px);position:sticky;top:82px}.record-workspace-full{grid-template-columns:minmax(0,1fr)}.record-workspace-full>.record-grid{display:none}.record-workspace-full>.rp{max-width:none;height:calc(100dvh - 140px);position:relative;top:0}.rp-head .rp-title{white-space:normal;overflow-wrap:anywhere;font-size:1.55rem;font-weight:500;text-decoration:none}.operation-error{z-index:70;background:var(--bg);max-width:min(440px,100vw - 32px);color:var(--bad);border:1px solid var(--bad);align-items:center;gap:12px;padding:12px 16px;display:flex;position:fixed;bottom:24px;right:24px}@media (max-width:1000px) and (min-width:769px){.record-workspace{grid-template-columns:minmax(0,1fr)}.record-workspace>.record-grid{display:none}.record-workspace>.rp{border-left:0;max-width:none}}@media (max-width:768px){.record-workspace{display:block}.record-workspace>.rp{max-width:none;height:75dvh;position:fixed;top:auto}.record-workspace-full>.rp{border-radius:0;height:100dvh;top:0}.record-workspace-full>.record-grid{display:block}.operation-error{bottom:88px;right:16px}}.document-data-grid .dg-row.document-row{grid-template-columns:var(--dg-cols);border:0;gap:0;min-height:40px;margin:0;padding:0}.document-data-grid .dg-row.document-row:hover{background:0 0}.document-data-grid .document-main{align-items:center;gap:8px;min-width:0}.document-data-grid .document-title,.document-data-grid .artifacts-title{min-width:0;max-width:100%;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-data-grid .document-main strong{font:inherit;font-weight:600;line-height:1.3}.document-data-grid .kind-icon{border-radius:7px;flex:none;width:26px;height:26px;padding:4px}.app-shell :is(.kind-source,.kind-project){background:var(--t-teal);color:var(--fg)}.app-shell .kind-rule{background:var(--t-amber);color:var(--fg)}.app-shell .kind-decision{background:var(--t-coral);color:var(--fg)}@container (max-width:620px){.document-data-grid .dg-row.document-row{border-bottom:1px solid var(--line);gap:2px 5px;padding:12px 4px 12px 16px}.document-data-grid .dg-val,.document-data-grid :is(.document-title,.artifacts-title),.document-data-grid .document-main strong{white-space:normal;overflow-wrap:anywhere}.document-data-grid .dg-m-primary .document-main strong{font-size:16px;font-weight:700}}@media (max-width:768px){.document-data-grid .dg-row.document-row{border-bottom:1px solid var(--line);gap:2px 5px;padding:12px 4px 12px 16px}.document-data-grid .dg-val,.document-data-grid :is(.document-title,.artifacts-title),.document-data-grid .document-main strong{white-space:normal;overflow-wrap:anywhere}.document-data-grid .dg-m-primary .document-main strong{font-size:16px;font-weight:700}.app-shell .library-toolbar .filter-tabs{flex-wrap:wrap;overflow:visible}.mobile-bottom-item>span:last-child{overflow-wrap:normal}}.status-dot-label{color:var(--fg);align-items:center;gap:6px;font-size:13px;font-weight:700;display:inline-flex}.status-dot-label:before{content:"";background:currentColor;border-radius:999px;flex:none;width:8px;height:8px}.status-dot-label:is([data-state=current],[data-state=canonical],[data-state=active]):before{background:var(--ok)}.status-dot-label:is([data-state=superseded],[data-state=archived]):before{background:var(--muted)}.app-shell .filter-tabs button.active,.app-shell .project-tab.active{background:var(--fg);color:var(--bg);border-radius:999px}.app-shell .project-tab.active .section-count{background:var(--bg);color:var(--fg)}.dg-pill.is-done,.dg-pill.is-done:disabled{opacity:1;color:#fff;background:var(--ok);border-color:var(--ok)}.clear-x{z-index:1000;background:var(--clear-hover,var(--hover));width:24px;min-width:24px;height:24px;min-height:24px;color:var(--clear-fg,var(--fg));cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex;position:fixed}.clear-x:hover{background:var(--clear-fg,var(--fg));color:var(--clear-bg,var(--bg))}.clear-x>svg{pointer-events:none;width:14px;height:14px}input[data-clearing],textarea[data-clearing]{padding-right:30px!important}input[data-clearing=native]{padding-right:56px!important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}:is(.button,.btn,.dg-iconbtn,.dg-pill):not(:disabled):active{transform:scale(.96)}.dg-body-row:hover .dg-td{background-color:#f7f7f7}.dg-body-row.is-selected .dg-td{background-color:#f1f1f1}.dg-body-row.is-open .dg-td{background-color:#f4f9f9}.dg-body-row.is-open .dg-td:first-child{box-shadow:inset 3px 0 0 var(--teal)}[data-theme=night] .dg-body-row:is(:hover,.is-selected) .dg-td{background-color:var(--soft)}[data-theme=night] .dg-body-row.is-open .dg-td{background-color:var(--t-teal)}.dg-td.has-conflict,.dg-body-row.is-open .dg-td.has-conflict{box-shadow:inset 0 0 0 1px var(--warn);background:#fff8ec}@media (max-width:768px){.dg-body-row.is-open{box-shadow:inset 3px 0 0 var(--teal);background:#f4f9f9}.app-shell .app-body{height:calc(100dvh - 59px - env(safe-area-inset-bottom));scrollbar-gutter:stable;overscroll-behavior-y:contain;min-height:0;overflow-y:auto}body.rp-modal .app-body{overflow-y:hidden}body:has(dialog[open]) .app-body{overflow-y:hidden}body:has(.mobile-more-layer) .app-body{overflow-y:hidden}}.app-shell .project-section>.section-heading h2,.app-shell .instructions-recap>h2,.app-shell .instructions-sections>section>h2{font-family:var(--font-display);letter-spacing:-.03em;text-decoration:underline;-webkit-text-decoration-color:var(--tone);text-decoration-color:var(--tone);text-underline-offset:.16em;text-decoration-skip-ink:none;font-size:1.35rem;font-weight:600;line-height:1.2;text-decoration-thickness:.09em}
.product-overview{min-width:0}.product-sheet-content{max-width:80ch}.product-guide-section{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.product-guide-section h3,.product-guide-notice strong{font-weight:700}.product-guide-section .section-heading{flex-wrap:wrap;gap:12px}.product-guide-section .related-page{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;margin-bottom:0;padding:12px 0}.product-guide-notice{background:var(--t-amber);margin-bottom:20px;padding:18px 20px}.product-guide-notice p{margin:6px 0 12px}.product-guide-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.product-guide-form{gap:16px;display:grid}.product-guide-form>label{gap:6px;font-weight:600;display:grid}.product-review{margin-bottom:12px}.product-review-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.project-section-counts{flex-wrap:wrap;gap:6px 12px;display:flex}.project-section-counts a{color:var(--fg);text-underline-offset:3px;align-items:center;gap:4px;min-height:32px;text-decoration:underline;display:flex}.project-section-counts a:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.project-section-counts a span{font-size:12px}.active-filters{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;display:flex}.section-overview{--tone:var(--teal)}@media (max-width:768px){.dg-column-filters :is(input,select){min-height:36px}.product-review-row{flex-direction:column;align-items:flex-start}.product-guide-actions .button{padding:8px 12px;font-size:13px}.project-section-counts{gap:2px 10px}.project-section-counts a{min-height:36px}}.view-todos,.section-todos,.tab-todos.active,.todo-facts{--tone:var(--teal);background:var(--section-sources)}.kind-todo{color:var(--teal)}.todo-workspace{min-width:0}.todo-toolbar{flex-wrap:wrap;align-items:flex-end}.todo-toolbar>label{flex:180px;min-width:0}.todo-toolbar :is(input,select){width:100%;min-width:0;max-width:100%}.todo-editor-fields{gap:14px;display:grid}.todo-editor-fields>label{min-width:0}.todo-action-fields{border:0;gap:4px;min-width:0;margin:0;padding:0;display:grid}.todo-action-option{min-width:0}.todo-action-fields label{cursor:pointer;white-space:normal;align-items:center;gap:8px;min-height:30px;font-size:13px;font-weight:400;display:flex}.todo-action-fields input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0}.todo-action-option details{margin:0 0 4px 24px}.todo-action-option summary{cursor:pointer;white-space:normal;overflow-wrap:anywhere;font-size:12px}.todo-action-moments{padding:4px 0}.todo-action-cell{white-space:normal;overflow-wrap:anywhere;min-width:0}.todo-actions-saved{color:var(--ok)}.todo-actions-help{margin:8px 0 12px}.todo-data-grid .dg-th.has-filter{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:6px;padding-block:8px}.todo-data-grid .dg-th.has-filter>.dg-sortbtn{align-self:flex-start}.todo-data-grid .dg-th :is(input:not([type=checkbox]),select),.dg-column-filters :is(input,select){text-transform:none;letter-spacing:normal;color:#0a0a0a;background:var(--field);width:100%;min-width:0;max-width:100%;min-height:32px;padding:5px 6px;font-size:12px;font-weight:400}.todo-data-grid input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.todo-cell-edit-value{cursor:pointer;align-items:center;gap:6px;max-width:100%;display:inline-flex}.todo-cell-edit-value>svg{color:var(--muted);flex:none}.todo-data-grid .dg-td[data-column-id=todoPriority],.todo-data-grid .dg-td[data-column-id=todoAssignee],.todo-data-grid .dg-td :is(input,select).dg-editor{min-height:36px}.todo-filter-pair{gap:4px;min-width:0;display:grid}.dg-column-filters{margin:8px 0 12px}.dg-column-filters summary{cursor:pointer;min-height:36px;padding-block:8px}.dg-column-filters>div{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px;padding-block:12px;display:grid}.dg-column-filters .dg-column-filter{gap:5px;min-width:0;display:grid}.todo-clear-filters{margin-bottom:10px}.todo-data-grid.document-data-grid .dg-row>[data-column-id=title] .dg-val,.todo-data-grid.document-data-grid .dg-row>[data-column-id=summary] .dg-val{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;width:100%;max-width:100%;display:block;overflow:visible}.todo-data-grid.document-data-grid .dg-row .document-main{align-items:flex-start;width:100%}.todo-data-grid.document-data-grid .dg-row .document-title,.todo-data-grid.document-data-grid .dg-row .document-main strong{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;text-align:left;width:100%;min-width:0;display:block;overflow:visible}.todo-action-flags{grid-template-rows:repeat(2,36px);grid-template-columns:repeat(3,36px);gap:4px;width:116px;height:76px;display:grid}.todo-action-flags .todo-action-flag{border:1px solid var(--line);border-radius:var(--radius-icon,7px);background:var(--bg);width:36px;height:36px;min-height:36px;color:var(--fg);cursor:pointer;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex;position:relative}.todo-action-flags .todo-action-flag.is-selected{background:var(--fg);color:var(--bg);border-color:var(--fg)}.todo-action-flags .todo-action-flag:focus-within{outline:2px solid var(--fg);outline-offset:2px}.todo-action-flags button:disabled{cursor:default;opacity:.55}.todo-action-flags .todo-action-flag:has(input:disabled){cursor:default;opacity:.55}.todo-action-flags input[type=checkbox]{opacity:0;width:36px;height:36px;cursor:inherit;margin:0;position:absolute;inset:0}.todo-action-flag>svg{pointer-events:none}.todo-flag-check{position:absolute;bottom:1px;right:1px}.todo-action-cell{width:116px;position:relative}.todo-data-grid .dg-val:has(.todo-action-cell){overflow:visible}.todo-action-cell>[role=status]{background:var(--bg);position:absolute;top:-4px;right:-4px}@media (min-width:769px){.document-row:has(.todo-action-cell)>.dg-td{align-self:stretch}}@media (max-width:768px){.todo-action-fields label,.todo-action-option summary{min-height:36px}.todo-action-option summary{padding:8px 0;display:list-item}.todo-action-cell{width:100%}}.todo-facts{margin-bottom:20px;padding:18px}.todo-facts :is(p,blockquote){white-space:pre-wrap;overflow-wrap:anywhere}.todo-facts h2{margin-top:0}.todo-facts h3{margin-bottom:6px;font-size:13px}.todo-origin{margin-top:16px}.todo-origin a{align-items:center;min-height:36px;text-decoration:underline;display:inline-flex}.todo-origin blockquote{border-left:2px solid var(--line);margin:10px 0 0;padding-left:12px}.status-dot-label[data-state=pending]:before{background:var(--muted)}.status-dot-label[data-state=in_progress]:before{background:var(--teal)}.status-dot-label[data-state=blocked]:before{background:var(--coral)}.status-dot-label[data-state=done]:before{background:var(--ok)}.status-dot-label[data-state=cancelled]:before{background:var(--muted)}@media (max-width:768px){.todo-heading{align-items:flex-start}.todo-toolbar>label{flex-basis:100%}.todo-toolbar>.button,.todo-origin a{min-height:44px}}
.app-shell .handoff-sidebar{gap:8px;padding-top:20px;padding-bottom:12px;overflow:hidden}.handoff-sidebar>:not(.sidebar-scroll){flex:none}.app-shell .handoff-sidebar .sidebar-brand{padding-bottom:8px}.sidebar-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.sidebar-idea{text-align:left;border-radius:var(--radius-icon);width:100%;min-height:44px;color:var(--fg);align-items:center;gap:10px;padding:6px 8px;font-size:16px;font-weight:700;display:flex}.sidebar-idea:hover{background:var(--hover)}.sidebar-idea .nav-icon-tile{background:var(--t-teal);width:30px;height:30px}.app-shell .handoff-sidebar .sidebar-bottom{flex:none;margin-top:0;padding:8px 4px 0}.app-shell .handoff-sidebar .sidebar-utilities{flex-direction:row;gap:6px;display:flex}.app-shell .handoff-sidebar .sidebar-utilities button{flex:1;gap:5px;min-width:0;min-height:36px;padding:4px 3px;font-size:12px}.app-shell .handoff-sidebar .sidebar-utilities button>svg{width:14px;height:14px;padding:3px}.app-shell .handoff-sidebar .storage-status{gap:5px;margin:6px 3px 8px;font-size:10px}.app-shell .handoff-sidebar .profile{border-top:1px solid var(--line);align-items:center;gap:4px;margin:0;padding:8px 0 0;display:flex}.sidebar-account{text-align:left;flex:1;align-items:center;gap:8px;min-width:0;min-height:48px;padding:0;display:flex}.sidebar-account>span:last-child{min-width:0;display:grid}.sidebar-account strong{font-size:13px;line-height:1.4}.sidebar-account small{color:var(--muted);white-space:normal;font-size:11px;line-height:1.4}.sidebar-account .avatar{flex:none;width:30px;height:30px}.home-simple{max-width:1560px}.home-recent{margin-bottom:36px}.home-simple .section-heading{flex-wrap:wrap;gap:12px;margin-bottom:14px}.home-simple .section-heading>.section-title-row{margin-top:0}.home-entry-list{border-top:1px solid var(--line)}.home-entry{border-bottom:1px solid var(--line);text-align:left;width:100%;min-width:0;min-height:68px;color:var(--fg);align-items:center;gap:16px;padding:12px 8px;display:flex}.home-entry:hover{background:var(--hover)}.home-entry-copy{flex:1;gap:2px;min-width:0;display:grid}.home-entry-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.home-entry-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.home-entry time{color:var(--muted);white-space:nowrap;flex:none;font-size:13px}.home-entry>svg{flex:none}.home-entry:hover strong{text-underline-offset:3px;text-decoration:underline}.home-projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.home-project-card{background:var(--t-teal);min-width:0;min-height:248px;color:var(--fg);text-align:left;border:0;border-radius:0;grid-template-rows:auto auto 1fr auto;gap:16px;padding:24px;display:grid}.home-project-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.home-project-top .kind-icon{flex:none;padding:4px}.home-project-top .status-dot-label{font-size:12px}.home-project-card h3{letter-spacing:-.035em;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:600;line-height:1.2}.home-project-card p{color:var(--muted);-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:16px;line-height:1.6;display:-webkit-box;overflow:hidden}.home-project-bottom{color:var(--muted);justify-content:space-between;align-self:end;align-items:center;gap:12px;padding-top:8px;font-size:13px;display:flex}.home-project-bottom svg{color:var(--fg);flex:none}.home-project-card:hover h3{text-underline-offset:5px;text-decoration:underline;text-decoration-thickness:2px}dialog.modal:has(>.editor-form){width:740px;height:min(900px,92dvh);max-height:92dvh;overflow:hidden}dialog.modal[open]:has(>.editor-form){flex-direction:column;display:flex}.modal:has(>.editor-form)>.modal-heading{flex:none;padding:16px 24px}.modal .editor-form{flex-direction:column;flex:1;max-width:none;min-height:0;display:flex;overflow:hidden}.modal .editor-fields{overscroll-behavior:contain;flex:1;gap:16px;min-height:0;padding:20px 24px 24px;overflow-y:auto}.modal .editor-fields>label:first-child{gap:6px}.modal .editor-fields .title-input{min-height:56px;font-weight:600;font-size:26px!important}.modal .editor-fields .form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;min-width:0}.modal .editor-fields input,.modal .editor-fields select{font-size:15px}.modal .editor-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:-8px}.modal .editor-toolbar>div{gap:12px}.modal .content-input{resize:vertical;min-height:200px;font-size:16px;line-height:1.6}.modal .editor-preview{background:var(--soft);border:0;min-height:200px;padding:12px}.modal .editor-details{border-top:1px solid var(--line)}.editor-details>summary{cursor:pointer;min-height:48px;padding:12px 0;font-size:15px;font-weight:600}.editor-details-fields{flex-direction:column;gap:16px;padding-top:8px;display:flex}.modal .editor-footer{background:var(--bg);flex:none;gap:12px;min-width:0;padding:12px 24px;position:relative;bottom:auto}.modal .editor-footer .button{white-space:nowrap;min-height:44px}.editor-shortcut{font:12px var(--font-body);color:var(--muted);margin-left:auto}.app-shell :is(.library-toolbar,.artifacts-search,.artifacts-filters,.project-section-filters,.global-search,.graph-controls) :is(input:not([type=checkbox]):not([type=radio]),select){background-color:var(--field);color:var(--field-fg);border:1px solid color-mix(in srgb, var(--fg) 45%, var(--bg));border-radius:var(--radius-field);border-bottom-width:2px;min-height:44px;padding:8px 12px}.app-shell :is(.library-toolbar,.artifacts-filters,.project-section-filters,.graph-controls) select{background-position:right 12px center;padding-right:34px}.app-shell :is(.library-toolbar,.artifacts-filters,.project-section-filters,.graph-controls) label{color:var(--fg);font-size:13px;font-weight:600}.app-shell :is(.library-toolbar,.artifacts-search,.artifacts-filters,.project-section-filters,.global-search,.graph-controls) :is(input,select):focus-visible{outline:2px solid var(--fg);outline-offset:2px;background-color:var(--field-focus);border-color:var(--fg)}.app-shell .global-search{background:0 0;border:0;height:44px}.app-shell .global-search input{padding-left:12px}@media (max-width:1200px){.home-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.home-projects-grid{grid-template-columns:minmax(0,1fr);gap:12px}.home-project-card{gap:12px;min-height:220px;padding:20px}.home-entry{gap:10px;padding-inline:0}.home-entry>svg{display:none}.home-entry time{font-size:12px}dialog.modal:has(>.editor-form){border-radius:0;width:100%;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.modal:has(>.editor-form)>.modal-heading{padding:12px 16px}.modal .editor-fields{padding:16px}.modal .editor-fields .form-row{gap:12px}.modal .editor-details-fields .form-row{grid-template-columns:minmax(0,1fr)}.modal .editor-fields select{font-size:16px}.modal .editor-footer{padding:10px 16px max(10px, env(safe-area-inset-bottom))}.modal .editor-shortcut{display:none}.modal .editor-toolbar{align-items:flex-start}.modal .editor-toolbar>span{flex:100%}.mobile-idea{margin-block:8px}}@media (max-height:560px) and (min-width:769px){.app-shell .handoff-sidebar{gap:4px;padding-top:10px}.app-shell .handoff-sidebar .sidebar-brand{padding-bottom:0}.app-shell .handoff-sidebar .sidebar-bottom{padding-top:4px}.app-shell .handoff-sidebar .storage-status{margin-block:2px}}@media (max-width:768px){.document-data-grid .dg-row.document-row{gap:4px 10px;padding:10px 0 10px 24px}.document-data-grid .dg-row>.dg-m-primary{flex:1 0 100%;max-width:100%}.document-data-grid .dg-row>.dg-m-secondary{flex:0 auto;max-width:100%;font-size:12px}.document-data-grid .dg-row>.dg-td[data-c="1"]{flex-basis:100%}.document-data-grid .dg-row>.dg-td[data-c="1"] .dg-val{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.document-data-grid .dg-row>.dg-actions{flex-basis:100%;gap:6px;padding-top:4px}.document-data-grid .dg-check{width:24px;min-height:30px;display:flex;top:9px;left:-4px}.document-data-grid .dg-m-primary .dg-val{width:100%}.document-data-grid .document-title,.document-data-grid .artifacts-title{text-align:left;width:100%}.document-data-grid .dg-row .document-main{align-items:flex-start}.document-data-grid .dg-row .document-main strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@container (max-width:620px){.document-data-grid .dg-row.document-row{gap:4px 10px;padding:10px 0 10px 24px}.document-data-grid .dg-row>.dg-m-primary{flex:1 0 100%;max-width:100%}.document-data-grid .dg-row>.dg-m-secondary{flex:0 auto;max-width:100%;font-size:12px}.document-data-grid .dg-row>.dg-td[data-c="1"]{flex-basis:100%}.document-data-grid .dg-row>.dg-td[data-c="1"] .dg-val{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.document-data-grid .dg-row>.dg-actions{flex-basis:100%;gap:6px;padding-top:4px}.document-data-grid .dg-check{width:24px;min-height:30px;display:flex;top:9px;left:-4px}.document-data-grid .dg-m-primary .dg-val{width:100%}.document-data-grid .document-title,.document-data-grid .artifacts-title{text-align:left;width:100%}.document-data-grid .dg-row .document-main{align-items:flex-start}.document-data-grid .dg-row .document-main strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}
.calendar-credentials{gap:16px;max-width:680px;margin-block:24px;display:grid}.calendar-credentials label{gap:6px;min-width:0;font-weight:600;display:grid}.calendar-credentials input{width:100%;min-width:0}.calendar-credentials .button{justify-self:start;max-width:100%}.calendar-auto{min-width:0;max-width:680px;margin-top:24px}.calendar-auto fieldset{border:0;min-width:0;margin:0;padding:0}.calendar-auto legend{margin-bottom:14px;font-weight:600}.calendar-auto .checkbox{align-items:center;gap:12px;min-height:44px;padding-block:12px;display:flex}.calendar-auto .calendar-toolbar{margin-top:16px}.calendar-auto .calendar-toolbar .button{white-space:normal;max-width:100%}.calendar-icloud .catalog-actions{margin-block:16px}.calendar-source-note{margin-top:16px}@media (max-width:620px){.calendar-credentials .button{width:100%}.calendar-auto .calendar-toolbar{grid-template-columns:minmax(0,1fr);display:grid}}.calendar-reminder-form{gap:16px;max-width:680px;margin-block:24px;display:grid}.calendar-reminder-form label{gap:6px;min-width:0;font-weight:600;display:grid}.calendar-reminder-form input{width:100%;min-width:0}.calendar-reminders-grid select{max-width:100%}.calendar-reminders-grid .button{white-space:normal;max-width:100%;margin-top:8px}@media (max-width:620px){.calendar-reminders-grid{display:block}.calendar-reminders-grid thead{display:none}.calendar-reminders-grid tbody,.calendar-reminders-grid tr{width:100%;display:block}.calendar-reminders-grid td,.calendar-reminders-grid td:last-child{border-bottom:0;width:100%;padding:8px 0;display:block}.calendar-reminders-grid tr{border-bottom:1px solid var(--line);padding:12px 0}.calendar-reminders-grid td:last-child{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.calendar-reminders-grid .button{margin:0}}.calendar-workspace .field-help a{align-items:center;max-width:100%;min-height:44px;display:inline-flex}
.device-settings{min-width:0}.device-access-list{gap:20px;margin:20px 0;padding:0;list-style:none;display:grid}.device-access-list li{border-bottom:1px solid var(--line);justify-items:start;gap:8px;min-width:0;padding-bottom:16px;display:grid}.device-access-list strong,.device-access-list small{overflow-wrap:anywhere;max-width:100%}.device-settings .button{white-space:normal;max-width:100%}
.operations-workspace{width:100%;min-width:0}.operations-workspace *,.operations-job-detail *{min-width:0}.operations-workspace p,.operations-workspace strong,.operations-workspace small,.operations-workspace span,.operations-workspace li,.operations-workspace td,.operations-job-detail{overflow-wrap:anywhere}.operations-workspace .page-heading p{max-width:72ch}.operations-section{margin-block:28px;padding-top:8px}.operations-toolbar,.operations-row-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.operations-toolbar{margin-block:16px}.operations-workspace .button,.operations-job-detail .button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:36px}.operations-form{gap:16px;max-width:680px;margin-block:20px;display:grid}.operations-form fieldset{border:0;gap:16px;margin:0;padding:0;display:grid}.operations-form label,.operations-thread-select{gap:6px;font-weight:600;display:grid}.operations-form input:not([type=checkbox]),.operations-form select,.operations-form textarea,.operations-thread-select select{width:100%;max-width:100%;min-height:40px}.operations-form textarea{resize:vertical}.operations-form .button{justify-self:start}.operations-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.operations-form .operations-repository{border-top:1px solid var(--line);padding-block:18px}.operations-repository legend{padding-top:12px;font-weight:600}.operations-form .operations-checkbox{align-items:center;gap:12px;min-height:44px;display:flex}.operations-checkbox input{flex:none;width:20px;height:20px}.operations-thread-select{max-width:680px;margin-block:20px}.operations-jobs{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px}.operations-jobs th{text-align:left;text-transform:uppercase;color:var(--muted);font-size:11px}.operations-jobs th,.operations-jobs td{vertical-align:top;border-bottom:1px solid var(--line);padding:12px 10px}.operations-jobs th:first-child,.operations-jobs td:first-child{width:30%;padding-left:0}.operations-jobs th:nth-child(2){width:23%}.operations-jobs th:nth-child(3){width:17%}.operations-jobs th:last-child{width:30%}.operations-jobs small,.operations-checkpoints span,.operations-checkpoints small,.operations-archive span,.operations-archive time{margin-top:6px;display:block}.operations-jobs .st{white-space:normal}.operations-status-succeeded{color:var(--ok)}.operations-status-failed{color:var(--bad)}.operations-messages{gap:16px;max-width:840px;margin-block:24px;display:grid}.operations-message{background:var(--soft);border-radius:14px 14px 14px 4px;padding:16px}.operations-message-assistant{background:var(--t-teal,var(--soft));border-left:3px solid var(--teal)}.operations-message-user{background:var(--t-sand,var(--soft));border-left:3px solid var(--fg)}.operations-message p,.operations-output{white-space:pre-wrap}.operations-message small{color:var(--muted);display:block}.operations-message .tlink{text-align:left;align-items:center;min-height:36px;margin-top:6px;display:inline-flex}.operations-events,.operations-archive,.operations-checkpoints{margin-block:20px;padding:0;list-style:none}.operations-events li,.operations-archive li,.operations-checkpoints li{border-bottom:1px solid var(--line);padding-block:12px}.operations-events time{color:var(--muted);margin-top:4px;display:block}.operations-events p{margin-bottom:0}.operations-job-detail dl{grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:8px 16px;display:grid}.operations-job-detail dt{color:var(--muted)}.operations-job-detail dd{margin:0}.operations-workspace .notice{max-width:840px}.operations-workspace button,.operations-workspace input,.operations-workspace textarea,.operations-workspace select,.operations-message{transition:none!important;animation:none!important}@media (max-width:760px){.operations-jobs,.operations-jobs tbody,.operations-jobs tr{width:100%;display:block}.operations-jobs thead{display:none}.operations-jobs tr{border-bottom:1px solid var(--line);padding-block:14px}.operations-jobs td,.operations-jobs td:first-child{border:0;width:100%;padding:6px 0;display:block}.operations-row-actions{gap:8px}.operations-jobs td:first-child strong{font-size:16px}}@media (max-width:480px){.operations-fields{grid-template-columns:minmax(0,1fr)}.operations-form .button{justify-self:stretch}.operations-toolbar{align-items:stretch}.operations-toolbar .button{flex:150px}.operations-job-detail dl{grid-template-columns:minmax(0,1fr);gap:4px}.operations-job-detail dd{margin-bottom:10px}}.office-project{background:var(--tint);min-width:0;margin:12px 0;padding:18px 20px}.office-project>h3{text-decoration:underline;-webkit-text-decoration-color:var(--tone);text-decoration-color:var(--tone);text-underline-offset:4px}.office-room-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;display:grid}.office-room{border-top:1px solid var(--line);overflow-wrap:anywhere;min-width:0;padding:16px 0}.office-room h4{margin:0 0 10px;font-weight:700}.office-room p{margin:8px 0}.office-room>small,.office-room li small{color:var(--muted);font-size:13px;display:block}.office-room ul{padding-left:20px}.office-room li{margin:12px 0}
.whatsapp-settings{grid-column:1/-1;min-width:0}.wa-form,.wa-setup{max-width:680px}.wa-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;display:grid}.whatsapp-settings label{gap:8px;min-width:0;font-weight:600;display:grid}.whatsapp-settings input{width:100%;min-width:0;max-width:100%;font-weight:400}.whatsapp-settings :is(p,small,td){overflow-wrap:anywhere}.wa-setup h3{margin:36px 0 14px}.wa-setup>label{margin:16px 0}.wa-actions{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.whatsapp-settings .button{white-space:normal;max-width:100%}.wa-status{align-items:baseline;gap:8px;font-weight:600;display:inline-flex}.wa-status-dot{background:var(--fg);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.wa-events table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px}.wa-events :is(th,td){text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:12px 8px}.wa-events th{color:var(--muted);font-size:12px}.wa-events small{display:block}@media (max-width:600px){.wa-fields{grid-template-columns:minmax(0,1fr)}}
