/* iClaimsGuard TRIAL instance only (see trial-ui.js). Uses the app's own colour variables. */
#authView { display: none !important; }

#trialBanner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 9px 26px; background: #1B2430; color: #fff; font-size: 13px; border-bottom: 3px solid var(--orange, #F6921E); }
#trialBanner strong { font-weight: 700; }
#trialBanner .trial-pill { background: var(--orange, #F6921E); color: #1B2430; font-weight: 800; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
#trialBanner .trial-time { color: #D6E2EA; font-variant-numeric: tabular-nums; }
#trialBanner .trial-warn { color: #FFD9A8; font-weight: 600; }
#trialBanner .trial-btn { margin-left: auto; }
/* Next steps (item 18): waitlist + walkthrough, pushed right with "Start over" after them. */
#trialBanner .trial-next { margin-left: auto; display: inline-flex; flex-wrap: wrap; gap: 8px; }
#trialBanner .trial-next .trial-btn, #trialBanner .trial-next + .trial-btn { margin-left: 0; }
.trial-modal-next { margin: 16px 0 0; font-weight: 600; }
.trial-modal .trial-modal-next-links { justify-content: flex-start; flex-wrap: wrap; margin-top: 8px; }

.trial-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 12.5px; font-weight: 700; font-family: inherit; text-decoration: none; display: inline-block; }
.trial-btn:hover { background: rgba(255,255,255,.18); }
.trial-btn:focus-visible, .trial-seg:focus-visible, .trial-sample-pick:focus-visible { outline: 3px solid var(--orange, #F6921E); outline-offset: 2px; }
.trial-btn[disabled] { opacity: .6; cursor: progress; }
.trial-btn-primary { background: var(--orange, #F6921E); border-color: var(--orange, #F6921E); color: #1B2430; }
.trial-btn-primary:hover { background: #FFA63F; }

.trial-switch { display: inline-flex; align-items: center; gap: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 3px; }
.trial-seg { background: transparent; border: none; color: #C9D6DF; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 12.5px; font-weight: 700; font-family: inherit; }
.trial-seg.active { background: var(--orange, #F6921E); color: #1B2430; }
.trial-split-label { color: #C9D6DF; font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; margin: 0 6px 0 10px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.trial-split-label input { width: auto; margin: 0; }
@media (max-width: 1199px) { .trial-wide-only { display: none !important; } }

#trialHelp { background: #fff; color: #16222E; }
body.trial-helpmode .wrap { display: none; }
body.trial-helpmode #trialHelp { max-width: 980px; margin: 18px auto 40px; padding: 26px 30px; border-radius: 16px; border: 1px solid var(--line, #E4EAEE); box-shadow: 0 12px 34px rgba(19,28,38,.12); }
body.trial-split .wrap { margin-right: 42vw; }
body.trial-split #trialHelp { position: fixed; top: 0; right: 0; bottom: 0; width: 42vw; overflow-y: auto; padding: 22px 26px 40px; border-left: 4px solid var(--orange, #F6921E); box-shadow: -8px 0 28px rgba(19,28,38,.18); z-index: 20; }
.trial-help-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; border-bottom: 1px solid var(--line, #E4EAEE); padding-bottom: 12px; margin-bottom: 12px; }
.trial-help-head .trial-btn { background: var(--navy, #293643); border-color: var(--navy, #293643); margin-left: auto; }
.trial-help-title { font-size: 19px; margin: 0; color: var(--navy, #293643); font-weight: 800; }
.trial-help-pick { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; }
.trial-help-pick select { width: auto; }
.trial-note { background: var(--orange-soft, #FDECD8); border-left: 4px solid var(--orange, #F6921E); padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.5; }
.trial-overview { margin: 10px 0 16px; border: 1px solid var(--line, #E4EAEE); border-radius: 9px; padding: 8px 14px; }
.trial-overview summary { cursor: pointer; font-weight: 700; color: var(--slate, #3F5866); }
.trial-step { border-top: 1px solid var(--line, #E4EAEE); padding: 14px 0 6px; font-size: 13.5px; line-height: 1.55; }
.trial-step h3 { font-size: 15.5px; margin: 0 0 8px; color: var(--navy, #293643); }
.trial-step-n { color: var(--orange, #F6921E); }
.trial-step.here { background: linear-gradient(90deg, rgba(246,146,30,.10), transparent 60%); border-left: 4px solid var(--orange, #F6921E); padding-left: 12px; border-radius: 4px; }
.trial-here { margin-left: 10px; background: var(--orange, #F6921E); color: #1B2430; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 20px; vertical-align: middle; }
.trial-step table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 12.5px; }
.trial-step th, .trial-step td { border: 1px solid var(--line, #E4EAEE); padding: 6px 8px; text-align: left; vertical-align: top; }
.trial-step th { background: var(--navy, #293643); color: #fff; text-transform: none; letter-spacing: 0; font-size: 12px; }
.trial-step code { font-family: Consolas, Menlo, monospace; background: var(--panel, #F7F9FA); padding: 0 4px; border-radius: 3px; }
.trial-step .see { background: var(--paleblue-soft, #E3EFF4); border-left: 3px solid var(--slate, #3F5866); padding: 7px 10px; margin: 8px 0; border-radius: 4px; }
.trial-step .note { background: var(--orange-soft, #FDECD8); border-left: 3px solid var(--orange, #F6921E); padding: 7px 10px; margin: 8px 0; border-radius: 4px; }
.trial-step figure { margin: 8px 0 14px; }
.trial-step figure img { max-width: 100%; border: 1px solid #C9D3DA; border-radius: 6px; cursor: zoom-in; display: block; }
.trial-step figcaption { font-size: 12px; color: var(--slate, #3F5866); margin-top: 4px; }
.trial-step .legend { display: inline-block; width: 18px; height: 18px; line-height: 18px; border-radius: 50%; background: var(--orange, #F6921E); color: #fff; font-weight: 700; font-size: 11px; text-align: center; margin: 0 3px; }
.trial-empty { color: var(--slate, #3F5866); }

.trial-hidden-file { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; }
.trial-sample { margin-top: 2px; }
.trial-sample-pick { border: 2px dashed var(--orange, #F6921E) !important; background: #FFFAF3 !important; font-weight: 600; }
.trial-sample-note { font-size: 11.5px; color: var(--slate, #3F5866); margin-top: 4px; }
.trial-sample-note.trial-bad { color: var(--bad, #B02A24); font-weight: 600; }

.trial-backdrop { position: fixed; inset: 0; background: rgba(12,18,26,.6); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.trial-modal { background: #fff; border-radius: 14px; padding: 24px 26px; width: min(480px, 100%); box-shadow: 0 20px 60px rgba(0,0,0,.35); border-top: 5px solid var(--orange, #F6921E); }
.trial-modal h2 { margin: 0 0 8px; font-size: 18px; color: var(--navy, #293643); }
.trial-modal p { font-size: 14px; line-height: 1.5; color: #16222E; }
.trial-modal .trial-btn:not(.trial-btn-primary) { background: #fff; color: var(--navy, #293643); border-color: #CBD5DB; }
.trial-modal-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

@media (max-width: 880px) {
  #trialBanner { padding: 8px 14px; font-size: 12px; }
  #trialBanner .trial-btn { margin-left: 0; }
  #trialBanner .trial-next { margin-left: 0; }
  .trial-switch { order: 3; }
  body.trial-helpmode #trialHelp { margin: 10px; padding: 16px; }
}
@media print { #trialBanner, .trial-switch, #trialHelp { display: none !important; } }
/* The demo has no password of its own (the server refuses the password routes here too). */
.sidebar .tab[data-tab="password"] { display: none !important; }
