.profile-cover { display:grid; grid-template-columns:1.1fr 1fr; margin:0 0 40px; background:#e7e9df; overflow:hidden; }
.profile-cover > div { padding:48px 40px; align-self:center; }
.profile-cover h1 { margin:16px 0 22px; font-size:clamp(30px,3.6vw,52px); line-height:1.12; letter-spacing:-1.4px; font-weight:500; }
.profile-cover h1 em { font-family:Georgia,serif; font-weight:400; }
.profile-cover p { max-width:450px; line-height:1.8; color:#566358; }
.profile-cover img { width:100%; height:100%; min-height:380px; object-fit:cover; object-position:72% center; }
.profile-cover-links { display:flex; gap:22px; flex-wrap:wrap; margin-top:26px; font-size:12px; font-weight:600; }
.profile-editor-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:30px; align-items:start; }
.profile-editor-form { min-width:0; }
.profile-editor-form fieldset { min-width:0; border:0; background:#fffdf8; padding:26px 30px 30px; margin:0 0 22px; border-top:1px solid var(--line); }
.profile-editor-form legend { float:left; width:100%; font-family:Georgia,serif; font-size:24px; margin-bottom:12px; }
.profile-editor-form legend span { font-family:inherit; font-size:16px; color:#8a927f; margin-right:12px; }
.profile-editor-form fieldset > p { clear:both; margin:0 0 24px; color:var(--muted); font-size:13px; line-height:1.7; }
.profile-editor-form label { display:flex; flex-direction:column; gap:8px; font-size:12px; color:#425447; line-height:1.6; }
.profile-editor-form input,.profile-editor-form select { width:100%; min-width:0; min-height:44px; background:#fff; border-color:#d5d3c7; color:#263e2e; }
.profile-editor-form .amount-input input { border:0; background:transparent; }
.profile-editor-form .amount-input { background:#fff; border-color:#d5d3c7; }
.profile-editor-form .amount-input span { flex-shrink:0; padding-right:12px; font-size:11px; }
.profile-editor-form .hint { font-size:11px; line-height:1.6; margin:0; color:var(--muted); }
.wide-field { grid-column:1/-1; }
.profile-perspective { position:sticky; top:125px; padding:30px; background:#233d2f; color:#fffdf2; }
.profile-perspective h2 { font-size:29px; font-family:Georgia,serif; font-weight:400; line-height:1.2; margin:18px 0 12px; overflow-wrap:anywhere; }
.profile-perspective .eyebrow { color:#c2cdb6; }
.profile-perspective > p { color:#d6dece; font-size:12px; line-height:1.7; }
.profile-perspective .hint { color:#b8c6b4; }
.profile-perspective .text-button { color:#faf7e5; }
.profile-perspective .summary-rule { background:#ffffff25; }
.profile-allocation { padding:17px 0; display:flex; flex-direction:column; gap:7px; border-bottom:1px solid #ffffff25; font-size:11px; color:#d6dece; }
.profile-allocation strong { font-size:16px; font-weight:500; color:#fffdf2; }
.allocation-total strong { font-size:22px; }
.allocation-note { font-size:12px; line-height:1.7; padding:12px 0; }
.allocation-note.over-budget { color:#ffccb3; }
.profile-save-bar { position:sticky; bottom:14px; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:18px; background:#fffdf8; padding:18px 20px; box-shadow:0 5px 30px #26352e12; border:1px solid var(--line); }
#profile-save-status { font-size:11px; color:#546d48; }
#profile-save-status.draft { color:#8b663c; }
.profile-save-bar .text-button { font-size:11px; }
.installation-ideas { margin-top:60px; }
.installation-ideas .section-bar { border-bottom:1px solid var(--line); padding-bottom:28px; }
.installation-ideas h2 { font-family:Georgia,serif; font-size:32px; font-weight:400; margin:14px 0; }
.living-section-heading { padding:32px 0 22px; max-width:760px; }
.living-section-heading > span { font-size:10px; letter-spacing:1.4px; color:#7c846f; }
.living-section-heading h3 { font-size:24px; font-family:Georgia,serif; font-weight:400; margin:14px 0; }
.living-section-heading p { font-size:12px; line-height:1.8; color:var(--muted); }
.living-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.living-card { background:#fffdf8; padding:26px; border:1px solid var(--line); min-width:0; }
.living-card h3 { font-size:22px; font-family:Georgia,serif; font-weight:400; line-height:1.25; margin:24px 0 9px; }
.living-card > p { font-size:12px; color:var(--muted); line-height:1.7; }
.living-card-head { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.living-card-head .badge { max-width:100%; font-size:9px; margin:0; }
.living-index { font-size:10px; color:#60725d; }
.living-price { display:block; font-size:25px; letter-spacing:-.7px; margin:22px 0 6px; font-weight:500; }
.living-price small { display:block; font-size:10px; margin-top:5px; letter-spacing:0; color:#7d8372; }
.living-card .small-muted { font-size:10px; line-height:1.7; display:block; }
.living-card .living-reason { padding-top:16px; margin-top:18px; border-top:1px solid var(--line); }
.living-links { display:flex; flex-wrap:wrap; gap:16px; margin-top:18px; font-size:11px; line-height:1.7; }
.living-empty { padding:28px; background:#eef0e8; margin-bottom:20px; }
.living-empty h3 { font-family:Georgia,serif; font-size:24px; font-weight:400; margin:0 0 12px; }
.living-empty p { font-size:13px; line-height:1.8; color:var(--muted); }
.suggestion-count { font-size:12px; color:#576b4f; margin:0 0 16px; }
.more-ideas { margin-top:22px; }
.more-ideas summary { cursor:pointer; color:#405b38; font-size:12px; padding:14px 0; }
.commute-ideas { margin:36px 0; padding:28px; display:flex; align-items:center; gap:30px; justify-content:space-between; border:1px solid var(--line); }
.commute-ideas h3 { font-family:Georgia,serif; font-size:24px; font-weight:400; margin:15px 0; }
.commute-ideas p { color:var(--muted); font-size:12px; line-height:1.8; max-width:700px; }
.commute-ideas > a { flex-shrink:0; font-size:12px; }
#page-profil [id] { scroll-margin-top:115px; }
.result-controls { flex-wrap:wrap; }
@media(min-width:801px) and (max-width:1200px) { .sidebar { gap:18px; padding:18px 24px; }.sidebar .nav-item{font-size:11px;padding:10px 8px}.sidebar .header-tools{gap:10px}.sidebar .currency{display:none}.sidebar #top-brief{font-size:11px} }
@media(max-width:1050px) { .profile-editor-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.profile-editor-form fieldset{padding:24px}.living-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-cover > div{padding:32px} }
@media(max-width:800px) { .profile-cover {grid-template-columns:1fr 1fr}.profile-cover h1{font-size:32px}.profile-cover img{min-height:320px}.profile-editor-layout{grid-template-columns:1fr}.profile-perspective{position:static;display:block}.profile-cover > div{padding:28px}.profile-allocation{padding:12px 0}#page-profil [id]{scroll-margin-top:80px}.commute-ideas{align-items:flex-start;flex-direction:column;gap:12px} }
@media(max-width:620px) { .profile-cover{grid-template-columns:1fr;margin-bottom:28px}.profile-cover img{height:225px;min-height:0;object-position:72% 55%}.profile-cover > div{padding:28px 24px}.profile-cover h1{font-size:34px}.profile-cover p{font-size:13px}.profile-cover-links{font-size:11px;gap:16px}.profile-editor-form .form-grid{grid-template-columns:1fr;gap:18px}.profile-editor-form fieldset{padding:23px 20px}.profile-save-bar{flex-direction:column;align-items:stretch;gap:10px;padding:14px;bottom:8px}.profile-save-bar .button-row{justify-content:space-between;gap:10px}.profile-save-bar .button{font-size:11px;padding:13px}.living-cards{grid-template-columns:1fr}.living-card{padding:24px}.installation-ideas{margin-top:40px}.installation-ideas h2{font-size:29px}.commute-ideas{padding:24px} }

.eligibility-note { font-size:11px; line-height:1.6; color:#85613c; }
@media(min-width:801px) and (max-width:1000px){.sidebar #top-brief{display:none}}
