/* ────────────────────────────────────────────────────────────────────────
 * ASCENT — Phase 10 CSS split (2026-08-20, PARALLEL_DEV_PLAN.md).
 *
 * WARNING -- READ BEFORE TOUCHING <link> TAGS IN Ascent_Dashboard.html --
 * This file is one of twelve pieces of what used to be a single 2,142-line
 * <style> block inside Ascent_Dashboard.html. The split is a byte-exact,
 * order-preserving cut -- verified by concatenating all twelve files back
 * together and diffing against the original block (identical, zero bytes
 * different). That means the CSS cascade today is unchanged from before
 * the split, PROVIDED the <link rel="stylesheet"> tags for these files
 * stay in the exact order listed in ARCHITECTURE.md's "File split in
 * Phase 10" section.
 *
 * Several rules across these files reuse the same class name with a
 * different definition in a different file (this was already true inside
 * the single original block -- see this repo's shell-duplicate-and-
 * agent-cards.css for the clearest example). Same-specificity CSS
 * resolves by *source order*: whichever rule loads last wins. Reordering
 * these <link> tags -- alphabetizing them, "cleaning up" the <head>,
 * inserting a new file in the middle -- can silently flip which rule
 * wins, with no error and no obvious symptom beyond something looking
 * subtly wrong on one tab. If you add new CSS, prefer appending a new
 * file at the END of the <link> list over inserting into this sequence.
 * ──────────────────────────────────────────────────────────────────────── */

