/* Account and authentication surfaces. Scoped to avoid affecting calculators and administration. */
body.amt-account,body.amt-auth{
  --ac-bg:#f5f7f8;--ac-surface:#fff;--ac-ink:#15282e;--ac-muted:#62777d;
  --ac-teal:#078ba1;--ac-teal-hover:#06788c;--ac-light:#e7f6f8;--ac-border:#dce6ea;
  --ac-soft:#f7fafb;--ac-warning-bg:#fff6e4;--ac-warning:#865b0a;--ac-error:#a63636;
  --amt-bg:var(--ac-bg);--amt-panel:var(--ac-surface);--amt-text:var(--ac-ink);--amt-muted:var(--ac-muted);
  --amt-accent:var(--ac-teal);--amt-input:var(--ac-surface);--amt-input-line:var(--ac-border);
  --amt-line:var(--ac-border);--amt-raised:var(--ac-soft);--amt-selected:var(--ac-light);
  margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5;
  background:var(--ac-bg);color:var(--ac-ink);min-width:320px;
}
html[data-amt-theme="dark"] body:is(.amt-account,.amt-auth){--ac-bg:#121e24;--ac-surface:#1a2a32;--ac-ink:#e5eff2;--ac-muted:#a6bbc3;--ac-teal:#38c1d4;--ac-teal-hover:#69d7e5;--ac-light:#1b3c45;--ac-border:#334b55;--ac-soft:#20333c;--ac-warning-bg:#3c3420;--ac-warning:#f0d18b;--ac-error:#ffb7b7;--amt-button-text:#102b33}
:is(.amt-account,.amt-auth) *{box-sizing:border-box}
:is(.amt-account,.amt-auth) [hidden]{display:none!important}
:is(.amt-account,.amt-auth) :is(button,input,select,textarea){font:inherit}
:is(.amt-account,.amt-auth) :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--ac-teal)!important;outline-offset:3px!important}
:is(.amt-account,.amt-auth) :is(button,a){-webkit-tap-highlight-color:transparent}
:is(.amt-account,.amt-auth) button{cursor:pointer}
:is(.amt-account,.amt-auth) button:disabled{cursor:wait;opacity:.55}
:is(.amt-account,.amt-auth) a{text-decoration:none}
:is(.amt-account,.amt-auth) :is(h1,h2,h3,h4,p){margin-top:0}
:is(.amt-account,.amt-auth) h1{font-size:clamp(27px,2.2vw,36px);line-height:1.2;letter-spacing:-.035em;margin:5px 0 9px;font-weight:750}
:is(.amt-account,.amt-auth) h2{font-size:20px;line-height:1.35;letter-spacing:-.015em;margin:0 0 8px;font-weight:720}
:is(.amt-account,.amt-auth) h3{font-size:17px;line-height:1.4;margin:0 0 8px;font-weight:700}
:is(.amt-account,.amt-auth) h4{font-size:16px;margin:0 0 7px}
:is(.amt-account,.amt-auth) p{line-height:1.6;margin-bottom:14px;font-size:15px;overflow-wrap:anywhere}
:is(.amt-account,.amt-auth) small{font-size:13px;line-height:1.55}
:is(.amt-account,.amt-auth) .ac-small{font-size:13px}
:is(.amt-account,.amt-auth) .ac-muted{color:var(--ac-muted)}
:is(.amt-account,.amt-auth) .ac-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;
  border:1px solid var(--ac-border)!important;border-radius:12px;white-space:normal;text-align:center;
  font-size:14px;font-weight:650;line-height:1.4;background:var(--ac-surface)!important;color:var(--ac-ink)!important;
  text-decoration:none;box-shadow:none!important;transition:background .16s,border-color .16s,transform .16s;
}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-button:hover:not(:disabled){border-color:var(--ac-teal)!important;background:var(--ac-light)!important}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-primary{background:var(--ac-teal)!important;border-color:var(--ac-teal)!important;color:#fff!important}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-primary:hover:not(:disabled){background:var(--ac-teal-hover)!important;border-color:var(--ac-teal-hover)!important;color:#fff!important}
html[data-amt-theme="dark"] body:is(.amt-account,.amt-auth) .ac-primary{color:#102b33!important}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-danger{color:var(--ac-error)!important;background:var(--ac-surface)!important;border-color:#dfbdbd!important}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-icon-button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;border:1px solid var(--ac-border)!important;background:var(--ac-surface)!important;color:var(--ac-ink)!important;font-size:25px;line-height:1}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-text-button{border:0!important;background:transparent!important;color:var(--ac-teal)!important;min-height:44px;padding:8px 5px;font-size:14px;font-weight:650;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-text-button:hover{text-decoration-color:currentColor}
:is(.amt-account,.amt-auth) .ac-eyebrow{display:block;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--ac-teal);margin-bottom:8px}
:is(.amt-account,.amt-auth) .ac-field{margin:20px 0}
:is(.amt-account,.amt-auth) label{display:block;font-size:14px;font-weight:600;line-height:1.4;margin:0 0 8px}
html[data-amt-theme] body:is(.amt-account,.amt-auth) :is(input:not([type=checkbox]),select,textarea){display:block;max-width:100%;width:100%;min-height:46px;border:1px solid var(--ac-border)!important;border-radius:11px;padding:11px 13px;background:var(--ac-surface)!important;color:var(--ac-ink)!important;font-size:16px;line-height:1.4;box-shadow:none!important}
:is(.amt-account,.amt-auth) input[readonly]{cursor:default}
:is(.amt-account,.amt-auth) input:disabled{opacity:.65}
:is(.amt-account,.amt-auth) textarea{resize:vertical;min-height:92px}
:is(.amt-account,.amt-auth) .ac-field small{display:block;margin-top:7px}
:is(.amt-account,.amt-auth) .ac-notice{border:1px solid var(--ac-border);border-radius:12px;background:var(--ac-light);color:var(--ac-ink);padding:12px 15px;margin:0 0 20px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
:is(.amt-account,.amt-auth) .ac-notice:empty{display:none}
html[data-amt-theme] body:is(.amt-account,.amt-auth) .ac-notice.ac-error{background:var(--ac-warning-bg)!important;border-color:#dfbdbd!important;color:var(--ac-error)!important}
.amt-account .ac-layout{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}
.amt-account .ac-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--ac-surface);border-right:1px solid var(--ac-border);z-index:30;scrollbar-width:thin;display:flex;flex-direction:column}
html body.amt-account .ac-sidebar.amtLogoSidebar{padding:28px 20px 20px!important}
.amt-account .ac-sidebar .logo{padding:0 5px!important}
.amt-account .ac-sidebar-caption{font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:var(--ac-muted);margin:13px 5px 25px}
.amt-account .ac-user-card{display:flex;align-items:center;gap:11px;padding:14px 10px;border-top:1px solid var(--ac-border);border-bottom:1px solid var(--ac-border);margin:0 0 16px;min-width:0}
.amt-account .ac-avatar{display:grid;place-items:center;background:var(--ac-light);color:var(--ac-teal);border:1px solid var(--ac-border);width:42px;height:42px;border-radius:50%;font-size:15px;font-weight:750;flex:0 0 42px}
.amt-account .ac-user-copy{min-width:0}
.amt-account .ac-user-copy strong{display:block;font-size:14px;overflow-wrap:anywhere}
.amt-account .ac-user-copy span{display:block;font-size:12px;color:var(--ac-muted);overflow-wrap:anywhere;margin-top:2px}
.amt-account .ac-nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--ac-muted);font-weight:700;margin:20px 12px 9px}
html[data-amt-theme] body.amt-account .ac-nav{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;padding:11px 12px;margin:3px 0;text-align:left;background:transparent!important;color:var(--ac-ink)!important;border:1px solid transparent!important;border-radius:11px;font-size:14px;line-height:1.45;transition:background .16s}
html[data-amt-theme] body.amt-account .ac-nav:hover{background:var(--ac-soft)!important;border-color:var(--ac-border)!important}
html[data-amt-theme] body.amt-account .ac-nav.active{background:var(--ac-light)!important;color:var(--ac-teal)!important;font-weight:650;border-color:var(--ac-light)!important}
.amt-account .ac-nav-icon{width:20px;text-align:center;flex:0 0 20px;font-size:19px;line-height:1}
.amt-account .ac-nav b{font-size:11px;font-weight:650;margin-left:auto;min-width:23px;padding:2px 6px;border-radius:6px;background:var(--ac-soft);text-align:center;color:inherit!important}
.amt-account .ac-nav.active b{background:var(--ac-surface);color:var(--ac-teal)!important}
.amt-account .ac-sidebar-note{padding:22px 12px 0;margin-top:auto;margin-bottom:0;font-size:11px;line-height:1.7;color:var(--ac-muted)}
.amt-account .ac-shell{min-width:0;display:flex;flex-direction:column}
.amt-account .ac-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;padding:18px 38px;background:var(--ac-surface);border-bottom:1px solid var(--ac-border)}
.amt-account .ac-topbar-title{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--ac-muted)}
.amt-account .ac-topbar>.ac-button{white-space:nowrap}
.amt-account .ac-main{max-width:1440px;width:100%;margin:0 auto;padding:38px;flex:1;outline:none!important}
.amt-account .ac-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 25px}
.amt-account .ac-page-heading p{margin-bottom:0;color:var(--ac-muted)}
.amt-account .ac-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:30px}
html[data-amt-theme] body.amt-account .ac-stat{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid var(--ac-border)!important;border-radius:15px;padding:17px 18px;background:var(--ac-surface)!important;text-align:left;color:var(--ac-muted)!important;font-size:12px;line-height:1.4}
html[data-amt-theme] body.amt-account .ac-stat:hover,html[data-amt-theme] body.amt-account .ac-stat.active{border-color:var(--ac-teal)!important;background:var(--ac-light)!important}
.amt-account .ac-stat>strong{font-size:30px;line-height:1;letter-spacing:-.04em;color:var(--ac-ink)!important}
.amt-account .ac-stat .ac-stat-link{font-size:10px;font-weight:650;color:var(--ac-teal)}
.amt-account .ac-filters{display:flex;align-items:flex-end;gap:14px;margin-bottom:24px}
.amt-account .ac-search-field{flex:1;max-width:600px}
.amt-account .ac-filter-field{flex:0 0 230px;margin-left:auto}
.amt-account .ac-filters label{font-size:12px;color:var(--ac-muted)}
.amt-account .ac-results-line{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.amt-account .ac-results-line h2{font-size:17px;margin:0}
.amt-account .ac-results-line>span{font-size:12px;color:var(--ac-muted)}
.amt-account .ac-order-list{display:grid;gap:14px}
.amt-account .ac-order-card{background:var(--ac-surface);border:1px solid var(--ac-border);border-radius:16px;overflow:hidden;transition:border-color .2s}
.amt-account .ac-order-card:hover{border-color:#abc9d0}
.amt-account .ac-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px 0}
.amt-account .ac-order-card h3{font-size:18px;margin:0 0 4px}
.amt-account .ac-order-date{font-size:12px;margin:0;color:var(--ac-muted)}
.amt-account .ac-badge{display:inline-flex;align-items:center;gap:7px;border-radius:8px;padding:6px 10px;background:var(--ac-light);color:var(--ac-teal);font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap}
.amt-account .ac-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.amt-account :is(.ac-status-review,.ac-status-awaiting_payment){background:var(--ac-warning-bg);color:var(--ac-warning)}
.amt-account :is(.ac-status-ready,.ac-status-completed){background:#e7f5ed;color:#26734d}
.amt-account .ac-status-canceled{background:var(--ac-soft);color:var(--ac-muted)}
.amt-account .ac-order-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;padding:22px 24px}
.amt-account .ac-meta-item{min-width:0}
.amt-account .ac-meta-item>span{display:block;font-size:11px;margin-bottom:5px;color:var(--ac-muted)}
.amt-account .ac-meta-item>strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}
.amt-account .ac-meta-price{text-align:right}
.amt-account .ac-meta-price>strong{font-size:22px;font-weight:750;letter-spacing:-.025em}
.amt-account .ac-order-card-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--ac-border);background:var(--ac-soft);padding:15px 24px}
.amt-account .ac-order-card-bottom>.ac-button{flex-shrink:0;min-width:160px}
.amt-account .ac-order-next{min-width:0}
.amt-account .ac-order-next p{font-size:14px;line-height:1.5;margin:0;color:var(--ac-muted)}
.amt-account .ac-order-next small{display:block;margin-top:4px;font-size:11px}
.amt-account .ac-test-label{display:inline-block;font-size:10px;line-height:1.5;color:var(--ac-warning);margin-top:5px;font-weight:650}
.amt-account .ac-limit-note{margin:15px 0;font-size:12px}
.amt-account .ac-empty{text-align:center;background:var(--ac-surface);border:1px dashed var(--ac-border);border-radius:16px;padding:50px 24px;color:var(--ac-muted)}
.amt-account .ac-empty-icon{display:block;font-size:36px;color:var(--ac-teal);margin-bottom:15px}
.amt-account .ac-empty h3{font-size:20px;margin-bottom:8px}
.amt-account .ac-empty p{max-width:470px;margin:0 auto 20px;font-size:14px}
.amt-account .ac-card{background:var(--ac-surface);border:1px solid var(--ac-border);border-radius:16px;padding:28px}
.amt-account .ac-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;max-width:1000px;align-items:start}
.amt-account .ac-security-card p{font-size:14px}
.amt-account .ac-security-card .ac-small{font-size:12px;margin:16px 0 0}
.amt-account .ac-feature-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:var(--ac-teal);background:var(--ac-light);font-size:24px;margin-bottom:20px}
.amt-account .ac-verified-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.amt-account .ac-verified-field input{flex:1;min-width:180px}
.amt-account .ac-verification{font-size:10px;font-weight:650;color:#26734d;padding:5px 8px;border-radius:7px;background:#e7f5ed}
.amt-account .ac-chat-card{border:1px solid var(--ac-border);border-radius:18px;background:var(--ac-surface);overflow:hidden;max-width:1000px}
.amt-account .ac-chat-head{display:flex;align-items:center;gap:12px;padding:22px 25px;border-bottom:1px solid var(--ac-border)}
.amt-account .ac-chat-head h2{font-size:16px;margin:0 0 4px}
.amt-account .ac-chat-head p{font-size:12px;margin:0}
.amt-account .ac-chat-messages{height:clamp(280px,42vh,500px);overflow-y:auto;overscroll-behavior:contain;padding:25px;background:var(--ac-soft);display:flex;flex-direction:column;gap:17px;scrollbar-width:thin}
.amt-account .ac-chat-empty{margin:auto;text-align:center;max-width:400px;padding:25px 10px}
.amt-account .ac-chat-empty .ac-feature-icon{margin:0 auto 18px}
.amt-account .ac-chat-empty p{font-size:14px}
.amt-account .ac-chat-message{max-width:85%;background:var(--ac-surface);border:1px solid var(--ac-border);border-radius:14px 14px 14px 4px;padding:13px 16px;align-self:flex-start;flex-shrink:0;overflow-wrap:anywhere}
.amt-account .ac-chat-message.own{align-self:flex-end;background:var(--ac-light);border-color:var(--ac-border);border-radius:14px 14px 4px 14px}
.amt-account .ac-message-meta{display:flex;justify-content:space-between;gap:15px;font-size:10px;margin-bottom:7px;flex-wrap:wrap;color:var(--ac-muted)}
.amt-account .ac-message-meta strong{font-size:11px}
.amt-account .ac-chat-message p{font-size:14px;margin:0}
.amt-account .ac-chat-message small{display:block;font-size:10px;margin-top:8px}
.amt-account .ac-chat-compose{padding:6px 25px 22px;border-top:1px solid var(--ac-border)}
.amt-account .ac-chat-compose .ac-field{margin:16px 0}
.amt-account .ac-chat-compose .ac-field:first-child{max-width:340px}
.amt-account .ac-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.amt-account .ac-compose-footer small{font-size:11px;max-width:370px}
.amt-account .ac-chat-card>.ac-notice{margin:15px 25px}
.amt-account .ac-footer{border-top:1px solid var(--ac-border);padding:16px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--ac-muted);font-size:11px}
.amt-account .ac-footer .ac-text-button{font-size:11px}
.amt-account .ac-dialog{border:1px solid var(--ac-border);border-radius:20px;padding:0;width:min(1120px,calc(100% - 40px));max-width:none;height:auto;max-height:calc(100dvh - 40px);overflow:hidden;color:var(--ac-ink);box-shadow:0 25px 90px #15282e35!important;background:var(--ac-surface)}
.amt-account .ac-dialog[open]{display:flex;flex-direction:column}
.amt-account .ac-dialog::backdrop{background:#10252ec2;backdrop-filter:blur(3px)}
.amt-account .ac-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid var(--ac-border);background:var(--ac-surface);flex-shrink:0}
.amt-account .ac-dialog-head h2{font-size:24px;margin:0;letter-spacing:-.03em}
.amt-account .ac-dialog-head .ac-eyebrow{margin:0 0 4px;font-size:10px}
.amt-account .ac-dialog-scroll{padding:24px 28px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable;scrollbar-width:thin}
.amt-account .ac-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 28px;border-top:1px solid var(--ac-border);background:var(--ac-surface);flex-shrink:0}
.amt-account .ac-detail-intro{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 22px;font-size:12px;color:var(--ac-muted)}
.amt-account .ac-order-stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0 0 24px}
.amt-account .ac-order-stages li{font-size:11px;text-align:center;color:var(--ac-muted);display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;line-height:1.4}
.amt-account .ac-order-stages li:not(:last-child):after{content:"";height:1px;background:var(--ac-border);position:absolute;top:15px;left:calc(50% + 22px);right:calc(-50% + 12px)}
.amt-account .ac-stage-number{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--ac-border);background:var(--ac-soft);font-weight:650;font-size:12px}
.amt-account .ac-order-stages .current{font-weight:700;color:var(--ac-teal)}
.amt-account .ac-order-stages .current .ac-stage-number{color:#fff;background:var(--ac-teal);border-color:var(--ac-teal)}
.amt-account .ac-order-stages .done .ac-stage-number{color:var(--ac-teal);background:var(--ac-light);border-color:var(--ac-light)}
.amt-account .ac-next-action{display:flex;align-items:flex-start;gap:14px;background:var(--ac-light);border:1px solid var(--ac-border);border-radius:14px;padding:18px 20px;margin-bottom:22px}
.amt-account .ac-next-action h3{font-size:14px;margin:0 0 5px}
.amt-account .ac-next-action p{font-size:14px;margin:0}
.amt-account .ac-next-icon{color:var(--ac-teal);font-size:23px;line-height:1.3}
.amt-account .ac-detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}
.amt-account :is(.ac-detail-main,.ac-detail-side){min-width:0;display:grid;gap:17px}
.amt-account .ac-detail-card{border:1px solid var(--ac-border);border-radius:14px;padding:21px;background:var(--ac-surface)}
.amt-account .ac-detail-card>h3{font-size:16px;margin-bottom:15px}
.amt-account .ac-detail-card>p{font-size:14px;margin-bottom:9px}
.amt-account .ac-detail-card>p:last-child{margin:0}
.amt-account .ac-detail-card>small{display:block;margin-top:10px;font-size:11px}
.amt-account .ac-detail-card>.ac-button{margin-top:14px;width:100%}
.amt-account .ac-price-card{background:var(--ac-soft)}
.amt-account .ac-summary-line{display:flex;align-items:baseline;justify-content:space-between;gap:18px;font-size:14px;margin:13px 0}
.amt-account .ac-summary-line>span{color:var(--ac-muted)}
.amt-account .ac-summary-line>b{font-weight:650;white-space:nowrap}
.amt-account .ac-summary-total{border-top:1px solid var(--ac-border);margin:18px 0 10px;padding-top:18px;align-items:flex-start}
.amt-account .ac-summary-total>strong{font-size:25px;letter-spacing:-.04em;line-height:1.2;text-align:right}
.amt-account .ac-summary-total>span{font-size:14px;padding-top:4px;max-width:100px}
.amt-account .ac-payment-state{font-size:14px;font-weight:650;color:var(--ac-teal)!important;margin-top:15px}
html[data-amt-theme] body.amt-account .ac-test-notice{font-size:12px;border:1px solid #e0c899;border-radius:9px;padding:10px 12px;background:var(--ac-warning-bg)!important;color:var(--ac-warning)!important;margin:14px 0}
.amt-account .ac-payment-hint{font-size:12px;margin-top:14px}
.amt-account .ac-detail-actions{display:grid;gap:9px;margin-top:16px}
.amt-account .ac-detail-actions>.ac-button{width:100%}
.amt-account .ac-tracking{display:block;font-size:18px;letter-spacing:.03em;overflow-wrap:anywhere;margin-top:5px}
.amt-account .ac-detail-item{padding:17px 0;border-top:1px solid var(--ac-border)}
.amt-account .ac-detail-item:last-child{padding-bottom:0}
.amt-account .ac-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px}
.amt-account .ac-item-head>h4{min-width:0;overflow-wrap:anywhere;font-size:14px}
.amt-account .ac-item-head>strong{font-size:14px;white-space:nowrap}
.amt-account .ac-detail-item p{font-size:14px;margin-bottom:7px}
.amt-account .ac-technical-details{border:0!important;background:transparent!important;padding:0;margin:12px 0}
.amt-account .ac-technical-details summary{font-size:12px;cursor:pointer;color:var(--ac-teal)!important}
.amt-account .ac-technical-details p{margin:9px 0 0}
.amt-account .ac-file-links{display:flex;gap:10px 15px;flex-wrap:wrap;margin-top:12px}
.amt-account .ac-file-link{font-size:12px;display:inline-flex;align-items:center;min-height:32px;line-height:1.4;color:var(--ac-teal);overflow-wrap:anywhere}
.amt-account .ac-file-link:hover{text-decoration:underline}
.amt-account .ac-history-card,.amt-account .ac-cancel-card{border:1px solid var(--ac-border)!important;border-radius:14px;background:var(--ac-surface)!important;padding:18px 21px}
.amt-account :is(.ac-history-card,.ac-cancel-card)>summary{font-size:13px;font-weight:650;cursor:pointer;min-height:24px}
.amt-account .ac-history-list{list-style:none;margin:18px 0 0;padding:0}
.amt-account .ac-history-list li{display:flex;gap:20px;align-items:baseline;justify-content:space-between;padding:10px 0;border-top:1px solid var(--ac-border);font-size:12px}
.amt-account .ac-history-list time{color:var(--ac-muted);font-size:10px;text-align:right}
.amt-account .ac-cancel-card p{font-size:12px;margin:15px 0}
.amt-account .ac-cancel-card label{font-size:12px}
.amt-account .ac-cancel-card>.ac-button{margin-top:12px;width:100%}
.amt-account.ac-scroll-locked{position:fixed;left:0;right:0;width:100%;overflow:hidden;padding-right:var(--ac-scrollbar-gap,0px)}
html[data-amt-theme] body.amt-account .ac-menu-scrim{position:fixed;inset:0;z-index:29;background:#10252e99!important;border:0!important;padding:0;backdrop-filter:blur(2px)}
.amt-account .ac-skip{position:fixed;top:8px;left:8px;transform:translateY(-150%);background:var(--ac-surface);padding:12px 18px;z-index:200;border-radius:8px}
.amt-account .ac-skip:focus{transform:translateY(0)}
html[data-amt-theme] body.amt-account :is(.ac-mobile-toggle,.ac-menu-close){display:none}
/* Authentication shares the same design, with its existing authentication API. */
.amt-auth .amtLogoHeader{background:var(--ac-surface);border-bottom:1px solid var(--ac-border)}
.amt-auth .ac-auth-back{font-size:13px;color:var(--ac-muted)}
.amt-auth .ac-auth-layout{max-width:1060px;margin:72px auto;padding:0 28px;display:grid;grid-template-columns:1.05fr 1fr;gap:90px;align-items:start}
.amt-auth .ac-auth-intro{padding-top:28px}
.amt-auth .ac-auth-intro h1{font-size:44px;line-height:1.12;letter-spacing:-.045em;margin-bottom:22px}
.amt-auth .ac-auth-intro>p{font-size:16px;max-width:390px}
.amt-auth .ac-auth-steps{display:grid;gap:20px;margin-top:35px}
.amt-auth .ac-auth-step{display:flex;align-items:center;gap:14px;font-size:14px;color:var(--ac-muted)}
.amt-auth .ac-auth-step>span:first-child{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--ac-border);border-radius:50%;background:var(--ac-light);color:var(--ac-teal);font-weight:700;font-size:13px}
.amt-auth .ac-auth-card{background:var(--ac-surface);border:1px solid var(--ac-border);padding:30px;border-radius:20px;box-shadow:0 18px 55px #15282e07}
.amt-auth .ac-auth-tabs{display:flex;gap:5px;border:1px solid var(--ac-border);padding:5px;border-radius:12px;margin-bottom:24px;background:var(--ac-soft)}
html[data-amt-theme] body.amt-auth .ac-auth-tabs button{flex:1;min-height:44px;padding:8px;border:1px solid transparent!important;border-radius:8px;background:transparent!important;color:var(--ac-muted)!important;font-size:13px;font-weight:650}
html[data-amt-theme] body.amt-auth .ac-auth-tabs button.active{background:var(--ac-surface)!important;border-color:var(--ac-border)!important;color:var(--ac-teal)!important}
.amt-auth #form .ac-field{margin:18px 0}
.amt-auth #submit{width:100%;margin-top:5px}
.amt-auth .ac-show-password{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;margin:12px 0 0}
.amt-auth .ac-show-password input{width:17px;height:17px;accent-color:var(--ac-teal);margin:0}
.amt-auth .ac-auth-links{display:flex;flex-direction:column;align-items:flex-start;margin-top:12px;gap:1px}
.amt-auth .ac-auth-links .ac-text-button{font-size:12px;min-height:36px;padding:5px 0}
.amt-auth #notice{border:1px solid var(--ac-border);border-radius:12px;padding:14px;background:var(--ac-light);font-size:14px;line-height:1.6;margin-bottom:20px;overflow-wrap:anywhere}
.amt-auth #notice:empty{display:none}
.amt-auth #notice.error{background:var(--ac-warning-bg);color:var(--ac-error)}
.amt-auth #notice p{font-size:13px}
.amt-auth #notice p:last-child{margin:0}
.amt-auth .hint{font-size:12px;color:var(--ac-muted);line-height:1.6}
.amt-auth #passHint{margin-top:8px}
.amt-auth #accountHint{margin:22px 0 0;border-top:1px solid var(--ac-border);padding-top:18px;font-size:11px}
@media(min-width:1600px){.amt-account .ac-main{padding-top:48px}.amt-account .ac-stats{gap:17px}.amt-account .ac-stat{padding:22px}}
@media(max-width:1200px){.amt-account .ac-layout{grid-template-columns:245px minmax(0,1fr)}html body.amt-account .ac-sidebar.amtLogoSidebar{padding-left:15px!important;padding-right:15px!important}.amt-account :is(.ac-main,.ac-topbar,.ac-footer){padding-left:25px;padding-right:25px}.amt-account .ac-stat{padding:15px}.amt-auth .ac-auth-layout{gap:50px}}
@media(min-width:921px) and (max-width:1080px){.amt-account .ac-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.amt-account .ac-profile-grid{grid-template-columns:1fr}}
@media(max-width:920px){
 .amt-account .ac-layout{display:block}.amt-account .ac-sidebar{position:fixed;left:0;top:0;width:280px;max-width:calc(100vw - 55px);transform:translateX(-100%);transition:transform .2s ease}.amt-account .ac-sidebar.open{transform:translateX(0)}
 html body.amt-account .ac-sidebar.amtLogoSidebar{padding-top:25px!important}.amt-account .ac-sidebar .logo{margin-top:35px!important}
 html[data-amt-theme] body.amt-account :is(.ac-mobile-toggle,.ac-menu-close){display:grid}.amt-account .ac-menu-close{position:absolute;top:12px;right:14px}
 .amt-account .ac-topbar{padding-top:14px;padding-bottom:14px;min-height:74px}.amt-account .ac-main{padding-top:28px}
 .amt-account .ac-dialog{width:calc(100% - 28px);max-height:calc(100dvh - 28px)}.amt-account .ac-detail-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 .amt-account .ac-dialog-scroll{padding:20px}.amt-account .ac-dialog-head,.amt-account .ac-dialog-footer{padding:17px 20px}.amt-account .ac-detail-card{padding:17px}
 .amt-account .ac-profile-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
}
@media(max-width:700px){
 .amt-account :is(.ac-main,.ac-topbar,.ac-footer){padding-left:18px;padding-right:18px}.amt-account .ac-page-heading{align-items:flex-start;gap:15px}.amt-account .ac-page-heading>.ac-button{font-size:12px;padding:9px 12px}
 .amt-account .ac-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:25px}html[data-amt-theme] body.amt-account .ac-stat:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px}.amt-account .ac-stat:first-child>strong{grid-column:2;grid-row:1/3}.amt-account .ac-stat:first-child>.ac-stat-link{grid-row:2}
 .amt-account .ac-filters{gap:12px}.amt-account .ac-filter-field{flex-basis:190px}.amt-account .ac-order-card-head{padding:18px 18px 0}.amt-account .ac-order-meta{padding:20px 18px;grid-template-columns:1fr 1fr;gap:15px}.amt-account .ac-meta-price{grid-column:1/-1;text-align:left;border-top:1px solid var(--ac-border);padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:15px}.amt-account .ac-meta-price>span{margin:0}
 .amt-account .ac-order-card-bottom{padding:15px 18px;align-items:flex-start;flex-direction:column;gap:13px}.amt-account .ac-order-card-bottom>.ac-button{align-self:stretch}
 .amt-account .ac-profile-grid{grid-template-columns:1fr}.amt-account .ac-card{padding:22px}.amt-account .ac-footer{flex-direction:column;gap:0;align-items:flex-start}
 .amt-account .ac-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.amt-account .ac-dialog-head{padding:15px 18px}.amt-account .ac-dialog-head h2{font-size:22px}.amt-account .ac-dialog-scroll{padding:20px 16px}.amt-account .ac-dialog-footer{padding:12px 16px}.amt-account .ac-dialog-footer>.ac-button{font-size:12px;padding:8px 12px}
 .amt-account .ac-detail-grid{display:flex;flex-direction:column;gap:16px}.amt-account .ac-detail-main,.amt-account .ac-detail-side{width:100%}.amt-account .ac-detail-side{order:-1}.amt-account .ac-detail-intro{gap:8px 12px;font-size:11px}.amt-account .ac-order-stages{gap:4px;margin-bottom:22px}.amt-account .ac-order-stages li{font-size:9px;gap:6px}.amt-account .ac-stage-number{width:27px;height:27px;font-size:11px}.amt-account .ac-order-stages li:not(:last-child):after{top:13px;left:calc(50% + 17px);right:calc(-50% + 13px)}
 .amt-account .ac-next-action{padding:15px}.amt-account .ac-detail-card{padding:18px}.amt-account .ac-summary-total>strong{font-size:28px}
 .amt-account .ac-chat-head{padding:19px}.amt-account .ac-chat-messages{padding:18px}.amt-account .ac-chat-compose{padding:3px 18px 18px}.amt-account .ac-compose-footer{flex-direction:column;align-items:stretch;gap:14px}.amt-account .ac-chat-message{max-width:94%}.amt-account .ac-chat-card>.ac-notice{margin:12px 18px}
 .amt-auth .ac-auth-layout{grid-template-columns:1fr;margin:25px auto;gap:25px;padding:0 20px;max-width:520px}.amt-auth .ac-auth-intro{padding-top:5px}.amt-auth .ac-auth-intro h1{font-size:32px;margin-bottom:15px}.amt-auth .ac-auth-intro>p{font-size:14px;max-width:none}.amt-auth .ac-auth-steps{display:none}.amt-auth .ac-auth-card{padding:25px}.amt-auth .ac-auth-back{font-size:11px}
}
@media(max-width:420px){.amt-account .ac-filters{flex-direction:column;align-items:stretch}.amt-account .ac-filter-field{flex-basis:auto;margin:0}.amt-account .ac-topbar-title{font-size:12px}.amt-account .ac-topbar>.ac-button{font-size:12px;padding:9px 12px}.amt-account .ac-page-heading{flex-wrap:wrap}.amt-account .ac-order-card-head{align-items:flex-start;flex-direction:column;gap:10px}.amt-account .ac-order-card h3{font-size:17px}.amt-account .ac-item-head{align-items:flex-start;flex-direction:column;gap:4px}.amt-account .ac-results-line h2{font-size:15px}.amt-account .ac-chat-head p{font-size:11px}.amt-auth .ac-auth-card{padding:21px}.amt-auth .amtLogoHeader .amtLogoWrap{flex-basis:175px!important;width:175px!important}.amt-auth .amtLogoHeader .amtSiteLogo{min-width:175px!important;width:175px!important;max-width:175px!important}}
@media(prefers-reduced-motion:reduce){:is(.amt-account,.amt-auth) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Persistent cabinet navigation: the toggle and brand stay outside the drawer. */
html body.amt-account {--cabinet-header:82px;--cabinet-sidebar:270px}
html body.amt-account .amtCabinetHeaderMain {display:flex;align-items:center;gap:20px;min-width:0}
html body.amt-account .amtCabinetHeader {height:var(--cabinet-header)!important;min-height:var(--cabinet-header)!important;padding:0 28px!important;position:sticky;top:0;z-index:45;gap:20px!important;flex-wrap:nowrap;background:var(--amt-panel);border-bottom:1px solid var(--amt-line)}
html body.amt-account .amtCabinetHeader .amtLogoWrap {flex:0 0 184px!important;width:184px!important;height:34px!important}
html body.amt-account .amtCabinetHeader img.amtSiteLogo {width:184px!important;min-width:184px!important;max-width:184px!important;height:34px!important;min-height:34px!important;max-height:34px!important}
html body.amt-account .amtCabinetMenu {display:inline-flex!important;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-width:154px;min-height:44px;width:auto;height:44px;padding:10px 13px;border:1px solid var(--amt-accent)!important;border-radius:12px;background:var(--amt-selected)!important;color:var(--amt-accent)!important;font-size:13px;font-weight:650;line-height:1.3;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .16s,border-color .16s}
html body.amt-account .amtCabinetMenu:hover {background:var(--amt-panel)!important}
html body.amt-account .amtCabinetMenu:focus-visible {outline:2px solid var(--amt-accent)!important;outline-offset:3px!important}
html body.amt-account .amtCabinetMenu svg {width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body.amt-account .amtCabinetMenuArrow {transform-origin:14px 12px;transition:transform .24s ease}
html body.amt-account .amtCabinetMenu[aria-expanded="false"] .amtCabinetMenuArrow {transform:rotate(180deg)}
@media(max-width:640px) {
 html body.amt-account {--cabinet-header:124px}
 html body.amt-account .amtCabinetHeader {padding:12px 16px!important;display:flex!important;align-items:stretch!important;flex-wrap:wrap;gap:12px!important}
 html body.amt-account .amtCabinetHeaderMain {width:100%;justify-content:space-between;gap:12px;height:44px}
 html body.amt-account .amtCabinetHeader .amtLogoWrap {flex:0 0 clamp(112px,36vw,150px)!important;width:clamp(112px,36vw,150px)!important;height:30px!important;align-self:center}
 html body.amt-account .amtCabinetHeader img.amtSiteLogo {width:clamp(112px,36vw,150px)!important;min-width:112px!important;max-width:150px!important;height:30px!important;min-height:30px!important;max-height:30px!important}
 html body.amt-account .amtCabinetMenu {min-width:142px;padding:10px 11px;font-size:12px;gap:7px}
}

html body.amt-account .ac-layout {display:grid;grid-template-columns:var(--cabinet-sidebar) minmax(0,1fr);min-height:calc(100dvh - var(--cabinet-header));overflow-x:clip;transition:grid-template-columns .24s cubic-bezier(.22,.61,.36,1)}
html body.amt-account .ac-sidebar {width:var(--cabinet-sidebar);min-width:0;position:sticky;top:var(--cabinet-header);height:calc(100dvh - var(--cabinet-header));visibility:visible;transform:translateX(0);transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility 0s;z-index:40;flex-shrink:0}
html body.amt-account .ac-sidebar.amtLogoSidebar {padding-top:24px!important}
html body.amt-account .ac-sidebar-caption {margin-top:0}
html body.amt-account.ac-nav-collapsed .ac-layout {grid-template-columns:0 minmax(0,1fr)}
html body.amt-account.ac-nav-collapsed .ac-sidebar {transform:translateX(-100%);visibility:hidden;pointer-events:none;box-shadow:none;transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility 0s .24s}
html body.amt-account .ac-main {max-width:1680px}
html body.amt-account .ac-shell {min-width:0}
html body.amt-account .amtCabinetHeader #pageTitle {font-size:13px;color:var(--ac-muted);margin-left:6px}
html body.amt-account .ac-menu-scrim {inset:var(--cabinet-header) 0 0;z-index:38;touch-action:none}
@media(max-width:1200px) {html body.amt-account {--cabinet-sidebar:245px}}
@media(max-width:1100px) {html body.amt-account .amtCabinetHeader #pageTitle {display:none}}
@media(max-width:950px) {
 html body.amt-account .ac-layout {display:block}
 html body.amt-account .ac-sidebar {position:fixed;left:0;top:var(--cabinet-header);width:280px;max-width:calc(100vw - 36px);height:calc(100dvh - var(--cabinet-header));transform:translateX(-100%);visibility:hidden;pointer-events:none;box-shadow:none;transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility 0s .24s}
 html body.amt-account.ac-nav-open .ac-sidebar {transform:translateX(0);visibility:visible;pointer-events:auto;box-shadow:12px 0 32px #10252e20;transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility 0s}
}
@media(max-width:640px) {html body.amt-account .amtCabinetHeader>.ac-button {width:100%;min-height:44px;height:44px}}
@media(prefers-reduced-motion:reduce) {html body.amt-account :is(.ac-layout,.ac-sidebar,.amtCabinetMenu,.amtCabinetMenuArrow) {transition:none!important;animation:none!important}}
