/* Desktop má vlastní kompozici a šablony; stav i výpočty sdílí s mobilem. */
@media(min-width:1024px){
  body.combined{background:#f3f6f9}
  body.combined .site-header{max-width:1288px;padding:24px 32px 20px}
  body.combined .brand img{width:180px}
  body.combined .header-contact{font-size:15px}
  body.combined .app-shell{max-width:1288px;padding:0 32px 40px;display:grid;grid-template-columns:minmax(0,1fr) 260px;column-gap:28px;align-items:start}
  body.combined .workspace-bar{grid-column:1/-1;grid-row:1;border-color:#dce4ed;color:var(--muted)}
  body.combined .step-nav{display:none}
  body.combined .desktop-steps{display:block;grid-column:1/-1;grid-row:2;border-bottom:1px solid #dce4ed;padding:10px 0 24px;margin-bottom:26px}
  .desktop-steps ol{list-style:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:0;margin:0}
  .desktop-steps li{font-size:11px;color:#506477;position:relative;min-width:0}
  .desktop-steps li:not(:last-child):after{content:'';height:1px;background:#ccd8e4;position:absolute;left:calc(50% + 22px);right:calc(-50% + 22px);top:18px}
  body.combined .desktop-step-link,.desktop-step-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;color:inherit;font-size:11px;font-weight:500;line-height:1.4;text-align:center}
  body.combined .desktop-step-link{background:none;border:0;border-radius:8px;padding:0;min-height:62px}
  .desktop-step-number{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e6edf4;color:#38546d;font-size:13px;font-weight:650;z-index:1}
  .desktop-steps li[aria-current] .desktop-step-number{color:white;background:var(--navy)}
  .desktop-steps li[aria-current]{color:var(--navy);font-weight:700}
  .desktop-step-link .desktop-step-number{background:#e0edf9;color:var(--navy)}
  .desktop-step-link:hover span:last-child{text-decoration:underline;text-underline-offset:4px}
  body.combined #status{grid-column:1/-1;grid-row:3}
  body.combined #notice{grid-column:1/-1;grid-row:4}
  body.combined #app{grid-column:1/-1;grid-row:5;min-width:0}
  body.combined.has-quotes #app{grid-column:1}
  body.combined #price-dock{grid-column:2;grid-row:5;position:sticky;top:24px;max-width:none;width:100%;margin:0;overflow:hidden;box-shadow:0 5px 20px #1639560a;border:1px solid #dbe5ee;border-radius:14px}
  body.combined .live-prices{padding:20px 18px;border:0}
  body.combined .price-caption{font-size:12px;display:block;border-bottom:1px solid #dce4ed;padding-bottom:12px;margin:0 0 2px;color:var(--ink);font-weight:650}
  body.combined .price-caption>span{font-weight:400;float:right;color:var(--muted)}
  body.combined .price-cell{padding:14px 0;gap:6px}
  body.combined .price-cell>span{font-size:14px}
  body.combined .price-cell>strong{font-size:17px}
  body.combined .live-prices:after{content:'Orientační roční součet. ≠ označuje rozdíly v krytí.';display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}
  body.combined .live-prices.selected-prices:after{content:'Modelová cena vybrané nabídky.'}
  .desktop-screen{min-width:0}
  body.combined .desktop-screen .screen-heading{margin:0 0 28px;max-width:940px;text-align:left}
  body.combined .desktop-screen .screen-heading h1{font-size:34px;line-height:1.22;color:var(--navy);margin:0 0 12px;letter-spacing:-.7px}
  body.combined .desktop-screen .screen-heading>p:last-child{font-size:15px;line-height:1.7;max-width:78ch}
  .desktop-eyebrow{font-size:11px!important;font-weight:700;color:var(--navy)!important;text-transform:uppercase;letter-spacing:1.2px;margin:0 0 10px}
  .desktop-profile-layout,.desktop-people-layout,.desktop-payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
  .desktop-panel{background:white;border:1px solid #dce5ed;border-radius:14px;padding:26px;margin-bottom:22px;min-width:0}
  .desktop-panel>h2{font-size:20px;margin:0 0 22px}
  .desktop-profile-fields{margin-top:24px}
  .desktop-profile-fields>.form-grid{grid-template-columns:130px 180px minmax(0,1fr);align-items:start}
  .desktop-profile-fields .field>span{min-height:44px;display:flex;align-items:flex-end}
  .desktop-profile-fields .occupation-picker{grid-column:3}
  .desktop-profile-fields .field-block:has(#profile-start){grid-column:2}
  body.combined .desktop-screen .field-error[aria-hidden]{display:none}
  .desktop-profile-fields .occupation-control{position:relative}
  body.combined .desktop-screen .occupation-results{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 6px);margin:0;max-height:320px;overscroll-behavior:contain;box-shadow:0 12px 30px #173b5826;border-color:#9bb4ca;border-radius:10px}
  body.combined .desktop-screen .occupation-results[data-placement=above]{top:auto;bottom:calc(100% + 6px)}
  .live-prices form{margin-top:16px}.live-prices form .actions{margin:0}.live-prices form .button{width:100%;min-height:48px}
  .desktop-profile-context{display:grid;grid-template-columns:1fr 1.4fr 1fr auto;gap:16px;background:white;padding:20px;border:1px solid #dce5ed;border-radius:14px;align-items:start;margin:0 0 28px}
  .desktop-profile-context>div{min-width:0;display:flex;flex-direction:column;gap:4px}
  .desktop-profile-context>div>span{font-size:11px;color:var(--muted)}
  .desktop-profile-context strong{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
  .desktop-profile-context>.button{justify-self:start;align-self:center;padding:0;min-height:44px;font-size:12px}
  .desktop-guide{padding:26px;border-left:3px solid var(--navy);background:#e9f0f7;border-radius:0 14px 14px 0;color:var(--ink);font-size:14px;line-height:1.8}
  .desktop-guide h2{font-size:20px;line-height:1.4;margin:0 0 18px;color:var(--navy)}
  .desktop-guide ol{padding-left:20px;margin:0 0 24px}.desktop-guide li{margin-bottom:12px}
  .desktop-guide p{margin:18px 0 0}.desktop-guide .quiet{font-size:12px}
  .desktop-guide-icon{display:inline-grid;place-items:center;background:white;border-radius:12px;width:52px;height:52px;margin:0 0 20px;color:var(--navy)}
  .desktop-guide-icon svg{width:30px;height:30px}
  .desktop-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}
  .desktop-section-toolbar>h2{margin:0;font-size:22px}
  .desktop-presets{display:flex;gap:2px;padding:4px;background:#e4ebf2;border-radius:10px}
  body.combined .desktop-presets>.button{font-size:12px;min-height:44px;padding:10px 14px;border:0;background:transparent;border-radius:7px;color:#405b72}
  body.combined .desktop-presets>.button[aria-pressed=true]{background:white;color:var(--navy);box-shadow:0 1px 5px #173b5820;font-weight:700}
  .desktop-risk-group{margin-bottom:26px}
  .desktop-risk-group>h2{font-size:16px;margin:0 0 16px;font-weight:650}
  .desktop-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .desktop-risk-card{min-width:0;padding:20px 18px 16px;background:#fff;border:1px solid #cbd8e5;border-radius:13px;color:var(--ink);display:flex;flex-direction:column;text-align:left;min-height:276px;box-shadow:0 3px 12px #173b5805}
  .desktop-risk-card.is-selected{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy);background:#fff}
  .desktop-risk-card:hover:not(:disabled){background:#f8fbff;border-color:var(--navy)}
  .desktop-risk-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
  .desktop-risk-category{font-size:10px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--navy);padding:4px 7px;border-radius:4px;background:#e8f0f9}
  .desktop-risk-check{display:grid;place-items:center;border-radius:7px;width:26px;height:26px;background:#edf2f7;color:var(--navy);font-size:18px}
  .is-selected .desktop-risk-check{background:var(--navy);color:white}
  .desktop-risk-title{display:flex;align-items:start;gap:10px;margin-bottom:12px;min-height:46px}
  .desktop-risk-title strong{font-size:15px;line-height:1.5;font-weight:650}
  .desktop-risk-title svg{width:22px;height:22px;margin-top:2px;color:var(--navy)}
  .desktop-risk-description{font-size:13px;line-height:1.7;color:#506477;display:block;margin-bottom:20px}
  .desktop-risk-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px dashed #d5e0eb}
  .desktop-risk-bottom small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}
  .desktop-risk-bottom strong{font-size:14px;line-height:1.5;display:block;color:var(--navy)}
  .desktop-risk-edit{font-size:11px;color:var(--navy);font-weight:600;flex-shrink:0}
  .desktop-risk-card:disabled{background:#edf1f5;box-shadow:none;opacity:1;color:#536578}
  .desktop-risk-card:disabled .desktop-risk-edit{flex-shrink:1;max-width:70px;color:#536578}
  .desktop-more-risks{margin-top:12px;border-top:1px solid #d8e3ec}
  .desktop-more-risks summary{font-size:14px;color:var(--navy);min-height:56px;gap:12px}
  .desktop-more-risks summary small{color:var(--muted);font-size:11px;font-weight:400}
  .desktop-more-risks .desktop-risk-grid{margin-top:12px}
  .desktop-model-note{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0 26px}
  .desktop-actionbar{display:flex;justify-content:space-between;align-items:center;gap:24px;border-radius:14px;padding:24px;background:var(--navy);color:white;margin-top:28px}
  .desktop-actionbar>div{min-width:0}.desktop-actionbar strong{font-size:15px}.desktop-actionbar p{font-size:12px;line-height:1.7;margin:6px 0 0;color:#dce8f4}
  .desktop-actionbar form{flex-shrink:0}.desktop-actionbar .actions{margin:0}
  body.combined .desktop-actionbar .button{background:white;color:var(--navy);border-color:white;min-height:48px}
  .desktop-offer-context{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border:1px solid #dce5ed;border-radius:12px;padding:16px 22px;margin-bottom:24px;font-size:14px}
  .desktop-offer-context .button{font-size:12px}
  .desktop-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .desktop-offer{background:white;border:1px solid #dce5ed;padding:8px 24px;border-radius:14px;min-width:0}
  .desktop-offer .offer-compact{border:0;padding:20px 0}
  .desktop-offer .offer-compact>div:first-child{min-width:140px}
  .desktop-offer .company-name{font-size:21px;color:var(--navy)}
  .desktop-offer .offer-compact small{font-size:12px;line-height:1.7}
  .desktop-offer .offer-compact details{border-top:1px solid #dce5ed;border-bottom:1px solid #dce5ed}
  .desktop-offer .offer-compact summary{font-size:13px;min-height:54px}
  .desktop-frequency .frequency{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
  .desktop-frequency .frequency legend{margin-bottom:18px}.desktop-frequency .frequency-option{margin:0}
  .desktop-policyholder{margin-top:28px;padding-top:24px;border-top:1px solid #d8e3ec}
  .desktop-review-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
  body.has-quotes .desktop-review-grid{grid-template-columns:minmax(0,1fr)}
  body.combined .desktop-review-grid .edit-section{background:white;border:1px solid #dce5ed;border-radius:14px;padding:24px;margin-bottom:22px}
  body.combined .desktop-review-grid .edit-section.is-editing{background:#edf4fb;border-color:#aac4da}
  .desktop-review-grid .edit-section.is-editing .desktop-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .desktop-guide .price-summary{margin:0;background:transparent;padding:0;border:0;text-align:left;align-items:start}
  .desktop-finish-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;align-items:start}
  .desktop-finish{grid-column:1/-1;display:grid;grid-template-columns:1fr;max-width:none}
  .desktop-finish .done-message{max-width:650px}.desktop-finish .price-summary{margin:8px 0;max-width:420px}
  .desktop-document{max-width:850px;margin:0 auto;background:white;border:1px solid #dce5ed;border-radius:14px;padding:32px}
  body.combined #detail-dialog{width:min(620px,calc(100% - 80px));max-width:620px;max-height:calc(100dvh - 64px);margin:auto;border-radius:18px;box-shadow:0 20px 80px #173b5840}
  body.combined .sheet-content{padding:18px 28px 28px;background:white}
  body.combined .sheet-content .risk-editor{border:0;padding:0;margin:14px 0 0}
  body.combined .sheet-handle{display:none}
  body.combined .sheet-content .section-heading h2{font-size:24px}
  body.combined .sheet-content .risk-explanation{font-size:14px;line-height:1.8}
  body.combined .site-footer{border-top:1px solid #dce5ed;background:#edf2f7;padding:24px}
}
@media(min-width:1024px) and (max-width:1199px){
  body.combined .app-shell{grid-template-columns:minmax(0,1fr) 232px;column-gap:22px;padding-left:24px;padding-right:24px}
  .desktop-profile-context{grid-template-columns:1fr 1.4fr}.desktop-profile-context>div:last-of-type{grid-column:1}.desktop-profile-context>.button{grid-column:2}
  .desktop-risk-grid{gap:12px}.desktop-risk-card{padding:16px 14px;min-height:290px}
  .desktop-risk-title{gap:6px}.desktop-risk-title strong{font-size:14px}.desktop-risk-title svg{display:none}
  .desktop-risk-bottom{display:block}.desktop-risk-edit{display:block;margin-top:6px}
  .desktop-profile-layout,.desktop-people-layout,.desktop-payment-layout{grid-template-columns:minmax(0,1fr) 260px;gap:24px}.desktop-profile-fields>.form-grid{grid-template-columns:110px 150px minmax(0,1fr);gap:18px}
  .desktop-actionbar{align-items:start}.desktop-actionbar>div{max-width:50%}.desktop-actionbar form{flex-shrink:1}
  .desktop-section-toolbar{align-items:start;flex-direction:column}
}
@media print{.desktop-steps,.desktop-actionbar,.desktop-presets{display:none!important}.desktop-screen{display:block}.desktop-panel{break-inside:avoid}}
