/* Dashboard — same world as /account, different job.
   /account is a threshold and holds one decision; this is a room you return to, so the
   geometry recedes to a quiet motif and the content does the talking. */
@import url('/auth/account.css');

/* ---- the geometry, demoted ---- */
.deck{
  position:relative;z-index:1;max-width:1180px;margin-inline:auto;width:100%;
  padding:clamp(18px,3vw,30px) clamp(20px,5vw,56px) clamp(56px,8vw,96px);
}
.deck::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  inset-inline-end:-140px;top:-90px;width:520px;height:520px;opacity:.5;
  background:radial-gradient(circle at 50% 50%,rgba(210,169,95,.1),transparent 62%);
}

/* ---- preview banner ---- */
.preview{
  display:flex;gap:13px;align-items:flex-start;
  border:1px solid rgba(210,169,95,.34);background:rgba(210,169,95,.07);
  border-radius:14px;padding:14px 17px;margin-bottom:30px;font-size:.88rem;color:var(--gold-lit);
}
.preview b{display:block;color:var(--gold-lit);font-weight:800;margin-bottom:3px}
.preview span{color:var(--mist);font-weight:500}
.preview svg{flex:0 0 17px;margin-top:2px;stroke:var(--gold);fill:none;stroke-width:1.6}

/* ---- greeting ---- */
.hello{margin-bottom:clamp(26px,4vw,40px)}
.hello .eyebrow{margin-bottom:16px}
.hello h1{font-size:clamp(2rem,4.2vw,3.1rem);margin-bottom:10px}
.hello p{color:var(--mist);max-width:52ch;margin:0}

/* ---- next session: the one thing worth surfacing first ---- */
.next{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:auto 1fr auto;gap:clamp(18px,3vw,30px);align-items:center;
  background:linear-gradient(120deg,rgba(28,39,64,.9),rgba(20,29,46,.82));
  border:1px solid var(--hair);border-left:3px solid var(--accent,var(--gold));
  border-radius:20px;padding:clamp(20px,3vw,28px);margin-bottom:clamp(26px,4vw,38px);
}
html[dir="rtl"] .next{border-left:1px solid var(--hair);border-right:3px solid var(--accent,var(--gold))}
.next .who{display:flex;align-items:center;gap:15px;min-width:0}
.next .who img{width:62px;height:62px;border-radius:50%;object-fit:cover;border:2px solid var(--accent,var(--gold))}
.next .who b{display:block;font-size:1.12rem;font-weight:800;letter-spacing:-.01em}
.next .who span{color:var(--mist);font-size:.86rem}
.next .when{text-align:end;white-space:nowrap}
.next .when .big{font-family:var(--serif);font-style:italic;font-size:clamp(1.6rem,3vw,2.2rem);color:var(--gold-lit);line-height:1.1}
.next .when .sm{display:block;color:var(--faint);font-size:.76rem;letter-spacing:.06em;margin-top:4px}
.next .lbl{
  font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;font-weight:800;
  color:var(--accent,var(--gold));margin-bottom:9px;
}
@media(max-width:760px){
  .next{grid-template-columns:1fr;gap:16px}
  .next .when{text-align:start}
}

/* ---- panels ---- */
.panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(248px,1fr));gap:18px}
.panel{
  background:linear-gradient(168deg,rgba(28,39,64,.6),rgba(20,29,46,.72));
  border:1px solid var(--hair);border-radius:18px;padding:24px;
  display:flex;flex-direction:column;min-height:210px;
}
.panel h2{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:800;
          color:var(--faint);margin:0 0 18px;display:flex;align-items:center;gap:9px}
