/* OperationHQ plan checkout modal (pricing page). Appended to <body>, so it carries its own light/dark tokens. */
.ohq-co{--co-bg:#fff;--co-bg2:#f8f7ff;--co-text:#16133a;--co-text2:#3b356f;--co-muted:rgba(22,19,58,.62);--co-border:rgba(83,74,183,.16);--co-border2:rgba(83,74,183,.32);--co-brand:#534ab7;--co-brand2:#6747d7;--co-blue:#217ed5;--co-green:#15966d;--co-danger:#c0392b;--co-field:#fff;
  position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:24px;font-family:"IBM Plex Sans",Inter,system-ui,sans-serif;color:var(--co-text);opacity:0;transition:opacity .18s ease}
html[data-theme="dark"] .ohq-co{--co-bg:#100e1d;--co-bg2:#17142a;--co-text:#f4f2ff;--co-text2:#d9d5f4;--co-muted:rgba(240,238,255,.64);--co-border:rgba(145,137,237,.22);--co-border2:rgba(145,137,237,.4);--co-brand:#8f86ef;--co-brand2:#a89ff2;--co-green:#5dcaa5;--co-danger:#ff8a80;--co-field:#0c0a17}
.ohq-co[hidden]{display:none}
.ohq-co.is-open{opacity:1}
.ohq-co *{box-sizing:border-box}
html.ohq-co-open,html.ohq-co-open body{overflow:hidden}
.ohq-co__backdrop{position:absolute;inset:0;background:rgba(14,11,38,.55);backdrop-filter:blur(4px)}
.ohq-co__panel{position:relative;width:min(980px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden;background:var(--co-bg);border:1px solid var(--co-border);border-radius:10px;box-shadow:0 30px 90px rgba(14,11,38,.35);transform:translateY(12px) scale(.985);transition:transform .2s ease}
.ohq-co.is-open .ohq-co__panel{transform:none}
.ohq-co__head{display:flex;align-items:center;gap:14px;padding:22px 28px 18px;border-bottom:1px solid var(--co-border)}
.ohq-co__head>div{flex:1;min-width:0}
.ohq-co__head h2{margin:2px 0 0;font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.4px;color:var(--co-text)}
.ohq-co__eyebrow{margin:0;color:var(--co-brand);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ohq-co__badge{padding:5px 10px;border-radius:6px;background:rgba(232,149,0,.14);color:#b86e00;font-size:12px;font-weight:700;white-space:nowrap}
html[data-theme="dark"] .ohq-co__badge{color:#ffc266}
.ohq-co__close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--co-border);border-radius:5px;background:transparent;color:var(--co-text);cursor:pointer}
.ohq-co__close:hover{border-color:var(--co-border2);background:var(--co-bg2)}
.ohq-co__close svg{width:18px;height:18px}
.ohq-co__body{display:grid;grid-template-columns:minmax(0,1fr) 370px;min-height:0;overflow:auto}
.ohq-co__body[hidden]{display:none}
.ohq-co__form{padding:24px 28px 28px}
.ohq-co__step{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.ohq-co__step:not(:first-child){margin-top:28px}
.ohq-co__step h3{margin:0;font-size:16px;font-weight:700;color:var(--co-text)}
.ohq-co__step-num{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--co-brand);color:#fff;font-size:12px;font-weight:700}
.ohq-co__plans{display:grid;gap:10px}
.ohq-co__plan{position:relative;display:flex;align-items:center;gap:14px;padding:14px 16px;border:1.5px solid var(--co-border);border-radius:7px;background:var(--co-bg);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.ohq-co__plan:hover{border-color:var(--co-border2)}
.ohq-co__plan.is-selected{border-color:var(--co-brand);background:color-mix(in srgb,var(--co-brand) 6%,var(--co-bg));box-shadow:0 0 0 3px color-mix(in srgb,var(--co-brand) 14%,transparent)}
.ohq-co__radio{flex:none;width:18px;height:18px;margin:0;accent-color:var(--co-brand)}
.ohq-co__plan-main{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.ohq-co__plan-name{font-size:15px;font-weight:700;color:var(--co-text)}
.ohq-co__plan-users{font-size:13px;color:var(--co-muted)}
.ohq-co__plan-price{text-align:right;white-space:nowrap}
.ohq-co__plan-price strong{font-size:18px;font-weight:700;color:var(--co-text)}
.ohq-co__plan-price small{margin-left:2px;font-size:12px;color:var(--co-muted)}
.ohq-co__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.ohq-co__field{display:flex;flex-direction:column;gap:6px;min-width:0}
.ohq-co__field.is-wide{grid-column:1/-1}
.ohq-co__field label{font-size:13px;font-weight:600;color:var(--co-text2)}
.ohq-co__optional{font-weight:400;color:var(--co-muted)}
.ohq-co__field input,.ohq-co__field select{width:100%;height:44px;padding:0 13px;border:1px solid var(--co-border2);border-radius:5px;background:var(--co-field);color:var(--co-text);font:inherit;font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s}
.ohq-co__field input::placeholder{color:var(--co-muted);opacity:.7}
.ohq-co__field input:focus,.ohq-co__field select:focus{border-color:var(--co-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--co-brand) 18%,transparent)}
.ohq-co__field input[aria-invalid="true"],.ohq-co__field select[aria-invalid="true"]{border-color:var(--co-danger)}
.ohq-co__field-error{min-height:0;margin:0;color:var(--co-danger);font-size:12.5px}
.ohq-co__field-error:empty{display:none}
.ohq-co__summary{display:flex;flex-direction:column;padding:24px 24px 26px;background:var(--co-bg2);border-left:1px solid var(--co-border)}
.ohq-co__sum-plan{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:10px}
.ohq-co__sum-plan strong{font-size:20px;font-weight:700;color:var(--co-text)}
.ohq-co__sum-plan span{font-size:13px;font-weight:600;color:var(--co-brand);white-space:nowrap}
.ohq-co__sum-tagline{margin:4px 0 12px;font-size:13.5px;color:var(--co-muted)}
.ohq-co__sum-list{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:7px}
.ohq-co__sum-list li{position:relative;padding-left:22px;font-size:13.5px;line-height:1.4;color:var(--co-text2)}
.ohq-co__sum-list li:before{content:"";position:absolute;left:2px;top:4px;width:11px;height:6px;border-left:2px solid var(--co-green);border-bottom:2px solid var(--co-green);transform:rotate(-45deg)}
.ohq-co__totals{margin:0;padding:14px 0 0;border-top:1px solid var(--co-border);display:grid;gap:9px}
.ohq-co__totals div{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.ohq-co__totals dt{color:var(--co-muted)}
.ohq-co__totals dd{margin:0;font-weight:600;color:var(--co-text);font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}
.ohq-co__totals .is-total{margin-top:3px;padding-top:12px;border-top:1px dashed var(--co-border2)}
.ohq-co__totals .is-total dt{color:var(--co-text);font-weight:700}
.ohq-co__totals .is-total dd{font-size:20px;font-weight:700}
.ohq-co__error{margin:14px 0 0;color:var(--co-danger);font-size:13.5px;line-height:1.45}
.ohq-co__error:empty{display:none}
.ohq-co__pay{width:100%;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;margin-top:18px;padding:0 18px;border:0;border-radius:6px;background:linear-gradient(90deg,var(--co-brand2),var(--co-blue));color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(83,74,183,.28);transition:transform .15s,box-shadow .15s,opacity .15s}
.ohq-co__pay:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px rgba(83,74,183,.34)}
.ohq-co__pay:focus-visible,.ohq-co__close:focus-visible{outline:3px solid color-mix(in srgb,var(--co-brand) 45%,transparent);outline-offset:2px}
.ohq-co__pay:disabled{cursor:progress;opacity:.75}
.ohq-co__secure{display:flex;align-items:flex-start;gap:7px;margin:14px 0 0;color:var(--co-muted);font-size:12.5px;line-height:1.45}
.ohq-co__secure svg{flex:none;width:16px;height:16px;color:var(--co-green)}
.ohq-co__legal{margin:8px 0 0;color:var(--co-muted);font-size:12px;line-height:1.45}
.ohq-co__legal a{color:var(--co-brand)}
.ohq-co__field select{appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,var(--co-muted) 50%),linear-gradient(135deg,var(--co-muted) 50%,transparent 50%);background-position:calc(100% - 18px) 19px,calc(100% - 13px) 19px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;cursor:pointer}
.ohq-co__seats{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:14px 16px;border:1.5px dashed var(--co-border2);border-radius:7px;background:var(--co-bg2)}
.ohq-co__seats-text{min-width:0}
.ohq-co__seats-text label{display:block;font-size:15px;font-weight:700;color:var(--co-text)}
.ohq-co__seats-hint{margin:3px 0 0;font-size:13px;line-height:1.45;color:var(--co-muted)}
.ohq-co__link{padding:0;border:0;background:none;color:var(--co-brand);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.ohq-co__stepper{flex:none;display:flex;align-items:center;border:1.5px solid var(--co-border2);border-radius:6px;background:var(--co-field);overflow:hidden}
.ohq-co__stepper button{width:42px;height:44px;padding:0;border:0;background:transparent;color:var(--co-brand);font-family:inherit;font-size:22px;font-weight:700;line-height:1;cursor:pointer}
.ohq-co__stepper button:hover:not(:disabled){background:color-mix(in srgb,var(--co-brand) 8%,transparent)}
.ohq-co__stepper button:disabled{color:var(--co-muted);opacity:.45;cursor:not-allowed}
.ohq-co__stepper input{width:64px;height:44px;padding:0;border:0;border-left:1px solid var(--co-border);border-right:1px solid var(--co-border);background:transparent;color:var(--co-text);font-family:inherit;font-size:17px;font-weight:700;text-align:center;outline:none;-moz-appearance:textfield}
.ohq-co__stepper input::-webkit-outer-spin-button,.ohq-co__stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ohq-co__stepper:focus-within{border-color:var(--co-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--co-brand) 16%,transparent)}
.ohq-co__sum-note{margin:10px 0 0;color:var(--co-muted);font-size:12.5px;line-height:1.45}
.ohq-co__success-actions{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:420px;margin:22px auto 0}
.ohq-co__success-actions .ohq-co__pay{margin-top:0}
.ohq-co__pay svg{width:18px;height:18px;flex:none}
.ohq-co__secondary{width:100%;min-height:46px;border:1px solid var(--co-border2);border-radius:6px;background:transparent;color:var(--co-text);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ohq-co__secondary:hover{background:var(--co-bg2)}
.ohq-co__success{padding:40px 28px 32px;text-align:center;overflow:auto}
.ohq-co__success[hidden]{display:none}
.ohq-co__success-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:color-mix(in srgb,var(--co-green) 14%,transparent);color:var(--co-green)}
.ohq-co__success-icon svg{width:32px;height:32px}
.ohq-co__success h3{margin:0 0 8px;font-size:24px;font-weight:700;color:var(--co-text)}
.ohq-co__success>p{max-width:460px;margin:0 auto 22px;color:var(--co-muted);font-size:15px;line-height:1.55}
.ohq-co__receipt{max-width:420px;margin:0 auto;padding:16px 18px;border:1px solid var(--co-border);border-radius:7px;background:var(--co-bg2);text-align:left}
@media (max-width:820px){
  .ohq-co{padding:0;align-items:flex-end}
  .ohq-co__panel{max-height:94vh;border-radius:10px 10px 0 0}
  .ohq-co__body{grid-template-columns:1fr}
  .ohq-co__summary{border-left:0;border-top:1px solid var(--co-border)}
  .ohq-co__head{padding:18px 18px 14px}
  .ohq-co__head h2{font-size:19px}
  .ohq-co__form{padding:20px 18px 22px}
  .ohq-co__summary{padding:20px 18px 24px}
}
@media (max-width:520px){
  .ohq-co__grid{grid-template-columns:1fr}
  .ohq-co__seats{flex-direction:column;align-items:stretch}
  .ohq-co__stepper{align-self:flex-start}
  .ohq-co__badge{display:none}
}
@media (prefers-reduced-motion:reduce){.ohq-co,.ohq-co__panel{transition:none}}

/* Order summary: professional layout (v1.7) */
.ohq-co__sum-card{margin-top:10px;padding:14px 16px;border:1px solid var(--co-border);border-radius:7px;background:var(--co-bg)}
.ohq-co__sum-card .ohq-co__sum-plan{margin-top:0;align-items:center}
.ohq-co__sum-chip{padding:3px 9px;border-radius:6px;background:color-mix(in srgb,var(--co-brand) 12%,transparent);color:var(--co-brand)!important;font-size:12px!important;font-weight:700}
.ohq-co__sum-card .ohq-co__sum-tagline{margin:4px 0 0}
.ohq-co__sum-seats{margin:10px 0 0;padding-top:10px;border-top:1px dashed var(--co-border2);font-size:13px;font-weight:600;color:var(--co-text2)}
.ohq-co__sum-list{margin:16px 0 18px}
.ohq-co__totals dt small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:var(--co-muted)}
.ohq-co__totals .is-discount dt,.ohq-co__totals .is-discount dd{color:var(--co-green)}
.ohq-co__totals .is-sub{padding-top:9px;border-top:1px solid var(--co-border)}
.ohq-co__totals .is-total{align-items:flex-start;margin-top:4px;padding:12px 14px;border:0;border-radius:6px;background:color-mix(in srgb,var(--co-brand) 9%,var(--co-bg))}
.ohq-co__totals .is-total dd{font-size:21px;line-height:1.1}
.ohq-co__sum-save{margin:10px 0 0;padding:8px 12px;border-radius:5px;background:color-mix(in srgb,var(--co-green) 12%,transparent);color:var(--co-green);font-size:13px;font-weight:700;text-align:center}
.ohq-co__sum-save[hidden]{display:none}
.ohq-co__totals .is-total dd{flex:none;white-space:nowrap;font-size:20px}
.ohq-co__totals .is-total dt{min-width:0}
