:root {
  color-scheme: light;
  --brand-950: #13104b;
  --brand-800: #2821a2;
  --brand-650: #4237d8;
  --brand-500: #665ff0;
  --brand-light: #f0efff;
  --ink: #22253b;
  --muted: #626a7e;
  --faint: #81889a;
  --stroke: #e4e6ef;
  --bg: #f7f8fc;
  --white: #fff;
  --green: #137a61;
  --shadow: 0 8px 28px rgba(26, 26, 70, .045);
}
* { box-sizing: border-box; }
html { font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(ellipse 62% 24% at 50% -8%, #ecebff 0, transparent 90%), var(--bg); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
[hidden] { display: none !important; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8884ff; outline-offset: 3px; }
.site-shell { width: min(1072px, calc(100% - 48px)); margin: 0 auto; }
.site-header { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e5f1; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: grid; place-items: center; width: 64px; height: 48px; flex: 0 0 64px; }
.brand-logo img { display: block; width: 61px; height: auto; max-height: 43px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; gap: 2px; }
.brand-name strong { font-size: 14px; color: #191445; letter-spacing: .75px; white-space: nowrap; }
.brand-name strong span { font-weight: 550; letter-spacing: .2px; }
.brand-name small { color: #68718a; font-size: 11.5px; letter-spacing: .05px; }
.header-actions { display: flex; align-items: center; gap: 23px; }
.secure-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #606783; font-weight: 600; }
.secure-label svg { color: #4440b4; }
.website-link { font-size: 12px; text-decoration: none; color: #3836a2; font-weight: 650; white-space: nowrap; }
.website-link span { margin-left: 3px; font-size: 16px; vertical-align: -1px; }
.website-link:hover, .site-footer a:hover { text-decoration: underline; }
.intro { position: relative; min-height: 140px; padding: 29px 0 26px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; font-weight: 800; letter-spacing: 1.5px; color: #4b45c4; font-size: 10.5px; }
.eyebrow-line { width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg,#3333be,#8b84ff); }
.intro h1 { font-size: clamp(25px,3vw,32px); line-height: 1.17; letter-spacing: -.95px; margin: 13px 0 8px; color: #1a1849; font-weight: 770; }
.intro p { margin: 0; font-size: 14px; line-height: 1.6; color: #6b7185; }
.intro-brand { position: absolute; top: 0; right: 6px; width: 180px; height: 132px; opacity: .095; pointer-events: none; }
.intro-brand img { width: 100%; height: 100%; object-fit: contain; }
.panel { background: var(--white); border: 1px solid var(--stroke); border-radius: 17px; box-shadow: var(--shadow); }
.demo-banner { background: #efefff; border: 1px solid #dcdcff; color: #3e3b91; border-radius: 11px; padding: 12px 16px; margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.demo-label { display: flex; gap: 11px; align-items: center; min-width: 0; }
.demo-label > div { display: flex; flex-direction: column; gap: 2px; }
.demo-label strong { font-size: 12px; }
.demo-label div span { font-size: 12px; color: #65629f; }
.demo-indicator { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #625dea; box-shadow: 0 0 0 4px #dcdafc; }
.demo-select-label { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: #555091; font-size: 11.5px; font-weight: 650; }
.demo-select-label select { color: #302a85; border: 1px solid #d2d0f7; background: white; padding: 7px 10px; border-radius: 7px; font-size: 12px; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(308px,1fr); gap: 18px; align-items: start; }
.ticket-panel { padding: 28px 31px 22px; }
.card-overline { display: flex; align-items: center; gap: 8px; color: #6d6c83; font-size: 10px; font-weight: 800; letter-spacing: 1.45px; }
.overline-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: #6158ea; }
.ticket-topline { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field-caption { font-size: 12px; color: #7a8192; font-weight: 600; }
.folio { font-size: 35px; font-weight: 790; letter-spacing: -1.3px; color: #211b83; line-height: 1.12; margin-top: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 760; background: #edf0ff; color: #4240b7; padding: 9px 13px; white-space: nowrap; border-radius: 20px; }
.status-pill .pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.attention { background: #eef0ff; color: #4240b7; }
.status-pill.waiting { background: #fff4dd; color: #92600d; }
.status-pill.done { background: #e8f6f0; color: #1b7958; }
.detail-rule { background: #e9eaf2; height: 1px; margin: 21px 0 20px; }
.summary-block h2 { font-size: 18px; line-height: 1.42; color: #25253d; font-weight: 720; letter-spacing: -.22px; margin: 7px 0 9px; overflow-wrap: anywhere; }
.update-meta { display: flex; align-items: center; color: #80869b; font-size: 11.7px; }
.update-meta:before { content: ''; width: 5px; height: 5px; background: #b7b2e8; border-radius: 100%; margin-right: 8px; }
.progress-block { border-top: 1px solid #e9eaf2; margin-top: 24px; padding-top: 21px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 21px; }
.section-heading h3 { font-size: 14px; font-weight: 760; margin: 0; letter-spacing: -.1px; }
.section-heading > span { background: #f6f5ff; color: #77739f; padding: 6px 8px; border-radius: 6px; font-size: 11px; }
.timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; color: #a2a5b4; padding-right: 9px; }
.timeline li:not(:last-child):after { content: ''; position: absolute; height: 2px; left: 37px; right: 14px; top: 15px; background: #e0e2ed; }
.track-node { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1.7px solid #dadee9; background: #fff; color: #aaaebb; font-weight: 800; font-size: 12px; }
.timeline li strong { display: block; color: #8b90a1; font-size: 12px; margin-top: 12px; line-height: 1.45; }
.timeline li p { margin: 3px 0 0; font-size: 11.3px; line-height: 1.38; color: #9da2af; }
.timeline li.done-step .track-node { background: #edeeff; border-color: #bdbbf9; color: #4b42cc; }
.timeline li.done-step strong { color: #4e4f73; }
.timeline li.done-step:after { background: #aea9f4; }
.timeline li.current-step .track-node { border-color: #4d45da; background: linear-gradient(135deg,#3730b5,#716aff); color: white; box-shadow: 0 0 0 4px #f0eeff; }
.timeline li.current-step strong { color: #222056; }
.timeline li.current-step p { color: #697086; }
.timeline li.finished-step .track-node { border-color: #4d9d84; background: #e9f6f0; color: #237d60; }
.timeline li.finished-step strong { color: #2b795f; }
.hold-note { display: flex; align-items: flex-start; gap: 9px; border-radius: 9px; background: #fffbf0; color: #805b20; border: 1px solid #f3e8ca; padding: 11px 12px; font-size: 12px; line-height: 1.55; margin-top: 19px; }
.hold-symbol { flex: 0 0 18px; width: 18px; height: 18px; display: grid; place-items: center; background: #f5dfa4; border-radius: 50%; font-size: 11px; font-weight: 800; }
.ticket-bottom { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 26px; border-top: 1px solid #ececf3; padding-top: 17px; }
.small-quiet { color: #86899a; font-size: 11.5px; line-height: 1.5; max-width: 265px; }
.btn { min-height: 39px; border-radius: 9px; border: 1px solid transparent; padding: 9px 14px; display: inline-flex; gap: 8px; justify-content: center; align-items: center; font-size: 12.5px; font-weight: 730; text-decoration: none; transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(112deg,#2c239e,#4d40de); color: #fff; box-shadow: 0 4px 12px rgba(53,43,186,.16); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(112deg,#251e8d,#4135cf); }
.btn-secondary { color: #3734a3; border-color: #dedbf6; background: #fafaff; white-space: nowrap; }
.btn-secondary:hover:not(:disabled) { background: #f0efff; }
.btn-link { color: #4d4a8f; background: transparent; }
.btn-link:hover:not(:disabled) { color: #25217d; background: #f8f7ff; }
.full { width: 100%; }
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-panel { padding: 22px 23px; }
.aside-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.aside-icon { width: 33px; height: 33px; display: grid; place-items: center; color: #4539cc; background: #f0efff; border-radius: 10px; flex: 0 0 33px; }
.aside-icon.muted-icon { background: #f2f3f8; color: #626487; }
.aside-title h3 { color: #2a2843; font-size: 14px; font-weight: 770; margin: 0; }
.side-description, .help-panel > p { margin: 0 0 13px; color: #6c7284; font-size: 12.6px; line-height: 1.68; }
.side-description strong { color: #3e399c; }
.chip-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { background: #f6f5ff; color: #625cac; font-weight: 640; padding: 5px 9px; border: 1px solid #e9e7fc; border-radius: 6px; font-size: 11px; }
.profile-actions { display: grid; gap: 5px; }
.help-panel { background: #fff; }
.help-panel p { margin-bottom: 11px; }
.help-copy { width: 100%; min-height: 37px; margin: 3px 0 4px; }
.copy-feedback { min-height: 0; font-size: 11.5px; font-weight: 600; margin: 0 !important; color: var(--green); }
.copy-feedback:not(:empty) { padding: 6px 0 5px; }
.help-caption { line-height: 1.55; }

.help-caption { font-size: 11px; color: #777b8e; border-top: 1px solid #eeeef4; padding-top: 11px; }
.privacy-note { display: flex; gap: 9px; align-items: flex-start; color: #87899b; padding: 0 4px; font-size: 11px; line-height: 1.5; }
.privacy-note svg { flex: 0 0 17px; color: #7974b8; }
.site-footer { border-top: 1px solid #e9e8f1; margin-top: 30px; padding: 21px 0 25px; display: flex; gap: 12px; justify-content: space-between; color: #9093a3; font-size: 11.5px; }
.site-footer > div { display: flex; gap: 9px; }
.site-footer a { text-decoration: none; }
.footer-divider { color: #c6c7d2; }
.state-panel { text-align: center; margin: 0 auto; max-width: 640px; padding: 43px 30px 35px; }
.state-icon { margin: 0 auto 17px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: #efeeff; color: #5143cf; }
.state-icon.error-icon { background: #fff0ed; color: #ac4f41; font-size: 23px; font-weight: 800; }
.state-panel h2 { font-size: 22px; letter-spacing: -.4px; margin: 0 0 10px; color: #24204c; }
.state-panel p { margin: 0 auto 24px; max-width: 490px; color: #6a7186; font-size: 13.5px; line-height: 1.75; }
.state-foot { display: flex; justify-content: center; gap: 8px; align-items: center; color: #8c8fa0; font-size: 11.5px; border-top: 1px solid #eeeeF5; padding-top: 19px; margin-top: 27px; }
.state-foot svg { color: #8985b3; }
.spinner { border: 3px solid #e8e7fc; border-top-color: #493aca; border-radius: 50%; height: 38px; width: 38px; animation: spin 1s linear infinite; margin: 0 auto 23px; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-row { display: block; margin-bottom: 12px; }
.field-row label { font-size: 12px; font-weight: 700; color: #4d5269; display: block; margin-bottom: 6px; }
.field-row input { display: block; border: 1px solid #dcdfea; border-radius: 8px; font-size: 13px; color: #27263c; padding: 10px 11px; width: 100%; background: #fff; }
.field-row input::placeholder { color: #a5a8b8; }
.consent-note { color: #777c90; font-size: 11px; line-height: 1.6; margin: 11px 0 15px; }
.form-feedback { font-size: 12px; line-height: 1.55; margin-top: 10px; }
.form-feedback.error { color: #ae4442; }
.form-feedback.ok { color: #19775a; }
.skipped-note { font-size: 12px; line-height: 1.65; background: #f6f5ff; color: #625e84; padding: 12px; border-radius: 8px; }
.skipped-note button { color: #3832a3; font-size: 12px; background: transparent; border: 0; padding: 2px 0; font-weight: 800; text-decoration: underline; }
@media (max-width: 790px) {
  .ticket-grid { grid-template-columns: minmax(0,1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .privacy-note { grid-column: 1 / -1; }
  .ticket-panel { padding: 26px; }
  .intro-brand { opacity: .14; }
}
@media (max-width: 570px) {
  .site-shell { width: calc(100% - 30px); }
  .site-header { min-height: 70px; gap: 8px; }
  .brand { gap: 9px; }
  .brand-logo { width: 49px; height: 42px; flex-basis: 49px; }
  .brand-logo img { width: 49px; max-height: 40px; }
  .brand-name strong { font-size: 12.5px; letter-spacing: .1px; }
  .brand-name small { font-size: 10px; }
  .header-actions { gap: 8px; }
  .secure-label { display: none; }
  .website-link { font-size: 11px; }
  .intro { min-height: 122px; padding: 24px 0 22px; }
  .intro h1 { font-size: 26px; margin-top: 11px; }
  .intro p { font-size: 12.8px; }
  .intro-brand { display: none; }
  .demo-banner { flex-direction: column; align-items: flex-start; padding: 12px 13px; }
  .demo-select-label { justify-content: space-between; width: 100%; }
  .ticket-panel { padding: 21px 19px; }
  .ticket-topline { margin-top: 17px; }
  .folio { font-size: 29px; }
  .status-pill { padding: 8px 10px; font-size: 11px; }
  .summary-block h2 { font-size: 16px; }
  .progress-block { margin-top: 21px; padding-top: 20px; }
  .section-heading { margin-bottom: 19px; }
  .timeline li strong { font-size: 11px; }
  .timeline li p { font-size: 10.5px; }
  .timeline li:not(:last-child):after { right: 8px; }
  .ticket-bottom { align-items: flex-start; flex-direction: column; margin-top: 24px; }
  .sidebar { display: flex; gap: 12px; }
  .sidebar-panel { padding: 21px; }
  .site-footer { flex-direction: column; gap: 8px; margin-top: 23px; }
  .state-panel { padding: 34px 22px 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } .spinner { animation-duration: 2s; } }
