:root{color-scheme:light;--bg:#f8f7f3;--panel:#fff;--ink:#252b27;--muted:#6b746d;--line:#e7e9e1;--violet:#6650a4;--violet-soft:#f0edf8;--green:#38765a;--green-soft:#eaf3ed;--amber:#93612c;--amber-soft:#fff4e6;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a89bd2;outline-offset:4px}.shell{max-width:1228px;margin:auto;padding:0 36px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:106px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;letter-spacing:-.25px}.brand strong{font-weight:600}.brand-divider{color:#acb2a7;padding:0 9px}.brand-mark{display:grid;place-items:center;width:35px;height:38px;color:var(--violet)}.brand-mark svg{width:32px;height:32px}.account{display:flex;align-items:center;justify-content:flex-end;gap:14px}.environment-label{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center;white-space:nowrap}.tiny-dot{width:6px;height:6px;border-radius:50%;background:#93a58f}.account-name{font-size:13px;color:var(--muted)}.account-actions{display:flex;align-items:center;gap:11px}.avatar{width:30px;height:30px;background:var(--violet-soft);color:var(--violet);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700}.text-button{background:transparent;border:0;padding:6px 0;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.page-intro{padding:45px 0 27px;display:flex;align-items:end;justify-content:space-between;gap:28px}.eyebrow{text-transform:uppercase;letter-spacing:1.9px;font-size:10px;font-weight:650;color:var(--violet);margin:0 0 10px}.page-intro h1,.login-panel h1{font-size:clamp(30px,4vw,42px);font-weight:550;letter-spacing:-1.5px;line-height:1.14;margin:0 0 12px}.intro-description{margin:0;color:var(--muted);font-size:15px;max-width:565px}.refresh-button{display:flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid var(--line);background:#fff;border-radius:10px;white-space:nowrap;color:var(--muted);font-size:12px}.refresh-button svg{width:14px;height:14px}.refresh-button:disabled{opacity:.55}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-toolbar h2{font-size:16px;font-weight:600;letter-spacing:-.2px;margin:0}.project-count{font-size:12px;font-weight:400;color:var(--muted);margin-left:6px}.filters{display:flex;gap:3px;background:#eeefe9;border-radius:9px;padding:3px}.filter-button{border:0;background:transparent;border-radius:7px;padding:6px 10px;color:var(--muted);font-size:11px;white-space:nowrap}.filter-button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #2221}.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px 24px 0;min-width:0;overflow:hidden}.project-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}.project-identity{display:flex;align-items:center;gap:11px;min-width:0}.project-icon{width:38px;height:38px;border-radius:11px;background:var(--violet-soft);color:var(--violet);display:grid;place-items:center;font-size:15px;font-weight:650;flex:0 0 auto}.project-icon.green{background:var(--green-soft);color:var(--green)}.project-icon.sand{background:#f4efe7;color:#957758}.project-identity h3{font-size:18px;line-height:1.3;letter-spacing:-.4px;margin:0;font-weight:600;overflow-wrap:anywhere}.snapshot-tag{font-size:9px;color:#788170;text-transform:uppercase;letter-spacing:.6px;padding:4px 6px;border:1px solid #e9ece3;border-radius:5px;white-space:nowrap;line-height:1.4;margin-top:8px}.project-summary{font-size:12px;color:var(--muted);margin:11px 0 22px;min-height:36px}.activity-heading{font-size:10px;font-weight:650;letter-spacing:1.1px;text-transform:uppercase;color:#93998f;margin:0 0 11px}.activity-list{list-style:none;padding:0;margin:0 0 18px}.activity-item{position:relative;padding:0 0 17px 17px;border-left:1px solid #e6e9df;margin-left:3px}.activity-item:last-child{border-left-color:transparent;padding-bottom:0}.activity-item::before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#a3b995;left:-4px;top:7px;box-shadow:0 0 0 3px #fff}.activity-title{font-size:14px;font-weight:550;letter-spacing:-.15px;margin:0 0 3px;overflow-wrap:anywhere}.activity-detail{font-size:12px;color:var(--muted);margin:0 0 6px;overflow-wrap:anywhere}.activity-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;font-size:10px;color:#8d9388}.activity-source{color:#7e7599}.activity-evidence{font-size:10px;color:#788170;margin:5px 0 0;overflow-wrap:anywhere}.empty-activity{font-size:12px;color:var(--muted);padding:0 0 16px;margin:0}.tracker-wrap{padding:16px 0;border-top:1px solid #eff0eb}.tracker-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#93998f;margin-bottom:11px}.tracker-label strong{font-weight:550;color:#747f6d}.stage-track{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:0;position:relative}.stage-track::before{content:"";position:absolute;height:2px;background:#eeeFe9;top:7px;left:10%;right:10%}.stage-step{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;font-size:10px;color:#a0a69a;min-width:0}.stage-dot{display:block;width:15px;height:15px;border-radius:50%;background:#fff;border:2px solid #e6e9df;z-index:1}.stage-step.current{color:var(--violet);font-weight:600}.stage-step.current .stage-dot{background:var(--violet);border-color:var(--violet);box-shadow:0 0 0 3px var(--violet-soft)}.stage-step.current.stage-live{color:var(--green)}.stage-step.current.stage-live .stage-dot{background:var(--green);border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.stage-evidence{font-size:10px;color:#899180;margin:11px 0 0;overflow-wrap:anywhere}.execution-state{border-top:1px solid #eff0eb;padding:14px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.state-label{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#93998f;margin-bottom:4px}.state-value{font-size:11px;color:#68725f;display:flex;align-items:center;gap:6px}.state-dot{width:5px;height:5px;border-radius:50%;background:#a8ad9f;flex:0 0 auto}.state-value.requested{color:var(--violet)}.state-value.requested .state-dot{background:var(--violet)}.confirmation-time{font-size:9px;color:#929989;margin-top:3px}.hold-notice{display:flex;align-items:flex-start;gap:8px;background:var(--amber-soft);border:1px solid #f2e4d1;border-radius:9px;padding:10px 12px;margin-bottom:15px;font-size:11px;color:var(--amber)}.hold-notice p{margin:0;overflow-wrap:anywhere}.hold-icon{font-size:12px;line-height:1.5;flex:0 0 auto}.hold-notice strong{font-weight:650}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fcfcf9;border-top:1px solid #eff0eb;margin:0 -24px;padding:13px 24px}.card-footer-note{font-size:9px;color:#9a9f92;text-align:right;max-width:150px}.viewer-note{font-size:11px;color:var(--muted)}.receipt{font-size:10px;color:#858d7c;padding-bottom:13px;overflow-wrap:anywhere}.receipt strong{font-weight:550;color:#68725f}.empty-projects{padding:40px 24px;text-align:center;border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);background:#fff;font-size:13px;grid-column:1/-1}.source-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin:20px 0 0;font-size:10px;color:#899180}.source-caption p{margin:0;max-width:780px}.integration-label{white-space:nowrap;color:#7c738c}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px 0 26px;color:#93998c;font-size:10px}.loading-panel{min-height:380px;display:grid;place-items:center;font-size:13px;color:var(--muted)}.login-wrap{min-height:590px;display:grid;place-items:center;padding:55px 0}.login-panel{width:100%;max-width:430px;text-align:center;padding:35px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 40px #343f2705}.login-symbol{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 25px;background:var(--violet-soft);color:var(--violet);border-radius:17px;font-size:26px}.login-panel h1{font-size:31px;letter-spacing:-1px;margin-bottom:14px}.login-description{font-size:13px;color:var(--muted);margin:0 0 24px}.login-action{display:block;width:100%;border-radius:10px;padding:12px 14px;font-size:13px;font-weight:550}.pontia-button{background:#f7f7f4;border:1px solid var(--line);color:#959a91;margin-bottom:8px}.login-status{font-size:10px;color:#959b8e;margin:0 0 23px}.login-warning{font-size:12px;background:var(--amber-soft);color:var(--amber);border-radius:9px;padding:10px;text-align:left;margin:0 0 18px}.notification{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:min(540px,calc(100% - 32px));background:#303a2d;color:#fff;border:1px solid #414e3d;border-radius:12px;padding:14px 18px;box-shadow:0 8px 30px #2222;font-size:12px;z-index:5}.notification[hidden]{display:none}.notification.error{background:#6a4532;border-color:#835741}.skip-link{position:absolute;left:16px;top:12px;z-index:10;transform:translateY(-160%);background:var(--violet);color:white;padding:9px 13px;border-radius:8px;font-size:13px}.skip-link:focus{transform:translateY(0)}.noscript{margin:20px;padding:20px;background:#fff4e6}
.pontia-form{text-align:left;margin-top:15px}.pontia-form .login-status{font-size:11px;text-align:center;margin-bottom:20px;line-height:1.55}.credential-field{display:block;font-size:12px;font-weight:550;color:#66705f;margin-bottom:14px}.credential-input{display:block;width:100%;min-width:0;border:1px solid #e0e4d8;background:#fcfcf9;border-radius:9px;padding:11px 12px;margin-top:6px;font:inherit;font-weight:400;color:var(--ink);outline-offset:2px}.credential-input:focus-visible{outline:2px solid #a89bd2}.credential-input:disabled{opacity:.6}.pontia-submit{background:var(--violet);color:#fff;border:1px solid var(--violet);margin-top:19px}.pontia-submit:hover:not(:disabled){background:#584291}.pontia-submit:disabled{opacity:.6}.form-help{font-size:10px;color:#909789;text-align:center;line-height:1.55;margin:12px 0 0}
.execution-state{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.execution-state>div{min-width:0}.state-value{min-width:0;overflow-wrap:anywhere;align-items:flex-start}.state-dot{margin-top:5px}.confirmation-time{overflow-wrap:anywhere}.worker-explanation{font-size:9px;color:#899180;margin:5px 0 0;line-height:1.45}.activity-provenance,.activity-attribution{font-size:10px;line-height:1.5;color:#899180;margin:5px 0 0;overflow-wrap:anywhere}.activity-attribution{color:#8b8099}
@media(min-width:1000px){.project-card{padding-top:25px}.activity-list{min-height:120px}.project-summary{min-height:36px}.projects-grid{align-items:start}}
@media(max-width:760px){.shell{padding:0 22px}.site-header{min-height:85px}.brand{font-size:13px;gap:8px}.brand-divider{padding:0 5px}.brand-mark{width:28px}.brand-mark svg{width:26px;height:26px}.account{gap:7px}.account-name,.account .environment-label{display:none}.account-actions{gap:8px}.page-intro{padding-top:31px;gap:15px}.page-intro h1{font-size:33px}.intro-description{font-size:13px;max-width:420px}.refresh-button{padding:10px;font-size:0;width:36px;height:36px;flex:0 0 auto}.refresh-button svg{width:15px;height:15px}.projects-grid{grid-template-columns:1fr;gap:17px}.project-card{padding:22px 21px 0}.project-summary{min-height:0}.card-footer{margin:0 -21px;padding:13px 21px}.section-toolbar h2{font-size:14px}.section-toolbar{gap:9px}.filter-button{padding:6px 9px;font-size:10px}.source-caption{flex-direction:column;gap:10px}.site-footer{align-items:flex-start;font-size:9px;padding-top:27px}.site-footer span:first-child{max-width:150px}.site-footer span:last-child{text-align:right;max-width:155px}.login-wrap{min-height:500px;padding:35px 0}.login-panel{padding:29px 23px}.login-panel h1{font-size:29px}}
@media(max-width:370px){.shell{padding:0 16px}.brand{font-size:12px}.brand-divider{padding:0 3px}.avatar{width:26px;height:26px}.section-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.project-heading{gap:7px}.snapshot-tag{font-size:8px;padding:4px}.project-identity h3{font-size:17px}.card-footer-note{max-width:115px}}
@media(max-width:480px){.execution-state{grid-template-columns:1fr;gap:12px}.execution-state>div{padding-bottom:1px}.state-label{margin-bottom:3px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .12s ease,opacity .12s ease}.project-card{animation:reveal .22s ease both}@keyframes reveal{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}

/* Read-only questions and retained answers. */
.questions-section{margin-top:38px;padding-top:27px;border-top:1px solid var(--line)}.questions-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.questions-heading .eyebrow{margin-bottom:6px}.questions-heading h2{font-size:20px;letter-spacing:-.45px;margin:0}.questions-readonly{font-size:10px;color:#7c738c;background:var(--violet-soft);border-radius:20px;padding:5px 9px;white-space:nowrap}.questions-description,.questions-next,.questions-empty{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 17px}.questions-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.question-record{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0;overflow-wrap:anywhere}.question-record-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.question-id{font-size:11px;color:#6f7868;font-weight:600}.question-status{font-size:10px;border-radius:20px;padding:4px 8px;background:#f5f5f1;color:#78806f}.question-status.answered{background:#eef5e9;color:#597649}.question-status.pending{background:var(--amber-soft);color:var(--amber)}.question-status.superseded{background:var(--violet-soft);color:#7c738c}.question-record h3{font-size:14px;line-height:1.55;font-weight:550;margin:0 0 16px;color:var(--ink)}.question-answer-label{font-size:9px;text-transform:uppercase;letter-spacing:.9px;color:#959b8e;margin-bottom:5px}.question-answer{font-size:12px;line-height:1.65;margin:0 0 16px;color:#626e59}.question-answer.awaiting{color:#959b8e}.question-source{font-size:10px;line-height:1.6;color:#899180;margin:0 0 8px}.question-meta{display:flex;flex-wrap:wrap;gap:4px 14px;color:#93998c;font-size:10px}.questions-next{font-size:10px;margin-top:16px}.questions-next strong{color:#746887;font-weight:550}.questions-empty{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
@media(max-width:760px){.questions-section{margin-top:29px;padding-top:22px}.questions-heading h2{font-size:18px}.questions-list{grid-template-columns:1fr;gap:13px}.question-record{padding:18px}.questions-description{font-size:11px}}

/* Project names form a single mobile-first expandable task list. */
.projects-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.project-card{padding:0}
.project-card>.project-heading{display:flex;align-items:center;margin:0;padding:16px 18px;list-style:none;cursor:pointer;min-height:64px}
.project-heading::-webkit-details-marker{display:none}
.project-heading:focus-visible{outline:2px solid var(--violet);outline-offset:-3px;border-radius:var(--radius)}
.project-heading>.project-identity{flex:1}
.project-heading>.project-identity>.activity-title{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;min-width:0}
.project-heading .activity-source{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}
.project-heading>span:last-child{flex:0 0 auto;transition:transform .12s ease}
.project-card[open]>.project-heading{border-bottom:1px solid var(--line)}
.project-card[open]>.project-heading>span:last-child{transform:rotate(180deg)}
.project-card>:not(summary){margin-left:18px;margin-right:18px}
.project-card>.card-footer{margin:0;padding:13px 18px}
.project-card .scope-group{margin-top:16px}
.project-card .scope-group ul{padding-left:18px;margin:0}
.project-card .scope-group li{margin-bottom:14px}
.project-card .activity-list,.project-card .project-summary{min-height:0}
@media(max-width:370px){.project-card>.project-heading{padding:14px}.project-card>:not(summary){margin-left:14px;margin-right:14px}.project-card>.card-footer{margin:0;padding:12px 14px}.project-heading .activity-source{font-size:11px}}
@media(prefers-reduced-motion:reduce){.project-heading>span:last-child{transition:none}}
.todo-editor { max-width: 900px; margin: 0 auto; padding: 24px; background: var(--surface, #fff); border: 1px solid var(--border, #e3e4e0); border-radius: 18px; }
.todo-editor .filters { flex-wrap: wrap; }
.todo-editor fieldset { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
.todo-editor input, .todo-editor textarea, .todo-editor select { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid #cdd1ca; border-radius: 8px; background: #fff; color: #222; }
.todo-editor textarea { min-height: 96px; resize: vertical; }
.todo-editor .credential-field { display: grid; gap: 7px; margin: 12px 0; }
.todo-editor .planner-tasks, .todo-editor .thread-list { padding-left: 24px; }
.todo-editor .proposal-document { padding: 20px; border: 1px solid #dcded7; border-radius: 10px; white-space: normal; overflow-wrap: anywhere; }
.todo-editor .thread-body, .todo-editor .thread-quote, .todo-editor .activity-detail { white-space: pre-wrap; overflow-wrap: anywhere; }
.todo-editor .thread-meta { font-size: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.todo-editor .editor-status { min-height: 1.5em; color: #645b38; }
.todo-editor button { margin: 6px 12px 6px 0; }
@media (max-width: 640px) { .todo-editor { padding: 16px; } .todo-editor .section-toolbar { align-items: flex-start; } }
.section-toolbar .filters { flex-wrap: wrap; }
.catalogue-status { font-size: 12px; font-weight: 600; color: #575e4c; }

/* Mounted review: wrap identifiers and cap recursive reply indentation without clipping content. */
.todo-editor { min-inline-size: 0; overflow-wrap: anywhere; }
.todo-editor .credential-field { min-inline-size: 0; grid-template-columns: minmax(0, 1fr); }
.todo-editor input, .todo-editor textarea, .todo-editor select { min-inline-size: 0; max-inline-size: 100%; }
.todo-editor .thread-list, .todo-editor .thread-replies { list-style: none; margin: 12px 0; padding: 0; min-inline-size: 0; }
.todo-editor .thread { min-inline-size: 0; margin: 0; padding: 10px 0; border-block-end: 1px solid var(--line); }
.todo-editor .thread-meta { align-items: flex-start; gap: 6px 12px; }
.todo-editor .thread-meta > * { min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; }
.todo-editor .thread-quote { margin: 8px 0; padding: 6px 10px; border-inline-start: 2px solid var(--line); }
.todo-editor .thread-replies { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.todo-editor .thread-replies .thread-replies .thread-replies { padding-inline-start: 0; border-inline-start: 0; }

.todo-editor .history-detail { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; font: inherit; }
.todo-editor .editor-history ol { padding-inline-start: 20px; }

/* Saved planning hierarchy: native disclosure controls, bounded reply-like indentation. */
.task-outline, .task-outline-children { list-style: none; padding: 0; margin: 12px 0; min-inline-size: 0; }
.task-outline-item { min-inline-size: 0; margin-block: 8px; border-block-end: 1px solid var(--line); }
.task-outline-item > summary { cursor: pointer; padding-block: 10px; overflow-wrap: anywhere; }
.task-outline-item > summary .activity-source, .outline-preview { display: block; margin-block-start: 4px; }
.outline-preview { font-size: .9rem; line-height: 1.5; }
.task-outline-body { min-inline-size: 0; padding-block-end: 8px; overflow-wrap: anywhere; }
.outline-detail { white-space: pre-wrap; }
.task-outline-children { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
.task-outline-children .task-outline-children .task-outline-children { padding-inline-start: 0; border-inline-start: 0; }
.outline-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.planning-reference { max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; text-align: start; }
.planning-reference-unavailable { color: var(--muted); overflow-wrap: anywhere; }
.task-backlinks { font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.planner-link-picker { margin-block: 16px; }
