/* Shared form rhythm and quiet task surfaces, using the existing MOLINE palette. */
:root{--focus-rose:#bd668b;--control-line:#d5c2c9;--control-paper:#faf8f3}
body:has(.cf-page,.cabinet,.email-login)>.site-birds{opacity:.16!important}
body:has(.cf-page,.cabinet,.email-login) #app{min-height:0}
.cabinet-role-compact{display:flex;justify-content:center;align-items:center;gap:24px;padding:0 0 20px;margin:0 auto;max-width:480px;font-size:13px;line-height:1.5}
.cabinet-role-compact :is(a,span){display:inline-flex;align-items:center;min-height:44px}
.cabinet-role-compact a{color:var(--ink);text-decoration:underline;text-decoration-color:#d4a0b5;text-underline-offset:6px}
.cabinet-role-compact [aria-current]{color:#655854}
.email-login .email-tabs{gap:4px;padding:4px;background:#f8e8ef;border-radius:16px;margin:20px 0}
.email-login .email-tabs button{border:0;border-radius:12px;min-height:46px;padding:10px;font-size:14px;cursor:pointer}
.email-login .email-tabs button.selected{background:#e8b7c8}
.email-login>.script{max-width:100%;text-wrap:balance}
.email-login .auth-note{color:#655e59;font-size:12px;max-width:40ch}
.email-login .profile-form{position:relative}
.email-login .profile-form>label{margin-top:18px;font-size:13px}
.email-login .profile-form input[type=password],.email-login .profile-form input[data-password-field]{padding-right:90px}
.email-login .password-toggle{display:block;margin:-46px 8px 8px auto;position:relative;min-height:44px;min-width:72px;padding:8px;font:inherit;font-size:12px;line-height:1;z-index:1;text-decoration:none;cursor:pointer;color:#655854}
.email-login .profile-form>.form-actions{margin-top:20px;min-height:52px;font-size:14px}
.email-login .auth-actions{margin-top:10px;gap:4px 24px}
.email-login .auth-actions :is(a,button){font-size:13px;min-height:44px}
.tab-panel:has(.email-login){padding-bottom:24px}
.tab-panel:has(.cabinet) .cabinet-heading{gap:16px;align-items:center}
.cabinet-heading h1.script{overflow-wrap:anywhere;font-size:clamp(30px,6vw,48px);line-height:1.3}
.cabinet-heading .eyebrow{display:none}
.cabinet-tabs{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none;margin-bottom:28px}
.cabinet-tabs a{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;font-size:14px}
.cabinet .profile-form{max-width:540px}
.cabinet .profile-form h2{font-size:18px;font-weight:400;margin-bottom:20px}
.cabinet .profile-form label{font-size:13px;margin:18px 0 7px}
.profile-address{padding:24px 0 0;border:0;border-top:1px solid var(--line);margin:28px 0 0;min-width:0}
.profile-address legend{float:left;width:100%;font-size:14px;margin-bottom:16px}
.profile-house-options{display:grid;clear:both;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-form .profile-house-options label{position:relative;display:block;margin:0;cursor:pointer}
.profile-form .profile-house-options input{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;margin:0;cursor:pointer}
.profile-house-options span{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--control-line);border-radius:12px;background:var(--control-paper);font-size:14px}
.profile-house-options input:checked+span{background:#e8b7c8;border-color:#c997ab}
.profile-house-options input:focus-visible+span{outline:2px solid var(--focus-rose);outline-offset:3px}
html[data-input-mode=pointer] .profile-house-options input:focus-visible+span{outline:none}
.profile-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.profile-address-grid label{display:grid;gap:8px;min-width:0}
.profile-address-grid input{width:100%;box-sizing:border-box}
.profile-address>[data-remove-address]{min-height:44px;font-size:12px;margin-top:8px}
.profile-address[data-removing=true] :is(.profile-house-options,.profile-address-grid){display:none}
.profile-address[data-removing=true]>[data-remove-address]{display:none}
.profile-address[data-removing=true]::after{content:'Адрес будет удален после сохранения';display:block;clear:both;font-size:12px;line-height:1.6;color:#655854}
.account-test-history{margin-top:28px}
.account-test-history>h2{font:inherit;font-size:13px;color:#655e59;margin:0 0 12px}
.orders-list .order-card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:20px 0;background:transparent}
.orders-list .order-card .flex-row{align-items:baseline;gap:8px 16px;flex-wrap:wrap}
.orders-list .order-card .flex-row b{font-size:14px;font-weight:400}
.orders-list .order-card summary{min-height:44px;cursor:pointer;font-size:13px}
.orders-list .order-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.orders-list .order-bottom>b{font-size:18px;font-weight:400;margin-right:auto}
.orders-list .order-bottom a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}
.cf-shell{padding-bottom:24px;--muted:#655e59}
.cf-shell .cf-progress{margin-bottom:20px}
.cf-shell .cf-item h2{font-size:14px;text-wrap:pretty;overflow-wrap:anywhere}
.cf-shell .cf-item p{font-size:15px}
.cf-shell .cf-item-options{display:block;font-size:12px;line-height:1.6;color:#655e59;margin-top:4px}
.cf-shell .cf-summary{padding-block:12px;margin:16px 0 24px}
.cf-shell .cf-summary summary{min-height:44px;align-content:center;font-size:15px}
.cf-shell .cf-summary summary>span{font-size:11px}
.cf-shell .cf-segment{margin-top:38px}
.cf-shell .cf-segment button{font-size:14px;min-height:48px}
.cf-shell .cf-contact-summary{padding-top:16px;font-size:14px}
.cf-shell .cf-houses legend,.cf-shell .cf-time-label,.cf-shell label{font-size:13px}
.cf-shell .cf-help,.cf-shell .cf-test-note{font-size:12px}
.cf-shell .cf-extra{margin-block:20px;padding-top:12px;font-size:13px}
.cf-shell .cf-extra summary{min-height:44px;align-content:center}
.cf-unavailable{margin:20px 0 26px;font-size:14px;line-height:1.6}
.cf-unavailable p{margin:0 0 6px}
.cf-unavailable button{font:inherit;font-size:13px;min-height:44px;background:transparent;border:0;padding:0;color:var(--ink);text-decoration:underline;text-decoration-color:#d4a0b5;text-underline-offset:5px;cursor:pointer}
.cf-slot-empty{font-size:13px;line-height:1.6;color:#655e59}
.cf-date-quick button:disabled{opacity:.45;cursor:default}
.cf-own-time{scroll-margin-bottom:110px}
.cf-shell .cf-actions .cf-primary{font-size:14px}
.detail{border:0!important}
.detail .detail-info>.rule:empty,.product-copy>.rule:empty{display:none}
.product-description{font-size:14px;line-height:1.7;max-width:48ch}
.product-dialog .product-copy>.add-row{margin-top:24px}
.product-dialog .product-copy>.rule:has(+.product-options){display:none}
@media(min-width:900px){.cf-shell{max-width:660px}.view-footer{max-width:1200px;margin-inline:auto}.shared-brand .layer-masthead nav a{font-size:14px}.cf-shell .cf-help,.cf-shell .cf-test-note{font-size:13px}}
@media(max-width:600px){
 .cabinet-role-compact{justify-content:space-between;padding-bottom:12px;font-size:12px}
 .cabinet-tabs{gap:20px;margin-bottom:24px}
 .cabinet-tabs a{font-size:13px}
 .email-login{padding-top:4px}
 .email-login h1.script{font-size:clamp(28px,8vw,36px)}
 .cf-shell .cf-segment button{font-size:12px}
 .cf-shell .cf-summary summary>span{font-size:10px}
 .cf-shell .cf-actions{position:sticky;bottom:0;z-index:10;background:#faf8f3;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:16px}
 .cf-shell .cf-back{min-width:54px;font-size:12px}
 .cf-shell .cf-actions .cf-primary{font-size:13px;min-height:52px}
 .cf-shell .cf-test-note{margin-bottom:12px}
 .profile-address-grid{gap:0 12px}
}
@media(prefers-reduced-motion:reduce){.drink-dropdown-list{animation:none!important;transition:none!important}}

.basket-dock,.basket-dock img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}

#notice{background:#e8b7c8;color:var(--ink);box-shadow:0 6px 20px #44352f20;border-radius:12px;font-size:13px}
