/* Webizy — presentation switch and dedicated mobile workspace. */
.app-frame{width:100%;min-width:0;position:relative;margin-inline:auto;background:var(--paper)}
.app-frame[data-layout="mobile"]{max-width:420px;border:1px solid #d7dfcc;border-radius:24px;box-shadow:0 20px 60px #24301b15;overflow:clip;margin-bottom:24px}
.app{position:relative;min-height:calc(100dvh - 76px)}
.sidebar{position:absolute}
.preview-layout-controls{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px;max-width:1700px;margin:auto}
.presentation-label{display:flex;align-items:center;gap:11px;font-size:9px;letter-spacing:1.3px;color:#7e8d6d;font-weight:550}
.presentation-label i{width:4px;height:4px;border-radius:50%;background:#9db887}
.presentation-switch{display:flex;gap:3px;padding:4px;border:1px solid #dde5d2;background:#edf2e5;border-radius:9px}
.presentation-switch button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:6px;font-size:11px;min-height:34px;color:#82916f}
.presentation-switch .icon{width:15px;height:15px}
.presentation-switch button[aria-pressed="true"]{background:#fff;color:#3d5a2b;box-shadow:0 1px 5px #253c1810}
.brand-text{font-size:31px;letter-spacing:-1.8px}
.brand-text small{font-size:7px;letter-spacing:2px;margin-top:9px}
.mobile-header,.mobile-bottom-nav,.mobile-editor-tabs{display:none}
.site-menu-toggle{display:none;align-items:center;justify-content:center;width:32px;height:32px;color:inherit}
.site-menu-toggle .icon{width:16px;height:16px}
.preview-shell.mobile .site-menu-toggle{display:flex}
.site-mobile-menu{display:grid;background:#f7f5ec;padding:10px 6%;border-bottom:1px solid #dfdfd0;gap:3px}
.site-mobile-menu button{display:flex;justify-content:space-between;align-items:center;min-height:35px;font-size:11px;color:#626c55;padding:7px}
.site-mobile-menu .icon{width:12px;height:12px}
.mobile-menu-grid{display:flex;flex-direction:column;gap:6px}
.mobile-menu-grid>button{display:flex;gap:13px;align-items:center;text-align:left;padding:12px;border:1px solid #e3e9d9;border-radius:9px;background:#fff;min-height:64px}
.mobile-menu-grid>button>.icon:first-child{color:#7f9a61;width:22px;height:22px}
.mobile-menu-grid>button>.icon:last-child{margin-left:auto;width:14px;height:14px;color:#a0b18d}
.mobile-menu-grid strong{display:block;font-size:13px;font-weight:550;color:#4e633e}
.mobile-menu-grid small{display:block;font-size:11px;color:#93a282;margin-top:5px}
@media(max-width:1190px){.brand{padding-inline:7px}.brand-text{font-size:28px;letter-spacing:-1.6px}.brand-text small{font-size:6px;letter-spacing:1.5px}}
@media(max-width:680px){
  .app{display:block;min-height:calc(100dvh - 66px)}
  .sidebar,.topbar{display:none}
  .main{padding-bottom:92px;min-width:0}
  .mobile-header{height:79px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px 13px;background:#fafcf6;border-bottom:1px solid #e2e8d8}
  .mobile-wordmark{display:flex;align-items:center;gap:10px;color:#334c28}
  .mobile-wordmark .brand-logo{width:34px;height:34px;color:#6f9750}
  .mobile-wordmark>span{font-family:Manrope,sans-serif;font-size:29px;font-weight:800;letter-spacing:-1.6px;line-height:1}
  .mobile-wordmark small{display:block;letter-spacing:1.5px;font-size:6px;font-weight:550;margin:7px 0 0 2px;color:#8f9e7f}
  .mobile-header-actions{display:flex;gap:8px;align-items:center}
  .mobile-credit{min-width:68px;min-height:44px;padding:8px 6px;display:flex;align-items:center;justify-content:center;gap:5px;color:#6f8d51;font-size:12px}
  .mobile-credit .icon{width:16px;height:16px}
  .mobile-avatar{width:36px;height:36px;min-width:44px;min-height:44px;display:grid;place-items:center;border:5px solid #fafcf6;border-radius:50%;background:#ddc8ad;color:#715b3e;font-size:10px}
  .mobile-bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;max-width:420px;padding:9px 10px calc(11px + env(safe-area-inset-bottom));background:#1e2a1bf5;border-top:1px solid #3b4b2f;backdrop-filter:blur(18px);box-shadow:0 -7px 25px #23331a0a}
  .app-frame[data-layout="desktop"] .mobile-bottom-nav{max-width:none}
  .mobile-bottom-nav button{min-height:47px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:5px 0;border-radius:8px;color:#a4b598;font-size:9px}
  .mobile-bottom-nav .icon{width:19px;height:19px}
  .mobile-bottom-nav button.active{color:#ddf6be;background:#34472a}
  .mobile-bottom-nav button.active .icon{stroke-width:1.9}
  .page{padding:23px 17px 13px}
  .page-heading{margin-bottom:21px}
  .page-heading h1{font-size:26px;line-height:1.27;letter-spacing:-1px;max-width:340px}
  .eyebrow{font-size:8px;letter-spacing:1.35px;margin-bottom:10px}
  .heading-subtitle{font-size:11px;line-height:1.8;margin-top:9px}
  .heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;max-width:none;width:100%}
  .heading-actions .button{padding:11px 8px;min-height:44px;font-size:11px}
  .button{min-height:44px;font-size:12px;white-space:normal;line-height:1.45;padding:11px 14px}
  .button.small{font-size:11px;min-height:40px}
  .button .icon{width:16px;height:16px}
  .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .editor{border-radius:12px;overflow:hidden}
  .editor-toolbar{padding:9px;min-height:64px}
  .mode-tabs{border-radius:8px;padding:3px;gap:2px}
  .mode-tab{gap:6px;padding:10px 5px;min-height:44px;font-size:11px;border-radius:6px;flex:1}
  .mode-tab .icon{width:16px;height:16px}
  .mobile-editor-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e5eada;padding:0 13px;background:#f8fbf3;gap:12px}
  .mobile-editor-tabs button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#9aaa89;border-bottom:2px solid transparent;margin-bottom:-1px}
  .mobile-editor-tabs button[aria-pressed="true"]{color:#4c6d32;border-bottom-color:#86a960;font-weight:600}
  .mobile-editor-tabs .icon{width:15px;height:15px}
  .live-preview-dot{width:5px;height:5px;border-radius:50%;background:#8bb55f}
  .editor-grid{min-height:0;display:block}
  .mobile-show-create .canvas{display:none}
  .mobile-show-preview .tools-panel{display:none}
  .tools-panel{min-width:0;border-bottom:0}
  .panel-title{font-size:12px;padding:20px 18px 9px}
  .panel-title .caption{font-size:10px}
  .ai-mark{width:26px;height:26px}
  .chat-scroll{max-height:340px;min-height:240px;padding:0 18px;scrollbar-width:thin}
  .chat-date{font-size:10px;margin:10px 0 18px}
  .chat-message{font-size:12px;line-height:1.8;margin-bottom:18px}
  .chat-message .who{font-size:9px;margin-bottom:8px}
  .chat-message.user{margin-left:30px;padding:13px}
  .ai-delivery{padding:13px;border-radius:9px;margin-top:13px}
  .delivery-title{font-size:11px}
  .ai-delivery p{font-size:11px;line-height:1.7}
  .mini-checks{font-size:9px;gap:10px}
  .suggestions{padding:9px 15px;gap:6px}
  .suggestion{font-size:10px;min-height:37px;padding:8px 9px}
  .chat-compose{margin:4px 13px 0;border-radius:11px}
  .chat-compose textarea{font-size:16px;height:77px;padding:13px;line-height:1.5}
  .chat-compose textarea::placeholder{font-size:13px}
  .compose-bottom{padding:0 8px 8px}
  .compose-bottom .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .model-picker{font-size:11px;min-height:44px;gap:5px}
  .model-picker .icon{width:12px;height:12px}
  .send{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:9px}
  .send .icon{width:17px;height:17px}
  .simulation-note{font-size:9px;padding:11px 10px 14px;line-height:1.65}
  .field-stack{max-height:none;padding:0 18px 17px}
  .field-group{padding:17px 0}
  .field-group label,.label{font-size:12px;line-height:1.6}
  .section-label{font-size:10px;line-height:1.7}
  .field-group input,.field-group textarea,.input{font-size:16px;min-height:45px;padding:11px 12px;line-height:1.5}
  .field-group textarea{min-height:105px}
  .layer{font-size:12px;min-height:44px;padding:10px 8px;width:100%}
  .layer .icon{width:16px;height:16px}
  .swatches{gap:7px}
  .swatch{width:38px;height:38px;border-width:5px;margin:3px}
  .code-panel{font-size:11px;line-height:1.85;min-height:310px;padding:17px 14px}
  .code-note{font-size:11px;line-height:1.8;padding:17px 18px}
  .canvas{padding:0 12px 15px}
  .canvas-toolbar{min-height:58px;font-size:10px;gap:6px;flex-wrap:wrap;padding:4px 0}
  .page-selector{font-size:10px;min-height:36px;gap:5px;padding:0}
  .page-selector .icon{width:13px;height:13px}
  .page-selector>span{display:none}
  .device-switch{gap:0;padding:2px}
  .device-switch .icon-button{min-width:40px;width:40px;min-height:44px;height:44px}
  .device-switch .icon{width:14px;height:14px}
  .zoom{display:none}
  .preview-shell{width:100%;max-width:390px}
  .browser-bar{height:31px;font-size:8px;gap:8px}
  .browser-address{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .site-nav{height:61px;padding:0 19px}
  .site-brand{font-size:12px;letter-spacing:1px;gap:8px}
  .site-brand .brand-sun{width:23px;height:23px}
  .site-nav-links{display:none}
  .site-menu-toggle{display:flex;min-width:44px;min-height:44px}
  .site-menu-toggle .icon{width:19px;height:19px}
  .site-preview .site-hero,.preview-shell.mobile .site-hero{display:flex;flex-direction:column;min-height:0}
  .site-copy,.preview-shell.mobile .site-copy{padding:35px 26px 30px}
  .site-kicker{font-size:7px;letter-spacing:1.3px;margin-bottom:21px;line-height:1.8}
  .site-copy h2,.preview-shell.mobile .site-copy h2{font-size:39px;line-height:1.12;letter-spacing:-1.7px;margin-bottom:20px}
  .site-copy>p:not(.site-kicker){font-size:11px;line-height:1.9;max-width:270px;margin-bottom:23px}
  .site-link{font-size:9px;min-height:35px;gap:32px;padding:0 0 10px;line-height:1.6}
  .site-link .icon{width:14px;height:14px}
  .site-image,.preview-shell.mobile .site-image{min-height:285px}
  .image-caption{left:21px;bottom:22px;font-size:7px;line-height:1.7}
  .image-caption b{font-size:23px;margin-bottom:6px}
  .image-index{right:19px;bottom:25px;font-size:8px}
  .site-bottom{padding:26px;min-height:112px}
  .site-bottom h3{font-size:23px;line-height:1.2}
  .site-stamp{width:41px;height:41px}
  .site-stamp .icon{width:21px;height:21px}
  .canvas-bottom{font-size:9px;line-height:1.6;margin-top:13px}
  .canvas-bottom .icon{width:12px;height:12px}
  .editor-footer{min-height:44px;height:auto;font-size:9px;padding:10px 12px;gap:10px}
  .footer-left{gap:9px;flex-wrap:wrap}
  .footer-left .icon{width:12px;height:12px}
  .seo-score{font-size:9px;min-height:30px;white-space:nowrap}
  .seo-score .icon{width:12px;height:12px}
  .under-editor{font-size:10px;line-height:1.8;padding:15px 3px;gap:10px}
  .under-editor>span{max-width:210px}
  .under-editor button{font-size:10px;min-height:44px;padding:0}
  .under-editor .icon{width:13px;height:13px}
  .card-grid,.integration-grid,.two-col,.split-panels,.credit-layout{grid-template-columns:minmax(0,1fr)}
  .card,.integration{padding:21px}
  .card h3,.integration h3{font-size:16px;line-height:1.4}
  .card p,.integration p,.hint,.admin-note{font-size:11px;line-height:1.8}
  .features{font-size:12px;line-height:2.2}
  .external{font-size:11px;min-height:44px;line-height:1.5}
  .card-bottom{flex-wrap:wrap;gap:10px}
  .card-tag{font-size:9px;top:20px;right:17px}
  .card .price{font-size:30px}.card .price small{font-size:11px}
  .section-header{align-items:flex-start;flex-wrap:wrap;gap:13px}
  .section-header h2{font-size:19px;line-height:1.4}
  .section-header p{font-size:11px;line-height:1.8}
  .section-header .text-link,.text-link{font-size:11px;min-height:40px;line-height:1.7}
  .lead-banner,.domain-main,.domain-guide{padding:23px}
  .lead-banner h2{font-size:28px;line-height:1.2}
  .lead-banner p,.domain-main p{font-size:12px;line-height:1.9}
  .lead-banner .eyebrow{font-size:9px}
  .info-strip{font-size:11px;gap:13px;line-height:1.7;padding:16px}
  .domain-box{min-width:0;grid-template-columns:minmax(0,1fr)}
  .domain-main h3{font-size:17px;line-height:1.4}
  .domain-input{flex-wrap:wrap;gap:3px;padding:8px}
  .domain-input input{width:0;min-width:100px;font-size:16px;min-height:42px;padding:8px;flex:1}
  .domain-input>.button{width:100%;min-height:44px;margin-top:4px;font-size:12px}
  .domain-results{font-size:11px;line-height:1.8;align-items:flex-start}
  .step{gap:12px;margin-bottom:22px}
  .step-number{width:27px;height:27px;font-size:11px}
  .step strong{font-size:12px;line-height:1.6}
  .step p,.step a{font-size:11px;line-height:1.8}
  .step a{min-height:35px}
  .bottom-callout{padding:22px;gap:15px}
  .bottom-callout h3{font-size:15px;line-height:1.5}
  .bottom-callout p{font-size:11px;line-height:1.8}
  .bottom-callout>.button{width:100%}
  .metric{padding:17px 15px;min-width:0}
  .metric .top{font-size:11px;line-height:1.6;gap:5px;align-items:flex-start}
  .metric .number{font-size:29px;line-height:1.2;margin:13px 0 9px;overflow-wrap:anywhere}
  .metric .trend{font-size:10px;line-height:1.7}
  .tabs-row{gap:17px;margin:22px 0 18px;scrollbar-width:none}
  .tabs-row button{font-size:12px;padding-bottom:13px;min-height:40px}
  .credit-balance{padding:25px}
  .credit-balance h2{font-size:44px}.credit-balance p{font-size:12px;line-height:1.9}
  .credit-pack{padding:17px;gap:10px;flex-wrap:wrap}
  .credit-pack strong{font-size:14px}.credit-pack small{font-size:11px;line-height:1.5}
  .site-card{padding:0}
  .mini-preview{height:180px}.mini-preview img{height:180px}
  .mini-preview .mini-type{font-size:29px;padding:26px 18px}
  .mini-preview .mini-logo{font-size:7px;line-height:1.7}
  .site-card-body{padding:21px}
  .site-card-header{flex-wrap:wrap}.site-card-header h3{font-size:16px}
  .status-pill{font-size:10px;line-height:1.5;white-space:normal}
  .site-card-meta{font-size:11px;flex-wrap:wrap;line-height:1.6}
  .table-wrap{overflow:visible;background:transparent;border:0}
  .table-wrap table,.table-wrap tbody{display:block;width:100%;min-width:0;white-space:normal}
  .table-wrap thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .table-wrap tbody{display:grid;gap:12px}
  .table-wrap tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;border:1px solid #dfe7d3;border-radius:10px;padding:6px 17px;background:#fff;min-width:0}
  .table-wrap td{display:block;border:0;padding:12px 0;font-size:12px;min-width:0;overflow-wrap:anywhere;line-height:1.6;color:#7b8e67}
  .table-wrap td:first-child{grid-column:1/-1;border-bottom:1px solid #e7ecdf;font-size:14px}
  .table-wrap td::before{content:attr(data-label);display:block;font-size:9px;letter-spacing:.7px;line-height:1.5;color:#99a88c;margin-bottom:7px}
  .table-wrap td strong{font-size:inherit}.table-wrap td .sub{font-size:10px;line-height:1.6}
  .table-wrap td .text-link{font-size:12px;min-height:36px;padding:0}
  .health-row{gap:12px;align-items:flex-start;font-size:12px;padding:15px 0;line-height:1.6;flex-wrap:wrap}
  .health-row small{font-size:10px;line-height:1.6}
  .health-row .icon{width:17px;height:17px}
  .integration-head{margin-bottom:20px}.integration p{min-height:0}
  .integration .toggle{width:44px;height:26px;padding:4px}
  .toggle i{height:18px;width:18px}.toggle.on i{transform:translateX(18px)}
  .white-label-banner{grid-template-columns:minmax(0,1fr);padding:26px 23px}
  .white-label-banner h2{font-size:32px;line-height:1.2}.white-label-banner p{font-size:12px;line-height:1.85}
  .white-label-banner .eyebrow{font-size:8px;line-height:1.8}
  .agency-brand-preview{max-width:100%;width:230px;padding:20px;margin-top:16px}
  .agency-brand-preview .agency-name{font-size:22px}.agency-brand-preview small{font-size:8px}
  .agency-mini-button{font-size:10px;padding:8px 11px}
  .settings-row{align-items:flex-start;flex-wrap:wrap;gap:12px}
  .settings-row strong{font-size:14px}.settings-row p{font-size:12px;line-height:1.8}
  .settings-row input[type=number]{max-width:95px}
  .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media-tile{height:165px}.media-tile p{font-size:10px;line-height:1.7}
  .modal-overlay{padding:10px;align-items:flex-end}
  .modal{width:100%;max-height:calc(100dvh - 24px);border-radius:17px 17px 10px 10px;overscroll-behavior:contain}
  .modal.wide{width:100%}
  .modal-header{padding:22px 20px 17px;gap:10px}
  .modal-header h2{font-size:22px;line-height:1.25;letter-spacing:-.7px}
  .modal-header p{font-size:11px;line-height:1.7}
  .modal-header .icon-button{margin:-7px -9px 0 0}
  .modal-body{padding:20px}
  .modal-footer{display:flex;flex-direction:column;align-items:stretch;padding:18px 20px;gap:13px}
  .modal-footer .hint{max-width:none;font-size:10px;line-height:1.7}.modal-footer .button{width:100%}
  .quote-top{padding:18px;gap:12px}.quote-top strong{font-size:31px}.quote-top p{font-size:11px;line-height:1.8}
  .quote-controls{font-size:12px;flex-wrap:wrap;gap:10px;line-height:1.6}.quote-controls input{font-size:16px;min-height:44px;width:70px}
  .quote-row{font-size:12px;line-height:1.7;align-items:flex-start;gap:12px;padding:14px 0}
  .quote-row small{font-size:10px;line-height:1.8}.quote-row b{font-size:12px}
  .quote-total{font-size:13px;line-height:1.7;gap:15px}.quote-disclaimer{font-size:10px;line-height:1.9}
  .module-list{grid-template-columns:minmax(0,1fr);gap:11px}
  .module-option{padding:18px}.module-option h3{font-size:14px}.module-option p{font-size:12px;line-height:1.8}
  .module-option .module-top{margin-bottom:13px}.module-option .icon{width:23px;height:23px}.module-check{width:20px;height:20px;font-size:12px}
  .model-option{padding:16px;gap:12px}.model-option strong{font-size:14px;line-height:1.4}.model-option p{font-size:12px;line-height:1.8}
  .ownership-list li{font-size:12px;line-height:1.8;padding:13px 0;align-items:flex-start}
  .ownership-list .icon{width:18px;height:18px;margin-top:3px}
  .modal-center h3{font-size:31px;line-height:1.2}.modal-center p{font-size:12px;line-height:1.9}
  .adminizy h4{font-size:14px;line-height:1.4}.adminizy p{font-size:11px;line-height:1.8}
  .adminizy .button{margin-left:0;min-height:44px;width:100%;font-size:12px}
  #toast{bottom:calc(90px + env(safe-area-inset-bottom));left:50%;font-size:12px;line-height:1.7;max-width:calc(100vw - 32px);width:calc(100% - 32px)}
}
@media(max-width:380px){.mobile-header{padding-inline:16px}.mobile-wordmark>span{font-size:27px}.page{padding-inline:13px}.mode-tab{font-size:10px;gap:4px}.mode-tab .icon{width:14px}.heading-actions .button{font-size:10px}.site-copy h2,.preview-shell.mobile .site-copy h2{font-size:35px}.metrics{gap:8px}.metric{padding:15px 12px}.metric .number{font-size:25px}.mobile-bottom-nav{padding-inline:7px}}
@media(max-width:680px){.preview-layout-controls{padding:10px 15px;gap:10px;min-height:61px}.presentation-label{font-size:8px;letter-spacing:1px;line-height:1.8}.presentation-label i{display:none}.presentation-switch button{font-size:11px;padding:8px 10px;min-height:36px}.presentation-switch .icon{width:14px}.app-frame[data-layout="mobile"]{border-radius:18px;max-width:min(420px,100%);margin-bottom:0}}
