
/* ============================================================================
   THE GLASS PASS, PART THREE — the overlays that are NOT on the shared shell.
   ----------------------------------------------------------------------------
   #popup23 carries the invite, the confirms and the offer sheet, and those are
   handled where they live (css/deal-room.css, and the two blocks beside the
   offer form's own CSS). The dialogs below each own their layer: the documents
   sheet portals itself to <body>, Talk to an Agent and the suggestion sheet are
   their own fixed overlays, and the timeline step, the verification log and the
   document analysis each built their own.

   They arrive here because the room has ONE material now. Left alone, opening
   a document from a glass room dropped you onto slate, and the agent panel was
   the only emerald surface left in a building that had gone blue.

   Placed last in the document on purpose. Every rule below is a surface — a
   background, a rim, a shadow, a text colour — and nothing here touches a
   width, a position, a radius that carries a shape, or an animation, so the
   layouts above still own their own geometry. Single-class selectors are
   deliberate: a windowed or mobile variant further up with a heavier selector
   still wins its sizing, which is what should happen.
   ========================================================================= */

/* ---- 1. the documents sheet and drawer (token-driven, so it repoints) ---- */
:root{
  --dd-bg:#061426;        --dd-card:#0B2746;
  --dd-panel:#0B2746;     --dd-line:rgba(98,183,242,.30);
  --dd-line-soft:rgba(98,183,242,.18);
  --dd-ink:#F4F7FA;       --dd-ink-2:#cfe0f2;
  --dd-mute:#8FA4BC;      --dd-mute-2:#7c8da4;
}
.dd-scrim{ background:rgba(3,8,16,.82); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.dd-sheet{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(98,183,242,.30);
  box-shadow: inset 0 1px 0 rgba(191,229,255,.18), 0 -8px 40px rgba(0,0,0,.6);
  scrollbar-width:none; -ms-overflow-style:none;
}
.dd-sheet::-webkit-scrollbar{ width:0; height:0; display:none; }
.dd-sheet-h, .dd-sheet-f, .dd-sec{ border-color:rgba(143,164,188,.22); }
.dd-x, .dd-btn, .dd-search input{
  background:linear-gradient(180deg, rgba(21,61,103,.46) 0%, rgba(5,24,45,.90) 100%);
  border:1px solid rgba(98,183,242,.32);
  box-shadow:inset 0 1px 0 rgba(191,229,255,.22);
}
.dd-btn{ border-radius:50px; color:#cbd5e1; }
.dd-btn:hover{ border-color:rgba(98,183,242,.55); color:#fff; }
.dd-search input:focus{ border-color:rgba(139,203,255,.8); box-shadow:0 0 0 3px rgba(139,203,255,.18); }
.dd-btn.primary{
  background:linear-gradient(145deg,#F8E4AB 0%,#F4D995 42%,#DDB760 100%);
  border-color:rgba(255,235,184,.78); color:#071A2E;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 22px rgba(238,196,101,.25);
}
.dd-btn.primary:hover{ filter:brightness(1.06); }
.dd-x:focus-visible, .dd-btn:focus-visible{ outline:2px solid #8BCBFF; outline-offset:3px; }

/* ---- 2. Talk to a Housbe Agent ---- */
#tdaModal{ background:rgba(3,8,16,.82); }
#tdaModal .tdam-panel{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(98,183,242,.30);
  box-shadow: inset 0 1px 0 rgba(191,229,255,.18), 0 30px 70px rgba(0,0,0,.6);
}
#tdaModal .tdam-head{
  background:linear-gradient(180deg, rgba(35,112,183,.16), rgba(10,32,58,0));
  border-bottom:1px solid rgba(143,164,188,.22);
}

/* ---- 3. Send a Suggestion ----
   Its rim was teal, which was the last of the old accent colours in the room. */
#tlSugModal{ background:rgba(3,8,16,.82); }
#tlSugModal .tlsm-panel{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(98,183,242,.30);
  box-shadow: inset 0 1px 0 rgba(191,229,255,.18), 0 30px 70px rgba(0,0,0,.6);
  scrollbar-width:none; -ms-overflow-style:none;
}
#tlSugModal .tlsm-panel::-webkit-scrollbar{ width:0; height:0; display:none; }

/* ---- 4. the timeline step detail ---- */
.timeline-modal-overlay{ background:rgba(3,8,16,.82); }
.timeline-modal-container{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(98,183,242,.30);
  box-shadow: inset 0 1px 0 rgba(191,229,255,.18), 0 30px 70px rgba(0,0,0,.6);
}
.timeline-modal-header{ border-bottom-color:rgba(143,164,188,.22); }
.timeline-modal-body{ scrollbar-width:none; -ms-overflow-style:none; }
.timeline-modal-body::-webkit-scrollbar{ width:0; height:0; display:none; }

/* ---- 5. the verification / audit log ---- */
.housbe-modal-content{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(244,217,149,.40);
  box-shadow: inset 0 1px 0 rgba(255,240,205,.20), 0 30px 70px rgba(0,0,0,.62);
}
.housbe-modal-header{ border-bottom-color:rgba(143,164,188,.22); }
.housbe-modal-body{ scrollbar-width:none; -ms-overflow-style:none; }
.housbe-modal-body::-webkit-scrollbar{ width:0; height:0; display:none; }

/* ---- 6. the document AI analysis ---- */
.doc-analysis-container{
  background:
    radial-gradient(70% 38% at 88% 2%, rgba(35,112,183,.30), transparent 72%),
    radial-gradient(58% 42% at 0% 66%, rgba(14,91,151,.18), transparent 75%),
    linear-gradient(180deg,#0A203A 0%,#071A31 52%,#061426 100%);
  border:1px solid rgba(98,183,242,.30);
  box-shadow: inset 0 1px 0 rgba(191,229,255,.18), 0 30px 70px rgba(0,0,0,.6);
}
.doc-analysis-header{ border-bottom-color:rgba(143,164,188,.22); }
.doc-analysis-body{ scrollbar-width:none; -ms-overflow-style:none; }
.doc-analysis-body::-webkit-scrollbar{ width:0; height:0; display:none; }
