/* DWELLIVRA — contextual portfolio architecture, same Inter/navy/teal design system. */
.dwu-root{--dwu-navy:#14263d;--dwu-teal:#147d78;--dwu-line:#e2e8ef;--dwu-muted:#60748a;color:var(--dwu-navy);font-family:Inter,Manrope,"Plus Jakarta Sans",system-ui,sans-serif;font-size:14px}
.dwu-root *{box-sizing:border-box}
.dwu-root h1,.dwu-root h2,.dwu-root h3,.dwu-root p{margin-top:0}
.dwu-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;margin:12px 0 25px}
.dwu-heading .dwu-kicker{color:#61808a;font-weight:800;letter-spacing:.14em;font-size:10px;margin:0 0 9px}
.dwu-heading h1{font-size:clamp(27px,2.3vw,34px);font-weight:800;letter-spacing:-.045em;line-height:1.2;margin:0 0 7px}
.dwu-heading p{color:#61758a;font-size:14px;margin:0;max-width:720px;line-height:1.55}
.dwu-header-actions{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.dwu-add{display:inline-flex;align-items:center;gap:8px!important;min-height:44px;border-radius:9px!important;background:#147d78!important;border-color:#147d78!important;white-space:nowrap}
.dwu-mode-select{display:grid;gap:5px;color:#51687b;font-size:11px;font-weight:700}
.dwu-mode-select select{height:44px;min-width:215px;padding:0 37px 0 13px;border:1px solid #c9d8e4;color:#14263d;border-radius:9px;background:#fff;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}
.dwu-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.dwu-kpi{background:#fff;border:1px solid var(--dwu-line);border-radius:13px;box-shadow:0 4px 14px rgba(16,37,57,.045);padding:18px;display:flex;gap:13px;min-width:0;min-height:111px;align-items:flex-start}
.dwu-kpi-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:#e5f6f3;color:#087c75}
.dwu-kpi>div:last-child{min-width:0}
.dwu-kpi span{display:block;color:#41576d;font-size:12px;font-weight:700;line-height:1.35}
.dwu-kpi strong{display:block;font-size:clamp(21px,2vw,30px);letter-spacing:-.045em;line-height:1.3;color:#0d223a;margin:5px 0 4px;overflow-wrap:anywhere}
.dwu-kpi small{color:#60798a;font-size:11px;line-height:1.35;display:block}
.dwu-section-head,.dwu-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.dwu-section-head{margin:2px 0 18px}
.dwu-section-head h2{font-size:19px;font-weight:800;letter-spacing:-.03em;margin:0 0 4px}
.dwu-section-head p{color:#63788c;font-size:13px;margin:0}
.dwu-subtle{font-size:12px;color:#688093}
.dwu-portfolios{background:#fff;border:1px solid var(--dwu-line);border-radius:14px;padding:20px;margin-bottom:22px;box-shadow:0 4px 14px rgba(17,40,63,.05)}
.dwu-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dwu-tile{position:relative;display:flex;gap:8px;justify-content:space-between;text-align:left;min-width:0;min-height:160px;padding:16px;border:1px solid #d6e2ec;border-radius:12px;cursor:pointer;background:linear-gradient(165deg,#fff 52%,#f1f8f9);box-shadow:0 3px 10px rgba(24,53,80,.04);font-family:inherit;color:#152b43;transition:box-shadow .18s,border-color .18s,transform .18s;overflow:hidden}
.dwu-tile:hover,.dwu-tile:focus-visible{transform:translateY(-2px);border-color:#0f8079;box-shadow:0 8px 24px rgba(12,82,78,.13)}
.dwu-tile-photo{position:absolute;inset:0 0 0 30%;background-position:center;background-size:cover;opacity:.13;pointer-events:none}
.dwu-tile-main{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;z-index:1}
.dwu-tile-icon{width:35px;height:35px;display:grid;place-items:center;background:#e3f4f1;border-radius:9px;color:#117b75}
.dwu-tile-main strong{font-size:14px;line-height:1.3;font-weight:800;letter-spacing:-.015em}
.dwu-tile-main b{font-size:12px;font-weight:700}
.dwu-tile-main small{font-size:11px;color:#607588;line-height:1.4}
.dwu-badge{padding:3px 8px;background:#e9f3f1;border-radius:999px;color:#0d766e;white-space:nowrap;font-weight:800;font-size:11px}
.dwu-tile-arrow{position:relative;align-self:center;color:#147d78}
.dwu-two-col{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;margin-bottom:20px}
.dwu-panel{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--dwu-line);border-radius:13px;box-shadow:0 4px 14px rgba(16,37,57,.045);margin:0 0 20px}
.dwu-two-col .dwu-panel{margin:0}
.dwu-panel-head{padding:17px 19px;border-bottom:1px solid var(--dwu-line);min-height:63px}
.dwu-panel-head>div{display:flex;align-items:center;gap:9px;color:#147d78}
.dwu-panel-head h2{color:#162a41;font-size:16px;font-weight:800;letter-spacing:-.02em;margin:0}
.dwu-panel-head a{font-size:12px;color:#147d78;text-decoration:none;font-weight:800;display:flex;gap:5px;align-items:center}
.dwu-panel-head a:hover{text-decoration:underline}
.dwu-panel-body{min-height:110px;padding:8px 17px 17px}
.dwu-mini-row{display:flex;align-items:center;gap:10px;padding:13px 2px;border-bottom:1px solid #edf0f5;color:#1c3049;text-decoration:none;min-width:0}
.dwu-mini-row:last-child{border-bottom:0}
.dwu-mini-row:hover{color:#117973;background:#f8fcfb}
.dwu-icon-chip{flex:0 0 37px;height:37px;display:grid;place-items:center;background:#e8f6f4;border-radius:10px;color:#157c77}
.dwu-mini-row>span:nth-child(2){flex:1;min-width:0}
.dwu-mini-row strong{display:block;font-weight:750;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dwu-mini-row small{display:block;color:#687e91;font-size:11px;margin-top:4px}
.dwu-mini-row>.badge{font-size:10px}
.dwu-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:115px;gap:8px;padding:12px;color:#648092;font-size:12px}
.dwu-empty svg{color:#6b9d9a}
.dwu-empty p{margin:0}
.dwu-empty a{font-size:11px}
.dwu-original-operations{margin-top:10px}
.dwu-original-operations>.dwu-section-head{margin:0 0 16px}
.dwu-original-operations .dw-dashboard-sector-callout{display:none}
.dwu-portfolio-tabs{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--dwu-line);border-radius:11px;padding:6px;margin:0 0 22px;overflow-x:auto;scrollbar-width:thin}
.dwu-portfolio-tabs button{font-family:inherit;display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#2d4057;font-size:12px;font-weight:750;border-radius:8px;padding:11px 13px;white-space:nowrap;cursor:pointer;flex-shrink:0}
.dwu-portfolio-tabs button svg{color:#55778d}
.dwu-portfolio-tabs button:hover{background:#f0f8f7}
.dwu-portfolio-tabs button.selected{background:#147d78;color:#fff}
.dwu-portfolio-tabs button.selected svg{color:#fff}
.dwu-portfolio-tabs button.selected .dwu-badge{background:#e5f6f2;color:#0e7069}
.dwu-portfolio-tabs .dwu-badge{background:#edf1f5;color:#556a7c}
.dwu-property-tools{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:15px 18px}
.dwu-property-tools>a{margin-left:auto}
.dwu-search{display:flex;align-items:center;gap:8px;border:1px solid #d9e3ec;border-radius:9px;padding:0 12px;color:#7990a1;min-width:220px;flex:1;max-width:590px;background:#fff}
.dwu-search input{border:0;outline:0;width:100%;height:41px;background:transparent;font-family:inherit;font-size:13px;color:#14263d}
.dwu-list{width:100%}
.dwu-list-head,.dwu-property-row{display:grid;grid-template-columns:minmax(180px,1.7fr) minmax(135px,1.15fr) minmax(95px,.7fr) minmax(105px,.8fr) auto;gap:10px;align-items:center}
.dwu-list-head{background:#f6f8fa;color:#52677b;font-size:11px;font-weight:800;padding:12px 16px}
.dwu-property-row{padding:12px 16px;border-top:1px solid #e9eef3;color:#14263d;min-height:78px}
.dwu-property-row:hover{background:#f9fcfc}
.dwu-property-name{display:flex;align-items:center;gap:11px;min-width:0}
.dwu-property-name>div:last-child{min-width:0}
.dwu-property-name strong,.dwu-row-location strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis}
.dwu-property-name strong{white-space:nowrap}
.dwu-property-row small{color:#698095;display:block;margin-top:5px;font-size:11px;overflow-wrap:anywhere}
.dwu-thumb{flex:0 0 62px;height:54px;border-radius:8px;overflow:hidden;background:#e4f0f1;display:grid;place-items:center;color:#147d78}
.dwu-thumb img,.dwu-thumb>.op-property-placeholder{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
.dwu-thumb>.op-property-placeholder span{display:none!important}
.dwu-thumb>.op-property-placeholder svg{width:25px;height:25px}
.dwu-row-location strong{font-weight:650;color:#425771}
.dwu-list-footer{padding:13px 18px;margin:0;color:#698095;font-size:11px}
.dwu-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.dwu-action{min-width:0;display:flex;align-items:center;gap:10px;padding:17px 14px;border:1px solid #dce7ec;border-radius:11px;background:#fff;text-decoration:none;color:#162c41;transition:border-color .2s,box-shadow .2s}
.dwu-action:hover{border-color:#147d78;box-shadow:0 6px 16px rgba(20,125,120,.08)}
.dwu-action>span:nth-child(2){min-width:0;flex:1}
.dwu-action strong{font-size:13px;font-weight:800;display:block}
.dwu-action small{display:block;font-size:11px;color:#708397;margin-top:5px;line-height:1.4}
.dwu-action>svg{color:#147d78;flex-shrink:0}
.dwu-footer-note{display:flex;align-items:center;gap:11px;padding:15px 16px;background:#eaf5f3;color:#426779;border-radius:10px;font-size:12px;line-height:1.55;margin-top:10px}
.dwu-footer-note svg{color:#147d78;flex-shrink:0}
.dwu-alert{display:flex;align-items:center;gap:9px;background:#fff7e9;border:1px solid #f1d3a1;border-radius:9px;color:#7d4b17;padding:13px;margin-bottom:18px}
.dwu-property-form .dwu-form-header{background:#f8fbfc;border:1px solid #e1ebee;padding:18px;border-radius:12px;margin-bottom:18px}
.dwu-form-header>p:first-child{font-size:10px;letter-spacing:.13em;font-weight:800;color:#147d78;margin:0 0 7px}
.dwu-form-header h3{font-size:18px;line-height:1.3;letter-spacing:-.02em;margin:0 0 17px;color:#14263d}
.dwu-form-header h4{font-size:13px;font-weight:800;color:#1f364c;margin:0 0 12px}
.dwu-form-steps{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:19px;padding-bottom:16px;border-bottom:1px solid #e0e8ef}
.dwu-form-steps span{font-size:11px;color:#657b91;padding:7px 9px;border-radius:8px;background:#e9eef3}
.dwu-form-steps span.current{background:#e1f6f2;color:#0e7770}
.dwu-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dwu-pick{position:relative;cursor:pointer}
.dwu-pick input{position:absolute;opacity:0;width:1px;height:1px}
.dwu-pick>span{display:flex;flex-direction:column;gap:5px;border:1px solid #d2e1e8;background:#fff;border-radius:10px;padding:13px;min-height:118px;color:#1f3749}
.dwu-pick svg{color:#147d78}
.dwu-pick strong{font-size:12px;font-weight:800}
.dwu-pick small{font-size:11px;color:#698093;line-height:1.35}
.dwu-pick input:checked+span{border-color:#147d78;outline:1px solid #147d78;background:#eaf7f4}
.dwu-pick input:focus-visible+span{outline:3px solid rgba(20,125,120,.35);outline-offset:2px}
.dwu-subcopy{color:#658095;font-size:11px;margin:11px 0 0}
.dwu-property-form>.op-photo-upload{margin-top:15px}
@media(max-width:1250px){.dwu-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dwu-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dwu-two-col{grid-template-columns:1fr}.dwu-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:840px){.dwu-list-head{display:none}.dwu-property-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.dwu-property-row>.dwu-row-location{grid-column:1}.dwu-property-row>div:nth-child(3),.dwu-property-row>div:nth-child(4){grid-column:1}.dwu-property-row>div:last-child{grid-column:2;grid-row:1}}
@media(max-width:620px){.dwu-heading{align-items:stretch}.dwu-heading h1{font-size:26px}.dwu-header-actions{flex-wrap:wrap;width:100%}.dwu-mode-select,.dwu-mode-select select{width:100%}.dwu-add{flex:1;justify-content:center}.dwu-kpis,.dwu-tile-grid,.dwu-actions,.dwu-picker{grid-template-columns:1fr}.dwu-kpi{min-height:88px}.dwu-panel-head{padding:14px}.dwu-panel-head h2{font-size:14px}.dwu-portfolios{padding:14px}.dwu-tile{min-height:128px}.dwu-property-tools{padding:12px}.dwu-search{max-width:none}.dwu-portfolio-tabs button{padding:10px}.dwu-property-form .dwu-form-header{padding:12px}}
@media(prefers-reduced-motion:reduce){.dwu-tile,.dwu-action{transition:none}.dwu-tile:hover{transform:none}}
