:root{--canvas:#f6f8fb;--surface:#fff;--surface-muted:#f1f4f8;--text:#202c3e;--muted:#5c697b;--border:#e1e6ee;--border-strong:#bdc8d6;--accent:#37588c;--accent-hover:#29436d;--accent-soft:#eaf0f9;--shadow:0 2px 8px #192a410a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--canvas);margin:0}a{color:var(--accent);font-weight:600;text-decoration:none}a:hover{color:var(--accent-hover)}button,input,select,textarea{font:inherit}button,.button{min-height:42px;color:var(--surface);cursor:pointer;background:var(--accent);border:1px solid var(--accent);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:.875rem;font-weight:600;line-height:1;text-decoration:none;transition:background-color .16s,border-color .16s,box-shadow .16s;display:inline-flex}button:hover,.button:hover{color:var(--surface);background:var(--accent-hover);border-color:var(--accent-hover)}button:disabled,.button[aria-disabled=true]{cursor:not-allowed;background:var(--surface-muted);border-color:var(--border);color:var(--muted);box-shadow:none}.button-secondary{border-color:var(--border);background:var(--surface);color:var(--text)}.button-secondary:hover{border-color:var(--border-strong);background:var(--surface-muted);color:var(--text)}.button-danger{color:#a01818;border-color:#f1b7b7}.button-danger:hover{color:#991b1b;background:#fff0f0;border-color:#b91c1c}.button-compact{min-height:36px;padding-inline:12px;font-size:.9rem}.icon-button{border-color:var(--border);background:var(--surface);width:36px;min-height:36px;color:var(--muted);padding:0}.icon-button:hover{border-color:var(--border-strong);background:var(--surface-muted);color:var(--text)}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}code{background:var(--surface-muted);border-radius:4px;padding:.12em .3em;font-size:.95em}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page{place-items:center;min-height:100vh;padding:32px;display:grid}.app-shell .page{min-height:calc(100vh - 66px)}.workspace-page{min-height:calc(100vh - 66px);padding:32px}.auth-bar{border-bottom:1px solid var(--border);background:var(--surface);min-height:66px;color:var(--muted);justify-content:space-between;align-items:center;gap:24px;padding:14px max(32px,50vw - 590px);font-size:.82rem;font-weight:500;display:flex}.auth-nav{align-items:center;gap:8px;display:flex}.auth-nav a{min-height:34px;color:var(--muted);border-radius:6px;align-items:center;padding:0 12px;font-size:.9rem;font-weight:600;display:inline-flex}.auth-nav a:hover,.auth-nav a.active{background:var(--accent-soft);color:var(--accent)}.auth-identity{overflow-wrap:anywhere;margin-left:auto}.auth-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.auth-error,.form-error,.notice-error{color:#991b1b}.auth-error,.form-error{margin-top:12px}.panel,.form-panel{border:1px solid var(--border);background:var(--surface);width:min(960px,100%);box-shadow:var(--shadow);border-radius:10px;margin:0 auto;padding:36px}.panel{width:min(720px,100%)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:12px;font-size:clamp(1.85rem,3vw,2.6rem);font-weight:650;line-height:1.15}h2{letter-spacing:-.02em;font-size:1.2rem;font-weight:650;line-height:1.2}h3{letter-spacing:-.01em;font-size:1.08rem;font-weight:650;line-height:1.25}p{max-width:68ch;color:var(--muted);margin-bottom:0;font-size:1rem;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:8px;font-size:.7rem;font-weight:600}.api-status{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}.status-heading{align-items:center;gap:10px;margin-bottom:18px;font-weight:600;display:flex}.status-dot{width:.72rem;height:.72rem;box-shadow:var(--shadow);background:#7b8797;border-radius:999px;flex:none}.status-dot[data-state=ok]{box-shadow:var(--shadow);background:#0f8f64}.status-dot[data-state=error]{box-shadow:var(--shadow);background:#c2410c}.status-dot[data-state=waiting]{box-shadow:var(--shadow);background:#8a6a2a}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0;display:grid}.status-grid div{min-width:0}.status-grid dt{color:var(--muted);text-transform:uppercase;margin-bottom:4px;font-size:.8rem;font-weight:600}.status-grid dd{overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:700}.page-heading{margin-bottom:28px}.topic-form{flex-direction:column;gap:22px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.field{min-width:0;color:var(--text);flex-direction:column;gap:8px;font-size:.92rem;font-weight:600;display:flex}.field--full{grid-column:1/-1}.field input,.field select,.field textarea,.search-field input,.table-control{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-width:0;color:var(--text);border-radius:10px;font-size:1rem;font-weight:400}.field input,.field select,.search-field input,.table-control{min-height:46px;padding:0 13px}.field textarea{resize:vertical;min-height:132px;padding:12px 13px}.field input::placeholder,.field textarea::placeholder,.search-field input::placeholder{color:var(--muted)}.field input:focus,.field select:focus,.field textarea:focus,.search-field input:focus,.table-control:focus{border-color:var(--accent);box-shadow:var(--shadow);outline:none}.markdown-input{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;line-height:1.55}.tag-preview,.tag-list{flex-wrap:wrap;gap:8px;display:flex}.tag-chip{border:1px solid var(--border);background:var(--surface-muted);min-height:26px;color:var(--accent);border-radius:999px;align-items:center;padding:0 10px;font-size:.82rem;font-weight:600;display:inline-flex}.form-actions{flex-wrap:wrap-reverse;justify-content:space-between;gap:12px;padding-top:4px;display:flex}.dashboard-shell{width:min(1180px,100%);margin:0 auto}.overview-hero,.architecture-hero{color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:none;border-radius:16px;gap:34px;display:grid;position:relative;overflow:hidden}.overview-hero:before,.architecture-hero:before{pointer-events:none;content:none;background-position:50%;background-size:78px 78px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000 18% 82%,#0000);mask-image:linear-gradient(90deg,#0000,#000 18% 82%,#0000)}.overview-hero{grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);align-items:center;gap:28px;margin-bottom:0;padding:36px 40px}.overview-hero__content,.architecture-hero__content{z-index:1;position:relative}.overview-kicker{color:var(--accent);text-transform:uppercase;letter-spacing:.12em;margin-bottom:12px;font-size:.7rem;font-weight:600}.overview-hero h1,.architecture-hero h1{max-width:720px;color:var(--text);letter-spacing:-.04em;margin-bottom:18px;font-size:clamp(2rem,3.5vw,3rem);font-weight:650;line-height:1.12}.overview-hero h1{max-width:600px;margin-bottom:12px;font-size:clamp(2rem,3.2vw,2.8rem);line-height:1.12}.overview-hero p:not(.overview-kicker),.architecture-hero p:not(.overview-kicker){max-width:62ch;color:var(--muted);font-size:1.08rem}.overview-hero p:not(.overview-kicker){max-width:56ch;font-size:.95rem;line-height:1.65}.overview-hero__actions,.architecture-hero__actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.overview-hero__actions{margin-top:24px}.overview-visual,.architecture-hero-map{z-index:1;min-height:350px;position:relative}.overview-visual{min-height:238px}.overview-visual__grid,.architecture-hero-map__grid{border:1px solid var(--border);background:var(--surface-muted);border-radius:20px;position:absolute;inset:34px 18px 18px;transform:none}.overview-visual__grid{inset:22px 10px 10px}.overview-visual__line,.architecture-hero-map__rail{background:var(--border-strong);box-shadow:none;border-radius:999px;height:1px;position:absolute}.overview-visual__line--one{width:62%;top:46%;left:18%;transform:rotate(-18deg)}.overview-visual__line--two{width:54%;top:55%;left:24%;transform:rotate(24deg)}.overview-visual__line--three{width:42%;top:35%;left:34%;transform:rotate(91deg)}.overview-visual__tile,.overview-visual__core,.architecture-hero-map__node,.architecture-hero-map__core{background:var(--surface);border:1px solid var(--border);color:var(--text);text-transform:none;border-radius:10px;place-items:center;gap:8px;font-size:.78rem;font-weight:600;display:grid;position:absolute;box-shadow:0 4px 12px #192a410f}.overview-visual__tile{gap:5px;width:92px;min-height:74px;font-size:.68rem}.overview-visual__tile svg,.architecture-hero-map__node svg{color:var(--accent);filter:none}.overview-visual__tile svg{width:24px;height:24px}.overview-visual__tile--mvp{top:20px;left:24px}.overview-visual__tile--tests{top:28px;right:18px}.overview-visual__tile--interests{bottom:14px;right:52px}.overview-visual__core{width:116px;min-height:96px;color:var(--accent);top:82px;left:50%;transform:translate(-50%)}.overview-visual__core svg{width:30px;height:30px;color:var(--accent);filter:none}.overview-kind-strip{z-index:2;box-shadow:none;background:0 0;border:0;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0 32px;padding:0;display:grid;position:relative}.overview-kind{gap:12px;min-width:0;padding:12px 4px;display:flex}.overview-kind__icon,.architecture-layer__icon,.automation-role__icon{width:42px;height:42px;color:var(--accent);background:var(--accent-soft);border-radius:10px;flex:none;place-items:center;display:grid}.overview-kind__icon{width:34px;height:34px}.overview-kind__icon svg{width:20px;height:20px}.overview-kind h2,.overview-kind p{margin:0}.overview-kind h2{color:var(--text);font-size:.9rem}.overview-kind p{color:var(--muted);margin-top:4px;font-size:.78rem;line-height:1.35}.dashboard-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;display:flex}.dashboard-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.metric-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.metric-strip div{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:none;border-radius:10px;padding:18px 22px}.metric-strip strong{color:var(--text);letter-spacing:-.04em;font-size:1.75rem;font-weight:600;line-height:1;display:block}.metric-strip span{color:var(--muted);margin-top:8px;font-size:.8rem;font-weight:500;display:block}.dashboard-toolbar{grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;display:grid}.search-field{align-items:center;min-width:0;display:flex;position:relative}.search-field svg{color:var(--muted);position:absolute;left:14px}.search-field input{padding-left:44px}.segmented-control{border:1px solid var(--border);background:var(--surface-muted);border-color:#0000;border-radius:10px;padding:4px;display:inline-flex}.segmented-control button{min-height:36px;color:var(--muted);background:0 0;border-color:#0000;border-radius:6px}.segmented-control button:hover,.segmented-control button.active{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.notice{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;padding:14px 16px;font-weight:700}.notice-error{background:#fff7f7;border-color:#f1b7b7}.topic-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;display:grid}.topic-card{isolation:isolate;border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:16px;padding:24px;display:flex;position:relative}.topic-card__header{justify-content:space-between;align-items:flex-start;gap:14px;display:grid}.topic-card__header h3{margin-bottom:6px}.topic-card__header>*{min-width:0}.topic-card__header .status-pill{justify-self:start}.topic-card__header p{-webkit-line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-height:4.5em;line-height:1.6;display:-webkit-box;overflow:hidden}.topic-card__title-link{color:inherit;text-decoration:none}.topic-card__title-link:after{z-index:1;content:"";border-radius:10px;position:absolute;inset:0}.topic-card__title-link:hover:after,.topic-card__title-link:focus-visible:after{outline:2px solid var(--border-strong);outline-offset:0}.topic-card__footer a,.topic-card__footer button,.topic-card .upload-dropzone{z-index:2;position:relative}.topic-card__screenshots .icon-button{z-index:2}.import-dialog{border:1px solid var(--border);background:var(--surface);width:min(560px,100% - 40px);max-height:calc(100% - 40px);color:inherit;border-radius:12px;margin:auto;padding:28px;overflow:auto;box-shadow:0 24px 80px #192a412e}.import-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#192a4152}.import-dialog form{gap:24px;display:grid}.import-dialog .field input{min-width:0;max-width:100%}.import-dialog__actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.import-options label{cursor:pointer;align-items:center;gap:10px;display:flex}.import-options input{flex:none;width:18px;height:18px}.import-options p{margin:6px 0 0 28px;font-size:.85rem}.topic-detail{overflow-wrap:anywhere;gap:28px;max-width:1060px;margin-inline:auto;display:grid}.topic-detail>*,.topic-detail__header>*{min-width:0}.topic-detail__header,.topic-detail__dates{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.topic-detail__header h1{margin-bottom:0}.topic-detail h2{margin-bottom:16px}.topic-detail__description{white-space:pre-wrap;line-height:1.8}.topic-detail__url svg{flex:none}.topic-detail__markdown{line-height:1.8}.topic-detail__markdown pre{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;padding:16px;overflow-x:auto}.topic-detail__markdown table{display:block;overflow-x:auto}.topic-detail__markdown img,.topic-detail__screenshots img{max-width:100%;height:auto;display:block}.topic-detail__screenshots{gap:24px;display:grid}.topic-detail__screenshots figure{min-width:0;margin:0}.topic-detail__screenshots figcaption{margin-top:8px}.topic-detail__dates{justify-content:flex-start;font-size:.85rem}.topic-detail__dates dd{margin:4px 0 0}.status-pill{white-space:nowrap;background:var(--surface-muted);min-height:28px;color:var(--muted);border-radius:999px;flex:none;align-items:center;padding:0 10px;font-size:.78rem;font-weight:600;display:inline-flex}.topic-card__footer{flex-direction:column;align-items:stretch;gap:12px;margin-top:auto;display:flex}.topic-card__links,.topic-card__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topic-card__actions>*{flex:1}.inline-action{align-items:center;gap:6px;font-size:.92rem;display:inline-flex}.upload-dropzone{border:1px dashed var(--border-strong);min-height:82px;color:var(--muted);cursor:pointer;text-align:center;background:var(--canvas);border-color:var(--border-strong);border-radius:10px;place-items:center;gap:4px;padding:14px;display:grid;position:relative}.upload-dropzone:hover{border-color:var(--accent);background:var(--surface-muted)}.upload-dropzone span{color:var(--text);font-size:.92rem;font-weight:600}.upload-dropzone small{font-size:.78rem;font-weight:700}.upload-dropzone input{opacity:0;cursor:pointer;position:absolute;inset:0}.topic-card__screenshots{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.topic-card__screenshots li{min-width:0;position:relative}.topic-card__screenshots .icon-button{background:#ffffffe0;border-color:#ffffffb8;width:30px;min-height:30px;position:absolute;top:6px;right:6px}.screenshot-thumb,.image-placeholder{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;border-radius:10px;width:100%}.image-placeholder{background:var(--surface-muted);color:var(--muted);text-align:center;place-items:center;padding:8px;font-size:.78rem;font-weight:600;display:grid}.group-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.tag-group{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:18px}.tag-group header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.tag-group h2{margin:0}.tag-group header span{background:var(--surface-muted);min-width:30px;min-height:30px;color:var(--accent);border-radius:999px;place-items:center;font-weight:600;display:inline-grid}.tag-group ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.tag-group li{border-top:1px solid var(--border);padding-top:10px}.tag-group li:first-child{border-top:0;padding-top:0}.tag-group p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:4px;font-size:.9rem;display:-webkit-box;overflow:hidden}.admin-shell{gap:18px;display:grid}.admin-metric-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}.admin-section{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:10px;padding:20px}.admin-section__header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.admin-section__header h2{margin:0}.admin-search{width:min(360px,100%)}.admin-grant-form{grid-template-columns:150px minmax(220px,1.2fr) repeat(3,minmax(130px,.7fr));align-items:end;gap:14px;display:grid}.admin-field-wide{grid-column:span 2;min-width:0}.admin-form-actions{align-items:center;gap:10px;display:flex}.table-wrap{width:100%;overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;min-width:860px}.admin-table th,.admin-table td{border-top:1px solid var(--border);text-align:left;vertical-align:middle;padding:12px 10px}.admin-table th{color:var(--muted);text-transform:uppercase;border-top:0;font-size:.78rem;font-weight:600}.admin-table-row--clickable{cursor:pointer}.admin-table-row--clickable:hover,.admin-table-row--clickable:focus-visible{background:var(--surface-muted)}.admin-table-row--clickable:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.table-primary,.table-secondary{display:block}.table-primary{color:var(--text);font-weight:600}.table-secondary{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:.82rem}.table-control{background:var(--surface);min-width:120px;color:var(--text);font-size:.92rem}.table-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inline-error{color:#991b1b;font-size:.85rem;font-weight:600}.admin-status{width:fit-content;min-height:26px;margin-bottom:4px}.admin-status--approved,.admin-status--settings_admin{color:#17683a;background:#e8f8ed}.admin-status--pending{color:#8a5a00;background:#fff6df}.admin-status--blocked,.admin-status--revoked{color:#991b1b;background:#fff0f0}.admin-status--none{background:var(--surface-muted);color:var(--muted)}.architecture-page{background:var(--canvas);gap:28px;min-height:calc(100vh - 66px);padding:32px;display:grid}.architecture-hero,.architecture-section,.architecture-callout{width:min(1180px,100%);margin:0 auto}.architecture-hero{grid-template-columns:minmax(0,.9fr) minmax(340px,.8fr);align-items:center;padding:48px}.architecture-back-link{width:fit-content;min-height:34px;color:var(--muted);align-items:center;gap:7px;margin-bottom:24px;font-size:.9rem;font-weight:600;display:inline-flex}.architecture-back-link:hover{color:var(--accent)}.architecture-hero-map__rail--one{width:68%;top:42%;left:16%;transform:rotate(22deg)}.architecture-hero-map__rail--two{width:62%;top:54%;left:20%;transform:rotate(-21deg)}.architecture-hero-map__node{width:116px;min-height:92px}.architecture-hero-map__node--repo{top:28px;left:42px}.architecture-hero-map__node--infra{top:58px;right:38px}.architecture-hero-map__node--runtime{bottom:32px;right:58px}.architecture-hero-map__node--data{bottom:44px;left:34px}.architecture-hero-map__node--tessl{width:104px;min-height:78px;top:auto;bottom:18px;left:50%;transform:translate(-50%)}.architecture-hero-map__core{text-align:center;width:178px;min-height:118px;padding:14px;bottom:112px;left:50%;transform:translate(-50%)}.architecture-hero-map__core svg{color:var(--accent)}.architecture-section{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:10px;padding:30px}.architecture-section--muted{background:var(--surface-muted);border-color:var(--border);color:var(--text)}.architecture-diagram-section{padding-bottom:34px}.architecture-diagram{gap:14px;margin:0;display:grid}.diagram-lane{border:1px solid var(--border);background:var(--canvas);border-radius:10px;padding:18px;position:relative;overflow:hidden}.diagram-lane:before{pointer-events:none;content:none;background-size:36px 36px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000 12% 88%,#0000);mask-image:linear-gradient(90deg,#0000,#000 12% 88%,#0000)}.diagram-lane--runtime,.diagram-lane--infra,.diagram-lane--release{border-color:var(--border)}.diagram-lane__heading,.diagram-flow,.architecture-diagram figcaption{z-index:1;position:relative}.diagram-lane__heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.diagram-lane__heading span{color:var(--text);font-size:1.05rem;font-weight:600}.diagram-lane__heading small{color:var(--muted);text-align:right;font-size:.82rem;font-weight:600}.diagram-flow{align-items:stretch;gap:10px;display:flex}.diagram-node{--node-accent:var(--accent);--node-bg:var(--surface-muted);overflow-wrap:anywhere;border:1px solid color-mix(in srgb, var(--node-accent) 24%, var(--border));background:var(--surface);min-width:0;box-shadow:none;border-radius:10px;flex:1 1 0;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;display:grid}.diagram-node[data-tone=user],.diagram-node[data-tone=hosting]{--node-accent:var(--accent);--node-bg:var(--accent-soft)}.diagram-node[data-tone=runtime],.diagram-node[data-tone=infra]{--node-accent:var(--accent);--node-bg:#f1f6f4}.diagram-node[data-tone=data],.diagram-node[data-tone=secret]{--node-accent:#477365;--node-bg:#f1f6f4}.diagram-node[data-tone=tessl]{--node-accent:var(--muted);--node-bg:var(--surface-muted)}.diagram-node[data-tone=automation],.diagram-node[data-tone=repo],.diagram-node[data-tone=release]{--node-accent:var(--accent);--node-bg:#f1f6f4}.diagram-node__icon{background:color-mix(in srgb, var(--node-accent) 12%, var(--surface));width:42px;height:42px;color:var(--node-accent);border-radius:10px;place-items:center;display:grid}.diagram-node__meta{color:var(--node-accent);text-transform:uppercase;margin-bottom:4px;font-size:.72rem;font-weight:600}.diagram-node h3{color:var(--text);margin-bottom:6px;font-size:1rem}.diagram-node p:not(.diagram-node__meta){color:var(--muted);font-size:.86rem;line-height:1.45}.diagram-stack{flex:1.2 1 0;gap:8px;min-width:0;display:grid}.diagram-stack .diagram-node{min-height:0;padding:13px}.diagram-arrow{min-width:0;color:var(--muted);text-align:center;text-transform:uppercase;flex:0 0 78px;place-items:center;font-size:.68rem;font-weight:600;display:grid;position:relative}.diagram-arrow:before{content:"";background:var(--border-strong);border-radius:999px;height:3px;position:absolute;top:50%;left:6px;right:6px}.diagram-arrow:after{border-top:6px solid #0000;border-bottom:6px solid #0000;border-left:8px solid var(--muted);content:"";width:0;height:0;position:absolute;top:calc(50% - 5px);right:1px}.diagram-arrow span{z-index:1;border:1px solid var(--border);background:#ffffffeb;border-radius:999px;max-width:74px;padding:4px 6px;position:relative}.architecture-diagram figcaption{max-width:88ch;color:var(--muted);border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;padding:16px 18px;font-size:.95rem;line-height:1.55}.section-heading{margin-bottom:22px}.section-heading h2,.architecture-callout h2{max-width:760px;color:var(--text);margin-bottom:10px;font-size:clamp(1.75rem,3vw,2.55rem);line-height:1.08}.section-heading p:not(.eyebrow):not(.overview-kicker),.architecture-callout p{max-width:76ch;color:var(--muted)}.section-heading--muted h2,.section-heading--muted p:not(.overview-kicker){color:var(--text)}.architecture-layer-grid,.automation-role-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.architecture-layer,.automation-role,.setup-step{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;padding:20px}.architecture-layer__meta{color:var(--accent);text-transform:uppercase;margin:16px 0 7px;font-size:.78rem;font-weight:600}.architecture-layer h3,.automation-role h3,.setup-step h3{margin-bottom:8px}.architecture-layer p,.automation-role p,.setup-step p{color:var(--muted);font-size:.94rem}.architecture-layer ul{border-top:1px solid var(--border);gap:8px;margin:16px 0 0;padding:16px 0 0;list-style:none;display:grid}.architecture-layer li{color:var(--text);align-items:flex-start;gap:8px;font-size:.88rem;font-weight:600;display:flex}.architecture-layer li svg{color:#477365;flex:none;margin-top:2px}.runtime-flow{counter-reset:runtime;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.runtime-flow li{background:var(--surface);border:1px solid var(--border);border-radius:10px;min-width:0;padding:18px}.runtime-flow span{color:var(--accent);margin-bottom:14px;font-size:.78rem;font-weight:600;display:inline-block}.runtime-flow p{color:var(--muted);font-size:.95rem}.setup-timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid;position:relative}.setup-step span{background:var(--accent-soft);width:36px;height:36px;color:var(--accent);border-radius:10px;place-items:center;margin-bottom:14px;font-weight:600;display:grid}.automation-role{position:relative;overflow:hidden}.automation-role--accent{background:var(--accent-soft);border-color:var(--border)}.automation-role--accent:after{content:"";background:var(--border-strong);border-radius:999px;width:68px;height:6px;position:absolute;top:18px;right:18px}.architecture-callout{box-shadow:var(--shadow);background:var(--surface);border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:24px;padding:30px;display:flex}.architecture-callout .button{flex:none}@media (width<=980px){.admin-grant-form{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-hero,.architecture-hero{grid-template-columns:1fr}.overview-visual,.architecture-hero-map{width:min(560px,100%);margin:0 auto}.overview-kind-strip,.architecture-layer-grid,.automation-role-grid,.runtime-flow,.setup-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.diagram-flow{flex-direction:column}.diagram-arrow{flex:0 0 44px;width:100%;min-height:44px}.diagram-arrow:before{background:var(--border-strong);width:3px;height:auto;inset:3px auto 3px 50%}.diagram-arrow:after{border-top:8px solid var(--muted);border-bottom:0;border-left:6px solid #0000;border-right:6px solid #0000;inset:auto auto 0 calc(50% - 6px)}.architecture-callout{flex-direction:column;align-items:flex-start}}@media (width<=760px){.workspace-page,.page,.architecture-page{padding:20px}.panel,.form-panel{padding:24px}.dashboard-header,.topic-card__footer{flex-direction:column;align-items:stretch}.dashboard-actions{justify-content:flex-start}.metric-strip,.form-grid,.dashboard-toolbar,.admin-metric-strip,.admin-grant-form,.status-grid,.overview-kind-strip,.architecture-layer-grid,.automation-role-grid,.runtime-flow,.setup-timeline{grid-template-columns:1fr}.overview-hero,.architecture-hero,.architecture-section,.architecture-callout{padding:24px}.overview-hero{gap:16px;padding:22px 18px}.overview-visual{display:none}.overview-kind-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin:-8px 10px 22px}.overview-kind{align-items:center}.overview-kind p{display:none}.diagram-lane__heading{flex-direction:column;align-items:flex-start}.diagram-lane__heading small{text-align:left}.admin-section__header{flex-direction:column;align-items:stretch}.admin-field-wide{grid-column:auto}.segmented-control{width:100%}.segmented-control button{flex:1}.topic-grid{grid-template-columns:1fr}.auth-bar{flex-wrap:wrap;padding:12px 20px}.auth-nav{flex-wrap:wrap}.auth-identity{margin-left:0}}@media (width<=460px){h1{font-size:2rem}.dashboard-actions,.form-actions,.admin-form-actions,.topic-card__actions,.topic-card__links,.overview-hero__actions,.architecture-hero__actions,.dashboard-actions>*,.form-actions>*,.admin-form-actions>*,.topic-card__actions>*,.overview-hero__actions>*,.architecture-hero__actions>*,.architecture-callout .button{width:100%}.overview-hero h1,.architecture-hero h1{font-size:2.35rem}.overview-hero h1{font-size:2rem}.diagram-node{grid-template-columns:1fr}.overview-visual,.architecture-hero-map{min-height:360px}.overview-visual{min-height:214px}.overview-visual__tile,.architecture-hero-map__node{width:98px;min-height:82px}.overview-visual__tile{width:82px;min-height:64px}.overview-visual__tile--mvp,.architecture-hero-map__node--repo{top:36px;left:10px}.overview-visual__tile--mvp{top:12px;left:8px}.overview-visual__tile--tests,.architecture-hero-map__node--infra{top:46px;right:10px}.overview-visual__tile--tests{top:18px;right:8px}.overview-visual__core{width:104px;min-height:84px;top:76px}.overview-visual__tile--interests{bottom:4px;right:28px}.architecture-hero-map__core{width:150px;min-height:100px;bottom:126px}.architecture-hero-map__node--data{bottom:52px;left:10px}.architecture-hero-map__node--runtime{bottom:52px;right:10px}.architecture-hero-map__node--tessl{bottom:2px}}.app-brand{color:var(--text);white-space:nowrap;letter-spacing:-.03em;align-items:center;gap:10px;font-size:1rem;display:inline-flex}.app-brand__mark{background:var(--accent);width:32px;height:32px;color:var(--surface);border-radius:9px;place-items:center;display:grid}.auth-panel .app-brand{margin-bottom:32px}.dashboard-header h2{margin-bottom:8px;font-size:1.7rem}.dashboard-header p:not(.eyebrow){font-size:.9rem}#project-library{scroll-margin-top:24px}.upload-dropzone:focus-within{outline:3px solid var(--accent);outline-offset:2px}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}@media (width>=761px) and (width<=1100px){.auth-bar{gap:12px}.dashboard-header{flex-direction:column;align-items:flex-start}.dashboard-actions{justify-content:flex-start}}@media (width<=760px){.auth-bar{grid-template-columns:1fr auto;gap:12px;display:grid}.auth-nav{border-top:1px solid var(--border);order:3;grid-column:1/-1;gap:4px;width:100%;padding-top:10px}.auth-nav a{padding-inline:8px;font-size:.82rem}.auth-identity{grid-area:2/1/auto/-1;margin-left:0;font-size:.72rem}.auth-bar>button{grid-area:1/2;min-height:34px;padding-inline:10px;font-size:.75rem}.overview-kind-strip{gap:4px;margin:12px 0 24px}.metric-strip:not(.admin-metric-strip){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric-strip:not(.admin-metric-strip) div{padding:16px 12px}.dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}}@media (width<=380px){.auth-identity{display:none}.auth-bar>button{margin-left:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}
