.rect-status{display:inline-block;font-size:12px;line-height:1.6;padding:3px 8px;border-radius:5px;background:var(--pale);color:var(--brand);white-space:nowrap}
.rect-status.open,.rect-status.rework{background:#f8eddf;color:#85582d}.rect-status.submitted{background:#e9eff7;color:#466682}.rect-status.resolved{background:#eaf1e9;color:#3b6747}
.rect-home-alert{display:flex;align-items:center;gap:12px;background:#fbf3e8;border:1px solid #ecddc9;border-radius:12px;padding:15px;margin-bottom:18px;color:#78532d}
.rect-alert-icon{width:37px;height:37px;border-radius:11px;background:#f2e5cf;display:grid;place-items:center;flex-shrink:0}.rect-alert-icon .icon{width:20px;height:20px}.rect-home-alert>div{flex:1;min-width:0}.rect-home-alert strong{font-size:14px}.rect-home-alert p{font-size:12px;margin-top:4px;line-height:1.7}.rect-home-alert>.icon{width:14px;height:14px}
.rect-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.rect-section-heading>div{min-width:0}.rect-section-heading h3{font-size:16px!important;margin-bottom:4px!important}.rect-section-heading p{font-size:12px!important}.rect-section-heading>.btn{flex-shrink:0}
.rect-task-card{display:block;border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px;margin-bottom:12px}.rect-project-panel>.rect-task-card{margin-top:14px;margin-bottom:0;background:var(--bg)}.rect-task-role{font-size:11px;color:var(--muted)}.rect-task-card h3{font-size:15px!important;line-height:1.7;margin:11px 0 6px!important;overflow-wrap:anywhere}.rect-task-card p{font-size:12px!important;color:var(--muted);line-height:1.8;margin:3px 0}.rect-task-card p .icon{width:13px;height:13px;margin-right:4px}.rect-task-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:12px;color:var(--muted)}.rect-task-bottom .icon{width:14px;height:14px}
.rect-empty-note{font-size:12px;color:var(--muted);line-height:1.9;margin-top:15px}.rect-inline-link{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;color:var(--brand);margin-top:12px}.rect-list-intro h1{font-size:23px!important}.rect-list-intro p{font-size:12px;color:var(--muted);margin:8px 0 10px}.rect-list-count{font-size:12px;color:var(--muted);margin-bottom:14px}
.rect-detail>h1{font-size:23px;line-height:1.6;margin:15px 0 8px;overflow-wrap:anywhere}.rect-project-name{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:20px}.rect-overdue{font-size:12px;color:#a05b39}
.rect-brief dl{margin:0}.rect-brief dl>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.85}.rect-brief dl>div:first-child{padding-top:0}.rect-brief dl>div:last-child{border-bottom:0}.rect-brief dt{color:var(--muted)}.rect-brief dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.rect-brief>h3{font-size:14px;margin-top:15px}
.rect-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.rect-photo{display:block;min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--pale)}.rect-photo img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.rect-photo>span{display:block;text-align:center;font-size:11px;line-height:1.7;padding:5px;color:var(--brand)}
.rect-actions-card h2,.rect-children h2,.rect-submissions h2,.rect-timeline h2{font-size:17px;margin-bottom:11px}.rect-actions-card p{font-size:13px;line-height:1.85;color:var(--muted)}.rect-actions-card>.btn{margin-top:17px}.rect-actions-card .actions>.btn.full{flex-basis:100%}.rect-child-row{display:flex;align-items:center;gap:8px;padding:15px 0;border-top:1px solid var(--line)}.rect-child-row>div{min-width:0;flex:1}.rect-child-row strong{font-size:13px}.rect-child-row p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:3px}.rect-child-row>.icon{width:12px;height:12px}
.rect-submissions article{padding:15px 0;border-top:1px solid var(--line)}.rect-submissions article>.row{align-items:flex-start;flex-wrap:wrap}.rect-submissions article>.row strong{font-size:13px}.rect-submissions time{font-size:11px;color:var(--muted)}.rect-submissions article>p{font-size:13px;line-height:1.9;color:var(--ink);white-space:pre-wrap;margin-top:12px}.rect-submissions .notice p{font-size:12px;color:inherit;margin-top:6px;white-space:pre-wrap}.rect-waiting{color:var(--muted)!important;font-size:12px!important}
.rect-timeline ol{padding:0 0 0 15px;margin:0}.rect-timeline li{padding:3px 0 15px 7px}.rect-timeline li::marker{color:var(--brand)}.rect-timeline strong{font-size:13px;line-height:1.8}.rect-timeline li p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:4px}.rect-boundary-note{font-size:12px;line-height:1.9;color:var(--muted);margin:18px 0}
.rect-form-context{background:var(--pale);padding:17px;border-radius:12px;margin-bottom:17px}.rect-form-context>span{font-size:12px;color:var(--brand)}.rect-form-context h2{font-size:17px;line-height:1.7;margin-top:5px;overflow-wrap:anywhere}.rect-form-context p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}.rect-form>.btn.full{margin-top:20px}.rect-form .field textarea{min-height:110px}.rect-form select{font-size:14px!important}
.rect-uploader,.rect-share-photos{border-top:1px solid var(--line);padding-top:19px;margin-top:23px}.rect-uploader h3,.rect-share-photos h3{font-size:14px}.rect-uploader .row>span{font-size:12px;color:var(--muted)}.rect-uploader>p,.rect-share-photos>p{font-size:12px;line-height:1.85;color:var(--muted);margin:8px 0 12px}.rect-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rect-upload-actions label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:16px 8px;min-height:90px;border:1px dashed #adc1cd;border-radius:10px;background:#f7fafb;color:var(--brand);cursor:pointer}.rect-upload-actions strong{font-size:12px}.rect-upload-actions .icon{width:23px;height:23px}.rect-upload-status{font-size:12px;overflow-wrap:anywhere;min-height:20px}.rect-local-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.rect-local-photos:empty{display:none}.rect-local-photos>div{position:relative}.rect-local-photos img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.rect-local-photos button{position:absolute;right:0;top:0;width:44px;height:44px;border:0;border-radius:8px;background:#19384eb3;color:white;display:grid;place-items:center}.rect-local-photos button .icon{width:16px;height:16px}
.rect-share-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rect-share-grid>label{position:relative;min-width:0;border:1px solid var(--line);border-radius:9px;padding:7px;cursor:pointer;background:#fff}.rect-share-grid input{width:20px;height:20px;accent-color:var(--brand);margin:0 0 6px}.rect-share-grid .rect-photo{pointer-events:none}.rect-share-grid>label>span{display:block;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere;margin-top:7px}.rect-share-grid>label:has(input:checked){border-color:var(--brand);background:var(--pale)}.rect-review-evidence>p{font-size:13px;line-height:1.9;white-space:pre-wrap;margin-top:12px}
@media(hover:hover){.rect-task-card:hover{border-color:#a8bdc9}.rect-inline-link:hover{text-decoration:underline}}
@media(max-width:360px){.rect-brief dl>div{grid-template-columns:70px minmax(0,1fr);gap:7px}.rect-section-heading{align-items:flex-start;flex-wrap:wrap}.rect-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rect-list-intro h1{font-size:22px!important}}
