.project-sheet{display:grid;gap:25px;color:var(--text)}
:root[data-design][data-theme] .avatar[data-realtor]{background:linear-gradient(145deg,var(--realtor-background),color-mix(in srgb,var(--realtor-background),#122c35 30%));border-color:var(--realtor-color);color:#fff}
.sheet-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:25px;align-items:start}
.sheet-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.sheet-section-title h3,.sheet-section>h3{font-size:19px;font-weight:550;letter-spacing:-.3px;line-height:1.4}
.sheet-section-title h3>span{margin-left:8px;color:var(--muted);font-size:14px}
.sheet-section-title>.secondary-btn{font-size:12px;padding:8px 12px;min-height:36px;flex:none}
.sheet-gallery-empty{min-height:280px;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;padding:24px;border:1px dashed var(--line);border-radius:19px;background:rgba(127,156,166,.07);color:var(--secondary);text-align:center}
.sheet-cover .sheet-photo{display:block;width:100%;height:285px;padding:0;border-radius:18px;overflow:hidden;background:rgba(16,39,51,.2)}
.sheet-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s}
.sheet-photo:hover img{transform:scale(1.025)}
.sheet-thumbnails{display:flex;gap:9px;margin-top:10px;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}
.sheet-thumbnails .sheet-photo{height:68px;width:90px;flex:0 0 90px;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.sheet-upload-status:empty{display:none}.sheet-upload-status{font-size:13px;color:var(--secondary);margin-top:10px;line-height:1.5}
.sheet-summary{display:grid;gap:14px;padding:3px 0}
.sheet-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sheet-stage{display:inline-flex;align-items:center;color:#fff;font-size:12px;font-weight:600;border-radius:8px;padding:7px 9px}
.sheet-price{font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-.7px}
.sheet-price small{display:block;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:5px}
.sheet-address{font-size:15px;line-height:1.5;color:var(--secondary)}
.sheet-facts{display:grid;gap:10px;margin:0}
.sheet-facts>div{display:flex;gap:12px;justify-content:space-between;align-items:center}
.sheet-facts dt{font-size:13px;color:var(--muted)}
.sheet-facts dd{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;text-align:right;min-width:0}
.sheet-facts dd>button{padding:0;color:var(--text);text-align:right}
.sheet-facts .avatar{width:25px;height:25px;font-size:10px}
.sheet-next{display:grid;gap:6px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--material-task)}
.sheet-next>span{font-size:11px;color:var(--muted)}.sheet-next strong{font-size:14px;font-weight:550}.sheet-next small{font-size:12px;color:var(--secondary)}
.sheet-summary>.secondary-btn{font-size:13px;min-height:39px;justify-content:center}
.sheet-section{padding-top:21px;border-top:1px solid var(--line);min-width:0}
.sheet-section>h3{margin-bottom:11px}
.sheet-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:var(--secondary)}
.sheet-platforms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.sheet-platform{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:14px 12px;border:1px solid var(--line);border-radius:15px;background:var(--material-task);min-width:0}
.sheet-platform-brand{display:flex;align-items:center;gap:9px;min-height:30px}.sheet-platform-brand .brand-icon{width:27px;height:27px;flex:none;border-radius:6px}.sheet-platform-brand strong{font-size:14px;font-weight:600;line-height:1.4}
.sheet-placement-status{font-size:12px;line-height:1.5;color:var(--secondary)}
.sheet-placement-status.published{color:#66d6aa}.sheet-placement-status.ready{color:#8bbffd}.sheet-placement-status.paused{color:#ffc574}.sheet-placement-status.removed{color:var(--muted)}
.sheet-platform small{font-size:12px;color:var(--muted)}.sheet-platform>a{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text);overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.sheet-platform>p{font-size:12px;line-height:1.5;color:var(--secondary);overflow-wrap:anywhere}.sheet-platform>.text-btn{margin-top:auto;font-size:12px;padding-top:4px}
.sheet-ad{padding:13px 0 0;color:var(--secondary);font-size:13px}.sheet-ad summary{cursor:pointer}.sheet-ad p{margin:13px 0;line-height:1.7;white-space:pre-wrap}.sheet-ad .text-btn{font-size:13px}
.sheet-documents{display:grid;gap:10px}.sheet-document{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.sheet-document>svg{flex:none;color:var(--secondary)}.sheet-document strong{font-size:14px;font-weight:500;flex:1}.sheet-document-status{font-size:12px;color:var(--secondary);white-space:nowrap}.sheet-document-status.missing{color:#eead77}.sheet-document .text-btn{font-size:12px}
.sheet-load-error{font-size:13px;line-height:1.5;color:#ffb08c}.sheet-load-error button{color:inherit;text-decoration:underline}
.sheet-photo-view img{display:block;max-width:100%;width:100%;max-height:72dvh;object-fit:contain;border-radius:14px;background:rgba(15,30,39,.2)}
:root[data-theme=light] .sheet-placement-status.published{color:#216744}:root[data-theme=light] .sheet-placement-status.ready{color:#1b5d97}:root[data-theme=light] .sheet-placement-status.paused{color:#8d5319}:root[data-theme=light] .sheet-document-status.missing{color:#944919}
/* Completion colors the entire task, consistently in every task view. */
:root[data-design][data-theme] :is(.p-project .p-task.is-done,.project-task.is-complete,.task-card.task-complete){--text:#263c21;--secondary:#3d552f;--muted:#49623a;--accent:#31521f;--line:rgba(55,91,33,.22);--stage-color:#9ed755;--stage-glow:158,215,85;background:linear-gradient(135deg,#d1ef9b,#b5dd78);border-color:#d9f3b7;color:#263c21;opacity:1;box-shadow:0 5px 15px rgba(101,145,50,.16),inset 0 1px 0 rgba(244,255,225,.6)}
:root[data-design][data-theme] :is(.p-project .p-task.is-done,.project-task.is-complete,.task-card.task-complete) :is(.p-task-title,.project-task-title,.card-title,h3,button){color:#263c21}
:root[data-design][data-theme] :is(.p-project .p-task.is-done,.project-task.is-complete,.task-card.task-complete) :is(.p-task-meta,.p-task-assignee,.p-task-date,.project-task-meta,.next-step,.muted){color:#3d552f}
:root[data-design][data-theme] :is(.project-task.is-complete,.task-card.task-complete) :is(.badge,.project-task-status){background:rgba(53,85,37,.09);color:#315525;border-color:rgba(55,91,33,.22)}
:root[data-design][data-theme] .p-dot.done{background:#9ed755;box-shadow:0 0 7px rgba(158,215,85,.6)}
.p-lane[data-stage=done]{--stage-color:#9ed755;--stage-glow:158,215,85}
@media(max-width:767px){.sheet-hero{grid-template-columns:minmax(0,1fr);gap:20px}.sheet-cover .sheet-photo{height:235px}.sheet-gallery-empty{min-height:210px}.sheet-platforms{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-price{font-size:28px}.sheet-document{flex-wrap:wrap}.sheet-document strong{flex-basis:60%}.sheet-document-status{margin-left:28px}.sheet-section-title h3{font-size:17px}.sheet-section-title>.text-btn{font-size:12px}.sheet-summary{gap:12px}}
@media(prefers-reduced-motion:reduce){.sheet-photo img{transition:none}}
.p-plan-late{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;margin:5px 0 3px;border:1px solid rgba(242,145,147,.35);border-radius:7px;background:rgba(157,58,67,.12);color:#ffb4aa;font-size:11px;line-height:1.3;text-align:left}:root[data-theme=light] .p-plan-late{color:#9b303a;background:rgba(166,58,66,.08)}
.p-project-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.p-project-actions>span{font-size:13px;line-height:1.4;font-weight:600;color:var(--text);padding:5px 9px;min-height:29px;border:1px solid var(--line);border-radius:8px;background:rgba(130,182,198,.12)}
:root[data-design][data-theme] .p-plan-button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 11px;border:1px solid rgba(127,223,216,.55);border-radius:8px;background:linear-gradient(145deg,rgba(123,220,206,.24),rgba(122,164,173,.1));color:var(--text);font-size:13px;font-weight:600;line-height:1.4;box-shadow:0 3px 9px rgba(16,39,46,.13),inset 0 1px rgba(232,255,244,.28)}.p-plan-button:hover{background:rgba(124,218,205,.28)}.p-plan-button:disabled{opacity:.4;cursor:default}
.p-canvas-filters .p-pipeline-filters>.p-calendar-button{margin-left:14px;border-color:rgba(127,208,193,.4);color:var(--text)}

.p-menu-map-settings{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 0;color:var(--text);font-size:13px;border-top:1px solid var(--line);margin-top:8px}
