/* workspace-layout-2026-10-20. Auth and draft intake retain their own layouts. */
.portal .shell{grid-template-columns:220px minmax(0,1fr)}
.portal .sidebar{padding:24px 16px}
.portal .sidebar .brand{margin-bottom:20px}
.portal .sidebar nav{margin-top:18px}
.portal .sidebar nav a{padding:10px 12px;min-height:42px}
.portal .workspace{padding:0 28px 28px;min-width:0}
.portal .topbar{min-height:60px;margin-bottom:22px}
.portal #main{max-width:1360px}
.portal #main[data-page] .page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
.portal #main[data-page] .page-head h1{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:4px 0 8px}
.portal #main[data-page] .page-head p{margin:0;font-size:14px;line-height:1.55}
.portal #main[data-page] .page-head .eyebrow{font-size:10px;letter-spacing:.1em}
.portal #main[data-page] .page-head .actions{padding:0;flex:none}
.portal #main:is([data-page=overview],[data-page=properties]) .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.portal #main:is([data-page=overview],[data-page=properties]) .stat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;padding:15px 18px;border:1px solid #dfe5ee;min-height:84px}
.portal #main:is([data-page=overview],[data-page=properties]) .stat strong{grid-column:2;grid-row:1/3;font-size:29px;margin:0;line-height:1}
.portal #main:is([data-page=overview],[data-page=properties]) .stat span{font-size:11px;line-height:1.45}
.portal #main:is([data-page=overview],[data-page=properties]) .stat .stat-label{font-size:13px;font-weight:600}
.portal .portfolio-reassurance{padding:10px 14px;margin-bottom:14px;font-size:13px}
.portal .portfolio-attention{padding:15px 18px;margin:0 0 16px;gap:14px}
.portal .portfolio-attention h2{font-size:17px;margin:0 0 5px}
.portal .portfolio-attention p{margin:0;font-size:13px}
.portal .property-list-card{padding:0;margin:0;border-radius:12px;overflow:hidden}
.portal .property-list-card .card-head{padding:18px 20px 0;gap:12px;flex-wrap:wrap}
.portal .property-list-card h2{font-size:18px;margin:0;letter-spacing:-.02em}
.portal .property-list-card .card-head .actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.portal .property-list-card .card-head .actions a{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:13px}
.portal .property-list-card .filters{margin:14px 20px 16px;gap:10px}
.portal .property-list-card .filters input,.portal .property-list-card .filters select{min-height:42px;font-size:14px}
.portal .property-list-card table{table-layout:fixed;white-space:normal}
.portal .property-list-card th{font-size:11px;letter-spacing:0;text-transform:none;background:#f7f9fc;padding:11px 20px}
.portal .property-list-card td{padding:15px 20px;font-size:13px;vertical-align:top;overflow-wrap:anywhere;line-height:1.55}
.portal .property-list-card th:first-child{width:28%}
.portal .property-list-card th:nth-child(2){width:18%}
.portal .property-list-card th:nth-child(3){width:18%}
.portal .property-list-card th:nth-child(4){width:27%}
.portal .property-list-card th:last-child{width:9%}
.portal .property-list-card td:first-child strong{font-size:14px}
.portal .property-list-card td small{font-size:12px;max-width:none;white-space:normal;text-overflow:clip;overflow:visible}
.portal .property-list-card .property-next-step{color:#435671}
.portal .property-list-card .list-footer{padding:12px 20px;background:#fafbfe;margin:0;font-size:12px;gap:12px;flex-wrap:wrap}
.portal .property-list-card .empty{margin:18px;border:0;padding:32px 18px}
.portal .portal-footer{margin-top:24px;padding-top:16px}
/* Submitted record: identity, status, tabs, then a balanced information grid. */
.portal #main.submitted-property-view{max-width:1360px}
.portal .submitted-property-view .pv-back{min-height:36px;margin:-5px 0 8px;font-size:13px}
.portal .submitted-property-view .pv-header{margin-bottom:16px;gap:20px}
.portal .submitted-property-view .pv-header h1{font-size:28px;margin:0 0 6px;line-height:1.25}
.portal .submitted-property-view .pv-status{padding:16px 20px;gap:20px;margin:0 0 12px;background:#f0f4fd;border-color:#d8e2f6;box-shadow:none}
.portal .submitted-property-view .pv-status h2{font-size:17px;margin-bottom:4px}
.portal .submitted-property-view .pv-status .pv-kicker{font-size:10px;margin-bottom:5px}
.portal .submitted-property-view #pv-next-action{font-size:13px;line-height:1.6;max-width:760px}
.portal .submitted-property-view .pv-needs-action{border-color:#e6cc9a;background:#fff9ed}
.portal .submitted-property-view .pv-tabs{margin:14px 0 18px;gap:24px}
.portal .submitted-property-view .pv-overview-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);gap:16px}
.portal .submitted-property-view .pv-card{padding:20px;border-radius:10px;box-shadow:none}
.portal .submitted-property-view .pv-card h2{font-size:17px}
.portal .submitted-property-view .pv-card-head{margin-bottom:10px}
.portal .submitted-property-view .pv-facts>div{padding:8px 0;gap:14px}
.portal .submitted-property-view .pv-map{height:238px;min-height:238px}
.portal .submitted-property-view .pv-detail+.pv-detail{margin-top:14px}
.portal .submitted-property-view #pv-panel-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.portal .submitted-property-view #pv-panel-details .pv-section-note{grid-column:1/-1;margin:0}
.portal .submitted-property-view #pv-panel-details .pv-detail{margin:0}
.portal .submitted-property-view #pv-panel-activity{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px;align-items:start}
.portal .submitted-property-view #pv-panel-activity #pv-receipt{grid-column:2;grid-row:1;margin:0;background:#f9fbfe}
.portal .submitted-property-view #pv-panel-activity>.pv-card:last-child{grid-column:1;grid-row:1}
.portal .submitted-property-view #pv-panel-activity:has(#pv-receipt[hidden]){grid-template-columns:1fr}
.portal .submitted-property-view .timeline{margin:16px 0 0}
.portal .submitted-property-view .timeline li{padding-bottom:18px}
.portal .submitted-property-view #pv-receipt p{font-size:13px;line-height:1.6}
@media(max-width:1100px){
 .portal #main:is([data-page=overview],[data-page=properties]) .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .portal .property-list-card td,.portal .property-list-card th{padding-inline:12px}
 .portal .submitted-property-view .pv-overview-grid,.portal .submitted-property-view #pv-panel-details{grid-template-columns:1fr}
 .portal .submitted-property-view #pv-panel-activity{grid-template-columns:1fr}
 .portal .submitted-property-view #pv-panel-activity #pv-receipt{grid-column:1;grid-row:2}
}
@media(max-width:760px){
 .portal .shell{display:block}
 .portal .workspace{padding:0 16px 24px}
 .portal .topbar{margin-inline:-16px;padding-inline:16px;margin-bottom:18px}
 .portal #main[data-page] .page-head{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:16px}
 .portal #main[data-page] .page-head h1{font-size:26px}
 .portal #main[data-page] .page-head .actions{width:auto}
 .portal #main:is([data-page=overview],[data-page=properties]) .stat{padding:12px;min-height:80px;gap:6px}
 .portal #main:is([data-page=overview],[data-page=properties]) .stat strong{font-size:25px}
 .portal .portfolio-reassurance{align-items:flex-start}
 .portal .portfolio-attention{flex-wrap:wrap}
 .portal .property-list-card .card-head{padding:16px 16px 0}
 .portal .property-list-card .filters{margin:12px 16px;flex-direction:column}
 .portal .property-list-card .filters input,.portal .property-list-card .filters select{font-size:16px;min-height:44px;max-width:none;width:100%}
 .portal .property-list-card table,.portal .property-list-card tbody{display:block;min-width:0;width:100%}
 .portal .property-list-card thead{display:none}
 .portal .property-list-card tr{display:grid;grid-template-columns:1fr auto;gap:10px 14px;padding:16px;border-top:1px solid #e3e9f2}
 .portal .property-list-card td{display:block;padding:0;border:0;min-width:0;width:auto!important}
 .portal .property-list-card td:first-child{grid-column:1/-1}
 .portal .property-list-card td[data-label]:before{display:block;content:attr(data-label);font-size:11px;color:#65738a;margin-bottom:3px}
 .portal .property-list-card td.property-next-step{grid-column:1/-1}
 .portal .property-list-card td:last-child{grid-column:1/-1}
 .portal .property-list-card td:last-child a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #dbe3f0;border-radius:7px}
 .portal .property-list-card .list-footer{padding:12px 16px}
 .portal .submitted-property-view .pv-header h1{font-size:25px}
 .portal .submitted-property-view .pv-header-meta{margin-top:10px}
 .portal .submitted-property-view .pv-status{padding:16px;display:block}
 .portal .submitted-property-view .pv-next-buttons{margin-top:12px}
 .portal .submitted-property-view .pv-tabs{gap:12px;justify-content:space-between}
 .portal .submitted-property-view .pv-tabs button{font-size:13px;min-height:48px}
 .portal .submitted-property-view .pv-card{padding:16px}
 .portal .submitted-property-view .pv-overview-grid{grid-template-columns:minmax(0,1fr)}
 .portal .submitted-property-view .pv-file-actions button{min-height:44px}
 .portal .submitted-property-view .pv-document-toolbar input,.portal .submitted-property-view .pv-document-toolbar select{font-size:16px}
}
@media print{.portal .shell{display:block}.portal .workspace{padding:0}.portal .submitted-property-view #pv-panel-details,.portal .submitted-property-view #pv-panel-activity{display:block}}
