/* HAPYCH — unified client design.
   Overrides historical mixed small-font rules without changing the site brand.
   No third-party fonts, trackers or UI dependencies. */
:root{
  --bg:#111113;
  --surface:#1e1d20;
  --surface-2:#252327;
  --ink:#f6f3ef;
  --muted:#b9b4b0;
  --line:#3f3a38;
  --orange:#ff8d35;
  --orange-light:#ffb571;
  --gutter:clamp(16px,2.3vw,32px);
  --wide:1260px;
}
html{font-size:16px}
body{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;letter-spacing:0;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit;letter-spacing:normal}
button,.btn{font-size:14px;font-weight:700;letter-spacing:0;line-height:1.35}
.btn{align-items:center;justify-content:center;gap:10px;min-height:48px;max-width:100%;padding:12px 18px;border-radius:9px;white-space:normal;text-align:center}
.btn:disabled{opacity:.48;filter:grayscale(.12)}
.btn-small{min-height:42px;padding:9px 14px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ffb069;outline-offset:2px}
.eyebrow{font-size:11px;font-weight:750;letter-spacing:.11em;line-height:1.45}
.muted,.helper,.form-note,.pricing-footnote{color:var(--muted)}
h1,h2,h3,h4,.brand-word b{font-family:inherit;text-wrap:balance}
h1,h2,h3{letter-spacing:-.035em}
p{overflow-wrap:break-word}
.flash-wrap{max-width:calc(var(--wide) + var(--gutter)*2);padding:12px var(--gutter)}
.flash{font-size:14px;line-height:1.6;padding:14px 16px;border-radius:9px}
.site-shell{min-height:100vh}
.site-header{height:78px;background:#151417}
.header-inner{max-width:calc(var(--wide) + var(--gutter)*2)}
.brand{gap:12px}.brand-mark{width:48px;height:48px}
.brand-word b{font-size:19px;font-weight:850;letter-spacing:.07em}
.brand-word small{font-size:10px;font-weight:750;letter-spacing:.24em}
.main-nav,.nav-auth{gap:27px}
.main-nav a,.sign-in,.nav-dashboard{font-size:14px;font-weight:650}
.main-nav [aria-current=page],.nav-dashboard[aria-current=page]{color:var(--orange-light)}
.site-header .nav-auth .btn{font-size:13px}
.footer{background:#141315}
.footer-inner{max-width:calc(var(--wide) + var(--gutter)*2);padding-top:27px;padding-bottom:28px}
.footer-links{display:flex;gap:21px;align-items:center;flex-wrap:wrap}
.footer-links a{font-size:13px;color:#c7c1bd;white-space:nowrap}
.footer-brand small,.footer-note{font-size:12px}
.footer-brand b{font-size:14px}
.footer-note{color:#a6a09d}

/* Common logged-in shell on all private screens. */
.account-shell{max-width:calc(var(--wide) + var(--gutter)*2);grid-template-columns:224px minmax(0,1fr);gap:40px;align-items:start;padding-top:44px;padding-bottom:85px;min-height:calc(100vh - 180px)}
.account-main{min-width:0;width:100%}
.account-sidebar{position:sticky;top:20px;align-self:start;padding:0;min-width:0}
.sidebar-heading{display:flex;flex-direction:column;gap:6px;padding:14px 14px 19px;border-bottom:1px solid var(--line)}
.sidebar-heading strong{font-size:20px;font-weight:830;letter-spacing:-.025em;line-height:1.2}
.sidebar-heading small{font-size:13px;color:var(--muted)}
.account-nav{margin:14px 0 0;gap:5px}
.account-nav a{font-size:14px;line-height:1.35;font-weight:670;gap:12px;padding:13px 14px;border-left:3px solid transparent;border-radius:0 8px 8px 0;min-height:47px;white-space:normal}
.account-nav span{font-size:19px;flex:0 0 23px;text-align:center;width:23px}
.account-nav a:hover,.account-nav a.active{background:#29231f;border-color:var(--orange);color:#fff}
.sidebar-help{margin-top:30px;padding:20px 13px 0}
.sidebar-help b{font-size:14px}
.sidebar-help p{font-size:13px;line-height:1.6}
.sidebar-help a{font-size:13px;line-height:1.4}
.account-heading{align-items:flex-end;gap:16px;margin-bottom:29px}
.account-heading h1{font-size:clamp(31px,3.2vw,46px);font-weight:850;line-height:1.13;letter-spacing:-.045em;margin:10px 0 9px}
.account-heading h1 span{color:var(--orange)}
.account-heading p{font-size:15px;line-height:1.6;max-width:640px;margin:0;color:var(--muted)}
.account-avatar{flex-shrink:0}
.dashboard-section-header h2,.cabinet-section-heading h2{font-size:23px;letter-spacing:-.025em;font-weight:770}
.subscription-hero{border-radius:12px}
.subscription-body p,.subscription-bottom{font-size:14px}
.subscription-badge{font-size:13px}
.empty-sub,.account-empty-card{background:#242124;border:1px solid #55443d;border-radius:12px;padding:28px}
.empty-sub h2{font-size:clamp(26px,3vw,39px);line-height:1.18}
.empty-sub p,.account-empty-card p{font-size:15px;line-height:1.65;color:var(--muted);max-width:680px}
.dashboard-empty-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}
.dashboard-note,.settings-card{border-radius:12px}
.dashboard-note p{font-size:14px;line-height:1.7}
.quick-actions a{border-radius:10px;padding:22px}
.quick-actions a b{font-size:17px}
.quick-actions a small{font-size:13px}
.detail-line span,.detail-line b{font-size:14px;line-height:1.55}
.settings-card{padding:27px}
.settings-card h2{font-size:23px}
.settings-card .helper,.helper{font-size:13px;line-height:1.65}
.logout-form{margin-top:25px}

/* All inputs and forms use the same readable sizing and focus state. */
.auth-form>label,.settings-card label,.simple-form label,.connection-card label,.checkout-phone-label{color:#eee4df;font-size:14px;font-weight:675;line-height:1.45}
.auth-form input:not([type=checkbox]),.settings-card input,.simple-form input,.connection-card select,
.checkout-phone-input{font-size:16px!important;min-height:49px;border:1px solid #6a5d57;border-radius:9px;background:#19181b;color:#f9f6f3;padding:12px 14px;box-sizing:border-box}
.auth-form input::placeholder,.settings-card input::placeholder,.simple-form input::placeholder{color:#a7a1a0}
.auth-panel{border-radius:12px;padding:35px}
.auth-panel h2{font-size:clamp(28px,2.8vw,37px);font-weight:790;line-height:1.16}
.auth-panel>.muted{font-size:14px}
.auth-panel .form-note{font-size:13px;line-height:1.6}
.auth-story h1{font-weight:850;letter-spacing:-.045em;line-height:1.08}
.auth-story p{font-size:16px;line-height:1.7}
.auth-form{margin-top:25px}
.auth-form>label{margin-top:17px}
.auth-form .btn-full{width:100%;justify-content:center}
.auth-form .check-label{font-size:13px;line-height:1.65}
.simple-form{max-width:710px;padding-top:52px;padding-bottom:95px}
.simple-form h1{font-weight:830;line-height:1.12;font-size:clamp(32px,3.8vw,48px)}
.simple-form p{font-size:15px;line-height:1.65}
.simple-form form{margin-top:22px}
.content-page{padding-top:55px;padding-bottom:75px}
.content-page h1,.legal-page h1{font-size:clamp(33px,4vw,51px);font-weight:850;line-height:1.11}
.content-lead{font-size:16px;line-height:1.7}
.help-grid h2{font-size:20px;font-weight:750}
.help-grid p,.legal-page p{font-size:15px;line-height:1.75}
.support-banner{border-radius:12px}
.footer-links a:hover,.text-navigation:hover{color:var(--orange-light)}
.account-main .content-page{padding:0}
.account-main .content-page h1{font-size:clamp(31px,3.2vw,46px)}

/* Pricing pages: public marketing cards and larger 2-column account cards. */
.pricing-head{align-items:center;gap:20px}
.pricing-head h1,.pricing-head h2{font-size:clamp(31px,3.4vw,46px);font-weight:850;line-height:1.12;letter-spacing:-.045em}
.pricing-head p,.pricing-footnote{font-size:14px;line-height:1.7}
.plans-grid{gap:15px}
.plan{border-radius:11px;min-width:0;padding:24px;border-color:#514943;min-height:370px}
.plan h3{font-size:25px;font-weight:800;letter-spacing:-.03em;margin-top:20px}
.plan-duration{font-size:14px;margin-bottom:13px}
.plan-price{min-height:77px;margin-top:0}
.plan-price strong{font-size:37px;font-weight:850;line-height:1.15;letter-spacing:-.045em}
.plan-price small{font-size:13px;line-height:1.5}
.plan-overline{font-size:11px;letter-spacing:.08em;font-weight:800}
.plan-includes{font-size:14px;line-height:1.55;gap:9px;color:#e4dcd7}
.plan-includes li{padding-left:0}
.plan-includes li:before{content:"✓";margin-right:9px;font-weight:800}
.plan .btn{font-size:14px;min-height:48px}
.plan-spotlight{background:#2b2420;border-color:#df7c32}
.plan-accent-note{padding:5px 8px;border-radius:4px;background:#ff8d3525;color:var(--orange-light);font-size:10px}
.checkout-pricing.account-main{background:transparent;max-width:100%;padding:0}
.checkout-pricing .account-heading{margin-bottom:27px}
.checkout-pricing .plans-grid,.checkout-pricing .checkout-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.checkout-pricing .plan{padding:27px;min-height:575px}
.checkout-pricing .plan h3{font-size:26px;margin:17px 0 3px}
.checkout-pricing .plan-duration{font-size:15px;margin-bottom:15px}
.checkout-pricing .plan-price{min-height:78px}
.checkout-pricing .plan-price strong{font-size:41px}
.checkout-pricing .plan-price small{font-size:13px}
.checkout-pricing .plan-includes{font-size:14px;gap:9px;line-height:1.48;margin-bottom:24px}
.checkout-pricing .plan-overline{display:flex;justify-content:space-between;align-items:center;gap:10px}
.checkout-pricing .plan-sep{margin:12px 0 17px}
.checkout-actions{margin-top:auto;display:flex;flex-direction:column;gap:13px}
.checkout-pay-form{gap:9px;min-width:0;width:100%}
.checkout-pay-form .btn{min-width:0;max-width:100%;width:100%;min-height:50px;letter-spacing:0;font-size:14px;font-weight:750;padding:12px 10px;line-height:1.35;white-space:normal}
.checkout-phone-label{font-size:14px;line-height:1.45;margin:0}
.checkout-phone-input{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;height:50px!important;font-size:16px!important;background:#19181b!important;border-radius:9px!important;border-color:#66544c!important;padding:12px 14px!important}
.checkout-phone-input::placeholder{color:#a9a4a2}
.checkout-payment-divider{display:flex;gap:12px;align-items:center;color:#b9b0ab;font-size:12px;text-align:center}
.checkout-payment-divider:before,.checkout-payment-divider:after{content:"";height:1px;background:#514741;flex:1;min-width:8px}
.checkout-sberpay-form{gap:10px}
.checkout-sberpay-form .btn{border-color:#84664f}
.checkout-alert{border:1px solid #8a633e;border-left:4px solid var(--orange);border-radius:9px;background:#302720;padding:19px 20px;margin:0 0 24px}
.checkout-alert strong{display:block;font-size:17px;line-height:1.45;color:#f8e4d1}
.checkout-alert p{font-size:14px;line-height:1.65;color:#e1d1c0;margin:6px 0 0}
.checkout-alert a{color:var(--orange-light);font-weight:700}
.checkout-alert-success{border-color:#55806b;border-left-color:#82cc9c;background:#1e3227}
.checkout-alert-success strong{color:#bceccd}
.checkout-alert-success p{color:#cce1d6}
.inline-action{margin-top:15px}
.cabinet-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:34px 0 17px}
.cabinet-section-heading h2{font-size:24px;font-weight:800;margin:7px 0 0}
.cabinet-section-sub{font-size:13px;color:var(--muted)}
.payment-explainer,.orders-guidance{display:flex;align-items:flex-start;gap:15px;border:1px solid #51463e;border-radius:12px;padding:19px 20px;margin-top:22px;background:#211f20}
.payment-explainer-mark,.orders-guidance>span{flex-shrink:0;font-size:21px;color:var(--orange-light)}
.payment-explainer strong{font-size:16px;font-weight:750}
.payment-explainer p,.orders-guidance p{font-size:14px;line-height:1.7;margin:6px 0 0;color:var(--muted)}
.text-navigation{font-size:14px;text-decoration:none;color:var(--orange-light);font-weight:750;white-space:nowrap}
.order-list{display:flex;flex-direction:column;border:1px solid #46403e;background:#1e1d20;border-radius:12px;overflow:hidden}
.order-list-item{padding:20px 21px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;border-bottom:1px solid #3e3937}
.order-list-item:last-child{border-bottom:0}
.order-list-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.order-list-title{font-size:17px;line-height:1.35;font-weight:760}
.order-list-meta{font-size:13px;color:var(--muted)}
.order-list-item .btn{min-height:41px;font-size:13px;padding:9px 13px}
.order-state{display:inline-flex;align-items:center;justify-content:center;max-width:100%;font-size:12px;line-height:1.35;font-weight:750;white-space:nowrap;padding:7px 11px;border-radius:100px;border:1px solid #705846;background:#372920;color:#f7d6b5}
.order-state.state-done{border-color:#416d55;background:#1d3526;color:#b6ebca}
.order-state.state-muted{border-color:#585454;background:#282729;color:#c9c5c3}
.order-detail-card{padding:27px;border:1px solid #534b46;background:#211f21;border-radius:12px}
.order-detail-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}
.order-detail-top h2{font-size:28px;font-weight:820;letter-spacing:-.025em;margin:11px 0 4px}
.order-detail-price{font-size:31px;line-height:1.2;font-weight:850;margin:0;color:var(--orange-light)}
.order-payment-panel{padding:20px 21px;background:#292529;border:1px solid #57483c;border-radius:10px;margin:15px 0}
.order-payment-panel h3{font-size:19px;margin:0 0 9px;font-weight:760}
.order-payment-panel p{font-size:14px;line-height:1.7;color:#ded6d1;margin:0 0 12px}
.order-payment-panel .btn{margin-top:4px}
.order-payment-qr{text-align:center}
.order-payment-qr img{display:block;padding:13px;background:white;margin:16px auto;border-radius:10px;max-width:100%}
.order-check-form{margin:20px 0}
.order-meta-section{margin-top:25px;border-top:1px solid #51453d;padding-top:17px;display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;font-size:13px;color:var(--muted)}
.order-meta-section code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#eae5e0;font-size:12px;word-break:break-all}
.order-detail-actions{display:flex;gap:11px;flex-wrap:wrap;margin:17px 0}
.order-detail-footer{margin-top:20px}
.account-empty-card{margin-top:15px}
.account-empty-card strong{font-size:19px;font-weight:750}
.account-empty-card .btn{margin-top:10px}
.orders-guidance{margin:0 0 19px}

/* Checkout widget follows the same logged-in shell. */
.account-main.hapych-widget-section{max-width:100%;min-width:0;padding:0}
.widget-order-summary{display:flex;align-items:center;gap:22px;border:1px solid #514943;border-radius:10px;background:#242123;padding:15px 19px;margin-bottom:18px;flex-wrap:wrap}
.widget-order-summary>div{display:flex;flex-direction:column;gap:4px}
.widget-order-summary>div span{font-size:12px;color:var(--muted)}
.widget-order-summary>div strong{font-size:21px;font-weight:810;line-height:1.25}
.widget-order-summary .order-state{margin-left:auto}
.hapych-widget-frame{border-radius:12px;padding:23px}
.hapych-widget-head strong{font-size:18px}
.hapych-widget-head small{font-size:13px}
.hapych-widget-notice{font-size:15px}
.hapych-widget-footnote{font-size:13px!important;line-height:1.7}

/* Public pages need the same typography, with no cramped forms. */
.pricing-section .pricing-head p{font-size:15px}
.hero-lead,.device-copy p{font-size:16px;line-height:1.7}
.form-end a,.form-note,.auth-panel a{font-size:14px}
.check-label span{font-size:13px;line-height:1.65}
.content-page .support-banner p{font-size:14px}
.legal-page{max-width:1040px}
.legal-page p{font-size:15px;line-height:1.8}
button[disabled]{opacity:.52}

/* Responsive sidebar becomes a consistent horizontal tab bar. */
@media(max-width:1100px){
  .account-shell{grid-template-columns:194px minmax(0,1fr);gap:25px}
  .sidebar-heading strong{font-size:18px}
  .account-nav a{font-size:13px;gap:9px;padding:12px 10px}
  .checkout-pricing .plans-grid,.checkout-pricing .checkout-plan-grid{gap:14px}
  .checkout-pricing .plan{padding:22px}
  .checkout-pricing .plan h3{font-size:24px}
}
@media(max-width:930px){
  .account-shell{grid-template-columns:minmax(0,1fr);gap:22px;padding-top:24px;padding-bottom:58px}
  .account-sidebar{position:static;top:auto;padding:0}
  .sidebar-heading,.sidebar-help{display:none}
  .account-nav{display:flex;flex-direction:row;gap:4px;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px;border-bottom:1px solid var(--line);margin:0}
  .account-nav a{white-space:nowrap;flex:0 0 auto;padding:12px 14px;min-height:46px;border-left:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;font-size:14px}
  .account-nav a.active{border-bottom-color:var(--orange)}
  .account-nav span{font-size:16px;flex-basis:19px;width:19px}
  .checkout-pricing .plans-grid,.checkout-pricing .checkout-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-heading{margin-bottom:25px}
}
@media(max-width:720px){
  .checkout-pricing .plans-grid,.checkout-pricing .checkout-plan-grid{grid-template-columns:minmax(0,1fr);gap:15px}
  .checkout-pricing .plan{padding:23px;min-height:0}
  .checkout-pricing .plan-price strong{font-size:40px}
  .checkout-pricing .plan-includes{margin-bottom:21px}
  .account-heading{align-items:flex-start;flex-direction:column;gap:13px}
  .account-heading .btn{width:100%}
  .order-list-item{grid-template-columns:1fr auto;gap:11px}
  .order-list-item .btn{grid-column:1/-1;justify-content:center}
  .order-detail-top{align-items:flex-start;flex-direction:column;gap:12px}
  .account-cards{grid-template-columns:minmax(0,1fr)}
  .dashboard-lower{grid-template-columns:1fr}
  .settings-card{padding:22px}
}
@media(max-width:520px){
  body{font-size:15px}
  .account-shell{padding-top:15px;padding-bottom:46px}
  .site-header{height:72px}
  .header-inner{gap:12px}
  .brand-mark{width:43px;height:43px}
  .brand-word b{font-size:17px}
  .account-nav a{font-size:13px;padding:11px 12px}
  .account-heading h1{font-size:31px}
  .checkout-pricing .plan{padding:19px}
  .checkout-pricing .plan h3{font-size:24px}
  .checkout-pricing .plan-price strong{font-size:38px}
  .checkout-pricing .checkout-pay-form .btn{min-height:49px;font-size:14px}
  .checkout-pricing .plan-includes{font-size:14px}
  .cabinet-section-heading{align-items:flex-start;flex-direction:column;gap:8px}
  .order-list-item{padding:17px}
  .order-detail-card{padding:18px}
  .order-detail-actions .btn{width:100%}
  .payment-explainer,.orders-guidance{padding:16px}
  .widget-order-summary{gap:12px}
  .widget-order-summary .order-state{margin-left:0}
  .hapych-widget-frame{padding:14px}
  .footer-inner{padding-top:22px;padding-bottom:22px}
}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* One shared visual language for password recovery and security forms. */
.security-header h1 span{color:var(--orange)}
.security-header>p{max-width:570px;font-size:16px;line-height:1.65;color:var(--muted)}
.security-card{background:#222022;border:1px solid #554b46;border-radius:12px;padding:27px 30px;margin-top:24px}
.security-card-header h2{font-size:23px;letter-spacing:-.03em;font-weight:790;margin:0 0 8px}
.security-card-header p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.security-form{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin:22px 0 0!important}
.security-form label{font-size:14px;font-weight:700;margin:0!important}
.security-form input{margin:0!important;min-height:50px!important;font-size:16px!important}
.security-form .btn{margin-top:8px;width:100%}
.security-back{display:inline-block;margin-top:22px;font-size:14px;color:var(--orange-light);text-decoration:none;font-weight:700}
.security-card .checkout-alert{margin:0 0 20px}
.security-card .checkout-alert .btn{margin-top:15px}
.security-card .password-field{width:100%}
.security-card .password-field input{padding-right:100px}
@media(max-width:520px){.security-card{padding:20px}}

/* Customer self-service: cancellation, history visibility and account removal. */
.order-list-actions{
  min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px
}
.order-list-actions>.btn{min-height:40px}
.danger-panel,.history-settings-panel{
  border:1px solid #67473b;border-radius:12px;
  background:#241e1f;padding:23px 24px;margin:26px 0 0;min-width:0
}
.account-delete-panel{margin-top:27px}
.danger-panel .eyebrow,.history-settings-panel .eyebrow{color:#ffb073}
.danger-panel h2,.history-settings-panel h2{
  font-size:21px;font-weight:800;line-height:1.3;letter-spacing:-.035em;margin:11px 0
}
.danger-panel p,.history-settings-panel p{
  font-size:14px;line-height:1.72;color:#cfc4c0;margin:9px 0
}
.danger-details{margin-top:17px;min-width:0}
.danger-details>summary,.inline-cancel>summary,.order-cancel-panel>summary{
  cursor:pointer;list-style:none;display:inline-flex;align-items:center;justify-content:center;
  color:#ffb69e;background:#332423;border:1px solid #9a5d4f;border-radius:8px;
  min-height:42px;padding:10px 15px;font-size:14px;font-weight:760;line-height:1.3;
}
.danger-details>summary::after,.inline-cancel>summary::after,.order-cancel-panel>summary::after{
  content:"⌄";display:inline-block;margin-left:9px;font-size:16px;line-height:1
}
.danger-details[open]>summary::after,.inline-cancel[open]>summary::after,
.order-cancel-panel[open]>summary::after{transform:rotate(180deg)}
.danger-details>summary::-webkit-details-marker,.inline-cancel>summary::-webkit-details-marker,
.order-cancel-panel>summary::-webkit-details-marker{display:none}
.danger-details[open]>summary,.inline-cancel[open]>summary{background:#42302e}
.danger-confirm-form{display:flex;flex-direction:column;gap:10px;max-width:510px;margin-top:19px}
.danger-confirm-form label{font-size:14px;font-weight:720;color:#eaddd6;line-height:1.5}
.danger-confirm-form input[type=password],.danger-confirm-form input[type=text]{
  display:block;width:100%;min-height:49px;padding:12px 14px;
  background:#141315;border:1px solid #896456;border-radius:9px;
  color:#fff;font-size:16px;box-sizing:border-box
}
.danger-confirm-check{
  display:flex;align-items:flex-start;gap:11px;margin:7px 0;
  font-weight:500!important;line-height:1.6!important;
}
.danger-confirm-check input[type=checkbox]{
  flex:0 0 20px;width:20px;height:20px;margin-top:2px;accent-color:#ee8c61
}
.danger-button,.btn.danger-button{
  background:#542e2b;border:1px solid #d57a66;color:#ffe2d6;
  min-height:44px;font-size:14px;font-weight:770;
  justify-content:center;text-align:center
}
.danger-button:hover,.btn.danger-button:hover:not(:disabled){
  background:#71362d;color:#fff4ee
}
.order-cancel-panel{
  margin:20px 0 0;padding:17px 19px;background:#282023
}
.order-cancel-panel form{margin-top:12px}
.history-settings-panel{
  display:flex;justify-content:space-between;align-items:flex-start;gap:24px;
  margin-top:27px;background:#211f21;
}
.history-settings-panel>div{max-width:590px}
.history-settings-panel .danger-details{min-width:205px;margin:4px 0 0}
.history-settings-panel .danger-confirm-form{min-width:210px}
.inline-cancel{position:relative;max-width:230px;min-width:0}
.inline-cancel>summary{min-height:40px;font-size:13px;padding:8px 10px}
.inline-cancel[open]{
  background:#282124;border:1px solid #7e5143;
  padding:12px;border-radius:9px;flex:0 0 220px
}
.inline-cancel[open]>summary{min-height:35px;width:100%;font-size:13px}
.inline-cancel p{font-size:12px;line-height:1.5;margin:11px 0;color:#d1bfba}
.inline-cancel .danger-button{font-size:12px;min-height:41px;padding:8px}
.inline-cancel form{margin:0}
.order-list-item{min-width:0;align-items:center}
@media(max-width:880px){
  .history-settings-panel{flex-direction:column;gap:12px}
  .history-settings-panel .danger-details{width:100%;min-width:0}
  .order-list-actions{justify-content:flex-start}
}
@media(max-width:720px){
  .order-list-actions{grid-column:1/-1;justify-content:flex-start;width:100%}
  .order-list-actions>.btn{width:auto}
  .danger-panel,.history-settings-panel{padding:20px;margin-top:23px}
}
@media(max-width:520px){
  .order-list-actions{flex-direction:column;align-items:stretch}
  .order-list-actions>.btn,.inline-cancel,.inline-cancel>summary{width:100%;max-width:none}
  .inline-cancel[open]{width:100%;flex:unset}
  .danger-confirm-form{max-width:none}
}

/* Bank widget network-error alternative */
.hapych-widget-fallback{margin:8px auto 12px;max-width:620px}
.hapych-widget-fallback-box{padding:15px 16px;margin:15px 0;background:#262426;border:1px solid #655344;border-radius:10px}
.hapych-widget-fallback-box h3{margin:0 0 7px;font-size:17px;line-height:1.3;color:#fff}
.hapych-widget-fallback-box p{font-size:13px;line-height:1.6;margin:0 0 12px}
.hapych-widget-fallback-box form{display:grid;gap:10px;margin-top:11px}
.hapych-widget-fallback-box form label{display:block;color:#eee0d7;font-size:13px}
.hapych-widget-fallback-box form input{width:100%;max-width:400px;font-size:15px;min-height:43px}
.hapych-widget-fallback-box form button{width:max-content;max-width:100%}
@media(max-width:560px){.hapych-widget-fallback-box form button{width:100%}}

/* Accessible canonical copyright never changes during the visual animation. */
.hc-screenreader-only {
  position:absolute !important;
  width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