/* Source: original Ascent_Dashboard.html lines 1952-2017 (pre-split). */
/* Riley -- Offer Letter styling. */

  /* ── OFFER LETTER ──────────────────────────────────────────── */
  .ol-layout { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:flex-start; }
  .ol-form-panel { display:flex; flex-direction:column; gap:0; }
  .ol-preview-panel { position:sticky; top:0; }
  .ol-section { background:#fff; border:1px solid var(--border); border-radius:10px; margin-bottom:14px; overflow:hidden; }
  .ol-section-head { display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--border); background:var(--card); }
  .ol-section-num { width:22px; height:22px; border-radius:50%; background:var(--coral); color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .ol-section-title { font-size:13px; font-weight:700; color:var(--white); }
  .ol-section-body { padding:14px 16px; display:flex; flex-direction:column; gap:10px; }
  .ol-field { display:flex; flex-direction:column; gap:4px; }
  .ol-label { font-size:11px; font-weight:600; color:var(--dim); letter-spacing:0.04em; }
  .ol-input, .ol-select, .ol-textarea { width:100%; border:1px solid var(--border); border-radius:7px; padding:8px 10px; font:14px/1.4 'Inter',sans-serif; color:var(--text); background:#fff; outline:none; transition:border-color .15s; }
  .ol-input:focus, .ol-select:focus, .ol-textarea:focus { border-color:var(--coral); }
  .ol-textarea { resize:vertical; min-height:80px; }
  .ol-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .ol-grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
  .ol-toggle-row { display:flex; gap:6px; flex-wrap:wrap; }
  .ol-toggle-btn { border:1px solid var(--border); background:#fff; color:var(--dim); border-radius:6px; padding:5px 10px; font:600 12px/1 'Inter',sans-serif; cursor:pointer; transition:all .15s; }
  .ol-toggle-btn.active { background:var(--coral); border-color:var(--coral); color:#fff; }
  .ol-contingency-row { display:flex; align-items:center; gap:10px; padding:6px 0; border-bottom:1px solid var(--border); }
  .ol-contingency-row:last-child { border-bottom:none; }
  .ol-contingency-label { flex:1; font-size:13px; color:var(--text); }
  .ol-contingency-days { width:60px; border:1px solid var(--border); border-radius:6px; padding:5px 7px; font:600 13px/1 'Inter',sans-serif; color:var(--text); text-align:center; background:#fff; outline:none; }
  .ol-contingency-days:focus { border-color:var(--coral); }
  .ol-contingency-days:disabled { background:var(--card); color:var(--dim); }
  .ol-contingency-toggle { display:flex; gap:4px; }
  .ol-contingency-toggle button { border:1px solid var(--border); background:#fff; color:var(--dim); border-radius:5px; padding:4px 9px; font:600 11px/1 'Inter',sans-serif; cursor:pointer; transition:all .15s; }
  .ol-contingency-toggle button.active { background:var(--coral); border-color:var(--coral); color:#fff; }
  .ol-generate-btn { width:100%; background:var(--coral); color:#fff; border:none; border-radius:9px; padding:13px 20px; font:700 14px/1 'Inter',sans-serif; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .15s; margin-top:4px; }
  .ol-generate-btn:hover:not(:disabled) { background:#bf4a25; }
  .ol-generate-btn:disabled { opacity:.45; cursor:not-allowed; }
  .ol-preview-card { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
  .ol-preview-head { padding:12px 16px; border-bottom:1px solid var(--border); background:var(--card); display:flex; align-items:center; justify-content:space-between; }
  .ol-preview-title { font-size:11px; font-weight:700; color:var(--dim); letter-spacing:0.1em; text-transform:uppercase; border-left:3px solid var(--coral); padding-left:9px; }
  .ol-action-bar { display:flex; gap:8px; padding:10px 14px; border-bottom:1px solid var(--border); background:var(--card); flex-wrap:wrap; }
  .ol-action-btn { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); background:#fff; color:var(--text); border-radius:7px; padding:7px 13px; font:600 12px/1 'Inter',sans-serif; cursor:pointer; transition:all .15s; white-space:nowrap; }
  .ol-action-btn:hover { background:var(--card-hi); }
  .ol-action-approve { border-color:rgba(0,149,128,.35); color:#009580; }
  .ol-action-approve:hover { background:rgba(0,149,128,.08); }
  .ol-action-approve.approved { background:#009580; border-color:#009580; color:#fff; }
  .ol-action-edit.editing { background:var(--coral-50); border-color:var(--coral); color:var(--coral); }
  .ol-action-pdf { border-color:rgba(75,142,240,.35); color:#4B8EF0; }
  .ol-action-pdf:hover { background:rgba(75,142,240,.08); }
  .ol-action-send { background:var(--coral); border-color:var(--coral); color:#fff; margin-left:auto; }
  .ol-action-send:hover { background:#bf4a25; }
  .ol-action-send.sent { background:#009580; border-color:#009580; }
  .ol-action-send:disabled { opacity:.7; cursor:not-allowed; }
  .ol-status-strip { display:flex; align-items:center; gap:8px; padding:9px 16px; font-size:12px; font-weight:600; }
  .ol-status-approved { background:rgba(0,149,128,.09); color:#007a6a; border-bottom:1px solid rgba(0,149,128,.2); }
  .ol-status-sent { background:rgba(0,149,128,.09); color:#007a6a; border-bottom:1px solid rgba(0,149,128,.2); }
  .ol-preview-body { background:#fff; }
  .ol-letter { padding:28px 32px; font:13px/1.75 'Inter',sans-serif; color:#2a2a2e; }
  .ol-letter h3 { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.12em; color:var(--coral); margin:18px 0 6px; border-bottom:1px solid var(--border); padding-bottom:5px; }
  .ol-letter-section { margin-top:14px; }
  .ol-terms-grid { display:grid; grid-template-columns:auto 1fr; gap:3px 16px; margin-top:6px; font-size:12.5px; }
  .ol-terms-label { color:var(--dim); font-weight:600; white-space:nowrap; }
  .ol-terms-val { color:var(--text); }
  .ol-letter-divider { border:none; border-top:1px solid var(--border); margin:20px 0; }
  .ol-sig { margin-top:24px; font-size:12.5px; line-height:1.7; }
  .ol-letter-placeholder { padding:60px 32px; text-align:center; color:var(--dim); font-size:13px; display:flex; flex-direction:column; align-items:center; gap:12px; }
  .ol-letter-placeholder i { font-size:36px; color:var(--border); }
  .ol-back-btn { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); background:#fff; color:var(--dim); border-radius:7px; padding:7px 12px; font:600 12px/1 'Inter',sans-serif; cursor:pointer; margin-bottom:18px; }
  .ol-back-btn:hover { background:var(--card); color:var(--text); }
  .ol-toast { position:fixed; bottom:28px; right:28px; background:var(--coral); color:#fff; border-radius:8px; padding:10px 18px; font:600 13px/1 'Inter',sans-serif; z-index:9999; opacity:0; transition:opacity .3s; pointer-events:none; }
  .ol-toast.show { opacity:1; }
  @media (max-width:900px) { .ol-layout { grid-template-columns:1fr; } .ol-preview-panel { position:static; } }

