  :root{
    --bg: #0A0E1A;
    --surface: #10162B;
    --surface-2: #161D38;
    --surface-3: #1C2444;
    --border: rgba(255,255,255,0.08);
    --text: #FFFFFF;
    --text-muted: #8B96B3;
    --text-faint: #5B6685;
    --signal: #FFC833;
    --signal-dark: #E0A800;
    --dark-ink: #0A0E1A;
    --green: #3EBD7C;
  }
  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'IBM Plex Sans', sans-serif;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{ font-weight:700; line-height:1.15; }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{ color:inherit; text-decoration:none; }
  button{ font-family:inherit; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 26px; border-radius:12px; border:none; cursor:pointer;
    font-weight:700; font-size:15px; transition:background .15s, border-color .15s, color .15s;
  }
  .btn-primary{ background:var(--signal); color:var(--dark-ink); }
  .btn-primary:hover{ background:var(--signal-dark); }
  .btn-outline{ background:transparent; border:1.5px solid var(--border); color:#fff; }
  .btn-outline:hover{ border-color:var(--signal); color:var(--signal); }
  .btn-ghost-dark{ background:var(--surface); border:1px solid var(--border); color:var(--text-muted); }
  .btn-ghost-dark:hover{ color:#fff; border-color:rgba(255,255,255,0.2); }
  .btn-back{ background:none; border:none; color:var(--text-muted); font-size:13.5px; font-weight:600; cursor:pointer; padding:0; display:inline-flex; align-items:center; gap:6px; }
  .btn-back:hover{ color:#fff; }

  /* ---------- app shell / sidebar ---------- */
  .app-shell{ display:flex; align-items:flex-start; min-height:100vh; }
  .sidebar{
    width:212px; flex:none; position:sticky; top:0; height:100vh;
    border-right:1px solid var(--border);
    padding:26px 18px; display:flex; flex-direction:column;
  }
  .sidebar-logo{ font-family:'IBM Plex Sans Condensed', sans-serif; font-weight:700; font-size:19px; }
  .sidebar-logo .accent{ color:var(--signal); }
  .sidebar-tagline{ font-size:11.5px; color:var(--text-muted); margin-top:5px; margin-bottom:26px; }
  .sidebar-nav{ display:flex; flex-direction:column; gap:6px; }
  .nav-pill{
    text-align:left; background:var(--surface); border:1px solid var(--border);
    color:var(--text-muted); padding:10px 13px; border-radius:9px;
    font-weight:600; font-size:13px; cursor:pointer;
    transition:background .15s, color .15s, border-color .15s;
  }
  .nav-pill:hover{ color:#fff; border-color:rgba(255,255,255,0.18); }
  .nav-pill.active{ background:var(--signal); color:var(--dark-ink); border-color:var(--signal); }
  .sidebar-footer{ margin-top:auto; padding-top:20px; }
  .sidebar-footer .btn{ padding:11px 16px; font-size:13.5px; }

  .main{ flex:1; min-width:0; }
  .view{ animation:fadeIn .25s ease; }
  @keyframes fadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

  /* ---------- hero ---------- */
  .hero{ padding:64px 40px 46px; text-align:center; }
  .glow-card{
    width:232px; margin:0 auto 30px; background:var(--surface);
    border:1px solid rgba(255,200,51,0.35); border-radius:18px;
    padding:22px 20px; text-align:center;
    box-shadow:0 0 46px rgba(255,200,51,0.22), 0 0 90px rgba(255,200,51,0.08);
  }
  .glow-logo{ font-family:'IBM Plex Sans Condensed', sans-serif; font-weight:700; font-size:22px; }
  .glow-logo .accent{ color:var(--signal); }
  .glow-tag{ margin-top:8px; font-family:'IBM Plex Mono', monospace; font-size:10px; letter-spacing:0.28em; color:var(--text-muted); text-transform:uppercase; }
  .hero h1{ font-size:36px; max-width:700px; margin:0 auto 16px; }
  .hero .hero-sub{ font-size:15px; color:var(--text-muted); max-width:540px; margin:0 auto 26px; }
  .hero-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:32px; }
  .hero-stats{ display:flex; gap:36px; justify-content:center; flex-wrap:wrap; }
  .stat b{ display:block; font-family:'IBM Plex Mono', monospace; font-size:20px; }
  .stat span{ font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.05em; }

  /* ---------- generic section ---------- */
  .section{ padding:52px 40px; border-top:1px solid var(--border); }
  .section-head{ margin-bottom:26px; max-width:640px; }
  .eyebrow{
    display:flex; align-items:center; gap:10px;
    font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.14em;
    color:var(--signal); text-transform:uppercase; margin-bottom:12px;
  }
  .eyebrow::before{ content:''; width:20px; height:2px; background:var(--signal); }
  .section-head h2{ font-size:25px; }
  .section-head p{ color:var(--text-muted); margin-top:10px; font-size:14.5px; }
  .section-head-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
  .section-head-row h2{ font-size:22px; }
  .pill-filter{
    font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.05em;
    background:var(--surface); border:1px solid var(--border); color:var(--text-muted);
    padding:8px 16px; border-radius:999px;
  }

  /* ---------- room header (client / pro rooms) ---------- */
  .room-header{ padding:44px 40px 8px; }
  .room-header .eyebrow{ margin-bottom:10px; }
  .room-header h2{ font-size:32px; margin-bottom:10px; }
  .room-header p{ color:var(--text-muted); font-size:15.5px; max-width:560px; }
  .room-logo{
    width:56px; height:56px; flex:none; border-radius:50%; background:var(--signal); color:var(--dark-ink);
    font-size:20px; font-weight:700; display:grid; place-items:center; cursor:pointer; overflow:hidden;
    font-family:'IBM Plex Sans Condensed', sans-serif; border:2px solid transparent; transition:border-color .15s;
  }
  .room-logo:hover{ border-color:rgba(255,200,51,0.5); }
  .room-logo img{ width:100%; height:100%; object-fit:cover; }

  /* ---------- sidebar leaderboard (company view only) ---------- */
  .sidebar-leaderboard{ margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
  .sidebar-leaderboard-label{ font-family:'IBM Plex Mono', monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-muted); margin-bottom:10px; }
  .sidebar-lb-row{ display:flex; align-items:center; gap:8px; font-size:12px; color:#C9D5E6; padding:5px 0; }
  .sidebar-lb-row b{ color:var(--signal); font-family:'IBM Plex Mono', monospace; font-size:11px; flex:none; width:14px; }
  .sidebar-lb-row span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; min-width:0; }
  .sidebar-lb-row em{ font-style:normal; color:var(--text-faint); font-size:10.5px; flex:none; }

  /* ---------- company order history: grouped by day, then by professional ---------- */
  .history-day{ margin-bottom:24px; }
  .history-day-label{ font-family:'IBM Plex Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--signal); margin-bottom:10px; }
  .history-pro-group{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px; margin-bottom:8px; }
  .history-pro-name{ font-weight:600; font-size:13.5px; color:#fff; margin-bottom:6px; }
  .history-order-line{ font-size:12.5px; color:var(--text-muted); padding:4px 0; border-top:1px solid var(--border); }
  .history-order-line:first-of-type{ border-top:none; }

  /* ---------- categories ---------- */
  .cats-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(155px, 1fr)); gap:9px; }
  .cat-chip{
    background:var(--surface); border:1px solid var(--border); border-radius:11px;
    padding:12px 14px; font-size:12.5px; font-weight:600;
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    transition:border-color .15s, background .15s, transform .15s;
  }
  .cat-chip:hover{ border-color:rgba(255,200,51,0.4); background:var(--surface-2); transform:translateY(-1px); }
  .cat-chip .arrow{ color:var(--signal); font-family:'IBM Plex Mono', monospace; font-size:12px; flex:none; }

  /* ---------- quote comparison board ---------- */
  .board{
    background:var(--surface); border:1px solid var(--border); border-radius:20px;
    padding:28px; max-width:560px;
  }
  .board-head{ display:flex; justify-content:space-between; align-items:flex-start; padding-bottom:18px; margin-bottom:18px; border-bottom:1px dashed var(--border); }
  .board-tag{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; color:var(--text-muted); text-transform:uppercase; margin-bottom:6px; }
  .board-title{ font-size:19px; font-weight:700; }
  .live-dot{ display:inline-flex; align-items:center; gap:6px; font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; color:var(--signal); text-transform:uppercase; margin-top:10px; }
  .live-dot::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--signal); animation:pulse 1.4s infinite; }
  @keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.25;} }
  .board-meta{ text-align:right; }
  .board-timer{ font-family:'IBM Plex Mono', monospace; font-size:22px; }
  .board-timer + span{ font-size:11px; color:var(--text-muted); display:block; text-transform:uppercase; letter-spacing:0.08em; }
  .lowest{ background:rgba(255,200,51,0.08); border:1px solid rgba(255,200,51,0.4); border-radius:12px; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
  .lowest .lbl{ font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:#E8C578; font-family:'IBM Plex Mono', monospace; }
  .lowest .amt{ font-family:'IBM Plex Mono', monospace; font-size:24px; color:var(--signal); font-weight:600; }
  .bidlist{ display:flex; flex-direction:column; }
  .bid-row{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; animation:slideIn .4s ease; }
  @keyframes slideIn{ from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);} }
  .bid-row .who{ color:var(--text-muted); }
  .bid-row .who small{ display:block; font-family:'IBM Plex Mono', monospace; font-size:10px; color:var(--text-faint); letter-spacing:0.05em; }
  .bid-row .price{ font-family:'IBM Plex Mono', monospace; font-weight:600; }

  /* ---------- comparison row: board + leaderboards ---------- */
  .sygrisi-row{ display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:12px; align-items:start; }
  .board-compact{ max-width:none; padding:18px; }
  .board-compact .board-title{ font-size:15.5px; }
  .board-compact .board-timer{ font-size:18px; }
  .board-compact .lowest{ padding:11px 13px; }
  .board-compact .lowest .amt{ font-size:18px; }
  .board-compact .bidlist .bid-row{ font-size:12px; padding:7px 0; }

  .leaderboard{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:18px; }
  .leaderboard .eyebrow{ margin-bottom:10px; }
  .leaderboard-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
  .lb-row{ display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid var(--border); }
  .lb-row:last-child{ border-bottom:none; }
  .lb-rank{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--text-muted); width:14px; flex:none; }
  .lb-row:first-child .lb-rank{ color:var(--signal); }
  .lb-name{ flex:1; min-width:0; color:#fff; font-weight:600; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .lb-name small{ display:block; font-weight:400; color:var(--text-faint); font-size:10.5px; margin-top:2px; }
  .lb-score{ font-size:12px; color:#E8C578; flex:none; }

  /* ---------- roles ---------- */
  .roles{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .role-card{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:22px 20px; display:flex; flex-direction:column; }
  .role-num{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--signal); margin-bottom:12px; letter-spacing:0.08em; }
  .role-card h3{ font-size:18px; margin-bottom:8px; }
  .role-card p{ color:var(--text-muted); font-size:13.5px; margin-bottom:14px; }
  .role-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
  .role-tags span{ font-family:'IBM Plex Mono', monospace; font-size:10px; border:1px solid var(--border); border-radius:999px; padding:4px 9px; color:var(--text-muted); }
  .role-enter{ margin-top:auto; background:var(--surface-2); border:1px solid var(--border); color:#fff; padding:10px 14px; border-radius:9px; font-weight:700; font-size:13px; cursor:pointer; text-align:left; transition:border-color .15s, background .15s; }
  .role-enter:hover{ border-color:var(--signal); background:var(--surface-3); }

  /* ---------- steps ---------- */
  .steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .step{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px; }
  .step .n{
    width:28px; height:28px; border-radius:9px; background:var(--surface-2); border:1px solid var(--border);
    display:grid; place-items:center; font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--signal);
    margin-bottom:12px;
  }
  .step h3{ font-size:16px; margin-bottom:6px; }
  .step p{ color:var(--text-muted); font-size:13.5px; }

  /* ---------- room content (client / pro forms) ---------- */
  .room-body{ padding:32px 40px 72px; }
  .demo-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .demo-panel{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; }
  .demo-panel h3{ font-size:16px; margin-bottom:18px; }

  /* ---------- pro room hub: compact link list + profile card ---------- */
  .pro-hub-grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:14px; align-items:start; }
  .pro-hub-links{ display:flex; flex-direction:column; gap:9px; }
  .pro-hub-link{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    background:var(--surface); border:1px solid var(--border); border-radius:12px;
    padding:15px 17px; font-size:13.5px; font-weight:600; color:#fff; cursor:pointer; text-align:left;
    transition:border-color .15s, background .15s;
  }
  .pro-hub-link:hover{ border-color:rgba(255,200,51,0.4); background:var(--surface-2); }
  .pro-hub-link .arrow{ color:var(--signal); font-family:'IBM Plex Mono', monospace; flex:none; }
  .pro-hub-profile{
    background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px;
    cursor:pointer; transition:border-color .15s;
  }
  .pro-hub-profile:hover{ border-color:rgba(255,200,51,0.4); }

  .logged-as{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-muted); padding-bottom:16px; margin-bottom:18px; border-bottom:1px dashed var(--border); }
  .logged-as b{ color:#fff; }
  .logged-as .avatar{ width:26px; height:26px; border-radius:50%; background:var(--signal); color:var(--dark-ink); display:grid; place-items:center; font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:700; flex:none; }

  .field{ margin-bottom:16px; }
  .field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-muted); margin-bottom:6px; }
  .field input, .field select, .field textarea{
    width:100%; background:var(--surface-2); border:1px solid var(--border); border-radius:10px; color:#fff;
    padding:11px 12px; font-family:'IBM Plex Sans', sans-serif; font-size:14px;
  }
  .field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--signal); border-color:var(--signal); }
  .afm-row{ display:flex; gap:8px; }
  .afm-row input{ flex:1; }
  .afm-row .btn{ padding:0 16px; font-size:12.5px; flex:none; }
  .afm-status{ font-size:12.5px; margin-top:8px; }

  .item-rows{ display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
  .item-row{ display:flex; gap:8px; }
  .item-row input{
    background:var(--surface-2); border:1px solid var(--border); border-radius:10px; color:#fff;
    padding:11px 12px; font-family:'IBM Plex Sans', sans-serif; font-size:14px;
  }
  .item-row input:focus{ outline:2px solid var(--signal); border-color:var(--signal); }
  .item-row .mi-material{ flex:2; min-width:0; }
  .item-row .mi-qty{ flex:1; min-width:0; }
  .item-row .mi-remove{
    flex:none; width:38px; background:var(--surface-2); border:1px solid var(--border); border-radius:9px;
    color:var(--text-muted); cursor:pointer; font-size:13px; transition:color .15s, border-color .15s;
  }
  .item-row .mi-remove:hover{ color:#fff; border-color:rgba(255,255,255,0.2); }
  .item-add-btn{
    width:100%; background:none; border:1.5px dashed var(--border); border-radius:10px; color:var(--text-muted);
    padding:10px; font-size:13px; cursor:pointer; transition:border-color .15s, color .15s;
  }
  .item-add-btn:hover{ color:#fff; border-color:rgba(255,255,255,0.3); }
  .rating{ display:inline-flex; align-items:center; gap:4px; font-family:'IBM Plex Mono', monospace; font-size:12px; color:#E8C578; }

  .upload-drop{
    display:flex; align-items:center; gap:10px; cursor:pointer; border-radius:10px;
    border:1.5px dashed var(--border); padding:16px; color:var(--text-muted); font-size:13.5px;
    transition:border-color .15s, color .15s;
  }
  .upload-drop:hover{ border-color:var(--signal); color:#fff; }
  .upload-icon{ width:24px; height:24px; border:1.5px solid currentColor; border-radius:50%; display:grid; place-items:center; font-size:15px; flex:none; }
  .thumbs{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
  .thumbs img{ width:52px; height:52px; object-fit:cover; border-radius:8px; border:1px solid var(--border); }

  .check-row{ display:flex; align-items:center; gap:10px; cursor:pointer; font-size:14px; color:#C9D5E6; margin:18px 0 4px; }
  .check-row input{ width:16px; height:16px; accent-color:var(--signal); cursor:pointer; }
  .appointment-fields{ margin-top:6px; padding:16px; border-radius:12px; border-left:2px solid var(--signal); background:rgba(255,200,51,0.06); }

  /* ---------- listing feeds ---------- */
  .feeds{ margin-top:40px; }
  .feed h3{ font-size:15px; margin-bottom:4px; }
  .feed .feed-sub{ font-size:12.5px; color:var(--text-faint); margin-bottom:16px; }
  .feed-list{ display:flex; flex-direction:column; gap:10px; }
  .feed-card{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px; display:flex; gap:12px; align-items:center; animation:slideIn .4s ease; }
  .feed-card img{ width:44px; height:44px; object-fit:cover; border-radius:8px; flex:none; border:1px solid var(--border); }
  .feed-card .fc-noimg{ width:44px; height:44px; flex:none; border-radius:8px; border:1px dashed var(--border); display:grid; place-items:center; font-size:16px; color:var(--text-faint); }
  .feed-card .fc-body{ flex:1; min-width:0; }
  .feed-card .fc-title{ color:#fff; font-size:13.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .feed-card .fc-meta{ font-size:11.5px; color:var(--text-muted); margin-top:2px; }
  .feed-card .fc-tag{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--signal); flex:none; text-align:right; }
  .feed-empty{ font-size:13px; color:var(--text-faint); padding:16px 0; }

  /* ---------- footer ---------- */
  /* ---------- job detail modal ---------- */
  .modal-backdrop{
    position:fixed; inset:0; background:rgba(5,7,14,0.72); backdrop-filter:blur(2px);
    display:flex; align-items:center; justify-content:center; z-index:100; padding:24px;
  }
  .modal-backdrop[hidden]{ display:none; }
  .modal-card{
    background:var(--surface); border:1px solid var(--border); border-radius:18px;
    width:100%; max-width:520px; max-height:88vh; overflow-y:auto; padding:28px;
    position:relative; animation:fadeIn .2s ease;
  }
  .modal-close{
    position:absolute; top:18px; right:18px; background:var(--surface-2); border:1px solid var(--border);
    color:var(--text-muted); width:30px; height:30px; border-radius:8px; cursor:pointer; font-size:15px;
  }
  .modal-close:hover{ color:#fff; border-color:rgba(255,255,255,0.2); }
  .modal-job-meta{ font-size:13px; color:var(--text-muted); margin:4px 0 20px; }
  .modal-job-meta b{ color:#fff; }

  /* ---------- chat thread (inside modal) ---------- */
  .chat-section{ border-top:1px dashed var(--border); margin-top:20px; padding-top:18px; }
  .chat-label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-muted); margin-bottom:10px; }
  .chat-thread{ display:flex; flex-direction:column; gap:8px; max-height:220px; overflow-y:auto; margin-bottom:12px; padding-right:2px; }
  .chat-msg{ max-width:80%; padding:9px 13px; border-radius:14px; font-size:13.5px; line-height:1.4; word-break:break-word; }
  .chat-msg.me{ align-self:flex-end; background:var(--signal); color:var(--dark-ink); border-bottom-right-radius:4px; }
  .chat-msg.them{ align-self:flex-start; background:var(--surface-2); color:#fff; border-bottom-left-radius:4px; }
  .chat-empty{ font-size:12.5px; color:var(--text-faint); padding:6px 0 12px; }
  .chat-input-row{ display:flex; gap:8px; }
  .chat-input-row input{
    flex:1; background:var(--surface-2); border:1px solid var(--border); border-radius:22px; color:#fff;
    padding:10px 16px; font-family:'IBM Plex Sans', sans-serif; font-size:13.5px;
  }
  .chat-input-row input:focus{ outline:2px solid var(--signal); border-color:var(--signal); }
  .chat-input-row .btn{ padding:0 20px; font-size:13px; border-radius:22px; }

  /* ---------- profile modal (social-media style) ---------- */
  .profile-header{ text-align:center; padding-bottom:4px; }
  .profile-avatar{
    width:72px; height:72px; border-radius:50%; background:var(--signal); color:var(--dark-ink);
    font-size:26px; font-weight:700; display:grid; place-items:center; margin:0 auto 14px;
    font-family:'IBM Plex Sans Condensed', sans-serif; overflow:hidden;
  }
  .profile-avatar img{ width:100%; height:100%; object-fit:cover; }
  .profile-name{ font-size:20px; font-weight:700; }
  .profile-tag{ font-size:13px; color:var(--text-muted); margin-top:4px; }
  .profile-badges{ display:flex; gap:8px; justify-content:center; margin-top:12px; flex-wrap:wrap; }
  .profile-badge{ font-family:'IBM Plex Mono', monospace; font-size:11px; padding:5px 11px; border-radius:999px; border:1px solid var(--border); color:var(--text-muted); }
  .profile-badge.verified{ color:var(--green); border-color:rgba(62,189,124,0.35); background:rgba(62,189,124,0.08); }
  .profile-badge.unverified{ color:var(--text-faint); }
  .profile-stats{ display:flex; justify-content:center; gap:32px; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin:18px 0; }
  .profile-stat{ text-align:center; }
  .profile-stat b{ display:block; font-family:'IBM Plex Mono', monospace; font-size:17px; }
  .profile-stat span{ font-size:10.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; }
  .profile-bio{ font-size:13.5px; color:#C9D5E6; text-align:center; margin-bottom:20px; line-height:1.5; }
  .profile-grid-label{ font-family:'IBM Plex Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-muted); margin-bottom:10px; }
  .profile-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
  .profile-grid-item{
    aspect-ratio:1; background:var(--surface-2); border:1px solid var(--border); border-radius:10px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:8px; text-align:center;
  }
  .profile-grid-item .icon{ font-size:20px; }
  .profile-grid-item .cap{ font-size:9px; color:var(--text-muted); line-height:1.25; }
  .profile-grid-item.photo{ padding:0; overflow:hidden; }
  .profile-grid-item.photo img{ width:100%; height:100%; object-fit:cover; }
  .profile-link-btn{ background:none; border:none; color:var(--signal); font-size:12.5px; font-weight:600; cursor:pointer; padding:0; text-decoration:underline; }
  .profile-link-btn:hover{ color:var(--signal-dark); }
  .profile-links{ font-size:12.5px; color:var(--text-muted); text-align:center; margin:-10px 0 18px; line-height:1.7; }
  .profile-links a{ color:var(--signal); }
  .profile-edit{ border-top:1px dashed var(--border); padding-top:16px; margin-top:16px; }

  /* ---------- footer ---------- */
  footer{ padding:32px 40px 26px; border-top:1px solid var(--border); }
  .foot-bottom{ display:flex; justify-content:space-between; font-size:12px; font-family:'IBM Plex Mono', monospace; color:var(--text-faint); flex-wrap:wrap; gap:10px; }

  :focus-visible{ outline:2px solid var(--signal); outline-offset:2px; }

  @media (max-width: 880px){
    .app-shell{ flex-direction:column; }
    .sidebar{ width:100%; height:auto; position:relative; flex-direction:row; align-items:center; padding:16px 20px; overflow-x:auto; gap:20px; }
    .sidebar-tagline, .sidebar-footer, .sidebar-leaderboard{ display:none; }
    .sidebar-nav{ flex-direction:row; }
    .nav-pill{ white-space:nowrap; }
    .hero{ padding:56px 20px 48px; }
    .hero h1{ font-size:32px; }
    .section, .room-body{ padding:48px 20px; }
    .room-header{ padding:36px 20px 8px; }
    .cats-grid, .roles, .steps, .demo-grid, .sygrisi-row, .pro-hub-grid{ grid-template-columns:1fr; }
  }
  @media (prefers-reduced-motion: reduce){ *{ animation-duration:.01ms !important; } }

  /* ---------- print: clone the modal's content into a plain, unstyled container ---------- */
  #printArea{ display:none; }
  @media print{
    body > *:not(#printArea){ display:none !important; }
    #printArea{
      display:block !important; position:static !important; background:#fff !important;
      color:#000 !important; padding:24px !important;
    }
    #printArea *{ color:#000 !important; background:transparent !important; border-color:#ccc !important; }
    #printArea button, #printArea .chat-section, #printArea .upload-drop{ display:none !important; }
    #printArea input[type="checkbox"]{ -webkit-appearance:checkbox; appearance:checkbox; }
  }
