:root{
  --portal-navy:#13253a;
  --portal-navy-2:#1b344e;
  --portal-gold:#b88b4a;
  --portal-gold-soft:#f5ead8;
  --portal-ink:#182433;
  --portal-muted:#667586;
  --portal-line:#dfe5ea;
  --portal-bg:#f4f6f8;
  --portal-white:#fff;
  --portal-green:#247a59;
  --portal-red:#a94848;
  --portal-shadow:0 18px 48px rgba(19,37,58,.09);
}
.account-page,.account-page *{box-sizing:border-box}
.account-page{
  min-height:calc(100vh - 150px);
  padding:42px 0 70px;
  background:
    radial-gradient(circle at 100% 0,rgba(184,139,74,.10),transparent 28rem),
    linear-gradient(180deg,#f9fafb 0,#f2f5f7 100%);
  color:var(--portal-ink)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
.account-page h1,.account-page h2,.account-page h3,.account-page p,.account-page span,.account-page strong,.account-page label,.account-page a{
  font-family:inherit!important;
}
.account-container{width:min(1320px,calc(100% - 36px))!important;margin:0 auto!important}
.account-shell{width:100%;margin:0 auto}
.portal-hero{
  display:flex;align-items:flex-start;justify-content:space-between;gap:28px;
  margin-bottom:24px;padding:8px 4px;
}
.portal-hero--inner{padding:0 0 24px;margin:0 0 22px;border-bottom:1px solid var(--portal-line)}
.account-eyebrow{
  margin-bottom:8px;color:var(--portal-gold)!important;-webkit-text-fill-color:var(--portal-gold)!important;
  font-size:12px!important;font-weight:800!important;letter-spacing:.12em;text-transform:uppercase;
}
.portal-title,.account-title{
  margin:0;color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:clamp(30px,4vw,48px)!important;font-weight:800!important;line-height:1.08!important;letter-spacing:-.035em;
}
.portal-title--order{font-size:clamp(25px,3.2vw,38px)!important;overflow-wrap:anywhere}
.portal-identity{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:12px;color:var(--portal-muted)!important;font-size:14px}
.portal-identity span{position:relative;color:inherit!important;-webkit-text-fill-color:inherit!important}
.portal-identity span+span:before{content:"";position:absolute;left:-11px;top:50%;width:3px;height:3px;border-radius:50%;background:#a5afb9}
.portal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.account-card,.portal-panel{
  background:rgba(255,255,255,.96);border:1px solid rgba(19,37,58,.09);border-radius:22px;
  box-shadow:var(--portal-shadow);
}
.account-card{padding:30px}
.account-card--narrow{width:min(560px,100%);margin:0 auto}
.portal-panel{overflow:hidden}
.panel-head,.section-heading{
  display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--portal-line)
}
.panel-head h2,.section-heading h2{margin:0;color:var(--portal-navy)!important;font-size:23px!important;font-weight:800!important;letter-spacing:-.02em}
.account-subtitle{margin:10px 0 22px;color:var(--portal-muted)!important;-webkit-text-fill-color:var(--portal-muted)!important;line-height:1.65}
.account-btn{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;
  border:1px solid var(--portal-navy)!important;border-radius:11px;background:var(--portal-navy)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px!important;font-weight:750!important;
  line-height:1.2!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:.18s ease;
}
.account-btn:hover{transform:translateY(-1px);background:var(--portal-navy-2)!important}
.account-btn--compact{min-height:40px;padding:9px 14px;font-size:13px!important}
.account-btn--secondary{border-color:#cbd4dc!important;background:#fff!important;color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important}
.account-btn--ghost{border-color:transparent!important;background:transparent!important;color:var(--portal-muted)!important;-webkit-text-fill-color:var(--portal-muted)!important}
.account-btn--ghost:hover{background:#e9eef2!important;color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important}
.portal-stats{display:grid;grid-template-columns:170px 170px minmax(280px,1fr);gap:13px;margin-bottom:18px}
.stat-card{min-height:102px;padding:18px 20px;border:1px solid rgba(19,37,58,.08);border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(19,37,58,.05)}
.stat-card span{display:block;margin-bottom:8px;color:var(--portal-muted)!important;font-size:12px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.06em}
.stat-card strong{display:block;color:var(--portal-navy)!important;font-size:30px!important;line-height:1.15}
.stat-card--wide{background:linear-gradient(135deg,var(--portal-navy),#203e5d)}
.stat-card--wide span{color:#c9d4df!important;-webkit-text-fill-color:#c9d4df!important}
.stat-card--wide strong{max-width:520px;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:18px!important;line-height:1.4}
.client-orders{display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(240px,1.45fr) minmax(160px,.9fr) minmax(120px,.7fr) minmax(145px,.8fr) 90px;gap:18px;align-items:center}
.client-orders--head{padding:13px 24px;background:#f6f8fa;color:#7a8794!important;border-bottom:1px solid var(--portal-line)}
.client-orders--head span{color:inherit!important;-webkit-text-fill-color:inherit!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.07em}
.client-orders-list .client-orders{padding:19px 24px;border-bottom:1px solid var(--portal-line)}
.client-orders-list .client-orders:last-child{border-bottom:0}
.client-orders-list .client-orders:hover{background:#fbfcfd}
.client-orders strong{display:block;color:var(--portal-ink)!important;-webkit-text-fill-color:var(--portal-ink)!important;font-size:14px!important;line-height:1.45;overflow-wrap:anywhere}
.client-orders small{display:block;margin-top:5px;color:var(--portal-muted)!important;-webkit-text-fill-color:var(--portal-muted)!important;font-size:12px!important;line-height:1.45}
.order-number strong{font-size:12px!important;font-weight:750!important;color:var(--portal-navy)!important}
.order-trip strong{font-size:15px!important}
.order-price{font-size:16px!important;white-space:nowrap}
.status-pill{display:inline-flex;align-items:center;max-width:100%;padding:7px 10px;border-radius:999px;font-size:11px!important;font-weight:800!important;line-height:1.25}
.status-pill.is-waiting{background:#fff2d9;color:#805a15!important;-webkit-text-fill-color:#805a15!important}
.status-pill.is-success{background:#e2f4eb;color:#236748!important;-webkit-text-fill-color:#236748!important}
.status-pill.is-danger{background:#fbe8e7;color:#913c3c!important;-webkit-text-fill-color:#913c3c!important}
.status-pill.is-neutral{background:#e9eef3;color:#536271!important;-webkit-text-fill-color:#536271!important}
.icon-link{display:inline-flex;align-items:center;gap:8px;color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap}
.icon-link span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--portal-gold-soft);color:#865f28!important}
.account-alert{margin:0 0 17px;padding:14px 16px;border-radius:13px;font-size:14px;line-height:1.55}
.account-alert a{font-weight:800;color:inherit!important}
.account-alert--error{border:1px solid #e8b9b6;background:#fff1f0;color:#943b35!important;-webkit-text-fill-color:#943b35!important}
.account-alert--success{border:1px solid #b8dbc8;background:#edf8f2;color:#236342!important;-webkit-text-fill-color:#236342!important}
.account-alert--notice{border:1px solid #ead3ab;background:#fff9ec;color:#705221!important;-webkit-text-fill-color:#705221!important}
.account-empty{padding:54px 24px;text-align:center;color:var(--portal-muted)!important}
.account-empty .empty-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:15px;background:var(--portal-gold-soft);color:var(--portal-gold)!important;font-size:22px}
.account-empty h3{margin:0 0 6px;color:var(--portal-navy)!important;font-size:21px!important}
.account-empty p{margin:0 auto 18px;max-width:520px;color:var(--portal-muted)!important}
.account-form{display:grid;gap:16px;margin-top:18px}
.account-field,.account-form label{display:grid;gap:7px;color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important;font-size:13px!important;font-weight:750!important}
.account-field input,.account-form input[type="email"],.account-form input[type="password"],.account-form input[type="text"],.account-form input[type="file"],.account-form textarea{
  width:100%;min-height:48px;padding:12px 14px;border:1px solid #cfd8df;border-radius:11px;background:#fff!important;
  color:var(--portal-ink)!important;-webkit-text-fill-color:var(--portal-ink)!important;font:inherit!important;outline:none;
}
.account-field input:focus,.account-form input:focus,.account-form textarea:focus{border-color:var(--portal-gold);box-shadow:0 0 0 3px rgba(184,139,74,.13)}
.account-check{display:flex!important;grid-template-columns:auto 1fr;align-items:flex-start;gap:10px!important}
.account-check input{width:auto!important;min-height:0!important;margin-top:3px}
.account-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:19px}
.account-links a{color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important;font-size:14px;font-weight:700;text-decoration:none}
.order-page{padding:28px}
.order-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:0 0 22px;padding:15px;border:1px solid var(--portal-line);border-radius:15px;background:#f7f9fa}
.progress-step{display:flex;align-items:center;gap:8px;min-width:0;color:#86919c!important}
.progress-step span{display:grid;flex:0 0 26px;place-items:center;width:26px;height:26px;border:1px solid #cad3da;border-radius:50%;background:#fff;color:#778490!important;font-size:11px!important;font-weight:800!important}
.progress-step strong{color:inherit!important;-webkit-text-fill-color:inherit!important;font-size:11px!important;line-height:1.25}
.progress-step.is-done{color:var(--portal-green)!important}.progress-step.is-done span{border-color:#a7d2bf;background:#e4f4ec;color:var(--portal-green)!important}
.progress-step.is-current{color:var(--portal-navy)!important}.progress-step.is-current span{border-color:var(--portal-gold);background:var(--portal-gold);color:#fff!important}
.section-heading{padding:18px 0;border-bottom:0}
.order-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 26px}
.order-detail{min-height:88px;padding:14px;border:1px solid var(--portal-line);border-radius:13px;background:#fafbfc}
.order-detail span{display:block;margin-bottom:7px;color:#7a8792!important;-webkit-text-fill-color:#7a8792!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.04em}
.order-detail strong{color:var(--portal-ink)!important;-webkit-text-fill-color:var(--portal-ink)!important;font-size:14px!important;line-height:1.45;overflow-wrap:anywhere}
.order-page>h2{margin:28px 0 12px;padding-top:23px;border-top:1px solid var(--portal-line);color:var(--portal-navy)!important;-webkit-text-fill-color:var(--portal-navy)!important;font-size:20px!important;font-weight:800!important}
.order-page>p{color:var(--portal-muted)!important;-webkit-text-fill-color:var(--portal-muted)!important;font-size:14px!important;line-height:1.6}
.document-list{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 20px}
.payment-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:14px 0}
.payment-choice{display:grid;gap:12px;padding:18px;border:1px solid var(--portal-line);border-radius:14px;background:#fafbfc}
.payment-choice h3{margin:0;color:var(--portal-navy)!important;font-size:17px!important}
.site-nav-account{white-space:nowrap}
@media(max-width:1100px){
  .client-orders{grid-template-columns:minmax(170px,1fr) minmax(220px,1.3fr) minmax(150px,.9fr) 120px 130px 80px;gap:12px}
  .order-details{grid-template-columns:repeat(3,minmax(0,1fr))}
  .progress-step strong{display:none}
  .progress-step{justify-content:center}
}
@media(max-width:820px){
  .account-page{padding:28px 0 50px}
  .account-container{width:min(100% - 24px,1320px)!important}
  .portal-hero{display:grid;gap:16px}.portal-actions{justify-content:flex-start}
  .portal-stats{grid-template-columns:repeat(2,1fr)}.stat-card--wide{grid-column:1/-1}
  .client-orders--head{display:none}
  .client-orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
  .client-orders-list .client-orders{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px;border:1px solid var(--portal-line)!important;border-radius:15px;background:#fff}
  .client-orders [data-label]:before{content:attr(data-label);display:block;margin-bottom:5px;color:#89949f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
  .order-number,.order-trip{grid-column:1/-1}.order-action{grid-column:1/-1;padding-top:10px;border-top:1px solid var(--portal-line)}
  .order-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-progress{grid-template-columns:repeat(5,1fr)}.progress-step strong{display:none}
}
@media(max-width:560px){
  .account-container{width:min(100% - 20px,1320px)!important}
  .portal-title,.account-title{font-size:29px!important}.portal-title--order{font-size:23px!important}
  .portal-actions{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.portal-actions .account-btn{width:100%}
  .portal-identity{display:grid;gap:5px}.portal-identity span+span:before{display:none}
  .portal-stats{grid-template-columns:repeat(2,1fr);gap:9px}.stat-card{min-height:88px;padding:15px}.stat-card strong{font-size:25px!important}.stat-card--wide strong{font-size:15px!important}
  .panel-head{padding:18px;align-items:flex-start}.panel-head .account-btn{min-width:auto}
  .client-orders-list{grid-template-columns:1fr;padding:9px}
  .account-card{padding:19px 15px;border-radius:17px}.order-page{padding:17px 14px}
  .order-details{grid-template-columns:1fr 1fr;gap:8px}.order-detail{min-height:82px;padding:12px}
  .order-progress{gap:4px;padding:11px 6px}.progress-step span{width:24px;height:24px;flex-basis:24px}
  .document-list{display:grid}.document-list .account-btn{width:100%}
  .payment-choice-grid{grid-template-columns:1fr}
}
@media(max-width:390px){
  .portal-actions{grid-template-columns:1fr 1fr}.portal-actions .account-btn:first-child{grid-column:1/-1}
  .order-details{grid-template-columns:1fr}
}
