@page { size: A3 landscape; margin: 12mm; }

@media print {
  :root { font-family: Arial, sans-serif; color: #172d40; background: #fff; }
  body { margin: 0; background: #fff; }
  .app-frame, .skip-link, dialog, .file-input { display: none !important; }
  .print-report { display: block !important; font-size: 10pt; line-height: 1.45; color: #1c3040; }
  .print-report > header { border-bottom: 2pt solid #1f4e79; margin-bottom: 4mm; display: flex; align-items: flex-start; justify-content: space-between; gap: 5mm; }
  .print-report h1 { font-size: 19pt; letter-spacing: 0; margin: 0 0 3mm; color: #1f4e79; }
  .print-report > header p { font-size: 11pt; margin: 0; }
  .print-header { display: flex; flex-wrap: wrap; gap: 3mm; margin: 0 0 4mm; break-inside: avoid; }
  .print-header div { flex: 1; min-width: 35mm; background: #edf3f9; padding: 2mm 3mm; }
  .print-header dt { font-size: 8pt; color: #597185; }
  .print-header dd { margin: 1mm 0 0; font-size: 10pt; overflow-wrap: anywhere; }

  /* One block flow keeps sections 1-7 in order across printed pages. */
  .print-sections { display: block; }
  .print-report section { margin: 0 0 4mm; min-width: 0; break-inside: auto; }
  .print-report h2 { background: #1f4e79; color: #fff; font-size: 11pt; letter-spacing: 0; line-height: 1.45; margin: 0 0 2mm; padding: 1.5mm 3mm; break-after: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-report p { font-size: 10pt; line-height: 1.5; margin: 2mm 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .print-report table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9pt; }
  .print-report th, .print-report td { border-bottom: .5pt solid #dce4eb; padding: 1.5mm 2mm; vertical-align: top; text-align: left; overflow-wrap: anywhere; white-space: pre-wrap; }
  .print-report thead { display: table-header-group; }
  .print-report tr { break-inside: avoid; }
  .print-report th { color: #1f4e79; font-weight: bold; background: #f1f5f8; }
  .print-report td:first-child, .print-report th:first-child { width: 48%; }
  .print-costs td:first-child, .print-costs th:first-child { width: 18%; }
  .print-costs td:nth-child(2), .print-costs th:nth-child(2) { width: 15%; }
  .print-costs td:nth-child(3), .print-costs th:nth-child(3) { width: 12%; }
  .print-costs td:last-child, .print-costs th:last-child { width: 55%; }
  .print-report small { display: block; font-size: 8pt; line-height: 1.4; color: #536b7d; margin-top: 1mm; }

  /* First Current/Proposed photos share the opening page with the report. */
  .print-report .print-cover-photos { break-before: auto; break-inside: avoid; margin-bottom: 4mm; }
  .print-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6mm; row-gap: 4mm; }
  .print-photo-grid figure { break-inside: avoid; margin: 0; min-width: 0; }
  .print-photo-grid .photo-large { display: block; width: 100%; height: 32mm; max-height: 32mm; object-fit: contain; border-radius: 0; margin: 0 0 1.5mm; background: #f8fafb; }
  .print-photo-grid figcaption { font-size: 8pt; line-height: 1.4; overflow-wrap: anywhere; }
  .print-additional-photos { break-before: auto; }
  .print-additional-photos .photo-large { height: 55mm; max-height: 55mm; }
  .print-report .print-note { font-size: 8pt; color: #536b7d; margin-top: 4mm; }
  .print-report footer { border-top: .5pt solid #b3c4d2; font-size: 8pt; color: #536b7d; padding-top: 2mm; margin-top: 3mm; }
}

.sidebar{overflow-y:auto}

.portfolio{min-width:0}.portfolio-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;align-items:end}.portfolio-filters .field{margin:0}.portfolio-filters .checkbox{min-height:43px}.portfolio-views{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}.portfolio-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 14px}.portfolio-money{background:white;border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:8px;padding:20px;min-width:0}.portfolio-money h3{font-size:12px;margin-bottom:12px}.portfolio-money>strong{display:block;font-size:25px;color:var(--blue);overflow-wrap:anywhere}.portfolio-money strong small{font-size:10px;font-weight:400;color:var(--muted)}.portfolio-money p{font-size:11px;margin:10px 0 3px}.portfolio-money>small{font-size:10px;color:var(--muted)}.portfolio-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:8px;background:white;margin:18px 0}.portfolio-scroll:focus-visible,.entry-row[tabindex="-1"]:focus{outline:3px solid #5b95c5;outline-offset:2px}.entry-row[tabindex="-1"]{scroll-margin-top:100px}.portfolio-table{width:100%;min-width:830px;border-collapse:collapse;font-size:12px}.portfolio-table th,.portfolio-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:13px 14px;overflow-wrap:anywhere;max-width:260px}.portfolio-table th{color:var(--blue);background:#f1f5f8;font-size:11px}.portfolio-table small{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.5}.portfolio-table .text-button{white-space:normal;text-align:left;line-height:1.6}.portfolio-table tbody tr:last-child td{border-bottom:0}@media(max-width:760px){.portfolio-money-grid{grid-template-columns:1fr;gap:10px}.portfolio-money{padding:16px}.portfolio-views .button{font-size:12px;padding:10px 12px}.portfolio-table{font-size:12px}.portfolio-filters .field>label,.portfolio-filters .field>span{font-size:11px}}

.pdf-download{display:inline-flex;border-radius:7px;text-decoration:none}

:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202d3a;background:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400;--blue:#1f4e79;--navy:#122c45;--muted:#697889;--line:#e2e7ed;--pale:#eef4fa;--green:#28745a}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button{color:inherit}button,select,input,textarea{border-radius:7px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #5b95c5;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:#1b2d3f}h1{letter-spacing:-1.8px}h2{font-size:19px;letter-spacing:-.35px}h3{font-size:16px}p{line-height:1.65}svg{flex-shrink:0}fieldset{min-width:0}.app-frame{border:0;margin:0;padding:0;display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#c3d1df;position:fixed;inset:0 auto 0 0;width:244px;display:flex;flex-direction:column;padding:34px 22px 22px;z-index:30}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white;margin:0 0 52px 5px;font-size:16px;font-weight:600;letter-spacing:-.3px}.brand-mark{background:#fff;color:var(--blue);font-weight:800;font-size:22px;padding:9px 8px;border-radius:9px;position:relative;letter-spacing:-1px;min-width:45px}.brand-mark>span{font-size:12px;position:absolute;right:3px;top:0}.brand small{display:block;font-size:8px;letter-spacing:2.2px;color:#a7bbce;margin-top:7px}.nav-caption{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#9eb4c8;padding:0 14px;display:block;margin:0 0 13px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;border:0;background:transparent;color:#c3d1df;text-align:left;padding:13px 14px;font-size:13px;font-weight:500;margin-bottom:6px;min-height:45px}.nav-item:hover{background:#203f5b;color:white}.nav-item.active{background:#294c6c;color:white;box-shadow:inset 3px 0 #87b1d6}.nav-count{font-size:11px;border-radius:5px;background:#3a5d7c;padding:3px 7px;margin-left:auto}.help-icon{width:19px;height:19px;border:1.5px solid;border-radius:50%;display:grid;place-content:center;font-size:12px}.sidebar-tools{margin-top:38px}.sidebar-bottom{margin-top:auto;padding:40px 13px 0}.local-label{font-size:9px;letter-spacing:1.25px;display:flex;align-items:center;gap:7px;color:#b5c7d8;font-weight:600}.status-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#68b494;flex-shrink:0}.sidebar-bottom p{font-size:12px;color:#adc0d1;line-height:1.9;margin:12px 0 17px}.sidebar-privacy{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:0;color:#cfdeeb;font-size:11px}.author-link{display:flex;justify-content:space-between;border-top:1px solid #304b64;margin-top:28px;padding-top:19px;text-decoration:none;color:#b9cada;font-size:11px}.workspace-shell{grid-column:2;min-width:0}.topbar{height:80px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.breadcrumbs{display:flex;align-items:center;gap:13px;font-size:12px;color:#7a8794}.breadcrumbs strong{font-size:12px;color:#334659;font-weight:500}.breadcrumb-separator{color:#bdc6ce}.topbar-right{display:flex;align-items:center;gap:24px}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:#61756c}.avatar{background:#eef2f6;border:1px solid #e3e9ef;color:#496078;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700}.workspace-main{max-width:1510px;margin:0 auto;padding:24px 44px 0}.privacy-strip{display:flex;align-items:center;gap:10px;color:#5e7181;background:#edf2f6;border:1px solid #e3eaf0;border-radius:7px;padding:10px 14px}.privacy-strip svg{color:#527798}.privacy-strip p{font-size:10px;line-height:1.6;margin:0}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:var(--blue);display:block}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:45px 0 32px}.page-intro h1{font-size:43px;line-height:1.16;font-weight:650;margin:15px 0 15px}.page-intro h1>span{color:var(--blue)}.page-intro p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:0}.intro-actions{display:flex;gap:9px;padding-bottom:4px}.button{border:1px solid #d9e1e9;background:white;padding:10px 15px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover{background:#f1f5f9;border-color:#afbdcb}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 3px #12375210}.button.primary:hover{background:#163e64}.button.small{min-height:32px;padding:6px 10px;font-size:10px}.button small{font-size:10px;color:#748797;font-weight:400;margin-left:3px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;padding:7px 0;color:var(--blue);font-size:11px;font-weight:600;min-height:30px}.text-button:hover{text-decoration:underline}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;min-width:32px;min-height:32px;padding:6px;color:#6d7e8d;font-size:23px;line-height:1}.icon-button:hover{background:#eef2f6;color:var(--blue)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metric{background:#fff;border:1px solid var(--line);border-radius:8px;padding:21px 21px 18px;min-height:116px;box-shadow:0 2px 3px #243a4f02}.metric>span{font-size:11px;color:#6a7b89;font-weight:500;display:block;margin-bottom:13px}.metric>strong{font-size:28px;line-height:1;letter-spacing:-1px;font-weight:650;color:#263e52;font-variant-numeric:tabular-nums}.metric strong small{font-size:9px;display:block;font-weight:400;letter-spacing:.1px;color:#7b8895;margin-top:11px}.metric-accent{border-top:3px solid #4b8b73;padding-top:19px;background:#fbfdfc}.metric-accent>strong{color:#287259}.projects-section{margin-top:39px}.projects-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px}.projects-heading h2{margin-bottom:6px;display:flex;align-items:center;gap:9px}.count{background:#eaf0f5;color:#526b80;border-radius:5px;font-size:10px;font-weight:600;padding:3px 7px;letter-spacing:0;white-space:nowrap}.projects-heading p{font-size:11px;color:var(--muted);margin:0}.search-field{display:flex;align-items:center;gap:8px;background:white;border:1px solid #dfe5ec;border-radius:6px;padding:9px 11px;color:#8391a0}.search-field input{background:transparent;border:0;outline:0;width:160px;font-size:11px;color:#3b4d5e;min-width:0}.search-field:focus-within{outline:2px solid #5b95c5}.empty-state{min-height:304px;background:#fff;border:1px dashed #cfd9e3;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 20px}.empty-file{width:66px;height:66px;background:#f0f5fa;border-radius:15px;display:grid;place-items:center;color:#537b9e;margin-bottom:19px;transform:rotate(-5deg)}.empty-file svg{transform:rotate(5deg)}.empty-state h3{font-weight:600;font-size:18px;letter-spacing:-.3px;margin-bottom:9px}.empty-state p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}.button-row{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.empty-footnote{font-size:9px;color:#84909b;display:flex;align-items:center;gap:5px;margin-top:24px}.workspace-footer{display:flex;justify-content:space-between;color:#8d98a2;font-size:9px;gap:15px;border-top:1px solid var(--line);padding:20px 0 25px;margin-top:36px}.workspace-footer a{color:#62788b;text-decoration:none}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{border:1px solid var(--line);background:white;border-radius:9px;padding:22px 22px 0;overflow:hidden;transition:box-shadow .2s,border-color .2s}.project-card:hover{border-color:#c7d5e0;box-shadow:0 5px 18px #213b5510}.card-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.card-icon{width:39px;height:41px;border-radius:8px;background:#f0f5fa;display:grid;place-items:center;color:#587c9a}.badge{display:inline-flex;align-items:center;border-radius:5px;line-height:1.5;font-size:9px;font-weight:600;padding:4px 8px}.success{background:#eaf5ef;color:#28745a}.neutral{background:#edf2f6;color:#637b8e}.warning{background:#fff1d9;color:#8a5a0a}.card-title{border:0;background:transparent;text-align:left;padding:19px 0 20px;width:100%;min-width:0}.card-title h3{font-size:17px;font-weight:600;letter-spacing:-.3px;margin-bottom:7px;overflow-wrap:anywhere}.card-title>span{font-size:10px;line-height:1.6;color:#7c8a97;display:block}.card-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f8fafb;border:1px solid #edf0f3;border-radius:6px;padding:13px 12px;margin-bottom:18px}.card-values span{font-size:9px;color:#748494;display:block;margin-bottom:9px}.card-values strong{font-size:19px;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.card-values small{font-size:9px;font-weight:400;color:#7d8a95;letter-spacing:0}.coverage-label{display:flex;justify-content:space-between;font-size:9px;color:#7a8c9b;margin-bottom:9px}.coverage-label strong{font-weight:500;color:#4d7664}.coverage-track{height:4px;border-radius:9px;background:#eaf0f4;overflow:hidden}.coverage-track span{height:100%;background:#6ca88c;display:block}.card-meta{font-size:9px;color:#82909c;display:flex;justify-content:space-between;gap:9px;margin:15px 0 18px}.card-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f3;padding:9px 0}.card-actions>div{display:flex;gap:3px}.error-banner{border:1px solid #ebc6bd;background:#fff4f1;color:#874c3c;padding:15px 18px;border-radius:7px;margin:18px 0}.error-banner>strong{font-size:13px}.error-banner p{font-size:12px;margin:7px 0 10px}.error-banner .button-row{gap:10px}.notice{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#306650;background:#eaf4ed;border:1px solid #d2e7d9;border-radius:7px;margin:17px 0;padding:8px 12px}.warning-note,.install-hint{padding:12px 15px;background:#fff7e9;color:#7c632e;border:1px solid #efdfbc;border-radius:6px;font-size:11px;line-height:1.7}.install-hint{display:flex;align-items:center;justify-content:space-between;margin:15px 0}.install-hint p{margin:0}.busy-status{font-size:11px;color:#55718c;margin:12px 0}.dot-amber{background:#cfa24c}.mobile-menu{display:none}.skip-link{position:fixed;top:-60px;left:15px;z-index:100;background:white;color:var(--blue);padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.focus-target{height:0;outline:none}

/* Editor */
.editor-page{padding-bottom:75px}.editor-toolbar{display:flex;align-items:center;gap:15px;margin:16px 0}.editor-toolbar>.text-button:last-child{margin-left:auto}.save-state{display:flex;gap:5px;align-items:center;color:#648574;font-size:10px}.save-state.saving{color:#6c8195}.save-state.failed{color:#a44835}.backup-reminder{display:flex;align-items:center;justify-content:space-between;background:#fff8e9;border:1px solid #eee0bc;border-radius:6px;padding:7px 12px;color:#826a36;font-size:11px;margin-bottom:23px;gap:10px}.backup-reminder>span,.backup-reminder>div{display:flex;align-items:center;gap:9px}.editor-overview{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0}.editor-overview h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin:10px 0}.editor-overview p{font-size:11px;color:var(--muted);margin:0}.editor-metrics{margin:0 0 25px}.editor-metrics .metric{padding:16px;min-height:101px}.editor-metrics .metric-accent{padding-top:14px}.editor-metrics .metric>span{font-size:10px}.editor-metrics .metric strong{font-size:24px}.editor-columns{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:23px;align-items:start}.editor-main{min-width:0}.panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:22px;margin-bottom:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-heading h2{font-size:15px;font-weight:600;display:flex;align-items:center;gap:9px;margin:0}.muted{font-size:11px;color:var(--muted);line-height:1.7}.fields{display:grid;gap:15px 17px;margin-bottom:14px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;min-width:0;margin-bottom:14px}.fields>.field{margin-bottom:0}.field>span,.field>label,.field>legend{font-size:10px;color:#516678;font-weight:500}.field input,.field select,.field textarea{background:#f0f6fc;border:1px solid #d8e4ef;padding:9px 10px;color:#29475e;width:100%;font-size:12px;line-height:1.6;min-height:38px}.field textarea{resize:vertical;min-height:85px}.field small{font-size:10px;color:#7b8b98;line-height:1.6}.field .error-text{color:#a64535}.field input[aria-invalid=true]{border-color:#bb6b56;background:#fff5f1}.required{color:#af5847}.calculated{background:#f1f3f5;color:#5d7181;border-radius:5px;font-size:11px;padding:10px 12px;display:block;line-height:1.6}.a3-section{border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:17px;overflow:hidden;scroll-margin-top:20px}.a3-section>h2{margin:0}.section-toggle{display:flex;align-items:center;gap:13px;width:100%;background:#fff;border:0;text-align:left;padding:18px 20px;border-radius:0;min-height:76px}.section-toggle:hover{background:#f9fbfd}.section-number{width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;background:#edf3f9;color:#416d91;border-radius:7px;font-size:13px;font-weight:500}.section-label{font-size:14px;letter-spacing:-.1px;font-weight:600;min-width:0}.section-label small{display:block;font-weight:400;color:#7a8c9a;font-size:10px;letter-spacing:0;line-height:1.6;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:550px}.section-chevron{margin-left:auto;font-size:21px;color:#8398aa;font-weight:400}.section-body{padding:0 22px 22px;border-top:1px solid #edf0f3}.section-body.collapsed{display:none}.section-help{font-size:11px;line-height:1.7;color:#798b9b;padding-top:15px;margin-bottom:20px}.cost-table-head,.cost-row{display:grid;grid-template-columns:95px 100px 65px minmax(0,1fr);gap:12px;align-items:center}.cost-table-head{font-size:9px;color:#8695a2;padding:0 0 12px}.cost-row{border-top:1px solid #edf0f3;padding:12px 0}.cost-row>strong{font-size:11px;font-weight:500}.cost-row .field{margin:0}.cost-row .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cost-row input{font-size:11px}.cost-share{text-align:center;font-size:10px;padding:10px 4px}.total-line{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d8e2ea;padding-top:17px;font-size:12px}.calculation-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f6f8fa;border:1px solid #e5ebf0;border-radius:6px;padding:16px 14px;margin:20px 0 16px}.calculation-strip span{display:block;color:#7b8c99;font-size:9px;line-height:1.6;margin-bottom:9px}.calculation-strip strong{font-size:12px;font-weight:600}.inline-error{font-size:11px;color:#a04e3d;background:#fff2ed;border-radius:6px;padding:10px 12px;line-height:1.6}.rows{display:grid;gap:14px;margin-bottom:17px}.entry-row{border:1px solid #e4eaf0;padding:17px;border-radius:7px;background:#fdfefe}.row-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.row-heading h3{font-size:11px;margin:0;font-weight:600;color:#6c8397}.row-heading .text-button{font-size:9px}.danger-text{color:#a26b5b}.danger{color:#a84734;background:#fff5f2;border-color:#e9c7be}.danger:hover{background:#fce5dd}.idea-saving{display:flex;justify-content:space-between;gap:10px;font-size:10px;background:#f0f5f8;border-radius:5px;padding:11px;color:#658097}.idea-saving strong{color:#365e7f;font-weight:600}.idea-details{margin-top:13px}.idea-details>summary{cursor:pointer;color:#577792;font-size:10px;padding:7px 0}.idea-details>.fields{margin-top:15px}.checkbox{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#637888;line-height:1.7;margin:8px 0}.checkbox input{margin:2px 0 0;accent-color:var(--blue);flex-shrink:0;width:15px;height:15px}.idea-links{border:1px solid #e5ebf0;padding:12px;border-radius:5px;margin:12px 0 17px}.idea-links legend{font-size:10px;color:#6b8193;padding:0 4px}.checkpoint-result{display:flex;align-items:center;gap:12px;font-size:10px;color:#718493}.entry-row>.badge{margin-bottom:14px}.editor-aside{display:grid;gap:20px;position:sticky;top:20px}.aside-card{background:#edf2f7;border:1px solid #dfe7ef;border-radius:7px;padding:24px 20px}.aside-card .eyebrow{font-size:8px;color:#7d91a3;letter-spacing:1.1px}.aside-card h3{font-size:20px;font-weight:500;letter-spacing:-.5px;line-height:1.4;margin:13px 0 22px}.aside-card ol{list-style:none;counter-reset:steps;padding:0;display:grid;gap:16px;margin:0}.aside-card li{counter-increment:steps;display:flex;gap:10px;font-size:10px;line-height:1.7;color:#5e788e}.aside-card li:before{content:counter(steps,decimal-leading-zero);font-size:8px;color:#8da3b5;padding-top:2px}.aside-card a{text-decoration:none}.aside-card a:hover{text-decoration:underline}.aside-card hr{border:0;border-top:1px solid #dbe4ec;margin:23px 0 17px}.aside-card p{font-size:10px;color:#7a8c9b;line-height:1.8;margin:0}.aside-note{padding:15px 18px;color:#88a3b6}.aside-note h3{font-size:12px;color:#617d91;margin:12px 0 7px}.aside-note p{font-size:10px;line-height:1.8;color:#8696a2;margin:0}.bottom-bar{position:fixed;bottom:0;left:244px;right:0;height:65px;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid #dfe6ed;display:flex;align-items:center;justify-content:center;gap:45px;z-index:20;padding-bottom:env(safe-area-inset-bottom)}.bottom-bar button{border:0;background:transparent;display:flex;align-items:center;gap:7px;font-size:11px;color:#6c8192;min-height:44px;padding:8px}.bottom-bar button.bottom-active{color:var(--blue);font-weight:600}.photos-panel>.muted{margin-top:-6px}.photo-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.photo-toolbar>.field{margin:0;min-width:135px}.photo-toolbar .button{min-height:38px}.file-input{display:none}.photo-empty{margin-top:20px;padding:24px;border:1px dashed #dbe4ec;border-radius:6px;background:#fcfdfe;display:flex;align-items:center;flex-direction:column;gap:8px;color:#9bb0c0}.photo-empty span{font-size:11px;color:#8498a8}.photo-empty small{font-size:9px;color:#98a9b7}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:21px}.photo-card{position:relative;padding:0;border:1px solid #dce5ed;overflow:hidden;background:#fff;text-align:left}.photo-thumb{width:100%;height:125px;object-fit:cover;display:block}.photo-tag{position:absolute;top:8px;left:8px;background:#fffef6ee;color:#48657e;font-size:9px;font-weight:600;padding:4px 7px;border-radius:3px}.photo-caption{display:block;padding:9px 10px;font-size:9px;line-height:1.6;color:#6b8295;overflow-wrap:anywhere}.photo-large{width:100%;max-height:380px;object-fit:contain;background:#f1f4f7;border-radius:6px;display:block;margin-bottom:19px}.modal{border:1px solid #dbe4ec;border-radius:12px;padding:27px 29px;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 70px #142b4540;color:#4d6274}.modal::backdrop{background:#142b4570;backdrop-filter:blur(3px)}.modal.modal-wide{width:min(880px,calc(100vw - 32px))}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.modal-heading h2{font-size:21px;letter-spacing:-.5px;font-weight:600;margin:0}.modal p{font-size:12px;line-height:1.85}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.backup-options{display:grid;gap:11px;margin:24px 0}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.comparison section{min-width:0}.comparison h3{font-size:12px;padding:12px;background:#edf3f8;border-radius:5px;color:#577a96;font-weight:600}.comparison figure{margin:0 0 25px}.comparison .photo-large{max-height:300px;margin-bottom:10px}.comparison figcaption{font-size:10px;color:#758a9b;line-height:1.7;overflow-wrap:anywhere}.comparison-empty{padding:35px 15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#f8fafb;border:1px dashed #d0dce5;font-size:11px;color:#7b91a3;min-height:150px;width:100%}.import-list{font-size:12px;line-height:1.8;max-height:220px;overflow:auto}.print-report{display:none}

@media(min-width:1600px){.workspace-main{padding-left:60px;padding-right:60px}.page-intro{padding-top:55px}.page-intro h1{font-size:49px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-columns{grid-template-columns:minmax(0,1fr) 225px}}
@media(max-width:1200px){.sidebar{width:214px;padding-left:16px;padding-right:16px}.app-frame{grid-template-columns:214px minmax(0,1fr)}.brand{font-size:14px;gap:9px}.brand small{letter-spacing:1.8px;font-size:7px}.topbar{padding:0 30px}.workspace-main{padding-left:30px;padding-right:30px}.page-intro h1{font-size:36px}.intro-actions{flex-direction:column}.metric{padding:19px 14px}.metric-accent{padding-top:17px}.metric>strong{font-size:25px}.metric>span{font-size:10px}.editor-columns{grid-template-columns:minmax(0,1fr)}.editor-aside{display:none}.bottom-bar{left:214px}.cost-table-head,.cost-row{grid-template-columns:95px 110px 75px minmax(0,1fr)}}
@media(max-width:950px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid{grid-template-columns:minmax(0,1fr)}.page-intro h1{font-size:34px}.page-intro{align-items:flex-start}.page-intro p{font-size:12px}.privacy-strip p{font-size:10px}.workspace-main{padding-left:24px;padding-right:24px}.fields.three{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-table-head,.cost-row{grid-template-columns:85px 100px 65px minmax(0,1fr);gap:8px}.editor-overview h1{font-size:28px}.photo-toolbar .button{padding:9px;font-size:10px}}
@media(max-width:760px){.app-frame{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:5px 0 30px #15314d20}.sidebar-open{transform:translateX(0)}.topbar{height:65px;padding:0 20px}.mobile-menu{display:flex;margin-left:-7px}.breadcrumbs{gap:9px;font-size:10px}.breadcrumbs strong{font-size:10px}.topbar-right{gap:12px}.connection{font-size:9px}.workspace-main{padding:18px 22px 0}.page-intro{padding-top:32px;gap:20px}.page-intro h1{font-size:36px}.page-intro p{font-size:12px}.intro-actions{padding-top:33px}.metric-grid{gap:12px}.metric{min-height:106px;padding:18px}.metric-accent{padding-top:16px}.metric>strong{font-size:27px}.metric>span{font-size:10px;margin-bottom:12px}.projects-section{margin-top:30px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card{padding:18px 17px 0}.card-top{align-items:flex-start}.card-top .badge{font-size:8px}.card-values{padding:12px 9px}.card-values strong{font-size:17px}.card-meta{flex-direction:column;gap:6px}.bottom-bar{left:0;gap:35px}.editor-page{padding-bottom:75px}.editor-overview{align-items:flex-start}.editor-overview h1{font-size:28px}.editor-overview>.badge{margin-top:27px}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-toolbar{flex-wrap:nowrap}.photo-toolbar>.field{min-width:130px}}
@media(max-width:520px){.workspace-main{padding:15px 17px 0}.topbar{padding:0 17px}.avatar{width:28px;height:28px;font-size:9px}.topbar-right{gap:10px}.privacy-strip{padding:9px 10px;align-items:flex-start;gap:8px}.privacy-strip svg{width:15px;height:15px;margin-top:2px}.privacy-strip p{font-size:9px;line-height:1.7}.page-intro{display:block;padding:30px 0 25px}.page-intro .eyebrow{font-size:8px;letter-spacing:1.2px}.page-intro h1{font-size:35px;letter-spacing:-1.5px;margin-top:12px}.page-intro p{font-size:11px}.intro-actions{flex-direction:row;padding:21px 0 0;gap:10px}.intro-actions>.button{flex:1;min-height:41px;font-size:11px;padding:9px 12px}.metric{padding:16px;min-height:106px}.metric-accent{padding-top:14px}.metric>strong{font-size:25px}.metric strong small{font-size:8px;margin-top:10px}.metric>span{font-size:10px}.projects-heading{align-items:flex-start;margin-bottom:18px}.projects-heading h2{font-size:17px}.projects-heading p{font-size:10px}.search-field{padding:9px;width:143px;margin-top:2px}.search-field input{width:100%;font-size:10px}.search-field svg{width:14px;height:14px}.project-grid{grid-template-columns:1fr}.project-card{padding:21px 21px 0}.card-values{padding:13px}.card-values strong{font-size:21px}.card-meta{flex-direction:row}.card-top .badge{font-size:9px}.empty-state{padding:30px 18px;min-height:325px}.empty-state h3{font-size:16px;max-width:220px;line-height:1.5}.empty-state p{font-size:11px}.empty-state .button-row{flex-direction:column;gap:8px}.empty-footnote{font-size:8px;margin-top:15px}.workspace-footer{font-size:8px;line-height:1.8;padding-top:17px;margin-top:28px}.editor-toolbar{gap:9px;flex-wrap:wrap;margin:12px 0}.editor-toolbar .text-button{font-size:10px}.save-state{font-size:9px}.backup-reminder{align-items:flex-start;padding:10px;font-size:9px;gap:7px}.backup-reminder>span{align-items:flex-start;line-height:1.8}.backup-reminder .text-button{font-size:9px;white-space:nowrap}.backup-reminder .icon-button{min-width:23px;min-height:26px;padding:2px}.editor-overview{display:block;margin:21px 0}.editor-overview h1{font-size:27px;line-height:1.3;overflow-wrap:anywhere}.editor-overview>.badge{margin-top:12px}.editor-overview .eyebrow{font-size:8px}.editor-metrics{margin-bottom:19px}.editor-metrics .metric{min-height:97px;padding:15px}.editor-metrics .metric-accent{padding-top:13px}.editor-metrics .metric strong{font-size:24px}.editor-metrics .metric>span{font-size:9px}.panel{padding:17px;margin-bottom:16px}.panel-heading{gap:10px;margin-bottom:18px}.panel-heading h2{font-size:14px;gap:6px}.panel-heading>.muted{font-size:9px}.panel-heading .text-button{font-size:10px}.fields.three,.fields.two{grid-template-columns:1fr 1fr;gap:13px}.field input,.field textarea,.field select{font-size:16px;min-height:43px;padding:9px 10px}.field>span,.field>label{font-size:10px}.field small{font-size:9px}.panel .fields.three>.field:first-child{grid-column:1 / -1}.section-toggle{padding:16px 15px;gap:10px;min-height:76px}.section-number{width:28px;height:28px;font-size:12px}.section-label{font-size:12px}.section-label small{font-size:9px;max-width:230px}.section-body{padding:0 16px 19px}.section-help{font-size:10px;margin-bottom:17px}.cost-table-head{display:none}.cost-row{grid-template-columns:minmax(0,1fr) 100px 60px;gap:10px;align-items:center;padding:15px 0}.cost-row>strong{font-size:11px}.cost-row>.field:last-child{grid-column:1 / -1}.cost-row>.field:last-child>span{position:static;width:auto;height:auto;clip:auto;font-size:9px}.cost-row input{font-size:16px}.cost-share{font-size:10px;padding:10px 4px}.total-line{font-size:11px}.calculation-strip{grid-template-columns:1fr;gap:15px;padding:16px}.calculation-strip>div{display:flex;justify-content:space-between;gap:15px;align-items:center}.calculation-strip span{margin:0;max-width:50%;font-size:9px}.calculation-strip strong{font-size:11px;white-space:nowrap}.entry-row{padding:13px}.entry-row .fields.three,.entry-row .fields.two{grid-template-columns:1fr 1fr}.entry-row .field:has(textarea){grid-column:1 / -1}.row-heading{margin-bottom:14px}.idea-saving{font-size:9px;line-height:1.8;gap:13px}.idea-saving strong{white-space:nowrap}.checkbox{font-size:10px}.photo-toolbar{flex-wrap:wrap;gap:8px}.photo-toolbar>.field{width:100%;margin-bottom:4px}.photo-toolbar>.field select{font-size:16px}.photo-toolbar .button{flex:1;font-size:11px;min-height:40px;padding:8px}.photo-grid{grid-template-columns:1fr 1fr;gap:10px}.photo-thumb{height:120px}.photo-empty{padding:25px 12px}.photo-empty span{font-size:10px}.photos-panel>.muted{font-size:10px}.bottom-bar{gap:0;justify-content:space-around;height:calc(61px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom)}.bottom-bar button{font-size:9px;flex-direction:column;gap:5px;min-width:65px}.bottom-bar svg{width:19px;height:19px}.editor-page{padding-bottom:83px}.modal{padding:21px 20px;border-radius:10px}.modal-heading h2{font-size:19px}.modal p{font-size:12px}.comparison{gap:12px}.comparison figcaption{font-size:9px}.comparison .photo-large{max-height:220px}.comparison-empty{font-size:10px;padding:25px 10px;min-height:160px}.dialog-actions .button{font-size:11px;padding:10px 12px;white-space:normal}.error-banner{padding:13px}.error-banner .button{font-size:10px;padding:8px 10px}.error-banner .text-button{font-size:10px}.checkpoint-result{flex-wrap:wrap}.import-list{padding-left:20px}}
.sidebar-close{display:none}
@media(max-width:760px){.sidebar{visibility:hidden}.sidebar-open{visibility:visible}.sidebar-close{display:flex;position:absolute;right:5px;top:7px;color:#c3d1df}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Guide: one reading order, with natural row heights and consistent spacing. */
.how-it-works .guide-intro{font-size:13px;line-height:1.65;margin:0 0 8px;color:#516678}
.guide-steps{display:block;list-style:decimal outside;padding:0 0 0 25px;margin:0}
.guide-steps li{padding:14px 0 14px 7px;border-bottom:1px solid var(--line)}
.guide-steps li:last-child{border-bottom:0}
.guide-steps li::marker{color:var(--blue);font-size:14px;font-weight:650}
.guide-steps h3{font-size:14px;line-height:1.5;font-weight:600;margin:0 0 4px;color:#294b68}
.how-it-works .guide-steps p{font-size:13px;line-height:1.65;margin:0;color:#526779}
.how-it-works .guide-savings-note{font-size:12px;line-height:1.65;margin:12px 0 0;padding:12px 14px;background:#edf3f8;border-radius:6px;color:#3f607c}
.guide-footer{margin-top:20px}
.how-it-works .guide-footer>p{font-size:11px;line-height:1.6;margin:0;color:#64798b}
.guide-footer .dialog-actions{margin-top:12px}

.workspace-footer .return-guven{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:12px;text-decoration:none;text-underline-offset:4px}
.workspace-footer .return-guven:hover{text-decoration:underline}
