/* Kalkulia 2.3 — guided panels, accessible charts and calendar. */
.kalkulia-fe .kf-action-wrap{display:inline-flex;flex-direction:column;gap:.45rem;max-width:100%;vertical-align:top}.kalkulia-fe .kf-action-preview,.kalkulia-fe .kf-disabled-reason{display:block;font-size:.85rem;line-height:1.55;max-width:36rem;color:#f2dfac}.kalkulia-fe .kf-disabled-reason{color:#fff1d5}.kalkulia-fe .kf-actions{align-items:flex-start;flex-wrap:wrap}.kalkulia-fe button:focus-visible,.kalkulia-fe input:focus-visible,.kalkulia-fe select:focus-visible{outline:3px solid #ffe19c;outline-offset:4px}.kalkulia-fe .kf-personal-question{font-weight:700;color:#ffe3a1}.kalkulia-fe .kf-help-icon{border-radius:2rem;background:#bf9b30;color:#1a1a1a;font-weight:700;min-height:44px}.kalkulia-fe .kf-product{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:100%;min-width:0;overflow:hidden}.kalkulia-fe .kf-product figure{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.kalkulia-fe .kf-product img{width:100%!important;max-width:100%!important;height:auto!important;max-height:190px;object-fit:contain}.kalkulia-fe .kf-product .kf-media-open{width:100%;max-width:100%;min-width:0;padding:.6rem;font-size:.8rem}.kalkulia-fe .kf-story-layout>*,.kalkulia-fe .kf-story-copy{min-width:0}.kalkulia-fe .kf-promo{display:block;min-height:0;background:transparent;padding:0}.kalkulia-fe .kf-promo img{width:auto;max-width:100%;max-height:450px;object-fit:contain;margin:auto;display:block}.kalkulia-fe .kf-ad-grid{grid-template-columns:minmax(0,1fr)}
.kalkulia-fe .kf-work-dialog{box-sizing:border-box;width:min(1220px,94vw);max-width:94vw;height:min(900px,90dvh);max-height:90dvh;margin:auto;padding:0;border:2px solid #bf9b30;border-radius:20px;background:#4b1019;color:#fff4dc;box-shadow:0 20px 90px #000b;overflow:hidden}.kalkulia-fe .kf-work-dialog[open]{display:flex;flex-direction:column}.kf-work-dialog::backdrop{background:#100a0dd9}.kalkulia-fe .kf-work-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;background:#1a1a1a;border-bottom:1px solid #bf9b30;flex:none}.kalkulia-fe .kf-work-dialog>header h2{font-size:clamp(1.1rem,2.2vw,1.7rem);margin:0;color:#ffe3a1}.kalkulia-fe .kf-work-dialog>header button{flex:none;min-height:44px}.kalkulia-fe .kf-dialog-body{padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-gutter:stable}.kalkulia-fe .kf-dialog-body>.kf-story-copy{background:transparent;padding:0;width:100%}.kalkulia-fe .kf-dialog-body label{display:block;margin:12px 0;line-height:1.7}.kalkulia-fe .kf-dialog-body input:not([type=checkbox]):not([type=radio]),.kalkulia-fe .kf-dialog-body select{width:100%;box-sizing:border-box;min-height:44px}.kalkulia-fe .kf-dialog-body input[type=checkbox],.kalkulia-fe .kf-dialog-body input[type=radio]{min-width:20px;min-height:20px;margin-right:8px;accent-color:#bf9b30}.kalkulia-fe .kf-dialog-body input[type=range]{accent-color:#bf9b30;cursor:pointer}.kalkulia-fe .kf-dialog-body fieldset{min-width:0;border:1px solid #c7a349;border-radius:14px;padding:16px}.kalkulia-fe .kf-dialog-body progress{width:100%;accent-color:#bf9b30}.kalkulia-fe .kf-dialog-body>img{max-height:240px;object-fit:contain;width:100%}.kalkulia-fe .kf-step-label{font-weight:700;letter-spacing:.07em;color:#efd287}.kalkulia-fe .kf-pricing-intro{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:center}.kalkulia-fe .kf-pricing-intro img{width:100%;height:auto;max-height:280px;object-fit:contain;border-radius:12px}.kalkulia-fe .kf-demand-graph{margin:20px 0 10px}.kalkulia-fe .kf-demand-graph svg{width:100%;height:auto;display:block;max-height:420px}.kalkulia-fe .kf-demand-graph figcaption{font-size:.85rem;margin-top:8px}.kalkulia-fe .kf-graph-legend{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.kalkulia-fe .kf-graph-legend span{display:inline-flex;align-items:center;gap:7px}.kalkulia-fe .kf-graph-legend i{width:16px;height:16px;border:1px solid white;border-radius:50%}.kalkulia-fe .kf-story-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;position:relative}.kalkulia-fe .kf-map-stop{position:relative;padding:10px;background:#3b1d25;color:#f5e7d1;border:2px dashed #dfcfb3;display:flex;flex-direction:column;gap:8px;min-width:0;white-space:normal;line-height:1.5}.kalkulia-fe .kf-map-stop:after{content:'↓';position:absolute;bottom:-32px;left:47%;color:#dfcfb3;font-size:24px}.kalkulia-fe .kf-map-stop:nth-last-child(-n+3):after{content:none}.kalkulia-fe .kf-map-done{border:3px solid #e4c668;background:#5d4118;color:#fff2cc}.kalkulia-fe .kf-map-done:after{color:#f2cf68}.kalkulia-fe .kf-map-stop[aria-current=step]{box-shadow:0 0 0 4px #fff1bc,0 0 25px #e4c668}.kalkulia-fe .kf-map-stop img{width:100%;height:130px;object-fit:contain}.kalkulia-fe .kf-calendar-past{background:#a47c28!important;color:#fff6d9!important}.kalkulia-fe .kf-calendar-day{min-height:100px}.kalkulia-fe .kf-calendar-agenda{border:2px solid #bf9b30}.kalkulia-fe .kf-time-history{border:1px solid #bf9b30;padding:18px;border-radius:14px;margin:24px 0}.kalkulia-fe .kf-time-history li{margin:12px 0}.kalkulia-fe .kf-certificate{border:1px solid #bf9b30;padding:18px;border-radius:14px;margin:18px 0}.kalkulia-fe .kf-certificate img{width:100%;height:auto;max-height:480px;object-fit:contain}.kalkulia-fe .kf-certificate input[readonly]{width:100%;box-sizing:border-box}.kalkulia-fe .kf-notice{outline:none}.kalkulia-fe .kf-work-dialog .kf-board-panel{display:block}.kalkulia-fe .kf-dialog-body [hidden]{display:none!important}
@media(max-width:700px){.kalkulia-fe .kf-work-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border-width:0}.kalkulia-fe .kf-work-dialog>header{padding:10px 12px}.kalkulia-fe .kf-dialog-body{padding:16px 12px}.kalkulia-fe .kf-pricing-intro{grid-template-columns:1fr;gap:12px}.kalkulia-fe .kf-pricing-intro img{max-height:170px}.kalkulia-fe .kf-story-map{grid-template-columns:1fr 1fr;gap:28px 12px}.kalkulia-fe .kf-map-stop img{height:92px}.kalkulia-fe .kf-map-stop strong{font-size:.9rem}.kalkulia-fe .kf-product{grid-template-columns:minmax(0,1fr)}.kalkulia-fe .kf-product img{max-height:230px}.kalkulia-fe .kf-dialog-body .kf-plan-form{grid-template-columns:minmax(0,1fr)}.kalkulia-fe .kf-graph-legend{font-size:.85rem}.kalkulia-fe .kf-work-dialog .kf-costs{grid-template-columns:repeat(2,minmax(0,1fr))}.kalkulia-fe .kf-work-dialog .kf-costs span{min-width:0}.kalkulia-fe .kf-guided-shortcuts button{flex:1 1 145px}.kalkulia-fe .kf-action-preview{font-size:.8rem}.kalkulia-fe .kf-calendar-day{min-height:80px}.kalkulia-fe .kf-dialog-body .kf-table-scroll{max-width:100%;overflow-x:auto}}
@media(prefers-reduced-motion:reduce){.kalkulia-fe *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.kalkulia-fe .kf-story-map{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:210px;gap:60px 40px;margin:20px 0}.kalkulia-fe .kf-map-stop{grid-column:span 3;z-index:1;border-radius:20px}.kalkulia-fe .kf-map-stop:nth-of-type(-n+3){grid-column:span 2}.kalkulia-fe .kf-map-stop:after{content:none}.kalkulia-fe .kf-map-paths{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.kalkulia-fe .kf-map-stop img{height:135px}.kalkulia-fe .kf-dialog-body .kf-stage{margin-bottom:16px}.kalkulia-fe .kf-action-preview{white-space:normal}
@media(max-width:700px){.kalkulia-fe .kf-story-map{display:flex;flex-direction:column;gap:20px}.kalkulia-fe .kf-map-paths{display:none}.kalkulia-fe .kf-map-stop{min-height:140px}.kalkulia-fe .kf-map-stop img{height:110px}.kalkulia-fe .kf-map-stop:after{display:none}}
.kalkulia-fe [hidden]{display:none!important}.kalkulia-fe .kf-price-learning-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:24px;align-items:start}.kalkulia-fe .kf-price-learning-grid .kf-pricing-intro{display:block}.kalkulia-fe .kf-price-learning-grid .kf-pricing-intro img{max-height:180px;margin-bottom:12px}.kalkulia-fe .kf-price-learning-grid .kf-demand-graph{margin-top:10px}.kalkulia-fe .kf-price-learning-grid .kf-costs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.kalkulia-fe .kf-price-learning-grid{grid-template-columns:minmax(0,1fr)}.kalkulia-fe .kf-price-learning-grid .kf-pricing-intro img{max-height:140px}}
/* 2.3.1: visible orientation and direct price exploration. */
.kalkulia-fe .kf-top-route{margin:18px 22px;padding:20px;background:linear-gradient(125deg,#351017,#67121c);border:3px solid #e4c668;border-radius:18px;box-shadow:0 4px 18px #0004;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}.kalkulia-fe .kf-top-route h2{font-size:clamp(1.2rem,2.2vw,1.75rem);margin:5px 0;color:#ffe5a3}.kalkulia-fe .kf-top-route p{margin:5px 0}.kalkulia-fe .kf-route-eyebrow{font-size:.8rem;letter-spacing:.1em;font-weight:700;color:#f0d785}.kalkulia-fe .kf-top-route-actions{display:flex;flex-direction:column;gap:10px;justify-content:center}.kalkulia-fe .kf-top-route-actions button{min-height:44px;font-weight:700}.kalkulia-fe .kf-top-route-steps{grid-column:1/-1;list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.kalkulia-fe .kf-top-route-steps li{min-width:0}.kalkulia-fe .kf-top-route-steps button{width:100%;height:100%;min-height:46px;background:#211b1c;color:#f5e7d1;white-space:normal;border:1px solid #a18b63;font-size:.85rem;padding:8px}.kalkulia-fe .kf-top-route-steps .kf-route-past button{background:#806019;color:#fff4d7;border-color:#e4c668}.kalkulia-fe .kf-top-route-steps [aria-current=step] button{background:#f0d177;color:#391018;border:3px solid #fff2bd;font-weight:700}.kalkulia-fe .kf-inline-price-help{line-height:1.65;font-size:.95rem;border-left:3px solid #bf9b30;padding-left:12px}.kalkulia-fe [data-plan-price-chart]{margin:14px 0;padding:12px;background:#40121b;border:1px solid #bf9b30;border-radius:12px;min-width:0}.kalkulia-fe [data-plan-price-chart] h4{color:#ffe5a3;margin:0 0 8px}.kalkulia-fe [data-plan-price-chart] .kf-demand-graph{margin:8px 0}.kalkulia-fe [data-plan-price-chart] .kf-demand-graph svg{width:100%;height:auto;max-height:260px}.kalkulia-fe [data-plan-price-chart] .kf-graph-legend{font-size:.8rem;gap:7px}.kalkulia-fe .kf-plan-graph-values{font-size:.9rem;line-height:1.7}.kalkulia-fe .kf-plan-form{align-items:start}
@media(max-width:700px){.kalkulia-fe .kf-top-route{grid-template-columns:minmax(0,1fr);margin:12px 10px;padding:14px;gap:12px}.kalkulia-fe .kf-top-route-actions{flex-direction:row;flex-wrap:wrap}.kalkulia-fe .kf-top-route-actions button{flex:1 1 135px}.kalkulia-fe .kf-top-route-steps{display:flex;overflow-x:auto;padding:4px 0 8px;scroll-snap-type:x proximity}.kalkulia-fe .kf-top-route-steps li{flex:0 0 135px;scroll-snap-align:start}.kalkulia-fe .kf-top-route h2{line-height:1.45}}
