@import './cabinet/storefront-management.0.3.328.css';
@import './cabinet/organization.0.3.316.css';
@import './shared/ai-actions.0.3.249.css';
@import './shared/support-tickets.0.3.297.css';
@import './cabinet/storefront-appearance.0.3.215.css';
@import './cabinet/devices.0.3.226.css';
@import './shared/reviews.0.3.181.css';
@import './cabinet/team.0.3.141.css';
@import './cabinet/imports.0.3.70.css';
@import './shared/toggles.0.3.221.css';
@import url('./shared/accounting.0.3.274.css');
@import url('./shared/invoice-imports.0.3.250.css');
@import './cabinet/billing.0.3.196.css';
@import './shared/legal-links.0.3.39.css';
@import './shared/social-providers.0.3.35.css';
@import './shared/disclosure.0.3.189.css';
@import './cabinet/loyalty.0.3.105.css';
@import './cabinet/calendar.0.3.338.css';
@import './cabinet/analytics.0.3.108.css';
@import './cabinet/clients.0.3.338.css';
@import './shared/cabinet-auth.0.3.190.css';
@import './shared/registration.0.3.185.css';
:root{
 --brand:#d94478;--pink:#b52d60;--action:#b52d60;--action-hover:#98234f;--accent-text:#a92a57;
 --surface:#fff;--canvas:#f8f9fc;--rose:#fff0f5;--rose-subtle:#fff8fb;--on-action:#fff;
 --text:#283143;--muted:#596578;--border:#e3e6ec;--control-border:#8791a1;--border-rose:#e4bfce;
 --green:#24694e;--success-text:#24694e;--success-surface:#eaf6ef;
 --warning-text:#815311;--warning-surface:#fff4df;--error-text:#a12b43;--error-surface:#fff0f2;
 --violet-text:#654098;--violet-surface:#f2edfa;--info-text:#355d82;--info-surface:#edf4fc;
 --focus:#a12657;--radius:10px;--control-height:48px;
}
html{color:var(--text);background:var(--canvas);scroll-padding-top:96px}
body{font-size:14px;line-height:1.5;caret-color:var(--text)}
::selection{background:#f6c8da;color:var(--text)}
*{scrollbar-color:#b47892 var(--canvas);scrollbar-width:thin}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.btn.primary{background:var(--action);border-color:var(--action);color:var(--on-action)}@media (hover: hover) and (pointer: fine){
.btn.primary:hover{background:var(--action-hover);border-color:var(--action-hover)}}
.btn,.btn.small{min-height:44px;font-size:14px;line-height:1.5;white-space:normal}
.icon-btn{min-width:44px;min-height:44px;width:44px;height:44px}
.btn:disabled,.icon-btn:disabled{cursor:not-allowed}
.sidebar{overflow-y:auto}.sidebar-close{display:none}.nav a{font-size:14px;min-height:48px}
.shop-switch small,.user-block small,.nav-label,.plan-mini p,.plan-mini a{color:var(--muted);font-size:12px}
.nav a.active,.nav .count,.tab.active,.text-btn,.welcome-link{color:var(--accent-text)}
.skip-link{position:fixed;left:16px;top:12px;z-index:200;padding:12px 18px;background:var(--surface);border:2px solid var(--focus);border-radius:var(--radius);transform:translateY(-180%)}
.skip-link:focus{transform:none}
.loading-state{padding:48px 20px;color:var(--muted);font-size:16px}
.page-heading h1{font-size:30px;line-height:1.3;letter-spacing:-.025em}
.page-heading p,.welcome p,.product-body p,.switch-copy p,.detail-grid dt,.field small{font-size:14px;line-height:1.65}
.stat-top,.stat-sub,.date-label,.table-foot,.breadcrumb{font-size:13px;color:var(--muted);line-height:1.6}
.stat-top{gap:10px}.stat-sub{margin-top:8px}.stat{min-width:0}
.panel-head p,.cell-sub,.kvio-table .cell-sub{font-size:13px;color:var(--muted);line-height:1.6}
.panel-head h2{font-size:17px;line-height:1.5}.panel-head{gap:16px;flex-wrap:wrap}
.field label{font-size:14px;line-height:1.5}.field{min-width:0}
.input,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea,.choice-trigger,.choice-search input[type=search]{font-size:16px;line-height:1.5;min-height:var(--control-height);border-color:var(--control-border)}
.phone-hint{font-size:16px;line-height:1.5;color:var(--muted)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.choice-trigger>span{white-space:normal;overflow-wrap:anywhere}.choice-trigger>.icon{color:var(--muted)}
.choice-trigger.is-open{border-color:var(--focus);box-shadow:none}
.choice-search{padding:8px}.choice-search>.icon{top:50%;left:20px;transform:translateY(-50%);color:var(--muted)}
.choice-popup.select-popup .choice-search input[type=search]{min-height:44px;padding:9px 10px 9px 34px;background:var(--canvas);border-color:var(--border);box-shadow:none}
.choice-popup.select-popup .choice-search input[type=search]:focus{border-color:var(--control-border)}
.choice-options[aria-activedescendant]:focus-visible{outline:none}
.choice-options:focus-visible .choice-option.focused{outline:2px solid var(--focus);outline-offset:-2px}
.choice-option{font-size:16px;line-height:1.5;min-height:48px}.choice-hint{font-size:12px;color:var(--muted)}
.choice-option.selected{color:var(--accent-text);background:var(--rose)}
.choice-popup{max-height:calc(var(--usable-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain}
.date-popup{padding:14px}.date-days{display:block}.date-week,.date-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
.date-week>div{min-width:0}.date-day{min-height:44px;width:100%;height:44px;aspect-ratio:auto;font-size:16px;color:var(--text)}
.date-day.outside{color:var(--muted)}.date-day:disabled{opacity:.45;color:var(--muted)}
.date-day.chosen,.date-months .chosen{background:var(--action)!important;color:var(--on-action)!important;box-shadow:none}
.date-day:focus-visible{outline-offset:-3px;outline:2px solid var(--focus)}
.date-day.chosen:focus-visible{outline-color:var(--on-action);outline-offset:-4px}
.date-popup-header .icon-btn{min-width:44px;width:44px;min-height:44px;height:44px;color:var(--accent-text)}
.date-month-label,.date-year-label,.date-today{font-size:14px;min-height:44px;color:var(--accent-text)}
.date-months button{font-size:15px;min-height:48px}.date-weekdays span{font-size:12px;color:var(--muted)}
.date-popup-footer{font-size:12px;color:var(--muted);flex-wrap:wrap}
.date-popup-header{gap:0}.date-popup-header>div{gap:0}
.time-options button{min-height:48px}.time-popup-heading strong{color:var(--accent-text)}
.time-options button.selected{color:var(--accent-text);background:var(--rose)}
.error-text,.field-error{color:var(--error-text);font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.error-text:empty{display:none}.error-text:not(:empty){padding:12px 16px!important;margin:16px;background:var(--error-surface);border-radius:8px}
.field-error{display:block;margin-top:8px}.field input[aria-invalid=true],.choice-trigger[aria-invalid=true]{border-color:var(--error-text)}
.notice{font-size:14px;line-height:1.65;color:var(--info-text);background:var(--info-surface)}
.notice.rose{color:var(--accent-text);background:var(--rose)}
.badge{font-size:12px;line-height:1.5;white-space:normal;text-align:center}
.badge.new{color:var(--accent-text);background:var(--rose)}
.badge.preparing,.badge.unpaid{color:var(--warning-text);background:var(--warning-surface)}
.badge.ready,.badge.delivered,.badge.paid,.badge.confirmed,.badge.active,.badge.enabled{color:var(--success-text);background:var(--success-surface)}
.badge.delivering{color:var(--violet-text);background:var(--violet-surface)}
.badge.cancelled,.badge.pending,.badge.disabled,.badge.invited{color:var(--muted);background:var(--canvas)}
.kvio-table{font-size:14px}.kvio-table th{font-size:13px;color:var(--muted)}.kvio-table .cell-main{font-size:14px}
.row-open{padding:8px 0;min-height:44px;font-size:inherit;text-align:left;font-weight:600;line-height:1.5;overflow-wrap:anywhere;text-decoration:none}@media (hover: hover) and (pointer: fine){
.row-open:hover{color:var(--action-hover)}}.row-open.order-num{color:var(--accent-text)}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;flex-wrap:wrap;border-top:1px solid var(--border)}
.pagination>span{font-size:14px;color:var(--muted)}.previous-icon{transform:rotate(180deg)}
#order-results,#client-results{scroll-margin-top:100px}#order-results[aria-busy=true],#client-results[aria-busy=true]{opacity:.6;pointer-events:none}
.calendar-day,.big-calendar{min-width:0}.calendar-event{font-size:12px;min-height:44px;overflow-wrap:anywhere;white-space:normal;color:var(--accent-text);border-left-width:1px}
.calendar-event.order-event{color:var(--success-text)}.day-heading{font-size:12px;overflow-wrap:anywhere}
.calendar-desktop,.calendar-mobile{min-width:0}.cal-grid .weekday,.cal-grid .other{color:var(--muted)}
.footer,.bar-group small{color:var(--muted);font-size:12px}.event-date,.event-date small{color:var(--accent-text)}
.detail-grid dd{overflow-wrap:anywhere}.auth-foot,.auth-form>p{font-size:14px}
@media(max-width:1023px){
 body{font-size:16px}.content{font-size:16px}.sidebar-close{display:grid;position:absolute;right:12px;top:14px}.sidebar>.logo{margin-right:48px}
 .sidebar{z-index:100;box-shadow:8px 0 28px #28314324}.sidebar-shade{z-index:90}
 .sidebar .side-bottom{margin-top:24px}.sidebar .nav a{font-size:16px}
 .btn,.btn.small,.icon-btn{min-height:48px}.icon-btn{width:48px;min-width:48px;height:48px}
 .topbar{padding-top:max(8px,env(safe-area-inset-top))}
 .page-heading h1{font-size:28px}.page-heading p,.welcome p,.product-body p,.switch-copy p,.detail-grid dd,.notice,.agenda-item strong{font-size:16px}
 .kvio-table:is(.table-wide,.table-compact) td,.kvio-table:is(.table-wide,.table-compact) .cell-main{font-size:16px}
 .kvio-table:is(.table-wide,.table-compact) .cell-sub,.kvio-table .table-cell-label{font-size:14px}
 .stat-top,.stat-sub{font-size:14px}.date-popup{padding:12px}
 .pagination .btn{flex:1 1 110px}.pagination>span{flex-basis:100%;text-align:center;order:3}
}
@media(max-width:359px){.date-popup{padding:3px}.date-popup-header,.date-popup-footer{padding:8px}.date-popup-footer>span{display:none}.date-day{border-radius:6px}}
@media(pointer:coarse){.btn,.icon-btn,.text-btn,.row-open{min-height:48px}.icon-btn{min-width:48px}}
@media(forced-colors:active){.badge,.choice-trigger,.choice-popup,.date-day.chosen{border:1px solid CanvasText}.phone-hint{color:GrayText}.phone-hint .hint-entered{color:CanvasText}.date-day:focus-visible{outline-color:Highlight}.bar{background:Highlight}}

.error-text.success-text{color:var(--success-text);background:var(--success-surface)}

/* Motion follows the input method: pointer feedback is brief; keyboard is instant. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-drawer:cubic-bezier(.32,.72,0,1)}
button,.btn,.nav a,.settings-nav a{touch-action:manipulation;transition:transform 120ms var(--ease-out)}
html[data-input=pointer] :is(button,.btn,.nav a,.settings-nav a):not(:disabled):active{transform:scale(.97)}
input,textarea,select,.choice-trigger{transition:none}
.choice-trigger>.icon:last-child{transition:transform 140ms var(--ease-out)}
.switch span{transition:none}.switch span:after{transition:transform 160ms var(--ease-out)}
.switch{width:48px;height:48px}.switch input{inset:0;margin:0;width:48px;height:48px}
.switch>span{position:absolute;left:4px;top:12px;bottom:auto;width:40px;height:24px}
.switch span:after{width:18px;height:18px;left:3px;top:3px}
.switch input:checked+span:after{transform:translateX(16px)}
.switch input:focus-visible+span{outline:3px solid var(--focus);outline-offset:3px}
.btn,[data-pending=true]{position:relative}.button-content{display:inline-flex;align-items:center;justify-content:center;gap:inherit;min-width:0}
[data-pending=true]>.button-content{opacity:0}
.button-spinner{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);pointer-events:none}
.button-spinner:after{content:'';display:block;box-sizing:border-box;width:100%;height:100%;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:pending-spin .7s linear infinite}
@keyframes pending-spin{to{transform:rotate(360deg)}}
.overlay-backdrop,.sidebar-shade{opacity:1;transition:opacity 160ms var(--ease-out)}
.overlay-backdrop{z-index:110}
:is(.overlay-backdrop,.sidebar-shade)[data-surface=closed]{opacity:0;pointer-events:none;transition-duration:100ms}
.modal{transform-origin:center}
#toast{display:flex;align-items:center;gap:16px;width:max-content;max-width:min(520px,calc(100vw - 32px));padding:12px 12px 12px 20px;font-size:14px;line-height:1.6;background:var(--success-text);color:var(--on-action);opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity 120ms var(--ease-out),transform 120ms var(--ease-out);bottom:max(16px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
#toast.visible{display:flex;opacity:1;pointer-events:auto;transform:translate(-50%,0);transition-duration:180ms}
#toast.error{background:var(--error-text)}
.toast-message{min-width:0}.toast-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:8px;color:inherit;visibility:hidden}
#toast.visible .toast-close{visibility:visible}
.toast-close:focus-visible{outline-color:var(--on-action);outline-offset:-3px}
@media(hover:hover) and (pointer:fine){.toast-close:hover{background:#ffffff20}}
@media(max-width:1023px){
 .sidebar{transition:transform 140ms var(--ease-drawer)}.sidebar.open{transition-duration:220ms}
 #toast{font-size:16px;gap:12px;padding:12px 8px 12px 16px}
 .toast-close{flex-basis:48px;width:48px;height:48px;min-height:48px}
}
html[data-input=keyboard] *,html[data-input=keyboard] *:before,html[data-input=keyboard] *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
 html[data-input=pointer] :is(button,.btn,.nav a,.settings-nav a):not(:disabled):active{transform:none}
 #toast,#toast.visible{transform:translateX(-50%)}
}

/* Startup recovery remains readable before the application can render. */
.startup-error{width:min(100% - 40px,440px);margin:clamp(32px,18vh,160px) auto;padding:28px 24px;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow-wrap:anywhere}
.startup-error h1{margin:0 0 12px;font-size:24px;line-height:1.3;letter-spacing:-.02em}
.startup-error p{margin:0 0 24px;color:var(--muted);font-size:16px;line-height:1.6}
.startup-error .btn{width:100%;min-height:48px;font-size:16px}

.support-banner{background:#fff0f5;color:#862044;padding:14px 24px;display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid #ecc2d2;position:sticky;top:var(--kvio-topbar-height,77px);z-index:29}.support-banner strong,.support-banner span{display:block;overflow-wrap:anywhere}.support-banner span{margin-top:5px;font-size:14px}.support-banner .btn{white-space:normal;min-height:44px}@media(max-width:700px){.support-banner{position:sticky;flex-direction:column;align-items:stretch;padding:16px}.support-banner .btn{width:100%}}

@media(max-width:700px){.support-banner{gap:8px;padding:10px 14px;font-size:13px}.support-banner span{margin-top:2px;font-size:12px}.support-banner .btn{font-size:13px;min-height:40px;padding:7px 10px}}
/* One editable store address and its saved, branded QR. */
.shop-address-input{display:flex;align-items:center;min-width:0;border:1px solid var(--control-border);border-radius:var(--radius);background:var(--surface);overflow:hidden}
.shop-address-input:focus-within{outline:3px solid var(--focus);outline-offset:3px}
.shop-address-input:has([aria-invalid="true"]){border-color:var(--error-text)}
.field .shop-address-input>input{flex:1;min-width:0;width:100%;border:0;border-radius:0;box-shadow:none;font-size:16px}
.field .shop-address-input>input:is(:focus,:focus-visible){outline:none;border:0;box-shadow:none}
.shop-address-input>span{flex:none;padding:0 14px 0 4px;font-size:16px;color:var(--muted)}
.setting-help{font-size:14px;line-height:1.6;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}
.address-status{min-height:24px;font-size:14px;margin:8px 0 0;color:var(--muted)}
.address-status[data-state="available"]{color:var(--success-text)}
.address-status[data-state="error"]{color:var(--error-text)}
.shop-qr{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:center;gap:24px}
.shop-qr-preview{min-height:224px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;font-size:14px;overflow-wrap:anywhere}
.shop-qr-preview img{display:block;width:224px;max-width:100%;height:auto;aspect-ratio:1}
.shop-qr [hidden]{display:none}
.shop-qr-copy>p:first-child{margin:0 0 8px;line-height:1.6}
.shop-qr-url{display:inline-flex;align-items:center;gap:8px;color:var(--accent-text);overflow-wrap:anywhere;max-width:100%;text-underline-offset:3px}
.shop-qr-url svg{flex:none;width:16px;height:16px}
.shop-qr-downloads{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.qivo-more{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}
.qivo-more p{margin:0 0 8px;color:var(--muted);line-height:1.6}
.qivo-more .text-btn{font-size:14px;display:inline-flex;align-items:center;gap:8px;min-height:44px;line-height:1.5}
.qivo-more .text-btn svg{flex:none}
@media(max-width:1100px){.shop-qr{grid-template-columns:minmax(0,1fr)}.shop-qr-preview{justify-self:center;width:224px;max-width:100%}}
@media(max-width:480px){.shop-qr-downloads{flex-direction:column}.shop-qr-downloads .btn{width:100%}.shop-address-input>span{padding-right:10px}}

/* SMS balance stays in the workspace; connection and senders live in its dialog. */
.sms-ui [hidden]{display:none!important}
.sms-ui :is(p,label,input,textarea,.btn,.text-btn){font-size:14px;line-height:1.6}
.sms-ui :is(input,textarea){font-size:16px}
.sms-ui :is(.btn,.text-btn,.icon-btn){min-height:44px;white-space:normal}
.sms-ui h3{font-size:15px;line-height:1.5;margin:0;font-weight:650}
.sms-ui .field{margin-bottom:16px}
.sms-ui .error-text:empty{display:none}
.sms-ui .text-btn{display:inline-flex;align-items:center;gap:8px}
.sms-ui :is(.btn,.text-btn) svg{flex:none}
.sms-panel-heading{gap:16px;align-items:flex-start}
.sms-panel-heading h2{font-size:17px;line-height:1.5}
.sms-panel-heading .badge{flex:none;margin-top:2px}
.sms-balance-section{padding:4px 26px 24px}
.sms-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.sms-section-heading>div{min-width:0}
.sms-section-heading>.btn{flex:none}
.sms-balance-section .sms-section-heading h3{color:var(--muted);font-size:14px;font-weight:500}
.sms-settings .sms-balance-value{font-size:32px;line-height:1.25;letter-spacing:-.025em;font-weight:650;font-variant-numeric:tabular-nums;margin:8px 0;overflow-wrap:anywhere}
.sms-balance-estimate{font-size:14px;line-height:1.6}
.sms-balance-estimate strong{font-weight:600}
.sms-balance-section .setting-help{max-width:60ch;margin-top:8px}
.sms-balance-skeleton{width:180px;max-width:80%;height:40px;background:var(--canvas);border-radius:6px;margin:8px 0}
.sms-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:16px 26px}
.modal.sms-dialog{display:flex;flex-direction:column;width:660px;max-width:100%;max-height:calc(var(--usable-height,100dvh) - 40px);overflow:hidden}
.sms-dialog .modal-header{flex:none;padding:20px 24px;gap:16px}
.sms-dialog .modal-header h2{font-size:20px;line-height:1.4;letter-spacing:-.015em}
.sms-dialog .modal-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#sms-dialog-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;scroll-padding:24px}
.sms-dialog .modal-footer{flex:none;padding:16px 24px;background:var(--surface);margin-top:0}
.sms-dialog .modal-footer .btn{min-height:44px}
.sms-dialog-section{padding:24px}
.sms-dialog-section+.sms-dialog-section{border-top:1px solid var(--border)}
.sms-dialog-section .setting-help{margin:4px 0 0}
.sms-dialog-section .sms-provider-link{margin-top:8px}
#sms-key-editor:not([hidden]){margin-top:20px}
.sms-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px}
.sms-add-form{margin-top:20px;padding:20px;background:var(--canvas);border:1px solid var(--border);border-radius:12px}
.sms-names-list{list-style:none;margin:16px 0 0;padding:0}
.sms-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0;border-bottom:1px solid var(--border)}
.sms-name-row:last-child{border-bottom:0;padding-bottom:8px}
.sms-name-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.sms-name-copy>strong{display:block;margin-bottom:3px;font-size:15px;line-height:1.5;font-weight:650}
.sms-name-status{font-size:13px;color:var(--muted);line-height:1.5}
.sms-name-status.is-approved{color:var(--success-text)}
.sms-name-actions{display:flex;align-items:center;gap:8px}
.sms-name-actions .btn{font-size:13px;padding:8px 12px}
.sms-name-actions .sms-selected{border-color:transparent;color:var(--success-text);background:var(--success-surface)}
.sms-remove{width:44px;min-width:44px;color:var(--muted)}
.sms-names-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}
.sms-dialog-section .sms-sender-hint{margin-top:20px}
.sms-names-footer .setting-help{font-size:13px}
.sms-empty,.sms-names-loading{margin:20px 0 4px;color:var(--muted);font-size:14px;line-height:1.6}
.sms-names-loading{min-height:100px;display:flex;align-items:center}
.sms-delete-confirm{flex-basis:100%;padding:16px;background:var(--canvas);border-radius:12px}
.sms-delete-confirm p{margin:0;line-height:1.6}
.sms-dialog-error:not(:empty){margin:0;padding:0 24px 24px}
@media(hover:hover) and (pointer:fine){.sms-remove:hover{color:var(--error-text);background:var(--error-surface)}}
@media(max-width:600px){
 .sms-panel-heading{flex-wrap:wrap}
 .sms-balance-section{padding:0 18px 24px}
 .sms-panel-footer{padding:16px 18px;flex-wrap:wrap;gap:8px}
 .sms-panel-footer>.btn{width:100%;order:-1}
 .sms-panel-footer>.text-btn{margin-inline:auto}
 .sms-ui :is(.btn,.text-btn,.icon-btn,input){min-height:48px}
 .modal.sms-dialog{max-height:calc(var(--usable-height,100dvh) - 16px)}
 .sms-dialog .modal-header{padding:12px 16px;gap:8px}
 .sms-dialog .modal-header h2{font-size:18px}
 .sms-dialog-section{padding:20px 18px}
 .sms-dialog-section>.sms-section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}
 .sms-dialog .modal-footer{padding:12px 18px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .sms-dialog .modal-footer .btn{min-height:48px}
 .sms-add-form{padding:16px}
 .sms-name-actions .btn{padding:8px 10px}
 .sms-remove{width:48px;min-width:48px}
 .sms-names-footer{flex-wrap:wrap;gap:4px}
 .sms-actions .btn{flex:1 1 auto}
 .sms-dialog-error:not(:empty){padding:0 18px 20px}
}
@media(max-width:360px){
 .sms-name-copy{flex-basis:100%}
 .sms-name-actions{width:100%;justify-content:space-between}
 .sms-name-actions .sms-remove{margin-left:auto}
}

/* Delivery and order policies reuse the cabinet's visual language. */
.delivery-options{border:0;padding:0;margin-inline:0;min-width:0}
.delivery-options legend{padding:0;margin-bottom:12px;font-size:14px;font-weight:650;color:var(--text)}
.delivery-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.delivery-choice{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;cursor:pointer;min-width:0}
.delivery-choice:has(input:checked){border-color:var(--action);background:var(--rose)}
.delivery-choice:has(input:focus-visible){outline:2px solid var(--action);outline-offset:3px}
.delivery-choice input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--action)}
.delivery-choice span{min-width:0}.delivery-choice strong{display:block;font-size:15px;line-height:1.5}
.delivery-choice small{display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.5}
.delivery-zone-list{padding:0 24px}.delivery-zone-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;align-items:center;padding:20px 0}
.delivery-zone-row+.delivery-zone-row{border-top:1px solid var(--border)}
.delivery-zone-row h3{margin:0;font-size:16px;overflow-wrap:anywhere}.delivery-zone-row p{margin:6px 0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.delivery-zone-row small{color:var(--muted);font-size:14px}.delivery-zone-price{font-size:16px;white-space:nowrap}
/* Keep each order policy intact; dividers separate policies, never their controls. */
.store-settings-section>.section-label{font-size:17px;line-height:1.5;margin:0 0 24px}
.store-workdays{border:0;padding:0;margin:0;min-width:0}
.store-workdays legend{font-size:14px;font-weight:600;color:var(--muted);padding:0;margin-bottom:8px}
.store-order-conditions{container-type:inline-size}
.order-policy-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.order-limit{border:0;padding:0;margin:0;min-width:0}
.order-limit legend{font-size:16px;line-height:1.5;font-weight:650;color:var(--text);padding:0;margin:0 0 16px;float:left;width:100%}
.order-limit legend+.switch-row{clear:both}
.order-limit>.switch-row{border:0;padding:0;gap:12px;align-items:flex-start}
.order-limit .switch-copy{min-width:0}
.order-limit .switch-copy strong{font-size:14px;line-height:1.5;font-weight:550}
.order-limit .switch-copy p{font-size:14px;line-height:1.5;margin-top:4px}
.order-limit [data-limit-field]{margin-top:20px;max-width:none}
.order-limit .setting-help{margin:8px 0 0;font-size:13px;line-height:1.5}
.order-limit+.order-limit{border-top:1px solid var(--border);padding-top:28px}
@container (min-width:680px){
 .order-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 .order-limit:first-child{padding-right:28px}
 .order-limit+.order-limit{border-top:0;border-left:1px solid var(--border);padding:0 0 0 28px}
}
@media(max-width:600px){.delivery-choice-grid{grid-template-columns:1fr}.delivery-zone-list{padding:0 16px}.delivery-zone-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.delivery-zone-row>div{grid-column:1/-1}.delivery-zone-row>.btn{justify-self:end}}
#delivery-settings-form [hidden],[data-delivery-zones][hidden],.order-limit [hidden],#store-form [data-store-zone][hidden]{display:none!important}

/* Orders: a quiet list and a focused, centered workspace. */
.orders-page .page-heading{align-items:center;margin-bottom:24px}
.orders-page .page-heading h1{margin:0}
.orders-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,220px) minmax(170px,210px);align-items:end;gap:16px;padding:24px}
.orders-toolbar .searchbox{width:100%;max-width:none;min-width:0;height:48px}
.orders-toolbar .searchbox input{width:100%}
.orders-filter{min-width:0}
.orders-filter>label{display:block;font-size:13px;color:var(--muted);font-weight:500;margin-bottom:8px}
.orders-filter .custom-select{width:100%;max-width:none}
.orders-filter .choice-trigger{min-height:48px;font-size:14px}
.order-date-range{margin:0;padding:0 24px 20px}
.order-date-range[hidden]{display:none!important}
.order-range-fields{display:grid;grid-template-columns:minmax(0,320px) auto;align-items:end;justify-content:start;gap:12px}
.order-range-fields .field{margin:0}
.order-range-fields .btn{min-height:48px}
.order-date-range .error-text{margin:12px 0 0}
.orders-list-meta{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:0 24px 16px;font-size:13px;color:var(--muted)}
.orders-list-meta strong{color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}
.orders-reset.btn{padding:4px 0;border-color:transparent;background:none;min-height:36px;color:var(--accent-text);font-size:13px}
.orders-table .order-num{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:14px;font-weight:650;text-align:left;overflow-wrap:anywhere}
.orders-table .order-num .icon{width:14px;height:14px;flex:none;opacity:.6}
.orders-table .kvio-table{table-layout:fixed}
.orders-table .kvio-table th{font-size:12px;font-weight:550;color:var(--muted);background:var(--canvas);padding-top:14px;padding-bottom:14px}
.orders-table .kvio-table td{padding-top:18px;padding-bottom:18px;vertical-align:middle}
.orders-table th:first-child{width:16%}.orders-table th:nth-child(2){width:22%}.orders-table th:nth-child(3){width:27%}.orders-table th:nth-child(4){width:20%}.orders-table th:nth-child(5){width:15%}
.orders-table .cell-main{font-size:14px;font-weight:550;line-height:1.6}
.orders-table .cell-sub{margin-top:4px}
.order-payment.is-paid{color:var(--success-text)}
.orders-list-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;border-top:1px solid var(--border)}
.orders-list-footer>span{font-size:13px;color:var(--muted)}
.orders-export.btn{border-color:transparent;background:none;color:var(--muted);padding:8px}
.modal.order-dialog{width:1040px;max-width:100%;max-height:calc(var(--usable-height,100dvh) - 48px);display:flex;flex-direction:column;overflow:hidden;border-radius:16px}
.order-dialog .modal-header{position:static;flex:none;gap:12px;padding:20px 28px;background:var(--surface)}
.order-dialog .modal-header h2{font-size:22px;line-height:1.35;letter-spacing:-.02em;flex:1;min-width:0;overflow-wrap:anywhere}
.order-dialog .modal-header h2:focus{outline:none}
.order-copy-link.btn{background:none;border-color:transparent;padding:8px;color:var(--muted);flex:none}
.order-dialog .modal-header>.icon-btn{flex:none}
.order-dialog .modal-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.order-detail-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:28px;scroll-padding:24px}
.order-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:28px;border-bottom:1px solid var(--border)}
.order-summary-main{min-width:0}
.order-summary-main h3{font-size:20px;font-weight:650;line-height:1.4;margin:12px 0 6px;overflow-wrap:anywhere}
.order-summary-main p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}
.order-summary-amount{flex-shrink:0;text-align:right;display:grid;gap:4px}
.order-summary-amount>span{font-size:13px;color:var(--muted)}
.order-summary-amount>strong{font-size:28px;line-height:1.4;font-weight:650;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.order-summary-amount>.is-paid{color:var(--success-text)}
.order-detail-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:32px;margin-top:28px}
.order-detail-main,.order-detail-aside{min-width:0}
.order-detail-aside{background:var(--canvas);padding:24px;border-radius:12px;align-self:start}
.order-section+.order-section{border-top:1px solid var(--border);padding-top:28px;margin-top:28px}
.order-section h3{font-size:16px;font-weight:650;line-height:1.5;margin:0 0 20px}
.order-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.order-section-heading h3{margin:0}
.order-subtle-button.btn{border-color:transparent;background:none;color:var(--accent-text);padding:8px 14px;font-size:14px;min-height:44px}
.order-contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0}
.order-contact dt,.order-facts dt{font-size:13px;font-weight:500;line-height:1.5;color:var(--muted)}
.order-contact dd{margin:8px 0 0;display:grid;gap:6px;min-width:0;font-size:15px}
.order-contact strong{font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.order-contact a{color:var(--accent-text);text-decoration:underline;text-underline-offset:4px;line-height:1.8;overflow-wrap:anywhere;padding:4px 0}
.order-facts{margin:0;display:grid;gap:18px}
.order-facts>div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;align-items:baseline}
.order-facts dd{margin:0;font-size:15px;font-weight:500;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}
.order-detail-aside .order-facts>div{display:block}
.order-detail-aside .order-facts dd{margin-top:6px}
.order-location-section h3{margin-bottom:14px}
.order-location-facts{display:grid;gap:12px;margin:0}
.order-location-facts>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:baseline}
.order-location-facts dt{color:var(--muted);font-size:13px;line-height:1.5}
.order-location-facts dd{min-width:0;margin:0;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.order-location-facts small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.5}
@media(max-width:480px){.order-location-facts>div{grid-template-columns:76px minmax(0,1fr);gap:10px}}

