/*! KamMono 2D 0.7.207. Changes are scoped to the mobile viewport. */
@media (max-width:740px) {
  html,body { overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important; }
  html.kw-staged #planner-settings .drawingwrap,
  html.kw-staged #planner-settings .board,
  html.kw-staged #planner-settings .boardbar {touch-action:pan-y pinch-zoom!important;}
  html.kw-staged #planner-settings #draw.drawing {touch-action:pan-y pinch-zoom!important;user-select:none!important;max-height:none!important;min-height:0!important;width:100%!important;height:auto!important;aspect-ratio:980 / 530!important;display:block!important;overflow:visible!important;}
  /* Touch on empty paper scrolls page; an actual movable object can still be dragged. */
  html.kw-staged #planner-settings .drawingwrap {overflow:visible!important;}
  html.kw-staged #planner-settings .drawingwrap .board {overflow:hidden!important;background:#fff!important;}
  html.kw-staged #planner-settings .drawingwrap .boardbar {background-color:#fff!important;}
  /* v0.7.211: ściany przy lewej krawędzi paska, nie na środku */
  html.kw-staged #planner-settings .drawingwrap .boardbar .kw-vgroup-wall {margin:0!important;order:0!important;flex:0 0 auto!important;width:auto!important;justify-content:flex-start!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;display:flex!important;}
  html.kw-staged #planner-settings .boardbar .kw-walls {width:128px!important;height:78px!important;max-width:none!important;}
  html.kw-staged #planner-settings .boardbar .kw-wall .kw-wall-letter {font-size:25px!important;}
  html.kw-staged #planner-settings .boardbar .kw-vgroup-view {order:2!important;margin:0!important;}
  html.kw-staged #planner-settings .drawingwrap .boardbar > .board-controls {order:3!important;flex:1 1 100%!important;margin:0!important;justify-content:center!important;}
  html.kw-staged #planner-settings .drawingwrap .boardbar {gap:3px!important;padding:3px 6px!important;min-height:0!important;justify-content:center!important;}

  /* Theme control stays outside the drawing, fixed to the phone screen. */
  html.kw-staged .kw-theme-toggle,
  html.kw-staged .kw-theme-toggle.kw-theme-docked {position:fixed!important;left:10px!important;bottom:10px!important;top:auto!important;right:auto!important;margin:0!important;z-index:10020!important;padding:7px 12px!important;border-radius:100px!important;min-height:36px!important;box-shadow:0 3px 12px rgba(0,0,0,.22)!important;}
  html.kw-staged .kw-staged-toggle {bottom:52px!important;left:10px!important;}

  /* One header, one layout chooser, exactly three real editable dimension inputs. */
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock {background:#1b2c31!important;border:0!important;border-radius:16px!important;padding:12px!important;color:#fff!important;gap:8px!important;overflow:visible!important;max-height:none!important;box-shadow:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-side-head {display:flex!important;align-items:center!important;gap:9px!important;position:relative!important;padding:0!important;margin:0 0 4px!important;min-height:42px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-side-no {display:grid!important;place-items:center!important;background:#d9d400!important;color:#16252a!important;width:33px!important;height:33px!important;flex:0 0 33px!important;font-weight:900!important;border-radius:50%!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-side-head b {color:#fff!important;font-size:15px!important;line-height:1.2!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-side-head small {color:#b3c1c4!important;font-size:11px!important;opacity:1!important;white-space:normal!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-side-head .kw-new-project-top,
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .row.stage-heading,
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-stage-names {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-count {margin-left:auto;flex:none;color:#bfcbcd;font-size:11px;font-weight:700;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .stage-titlebox {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock >.setup-grid {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-layout-chooser {display:block!important;width:100%!important;min-width:0!important;padding:0!important;margin:0!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-layout-hint {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-layout-chooser .segmented {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-layout-chooser .segmented button {min-width:0!important;min-height:34px!important;max-height:34px!important;border:0!important;border-radius:8px!important;background:#34454c!important;color:#fff!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;padding:7px 4px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw-layout-chooser .segmented button.active {background:#d9d400!important;color:#15262a!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-main-dims {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;margin:2px 0 0!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-main-dims .field[hidden] {display:none!important;}
  /* v0.7.208: pola wymiarów pokazują się tylko dla ścian wybranego układu — decyduje konfigurator */
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-main-dims .field:not([hidden]) {display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;margin:0!important;visibility:visible!important;opacity:1!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-main-dims .field label {color:#c4cfd0!important;white-space:normal!important;font-size:10px!important;line-height:1.15!important;margin:0 0 4px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-main-dims input.control {display:block!important;width:100%!important;height:36px!important;min-height:36px!important;border:0!important;border-radius:9px!important;background:#fff!important;color:#16272b!important;padding:7px 8px!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-group {border:1px solid #43565b!important;border-radius:11px!important;overflow:hidden!important;background:transparent!important;margin:3px 0 0!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-item + .kw207-item {border-top:1px solid #405157!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-expand {width:100%!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border:0!important;background:transparent!important;color:#fff!important;padding:12px 11px!important;box-shadow:none!important;text-align:left!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-section-label {display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;line-height:1.15;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-ico {color:#d9d400;flex:none;width:17px;height:17px;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-ico svg {width:17px;height:17px;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-down {font-size:18px;transition:transform .18s ease;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-item.is-open .kw207-down {transform:rotate(180deg);}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content {display:none!important;padding:0 11px 12px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-item.is-open .kw207-content {display:block!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-extra-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-extra-grid .field {display:flex!important;flex-direction:column!important;min-width:0!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-extra-grid .field label {color:#c4cfd0!important;margin:0 0 4px!important;font-size:11px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-extra-grid .control {width:100%!important;background:#fff!important;color:#17252b!important;min-height:38px!important;height:38px!important;border:0!important;border-radius:8px!important;font-size:14px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-addbox {display:block!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-addbox>.kw-box-label {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .featuretools {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .featuretools .kw-ft {width:100%!important;min-width:0!important;min-height:42px!important;justify-content:flex-start!important;border-radius:8px!important;padding:6px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-step-style {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:0!important;background:transparent!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-step-style>span {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-style-btn {width:100%!important;justify-content:center!important;min-height:36px!important;border:1px solid #43555a!important;border-radius:8px!important;background:#35464a!important;color:#fff!important;font-size:12px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-content .kw-style-btn.active {background:#d9d400!important;color:#17252b!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .tools-row.kw-tools2 {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock #kwAutoStep {margin:0!important;padding:4px 0 0!important;display:block!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock #kwAutoStep .kw-magic {display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock #kwAutoStep .kw-steps {display:none!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock #kwAutoStep .kw207-cta {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:69px!important;padding:10px 8px!important;margin:0!important;border:0!important;border-radius:12px!important;background:#d9d400!important;color:#17252b!important;white-space:normal!important;box-shadow:none!important;gap:4px!important;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-cta-line {display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;line-height:1.2;max-width:100%;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-cta-line strong {font-weight:850;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-stars {font-size:24px;animation:kw207Sparkle 1.5s ease-in-out infinite;flex:none;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-cta-sub {font-size:11px;font-weight:500;}
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock .kw207-manual {display:block!important;width:100%!important;border:0!important;background:transparent!important;color:#d3ddde!important;text-align:center!important;font-size:11px!important;font-weight:500!important;margin:6px 0 0!important;padding:5px 0!important;}
  @keyframes kw207Sparkle {0%,100%{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.18)}}

  /* Bottom project card: transparent Gosia on LEFT, information on RIGHT, actions BELOW. */
  .project-summary .kw-project-banner::before {display:none!important;content:none!important;}
  .project-summary .kw-project-banner {background:#fff!important;aspect-ratio:auto!important;max-height:none!important;overflow:hidden!important;}
  .project-summary .kw-project-promo {display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:6px!important;padding:12px!important;margin:0!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;background:#fff!important;background-image:none!important;}
  .project-summary .kw-project-promo::before,.project-summary .kw-project-promo::after {opacity:0!important;display:none!important;}
  /* v0.7.208a: zdjęcie projektantki z podpisem stoi OBOK bloku rabatowego, nie w środku —
     poprzedni zapis (>.kw-promo-hero) nigdy go nie łapał i na telefonie były dwa zdjęcia.
     Na telefonie zostaje tylko to w bloku rabatowym. */
  .project-summary .kw-promo-hero,
  .project-summary .kw-promo-who {display:none!important;}
  /* zdjęcie ma przylegać do paska z rabatem */
  .project-summary .kw207-promo-top {margin:0!important;}
  .project-summary .kw-project-promo {row-gap:0!important;}
  .project-summary .kw207-promo-top {position:relative;z-index:4;display:grid;grid-template-columns:minmax(105px,37%) minmax(0,1fr);gap:9px;min-height:130px;align-items:center;width:100%;}
  .project-summary .kw207-promo-portrait {width:100%;height:155px;max-height:155px;object-fit:contain;object-position:bottom center;background:transparent;}
  .project-summary .kw207-promo-story {min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;text-align:left;}
  .project-summary .kw207-promo-story .kw-promo-title {font-size:clamp(17px,5vw,23px)!important;line-height:1.06!important;text-align:left!important;margin:0!important;color:#12323d!important;}
  .project-summary .kw207-promo-story .kw-promo-text {font-size:11px!important;line-height:1.35!important;color:#283e42!important;margin:0!important;text-align:left!important;}
  .project-summary .kw-promo-copy {position:relative!important;z-index:5!important;display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;}
  .project-summary .kw-promo-copy>.kw-promo-title,.project-summary .kw-promo-copy>.kw-promo-text {display:none!important;}
  .project-summary .kw-promo-ribbon {min-height:32px!important;margin:0 0 2px!important;white-space:normal!important;padding:5px 10px!important;font-size:12px!important;}
  .project-summary .kw-promo-actions {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;width:100%!important;margin:0!important;}
  .project-summary .kw-promo-code {min-height:37px!important;font-size:11px!important;padding:4px!important;}
  .project-summary .kw-copy-promo {min-height:37px!important;min-width:96px!important;font-size:11px!important;padding:4px 7px!important;}
  .project-summary .kw-send-designer {min-height:43px!important;font-size:12px!important;margin:2px 0 0!important;}
  .project-summary .kw-review-promise {font-size:10px!important;text-align:center!important;margin:3px 0!important;line-height:1.25!important;}
}
@media (max-width:740px) {
  html.kw-staged.kw207-mobile[data-kw-step="1"] #kwSideDock #kwAutoStep,
  html.kw-staged.kw207-mobile[data-kw-step="1"] #planner-settings #kwAutoStep {
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:3px 0 0!important;
  }
}

/* v0.7.210: otwarte okienko — pływające przyciski Dzień/Noc i „Dalej” schodzą z drogi,
   bo zasłaniały przyciski wysyłki na dole okienka. */
html.kw-modal-open.kw-staged .kw-theme-toggle,
html.kw-modal-open.kw-staged .kw-theme-toggle.kw-theme-docked,
html.kw-modal-open.kw-staged .kw-next-fab {display:none!important;visibility:hidden!important;}
@media (max-width:740px){
  /* v0.7.211: ściany do lewej, widok dopychany do prawej */
  html.kw-staged #planner-settings .drawingwrap .boardbar{justify-content:flex-start!important}
  html.kw-staged #planner-settings .drawingwrap .boardbar .kw-vgroup-view{margin-left:auto!important}
}

/* v0.7.215: GWIAZDKI NA ŻÓŁTYM PRZYCISKU BYŁY ŻÓŁTE — czyli niewidoczne.
   Na telefonie przycisk układania jest żółty, więc gwiazdki muszą być ciemne.
   Przy okazji wracają do zamierzonych rozmiarów. Cofnięcie: wgraj 0.7.214. */
@media (max-width:740px){
  html.kw-staged .kw207-cta .kw-cta-stars{display:inline-flex!important;align-items:center!important;gap:3px!important;margin-right:8px!important}
  html.kw-staged .kw207-cta .kw-cta-stars .kw-star{fill:#17252b!important;flex:none!important;
    animation:kwStarBlink 1.1s ease-in-out infinite!important}
  html.kw-staged .kw207-cta .kw-cta-stars .kw-star.s1{width:17px!important;height:17px!important;animation-delay:0s!important}
  html.kw-staged .kw207-cta .kw-cta-stars .kw-star.s2{width:26px!important;height:26px!important;animation-delay:.2s!important}
  html.kw-staged .kw207-cta .kw-cta-stars .kw-star.s3{width:19px!important;height:19px!important;animation-delay:.4s!important}
  /* menu planera (lupa i znaczniki) wyrównane do PRAWEJ, tak jak widok */
  html.kw-staged #planner-settings .drawingwrap .boardbar>.board-controls{
    justify-content:flex-end!important;margin-left:auto!important}
}
@media (max-width:740px){
  /* kolor nadaje ścieżka wewnątrz SVG — ustawiamy go wprost na niej */
  html.kw-staged .kw207-cta .kw-cta-stars .kw-star path{fill:#17252b!important}
}

/* =====================================================================
   v0.7.221 — PANEL MIĘDZY SZAFKAMI NA TELEFONIE
   Próbki panelu stoją w jednej kolumnie przy prawej krawędzi planera,
   nie nachodzą na przycisk LED ani na przyciski widoku.
   Cofnięcie: skasuj ten blok.
   ===================================================================== */
@media (max-width:740px){
  /* kotwiczymy przy DOLE planera, żeby kolumna nie wchodziła na pasek z widokiem i siatką */
  #planner-settings .kw-splash-pick{
    right:2px!important;top:auto!important;bottom:8px!important;transform:none!important;
    gap:2px!important;padding:2.5px!important;border-radius:8px!important;
    overflow:visible;z-index:7!important}
  #planner-settings .kw-splash-sw{width:13px!important;height:13px!important;border-radius:4px!important;border-width:1px!important}
  #planner-settings .kw-splash-lbl{display:none!important}
  #planner-settings .kw-led-row{padding:3px 8px 1px!important}
  #planner-settings #kwLedPill{max-width:calc(100% - 20px)}
  /* rysunek dostaje miejsce po prawej, żeby kuchnia nie chowała się pod próbkami */
  #planner-settings .drawingwrap .board{padding-right:20px}
}
/* v0.7.221: na telefonie powiększa się tylko planer (plusikiem), nie cała strona */
html.kw-staged,html.kw-staged body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
