.page.projects-page{max-width:1320px;font-family:AssistanceUI,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.reference-projects{max-width:980px;margin:0 auto}.ref-project-filters{display:flex;gap:12px;align-items:center;margin-bottom:20px}.ref-project-search{flex:1;position:relative;min-width:0}.ref-project-search svg{position:absolute;left:12px;top:11px;width:18px;height:18px;color:#68778c}.ref-project-search input{width:100%;height:40px;padding-left:38px;font-size:15px}.ref-project-filters .quiet{display:flex;gap:7px;align-items:center;font-size:14px;height:40px}.ref-project-filters svg{width:18px;height:18px}.ref-project-card{padding:22px 24px;display:grid;grid-template-columns:1.3fr 1fr;gap:20px;border-radius:12px}.ref-project-identity h3{font-size:22px;margin:0 0 10px;overflow-wrap:anywhere}.project-stage-chip{display:inline-block;border-radius:16px;padding:4px 13px;font-size:14px;background:#deedff;color:#37668f}.project-stage-chip.contest{background:#eee5ff;color:#745a9a}.project-stage-chip.report{background:#def5eb;color:#367c65}.ref-project-identity p{margin:10px 0 0;color:#68778c;font-size:15px}.ref-project-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:20px}.ref-project-progress{border-left:1px solid #dde3eb;padding-left:24px;width:100%;margin-top:7px}.ref-project-progress .progress-top{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:15px;color:#68778c}.ref-project-progress .coefficient{border:0;background:#edf1f5;font-size:18px;font-weight:600;color:#263450}.ref-project-progress .scale{height:9px;margin-top:10px}.ref-project-open{color:#365f88;border-color:#759ccc;font-size:14px;min-width:158px}.ref-project-back{display:flex;gap:5px;align-items:center;border:0;background:transparent;color:#365f88;font-size:14px;padding:0;margin:0 0 16px}.ref-project-back svg{width:18px;height:18px}.ref-project-detail-head{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:22px}.ref-project-detail-head h2{font-size:24px;margin:0 0 5px;overflow-wrap:anywhere}.ref-project-detail-head p{margin:0;color:#68778c;font-size:15px}.ref-project-actions{display:flex;gap:8px;flex-wrap:wrap}.ref-project-actions .quiet{font-size:14px;display:flex;gap:5px;align-items:center}.ref-project-actions svg{width:14px;height:14px}.ref-project-stages{display:grid;gap:12px}.ref-project-stage{background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 16px;overflow:hidden}.ref-project-stage>summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;min-height:58px}.ref-project-stage>summary::-webkit-details-marker{display:none}.ref-project-stage>summary>.chevron{width:18px;height:18px;flex-shrink:0}.ref-project-stage[open]>summary>.chevron{transform:rotate(90deg)}.ref-project-stage>summary strong{font-size:18px;color:var(--heading-color);font-weight:700}.ref-project-status{font-size:13px;padding:4px 10px;border-radius:9px;white-space:nowrap;background:#edf0f4;color:#68778c}.ref-project-status.done{background:#def5eb;color:#367c65}.ref-project-status.active{background:#e3f0ff;color:#37668f}.ref-stage-progress{display:flex;gap:12px;align-items:center;min-width:180px;margin-left:auto}.ref-stage-progress>span{font-size:14px;color:#68778c;min-width:40px;text-align:right}.ref-stage-progress .scale{margin:0;flex:1;height:8px}.ref-project-task-head,.ref-project-task-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(120px,.8fr) minmax(125px,.8fr);gap:16px;padding:12px 6px;align-items:center;font-size:14px}.ref-project-task-head{color:#68778c;padding-top:8px}.ref-project-task-row{border-top:1px solid #e7ebf0}.ref-project-task-name{display:flex;gap:12px;align-items:center;min-width:0;overflow-wrap:anywhere}.ref-project-task-name input{width:18px;height:18px;flex-shrink:0}.ref-project-task-row .ref-project-status{justify-self:start;white-space:normal}.ref-project-weight{display:flex;gap:12px;align-items:center;min-width:0}.ref-project-weight>span{font-size:14px;min-width:42px;font-variant-numeric:tabular-nums}.ref-project-weight .scale{flex:1;margin:0;height:8px}.ref-project-weight.planned{color:#99a1ad}.ref-project-weight.done{color:#367c65}.ref-project-weight.active{color:#37668f}.ref-project-batch{display:flex;align-items:center;gap:6px;font-size:14px;color:#365f88;margin:8px 0 14px 36px}.ref-project-batch svg{width:17px;height:17px}.ref-project-selection{margin:10px 0 14px;padding:10px;background:#f4f6f8;border-radius:8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}.ref-project-selection .selection-count{margin-right:auto;color:#68778c}.ref-project-selection .quiet{font-size:13px;min-height:32px;padding:4px 9px;display:flex;align-items:center;gap:5px}.ref-project-selection .quiet svg{width:16px;height:16px}.ref-project-selection .clear{width:24px;height:24px;padding:3px;border:0;background:transparent;color:#365f88}.ref-project-selection svg{width:18px;height:18px}
@media(max-width:700px){.ref-project-card{padding:17px;grid-template-columns:1fr;gap:14px}.ref-project-identity h3{font-size:20px}.ref-project-identity p{font-size:14px}.ref-project-right{gap:12px;align-items:stretch}.ref-project-progress{border-left:0;padding-left:0;margin:0}.ref-project-open{align-self:flex-end}.ref-project-filters{gap:8px}.ref-project-filters .quiet{font-size:13px;padding:7px}.ref-project-stage{padding:0 10px}.ref-project-stage>summary{gap:6px;flex-wrap:wrap;padding:10px 0;min-height:58px}.ref-project-stage>summary strong{font-size:16px}.ref-project-stage>summary>.ref-project-status{font-size:11px;padding:3px 6px}.ref-stage-progress{min-width:0;width:100%;flex-basis:100%;margin-left:25px;margin-right:4px}.ref-project-detail-head h2{font-size:21px}.ref-project-actions .quiet{font-size:12px;padding:6px 8px}.ref-project-task-head,.ref-project-task-row{grid-template-columns:minmax(0,1.4fr) minmax(68px,.75fr) minmax(48px,.6fr);gap:8px;padding:10px 0;font-size:12px}.ref-project-task-name{gap:7px}.ref-project-task-row .ref-project-status{font-size:11px;padding:3px 5px}.ref-project-weight{gap:4px;flex-wrap:wrap}.ref-project-weight>span{min-width:0;font-size:12px}.ref-project-weight .scale{flex-basis:100%;height:5px}.ref-project-selection{gap:6px;padding:8px}.ref-project-selection .quiet .action-label{display:none}.ref-project-selection .quiet{width:32px;justify-content:center;padding:5px}.ref-project-selection .selection-count{font-size:12px}}
/* Two project cards across on PC; one on iPhone, with weights kept internal. */
.reference-projects:not(.ref-project-detail){max-width:1280px}.reference-projects .project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ref-project-card{min-width:0;container-type:inline-size;container-name:project-card;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.ref-project-identity,.ref-project-right{min-width:0}.ref-project-task-head,.ref-project-task-row{grid-template-columns:minmax(0,2fr) minmax(120px,1fr)}
@container project-card (max-width:500px){.ref-project-card .ref-project-progress{border-left:0;padding-left:0}.ref-project-card .ref-project-right{gap:12px}.ref-project-card .ref-project-open{min-width:0;font-size:13px}.ref-project-card .ref-project-identity p{font-size:14px}.ref-project-card .ref-project-progress .progress-top{gap:7px;font-size:13px}}
@media(max-width:1000px){.ref-project-card{grid-template-columns:1fr;gap:14px}.ref-project-right{align-items:stretch;gap:12px}.ref-project-progress{border-left:0;padding-left:0;margin:0}.ref-project-open{align-self:flex-end}}
.workspace-unavailable .reference-projects .project-list{grid-template-columns:1fr}
@media(max-width:700px){.reference-projects .project-list{grid-template-columns:1fr}.ref-project-task-head,.ref-project-task-row{grid-template-columns:minmax(0,1.8fr) minmax(85px,1fr)}}

.ref-stage-completion{margin-left:auto;display:flex;align-items:center;gap:10px;flex-shrink:0}
.ref-stage-value{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:#566e99;min-width:36px;text-align:right}
.ref-stage-scale{width:90px;height:6px;background:#edf0f4;border-radius:4px;overflow:hidden;display:block}
.ref-stage-scale i{display:block;height:100%;border-radius:4px}
@media(max-width:700px){.ref-stage-completion{gap:6px}.ref-stage-scale{width:46px}.ref-stage-value{font-size:12px;min-width:30px}.ref-project-stage>summary strong{flex:1;min-width:110px}.ref-project-stage>summary>.ref-project-status{order:2}.ref-stage-completion{order:3}}