.order-important{display:flex;align-items:flex-start;gap:12px;background:var(--warning-surface);color:var(--warning-text);padding:16px;border-radius:10px;margin-top:24px;font-size:14px}
.order-important>.icon{flex:none;margin-top:2px;width:18px;height:18px}
.order-important strong{font-weight:650}.order-important p{line-height:1.65;margin:4px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.order-excluded{background:var(--rose);color:var(--accent-text)}
.order-notes,.order-catalog{margin-top:24px}
.order-notes h4,.order-catalog h4{font-size:13px;color:var(--muted);font-weight:500;margin:0 0 8px}
.order-notes p,.order-notes blockquote{font-size:15px;line-height:1.7;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.order-notes blockquote{padding:16px;background:var(--rose-subtle);border-radius:8px}
.order-catalog ul{list-style:none;margin:0;padding:0}.order-catalog li{padding:8px 0;display:grid;gap:4px;font-size:14px;overflow-wrap:anywhere}.order-catalog li strong{font-weight:550}.order-catalog li span{color:var(--muted);font-size:13px}
.order-costs{margin:0}.order-costs>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:6px 0;font-size:14px}.order-costs dt{color:var(--muted)}.order-costs dd{margin:0;text-align:right;font-weight:550;font-variant-numeric:tabular-nums}
.order-costs .order-cost-total{margin-top:10px;padding-top:16px;border-top:1px solid var(--border);font-size:17px}.order-cost-total dt{color:var(--text);font-weight:600}.order-cost-total dd{font-weight:650}
.order-quote-note{font-size:14px;line-height:1.65;color:var(--warning-text);margin:16px 0 0}

.order-dialog .modal-footer{position:static;flex:none;justify-content:space-between;padding:16px 28px;gap:12px;background:var(--surface)}
.order-footer-secondary,.order-footer-primary{display:flex;align-items:center;gap:12px}.order-dialog .modal-footer .btn{min-height:48px;padding:10px 16px}
.order-loading,.order-load-error{min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center;color:var(--muted)}.order-load-error h3{color:var(--text);margin:0;font-size:20px}.order-load-error p{margin:0;max-width:48ch}
@media(hover:hover) and (pointer:fine){.order-copy-link.btn:hover,.order-subtle-button.btn:hover,.orders-export.btn:hover{background:var(--rose-subtle);color:var(--accent-text)}}
@media(max-width:1100px){.orders-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.orders-toolbar .searchbox{grid-column:1/-1}.order-detail-columns{gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.order-contacts{grid-template-columns:1fr;gap:20px}}
@container (max-width:760px){
 .orders-table .kvio-table.table-wide tbody{gap:0;padding:0;background:var(--surface)}
 .orders-table .kvio-table.table-wide tbody tr{border:0;border-top:1px solid var(--border);border-radius:0;box-shadow:none;padding:20px 24px;gap:14px 20px;background:var(--surface)}
 .orders-table .kvio-table.table-wide td{padding:0;vertical-align:top}
 .orders-table .kvio-table.table-wide td:first-child{grid-column:1;grid-row:1;padding:0}
 .orders-table .kvio-table.table-wide td:nth-child(2){grid-column:1/-1;grid-row:2}
 .orders-table .kvio-table.table-wide td:nth-child(3){grid-column:1;grid-row:3}
 .orders-table .kvio-table.table-wide td:nth-child(4){grid-column:2;grid-row:3}
 .orders-table .kvio-table.table-wide td:nth-child(5){grid-column:2;grid-row:1;justify-self:end;align-self:center}
 .orders-table .kvio-table.table-wide .cell-main{font-size:14px}.orders-table .kvio-table.table-wide .table-cell-label{font-size:12px;margin-bottom:4px}
 .orders-table .kvio-table.table-wide td:first-child>.table-cell-label,.orders-table .kvio-table.table-wide td:nth-child(5)>.table-cell-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
}
@media(max-width:700px){
 .orders-page .page-heading{gap:16px;margin-bottom:20px}.orders-page .page-heading .heading-actions{width:auto}.orders-page .page-heading h1{font-size:28px}
 .orders-toolbar{padding:18px;gap:16px 12px}.orders-filter .choice-trigger{font-size:14px}.orders-list-meta{padding:0 18px 14px}
 .order-date-range{padding:0 18px 20px}.order-range-fields{grid-template-columns:1fr}.order-range-fields .btn{width:100%}
 .orders-list-footer{padding:12px 18px}.orders-list-footer>span{max-width:19ch;font-size:12px}.orders-export.btn{font-size:13px}
 .modal.order-dialog{max-height:calc(var(--usable-height,100dvh) - 16px);border-radius:14px}
 .order-dialog .modal-header{padding:12px 16px;gap:8px}.order-dialog .modal-header h2{font-size:19px}.order-copy-link.btn{font-size:0;gap:0;width:44px;min-width:44px;padding:10px}.order-copy-link .icon{width:20px;height:20px}
 .order-detail-scroll{padding:20px 18px}.order-summary{gap:20px;align-items:flex-start;flex-direction:column;padding-bottom:24px}.order-summary-main h3{font-size:20px}.order-summary-amount{text-align:left;gap:2px}.order-summary-amount>strong{font-size:26px}
 .order-detail-columns{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:24px}.order-detail-aside{padding:24px 18px}.order-contacts{grid-template-columns:1fr;gap:20px}
 .order-section-heading{flex-wrap:wrap;gap:8px}.order-facts>div{grid-template-columns:1fr;gap:5px}.order-section h3{font-size:17px}
 .order-contact dd,.order-facts dd,.order-notes p,.order-notes blockquote{font-size:15px}.order-contact a{min-height:44px;display:flex;align-items:center;width:fit-content}
 .order-dialog .modal-footer{padding:12px 18px;padding-bottom:max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr}
 .order-footer-secondary:empty,.order-footer-primary:empty{display:none}.order-footer-secondary{display:flex;gap:8px;min-width:0}.order-footer-primary{display:flex;grid-row:1;min-width:0}.order-dialog .modal-footer .btn{min-width:0;padding:10px 12px}.order-footer-primary>.btn{width:100%}.order-footer-secondary>.btn{flex:1}.order-actions-menu{flex:0 0 auto}

}
@media(max-height:500px){.order-dialog .modal-header{padding-top:8px;padding-bottom:8px}.order-dialog .modal-footer{padding-top:8px;padding-bottom:8px}.order-dialog .modal-footer .btn{min-height:44px}.order-detail-scroll{padding-top:16px}}
/* Keep the search icon clear of the input's shared mobile padding. */
.orders-toolbar #search{padding-left:40px}
.orders-page .page-heading{text-align:left}
@media(max-width:700px){.orders-page .page-heading{align-items:stretch}.orders-page .page-heading .heading-actions{justify-content:flex-start}}
/* Feedback must not cover the persistent order actions. */
body:has(.order-dialog) #toast{bottom:112px}
@media(max-width:700px){body:has(.order-dialog) #toast{bottom:156px}}

/* Order workspace: a quiet form, clear sections, and an always available save action. */
.modal.order-editor-dialog{width:min(1100px,calc(100vw - 48px));max-width:1100px;max-height:calc(100dvh - 48px);border-radius:18px;display:flex;flex-direction:column;overflow:hidden}
.order-editor-dialog .modal-header{flex:none;padding:23px 30px;border-bottom:1px solid var(--border);gap:16px}
.order-editor-dialog .modal-header h2{font-size:23px;line-height:1.3;font-weight:650}
.order-editor-dialog .modal-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.order-editor{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-color:#c2c8d0 transparent;scrollbar-width:thin}
.editor-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 30px 0;font-size:14px;line-height:1.55;color:var(--muted)}
.editor-intro p{margin:0;max-width:55ch}.editor-intro>span{font-size:12px;white-space:nowrap}
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:34px;padding:0 30px 28px;align-items:start}
.editor-fields{min-width:0}.editor-section{padding:28px 0;border-bottom:1px solid var(--border)}.editor-section:last-child{border:0;padding-bottom:0}
.editor-section-heading{margin-bottom:20px}.editor-section-heading h3{font-size:18px;font-weight:650;line-height:1.35;margin:0 0 6px;color:var(--text)}
.editor-section-heading p,.editor-help{font-size:13px;line-height:1.55;color:var(--muted);margin:0}.editor-help{margin-top:10px}
.order-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.order-editor .field{min-width:0}.order-editor .field label{font-size:13px;font-weight:550;line-height:1.4;margin-bottom:7px;color:var(--muted)}
.order-editor .field input:not([type=checkbox]),.order-editor .field textarea,.order-editor .choice-trigger{font-size:15px;line-height:1.45;min-height:46px;color:var(--text);border-radius:9px}
.order-editor .field textarea{min-height:96px;resize:vertical}.order-editor .field input::placeholder,.order-editor .field textarea::placeholder{color:#687386}
.order-editor .field input[readonly]{background:#f3f4f6;color:#596578}.order-editor .full{grid-column:1/-1}
.order-editor .check-inline{font-size:14px;line-height:1.5;min-height:44px;align-items:center;gap:10px}.order-editor .check-inline input{width:18px;height:18px;flex:none;accent-color:var(--pink)}
.client-search-field{position:relative}.client-search-field>svg{position:absolute;left:14px;top:14px;width:18px;height:18px;color:var(--muted)}.client-search-field input{width:100%;padding-left:42px!important}
.client-results{margin-top:8px;max-height:260px;overflow:auto;border:1px solid var(--border);border-radius:10px}.client-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:white;text-align:left;width:100%;color:var(--text);border:0;border-bottom:1px solid var(--border);min-height:62px;cursor:pointer;font-size:13px}.client-result:last-child{border-bottom:0}.client-result strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.client-result small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.client-result svg{width:18px;flex:none}.client-result.focused{background:var(--rose-light,#fff0f5)}
#new-client{margin-top:14px}.client-identity{display:flex;align-items:center;gap:14px;padding:18px;background:#f8f9fc;border-radius:12px}.client-identity-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:white;flex:none;color:var(--accent-text)}.client-identity-icon svg{width:22px}.client-identity>div{flex:1;min-width:0}.client-identity strong{font-size:16px;font-weight:650;display:block;overflow-wrap:anywhere}.client-identity a{display:block;margin-top:4px;font-size:14px;color:var(--text);text-underline-offset:3px}.client-identity div>span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.client-identity button{flex:none;min-height:40px}
.editor-inline-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 16px}.editor-inline-head strong{font-size:15px}.editor-inline-head .text-btn{font-size:13px;min-height:36px}#client-duplicates:not(:empty){border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:12px}
.editor-details{margin-top:20px}.editor-details>summary{font-size:14px;font-weight:550;cursor:pointer;min-height:44px;display:list-item;align-content:center;color:var(--text)}.editor-details[open]>summary{margin-bottom:14px}
.editor-range{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-recipient{border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.editor-recipient .form-grid{margin-top:12px}.editor-surprise{margin-top:12px}#editor-delivery{margin-top:18px}
.editor-summary{position:sticky;top:24px;margin-top:28px;padding:22px;background:#f8f9fc;border-radius:12px}.editor-summary h3{font-size:16px;font-weight:650;margin:0 0 20px}.editor-summary dl{margin:0;display:grid;gap:18px}.editor-summary dt{font-size:12px;color:var(--muted);margin-bottom:5px}.editor-summary dd{font-size:14px;font-weight:550;line-height:1.5;margin:0;overflow-wrap:anywhere;white-space:pre-line;font-variant-numeric:tabular-nums}.editor-total{border-top:1px solid var(--border);padding-top:18px;margin-top:22px;display:flex;justify-content:space-between;align-items:baseline;gap:10px}.editor-total span{font-size:14px}.editor-total strong{font-size:23px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.editor-payment-state{font-size:12px;color:var(--muted);margin:9px 0 20px}.editor-summary .editor-help{font-size:12px}
.order-editor-dialog .modal-footer{flex:none;display:flex;flex-wrap:nowrap;align-items:center;gap:12px;padding:18px 30px;background:white;border-top:1px solid var(--border)}.order-editor-dialog .modal-footer .btn{flex:0 0 auto;min-height:48px;font-size:14px;padding-inline:20px}.editor-footer-total{margin-right:auto;display:flex;gap:10px;align-items:baseline;color:var(--muted);font-size:13px}.editor-footer-total strong{font-size:19px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.editor-error:empty{display:none}.editor-error{margin:0;padding:0 30px 24px;font-size:14px;line-height:1.5}.choice-group-label{padding:16px 13px 7px;color:var(--muted);font-size:12px;font-weight:650;line-height:1.4;letter-spacing:.01em}.choice-group-label:first-child{padding-top:8px}.settings-choice-group{border:0;padding:0;margin:16px 0;display:grid;gap:10px}.settings-choice-group legend{font-size:13px;color:var(--muted);margin-bottom:12px}.settings-choice-group .check-inline{font-size:14px;min-height:32px}.order-payment-method{font-size:13px;color:var(--muted)}
@media(hover:hover) and (pointer:fine){.client-result:hover{background:#fff0f5}.editor-details>summary:hover{color:var(--accent-text)}}
@media(max-width:900px){.editor-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.editor-intro{display:block}.editor-intro>span{display:block;margin-top:6px}.editor-summary{padding:18px}}
@media(max-width:720px){.modal.order-editor-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.order-editor-dialog .modal-header{padding:18px 20px}.order-editor-dialog .modal-header h2{font-size:20px}.editor-intro{padding:18px 20px 0}.editor-layout{display:block;padding:0 20px 24px}.editor-section{padding:24px 0}.editor-section-heading{margin-bottom:18px}.editor-summary{display:none}.order-editor-dialog .modal-footer{padding:14px 20px;gap:10px;flex-wrap:wrap}.editor-footer-total{flex-basis:100%;justify-content:space-between;margin:0 0 2px}.order-editor-dialog .modal-footer>.btn{flex:1;padding-inline:12px;white-space:normal}.order-editor-dialog .modal-footer>.primary{flex:1.7}.editor-error{padding:0 20px 20px}.client-identity{padding:14px;gap:12px}.client-identity-icon{display:none}.order-editor .form-grid{grid-template-columns:1fr;gap:18px}.order-editor .field input:not([type=checkbox]),.order-editor .field textarea,.order-editor .choice-trigger{font-size:16px;min-height:48px}.editor-section-heading h3{font-size:18px}.editor-inline-head{align-items:flex-start}.editor-recipient .check-inline{align-items:flex-start;padding-block:9px}.editor-recipient .check-inline input{margin-top:2px}}
@media(max-height:560px){.modal.order-editor-dialog{max-height:calc(100dvh - 12px)}.order-editor-dialog .modal-header{padding-block:12px}.order-editor-dialog .modal-footer{padding-block:10px}}
.order-editor [hidden]{display:none!important}

.editor-submit-short{display:none}@media(max-width:720px){.editor-submit-wide{display:none}.editor-submit-short{display:inline}.order-editor-dialog .modal-footer>.btn{min-height:48px}}

/* SMS composer: clear recipient, readable text, live cost estimate. */
.modal.order-sms-dialog{display:flex;flex-direction:column;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden}.order-sms-dialog .modal-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}.order-sms-dialog .modal-header{flex:none}.order-sms-dialog .modal-footer{position:static;flex:none;display:flex;justify-content:flex-end;gap:12px;padding:18px 24px}.order-sms-dialog .modal-footer .btn{width:auto;flex:0 0 auto}.order-sms-dialog .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}.order-sms-form{display:grid;gap:20px;flex:0 1 auto}.sms-recipient{display:grid;gap:5px;padding-bottom:18px;border-bottom:1px solid var(--border)}.sms-recipient>span{font-size:14px;color:var(--muted)}.sms-recipient>span:first-child{font-size:12px}.sms-recipient strong{font-size:17px;overflow-wrap:anywhere}.order-sms-form textarea{min-height:170px;font-size:16px;line-height:1.6;resize:vertical}.sms-estimate{display:grid;grid-template-columns:1fr .8fr 1.6fr;gap:16px;margin:0;padding:18px;background:#f8f9fc;border-radius:10px}.sms-estimate>div{min-width:0}.sms-estimate dt{font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:6px}.sms-estimate dd{margin:0;font-size:16px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sms-estimate .is-over-limit{color:var(--danger)}.sms-estimate-note{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.order-sms-form .error-text:empty{display:none}.order-sms-form .text-btn{justify-self:start;min-height:44px}.order-sms-form [hidden]{display:none!important}.order-sms-dialog .modal-footer .btn{min-height:48px}
@media(max-width:480px){.modal.order-sms-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.order-sms-dialog .modal-body{padding:20px}.order-sms-dialog .modal-header{padding:18px 20px}.order-sms-dialog .modal-footer{padding:16px 20px;display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.order-sms-dialog .modal-footer .btn{width:100%;white-space:normal;padding-inline:10px}.sms-estimate{grid-template-columns:1fr 1fr;gap:14px;padding:16px}.sms-estimate>div:last-child{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--border);display:flex;align-items:baseline;justify-content:space-between;gap:12px}.sms-estimate>div:last-child dt{margin:0}.sms-estimate>div:last-child dd{white-space:nowrap}}

/* Confirmation shared by every order status transition. */
.modal.order-status-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden}.order-status-dialog .modal-header{flex:none;padding:20px 24px}.order-status-dialog .modal-content{min-height:0;display:flex;flex-direction:column;overflow:hidden}.order-status-dialog .modal-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px}.status-confirm-order{display:grid;gap:6px;margin-bottom:24px;overflow-wrap:anywhere}.status-confirm-order strong{font-size:16px}.status-confirm-order span{font-size:14px;color:var(--muted)}.status-confirm-transition{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0;padding:20px 0;border-block:1px solid var(--border)}.status-confirm-transition dt{font-size:13px;color:var(--muted);margin-bottom:8px}.status-confirm-transition dd{font-size:17px;font-weight:650;line-height:1.4;margin:0;overflow-wrap:anywhere}.status-confirm-note{margin:20px 0 0;font-size:14px;line-height:1.6}.order-status-dialog .modal-footer{position:static;flex:none;display:flex;flex-direction:row;justify-content:flex-end;gap:12px;padding:18px 24px}.order-status-dialog .modal-footer .btn{width:auto;min-height:48px;white-space:normal;font-size:14px;line-height:1.4}.order-status-dialog [hidden]{display:none!important}
@media(max-width:480px){.order-status-dialog .modal-header{padding:16px 18px}.order-status-dialog .modal-header h2{font-size:20px}.order-status-dialog .modal-body{padding:20px 18px}.order-status-dialog .modal-footer{display:grid;grid-template-columns:1fr;padding:14px 18px;gap:10px}.order-status-dialog .modal-footer .btn{width:100%}.order-status-dialog #confirm-action{grid-row:1}.status-confirm-transition{gap:14px}.status-confirm-transition dd{font-size:16px}}

/* Shared delivery address editor: inline suggestions remain inside modal scrolling. */
.delivery-address{min-width:0;display:grid;gap:12px;grid-column:1/-1}
.address-search{min-width:0;display:grid;gap:8px}
.delivery-address .address-search>.field,.delivery-address .address-main-fields>.field{margin:0;min-width:0}
.address-status{margin:0;color:var(--muted,#596578);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.address-assist{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 16px;min-width:0}
.address-assist .address-status{flex:1 1 200px;margin:0;padding-block:6px}
.delivery-address :is(.address-manual,.address-search-return){flex:none;min-height:44px;max-width:100%;padding:10px 8px;font-size:13px;line-height:1.5;text-align:left;white-space:normal;border-radius:8px}
.address-components{min-width:0;padding:20px;background:var(--canvas);border:1px solid var(--border);border-radius:14px}
.address-details-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;min-width:0;margin-bottom:4px}
.address-components .address-details-title{margin:0;color:var(--text);font-size:16px;line-height:1.5;font-weight:650}
.address-components .address-details-status{margin:0 0 20px}
.address-components input{background:var(--surface)}
.address-main-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.address-main-fields .address-street{grid-column:1/-1}
.address-main-fields .address-city{grid-column:1/-1}
.delivery-address input{width:100%;min-width:0}
.address-extra{margin-top:20px;padding-top:8px;border-top:1px solid var(--border)}
.address-extra summary{min-height:44px;display:list-item;cursor:pointer;font-size:14px;line-height:1.5;padding:10px 0;color:var(--muted,#596578)}
.address-extra[open] summary{margin-bottom:16px}
.address-extra summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}
.address-suggestions{overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.address-results{max-height:270px;overflow:auto;overscroll-behavior:contain}
.address-results button{display:flex;flex-direction:column;gap:3px;min-height:68px;background:#fff;color:#283143;text-align:left;width:100%;border:0;border-bottom:1px solid #e8ebef;padding:12px 14px;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.address-results button:last-child{border-bottom:0}
.address-results button[aria-selected=true]{background:#fff0f5}
.address-results span,.address-results small{color:#596578;font-size:13px;line-height:1.45}
.address-attribution{display:block;padding:8px 12px;border-top:1px solid var(--border);font-size:12px;color:var(--muted);line-height:1.5}
.address-attribution a{text-decoration:underline;text-underline-offset:3px;color:inherit}
.delivery-address [hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){.address-results button:hover{background:#f8f9fc}.delivery-address :is(.address-manual,.address-search-return):hover{background:var(--rose)}}
@media(max-width:600px){.address-components{padding:16px}.address-main-fields{gap:16px 12px}.delivery-address input{font-size:16px;min-height:48px}.address-extra summary,.delivery-address :is(.address-manual,.address-search-return){min-height:48px}.address-details-heading{align-items:flex-start;flex-direction:column;gap:0}.address-details-heading .address-search-return{margin-block:0 4px}}

@media(max-width:380px){.address-main-fields{grid-template-columns:minmax(0,1fr)}}

/* Catalog photography, packaging and additional products share the cabinet forms. */
.catalog-editor{width:780px}.photo-gallery h3,.catalog-packaging h3{font-size:17px;line-height:1.5;margin:0 0 8px}.gallery-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin:16px 0;list-style:none}.gallery-item{min-width:0}.gallery-item>img{width:100%;height:145px;object-fit:cover;border-radius:8px;background:var(--canvas)}.gallery-item>span{display:block;font-size:13px;margin:8px 0;color:var(--muted)}.gallery-actions{display:flex;gap:4px}.gallery-actions .icon-btn{width:44px;height:44px;min-width:44px}.gallery-previous .icon{transform:rotate(180deg)}.gallery-status{white-space:pre-line;overflow-wrap:anywhere}.gallery-upload{width:fit-content;min-height:44px}.gallery-upload:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}.catalog-packaging{margin-top:24px;padding-block:24px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.catalog-packaging .form-grid{margin-top:18px}.packaging-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;align-items:end;margin-bottom:18px}.packaging-row .icon-btn{width:44px;height:48px}.catalog-category-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--border)}.catalog-category-row strong{overflow-wrap:anywhere;min-width:0}.catalog-stock-note{display:block;margin-top:12px;color:var(--muted)}.order-addon-list{list-style:none;padding:0}.order-addon-list li{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:10px}.catalog-editor .switch-copy p{max-width:56ch}.catalog-editor .setting-help{font-size:14px;line-height:1.65}.catalog-editor .modal-header{position:sticky;top:0;z-index:3}.catalog-editor .modal-footer{flex-wrap:wrap}.catalog-editor .modal-footer .btn{min-height:44px}
@media(max-width:600px){.gallery-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-item>img{height:130px}.gallery-actions{gap:0;justify-content:space-between}.gallery-actions .icon-btn{min-width:40px;width:40px;height:44px}.catalog-editor .modal-footer .btn{flex:1}.catalog-category-row{align-items:flex-start;flex-wrap:wrap}.catalog-editor .field input,.catalog-editor .field textarea{font-size:16px;min-height:48px}.catalog-editor .switch-row{gap:12px}.catalog-editor .switch-copy strong{font-size:15px}.catalog-editor .switch-copy p{font-size:14px}}
@media(max-width:1023px){.catalog-heading{flex-wrap:wrap;gap:16px}.catalog-heading .heading-actions{display:flex;flex-wrap:wrap;gap:8px}.catalog-heading .heading-actions .btn:not(.primary){display:inline-flex}.catalog-heading .heading-actions .btn{font-size:14px;min-height:44px}.catalog-heading>div:first-child{min-width:0}.catalog-heading h1{overflow-wrap:anywhere}}
.catalog-grid .product-body h3{font-size:17px;line-height:1.45;overflow-wrap:anywhere}.catalog-grid .product-body p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.catalog-grid .product-body small{font-size:12px;line-height:1.5}.catalog-grid .product-price{flex-wrap:wrap;gap:10px;font-size:16px}.catalog-grid .product-price .btn{min-height:44px;font-size:14px}.catalog-grid .product-art>img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.catalog-grid{grid-template-columns:1fr}.catalog-grid .product-art{height:240px}}

/* Delivery: one policy, one shop address, transparent distance bands. */
.delivery-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:24px;align-items:start}
.delivery-primary,.delivery-context{min-width:0}
.delivery-mode-list{display:grid;gap:0}
.delivery-mode-list .delivery-choice{border:0;border-radius:0;border-bottom:1px solid var(--border);padding:18px 12px;min-height:84px;align-items:flex-start}
.delivery-mode-list .delivery-choice:last-child{border-bottom:0}
.delivery-mode-list .delivery-choice:has(input:checked){border-radius:12px;background:var(--rose)}
.delivery-mode-list .delivery-choice input{margin-top:4px;flex:0 0 auto}
.delivery-mode-list .delivery-choice strong{font-size:16px;color:var(--text)}
.delivery-mode-list .delivery-choice small{font-size:14px;line-height:1.5;font-weight:400}
.delivery-save-hint{font-size:13px;color:var(--muted);margin-right:auto;max-width:25ch}
.delivery-zone-tariff{display:grid;gap:5px;text-align:right;font-variant-numeric:tabular-nums}
.delivery-zone-tariff strong{font-size:18px;white-space:nowrap}
.delivery-zone-tariff small{color:var(--muted);font-size:13px}
.delivery-rules{padding:20px 24px;border-top:1px solid var(--border);background:var(--canvas);font-size:14px;line-height:1.6;color:var(--muted)}
.delivery-rules p{margin:0}.delivery-rules p+p{margin-top:8px}
.delivery-address-heading{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere;line-height:1.6}
.delivery-address-heading svg{flex:0 0 20px;margin-top:3px}
.delivery-location-state{font-size:13px;line-height:1.6;margin:16px 0;color:var(--muted)}
.delivery-facts{margin:0 0 20px}.delivery-facts>div{display:grid;gap:4px;margin-bottom:18px}.delivery-facts dt{font-size:13px;color:var(--muted)}.delivery-facts dd{margin:0;font-weight:600;font-size:15px}
.delivery-quote-result{margin-top:20px;padding-top:18px;border-top:1px solid var(--border);line-height:1.6;overflow-wrap:anywhere}.delivery-quote-result strong{font-size:17px}.delivery-quote-result p{color:var(--muted);font-size:14px;margin:6px 0 0}
#delivery-check-form>.btn{margin-top:16px}
.delivery-workspace .panel-head{align-items:flex-start}.delivery-workspace .panel-head p{max-width:65ch;line-height:1.6}
.delivery-workspace [hidden]{display:none!important}
@media(max-width:1100px){.delivery-workspace{grid-template-columns:1fr}.delivery-context{display:grid;grid-template-columns:1fr 1fr;gap:20px}.delivery-context>.mt{margin-top:0}}
@media(max-width:600px){.delivery-context{grid-template-columns:1fr}.delivery-workspace{gap:20px}.delivery-workspace .panel-head{flex-wrap:wrap;gap:16px}.delivery-workspace .form-actions{flex-wrap:wrap;gap:14px}.delivery-save-hint{max-width:none}.delivery-workspace .form-actions button{width:100%;justify-content:center}.delivery-mode-list .delivery-choice{padding:16px 8px}.delivery-rules{padding:18px 16px}.delivery-zone-tariff{text-align:left}.delivery-zone-row{grid-template-columns:1fr!important;gap:14px!important}.delivery-zone-row>.btn{justify-self:start}}

/* Content always has room inside a highlighted or interactive surface. */
.searchbox>.icon{top:50%;transform:translateY(-50%);pointer-events:none}
.switch-row .switch-copy strong{display:block;font-size:16px;font-weight:650;line-height:1.5}
.switch-row .switch-copy p{font-size:14px;font-weight:400;line-height:1.6;max-width:60ch}
.text-btn{padding:8px 12px;border-radius:8px;min-height:44px}
.delivery-address-prompt{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.delivery-address-prompt .notice{width:100%;margin:0}
.catalog-category-row:last-child{border-bottom:0}
.photo-gallery{padding:16px;background:var(--canvas);border:1px solid var(--border);border-radius:12px}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px}
.gallery-heading{min-width:0}
.gallery-heading h3{font-size:16px;line-height:1.4;margin:0 0 4px}.gallery-heading .setting-help{font-size:13px;line-height:1.5;margin:0}
.gallery-list:empty{display:none}
.photo-gallery .gallery-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;width:auto;min-height:44px;padding:9px 14px;margin:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:14px;font-weight:600;cursor:pointer}
.photo-gallery .gallery-upload[hidden]{display:none}
.gallery-upload>.icon{width:18px;height:18px;color:var(--accent-text)}
.gallery-sort-help{font-size:13px;margin:8px 0 0}.gallery-status:empty{display:none}.gallery-status{margin:12px 0 0}
.catalog-editor .catalog-packaging{margin:28px 0}.catalog-packaging h3{font-size:18px;margin-bottom:6px}
@media(hover:hover) and (pointer:fine){.gallery-upload:hover{border-color:var(--action);background:var(--rose-subtle)}}
@media(max-width:600px){.photo-gallery{padding:14px}.delivery-address-prompt>.btn{width:100%}}

.category-manager>.setting-help{margin:0 0 20px}.catalog-category-row small{display:block;color:var(--muted);margin-top:6px;font-size:13px}
#category-inline{display:grid;gap:20px;margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}#category-inline>.error-text{margin:0}#category-inline>.error-text:empty{display:none}#category-inline[hidden]{display:none}#category-form-title{font-size:18px;margin:0}
.category-inline-actions{display:flex;gap:12px;flex-wrap:wrap}#category-confirm{margin-top:20px;padding:18px;background:var(--error-surface);border-radius:10px}#category-confirm .btn{margin:8px 8px 0 0}
.category-empty,.packaging-empty{padding:20px;background:var(--canvas);border-radius:10px;color:var(--muted);line-height:1.65}
.packaging-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:40px;padding:28px}
.packaging-layout h3{font-size:18px;margin:0 0 8px}.packaging-layout .setting-help{margin:0 0 24px}.packaging-guide{border-left:1px solid var(--border);padding-left:28px}
.packaging-guide ol{padding-left:22px;margin:22px 0}.packaging-guide li{padding-left:6px;margin-bottom:22px}.packaging-guide strong{font-size:15px}.packaging-guide p{font-size:14px;line-height:1.65;color:var(--muted);margin:6px 0}
.settings-save-row{border-top:1px solid var(--border);margin-top:24px;padding-top:24px}.packaging-row{padding:16px;background:var(--canvas);border-radius:10px}.packaging-row input{background:var(--surface)}
@media(max-width:1000px){.packaging-layout{grid-template-columns:1fr;gap:28px}.packaging-guide{border-left:0;border-top:1px solid var(--border);padding:24px 0 0}}
@media(max-width:600px){.packaging-layout{padding:20px}.packaging-row{padding:12px;gap:8px}.category-inline-actions>.btn{flex:1}.packaging-settings .settings-save-row>.btn{width:100%}}

/* One Kvio identity, exactly as in the cabinet. Surface styles may position it only. */
.kvio-logo.kvio-logo{display:inline-flex;align-items:center;flex-shrink:0;gap:8px;width:max-content;min-height:54px;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:36px;font-weight:750;line-height:1.5;letter-spacing:-.04em;color:var(--text);text-decoration:none;white-space:nowrap}
.kvio-logo.kvio-logo>img{display:block;flex:none;width:32px;height:32px;min-width:32px;max-width:none;margin:0;padding:0;object-fit:contain}
.kvio-logo.kvio-logo>span{display:block;flex:none;margin:0;padding:0;font:inherit;letter-spacing:inherit;line-height:inherit;color:var(--pink)}
.kvio-logo.kvio-logo:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* Curated demo compositions: keep the photographed subject inside each card. */
.product-art>img[data-demo-photo="demo-tulips"],.sf-photo>img[data-demo-photo="demo-tulips"]{object-position:left bottom;scale:1.65;transform-origin:left bottom}
.product-art>img[data-demo-photo="demo-bright"],.sf-photo>img[data-demo-photo="demo-bright"]{object-position:left center;scale:1.8;transform-origin:left center}
.product-art>img[data-demo-photo="demo-sunflower-field"],.sf-photo>img[data-demo-photo="demo-sunflower-field"]{object-position:center 30%}
.product-art>img[data-demo-photo="demo-addon-vase-ceramic"],.sf-photo>img[data-demo-photo="demo-addon-vase-ceramic"]{object-position:center bottom}
.product-art>img[data-demo-photo="demo-addon-bear"],.sf-photo>img[data-demo-photo="demo-addon-bear"]{object-position:left center}

/* Delivery keeps its existing choices inside the narrower settings column. */
.settings-main .delivery-workspace{grid-template-columns:1fr}
.settings-main .delivery-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.settings-main .delivery-context>.mt{margin-top:0}
@media(max-width:600px){.settings-main .delivery-context{grid-template-columns:1fr}}

/* Payment context stays readable; all order actions live in the fixed footer. */
.order-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.order-payment-heading h3{margin:0}
.order-payment-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;line-height:1.5;font-weight:550;color:var(--muted)}
.order-payment-status::before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.order-payment-status.is-paid{color:var(--success-text)}
.order-payment-section .order-payment-method{margin:0 0 20px;font-size:14px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.order-actions-menu{position:relative}.order-actions-menu>summary{list-style:none;cursor:pointer;white-space:nowrap}
.order-actions-list{position:fixed;z-index:5;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow-y:auto;overscroll-behavior:contain}
.order-actions-menu:not([open])>.order-actions-list{display:none}
.order-dialog .order-actions-list .btn{display:flex;width:100%;justify-content:flex-start;text-align:left;border:0;background:transparent;white-space:normal;line-height:1.45;padding:12px;gap:10px}
.order-actions-list .danger{color:var(--error-text)}
@media(hover:hover) and (pointer:fine){.order-dialog .order-actions-list .btn:hover{background:var(--canvas)}}
.order-actions-menu>summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
@media(max-width:700px){.order-dialog .modal-footer{grid-template-columns:1fr}.order-dialog .order-actions-list .btn{min-height:48px}.order-footer-secondary>.btn{font-size:14px}}

/* Checkbox captions use the same body typography as the surrounding form. */
label:has(>input[type="checkbox"]):not(.switch-control):not(.day-check),
.check-inline,.order-editor .check-inline{font-family:inherit;font-size:15px;font-weight:400;line-height:1.6;color:var(--text)}
label:has(>input[type="checkbox"])>span{font:inherit;color:inherit}
.order-number{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:400;letter-spacing:.02em}
.order-number strong{font-size:inherit;line-height:inherit;font-weight:700;color:inherit}
.store-settings-section>.setting-help{margin:12px 0 24px;max-width:78ch}
.store-settings-section>.form-grid{row-gap:24px}
.shop-avatar>img{object-fit:contain;background:var(--surface)}
@media(max-width:600px){label:has(>input[type="checkbox"]):not(.switch-control):not(.day-check),.check-inline,.order-editor .check-inline{font-size:16px}}

/* Button disclosures reserve space even when a later button rule sets padding. */
.order-dialog .order-actions-menu>summary.btn{padding-inline:14px 40px;min-width:84px;display:flex;align-items:center;justify-content:flex-start}
.searchbox input[type=search]{padding-inline-start:42px}
@media(pointer:coarse){.choice-hint,.date-popup-footer>span{display:none}}
.choice-popup{scrollbar-width:thin}
.loyalty-order #order-loyalty-error:empty{display:none}
.loyalty-order #order-loyalty-error{color:var(--error-text);margin:12px 0}
.loyalty-order .loyalty-spend-caption{margin:8px 0 0;font-size:14px;color:var(--muted);line-height:1.6}
.loyalty-order .loyalty-balance{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 20px}
.loyalty-balance div{display:grid;gap:4px}.loyalty-balance dt{font-size:14px;color:var(--muted)}.loyalty-balance dd{margin:0;font-size:18px;font-weight:600}
.order-editor-dialog #footer-total[data-error=true]{font-size:15px;font-weight:500;color:var(--error-text)}


/* Store contact and FAQ editor */
.profile-phone-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.profile-phone-row input{min-width:0;flex:1}.profile-faq-row{padding:20px 0;border-top:1px solid var(--line,#e2e5ed)}.profile-faq-row .field{margin-top:12px}.profile-faq-tools{display:flex;justify-content:space-between;align-items:center;gap:12px}.profile-faq-tools>div{display:flex;gap:4px}.profile-up{transform:rotate(-90deg)}.profile-down{transform:rotate(90deg)}#profile-add-phone{min-height:44px}.profile-faq-row textarea{resize:vertical}

.profile-phone-row>.phone-field{flex:1;min-width:0}

/* Store settings: one purpose per card, shared save and disclosure behavior. */
.store-settings-form{display:grid;gap:20px;min-width:0}
.store-settings-form>.panel{margin:0;min-width:0}
.store-settings-card{padding:24px}
.store-settings-card>.section-label{font-size:18px;margin:0 0 12px}
.store-settings-card>.setting-help{margin:0 0 20px;max-width:70ch}
.store-settings-save{padding:0;justify-content:flex-end;border:0}
.profile-social-list{display:grid}
.profile-social-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 20px;align-items:center;padding:16px 0;border-top:1px solid var(--border)}
.profile-social-row:first-child{padding-top:0;border-top:0}
.profile-social-row:last-child{padding-bottom:0}
.profile-social-row>label{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;margin:0}
.profile-social-mark{display:grid;place-items:center;flex:0 0 24px;color:var(--muted)}
.profile-social-row .field{margin:0;min-width:0}
.profile-social-row input{width:100%;min-width:0}
.profile-faq-row{padding:0;border-top:1px solid var(--border)}
.profile-faq-row>summary{padding:16px 36px 16px 0;min-height:60px}
.profile-faq-row>summary>[data-faq-number]{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
.profile-faq-row>summary>strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.profile-faq-body{padding:0 0 20px}
.profile-faq-tools>span{font-size:13px}
#profile-add-faq{margin-top:16px}
[data-slot-duration]{margin-top:18px}
.delivery-partners{padding:24px}
.delivery-partners h2{font-size:18px;margin:0 0 8px}
.delivery-partners>p{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 20px}
.delivery-partner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.delivery-partner{border:1px solid var(--border);border-radius:12px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}
.delivery-partner img{max-width:110px;width:100%;height:36px;object-fit:contain;object-position:left center}
.delivery-partner .badge{white-space:nowrap;flex:none}
@media(max-width:700px){.store-settings-card,.delivery-partners{padding:20px 16px}.profile-social-row{grid-template-columns:1fr;gap:10px;padding:16px 0}.store-settings-save>.btn{width:100%;justify-content:center}.delivery-partner-grid{grid-template-columns:1fr}}
.delivery-partner-logo{width:110px;height:44px;display:flex;align-items:center;overflow:hidden}

.delivery-partner-logo{position:relative}
.delivery-partner-logo>img{opacity:0}
.delivery-partner-logo>strong{position:absolute;inset:0;display:flex;align-items:center;font-size:18px}
.delivery-partner-logo.is-ready>img{opacity:1}
.delivery-partner-logo.is-ready>strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}


.catalog-old-price{display:block;color:var(--muted);font-size:14px;font-weight:400;text-decoration-thickness:1px}.catalog-price-help{grid-column:1/-1;margin-top:-8px!important}

.catalog-variant-price{grid-column:1/-1;padding-block:16px;border-top:1px solid var(--border)}.catalog-variant-price h4{font-size:15px;margin:0 0 14px}.catalog-variant-price .form-grid{gap:16px}.catalog-variant-price .field{margin-bottom:0}

.catalog-base-prices{grid-column:1/-1}.catalog-base-prices .catalog-price-help{margin:0!important}

/* Fiscal actions belong to each received contribution. */
.fiscal-payment-list{list-style:none;padding:0;margin:0}.fiscal-payment-list>li+li{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.fiscal-contribution-confirm{display:grid;gap:12px;margin-top:12px}[data-payment-fiscal] .payment-editor-actions:empty{display:none}

/* Completed bouquet photos: the same gallery for the shop and the customer. */
.bouquet-photos{margin:20px 0 0;padding:20px 0;border-top:1px solid var(--line,#e8e4e8);min-width:0}
.bouquet-photos-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.bouquet-photos-heading h3{margin:0;font-size:16px;line-height:1.5}
.bouquet-photos-heading>span{color:var(--muted,#626879);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.bouquet-photos-hint,.bouquet-photos-limit{margin:6px 0 14px;color:var(--muted,#626879);font-size:14px;line-height:1.5}
.bouquet-photos-limit{margin:10px 0 0;font-size:13px}
.bouquet-photos-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bouquet-photos-grid:empty{display:none}
.bouquet-photo{position:relative;min-width:0}
.bouquet-photo-open{display:block;position:relative;overflow:hidden;width:100%;padding:0;border:0;border-radius:12px;background:var(--bg,#f6f5f7);color:var(--text,#273043);cursor:zoom-in;aspect-ratio:4/5}
.bouquet-photo-open img{display:block;width:100%;height:100%;object-fit:cover}
.bouquet-photo-open>span{display:flex;align-items:center;justify-content:center;gap:6px;position:absolute;inset:auto 6px 6px;background:#fffffff2;padding:7px 4px;border-radius:7px;font-size:12px;line-height:1.4}
.bouquet-photo-open>span svg{width:14px;height:14px}
.bouquet-photo-open:hover>span{color:var(--pink,#ba386c)}
.bouquet-photo-open:focus-visible,.bouquet-photo-remove:focus-visible,.bouquet-photo-add:focus-within{outline:2px solid var(--pink,#ba386c);outline-offset:3px}
.bouquet-photo-remove{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:#fffffff2;color:var(--text,#273043);cursor:pointer}
.bouquet-photo-remove:hover{background:#ffe4ec;color:#9d2352}
.bouquet-photo-remove svg{width:18px;height:18px}
.bouquet-photo-add{position:relative;display:inline-flex!important;min-height:48px!important;margin-top:14px;overflow:hidden;cursor:pointer}
.bouquet-photo-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.bouquet-photo-add.is-busy{opacity:.55;cursor:wait}
.bouquet-photos button:disabled{opacity:.5;cursor:default}
.bouquet-photos [data-bouquet-feedback]:not(:empty){margin-top:14px;font-size:14px;line-height:1.5}
.bouquet-upload-errors{padding-left:20px;overflow-wrap:anywhere;color:#a02d44}
.bouquet-remove-confirm{padding:14px;margin-top:14px;border-radius:12px;background:var(--bg,#f6f5f7)}
.bouquet-remove-confirm p{margin:0 0 10px;font-size:14px;line-height:1.5}
.bouquet-remove-confirm>div{display:flex;gap:8px;flex-wrap:wrap}
.bouquet-lightbox.bouquet-lightbox{position:fixed;inset:0;width:min(1280px,calc(100% - 32px));height:calc(100dvh - 32px);max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:16px;background:#f7f5f6;color:var(--text,#273043);overflow:hidden;box-shadow:0 20px 80px #14203440}
.bouquet-lightbox[open]{display:flex;flex-direction:column}
.bouquet-lightbox::backdrop{background:#151b29d9}
.bouquet-viewer-header,.bouquet-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:12px 20px;background:#fff}
.bouquet-viewer-header h2{margin:0;font-size:17px;line-height:1.4}
.bouquet-viewer-header span{font-size:13px;color:var(--muted,#626879);font-variant-numeric:tabular-nums}
.bouquet-lightbox .btn{min-width:48px;min-height:48px;margin:0}
.bouquet-viewer-stage{flex:1;min-height:0;min-width:0;margin:16px;display:grid;place-items:center;position:relative;overflow:hidden}
.bouquet-viewer-stage figure{position:relative;margin:0;max-width:100%;max-height:100%;flex:none;overflow:hidden;border-radius:4px}
.bouquet-viewer-stage figure[hidden]{display:none}
.bouquet-viewer-stage figure>img{display:block;width:100%;height:100%;object-fit:contain}
.bouquet-viewer-stage>p{max-width:32ch;padding:20px;line-height:1.5;text-align:center}
.bouquet-watermark{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;flex-direction:column;padding:7px 10px 8px;border-radius:8px;background:#ffffffc9;opacity:.74;transform:scale(.72);transform-origin:bottom right}
.bouquet-watermark>.kvio-logo{align-self:center}
.bouquet-watermark>.bouquet-watermark-slogan{font-size:14px;line-height:1.4;text-align:center;white-space:nowrap;color:var(--text,#273043)}
@media(max-width:600px){.bouquet-photos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bouquet-lightbox.bouquet-lightbox{width:100%;height:100dvh;border-radius:0}.bouquet-viewer-header,.bouquet-viewer-footer{padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.bouquet-viewer-stage{margin:8px}.bouquet-watermark{bottom:8px;right:8px;transform:scale(.72)}.bouquet-photo-add{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.bouquet-watermark{transition:none}}

.bouquet-prev-icon{transform:rotate(180deg)}

.bouquet-photos [data-bouquet-feedback]>.btn{margin:6px 8px 0 0;min-height:48px}

/* Payment state is shared by the shop, customer cabinet and order history. */
.payment-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:550;line-height:1.4;text-align:center;background:var(--canvas);color:var(--muted)}
.payment-badge--paid{color:var(--success-text);background:var(--success-surface)}
.payment-badge--unpaid,.payment-badge--partial{color:var(--warning-text);background:var(--warning-surface)}
.payment-badge--refunded,.payment-badge--part-refunded{color:var(--error-text);background:var(--error-surface)}
.order-summary-amount>.payment-badge{align-self:flex-end;font-size:12px;color:var(--warning-text)}
.order-summary-amount>.payment-badge--paid{color:var(--success-text)}
.order-summary-amount>.payment-badge--refunded,.order-summary-amount>.payment-badge--part-refunded{color:var(--error-text)}

.photo-status,.gallery-status,[data-upload-status]{display:grid;gap:8px}
.photo-status progress,.gallery-status progress,[data-upload-status] progress{display:block;width:100%;height:5px;accent-color:var(--pink)}
.bouquet-upload-dialog{border:1px solid var(--border);border-radius:16px;padding:0;color:var(--text);background:var(--surface);width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;box-shadow:0 24px 80px #17223540}
.bouquet-upload-dialog[open]{display:flex;flex-direction:column}.bouquet-upload-dialog::backdrop{background:#17223570}
.bouquet-upload-dialog header{display:flex;gap:16px;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}.bouquet-upload-dialog h2{font-size:20px;line-height:1.3;margin:0}.bouquet-upload-dialog header p{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.bouquet-upload-dialog .icon-btn{flex:none}
.bouquet-upload-body{overflow:auto;min-height:0;padding:24px}.bouquet-upload-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border)}
.bouquet-upload-drop{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:32px 16px;border:1px dashed var(--border);border-radius:12px;background:var(--canvas);text-align:center;cursor:pointer;line-height:1.5}.bouquet-upload-drop span{color:var(--muted);font-size:14px}.bouquet-upload-drop:focus-within{outline:3px solid var(--focus);outline-offset:3px}.bouquet-upload-drop.is-dragging{border-color:var(--pink);background:var(--rose)}
[data-upload-list]{display:grid;gap:16px;list-style:none;padding:0;margin:20px 0}[data-upload-list] li{display:grid;gap:8px;font-size:14px}[data-upload-list] strong{overflow-wrap:anywhere;font-weight:550}[data-upload-message]{font-size:14px;line-height:1.6;color:var(--muted);margin:12px 0 0}

.catalog-stock-field{min-width:0}.catalog-stock-field .field{margin-bottom:0}.catalog-stock-field [data-stock-summary]{display:block;margin:6px 0 0}.catalog-stock-field [data-stock-summary]:empty{display:none}

.store-settings-card>.setting-help.store-legal-footnote {margin-block:16px 0;padding-top:12px;border-top:1px solid var(--border)}
.receiving-courier {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding-top:16px}
.receiving-courier .setting-help {margin:4px 0 0}
.settings-choice-group label.check-inline {margin:0;align-items:center}

.bouquet-photos-heading {align-items:center;flex-wrap:wrap;gap:12px}
.bouquet-photos-heading small {font-weight:500;font-size:13px;color:var(--muted);white-space:nowrap;margin-left:6px}
.bouquet-photos-heading .bouquet-photos-hint {margin:4px 0 0}
.bouquet-photos-heading .bouquet-photo-add {margin:0}
.bouquet-photos-grid:not(:empty) {margin-top:16px;grid-template-columns:repeat(auto-fill,minmax(min(108px,100%),1fr));max-width:640px}
.bouquet-photo {max-width:140px}
.bouquet-photo-open {aspect-ratio:1}
.bouquet-upload-body [data-upload-list] {margin:12px 0 0;padding:0;list-style:none}
.bouquet-upload-body [data-upload-list]>li {display:flex;align-items:center;gap:12px;padding:12px 0;margin:0}
.bouquet-upload-body [data-upload-list]>li+li {border-top:1px solid var(--border)}
.bouquet-upload-body [data-upload-list]>li>div {min-width:0;overflow-wrap:anywhere}
.bouquet-upload-body [data-upload-list] strong {font-size:14px}
.bouquet-upload-body [data-upload-status] {font-size:13px;margin-top:4px}
.bouquet-upload-body [data-upload-state=error] {color:var(--danger,#a02d44)}
.bouquet-upload-body [data-upload-state=done]>.icon {color:var(--success-text,#24674d)}
.bouquet-upload-body [data-upload-message]:empty,.bouquet-upload-body [data-upload-list]:empty {display:none}
.bouquet-upload-dialog footer {flex-wrap:wrap}
.bouquet-upload-dialog footer [hidden]{display:none}

.catalog-category-group+.catalog-category-group{margin-block-start:32px}
.catalog-category-group>h2{margin:0 0 14px;font-size:1.15rem}
.catalog-variant-price .photo-gallery{margin-top:12px}
.photo-gallery[data-variant] .gallery-heading h3{font-size:.9rem}
.photo-gallery[data-variant] .gallery-upload[hidden]{display:none}
.sms-transfer-section { padding: 22px 24px; border-top: 1px solid var(--border); }
.sms-wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sms-wallet-row > div { display: grid; gap: 3px; }
.sms-wallet-row strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.sms-transfer-history { margin-top: 20px; }
.sms-transfer-history summary { cursor: pointer; min-height: 44px; align-content: center; }
.sms-transfer-history table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.sms-transfer-history th { color: var(--muted); font-weight: 500; text-align: left; font-size: 12px; }
.sms-transfer-history th, .sms-transfer-history td { padding: 14px 10px; border-bottom: 1px solid var(--border); vertical-align: top; overflow-wrap: anywhere; white-space: normal; }
.sms-transfer-history small { display: block; margin-top: 4px; color: var(--muted); }
.sms-transfer-history .badge { white-space: normal; }
.sms-transfer-id { display: block; font-size: 12px; color: var(--muted); white-space: normal; overflow-wrap: anywhere; min-width: 0; }
@media(max-width:760px) {
 .sms-transfer-section { padding: 18px 16px; }
 .sms-transfer-history table, .sms-transfer-history tbody { display: block; }
 .sms-transfer-history thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
 .sms-transfer-history tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
 .sms-transfer-history td { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 3px 12px; padding: 6px 0; border: 0; }
 .sms-transfer-history td::before { content: attr(data-label); color: var(--muted); grid-row: 1 / span 4; }
 .sms-transfer-history td > * { grid-column: 2; }
 .sms-transfer-history .table-cell-label { display: none; }
}
