:root {
  --ink: #20302c;
  --muted: #52635e;
  --accent: #185e4d;
  --mint: #e5f4ee;
  --line: #e1e8e5;
  --canvas: #f5f7f6;
  --white: #fff;
  --pine: #263633;
  --radius: 13px;
  --sidebar: 248px;
  --gutter: clamp(24px, 2.65vw, 36px);
  font: 16px/1.5 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
[hidden] { display: none !important; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); margin: 7px 0 14px; }
h1 { font: 500 clamp(2.1rem, 3.1vw, 3.1rem)/1.12 Georgia, serif; letter-spacing: -.04em; margin: 0 0 8px; overflow-wrap: anywhere; }
h2 { font-size: 1.18rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
h3 { font-size: 1rem; }
a { color: var(--accent); }

#sidebar { position: fixed; inset: 0 auto 0 0; z-index: 3; width: var(--sidebar); display: flex; flex-direction: column; overflow-y: auto; padding: 34px 17px 22px; background: var(--pine); color: #e4eeea; }
.brand { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 1px 10px 24px; font-size: 1rem; font-weight: 650; color: #f4faf7; overflow-wrap: anywhere; }
.brand-mark { width: min(174px, 100%); height: auto; object-fit: contain; }
.monogram, .profile-avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #b7e2d3; color: #214f42; font-size: .78rem; font-weight: 800; letter-spacing: .03em; flex: none; }
#nav { display: grid; gap: 4px; margin-top: 21px; padding-bottom: 19px; }
.nav-label { margin: 0 12px 5px; color: #b6c9c1; font-size: .73rem; font-weight: 650; letter-spacing: .105em; text-transform: uppercase; }
.nav-label:not(:first-child) { margin-top: 23px; }
#nav button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 45px; border: 1px solid transparent; background: transparent; color: #e0e8e5; text-align: left; font-weight: 550; padding: 9px 12px; }
#nav button:hover { background: #344840; }
#nav button.active { background: #3c574f; border-color: #506d62; color: #e7fbf3; font-weight: 680; }
#nav button.active svg { color: #b4e8d5; }
.nav-indicator, .private-dot { width: 7px; height: 7px; border-radius: 50%; background: #a6e3cc; margin-left: auto; flex: none; }
#sidebar footer { display: flex; align-items: center; gap: 11px; border-top: 1px solid #53635f; margin: auto 4px 0; padding: 20px 4px 0; font-size: .9rem; }
#sidebar footer small { display: block; color: #b3c5bd; font-size: .78rem; line-height: 1.3; }
main { margin-left: var(--sidebar); min-width: 0; }
#site-header { position: sticky; top: 0; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px var(--gutter); color: var(--muted); font-size: .9rem; }
.breadcrumb, .breadcrumb-root, .header-date, .account-tools { display: flex; align-items: center; gap: 9px; }
.breadcrumb { min-width: 0; overflow-wrap: anywhere; }
.breadcrumb strong, #identity-label { color: var(--ink); }
.account-tools { margin-left: auto; flex-shrink: 0; }
.header-date { margin-right: 5px; color: var(--muted); white-space: nowrap; }
.header-date span::first-letter { text-transform: uppercase; }
#identity-label { padding-inline: 8px; font-size: .84rem; }
#menu, #menu-shade { display: none; }
#screen { max-width: 1500px; margin: auto; padding: 30px var(--gutter) 45px; }

.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 303px; overflow: hidden; border-radius: 15px; color: white; background: #233f36; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { inset: 0 0 0 33%; z-index: -2; background: center 45% / cover no-repeat url("/panel-hero.webp"); }
.hero::after { inset: 0; z-index: -1; background: linear-gradient(90deg,#233f36 0%,#233f36 30%,#233f36f5 39%,#233f3685 61%,#1429231a 100%); }
.hero-inner { padding: 30px 38px; width: min(660px, 80%); }
.hero h1 { font-size: clamp(2.4rem, 4.15vw, 4.15rem); line-height: 1.04; letter-spacing: -.048em; margin: 10px 0; }
.hero p { max-width: 365px; color: #edf6f2; line-height: 1.53; margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: #bdebdc; font-size: .88rem; font-weight: 700; }
.hero .row { margin-top: 21px; }
.hero button { background: #b9e8d8; color: #194036; min-height: 44px; }
.hero button.hero-secondary { border-color: #acd9ca; background: #233f3685; color: white; }

.row, .heading, .panel-head, .dialog-head, .dialog-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.heading, .panel-head, .dialog-head { justify-content: space-between; }
.heading { margin: 4px 0 23px; align-items: flex-end; }
.heading p { margin-bottom: 0; }
.stats, .split, .grid { display: grid; gap: 15px; }
.stats { grid-template-columns: repeat(4, minmax(0,1fr)); margin: 20px 0; }
.split, .grid { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
.overview { align-items: stretch; }
.card, .panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 17px; }
.panel { margin-bottom: 16px; }
.panel-head { margin-bottom: 12px; }
.muted, .card small, .shortcut small { color: var(--muted); }
.metric { color: var(--ink); display: grid; gap: 6px; text-align: left; padding: 15px 16px 16px; font-weight: 500; }
.metric:hover, .shortcut:hover { filter: none; border-color: #9ccab9; background: #fbfefc; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 35px; color: #40554d; font-weight: 650; }
.metric strong { font-size: 1.94rem; font-weight: 690; line-height: 1.08; letter-spacing: -.04em; }
.metric small, .shortcut small { display: block; font-size: .79rem; line-height: 1.3; }
.tile-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 9px; background: var(--mint); color: #216350; flex: none; }
.shortcut { color: var(--ink); display: flex; align-items: center; text-align: left; gap: 12px; padding: 14px 16px; margin: 0; }
.shortcut strong { display: block; margin-bottom: 3px; }
.agenda-empty { display: grid; justify-items: center; align-content: center; gap: 7px; text-align: center; min-height: 197px; padding: 14px 10px; }
.agenda-empty p { margin: 0 0 4px; font-size: .9rem; }
.agenda-empty .tile-icon { width: 43px; height: 43px; }
.funnel-chart { display: grid; gap: 10px; padding: 2px 2px 4px; }
.funnel-row { display: grid; grid-template-columns: minmax(115px,max-content) minmax(24px,1fr) 2ch; align-items: center; gap: 9px; font-size: .88rem; }
.funnel-row b { text-align: right; color: #466058; }
.funnel-track, .funnel-track span { display: block; height: 7px; border-radius: 7px; }
.funnel-track { background: #eaf1ed; }
.funnel-track span { background: #3d826d; }

button, .button { border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: var(--accent-text,#fff); font: inherit; font-size: .9rem; font-weight: 650; padding: 8px 13px; min-height: 39px; cursor: pointer; display: inline-block; text-decoration: none; }
button:hover, .button:hover { filter: brightness(1.06); }
button.secondary, .button.secondary { border-color: #cee0d9; background: #f8fbf9; color: #194f43; }
button.text-button { background: transparent; color: #185e4d; padding-inline: 5px; }
button.text-button:hover { background: var(--mint); }
.danger { color: #923b33 !important; }
button:disabled { opacity: .64; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #4d9f85; outline-offset: 3px; }
.badge { display: inline-block; border-radius: 20px; padding: 4px 9px; background: #e2f2ea; color: #155747; font-size: .81rem; line-height: 1.3; font-weight: 650; }
.late { background: #fcecec; color: #943a35; }
.empty { display: grid; place-items: center; min-height: 89px; padding: 17px; border: 1px dashed #cee0d9; border-radius: 9px; color: var(--muted); text-align: center; }
.table-box, .kanban { overflow: auto; }
table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .91rem; }
th, td { border-bottom: 1px solid var(--line); padding: 11px 10px; text-align: left; vertical-align: top; }
th { background: #eaf3ee; color: #38564a; }
td .row { min-width: 105px; }
td button { white-space: nowrap; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.list-item:last-child { border-bottom: 0; }
.kanban { display: flex; gap: 10px; padding: 1px 1px 10px; scroll-snap-type: x proximity; }
.lane { flex: 0 0 clamp(162px,16vw,210px); background: #eaf0ed; border-top: 4px solid #69a991; border-radius: 9px; padding: 10px; min-height: 125px; scroll-snap-align: start; }
.lane:nth-child(n+4) { border-color: #498774; }
.lane:nth-child(n+6) { border-color: #315c50; }
.lane h3 { font-size: .92rem; }
.lane h3 .badge { background: white; }
.lane button { width: 100%; text-align: left; background: white; color: var(--ink); margin-top: 8px; border-color: #d9e5df; overflow-wrap: anywhere; }
.lane button small { display: block; color: var(--muted); }

dialog { width: min(700px,calc(100% - 28px)); border: 1px solid #ceded6; border-radius: 15px; padding: 21px; color: var(--ink); max-height: 93dvh; box-shadow: 0 20px 65px #142d265c; }
dialog::backdrop { background: #172e28a0; }
.dialog-head { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dialog-actions { justify-content: flex-end; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 17px 0; }
.wide { grid-column: 1 / -1; }
label { display: block; font-size: .9rem; font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; border: 1px solid #d5e0db; border-radius: 8px; padding: 8px 10px; color: var(--ink); background: white; font: inherit; }
input[type=checkbox] { display: inline-block; width: 17px; min-height: 0; height: 17px; margin: 0 7px 0 0; accent-color: var(--accent); vertical-align: middle; flex: none; }
select { appearance: none; padding-right: 30px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23445951' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 9px center / 16px no-repeat; }
textarea { min-height: 90px; resize: vertical; }
input[readonly] { background: #eef4f2; color: #395d55; }
.copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.search { max-width: 400px; margin-bottom: 12px; }
.signed-out main { margin: 0; }
.login-card { background: white; margin: clamp(18px,10vh,90px) auto 0; border: 1px solid var(--line); border-radius: 15px; width: min(100%,460px); padding: clamp(22px,5vw,38px); }
.login-card form { display: grid; gap: 14px; margin-top: 16px; }
.login-card .brand { background: var(--pine); padding: 15px; border-radius: 10px; display: inline-flex; margin-bottom: 19px; }
.login-card button { justify-self: start; }
#toast { position: fixed; bottom: 18px; right: 18px; z-index: 5; background: #224e41; color: white; border-radius: 9px; padding: 11px 17px; max-width: calc(100vw - 36px); display: none; }
#print { display: none; }
@media (max-width: 1150px) {
  :root { --sidebar: 220px; }
  .header-date { display: none; }
}
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  :root { --sidebar: min(285px,84vw); --gutter: 13px; }
  #sidebar { display: none; z-index: 5; box-shadow: 0 5px 35px #14292158; }
  #sidebar.open { display: flex; }
  #menu-shade { position: fixed; z-index: 4; inset: 0; display: block; background: #1e332a91; }
  #menu { display: grid; place-items: center; width: 37px; height: 37px; min-height: 0; padding: 0; color: var(--ink); background: transparent; }
  main { margin: 0; }
  #site-header { min-height: 60px; gap: 5px; }
  #identity-label, .breadcrumb-root, .breadcrumb-divider { display: none; }
  .account-tools { gap: 4px; }
  .account-tools button { padding: 5px 7px; font-size: .81rem; min-height: 35px; }
  #screen { padding-top: 16px; }
  .hero { min-height: 266px; }
  .hero::before { inset: 0 0 0 12%; }
  .hero::after { background: linear-gradient(90deg,#233f36 2%,#233f36f2 38%,#233f36b8 68%,#172c2555 100%); }
  .hero-inner { width: 100%; padding: 25px 18px; }
  .hero h1 { font-size: clamp(2.25rem,8vw,3.1rem); }
  .hero p { max-width: 275px; }
  .stats { gap: 9px; margin: 13px 0; }
  .metric { padding: 10px; }
  .metric-top { font-size: .83rem; }
  .tile-icon { width: 33px; height: 33px; }
  .grid { grid-template-columns: 1fr; }
  .heading { align-items: flex-start; }
  .list-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .fields { grid-template-columns: 1fr; }
  .card, .panel { padding: 12px; }
  dialog { width: calc(100% - 12px); padding: 13px; }
  input, select, textarea { font-size: 16px; }
}
@media print{@page{margin:16mm}body{background:white;color:#172e2c}aside,main,dialog,#toast{display:none!important}#print{display:block}.report-brand{border-bottom:3px solid #126557;padding-bottom:10px}.report-section{margin:18px 0}.report-section p{white-space:pre-wrap}tr{break-inside:avoid}thead{display:table-header-group}h2{break-after:avoid}a{color:#172e2c;text-decoration:none}}
.valuation-data{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 16px}.valuation-data>div{border-bottom:1px solid var(--line);padding:5px 0;break-inside:avoid}.valuation-data dt{font-weight:600;color:var(--muted)}.valuation-data dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.valuation-check{padding:4px 0}.valuation-check input{width:auto;display:inline-block;margin-right:.55rem}#valuation-checklist{margin-top:10px}#valuation-checklist button{margin-top:8px}@media print{.valuation-data{grid-template-columns:repeat(3,1fr)}.report-section table{font-size:8.5pt;table-layout:fixed}.report-section td,.report-section th{padding:4px;overflow-wrap:anywhere}}
@media print {
  @page {size:A4;margin:0}
  #print{display:block;font:10pt/1.34 Arial,sans-serif;color:#252829;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #print h1,#print h2{letter-spacing:normal}
  #print h1{font-size:16pt;letter-spacing:.13em;text-transform:uppercase;margin:4mm 0 1mm}
  #print h2{font-size:12pt;margin:4mm 0 2mm}
  #print p{margin:1.5mm 0 2.5mm;color:inherit}
  .valuation-cover,.valuation-page{min-height:296mm;box-sizing:border-box}
  .valuation-page{break-before:page}
  .valuation-cover{background:#757779;color:white;text-align:center}
  .valuation-cover-brand{height:88mm;display:grid;place-items:center;background:#686b6d;border-bottom:1.4mm solid #65bfa8}
  .valuation-cover-brand img{width:72%;height:70mm;object-fit:contain}
  .valuation-cover-body{width:78%;margin:64mm auto 0;border-top:.45mm solid #65bfa8;padding-top:6mm}
  .valuation-cover-body .valuation-cover-price{margin:27mm 0 24mm}
  .valuation-cover-price strong{font-size:9pt;letter-spacing:.13em;color:#9ce2d1;text-transform:uppercase}
  #print .valuation-cover-price p{font-size:19pt;font-weight:700;letter-spacing:.12em}
  .valuation-cover-body small{display:block;border-top:.45mm solid #65bfa8;padding-top:5mm}
  .valuation-page{padding:13mm 15mm 9mm;display:flow-root}
  #print .valuation-banner{position:static;display:flex;justify-content:space-between;align-items:center;background:#686b6d;color:white;border:0;padding:4mm 6mm;min-height:0;font-size:9pt}
  .valuation-banner strong{font:700 19pt Georgia,serif}
  .valuation-highlight{margin:4mm 0;border:.4mm solid #5fb69e;background:#e9f5f1}
  .valuation-highlight strong{display:block;background:#6b6e70;color:white;text-transform:uppercase;padding:2mm 3mm;font-size:8pt;letter-spacing:.12em}
  .valuation-highlight b{display:block;text-align:center;color:#267861;font-size:17pt;padding:2mm;letter-spacing:.1em}
  #print .valuation-highlight p{padding:0 3mm;font-size:8.5pt}
  #print .valuation-data{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:.25mm solid #c2c9c7;border-left:.25mm solid #c2c9c7}
  #print .valuation-data>div{border:.25mm solid #c2c9c7;border-left:0;border-top:0;padding:1.5mm 2mm}
  #print .valuation-data dt{font-size:8pt;text-transform:uppercase;background:#eceeed}
  #print table{table-layout:fixed;width:100%;font-size:8.5pt}
  #print th,#print td{padding:1.8mm 2mm;border:.2mm solid #b6bfbd;overflow-wrap:anywhere}
  #print th{background:#686b6d;color:#fff;text-transform:uppercase;letter-spacing:.025em}
  #print tbody tr:nth-child(even){background:#f1f3f2}
  #print .table-box{overflow:visible}
  .valuation-summary{break-inside:avoid;margin-bottom:4mm;border:.45mm solid #5fb69e}
  #print .valuation-summary td{background:#e9f5f1;white-space:pre-wrap}
  .valuation-copy{white-space:pre-wrap}
  .valuation-sources{padding-left:5mm;font-size:8.5pt;overflow-wrap:anywhere}
  .valuation-sources li{margin-bottom:2mm;break-inside:avoid}
  #print .valuation-footer{position:static;display:flex;justify-content:space-between;border:0;border-top:.5mm solid #65bfa8;margin:7mm 0 0;padding:2mm 0 0;color:#454d4a;font-size:8pt}
}
.password-control{display:flex;align-items:center;gap:.5rem;margin-top:4px}.password-control input{flex:1;margin-top:0}.password-control button{flex:none;min-height:42px}.password-control input[type=text]{font-family:inherit}
.photo-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:.75rem;margin:1rem 0}.photo-previews figure{margin:0;min-width:0}.photo-previews img{display:block;width:100%;height:110px;object-fit:contain;background:#edf1ef;border-radius:6px}.photo-previews button{margin-top:6px}
@media print {
  .valuation-cover-body small{margin-top:46mm}
  .valuation-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5mm}
  .valuation-photo-grid figure{margin:0;break-inside:avoid;border:.2mm solid #b6bfbd;padding:2mm}
  .valuation-photo-grid img{width:100%;height:48mm;object-fit:contain;display:block}
  .valuation-photo-grid figcaption{margin-top:2mm;font-weight:600;overflow-wrap:anywhere}
}
@media print {
  .valuation-cover{background:#fff;display:grid;place-items:center;break-inside:avoid}
  .valuation-cover img{width:112mm;max-width:75%;height:auto}
  .valuation-letterhead{margin:0 0 5mm;padding-bottom:2.5mm;border-bottom:.4mm solid #65bfa8}
  .valuation-letterhead img{display:block;width:100%;height:auto}
  #print h1{color:#244b43;letter-spacing:.1em}
  #print h2{color:#24594d}
  #print .valuation-data dt{background:transparent;color:#3d5851}
  #print th{background:#e1f0eb;color:#25483f}
}
.account-form input[type=color],#brand-form input[type=color]{min-height:44px}.valuation-letterhead{display:flex;align-items:center;gap:1rem}.valuation-letterhead strong{color:var(--accent)}
@media print{.valuation-letterhead img{width:38mm;max-height:14mm;object-fit:contain}.valuation-letterhead{border-bottom-color:var(--accent)}.valuation-cover h1{color:var(--accent)}}
#documentation-fields fieldset{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:8px 12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:4px 10px}
#documentation-fields legend{font-weight:650;padding:0 5px}
#documentation-fields .valuation-check{display:flex;align-items:center;min-height:36px}

/* Platform and workspace branding */
.platform-mark { display: inline-block; flex: none; }
.platform-mark img { display: block; width: 100%; height: auto; }
#sidebar .platform-mark { padding: 13px 12px; background: #f8fbfa; border-radius: 10px; margin-bottom: 15px; }
#sidebar .brand { padding: 0 4px 15px; border-bottom: 1px solid #53635f; margin-bottom: 2px; justify-content: flex-start; }
.brand strong { display: block; line-height: 1.3; }
.brand small { display: block; color: #bed0c8; font-size: .78rem; font-weight: 500; margin-top: 3px; }
.brand-logo { height: 39px; width: 39px; object-fit: contain; background: white; border-radius: 7px; padding: 3px; flex: none; }
.workspace-switch { display: inline-flex; align-items: center; gap: 9px; color: #e4eeea; text-decoration: none; }
.workspace-switch:hover { color: #bdebdc; text-decoration: underline; }
.workspace-link { color: var(--accent); font-weight: 650; }
.platform-screen { width: 100%; max-width: 1180px; margin: 0 auto; }
.platform-top { display: flex; align-items: center; min-height: 72px; margin-bottom: 19px; padding: 15px 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.platform-top .platform-mark { width: min(225px,100%); }
.platform-hero { min-height: 250px; margin-bottom: 19px; }
.platform-hero h1 { font-size: clamp(2.2rem,4.05vw,3.8rem); }
.platform-hero p { max-width: 340px; }
.login-card .platform-mark { width: min(240px,100%); margin-bottom: 22px; }
.login-card .brand { padding: 10px 11px; gap: 8px; margin: 0 0 15px; background: #eaf3ee; color: var(--ink); }
.login-card .brand small { color: var(--muted); }
dialog form > p[data-feedback]:empty, #form-feedback:empty { display: none; }
@media(max-width:760px) {
  .platform-top { padding: 12px 15px; min-height: 59px; margin-bottom: 12px; }
  .platform-top .platform-mark { width: min(180px,100%); }
  .platform-hero { min-height: 201px; margin-bottom: 13px; }
  .platform-hero h1 { font-size: clamp(2rem,8vw,3rem); }
}

.calendar-month { text-transform: capitalize; }
.calendar-controls { flex-wrap: wrap; margin-bottom: 14px; }
.calendar-controls label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.calendar-controls input { width: auto; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.calendar-weekday { text-align: center; font-weight: 600; }
.calendar-day { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 48px; padding: 4px; }
.calendar-day[aria-pressed="true"] { background: var(--accent); color: white; }
.calendar-day small { font-size: .75rem; font-weight: 700; }

.property-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 240px),1fr)); gap: 16px; }
.property-card { min-width: 0; border: 1px solid var(--line, #dce5e2); border-radius: 14px; overflow: hidden; background: var(--surface, #fff); }
.property-cover { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.property-placeholder { display: grid; justify-items: center; align-content: center; gap: 8px; background: #edf4f1; color: #47655e; }
.property-card-body { display: grid; gap: 8px; padding: 14px; overflow-wrap: anywhere; }
.property-card-body h3, .property-card-body p { margin: 0; }
.property-card-body p, .property-card-body small { color: var(--muted, #485650); }
.property-card-body .row:last-child { margin-top: 4px; }
.property-status.available { background: #dff2e9; color: #145a41; }
.property-status.reserved { background: #e8e9fa; color: #3f4384; }
.property-status.negotiating { background: #fff0cf; color: #714a05; }
.property-features { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: pre-line; }
.property-photo-field { display: grid; gap: 10px; }
.property-preview { width: min(100%, 340px); aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }

.reservation-tabs { gap: 6px; border-bottom: 1px solid var(--line, #dce5e2); padding-bottom: 12px; }
.reservation-tabs [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.reservation-filters { margin-top: 14px; align-items: center; }
.reservation-filters input { width: min(100%, 380px); }
.reservation-filters label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.reservation-filters select { width: auto; max-width: 100%; }
.reservation-count { text-align: right; margin: 12px 0 6px; }
.reservation-panel td { vertical-align: middle; }
.reservation-panel td:last-child { min-width: 170px; }
.reservation-stage.ongoing { background: #fff0cf; color: #714a05; }
.reservation-stage.paid { background: #dff2e9; color: #145a41; }
.reservation-stage.inactive { background: #eef0f2; color: #45515c; }
.reservation-pagination { justify-content: space-between; margin-top: 14px; }
.performance-filters{align-items:end;flex-wrap:wrap;gap:14px}
.performance-filters label{min-width:170px;flex:1}
.performance-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin:18px 0}
.performance-stats .metric{padding:16px;min-height:105px;overflow-wrap:anywhere}
.performance-stats strong{font-size:clamp(1.3rem,2.2vw,2rem)}
.performance-progress{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:14px 0;align-items:center}
.performance-progress progress{width:100%;accent-color:var(--accent);height:12px}
.performance-progress small{text-align:right;color:var(--muted)}
.performance-goal-form{border-top:1px solid var(--line);padding-top:10px;margin-top:16px}
.owner-report-preview{padding:18px;border:1px solid var(--line);margin-bottom:16px;background:#fff;border-radius:10px}
.owner-report-preview .valuation-data{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.owner-report-preview .valuation-data>div{padding:10px;background:var(--mint);border-radius:7px}
.owner-report-preview .valuation-letterhead img{max-height:55px;max-width:175px}
.owner-report-preview .valuation-copy{white-space:pre-wrap}
