/* dot-drug-alcohol-policy-generator — style blocks lifted from the testrightacademy.com original.
   Externalised because style-src-elem is 'self' on this vhost. */


    .gen-toolbar { position: sticky; top: 0; z-index: 100; background: #0d2e4e; color: #fff; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
    .gen-toolbar .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.85); }
    .gen-toolbar .lbl strong { color: #fff; }
    .gen-toolbar button { background: #b3271e; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 800; font-size: 0.9rem; font-family: inherit; cursor: pointer; }
    .gen-toolbar button:hover { background: #d94d3f; }
    .gen-note { background: #fffbeb; border-bottom: 1px solid #fde68a; color: #7c5e10; font-size: 0.84rem; padding: 10px 18px; text-align: center; }

    .gen-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; max-width: 1180px; margin: 26px auto; padding: 0 20px; align-items: start; }
    @media (max-width: 900px) { .gen-grid { grid-template-columns: 1fr; } }
    .gen-form { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; position: sticky; top: 74px; }
    @media (max-width: 900px) { .gen-form { position: static; } }
    .gen-form h2 { color: var(--primary); font-size: 1.05rem; margin: 0 0 14px; }
    .gf { margin-bottom: 13px; }
    .gf label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; margin: 0 0 5px; }
    .gf input, .gf select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.94rem; font-family: inherit; color: var(--primary); background: #fff; }
    .gf input:focus, .gf select:focus { outline: none; border-color: #b3271e; }
    .gf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .gf-check { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: #1a2433; margin-bottom: 7px; }
    .gf-check input { width: auto; }
    .gf-group-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; margin: 16px 0 8px; }

    .policy-doc { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 54px 60px; color: #1a1a2e; font-family: "Times New Roman", Georgia, serif; font-size: 11.5pt; line-height: 1.5; box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
    @media (max-width: 560px) { .policy-doc { padding: 30px 24px; } }
    .policy-doc h1 { font-size: 17pt; text-align: center; margin: 0 0 4px; color: #0d2e4e; }
    .policy-doc .doc-sub { text-align: center; font-size: 10pt; color: #555; margin: 0 0 4px; }
    .policy-doc .doc-reg { text-align: center; font-size: 9.5pt; color: #777; margin: 0 0 22px; font-style: italic; }
    .policy-doc h2 { font-size: 12.5pt; color: #0d2e4e; margin: 20px 0 6px; border-bottom: 1px solid #cbd5e1; padding-bottom: 3px; }
    .policy-doc p { margin: 0 0 10px; }
    .policy-doc ul { margin: 0 0 10px; padding-left: 22px; }
    .policy-doc li { margin: 3px 0; }
    .policy-doc .fillable { font-weight: 700; color: #0d2e4e; }
    .policy-doc .sig { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
    .policy-doc .sig .line { border-top: 1px solid #1a1a2e; padding-top: 4px; font-size: 9.5pt; }

    @page { size: letter; margin: 0.6in; }
    @media print {
      nav.nav, .gen-toolbar, .gen-note, .gen-form, footer, .fb-band, .gen-intro { display: none !important; }
      body { background: #fff !important; }
      .gen-grid { display: block; margin: 0; padding: 0; max-width: none; }
      .policy-doc { border: none; box-shadow: none; border-radius: 0; padding: 0; }
    }
    .gen-intro { max-width: 1180px; margin: 22px auto 0; padding: 0 20px; }
    .gen-intro .section-label { color: #8fb8da; }
  
/* shared additions for the handbook / service-agreement forks */
.gen-h2 { color: var(--primary); margin: 6px 0 4px; }
.gen-p  { color: var(--text-muted); max-width: 760px; margin: 0; }
.gf-checks { display: flex; flex-direction: column; gap: 7px; }
.gf-checks label {
    display: flex; align-items: flex-start; gap: 9px; font-size: .9rem;
    color: var(--text); line-height: 1.35; cursor: pointer;
}
.gf-checks input { margin-top: 2px; flex: none; }
