/* Phone layouts only. The desktop styles and document flow stay unchanged. */
@media screen and (max-width:800px), screen and (max-width:1100px) and (hover:none) and (pointer:coarse){
  .phone-ui{--phone-header:60px;-webkit-text-size-adjust:100%}
  .phone-ui .topbar{height:var(--phone-header);min-height:var(--phone-header);padding:8px 14px;display:grid;grid-template-columns:minmax(0,1fr) 44px 76px;gap:8px;position:relative;z-index:70;background:#fff;border-bottom:1px solid #e8e8e1}
  .phone-ui .topbar .brand{min-width:0}.phone-ui .topbar .brand img{width:152px;max-width:100%;height:auto}
  .phone-ui .topbar .nav{display:none}
  .phone-ui .topbar .phone{display:flex;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:10px;background:#fff6c5;border:1px solid #eedc85;border-radius:13px}
  .phone-ui .topbar .phone svg{width:22px;height:22px;flex:none}.phone-ui .topbar .phone span{display:none}
  .phone-menu-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px;border:1px solid #dddeda;border-radius:13px;background:#f5f5f1;color:#202420;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer}
  .phone-menu-toggle svg{width:17px;height:17px}
  .phone-ui .mobile-links{display:none}
  .phone-ui.phone-menu-open .mobile-links{display:flex;flex-direction:column;position:fixed;z-index:69;inset:var(--phone-header) 0 0;margin:0;padding:18px 18px max(24px,env(safe-area-inset-bottom));gap:9px;overflow:auto;overscroll-behavior:contain;background:#f5f5ef;border:0}
  .phone-ui .mobile-links a{display:flex;align-items:center;min-height:52px;padding:14px 18px;flex:none;white-space:normal;border:1px solid #dedfd7;border-radius:14px;background:#fff;color:#202420;font-size:17px;font-weight:600;text-decoration:none}
  .phone-ui .mobile-links a[aria-current=page]{background:#fff3b3;border-color:#e8d57b}
  .phone-ui.phone-menu-open{overflow:hidden}

  /* Home: title, visual, clear actions, then a short explanation. */
  .hero{min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding:28px 18px 30px;background:#f7f6f0;color:#202420;overflow:hidden}
  .hero::after{display:none}.hero .hero-copy{display:contents}
  .hero .kicker{grid-row:1;font-size:10px;font-weight:650;letter-spacing:.09em;gap:9px;color:#60635b;margin:0;line-height:1.4}
  .hero .kicker::before{width:24px;height:3px}
  .hero h1{grid-row:2;font-size:clamp(32px,8.7vw,52px);line-height:1.04;letter-spacing:-.045em;margin:0;max-width:620px;color:#202420;font-weight:550}
  .hero .hero-art{grid-row:3;position:relative;inset:auto;min-width:0;width:100%;height:clamp(220px,65vw,350px);border-radius:22px;background:radial-gradient(ellipse at 65% 25%,#f2efe4,#d5d5c8 70%,#b4b9aa);box-shadow:0 8px 25px #363e2712;pointer-events:none}
  .hero .hero-art .hero-kitchen{object-fit:cover;object-position:64% center;filter:none}
  .hero .hero-stage3d{inset:0;width:100%;height:100%}
  .hero .actions{grid-row:4;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;min-width:0}
  .hero .actions .btn,.hero .actions .ghost{width:100%;min-height:52px;padding:13px 8px;border-radius:14px;font-size:14px;line-height:1.25;letter-spacing:0;border:1px solid #d8dbd0;background:#fff;color:#202420}
  .hero .actions .primary{background:#f4d000;border-color:#f4d000}
  .hero .actions a:last-child{grid-column:1/-1;background:#202420;color:#fff;border-color:#202420}
  .hero .hero-copy>p{grid-row:5;font-size:14px;line-height:1.65;margin:0;color:#62665d;max-width:620px}
  main:has(>.hero) .section{padding:44px 0}
  main:has(>.hero) .wrap{width:auto;max-width:none;margin:0 18px}
  main:has(>.hero) .head{display:block;margin-bottom:22px}
  main:has(>.hero) .head h2{font-size:30px;line-height:1.1;letter-spacing:-.035em;margin:0 0 14px}
  main:has(>.hero) .head p{font-size:15px;line-height:1.6;max-width:none;margin:0}
  main:has(>.hero) .routes{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  main:has(>.hero) .route{min-height:0;display:flex;flex-direction:column;background:#f5f5ee;border:1px solid #e1e2d9;border-radius:22px;overflow:hidden}
  main:has(>.hero) .route::after{display:none}
  main:has(>.hero) .route>img{position:static;inset:auto;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#ebece6;transform:none;filter:none}
  main:has(>.hero) .route-copy{position:static;inset:auto;padding:22px;color:#202420;max-width:none}
  main:has(>.hero) .route-copy .eyebrow{color:#686d60!important;font-size:11px}
  main:has(>.hero) .route h3{font-size:28px;line-height:1.1;letter-spacing:-.03em;margin:8px 0 12px}
  main:has(>.hero) .route p{font-size:14px;color:#62665d;line-height:1.6;max-width:none;margin:0 0 20px}
  main:has(>.hero) .route .btn{width:100%;min-height:50px;font-size:14px;background:#202420;border-color:#202420;color:#fff}
  #materials .materials-stage{display:grid;grid-template-columns:minmax(0,1fr);border-radius:22px;gap:0}
  #materials .material-copy{padding:22px;gap:20px;min-width:0}
  #materials .material-copy h3{font-size:25px;line-height:1.15;margin:14px 0}
  #materials .material-copy p{font-size:14px;line-height:1.6;margin:0}
  #materials .material-copy .kicker{font-size:10px;letter-spacing:.06em}
  #materials .material-tabs{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px}
  #materials .material-tab{padding:12px 5px;font-size:13px;min-height:48px;border-radius:11px;line-height:1.2}
  #materials .material-visual{min-height:0}.material-visual #material-image{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#eeeee6}
  #materials .material-card{position:static;padding:20px;display:block;background:#fff;color:#202420}
  #materials .material-card strong{font-size:23px}.material-card a{width:100%;font-size:14px;margin-top:12px}
  #materials .swatch-row{margin-top:18px}
  main:has(>.hero) .cases{grid-template-columns:1fr;gap:24px}
  main:has(>.hero) .case img{height:auto;aspect-ratio:4/3;object-fit:cover}
  .phone-ui .footer-main{padding:32px 18px;gap:25px}.phone-ui .footer-main .contact{min-width:0}
  .phone-ui .contact-channels{gap:8px;flex-wrap:wrap}.phone-ui .contact-channels a{min-height:48px}

  /* Both planners use one viewport: the scene never scrolls with the controls. */
  .phone-studio,.phone-design{height:var(--phone-height,100dvh);overflow:hidden;overscroll-behavior:none;background:#f5f5ef}
  .phone-studio .studio-page,.phone-design .bespoke{height:calc(var(--phone-height,100dvh) - var(--phone-header));min-height:0;max-width:none;margin:0;padding:0 10px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
  .phone-studio .studio-heading,.phone-design .bespoke-heading{flex:none;margin:0;padding:10px 4px;min-height:40px;display:block}
  .phone-studio .studio-heading h1,.phone-design .bespoke-heading h1{font-size:18px;line-height:1.25;letter-spacing:-.025em;margin:0;font-weight:650}
  .phone-studio .studio-heading .eyebrow,.phone-studio .studio-heading>a,.phone-design .bespoke-heading .eyebrow,.phone-design .bespoke-heading p,.phone-design .bespoke-heading>a{display:none}
  .phone-studio .studio-scenarios,.phone-studio .studio-versions,.phone-studio .studio-footer,.phone-studio>.legal-shortcuts,.phone-design>footer,.phone-design>.legal-shortcuts,.phone-design .design-legal{display:none}
  .phone-studio .studio-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(170px,29svh,280px) minmax(36px,auto) 48px minmax(0,1fr);gap:6px;align-items:stretch}
  .phone-studio .studio-page .studio-layout .studio-viewport{grid-row:1;grid-column:1;position:relative;height:100%;min-height:0;max-height:none;width:100%;border-radius:20px}
  .phone-studio .studio-page .studio-panel{display:contents!important;position:static;inset:auto;transform:none;border:0;margin:0;padding:0;height:auto;min-height:0;max-height:none;overflow:visible;box-shadow:none}
  .phone-studio .sheet-toggle,.phone-studio .editor-tabs{display:none!important}
  .phone-studio .studio-page .editor-info{display:none!important}
  .phone-studio .studio-page .editor-workspace{grid-column:1;grid-row:4;display:flex!important;flex-direction:column;min-height:0;max-height:none;margin:0;padding:0;border:1px solid #e2e2d9;border-radius:18px;background:#fff;overflow:hidden}
  .phone-studio .studio-page .studio-panel .editor-scroll{display:block!important;flex:1;min-height:0;overflow:auto!important;overscroll-behavior:contain;padding:14px;scroll-padding:14px}
  .phone-studio .studio-page .editor-details{display:block!important;overflow:auto;overscroll-behavior:contain;height:100%;min-height:0;max-height:none;padding:16px;background:#fff;border-radius:18px;box-sizing:border-box}
  .phone-studio[data-phone-mode=project] .studio-page .editor-info{display:block!important;grid-column:1;grid-row:4;min-height:0;overflow:hidden;border:1px solid #e2e2d9;border-radius:18px}
  .phone-studio[data-phone-mode=project] .studio-page .editor-workspace{display:none!important}
  .phone-studio .studio-page .studio-panel .editor-selection{display:none!important}
  .phone-studio[data-phone-mode=selected] .studio-page .studio-panel .editor-selection{display:block!important}
  .phone-studio[data-phone-mode=selected] .editor-content,.phone-studio[data-phone-mode=selected] .ref-button,.phone-studio[data-phone-mode=selected] .editor-disclaimer{display:none!important}
  .phone-studio .studio-page .studio-panel .editor-summary,.phone-studio .studio-page .studio-panel .width-form{display:block!important}
  .phone-studio .studio-page .studio-panel .summary-eyebrow,.phone-studio .studio-page .studio-panel .editor-summary>p,.phone-studio .studio-page .studio-panel .module-bill,.phone-studio .studio-page .studio-panel .editor-summary progress{display:block!important}
  .phone-studio .studio-page .studio-panel .row-capacity{display:flex!important}
  .phone-studio .editor-toast{display:none!important}
  .phone-studio.studio-kit-mode .studio-page .width-form{display:none!important}
  .phone-project-summary{grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 8px;min-width:0;color:#202420}
  .phone-project-summary strong{font-size:17px;white-space:nowrap}.phone-project-summary span{font-size:11px;line-height:1.3;max-width:65%;max-height:46px;overflow:auto;color:#62665d}
  .phone-editor-tabs{grid-column:1;grid-row:3;display:flex;gap:4px;margin:0;padding:4px;background:#eaece3;border-radius:14px;min-width:0}
  .phone-editor-tabs button{flex:1;min-width:0;min-height:40px;padding:7px 3px;border:0;border-radius:11px;background:transparent;color:#4a5045;font-size:13px;font-weight:600;cursor:pointer}
  .phone-editor-tabs button[aria-pressed=true]{background:#202420;color:#fff}.phone-editor-tabs button:disabled{opacity:.45;cursor:default}
  .phone-module-rows{display:none;flex:none;gap:7px;padding:10px 12px 0}.phone-studio[data-phone-mode=modules] .phone-module-rows{display:flex}
  .phone-module-rows button{flex:1;min-height:44px;padding:9px 5px;border:1px solid #dfe1d7;border-radius:11px;background:#fff;color:#444b3c;font-size:12px;font-weight:600}
  .phone-module-rows button[aria-pressed=true]{background:#fff3b5;border-color:#e6d57b;color:#202420}
  .phone-studio[data-phone-row=upper] .catalog-section[data-row=lower],.phone-studio[data-phone-row=lower] .catalog-section[data-row=upper]{display:none}
  .phone-studio .studio-page .catalog-section{margin:0 0 22px;padding:0 0 16px}
  .phone-studio .studio-page .catalog-section .editor-label h3{font-size:19px;line-height:1.2;margin:0}
  .phone-studio .catalog-controls{gap:4px}.phone-studio .catalog-controls button{display:none}
  .phone-studio .editor-label{flex-wrap:wrap;margin:0 0 9px}.phone-studio .studio-page .editor-label select{max-width:140px;min-height:44px;font-size:14px}
  .phone-studio .studio-page .catalog-section .row-space{font-size:12px;margin:0 0 12px}
  .phone-studio .module-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible;padding:0;scroll-snap-type:none}
  .phone-studio .studio-page .module-catalog article{min-width:0;width:auto;margin:0;padding:10px;gap:6px;border-radius:15px;display:flex;flex-direction:column;align-items:stretch}
  .phone-studio .studio-page .module-catalog article>img{height:110px;width:100%;object-fit:contain;margin:0}
  .phone-studio .studio-page .module-catalog article>strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}
  .phone-studio .studio-page .module-catalog article>span{font-size:11px;min-height:0}.phone-studio .studio-page .module-catalog article>small{font-size:11px;line-height:1.4}
  .phone-studio .studio-page .module-catalog article>b{font-size:18px;margin:3px 0}
  .phone-studio .studio-page .module-catalog .card-add{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:4px}
  .phone-studio .studio-page .module-catalog .card-add small{font-size:10px}
  .phone-studio .studio-page .module-catalog button{width:44px;height:44px;min-height:44px;flex:none;border-radius:13px}
  .phone-studio .studio-page .module-catalog .fit-reason{font-size:10px}.phone-studio .kitchen-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
  .phone-studio .studio-page .kitchen-list button{width:auto;flex:1 1 120px;font-size:12px;min-height:44px;margin:0}
  .phone-studio .studio-page .kit-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .phone-studio .studio-page .kit-composition-heading h2{font-size:23px}.phone-studio .studio-page .module-thumbnail{height:125px}
  .phone-studio .studio-page .kit-module-description{padding:10px}.phone-studio .studio-page .kit-module-description strong{font-size:14px;min-height:0}
  .phone-studio .studio-page .selected-module{margin:0;padding:16px;border-radius:14px}.phone-studio .studio-page .selected-title button{width:44px;height:44px}
  .phone-studio .studio-page .selected-title strong{font-size:22px}.phone-studio .studio-page .finish-options button{width:44px;height:44px}
  .phone-studio .studio-page .module-actions{display:grid;grid-template-columns:1fr 1fr}.phone-studio .studio-page input,.phone-studio .studio-page select{font-size:16px}
  .phone-studio .studio-page .editor-summary strong{font-size:23px}.phone-studio .studio-page .studio-project-links{flex-wrap:wrap;margin:16px 0}.phone-studio .studio-page .studio-project-links .ready-kitchens-cta{min-width:160px}
  .phone-studio .studio-badge{top:12px;left:12px;padding:7px 10px;font-size:9px;letter-spacing:.04em;max-width:55%}.phone-studio .studio-hint{display:none}
  .phone-studio .studio-views{bottom:10px;padding:4px;gap:2px;max-width:95%;box-sizing:border-box}.phone-studio .studio-views button{min-height:40px;font-size:12px;padding:10px 13px}
  .phone-scene-toggle{position:absolute;z-index:6;top:10px;right:10px;display:flex;align-items:center;gap:6px;min-height:40px;padding:10px!important;border:1px solid #ffffffb0!important;border-radius:12px!important;background:#fffffff0!important;color:#202420!important;font-size:12px!important;font-weight:600!important;line-height:1.2;cursor:pointer;box-shadow:0 3px 15px #1820150a}
  .phone-scene-toggle svg{width:17px;height:17px;flex:none}

  .phone-design .bespoke-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(170px,29svh,280px) 60px minmax(0,1fr);gap:8px;align-items:stretch}
  .phone-design .design-preview{display:contents;position:static}.phone-design .design-metrics{display:none}
  .phone-design .bespoke .scene-shell{grid-column:1;grid-row:1;min-height:0;border-radius:20px;height:100%}
  .phone-design #bespoke-scene{height:100%;min-height:0}
  .phone-design .scene-top{top:12px;left:12px;right:auto;max-width:55%}.phone-design .scene-top>span:first-child{font-size:9px;padding:7px 10px;letter-spacing:.02em}.phone-design #design-save{display:none}
  .phone-design .scene-bottom{bottom:10px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:95%;padding:0}.phone-design .scene-bottom small{display:none}
  .phone-design .bespoke .scene-bottom button{min-height:40px;padding:10px 13px;font-size:12px}
  .phone-design .scene-empty{top:50%;left:8%;right:8%;transform:translateY(-50%);text-align:center}.phone-design .scene-empty strong{font-size:18px}.phone-design .scene-empty p{display:none}.phone-design .scene-empty button{min-height:44px;padding:10px 16px;font-size:13px;margin-top:10px}
  .phone-design .bespoke .design-cost{grid-column:1;grid-row:2;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;padding:8px 12px;border-radius:14px;background:#202420;min-width:0}
  .phone-design .design-cost>div{min-width:0}.phone-design .design-cost span{font-size:10px;line-height:1.2;display:block}.phone-design .design-cost strong{font-size:17px;line-height:1.2;margin:3px 0 0;overflow-wrap:anywhere}.phone-design .design-cost p{display:none}
  .phone-design .bespoke .design-cost button{font-size:12px;min-height:44px;padding:9px 12px;flex:none;max-width:100px;border-radius:10px}
  .phone-design .bespoke-layout>.design-panel{grid-row:3;grid-column:1;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;position:relative;padding:0 14px 18px;border-radius:18px;border:1px solid #e2e2d9;scroll-padding-top:68px}
  .phone-design .design-tabs{position:sticky;top:0;z-index:8;gap:4px;margin:0 -14px 15px;padding:8px 10px;background:#fff;border-bottom:1px solid #e9e9e3;border-radius:0}
  .phone-design .bespoke .design-tabs button{font-size:13px;min-height:44px;padding:10px 6px;border-radius:11px;background:#f0f1eb}.phone-design .bespoke .design-tabs button[aria-pressed=true]{background:#202420;color:#fff}
  .phone-design .bespoke h2{font-size:23px;line-height:1.2;margin:3px 0 12px}.phone-design .bespoke .intro{font-size:13px;line-height:1.6;margin-bottom:16px}
  .phone-design .bespoke .input-grid{gap:12px}.phone-design .bespoke label{font-size:12px;line-height:1.4}.phone-design .bespoke input,.phone-design .bespoke select{font-size:16px;min-height:48px;padding:10px}
  .phone-design .bespoke form{gap:14px}.phone-design .bespoke .hint{font-size:12px}.phone-design .bespoke .cabinet-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .phone-design .bespoke .cabinet-types button{font-size:13px;padding:14px 9px;gap:8px;border-radius:15px}.phone-design .cabinet-types svg{width:64px;height:64px}
  .phone-design .design-item-list button{align-items:flex-start;flex-direction:column;gap:4px}.phone-design .bespoke .item-editor{background:#fff9da;border:1px solid #eee5b6;border-radius:15px;padding:14px;scroll-margin-top:70px}.phone-design .item-editor h3:first-child{margin-top:0}
  .phone-design .bespoke .finish-swatches button{width:44px;height:44px;min-height:44px}.phone-design .design-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.phone-design .design-tools button:last-child{grid-column:1/-1}
  .phone-design .design-estimate{display:none}
  .phone-design.phone-estimate-open .design-estimate{display:block;position:fixed;z-index:60;inset:var(--phone-header) 0 0;margin:0;padding:16px 18px max(24px,env(safe-area-inset-bottom));background:#fff;overflow:auto;overscroll-behavior:contain;border:0}
  .phone-estimate-close{position:sticky;top:0;z-index:2;width:100%;margin:0 0 20px;background:#202420!important;color:white!important;min-height:48px}
  .phone-planner-links{display:grid;gap:8px;margin-top:24px}.phone-planner-links a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px;border:1px solid #d8dbd0;background:#f4f5ed;color:#202420;border-radius:12px;font-size:13px;text-decoration:none}.phone-planner-links a:first-child{background:#202420;color:white;border-color:#202420}
  .phone-design .estimate-heading h2{font-size:26px}.phone-design .estimate-scroll{overflow:auto}.phone-design .estimate-scroll table{min-width:490px}.phone-design .estimate-notes{padding:18px;line-height:1.6}
  .phone-studio.phone-full-scene .studio-layout{grid-template-rows:minmax(0,1fr) minmax(36px,auto) 48px 0px}
  .phone-studio.phone-full-scene .studio-page .editor-info,.phone-studio.phone-full-scene .studio-page .editor-workspace{display:none!important}
  .phone-design.phone-full-scene .bespoke-layout{grid-template-rows:minmax(0,1fr) 60px 0px}.phone-design.phone-full-scene .design-panel{display:none}
  .phone-keyboard .studio-heading,.phone-keyboard .bespoke-heading{display:none}
  .phone-studio.phone-keyboard .studio-layout{grid-template-rows:110px minmax(30px,auto) 44px minmax(0,1fr)}
  .phone-design.phone-keyboard .bespoke-layout{grid-template-rows:110px 54px minmax(0,1fr)}
  .phone-keyboard .studio-badge,.phone-keyboard .scene-top,.phone-keyboard .studio-views,.phone-keyboard .scene-bottom{display:none}
}
@media screen and (max-width:800px) and (max-height:500px) and (orientation:landscape), screen and (max-width:1100px) and (max-height:500px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  .phone-ui{--phone-header:52px}.phone-studio .studio-heading,.phone-design .bespoke-heading{display:none}
  .phone-studio .studio-layout{grid-template-columns:minmax(180px,.9fr) minmax(0,1.1fr);grid-template-rows:40px 48px minmax(0,1fr)}
  .phone-studio .studio-page .studio-layout .studio-viewport{grid-column:1;grid-row:1/-1}
  .phone-studio .phone-project-summary{grid-column:2;grid-row:1}.phone-studio .phone-editor-tabs{grid-column:2;grid-row:2}
  .phone-studio .studio-page .editor-workspace,.phone-studio[data-phone-mode=project] .studio-page .editor-info{grid-column:2;grid-row:3}
  .phone-design .bespoke-layout{grid-template-columns:minmax(180px,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) 60px}
  .phone-design .bespoke .scene-shell{grid-column:1;grid-row:1}.phone-design .bespoke .design-cost{grid-column:1;grid-row:2}.phone-design .bespoke-layout>.design-panel{grid-column:2;grid-row:1/-1}
  .phone-studio.phone-full-scene .studio-layout,.phone-design.phone-full-scene .bespoke-layout{display:flex;flex-direction:column}
  .phone-studio.phone-full-scene .studio-page .studio-layout .studio-viewport,.phone-design.phone-full-scene .bespoke .scene-shell{flex:1;min-height:0}
  .phone-full-scene .phone-editor-tabs,.phone-full-scene .phone-project-summary,.phone-full-scene .design-cost{flex:none}
  .phone-studio .studio-views button,.phone-design .bespoke .scene-bottom button{padding:9px;font-size:11px}
}
@media screen and (max-width:800px) and (max-height:700px), screen and (max-width:1100px) and (max-height:500px) and (hover:none) and (pointer:coarse){
  .phone-studio .module-catalog{grid-template-columns:minmax(0,1fr)}
  .phone-studio .studio-page .module-catalog article{display:grid;grid-template-columns:70px minmax(0,1fr) 44px;gap:3px 8px;padding:9px;align-items:center}
  .phone-studio .studio-page .module-catalog article>img{grid-column:1;grid-row:1/5;height:85px}
  .phone-studio .studio-page .module-catalog article>strong{grid-column:2;grid-row:1;font-size:14px}
  .phone-studio .studio-page .module-catalog article>span{display:none}
  .phone-studio .studio-page .module-catalog article>small:not(.fit-reason){grid-column:2;grid-row:2;font-size:10px}
  .phone-studio .studio-page .module-catalog article>b{grid-column:2;grid-row:3;font-size:16px}
  .phone-studio .studio-page .module-catalog .card-add{display:contents}
  .phone-studio .studio-page .module-catalog .card-add button{grid-column:3;grid-row:1/5}
  .phone-studio .studio-page .module-catalog .card-add small{grid-column:2;grid-row:4;font-size:10px}
  .phone-studio .studio-page .module-catalog .fit-reason{grid-column:1/-1;grid-row:5;margin:0}
}
