.dev-heading h1{overflow-wrap:anywhere}.dev-new-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:28px;align-items:start}.dev-new-card,.dev-prompts-card{padding:28px 30px}.dev-new-card h2{margin:20px 0}.dev-new-card form,.dev-settings-form{display:grid;gap:20px}.dev-new-card label,.dev-settings-form label{display:grid;gap:9px;line-height:1.7}.dev-new-card .cloud-consent,.dev-settings-form .cloud-consent{display:flex;align-items:flex-start;font-weight:400}.dev-new-card .cloud-consent small{display:block;margin-top:8px}.dev-intro-steps{padding-left:20px;color:#46677e;margin-top:28px}.dev-intro-steps li{padding:0 0 20px 8px}.dev-intro-steps strong{font-size:14px}.dev-intro-steps p{font-size:12px;margin:8px 0}.dev-project-meta{display:flex;gap:12px 22px;align-items:center;flex-wrap:wrap;font-size:11px;color:#6c8193;margin:-7px 0 25px}.dev-project-meta .button{margin-left:auto;min-height:30px;font-size:10px}.dev-saved{color:#38826f;display:flex;align-items:center;gap:8px}.dev-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.dev-chat{min-width:0;overflow:hidden}.dev-chat-log{padding:26px;display:flex;flex-direction:column;gap:20px}.dev-message{max-width:94%;padding:20px;background:#f2f7fa;border:1px solid #e0eaf0;border-radius:3px 14px 14px 14px;align-self:flex-start;min-width:0}.dev-message.author{background:#e9f6fb;border-color:#d4eaf4;border-radius:14px 3px 14px 14px;align-self:flex-end}.dev-message.system{background:#fbfcfd;border-style:dashed;width:100%;max-width:100%;color:#70869a;font-size:11px}.dev-message header{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:12px;color:#53768e;font-size:10px}.dev-message time{font-size:9px;color:#8b9ba9}.dev-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:13px}.dev-message details{margin-top:14px;font-size:11px}.dev-chat-empty{padding:16px 6px;color:#648299;line-height:1.8}.dev-chat-empty strong{font-size:18px;color:#24495f}.dev-chat-empty p{margin:10px 0 0}.dev-composer{padding:22px 26px;border-top:1px solid #e0eaf0;background:#fbfdff}.dev-composer textarea{background:#fff;min-height:110px;max-height:350px;font-size:13px}.dev-composer>div{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:13px}.dev-composer small{font-size:10px;max-width:220px;color:#7b8b9b}.dev-composer .button{flex-shrink:0}.dev-operation{padding:20px 22px;display:flex;align-items:flex-start;gap:13px;background:#edf9fd;border-bottom:1px solid #d4eaf3}.dev-operation>.spinner{margin-top:4px;flex:none}.dev-operation>div{flex:1;min-width:0;line-height:1.7}.dev-operation strong{font-size:12px;color:#287492}.dev-operation small{display:block;font-size:10px;color:#6e8b9c;margin-top:5px}.dev-operation .button{padding:8px 10px;font-size:10px;min-height:32px}.dev-critical{margin:20px 22px 0}.dev-critical p{margin:8px 0 0}.dev-sections-panel{min-width:0;border:1px solid #dce7ee;background:#fff;border-radius:12px;padding:22px 16px;position:sticky;top:18px}.dev-sections-heading{display:flex;align-items:center;justify-content:space-between;padding:0 5px}.dev-sections-heading .eyebrow{font-size:9px;margin-bottom:8px}.dev-sections-heading h2{font-size:21px;margin:0 0 12px}.dev-sections-panel>.footnote{font-size:10px;line-height:1.8;margin:0 6px 16px}.dev-section-list{display:grid;gap:6px}.dev-section-row{width:100%;background:#fff;border:1px solid #e6edf2;border-radius:8px;padding:13px 11px;display:flex;align-items:flex-start;gap:9px;text-align:left;transition:background .15s}.dev-section-row:hover{background:#f4fafe;border-color:#badce9}.dev-section-number{font-size:10px;color:#9aaabb;padding-top:3px}.dev-section-title{flex:1;min-width:0}.dev-section-title>strong{font-size:11px;line-height:1.65;display:block;color:#35566e;font-weight:650}.dev-section-title>small{display:block;color:#8a9ba9;font-size:9px;margin:4px 0}.dev-section-state{font-size:9px;color:#8695a4;display:flex;align-items:center;gap:6px;line-height:1.5}.dev-section-state .spinner{width:10px;height:10px;border-width:1.5px}.dev-section-row>svg{width:13px;height:13px;color:#a3bac7;margin-top:3px}.dev-section-row.updating{background:#edfafe;border-color:#bce6f2}.dev-section-row.updating .dev-section-state{color:#14809f}.dev-section-row.issues{border-left:3px solid #d7a655}.dev-section-row.issues .dev-section-state{color:#a47b36}.dev-section-row.approved{border-left:3px solid #6aa98f}.dev-section-row.approved .dev-section-state{color:#4b8a6d}.dev-coherence{padding:18px 6px;border-bottom:1px solid #e5edf2}.dev-coherence strong{font-size:11px;line-height:1.6;color:#52728a;display:block}.dev-coherence p{font-size:10px;color:#8a9aa7;margin:7px 0 12px}.dev-coherence.critical strong{color:#b55c43}.dev-coherence .button{width:100%;font-size:11px}.dev-technical-card{padding:18px 6px 10px;font-size:11px;line-height:1.8}.dev-technical-card summary{cursor:pointer;font-weight:650;color:#3c6c86}.dev-technical-card h4{font-size:11px;margin:18px 0 7px;color:#658096}.dev-technical-card p,.dev-technical-card li{font-size:11px;overflow-wrap:anywhere}.dev-sections-panel>.button.text{margin:12px 6px 0;font-size:10px;white-space:normal;text-align:left;justify-content:flex-start}.dev-panel-toggle,.dev-panel-close{display:none}.dev-search-actions{padding:22px 26px;background:#fbfcfd;border-top:1px solid #e4edf3;font-size:12px}.dev-search-actions>div>strong{font-size:12px;color:#42667e}.dev-search-actions p{font-size:11px;color:#7b8e9e;margin:7px 0 16px}.dev-inline-actions{display:flex;gap:10px;flex-wrap:wrap}.dev-inline-actions .button{font-size:10px;padding:9px 11px;min-height:35px}.dev-attached-search{display:flex;align-items:center;gap:8px;border:1px solid #dce9ef;background:#f0f8fc;border-radius:7px;padding:12px;margin-top:12px;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.dev-attached-search svg{width:14px;height:14px;color:#4c8ca6}.dev-attached-search svg:last-child{margin-left:auto}.dev-candidate-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:18px;margin-bottom:14px}.dev-candidate{display:flex;gap:11px;border:1px solid #dce7ef;border-radius:9px;padding:16px;background:#fff;cursor:pointer;margin:0;min-width:0}.dev-candidate.selected{background:#effaff;border-color:#85c6df}.dev-candidate>input{margin-top:3px}.dev-candidate>span{min-width:0}.dev-candidate .pill{font-size:8px;margin-bottom:11px}.dev-candidate strong{display:block;font-size:12px;color:#345b73;overflow-wrap:anywhere}.dev-candidate p{margin:8px 0;font-size:11px;line-height:1.8;color:#6f8697}.dev-candidate small{display:block;font-size:10px;color:#7793a7}.dev-approaches{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:22px 0 0}.dev-approaches>strong{font-size:11px;margin-bottom:3px}.dev-approaches .button{font-size:10px;padding:9px 11px;min-height:34px;text-align:left;justify-content:flex-start;white-space:normal}.dev-approaches .button.selected{background:#eaf7fd;border-color:#8dc9e1;color:#1e7a9a}.dev-return-banner{display:flex;align-items:center;gap:14px;background:#eaf7fc;border:1px solid #cce5f0;border-radius:10px;padding:17px 20px;margin:0 0 25px;flex-wrap:wrap}.dev-return-banner>div{flex:1;min-width:200px}.dev-return-banner strong{display:block;font-size:12px;color:#35768f}.dev-return-banner span{display:block;font-size:11px;line-height:1.8;margin-top:5px;color:#6a8a9d}.dev-return-banner .button{font-size:10px}.dev-attach-list{display:grid;gap:12px}.dev-attach-row{display:flex;align-items:center;gap:15px;border:1px solid #dce7ef;border-radius:9px;padding:18px;background:#fff;text-align:left;min-width:0}.dev-attach-row:hover{background:#f2faff;border-color:#b8dce9}.dev-attach-row>span:first-child{flex:1;min-width:0}.dev-attach-row strong{display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.dev-attach-row small{display:block;color:#7890a2;font-size:10px;margin-top:7px}.dev-modal-tabs{display:flex;gap:6px;border-bottom:1px solid #dce7ef;margin:-6px 0 24px;padding-bottom:14px;flex-wrap:wrap}.dev-modal-tabs button{border:0;background:transparent;color:#7a8d9e;padding:11px 15px;font-size:12px;border-radius:7px}.dev-modal-tabs button.active{background:#edf8fd;color:#1e7697;font-weight:650}.dev-modal-tabpanel{min-height:300px}.dev-section-editor textarea{min-height:350px;line-height:1.9;font-size:13px}.dev-editor-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:14px 0 20px}.dev-editor-footer>small{font-size:10px;color:#8194a3}.dev-editor-footer>div{display:flex;gap:10px}.dev-editor-footer .button{font-size:10px}.dev-proposal{padding-top:28px;margin-top:28px;border-top:1px solid #dce7ef}.dev-proposal h3{margin:16px 0;font-size:17px}.dev-proposal>p{font-size:11px;color:#728c9c}.dev-proposal .button{margin-top:20px}.dev-diff{border:1px solid #dce7ef;border-radius:9px;overflow:hidden;max-height:560px;overflow-y:auto}.dev-diff>div{display:flex;gap:12px;padding:5px 13px;font-size:12px;border-bottom:1px solid #f3f6f9}.dev-diff>div>span{color:#8198a6;flex:none;width:12px;user-select:none}.dev-diff pre{font:inherit;line-height:1.8;margin:0;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.dev-diff .added{background:#eaf8ef;color:#2b6a46}.dev-diff .removed{background:#fff0ec;color:#a55a45}.dev-diff .added>span{color:#3d9562}.dev-diff .removed>span{color:#bc6d55}.dev-diff-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dev-diff-columns>div{border:1px solid #dce7ef;padding:18px;border-radius:9px;max-height:560px;overflow:auto}.dev-diff-columns pre,.dev-plain{font:inherit;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.dev-rationale h4{margin:24px 0 8px}.dev-rationale p,.dev-rationale li{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.dev-rationale>h3:first-child{margin-top:8px}.dev-issue{margin:20px 0;padding:20px;border:1px solid #e4eaf0;border-left:3px solid #d4ac64;border-radius:9px}.dev-issue.critical{border-left-color:#d4836a;background:#fffcfa}.dev-issue h4{font-size:13px;color:#526f83!important;margin:15px 0 10px}.dev-issue small{display:block;color:#8497a6;font-size:10px}.dev-issue p{font-size:12px}.dev-issue blockquote{font-size:12px;background:#f6f9fc}.dev-version-row{display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid #e4edf2;padding:17px 0}.dev-version-row strong{font-size:12px}.dev-version-row small{font-size:10px;color:#8295a4;display:block;margin-top:6px}.dev-version-row>div{display:flex;gap:8px}.dev-version-row .button{font-size:10px;padding:9px 11px}.dev-export-actions{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.dev-prompts-card textarea{width:100%;line-height:1.8;margin-top:15px}.dev-prompts-card .app-prompt-tree summary{background:#fff}.dev-settings-form .cloud-consent{font-size:12px}.dev-settings-form p{font-size:12px;color:#7790a1}
@media(min-width:1600px){.dev-workspace{grid-template-columns:minmax(0,1fr) 330px;gap:30px}.dev-chat-log{padding:30px}.dev-candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1150px){.dev-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.dev-sections-panel{padding:18px 12px}.dev-chat-log,.dev-search-actions,.dev-composer{padding:20px}.dev-message{padding:16px;max-width:98%}.dev-message header{flex-direction:column;align-items:flex-start;gap:6px}.dev-project-meta .button{margin-left:0}.dev-new-layout{grid-template-columns:minmax(0,1fr)}.dev-new-layout .search-guide{display:none}.dev-section-row{padding:12px 9px}}
@media(max-width:960px){.dev-workspace{grid-template-columns:minmax(0,1fr)}.dev-panel-toggle{display:inline-flex}.dev-sections-panel{position:fixed;inset:0 0 0 auto;width:350px;max-width:95vw;z-index:80;overflow-y:auto;border-radius:0;padding:25px 20px;box-shadow:-20px 0 80px #0c28402e;transform:translateX(110%);visibility:hidden;transition:transform .2s}.dev-sections-panel.is-open{transform:translateX(0);visibility:visible}.dev-panel-close{display:grid}.dev-sections-panel .dev-section-title>strong{font-size:12px}.dev-section-row{padding:15px 12px}.dev-candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dev-new-card,.dev-prompts-card{padding:22px 18px}.dev-new-card .field-row{grid-template-columns:minmax(0,1fr)}.dev-chat-log,.dev-search-actions,.dev-composer{padding:18px 15px}.dev-message{padding:16px 14px}.dev-message-text{font-size:12px}.dev-project-meta{gap:9px 14px;font-size:10px;line-height:1.6;margin-bottom:20px}.dev-project-meta .button{padding:0;min-height:25px}.dev-saved{width:100%}.dev-operation{padding:16px 14px;gap:10px;flex-wrap:wrap}.dev-operation strong{font-size:11px}.dev-operation .button{margin-left:24px}.dev-composer>div{align-items:flex-end}.dev-composer small{font-size:9px;max-width:150px}.dev-composer .button{font-size:11px;padding:10px 12px}.dev-candidate-grid{grid-template-columns:minmax(0,1fr)}.dev-candidate{padding:14px}.dev-inline-actions .button{font-size:10px}.dev-return-banner{padding:17px 15px;gap:10px}.dev-return-banner>div{width:100%}.dev-attach-row{padding:14px;gap:10px;flex-wrap:wrap}.dev-attach-row>span:first-child{width:100%;flex:none}.dev-editor-footer{flex-direction:column;align-items:flex-start}.dev-editor-footer>div{flex-wrap:wrap}.dev-modal-tabs{gap:3px;padding-bottom:12px;margin-bottom:18px}.dev-modal-tabs button{font-size:10px;padding:10px 11px}.dev-section-editor textarea{min-height:330px;font-size:12px}.dev-version-row{align-items:flex-start;flex-direction:column;gap:10px}.dev-diff>div{font-size:11px;padding:5px 9px;gap:6px}.dev-diff-columns{grid-template-columns:minmax(0,1fr)}.dev-issue{padding:16px}.dev-export-actions{gap:10px}.dev-critical{margin:16px 14px 0}}
@media(prefers-reduced-motion:reduce){.dev-sections-panel,.dev-section-row{transition:none}}

.dev-candidate a{display:block;font-size:10px;color:#297f9f;text-decoration:underline;text-underline-offset:3px;margin-top:9px;line-height:1.7}

.dev-provenance{padding:20px 26px;border-top:1px solid #e4edf3;font-size:11px;line-height:1.8;background:#fbfdfe}.dev-provenance>summary{font-weight:650;cursor:pointer;color:#426f88}.dev-provenance>p{margin-top:14px}.dev-provenance section{padding-top:12px}.dev-provenance h4{font-size:12px;color:#52778f;margin-bottom:12px}.dev-provenance article{padding:14px 16px;margin:12px 0;background:#fff;border:1px solid #e4edf3;border-radius:8px;overflow-wrap:anywhere}.dev-provenance article>strong{font-size:11px}.dev-provenance article>p{margin:7px 0;font-size:12px}.dev-provenance blockquote{font-size:11px;margin:10px 0}.dev-provenance article>small{font-size:10px;color:#849aa8}.dev-provenance-sources{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#7d94a5}.dev-provenance-sources a{color:#2984a5;text-decoration:underline}.dev-provenance .footnote{margin-top:14px}@media(max-width:700px){.dev-provenance{padding:18px 15px}}

.dev-provenance .not-applied{background:#fcfaf7;border-color:#e8ded0}.dev-provenance article>span.pill{margin:0 0 0 10px;font-size:8px}

@media(max-width:960px){.dev-sections-panel:not(.is-open){display:none}}

.dev-chat-log{max-height:min(55vh,600px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.dev-search-basis{border-top:1px solid #e4edf3;background:#fbfcfd}.dev-search-basis>summary{cursor:pointer;padding:17px 26px;color:#476e86;font-size:11px;line-height:1.7}.dev-search-basis>summary strong{font-size:12px}.dev-search-basis>summary small{font-size:10px;margin-left:12px;color:#8096a6}.dev-search-basis>.dev-search-actions{border-top:1px solid #edf2f6}.dev-search-basis[open]>summary{border-bottom:0;background:#f7fbfd}@media(max-width:700px){.dev-search-basis>summary{padding:16px 15px}.dev-search-basis>summary small{display:block;margin:5px 0 0 15px}}
