/* Extends the retained card, sidebar, form, progress and responsive design system. */
@media(max-width:760px){.advice-candidate .card-actions{flex-direction:column;align-items:stretch}.advice-candidate .card-actions .btn{width:100%}}
.hidden{display:none!important}.logo{letter-spacing:-3px}.nav{font-size:12px}.workspace{letter-spacing:1px}.side-note b{font-size:10px}.side-note p{font-size:10px}.discovery-banner{background:#eeecff;border:1px solid #e0dcfc;border-radius:12px;padding:20px 24px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.discovery-banner>div{display:flex;align-items:center;gap:15px}.discovery-banner b{font-size:15px}.discovery-banner p{font-size:11px;color:#87819e;margin:6px 0 0}.stats .stat-link{background:none;font-size:20px;color:#6152cc;padding:0;font-weight:650}.stats small{display:block;margin:8px 0 0}.seven{grid-template-columns:repeat(7,1fr);gap:5px}.journey-step{background:none;border:0;padding:0;cursor:pointer}.journey-step:hover b{color:var(--primary)}.journey-step b{font-size:9px}.program-card>.location{margin-top:18px}.save-btn{margin-left:auto;font-size:25px;background:none;color:#aba7bf;padding:4px}.save-btn.saved{color:#6353dd}.official-badge{background:#e9f5ef;border-color:#d8e9df;color:#4b8b73}.data-note{display:block;font-size:10px;color:#9491a6;line-height:1.8;margin:14px 0}.unknown{color:#9293a4}.program-card .card-actions{margin-top:17px}.search-bar{display:flex;gap:10px;margin:22px 0}.search-bar>input{flex:1;font-size:12px;min-width:80px}.filter-checks{gap:18px;font-size:10px}.filter-row{flex-wrap:wrap}.detail-hero{padding:28px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:30px}.detail-hero h2{margin:17px 0 10px}.detail-hero p{font-size:12px;color:#858197;margin:0}.detail-actions{display:flex;flex-direction:column;gap:10px;min-width:180px}.detail-section{padding:26px;margin-bottom:22px}.condition-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding:16px 0}.condition-row:last-child{border:0}.condition-row>b{font-size:12px}.condition-row p{width:100%;font-size:11px;color:#918b9f;margin:0}.condition-row .status{font-size:10px}.detail-section dl{font-size:12px;line-height:1.9}.detail-section dt{font-weight:650;margin-top:18px}.detail-section dd{margin:6px 0 14px;color:#8a859c}.source-item{padding:17px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.source-item:last-child{border:0}.source-item a{font-size:11px;color:#6152cc;text-decoration:underline;text-underline-offset:3px;line-height:1.6}.source-item p{font-size:11px;margin:12px 0;color:#898396}.source-item small{font-size:9px;color:#a09aad;line-height:1.8}.source-url{display:block;word-break:break-all;margin-top:6px}.task-expanded{border-bottom:1px solid var(--border);padding-bottom:5px}.task-expanded:last-child{border-bottom:0}.task-expanded .task{border:0}.task-expanded.done .task b{text-decoration:line-through;color:#a3a0b0}.task-expanded .dependency{padding:0 20px 10px;margin:0}.task-details{padding:0 20px 5px;margin:0}.task-details summary{font-size:10px;color:#8a83a1}.task-fields{display:flex;gap:12px;flex-wrap:wrap}.task-fields label{font-size:10px;display:flex;flex-direction:column;gap:7px;flex:1}.task-fields input,.task-fields select{font-size:10px;padding:8px}.task-details .text-btn{padding-left:0;margin-right:14px}.stage-pct{float:right;color:#8f86af;font-size:11px;font-weight:500;margin-top:4px}.custom-task{padding:25px;margin-top:25px}.custom-task form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.custom-task label{font-size:11px;display:flex;flex-direction:column;gap:8px}.custom-task .btn{grid-column:1/-1}.messages{height:570px;display:block;scrollbar-gutter:stable}.messages .message{width:fit-content;margin-bottom:16px}.messages .human{margin-left:auto}.advice-result{background:#faf9fd;border:1px solid #e9e5f4;border-radius:12px;padding:20px;font-size:12px;margin-bottom:22px;line-height:1.9}.advice-result>p{margin-top:15px}.analysis-context{background:#f0edf9;padding:12px;border-radius:8px;font-size:11px;color:#877c9a}.advice-candidate{border:1px solid #e8e3f1;background:white;padding:18px;border-radius:10px;margin:16px 0}.advice-candidate h3{font-size:16px;margin:14px 0 10px}.advice-candidate p,.advice-candidate li{font-size:10px;color:#8d8398}.advice-candidate li{margin-bottom:6px}.advice-candidate ul{padding-left:16px}.advice-candidate .card-actions{flex-wrap:wrap}.advice-next{padding:15px;border-radius:8px;background:#eeeafa;font-size:11px}.advice-next p{margin:8px 0}.advice-next .text-btn{padding-left:0}.advice-sources{margin:15px 0}.advice-sources summary{font-size:11px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.review-card{padding:25px;height:fit-content}.review-meta{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:18px}.review-meta .badge{font-size:8px;white-space:normal;line-height:1.5}.review-meta small{font-size:9px;white-space:nowrap;color:#aaa2b5}.review-title{background:none;padding:0;text-align:left;font-size:17px;font-weight:650;color:#353047;line-height:1.6;margin:5px 0 12px}.review-card>p{font-size:11px;color:#91899d}.review-card>small{font-size:9px;color:#a8a1b2}.tags{display:flex;gap:9px;margin:14px 0;font-size:10px;color:#a297b6}.review-actions{display:flex;flex-wrap:wrap;gap:7px;padding-top:20px;margin-top:17px;border-top:1px solid var(--border)}.review-actions button{font-size:10px;color:#8f839d;background:#f6f3fa;border-radius:5px;padding:8px}.review-actions button.voted{color:#6550bf;background:#e9e1fb}.comments{border-top:1px solid var(--border);margin-top:20px}.comment{background:#f8f6fb;padding:12px;border-radius:8px;margin:10px 0;font-size:10px}.comment b{color:#92869f}.comment p{color:#7a7086;margin:7px 0 0;overflow-wrap:anywhere}.comments form{display:flex;gap:8px;margin-top:14px}.comments input{min-width:0;flex:1;font-size:11px}.comments .btn{font-size:10px;padding:10px}.review-filters{align-items:flex-end;gap:12px}.review-filters label{font-size:10px;display:flex;flex-direction:column;gap:8px}.review-filters select{margin:0;font-size:11px;max-width:200px}.hero h1{font-size:50px}.hero-preview{position:relative;width:100%;padding:35px;box-shadow:0 20px 60px #7566bd16;transform:rotate(-2deg)}.hero-preview h3{font-size:20px;margin:24px 0 12px}.hero-preview p{font-size:12px}.preview-match{border:1px solid #e9e5f5;padding:16px;border-radius:9px;margin:12px 0;display:flex;flex-direction:column;gap:7px;font-size:12px}.preview-match span{font-size:10px;color:#9d8caf}.preview-road{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#9586b4;margin:24px 0}.preview-road i{font-style:normal;color:#c2b7d5}.migration{display:flex;align-items:center;gap:10px}.migration button{white-space:nowrap;margin-left:auto}.form-grid .form-hint{margin:0;line-height:1.7}.form-grid .check-label{align-items:flex-start}.road-stage{scroll-margin-top:25px}.chat-layout{grid-template-columns:minmax(0,1fr) 250px}.review-card,.program-card,.detail-section,.advice-result{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.seven{grid-template-columns:repeat(4,1fr);row-gap:22px}.seven .journey-step:nth-child(4):after{display:none}.chat-layout{grid-template-columns:minmax(0,1fr)}.discovery-banner b{font-size:13px}.hero h1{font-size:42px}.hero-preview{padding:25px}.detail-hero{align-items:flex-start}.detail-actions{min-width:150px}}
@media(max-width:760px){aside .brand{font-size:22px}aside nav{padding-bottom:2px}.side-note{display:none}.seven{grid-template-columns:repeat(4,1fr);padding:22px 10px}.seven .journey-step:nth-child(3):after{display:block}.seven .journey-step:nth-child(4):after{display:none}.journey-step b{font-size:8px}.discovery-banner{padding:18px;flex-direction:column;align-items:stretch}.discovery-banner .btn{font-size:11px}.stats .stat-link{font-size:16px}.stats small{font-size:9px;line-height:1.5}.review-grid{grid-template-columns:1fr}.detail-hero{flex-direction:column;padding:22px}.detail-actions{flex-direction:row;width:100%}.detail-actions .btn{flex:1;font-size:10px;padding:11px 8px}.detail-section{padding:20px}.search-bar{gap:7px}.search-bar .btn{padding:11px;font-size:10px}.filter-row{gap:10px}.filter-row label{font-size:10px}.filter-row select{font-size:10px;padding:9px}.filter-checks{flex-direction:column;align-items:flex-start}.custom-task{padding:20px}.custom-task form{grid-template-columns:1fr}.task-fields{gap:8px}.task-fields label{min-width:100px}.messages{height:500px}.advice-result{padding:14px}.advice-candidate{padding:14px}.advice-result>.badge{font-size:8px;white-space:normal}.review-filters label{flex:1;min-width:120px}.review-filters select{max-width:100%;width:100%}.hero-art{transform:none;height:auto;margin:25px 0}.hero-preview{transform:none;padding:25px}.hero h1{font-size:39px}.hero-preview h3{font-size:18px}.landing-nav .badge{display:none}.landing-nav{justify-content:space-between}.migration{display:block}.road-stage{scroll-margin-top:135px}.task .status{white-space:normal;text-align:center;min-width:40px}.program-top .badge{font-size:8px}.program-facts{gap:10px}.program-card .card-actions .btn{font-size:10px}.two-cols>*{min-width:0}}
.workspace-bar{display:flex;justify-content:space-between;gap:20px;padding:18px 22px;border:1px solid #dddff0;border-radius:18px;background:#f7f7ff;margin-bottom:28px}.workspace-bar b,.workspace-bar small{display:block;margin-top:8px}.workspace-bar small{font-size:11px;color:#73758b;max-width:620px}.workspace-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:360px}.workspace-controls select{max-width:100%;padding:10px;border:1px solid #ddd;border-radius:10px}.grounded-text{white-space:pre-line;line-height:1.85}.action-list{padding:16px;background:#f4f3ff;border-radius:14px}.action-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #dddff0}.task-note{display:block;margin:16px 0;color:#62667d;font-size:12px}.task-note textarea{display:block;resize:vertical;min-height:75px;width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;font:inherit;margin-top:6px}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.calendar-card{padding:24px;margin-bottom:22px}.reference-entry{margin:24px 0;padding:28px}.reference-entry p{margin:12px 0}.task-details .source-list{font-size:12px}.advice-result{overflow-wrap:anywhere}.workspace-bar .btn{white-space:normal}@media(max-width:760px){.workspace-bar{flex-direction:column}.knowledge-grid{grid-template-columns:1fr}.action-list>div{align-items:flex-start;flex-direction:column}.workspace-controls{max-width:100%}.workspace-bar b{font-size:13px}}
