:root{--ink:#172321;--muted:#63716e;--paper:#f4efe5;--card:#fffdf8;--green:#1f5b4f;--green2:#2f7669;--gold:#d4a040;--line:#d8d4c9;--red:#94483d;--shadow:0 18px 48px #203d3520;--radius:20px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 4% 0,#dfece6 0,transparent 31%),radial-gradient(circle at 96% 4%,#f0e1b9 0,transparent 26%),var(--paper)}button,input,textarea{font:inherit}button{cursor:pointer}.app{width:min(1180px,calc(100% - 24px));margin:auto;padding:14px 0 32px}.hidden{display:none!important}
header{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:10px;align-items:center;font-weight:900}.crumb{font-size:12px;color:var(--muted);font-weight:650}.header-actions{display:flex;gap:8px}.screen{display:none}.screen.active{display:block;animation:fade .2s ease}@keyframes fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.panel{background:#fffdf8f2;border:1px solid #1f5b4f22;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.content{padding:clamp(22px,4vw,45px)}h1,h2{font-family:Georgia,serif;line-height:1.05;letter-spacing:-.025em}h1{font-size:clamp(34px,5vw,55px);margin:6px 0 10px}h2{font-size:clamp(29px,4vw,42px);margin:6px 0 13px}h3{margin:0 0 8px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--green);font-weight:900}.lead{font-size:17px;line-height:1.58;color:#40504c}p{line-height:1.58}.fine{font-size:12px;color:var(--muted)}
.btn{border:0;border-radius:999px;padding:12px 18px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:#fff;box-shadow:0 9px 22px #1f5b4f33}.btn-primary:hover{background:var(--green2)}.btn-secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:21px}
.selector{min-height:calc(100vh - 100px);flex-direction:column;justify-content:center;padding:16px}.screen.selector.active{display:flex}.screen.selector:not(.active){display:none}.selector-head{text-align:center;max-width:710px;margin:0 auto 20px}.case-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1050px;margin:auto;width:100%}.case-card{min-height:385px;border:1px solid var(--line);border-radius:22px;background:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 16px 38px #263d3518;transition:.18s;text-align:left;padding:0;color:var(--ink)}.case-card:hover{transform:translateY(-4px);box-shadow:0 22px 46px #263d3528;border-color:#81a99e}.case-art{height:125px;padding:20px;background:linear-gradient(145deg,#194a40,#286a5c);color:#fff;position:relative;overflow:hidden}.case-card:nth-child(2) .case-art{background:linear-gradient(145deg,#76592b,#bd954d)}.case-art:after{content:"";position:absolute;width:170px;height:170px;border:1px solid #fff4;border-radius:50%;right:-35px;top:-45px}.case-icon{font-size:42px;position:absolute;right:24px;bottom:16px}.case-body{padding:20px;display:flex;flex-direction:column;flex:1}.case-body h2{font-size:29px;margin:5px 0 8px}.case-body p{margin:0 0 12px;color:#42514e}.goal{font-size:13px;padding:10px 12px;border-left:3px solid var(--gold);background:#faf5e9;border-radius:8px;margin:4px 0 10px}.badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}.badge{font-size:11px;font-weight:800;padding:6px 9px;background:#eef4f1;border-radius:999px;color:var(--green)}.selector-instruction{text-align:center;margin:0 auto 15px;font-size:13px;font-weight:850;color:var(--green)}.start-badge{display:inline-flex;align-items:center;width:max-content;margin-bottom:4px;padding:5px 9px;border-radius:999px;background:#fff2dc;color:#70541e;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.open-label{margin-top:16px;padding:12px 16px;border-radius:999px;background:var(--green);color:#fff;font-weight:900;text-align:center;box-shadow:0 8px 18px #1f5b4f2b;transition:.15s}.case-card:hover .open-label{background:var(--green2)}
.notice{padding:13px 15px;border-radius:12px;background:#eaf3ef;border-left:4px solid var(--green);margin:15px 0;line-height:1.5}.notice.warn{background:#fff2dc;border-color:var(--gold)}.chat{max-width:720px;margin:22px auto}.bubble{background:#e2f0ea;border-radius:20px 20px 4px 20px;padding:19px;line-height:1.58;box-shadow:0 7px 18px #244e4320}.bubble-meta{font-size:13px;color:var(--muted);font-weight:750;margin-bottom:7px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.moves{padding:9px 14px;background:#193f37;color:#fff;border-radius:999px;font-weight:850;white-space:nowrap}.moves.low{background:#8d4d36}.dots{display:flex;gap:5px;margin-top:7px;justify-content:flex-end}.dot{width:9px;height:9px;border-radius:50%;background:#aebbb7}.dot.used{background:#fff}.evidence-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.evidence{min-height:138px;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px;color:var(--ink);position:relative;transition:.15s}.evidence:hover{transform:translateY(-2px);border-color:#80a69b;box-shadow:0 10px 23px #263d3518}.evidence.opened{background:#eaf3ef;border-color:#91b5aa}.evidence.locked{opacity:.45}.evidence .icon{display:block;font-size:25px;margin-bottom:9px}.evidence small{display:block;margin-top:7px;color:var(--muted);line-height:1.32}.tag{position:absolute;top:8px;right:8px;padding:4px 7px;border-radius:999px;background:#d4e9e2;color:var(--green);font-size:9px;font-weight:900;text-transform:uppercase}
.modal-bg{display:none;position:fixed;inset:0;background:#10231fdd;z-index:30;align-items:center;justify-content:center;padding:17px}.modal-bg.show{display:flex}.modal{width:min(770px,100%);max-height:89vh;overflow:auto;background:var(--card);border-radius:19px;box-shadow:0 30px 90px #0008}.modal-head{position:sticky;top:0;background:var(--card);z-index:2;padding:16px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h3{margin:0}.close{border:0;background:#ebe8e0;border-radius:50%;width:44px;height:44px;font-size:23px;flex:0 0 44px}.modal-body{padding:21px}.doc{background:#fff;border:1px solid #d8d4c9;padding:20px;border-radius:8px;box-shadow:0 5px 17px #3331}.doc hr{border:0;border-top:1px solid #ddd}.learning-hint{margin-top:14px;padding:13px 15px;border-radius:12px;background:#eef4f1;border-left:4px solid var(--green);line-height:1.5}.learning-hint strong{display:block;margin-bottom:4px}.omitted-panel{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px}.mini-table{width:100%;border-collapse:collapse;margin:12px 0}.mini-table td{padding:7px 5px;border-bottom:1px solid #e2dfd7}.mini-table td:last-child{text-align:right;font-weight:800}
.decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px}.decision{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;text-align:left;color:var(--ink);position:relative}.decision:hover,.decision.selected{border:2px solid var(--green);padding:17px;background:#eaf3ef}.decision.selected:after{content:"✓ Wybrana";position:absolute;top:9px;right:10px;font-size:10px;text-transform:uppercase;color:var(--green);font-weight:900}.decision strong{display:block;margin-bottom:6px;padding-right:62px}.decision span{font-size:13px;color:var(--muted);line-height:1.42}.choices{display:grid;gap:9px;margin:12px 0 20px}.choice{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.choice input{margin-top:4px;accent-color:var(--green)}textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:14px;resize:vertical;background:#fff;line-height:1.5}textarea:focus{outline:3px solid #79a99c33;border-color:#5f9184}
.summary-top-actions{display:flex;justify-content:flex-end;margin:-4px 0 16px}.summary-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.summary-card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:19px}.decision-analysis h3{font-family:Georgia,serif;font-size:20px;color:var(--green);margin:18px 0 8px}.decision-analysis h3:first-child{margin-top:0}.decision-analysis ul{margin:7px 0 17px;padding-left:0;list-style:none}.decision-analysis li{position:relative;margin:7px 0;padding:9px 10px 9px 34px;border-radius:10px;background:#f7f5ef;line-height:1.42}.decision-analysis li:before{position:absolute;left:11px;top:9px;font-weight:950}.decision-analysis .pros li:before{content:"+";color:var(--green)}.decision-analysis .cons li:before{content:"−";color:var(--red)}.missed-chip{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:#fff2dc;color:#795b22;font-size:9px;font-weight:900;text-transform:uppercase;vertical-align:middle}.conclusion-box{margin-top:18px;padding:15px 17px;border-radius:13px;background:#eaf3ef;border-left:4px solid var(--green)}.conclusion-box strong{display:block;color:var(--green);margin-bottom:5px}.conclusion-box p{margin:0;font-weight:750}.analysis-detail{margin-top:18px;padding-top:16px;border-top:1px solid #e2dfd7}.analysis-detail h4{font-size:13px;margin:0 0 5px;color:var(--green)}.analysis-detail p{font-size:13px;margin:0;white-space:pre-wrap;color:#40504c}.analysis-detail.hidden{display:none}.meter{margin:13px 0}.meter-row{display:flex;justify-content:space-between;font-size:12px;font-weight:800;margin-bottom:5px}.track{height:8px;background:#e7e4dd;border-radius:99px;overflow:hidden}.fill{height:100%;background:linear-gradient(90deg,var(--green),#65a694)}.missed{display:grid;gap:9px}.missed-item{background:#f3eee3;border-left:3px solid var(--gold);padding:12px;border-radius:11px}.survey-panel{margin-top:20px;background:linear-gradient(135deg,#e7f1ed,#fff7e7);border:1px solid #a9c3ba;border-radius:16px;padding:20px}.survey-panel h3{font-family:Georgia,serif;font-size:24px;margin:0 0 8px}.survey-panel p{margin:0;color:#40504c}.survey-link{color:var(--green);font-weight:850}.selector-survey{margin:18px auto 0;text-align:center;font-size:12px;color:var(--muted)}.selector-survey a{color:var(--green);font-weight:800}.footer-note{text-align:center;color:var(--muted);font-size:11px;margin-top:15px}
.confirm-bg{display:none;position:fixed;inset:0;background:#10231fcc;z-index:40;align-items:center;justify-content:center;padding:18px}.confirm-bg.show{display:flex}.confirm{width:min(430px,100%);background:#fff;border-radius:18px;padding:24px;box-shadow:0 30px 90px #0008}.confirm h3{font-family:Georgia,serif;font-size:25px}.confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
@media(max-width:850px){.selector{min-height:auto}.case-cards{grid-template-columns:1fr}.case-card{min-height:320px}.evidence-grid{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}}
@media(max-width:560px){.summary-top-actions .btn{width:100%}body{font-size:16px}.modal-bg{padding:7px}.modal{max-height:96vh;border-radius:15px}.modal-head{padding:12px 14px}.modal-body{padding:15px}.choice{min-height:48px}.decision{min-height:86px}.btn{min-height:44px}.app{width:min(100% - 14px,1180px);padding-top:6px}header{height:auto;min-height:54px;align-items:flex-start}.header-actions{flex-direction:column}.header-actions .btn{padding:9px 12px;font-size:12px}.content{padding:20px}.selector{padding:8px}.selector-head{margin-bottom:12px}.case-card{min-height:335px}.evidence-grid,.decision-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.dots{justify-content:flex-start}.actions .btn{width:100%}}

/* Wizualne makiety zrodel informacji */
.source-shell{overflow:hidden;border:1px solid #cfd6d2;border-radius:16px;background:#fff;box-shadow:0 12px 30px #203d3518}.source-shell .doc{border:0;border-radius:0;box-shadow:none}.source-bar{min-height:42px;display:flex;align-items:center;gap:9px;padding:9px 13px;border-bottom:1px solid #dfe4e1;font-size:12px;font-weight:800;color:#40504c}.source-dots{display:flex;gap:5px}.source-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#c6cfcb}.source-address{flex:1;padding:6px 10px;border-radius:8px;background:#eef2f0;color:#5c6966;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-content{padding:18px}.source-content>.doc{padding:0}.source-label{margin-left:auto;padding:4px 8px;border-radius:999px;background:#eaf3ef;color:var(--green);font-size:9px;letter-spacing:.06em;text-transform:uppercase}
.source-shell.phone{max-width:430px;margin:auto;border-radius:25px;background:#f2eee7;border:6px solid #263531}.phone .source-bar{background:#1f5b4f;color:#fff;border:0;padding:12px 15px}.phone .source-content{background:#e8e2d7;padding:16px}.phone .bubble{max-width:88%;margin-left:auto;border-radius:15px 15px 4px 15px;background:#d9eee5;box-shadow:0 4px 10px #203d3520}.phone .doc{background:transparent}.phone .doc p{background:#d9eee5;padding:11px 13px;border-radius:14px 14px 4px 14px;margin:8px 0 8px auto;max-width:92%;box-shadow:0 3px 9px #203d3516}.phone-time{margin-left:auto;font-size:10px;opacity:.8}
.source-shell.website .source-bar{background:#edf1ef}.website .source-content{padding:0}.website .doc{padding:25px;background:linear-gradient(145deg,#fffdf8,#edf5f1)}.website .doc h2{color:var(--green)}.website .doc .fine{display:block;margin-top:24px;padding-top:12px;border-top:1px solid #d8d4c9}
.source-shell.document{background:#e8e9e7;padding:18px}.document .source-bar{background:#3e4c49;color:#fff;border-radius:10px 10px 0 0}.document .source-content{background:#fff;max-width:610px;margin:auto;padding:28px;box-shadow:0 7px 20px #0002}.document .doc{padding:0}.document .doc:before{content:'DOKUMENT';display:block;color:#78837f;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:18px}.document .doc p{padding-bottom:9px;border-bottom:1px solid #eceeea}
.source-shell.registry .source-bar{background:#e8eef2;color:#274e63}.registry .source-content{background:#f5f8fa}.registry .doc{padding:18px;border-left:5px solid #426c83}.registry .doc p{margin:0;padding:10px 8px;border-bottom:1px solid #dce4e8}.registry .doc p:last-child{border-bottom:0}
.source-shell.finance .source-bar{background:#f0e4c6;color:#70541e}.finance .source-content{background:#fffaf0}.finance .doc{padding:18px}.finance .mini-table td{padding:11px 7px}.finance .mini-table tr:last-child td{background:#eaf3ef;color:var(--green);font-size:15px}.finance .doc>p:first-child{font-size:15px}
@media(max-width:560px){.source-content{padding:13px}.source-shell.document{padding:8px}.document .source-content{padding:18px}.phone{border-width:4px}.source-address{font-size:10px}.website .doc{padding:18px}.registry .doc,.finance .doc{padding:12px}}

/* Bogatsze wizualnie makiety kluczowych materiałów */
.web-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:center;margin:-25px -25px 20px;padding:28px;background:linear-gradient(135deg,#163f37,#2f7669);color:#fff}.web-hero h2{color:#fff!important;margin:5px 0 10px}.web-kpi{font-size:34px;font-family:Georgia,serif;font-weight:900;color:#f0ce78}.web-visual{min-height:170px;border-radius:16px;background:linear-gradient(155deg,#eed89c,#fff7dc);position:relative;overflow:hidden}.web-visual:before{content:"";position:absolute;left:15%;right:15%;bottom:0;height:72%;background:linear-gradient(145deg,#718a82,#294d43);clip-path:polygon(0 100%,0 30%,20% 30%,20% 5%,48% 5%,48% 42%,66% 42%,66% 18%,100% 18%,100% 100%)}.web-visual:after{content:"";position:absolute;left:12%;right:12%;bottom:17px;height:8px;border-radius:50%;background:#12372e33}.fake-cta{display:inline-flex;padding:10px 15px;border-radius:999px;background:#f3cc6d;color:#223b35;font-weight:900;font-size:12px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}.feature-tile{padding:12px;border-radius:11px;background:#eef4f1;text-align:center;font-size:12px;font-weight:800;color:#33554d}.listing-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:82px 82px;gap:7px;margin:-25px -25px 18px}.listing-photo{position:relative;overflow:hidden;background:linear-gradient(145deg,#d9dfdb,#f4ede0)}.listing-photo:first-child{grid-row:1/3;background:linear-gradient(150deg,#dfe8e1,#b7c9c0)}.listing-price{font-size:28px;font-family:Georgia,serif;font-weight:900;color:var(--green)}.listing-facts{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.listing-facts span{padding:6px 9px;border-radius:999px;background:#eef4f1;font-size:11px;font-weight:850}.profile-row{display:flex;align-items:center;gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid #ddd}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900}.chat-header-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f1d278;color:#28473f;font-weight:950}.chat-attachment{display:flex;align-items:center;gap:10px;margin:8px 0 8px auto;max-width:92%;padding:11px 13px;border-radius:13px;background:#fff;box-shadow:0 3px 9px #203d3516;font-size:12px}.chat-attachment b{display:block}.pdf-icon{width:34px;height:40px;border-radius:6px;background:#94483d;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}.contract-title{text-align:center;border-bottom:2px solid #273632;padding-bottom:14px;margin-bottom:18px}.contract-meta{display:flex;justify-content:space-between;color:#68746f;font-size:10px}.contract-section{margin:15px 0}.contract-section b{display:block;margin-bottom:5px}.signature-row{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:30px;text-align:center;font-size:10px}.signature-line{border-top:1px solid #333;padding-top:5px}.registry-heading{padding:12px;background:#426c83;color:#fff;font-weight:900;border-radius:8px 8px 0 0}.registry-grid{display:grid;grid-template-columns:150px 1fr;border:1px solid #cad7de;border-top:0}.registry-grid div{padding:10px;border-bottom:1px solid #dce4e8}.registry-grid div:nth-child(odd){font-size:10px;font-weight:900;color:#496576;background:#edf3f6}.registry-status{margin-top:14px;padding:11px;border-radius:10px;background:#fff2dc;color:#70541e;font-weight:750}
@media(max-width:560px){.web-hero{grid-template-columns:1fr;margin:-18px -18px 16px;padding:19px}.web-visual{min-height:125px}.feature-row{grid-template-columns:1fr}.listing-gallery{margin:-18px -18px 15px;grid-template-rows:66px 66px}.listing-price{font-size:23px}.registry-grid{grid-template-columns:1fr}.registry-grid div:nth-child(odd){padding-bottom:4px;border-bottom:0}.registry-grid div:nth-child(even){padding-top:4px}.signature-row{gap:12px}}

/* Zdjecia ogloszenia mieszkania */
.listing-photo{margin:0;background:#dfe6e1}
.listing-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.listing-photo:first-child img{object-position:center}
.listing-photo:nth-child(2) img{object-position:center}
.listing-photo:nth-child(3) img{object-position:center}
.listing-gallery:hover .listing-photo:first-child img{transform:scale(1.015)}

/* Usuniecie dawnych placeholderow rysowanych na zdjeciach */
.listing-photo::before,.listing-photo::after{content:none!important;display:none!important}

/* Sprawa mieszkaniowa: relacja, dokumenty i budzet */
.phone .visit-chat p{position:relative;padding-bottom:20px}.phone .visit-chat p:after{content:"18:" counter(visit-time);counter-increment:visit-time;position:absolute;right:10px;bottom:5px;font-size:9px;color:#65736f}.phone .visit-chat{counter-reset:visit-time 7}
.file-bundle{display:grid;gap:10px}.file-row{display:grid;grid-template-columns:46px 1fr auto;gap:11px;align-items:center;padding:11px;border:1px solid #dce3e0;border-radius:12px;background:#fff}.file-row small{display:block;margin-top:3px;color:#687570}.file-icon{width:42px;height:48px;border-radius:7px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:950}.file-icon.jpg{background:#2f7669}.file-icon.pdf{background:#94483d}.file-icon.txt{background:#426c83}.file-state{padding:5px 8px;border-radius:999px;background:#eaf3ef;color:#1f5b4f;font-size:9px;font-weight:900;text-transform:uppercase}.file-state.warn{background:#fff2dc;color:#74561d}.file-preview{margin-top:5px;padding:16px;border-left:4px solid #426c83;background:#f5f8fa;border-radius:10px}.file-preview p{font-family:Georgia,serif;font-style:italic}.file-preview ul{margin:10px 0 0;padding-left:18px}.file-preview li{margin:5px 0}
.finance .budget-photo{padding:22px;background:linear-gradient(145deg,#b99467,#dbc3a4);position:relative;overflow:hidden}.budget-photo:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 12%,#fff5 0 2px,transparent 3px),linear-gradient(115deg,#0001,transparent 32%,#fff2 55%,transparent);pointer-events:none}.paper-note{position:relative;max-width:520px;margin:auto;padding:26px 27px 30px;background:repeating-linear-gradient(#fffdf4 0 31px,#cbdbe0 32px);box-shadow:0 12px 30px #3a250c55;transform:rotate(-1deg);font-family:"Comic Sans MS","Segoe Print",cursive;color:#293833}.paper-note:before{content:"";position:absolute;left:39px;top:0;bottom:0;border-left:2px solid #e8a7a0}.paper-title{margin-left:28px;margin-bottom:18px;font-size:21px;font-weight:800;text-decoration:underline;text-decoration-color:#638c80}.hand-row,.hand-total{display:flex;justify-content:space-between;gap:18px;margin-left:28px;min-height:32px;align-items:center}.hand-row b{font-weight:700}.hand-row.minus b{color:#7d4038}.hand-total{margin-top:8px;padding-top:4px;border-top:3px double #315e53;font-size:20px}.hand-total b{color:#1f5b4f}.paper-side{margin:18px 0 0 28px;padding:9px 12px;background:#fff5b9aa;transform:rotate(.5deg);line-height:1.7}.paper-benefits{margin:15px 0 0 28px;color:#345f54;line-height:1.75}
@media(max-width:560px){.file-row{grid-template-columns:40px 1fr}.file-state{grid-column:2;width:max-content}.file-icon{width:38px;height:43px}.finance .budget-photo{padding:12px}.paper-note{padding:20px 14px 23px;font-size:14px}.paper-note:before{left:24px}.paper-title,.hand-row,.hand-total,.paper-side,.paper-benefits{margin-left:18px}.hand-total{font-size:17px}.paper-title{font-size:18px}}

/* Relacja z ogladania korzysta z tego samego widoku komunikatora */
.phone .visit-chat{background:transparent}
.phone .visit-chat p{margin:8px 0 8px auto;max-width:92%;background:#d9eee5}

/* v22: fotografia karty sprawy, grafika zasad i ikony decyzji */
.case-art.apartment-art{background-image:linear-gradient(90deg,#102f28cc,#102f2840),url("../mieszkanie/salon.webp");background-size:cover;background-position:center 54%}.case-art.apartment-art:after{display:none}.case-art.apartment-art .case-icon{display:none}.rules-visual{max-width:760px;margin:18px auto 20px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 12px 28px #203d3517}.rules-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.rules-visual figcaption{padding:10px 14px;text-align:center;color:#53615d;font-size:12px}.decision{display:flex;gap:13px;align-items:flex-start}.decision-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#eef4f1;font-size:22px}.decision.selected .decision-icon{background:#d7eae3}.decision>div{min-width:0}.decision>div>span{display:block}.decision strong{padding-right:62px}
/* Godziny usuniete ze wszystkich makiet komunikatora */
.phone-time{display:none!important}.phone .visit-chat p:after{content:none!important;display:none!important}.phone .visit-chat p{padding-bottom:11px}
@media(max-width:560px){.rules-visual{margin:14px auto 17px}.decision-icon{width:40px;height:40px;flex-basis:40px}.case-art.apartment-art{background-position:center}}

/* v23: czytelniejszy budzet i kolejnosc dokumentow */
.file-list-title{margin:8px 0 0;padding:10px 2px 2px;color:var(--green);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.decision-analysis>p strong{color:var(--red);letter-spacing:.02em}
@media(max-width:560px){
  .paper-note{font-size:16px;font-weight:700;line-height:1.55}
  .paper-title{font-size:20px;font-weight:900}
  .hand-row b,.hand-total b{font-weight:900}
  .hand-total{font-size:19px}
  .paper-side,.paper-benefits{font-size:16px;font-weight:750;line-height:1.7}
}

/* v25: uproszczony naglowek i czytelniejszy budzet */
#restartBtn{display:none!important}
.selector-instruction{font-size:16px;line-height:1.45;margin-bottom:18px}
.decision-icon{width:50px;height:50px;flex:0 0 50px;font-size:28px;border-radius:14px}
@media(max-width:560px){
  .selector-instruction{font-size:17px;margin-bottom:16px}
  .decision-icon{width:48px;height:48px;flex-basis:48px;font-size:27px}
  .paper-note{font-family:Arial,"Segoe UI",sans-serif;font-size:17px;font-weight:700;line-height:1.62;letter-spacing:.01em}
  .paper-title{font-family:Arial,"Segoe UI",sans-serif;font-size:21px;font-weight:900}
  .hand-row,.hand-total{min-height:38px}
  .hand-row b,.hand-total b{font-weight:900}
  .hand-total{font-size:20px}
  .paper-side,.paper-benefits{font-family:Arial,"Segoe UI",sans-serif;font-size:17px;font-weight:700;line-height:1.75}
}
/* v25: przycisk opinii w naglowku zamiast restartu */
#jumpToSurvey{display:none!important}

/* v26: bez przycisku opinii w naglowku, bezpieczne zamykanie dowodow na telefonie */
#restartBtn,#headerSurveyBtn{display:none!important}
body.modal-open{overflow:hidden}
.modal{display:flex;flex-direction:column;overflow:hidden}
.modal-head{position:relative;flex:0 0 auto;z-index:20}
.modal-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.close{position:relative;z-index:30;touch-action:manipulation;cursor:pointer}
@media(max-width:560px){
  .modal-bg{align-items:stretch;padding:6px}
  .modal{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);width:100%}
  .modal-head{min-height:58px;padding:7px 8px 7px 14px}
  .modal-head h3{padding-right:8px;font-size:17px;line-height:1.25}
  .close{width:48px;height:48px;flex:0 0 48px;font-size:28px;background:#e4e0d7}
  .modal-body{min-height:0;padding:14px 12px 24px}
}
/* v35: poprawki grafik i prawej kolumny analizy */
.case-art.investment-art{background-image:linear-gradient(90deg,#102f28b8,#102f2838),url("../inwestycja/oferta-8-2.webp")!important;background-size:cover!important;background-position:center 8%!important;background-repeat:no-repeat!important}.case-art.investment-art::after,.case-art.investment-art .case-icon{display:none!important}
.rules-visual{max-width:560px!important}.rules-visual img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
.listing-gallery{background:#e5e9e6}.listing-photo{display:flex;align-items:center;justify-content:center;background:#e5e9e6!important}.listing-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}.profile-row{margin-top:8px!important;padding-top:8px!important;gap:8px!important}.profile-row .avatar{width:30px;height:30px;flex:0 0 30px;font-size:13px}.profile-row .fine{font-size:10px}
.next-step-card{margin-top:0;margin-bottom:20px;padding:18px;border:1px solid #b9cfc7;border-radius:14px;background:linear-gradient(145deg,#f8fbfa,#f5efe2);box-shadow:0 8px 20px #203d3510}.next-step-label{font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin-bottom:10px}.next-step-card h3{font-family:Georgia,serif;font-size:21px;color:var(--ink);margin:8px 0 9px}.next-step-card p{margin:7px 0;line-height:1.52}.next-step-lead{font-weight:750;color:#31443f}.next-step-note{margin-top:12px!important;padding-top:11px;border-top:1px solid #d9dfda;color:#5b6864;font-size:13px}
@media(min-width:851px){.listing-gallery{grid-template-rows:96px 96px!important;margin-bottom:12px!important}#summary .summary-grid{align-items:start}}
@media(max-width:560px){.case-art.investment-art{background-position:center 5%!important}.rules-visual{width:92%!important;max-width:420px!important;margin:12px auto!important}.listing-gallery{grid-template-rows:90px 90px!important}.profile-row{margin-top:7px!important;padding-top:7px!important}.next-step-card{padding:15px;margin-bottom:18px}.next-step-card h3{font-size:19px}.next-step-label{line-height:1.4}}
/* v36-v37: punktowe poprawki materialow bez naruszania pozostalych widokow */
.case-art.investment-art{background-image:linear-gradient(90deg,#102f28a8,#102f2828),url("../inwestycja/oferta-8-2.webp")!important;background-size:cover!important;background-position:center 10%!important;background-repeat:no-repeat!important}.case-art.investment-art::after,.case-art.investment-art .case-icon{display:none!important}
.investment-photo{background-image:linear-gradient(135deg,#163f3720,#2f766910),url("../inwestycja/oferta-8-2.webp")!important;background-size:cover!important;background-position:center 10%!important;background-repeat:no-repeat!important}.investment-photo::before,.investment-photo::after{display:none!important}
.investment-features{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin:12px 0 14px!important;white-space:normal!important;font-size:12px!important;font-weight:850!important;color:#f5ecd2!important}.investment-features span{display:block!important}.investment-features span+span::before{content:none!important}
.cost-access{padding:18px!important}.cost-access h3{margin:18px 0 9px!important;color:var(--green)}.cost-access h3:first-child{margin-top:0!important}.cost-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:10px 8px!important;border-bottom:1px solid #e2dfd7!important}.cost-row span{min-width:0!important;line-height:1.4!important}.cost-row b{white-space:nowrap!important;text-align:right!important}.cost-access ul{padding-left:22px!important;margin:8px 0 16px!important}.cost-access li{margin:7px 0!important;line-height:1.45!important}
.listing-gallery{grid-template-columns:2.35fr 1fr!important;grid-template-rows:92px 92px!important;gap:7px!important;background:#e5e9e6!important}.listing-photo{margin:0!important;overflow:hidden!important;background:#e5e9e6!important}.listing-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}.listing-photo:first-child img{object-position:center 52%!important}.listing-photo:nth-child(2) img,.listing-photo:nth-child(3) img{object-position:center!important}
/* Tylko ekran zasad: obraz w calosci, bez wplywu na inne grafiki. */
#instruction .rules-visual{width:min(100%,520px)!important;max-width:520px!important;margin:10px auto 12px!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;border:0!important}#instruction .rules-visual img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 24px #203d3514!important}#instruction .rules-visual figcaption{padding:7px 8px 0!important;background:transparent!important}
/* Stopka profilu: T w kolku, Tomasz / opis, wszystko w jednej linii. */
.profile-row{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;margin-top:8px!important;padding-top:8px!important}.profile-row .avatar{width:30px!important;height:30px!important;flex:0 0 30px!important;font-size:13px!important}.profile-row .profile-copy{display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}.profile-row .profile-copy strong,.profile-row .profile-separator{flex:0 0 auto!important}.profile-row .profile-separator{color:#87918e!important}.profile-row .profile-copy .fine{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important}
@media(max-width:560px){.case-art.investment-art,.investment-photo{background-position:center 8%!important}.cost-access{padding:14px!important}.cost-row{gap:10px!important;padding:9px 4px!important;font-size:15px!important}.listing-gallery{grid-template-columns:2.1fr 1fr!important;grid-template-rows:86px 86px!important}#instruction .rules-visual{width:min(88vw,390px)!important;max-width:390px!important;margin:9px auto 11px!important}#instruction .rules-visual figcaption{font-size:11px!important;line-height:1.35!important}.profile-row{gap:7px!important}.profile-row .avatar{width:28px!important;height:28px!important;flex-basis:28px!important}.profile-row .profile-copy{gap:5px!important}.profile-row .profile-copy .fine{font-size:9px!important}}

/* v38: stopka ogloszenia, budzet i nawigacja */
/* Reset linii odziedziczonej z wygladu profilu. */
.profile-row::before,.profile-row::after,.profile-copy::before,.profile-copy::after{content:none!important;display:none!important}
.profile-row{display:flex!important;align-items:center!important;gap:9px!important;margin:8px 0 0!important;padding:8px 0 0!important;border-top:1px solid #dfe3df!important;min-width:0!important}
.profile-row .avatar{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;margin:0!important;border:0!important;border-radius:50%!important;background:var(--green)!important;color:#fff!important;font-size:13px!important;font-weight:900!important}
.profile-row .profile-copy{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;white-space:nowrap!important;overflow:hidden!important}
.profile-row .profile-copy strong{display:inline!important;flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;line-height:1.2!important}
.profile-row .profile-separator{display:inline!important;flex:0 0 auto!important;color:#87918e!important;line-height:1.2!important}
.profile-row .profile-copy .fine{display:inline!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;line-height:1.2!important;color:var(--muted)!important}

/* Budzet Natalii: trzy informacje pozostaja czytelne. */
.paper-side{font-weight:700!important;line-height:1.75!important}

/* Desktop: pojedynczy przycisk dalej po prawej, pary na przeciwleglych stronach. */
@media(min-width:851px){
  #intro .actions,#instruction .actions,#case .actions{justify-content:flex-end!important}
  #decision .actions,#reasons .actions{justify-content:space-between!important}
  #decision .actions .btn-primary,#reasons .actions .btn-primary{margin-left:auto!important}
  #surveyPanel .actions{display:flex!important;align-items:center!important;justify-content:flex-start!important}
  #surveyPanel .actions a.btn-primary{order:3!important;margin-left:auto!important}
  #surveyPanel #chooseAnother{order:1!important}
  #surveyPanel #summaryRestart{order:2!important}
}

@media(max-width:560px){
  .profile-row{gap:7px!important}
  .profile-row .avatar{width:28px!important;height:28px!important;flex-basis:28px!important}
  .profile-row .profile-copy{gap:5px!important}
  .profile-row .profile-copy .fine{font-size:9px!important}
  .paper-side{font-size:17px!important;line-height:1.7!important;font-weight:700!important}
}

/* v45: jednolite formatowanie rozszerzonego pola Wniosek */
/* Naglowki „Wniosek” i „Sugerowany nastepny krok” maja identyczny styl. */
#summary .conclusion-box > strong,
#summary .conclusion-box .suggested-choice-label {
  display:block!important;
  margin:0 0 6px!important;
  padding:0!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--green)!important;
}

/* Tresc wniosku i wyjasnienie sugerowanego kroku maja identyczny styl. */
#summary .conclusion-box > p,
#summary .conclusion-box .suggested-choice-text {
  margin:0!important;
  padding:0!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  line-height:1.55!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:var(--ink)!important;
}

/* Nazwa sugerowanego kroku ma styl tekstu, ale jest pogrubiona. */
#summary .conclusion-box .suggested-choice-title {
  display:block!important;
  margin:0 0 8px!important;
  padding:0!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  line-height:1.55!important;
  font-weight:800!important;
  letter-spacing:0!important;
  color:var(--ink)!important;
}

/* Wyrazna, ale spokojna przerwa miedzy Wnioskiem i sugestia. */
#summary .conclusion-box .suggested-choice {
  margin:18px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid #bfd2cb!important;
}

@media(max-width:560px){
  #summary .conclusion-box > strong,
  #summary .conclusion-box .suggested-choice-label {
    font-size:13px!important;
  }
  #summary .conclusion-box > p,
  #summary .conclusion-box .suggested-choice-title,
  #summary .conclusion-box .suggested-choice-text {
    font-size:15px!important;
    line-height:1.55!important;
  }
}

/* v47: lekko wiekszy opis profilu ogloszeniodawcy */
.profile-row .profile-copy .fine{font-size:11px!important}
@media(max-width:560px){.profile-row .profile-copy .fine{font-size:10px!important}}

/* v50: jednolity styl tekstow na stronie glownej */
#selector .selector-head{max-width:780px;margin:0 auto 20px}
#selector .selector-head h1{margin:4px 0 14px;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(32px,4vw,46px);line-height:1.12;font-weight:800;letter-spacing:-.025em;color:var(--ink)}
#selector .selector-lead{max-width:710px;margin:0 auto 12px;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.58;font-weight:400;color:#344743}
#selector .selector-instruction{max-width:710px;margin:0 auto;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.55;font-weight:750;color:var(--green)}
#selector .selector-purpose,#selector .selector-steps{display:none!important}
@media(max-width:560px){
  #selector .selector-head{margin-bottom:15px}
  #selector .selector-head h1{font-size:32px;line-height:1.14;margin-bottom:12px}
  #selector .selector-lead{font-size:16px;line-height:1.55}
  #selector .selector-instruction{font-size:14px;line-height:1.5}
}

/* v52: brak odstepu miedzy informacja o czasie i instrukcja klikniecia */
#selector .selector-head{margin-bottom:0!important}
#selector .selector-head .selector-instruction{margin-bottom:0!important;padding-bottom:0!important}
#selector .selector-head + .selector-instruction,
#selector .selector-instruction + .selector-instruction{margin-top:0!important;padding-top:0!important}