.panel h2 .count{
  margin-inline-start:auto;font-size:.72rem;letter-spacing:0;text-transform:none;
  color:var(--gold-lit);background:rgba(210,169,95,.14);border-radius:999px;padding:2px 9px;
}
.panel .body{flex:1;display:flex;flex-direction:column;justify-content:center}
/* An empty screen is an invitation, so it names the next action rather than the absence. */
.empty{text-align:center;padding:6px 0}
.empty .glyph{font-size:1.5rem;color:rgba(210,169,95,.5);margin-bottom:11px}
.empty p{color:var(--mist);font-size:.9rem;margin:0 0 16px;line-height:1.5}
.empty a{
  display:inline-flex;align-items:center;gap:7px;font-size:.86rem;font-weight:800;
  color:var(--gold-lit);text-decoration:none;border-bottom:1px solid rgba(210,169,95,.4);padding-bottom:2px;
}
.empty a:hover{color:#fff;border-color:#fff}

/* profile rows */
.rows{display:grid;gap:1px;background:var(--hair);border-radius:12px;overflow:hidden}
.rows div{display:flex;justify-content:space-between;gap:14px;align-items:center;
          background:rgba(16,23,37,.55);padding:12px 15px;font-size:.88rem}
.rows dt{color:var(--faint);margin:0}
.rows dd{margin:0;font-weight:700;text-align:end;overflow-wrap:anywhere}

/* ---- the week ---- */
.week{margin-top:clamp(30px,4vw,42px)}
.week h2{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:800;
         color:var(--faint);margin:0 0 16px}
.days{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
@media(max-width:860px){.days{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.days{grid-template-columns:1fr}}
.day{
  background:rgba(16,23,37,.42);border:1px solid var(--hair);border-radius:14px;padding:15px;
  transition:border-color .2s,transform .2s;
}
.day:hover{border-color:rgba(210,169,95,.4);transform:translateY(-3px)}
.day.today{border-color:rgba(210,169,95,.55);background:rgba(210,169,95,.06)}
.day > b{display:block;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;
         color:var(--gold);margin-bottom:12px;font-weight:800}
.slot{display:flex;gap:10px;align-items:center;padding:7px 0}
.slot + .slot{border-top:1px dashed var(--hair)}
.slot img{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 30px}
.slot .t{font-size:.76rem;color:var(--gold-lit);font-weight:800;font-variant-numeric:tabular-nums}
.slot .n{font-size:.8rem;color:var(--mist);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* .signout moved to account.css — three pages use it, so it has one home there. */

/* The rooms this person has, and where a request of theirs stands (31/08). */
.rooms{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-bottom:26px}
.room-card{display:flex;flex-direction:column;gap:5px;padding:17px 19px;text-decoration:none;
  color:inherit;border:1px solid var(--hair);border-radius:14px;background:var(--card,rgba(226,238,242,.03));
  transition:border-color .18s,transform .18s}
a.room-card:hover{border-color:var(--gold,#d9b26a);transform:translateY(-2px)}
.room-card b{font-size:1rem;font-weight:800}
.room-card span{font-size:.85rem;opacity:.62;line-height:1.4}
.room-card.is-pending{border-style:dashed;opacity:.9}
.room-card.is-pending b{color:var(--gold,#d9b26a)}

/* The partner room: the link is the job, so it leads. */
.linkbox{border:1px solid var(--hair);border-radius:16px;padding:20px 22px;margin-bottom:26px;
  background:var(--card,rgba(226,238,242,.03))}
.linkbox.is-wait{border-style:dashed}
.linkbox.is-wait b{display:block;margin-bottom:6px;color:var(--gold,#d9b26a)}
.linkbox.is-wait p{margin:0;font-size:.88rem;opacity:.66;line-height:1.5}
.lb-head{display:flex;align-items:baseline;gap:14px;margin-bottom:13px;flex-wrap:wrap}
.lb-head b{font-size:1rem;font-weight:800}
.lb-head .code{font-family:ui-monospace,'SF Mono',Menlo,monospace;font-size:.86rem;
  letter-spacing:.12em;color:var(--gold,#d9b26a)}
.lb-row{display:flex;gap:10px;flex-wrap:wrap}
.lb-row input{flex:1 1 260px;min-width:0;font:inherit;font-size:.9rem;padding:12px 14px;
  border-radius:11px;border:1px solid var(--hair);background:transparent;color:inherit}
.lb-row .btn{flex:0 0 auto;padding:12px 20px;border-radius:11px;border:1px solid var(--hair);
  background:transparent;color:inherit;font:inherit;font-weight:800;font-size:.86rem;cursor:pointer}
.lb-row .btn:hover{border-color:var(--gold,#d9b26a);color:var(--gold,#d9b26a)}
.lb-note{margin:13px 0 0;font-size:.82rem;opacity:.58;line-height:1.5}
.tiers{width:100%;border-collapse:collapse;font-size:.9rem}
.tiers th,.tiers td{text-align:start;padding:11px 14px;border-bottom:1px solid var(--hair)}
.tiers th{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;opacity:.55;font-weight:800}
.tiers .num{text-align:end;font-variant-numeric:tabular-nums;font-weight:800}
.tiers tbody tr:last-child td{border-bottom:0}
.card.wide{grid-column:1/-1}
.backlink{margin-top:30px;font-size:.88rem}
.backlink a{color:inherit;opacity:.66;text-decoration:none}
.backlink a:hover{opacity:1}

/* What a member owns. Until 31/08 these two panels showed a hard-coded 0 and the
   entitlements table had no reader anywhere on the site. */
.owned{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.owned a{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:11px;
  text-decoration:none;color:inherit;transition:background .18s}
.owned a:hover{background:rgba(226,238,242,.06)}
.owned img{border-radius:8px;object-fit:cover;flex:0 0 auto}
.owned span{font-size:.92rem;font-weight:700;line-height:1.35}
.tiers tr.mine td{background:rgba(217,178,106,.08)}
.tiers .you{margin-inline-start:8px;font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-lit,#d9b26a)}
.room-card.is-granted{border-style:solid;border-color:var(--gold,#d9b26a);background:rgba(217,178,106,.09)}
.share{display:flex;gap:16px;align-items:flex-start;margin-top:16px;padding-top:16px;border-top:1px solid var(--hair)}
.share img{border-radius:12px;object-fit:cover;flex:0 0 auto;border:1px solid var(--hair)}
.share-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.share textarea{width:100%;font:inherit;font-size:.88rem;line-height:1.5;padding:12px 14px;border-radius:11px;
  border:1px solid var(--hair);background:transparent;color:inherit;resize:vertical}
.share .btn{align-self:flex-start;padding:10px 18px;border-radius:11px;border:1px solid var(--hair);
  background:transparent;color:inherit;font:inherit;font-weight:800;font-size:.84rem;cursor:pointer}
@media(max-width:560px){ .share{flex-direction:column} }
/* the partner room's cards reuse .card, whose h2 lacked the dashboard panels' count layout */
.card > h2{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.card > h2 .count{font-variant-numeric:tabular-nums;font-weight:800;color:var(--gold-lit,#d9b26a)}
a.roomlink{text-decoration:none;display:inline-flex;align-items:center}

/* The door into the live session, and raising a hand after sign-up (31/08). */
.joinbtn{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:11px 22px;
  border-radius:100px;background:var(--gold,#d9b26a);color:#231703;font-weight:800;
  font-size:.88rem;text-decoration:none}
.joinbtn::before{content:"▶";font-size:.7rem}
.joinbtn:hover{filter:brightness(1.07)}
button.room-card{font:inherit;text-align:start;cursor:pointer;color:inherit}
.room-card.is-ask{border-style:dashed}
.room-card.is-ask:hover{border-color:var(--gold,#d9b26a);border-style:solid}
.room-card.is-ask:disabled{cursor:default;opacity:.85}
.namebtn{font:inherit;font-weight:700;background:none;border:0;color:inherit;cursor:pointer;
  padding:0;text-decoration:underline dotted;text-underline-offset:4px}
.namebtn:hover{color:var(--gold-lit,#d9b26a)}
.comebtn{margin-top:10px;min-height:44px;padding:0 22px;border-radius:100px;border:1px solid var(--hair);
  background:none;color:inherit;font:inherit;font-size:.86rem;font-weight:800;cursor:pointer}
.comebtn:hover{border-color:var(--gold,#d9b26a)}
.comebtn.on{border-color:var(--gold,#d9b26a);color:var(--gold-lit,#e6c98a);background:rgba(217,178,106,.08)}

/* audit 03 H3 / 01: a finger needs 44px; on coarse pointers the language buttons grow, on a mouse they keep their size */
.top nav button{font:inherit;font-weight:700;font-size:.72rem;letter-spacing:.1em;padding:7px 12px;border-radius:999px;border:1px solid transparent;background:transparent;color:inherit;cursor:pointer}
.top nav button[aria-pressed="true"]{background:var(--gold-lit,#d2a95f);color:#231703}
@media(pointer:coarse){ .top nav button{min-height:44px;min-width:44px} }

.leave{margin:14px 0 0;text-align:end}
.leave .namebtn{font-size:.78rem;opacity:.55}
.leave .namebtn:hover{opacity:1;color:#c0392b}

/* The language, chosen in the profile itself (founder 04/09) -- the same act as the switch
   in the header, so it wears the same pressed state. */
.langset{display:flex;gap:.4rem;justify-content:flex-end;flex-wrap:wrap}
.langset button{font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;min-height:44px;
  background:none;border:1px solid var(--hair);border-radius:100px;padding:0 14px;color:var(--faint)}
.langset button:hover{border-color:var(--gold,#d9b26a);color:inherit}
.langset button[aria-pressed="true"]{border-color:var(--gold,#d9b26a);color:var(--gold-lit,#e6c98a);
  background:rgba(217,178,106,.08)}


/* ---------- the type floor (04/09) ----------
   A phone is held at arm's length and often in the sun. Eyebrows, badges and field labels sat
   at nine and ten pixels across these rooms — decoration, not writing. Nothing that carries
   meaning goes below twelve on a small screen; the letter-spacing comes down with it so the
   words stay one shape. */
@media(max-width:560px){
  .eyebrow,.lbl,.k,.pb,.w-badge,.onair,.playlist h2,.playlist li time,
  .mark span span,.panel h2,.block > h2,.owner label,.roles legend,.session .lbl,
  .earn .k,.top nav button,.tiers .you,label > span:first-child{
    font-size:.78rem;letter-spacing:.1em}
}
