:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#1e293b;background:#f4f6fa;font-size:16px;line-height:1.55;font-synthesis:none;--navy:#17243c;--indigo:#4f46e5;--muted:#64748b;--line:#dce3ee;--soft:#f8fafc;--danger:#b42318}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--indigo);text-underline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #818cf8;outline-offset:3px}input:focus,select:focus{outline:3px solid #e0e7ff;border-color:#6366f1}h1,h2,h3,p{margin:0}h1{font-size:1.9rem;line-height:1.3;letter-spacing:-.04em;color:var(--navy)}h2{font-size:1.2rem;line-height:1.4;letter-spacing:-.02em}h3{font-size:1rem;line-height:1.4}small,.small{font-size:.875rem}strong{font-weight:650}.muted{color:var(--muted)}.stack>*+*{margin-top:1rem}.skip-link{position:absolute;top:-100px;left:1rem;z-index:10;background:white;padding:.75rem}.skip-link:focus{top:1rem}.boot{min-height:90vh;display:grid;place-content:center;gap:1rem;text-align:center}.boot .brand-mark{margin:auto}.noscript{text-align:center;padding:2rem}
.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{background:white;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1280px;padding:1.15rem 2.5rem;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:1rem}.brand{display:flex;align-items:center;gap:.8rem;color:var(--navy);text-decoration:none;min-width:0}.brand-mark{background:var(--indigo);width:42px;height:46px;border-radius:10px;display:grid;place-items:center;color:white;flex-shrink:0}.brand-mark svg{width:25px;height:28px}.brand-name{font-size:1.1rem;letter-spacing:-.025em;font-weight:750;line-height:1.3}.brand-meta{font-size:.75rem;letter-spacing:.13em;color:#64748b;margin-top:.12rem}.header-actions{display:flex;align-items:center;gap:1rem}.test-pill{padding:.25rem .65rem;border:1px solid #cbd5e1;border-radius:5px;color:#475569;font-size:.75rem;font-weight:700;letter-spacing:.06em;background:#f8fafc;white-space:nowrap}.language{border:1px solid var(--line);border-radius:7px;background:white;color:#475569;padding:.4rem .7rem;font-size:.875rem}.language:hover{background:#f1f5f9}.test-banner{background:#edf0fc;border-bottom:1px solid #dce2f6;padding:.55rem 1rem;text-align:center;color:#465174;font-size:.875rem}.test-banner strong{font-weight:650}.content{width:100%;max-width:1280px;margin:0 auto;padding:2.5rem;flex:1}.footer{max-width:1280px;width:100%;margin:auto;padding:0 2.5rem 1.6rem;display:flex;justify-content:space-between;gap:1rem;font-size:.8125rem;color:#778398}.footer a{color:#64748b}.eyebrow{color:var(--indigo);font-size:.75rem;font-weight:750;letter-spacing:.14em;margin-bottom:.65rem}.page-heading{margin-bottom:1.75rem}.page-heading p{margin-top:.6rem;color:var(--muted)}
.onboard-layout{display:grid;grid-template-columns:minmax(245px,.77fr) minmax(0,1.8fr);gap:2.5rem;align-items:start}.intro{padding:.8rem 0}.intro h1{max-width:330px;font-size:2rem}.intro>.muted{margin-top:1rem;max-width:330px;line-height:1.8}.journey{list-style:none;margin:2rem 0 0;padding:0;display:grid;gap:1.3rem}.journey li{display:flex;gap:.8rem;align-items:flex-start}.step-icon{width:30px;height:30px;flex-shrink:0;background:#e8eafd;border:1px solid #d5d9fa;border-radius:50%;display:grid;place-items:center;color:var(--indigo)}.step-icon svg{width:15px;height:15px}.journey h3{font-size:.9375rem;margin-top:.15rem}.journey p{font-size:.875rem;color:var(--muted);margin-top:.2rem}.intro-note{margin-top:2rem;border-top:1px solid var(--line);padding-top:1.25rem;font-size:.875rem;line-height:1.75;color:var(--muted)}
.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 10px #18243a03}.form-panel{padding:1.7rem 2rem}.auth-tabs{display:flex;border-bottom:1px solid var(--line);gap:1.7rem;margin-bottom:1.65rem}.auth-tabs button{padding:0 .15rem .85rem;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:1rem;font-weight:600;margin-bottom:-1px}.auth-tabs button[aria-selected=true]{color:var(--indigo);border-color:var(--indigo)}.form-intro{margin-bottom:1.5rem}.form-intro p{font-size:.875rem;color:var(--muted);margin-top:.4rem}fieldset{padding:0;margin:0;border:0;min-width:0}fieldset:disabled{opacity:.72}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.2rem}.field{display:flex;flex-direction:column;gap:.4rem;min-width:0}.field.full{grid-column:1/-1}.field>label,.field-label{font-size:.875rem;font-weight:650;color:#41516a}.optional{font-weight:400;color:var(--muted)}input,select{width:100%;min-height:43px;padding:.6rem .75rem;background:white;border:1px solid #cbd5e1;border-radius:7px;color:#1e293b;line-height:1.3}input::placeholder{color:#94a3b8}input[aria-invalid=true]{border-color:#dc2626}.field-hint,.field-error{font-size:.8125rem;line-height:1.5}.field-hint{color:var(--muted)}.field-error{color:var(--danger)}.field-error:empty{display:none}.section-title{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;margin:1.8rem 0 .9rem}.section-title>span{color:var(--muted);font-size:.8125rem}.seat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.seat-card{padding:1.05rem 1.1rem;border:1px solid var(--line);border-radius:9px;background:#fcfdff}.seat-title{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;font-weight:650}.seat-title svg{color:var(--indigo);width:17px;height:17px}.seat-card p{font-size:.8125rem;color:var(--muted);margin-top:.35rem;min-height:2.55rem}.counter{display:flex;align-items:center;gap:.5rem;margin-top:.85rem}.counter button{border:1px solid #cbd5e1;width:35px;height:35px;border-radius:6px;background:white;color:#475569;font-size:1.2rem;line-height:1}.counter button:hover:not(:disabled){background:#eef2ff;border-color:#a5b4fc}.counter button:disabled{opacity:.4}.counter input{width:65px;min-height:35px;height:35px;text-align:center;padding:.35rem;appearance:textfield;-moz-appearance:textfield;font-size:1rem;font-weight:650}.counter input::-webkit-inner-spin-button,.counter input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.counter span{font-size:.875rem;color:var(--muted)}.order-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:8px;padding:1rem 1.1rem;background:#f1f4fa;margin-top:1.15rem}.order-summary p{font-size:.875rem;color:#56657b}.order-summary strong{color:#334155;font-size:1rem}.order-summary .summary-cost{text-align:right}.summary-cost small{font-size:.75rem;color:var(--muted);display:block;margin-top:.1rem}.form-bottom{border-top:1px solid var(--line);margin-top:1.5rem;padding-top:1.25rem}.form-bottom .primary{width:100%}.form-bottom>.field-hint{margin-top:.65rem;text-align:center}.primary,.secondary,.quiet{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid transparent;border-radius:7px;min-height:43px;padding:.65rem 1.1rem;font-size:.9375rem;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s}.primary{color:white;background:var(--indigo);border-color:var(--indigo)}.primary:hover:not(:disabled){background:#4338ca;border-color:#4338ca}.primary:disabled{background:#c6cce0;border-color:#c6cce0;color:#f8fafc}.secondary{background:white;border-color:#cbd5e1;color:#40516a}.secondary:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.quiet{background:transparent;color:var(--muted);padding:.4rem .7rem;font-size:.875rem}.quiet:hover:not(:disabled){background:#f1f5f9}.secondary:disabled,.quiet:disabled{opacity:.5}.primary svg,.secondary svg{width:17px;height:17px}.feedback{font-size:.875rem;line-height:1.65;padding:.8rem 1rem;border-radius:7px;margin-top:.8rem;overflow-wrap:anywhere}.feedback:empty{display:none}.feedback.error{background:#fff1f0;color:var(--danger);border:1px solid #fee1dc}.feedback.info{background:#eef2ff;color:#4338a2;border:1px solid #dce2fe}.feedback.success{background:#effaf5;color:#166544;border:1px solid #d1eddf}.feedback.loading::before,.primary.loading::before{content:"";display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:.5rem}@keyframes spin{to{transform:rotate(360deg)}}
.dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.65rem}.dashboard-heading h1{overflow-wrap:anywhere}.dashboard-heading .muted{margin-top:.4rem}.status-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:1.5rem}.status-card{padding:1.7rem}.status-top{display:flex;align-items:flex-start;gap:1rem}.status-symbol{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:12px;background:#fff5df;color:#a66a05;border:1px solid #f5e5bf}.status-symbol svg{width:25px;height:25px}.status-card.active .status-symbol{background:#e9f8f0;color:#20835a;border-color:#cbeadb}.status-card.failed .status-symbol{background:#fff1f0;color:#b42318;border-color:#fee1dc}.status-top h2{font-size:1.25rem;margin-bottom:.4rem}.status-top p{font-size:.9375rem;color:var(--muted);line-height:1.75}.status-badge{display:inline-flex;padding:.2rem .6rem;border-radius:5px;font-size:.8125rem;font-weight:650;background:#fff6e3;color:#93610c;white-space:nowrap}.status-badge.active{background:#e8f7ef;color:#1a704d}.status-badge.failed{background:#fff0ef;color:#b42318}.progress-list{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;list-style:none;padding:0;margin:1.75rem 0 0;border-top:1px solid var(--line);padding-top:1.3rem}.progress-list li{font-size:.875rem;color:var(--muted);display:flex;align-items:center;gap:.55rem}.progress-list .dot{width:22px;height:22px;border:1px solid #cbd5e1;color:#94a3b8;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.progress-list .dot svg{width:12px;height:12px}.progress-list li.done{color:#42536b}.progress-list li.done .dot{color:white;background:var(--indigo);border-color:var(--indigo)}.progress-list li.current{color:#4f46e5;font-weight:600}.progress-list li.current .dot{border-color:#a5b4fc;background:#eef2ff;color:#4f46e5}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.3rem}.stat{padding:1.1rem 1.2rem}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#617087}.stat-label svg{width:18px;height:18px;color:#9aabc1}.stat-value{font-size:1.9rem;font-weight:650;color:var(--navy);line-height:1.4;margin-top:.4rem}.stat-value small{font-size:.875rem;color:var(--muted);font-weight:400;margin-left:.35rem}.stat p{font-size:.8125rem;color:var(--muted);margin-top:.2rem}.details-card{margin-top:1.3rem;padding:1.4rem 1.5rem}.details-card h2{font-size:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem 1rem;margin:1rem 0 0}.detail-grid dt{font-size:.8125rem;color:var(--muted);margin-bottom:.2rem}.detail-grid dd{margin:0;font-size:.9375rem;overflow-wrap:anywhere}.action-card{padding:1.5rem}.action-card>.muted{font-size:.9375rem;margin-top:.65rem;line-height:1.8}.action-card .primary,.action-card .secondary{width:100%;margin-top:1.2rem}.action-card .secondary{margin-top:.7rem}.invite-note{margin-top:1.35rem;padding-top:1.25rem;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted);line-height:1.8}.invite-note strong{display:block;color:#475569;margin-bottom:.35rem}.poll-hint{font-size:.8125rem;color:var(--muted);margin-top:.8rem;line-height:1.65}.receipt-box{margin-top:1.3rem;padding:1.4rem 1.5rem}.receipt-box .detail-grid{margin-bottom:0}.receipt-box h2{font-size:1rem}
.operator-auth{max-width:480px;margin:2rem auto}.operator-auth .form-panel{padding:2rem}.operator-auth .page-heading{text-align:center}.operator-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:1.3rem;align-items:start}.company-list{overflow:hidden}.list-heading{padding:1.15rem 1.2rem;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:.5rem}.list-heading h2{font-size:1rem}.count-pill{font-size:.8125rem;min-width:25px;text-align:center;background:#eef2ff;color:#4f46e5;border-radius:4px;padding:.1rem .35rem}.list-filter{padding:.8rem 1rem;border-bottom:1px solid var(--line);display:flex;gap:.4rem}.list-filter button{font-size:.8125rem;padding:.35rem .6rem;border:0;border-radius:5px;background:transparent;color:var(--muted)}.list-filter button[aria-pressed=true]{background:#eef2ff;color:#4f46e5;font-weight:600}.company-list-items{max-height:680px;overflow-y:auto}.company-item{display:block;width:100%;text-align:left;padding:1.1rem 1.2rem;border:0;border-left:3px solid transparent;border-bottom:1px solid #edf0f5;background:white;color:#334155}.company-item:hover{background:#f8fafc}.company-item[aria-current=true]{border-left-color:var(--indigo);background:#f3f4ff}.company-item strong{display:block;font-size:.9375rem;overflow-wrap:anywhere}.company-item .company-item-meta{display:block;font-size:.8125rem;color:var(--muted);margin:.3rem 0 .6rem;overflow-wrap:anywhere}.company-item:last-child{border-bottom:0}.empty-state{padding:2.3rem 1.5rem;text-align:center;color:var(--muted);font-size:.9375rem;line-height:1.8}.empty-state svg{width:35px;height:35px;color:#a5b4cf;margin-bottom:.8rem}.operator-detail{padding:1.7rem}.operator-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1.2rem;border-bottom:1px solid var(--line)}.operator-detail-heading h2{overflow-wrap:anywhere}.operator-detail .detail-grid{margin:1.2rem 0 1.8rem}.approval-section{padding-top:1.35rem;border-top:1px solid var(--line)}.approval-section>p{color:var(--muted);font-size:.875rem;margin:.4rem 0 1.2rem;line-height:1.7}.check-field{display:flex;align-items:flex-start;gap:.65rem;font-size:.875rem;line-height:1.7;margin-top:1.2rem}.check-field input{margin-top:.22rem;width:17px;height:17px;min-height:17px;accent-color:var(--indigo);flex-shrink:0}.approval-section .form-bottom{margin-top:1.2rem}.approval-section .form-bottom .primary{width:auto;min-width:180px}.operator-toolbar{display:flex;gap:.5rem;align-items:center}.operator-note{font-size:.875rem;line-height:1.8;color:var(--muted);padding:1rem 1.1rem;border:1px solid #dce2f6;background:#f5f6fe;border-radius:8px}.operator-feedback{margin-bottom:1rem}.session-loading{padding:4rem;text-align:center;color:var(--muted)}
.brand-meta{display:block}.entry-heading{margin-top:1rem}.operator-detail .operator-seats{margin:0 0 1.5rem}.expired-note{margin-bottom:1.4rem}
@media(min-width:1500px){.content{padding-top:3.25rem}.onboard-layout{gap:4rem}}@media(max-width:1000px){.content{padding:2rem 1.5rem}.topbar-inner{padding:1rem 1.5rem}.footer{padding:0 1.5rem 1.4rem}.onboard-layout{grid-template-columns:250px minmax(0,1fr);gap:1.5rem}.form-panel{padding:1.5rem}.intro h1{font-size:1.7rem}.status-layout{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.operator-layout{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:780px){.onboard-layout{display:block;max-width:620px;margin:auto}.intro{padding:0 0 1.5rem}.intro h1{max-width:none;font-size:1.75rem}.intro>.muted{max-width:none;margin-top:.6rem}.journey{display:none}.intro-note{display:none}.status-layout{display:block}.action-card{margin-top:1.3rem}.operator-layout{grid-template-columns:1fr}.company-list-items{max-height:245px}.company-list{margin-bottom:.2rem}.company-item{padding:.85rem 1rem}.operator-detail{padding:1.4rem}.operator-auth{margin:1rem auto}.dashboard-heading h1{font-size:1.65rem}.progress-list{gap:.5rem}.progress-list li{font-size:.8125rem}.details-card,.receipt-box{padding:1.2rem}.status-card{padding:1.4rem}}
@media(max-width:480px){.content{padding:1.5rem 1rem}.topbar-inner{padding:.9rem 1rem;gap:.6rem}.brand{gap:.55rem}.brand-mark{width:35px;height:39px;border-radius:8px}.brand-name{font-size:.94rem}.brand-meta{font-size:.65rem;letter-spacing:.08em}.header-actions{gap:.5rem}.header-actions>.test-pill{display:none}.language{padding:.35rem .55rem}.test-banner{font-size:.8125rem;padding:.55rem .85rem}.form-panel{padding:1.2rem}.form-grid{grid-template-columns:1fr;gap:.9rem}.seat-grid{gap:.65rem}.seat-card{padding:.85rem}.seat-card p{min-height:3.7rem}.counter{gap:.3rem}.counter button{width:29px}.counter input{width:46px}.counter span{display:none}.section-title{display:block}.section-title>span{display:block;margin-top:.25rem}.order-summary{padding:.9rem;gap:.6rem}.order-summary strong{font-size:.9375rem}.footer{display:block;padding:0 1rem 1.2rem}.footer>:last-child{margin-top:.3rem}.dashboard-heading{gap:.5rem}.dashboard-heading .quiet{padding:.3rem}.status-top{gap:.8rem}.status-symbol{width:40px;height:40px;border-radius:10px}.status-symbol svg{width:22px;height:22px}.progress-list{grid-template-columns:1fr;gap:.7rem}.stat{padding:.95rem}.detail-grid{gap:1rem;grid-template-columns:1fr}.operator-detail-heading{flex-direction:column}.operator-toolbar{gap:.1rem}.operator-toolbar .secondary{padding:.5rem .7rem;font-size:.8125rem}.operator-auth .form-panel{padding:1.4rem}.approval-section .form-bottom .primary{width:100%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.portal-guide-link {
  color: #3730a3;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}

.portal-guide-link:hover {
  text-decoration: underline;
}

.portal-demo {
  background: #f7f8fd;
  border: 1px solid #e0e6f2;
  border-radius: 8px;
  margin: .8rem 0 1.15rem;
  padding: .65rem .85rem;
}

.portal-demo summary {
  color: #3730a3;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
}

.portal-demo dl {
  display: grid;
  gap: .5rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: .65rem 0 .15rem;
}

.portal-demo dt {
  color: #516079;
  font-size: .875rem;
}

.portal-demo dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .portal-guide-link {
    line-height: 1.2;
    text-align: center;
  }

  .portal-demo dl {
    grid-template-columns: 1fr;
  }
}

.portal-auth{max-width:650px;margin:0 auto}

.operator-invitations {
  max-width: 42rem;
  margin-bottom: 1.3rem;
}
.issued-invitation {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.issued-invitation p { overflow-wrap: anywhere; }
#issued-invitation:empty { display: none; }
#issued_code, #invitation_code { font-family: ui-monospace, monospace; }
[data-action="retry-settings"] { margin-top: .65rem; }

.company-address {
  margin: .9rem 0;
  line-height: 1.5;
}
.company-address a {
  font-size: .875rem;
  overflow-wrap: anywhere;
}
