/* =====================================================================
   Whoami · Fase 17 — mesas por nível, salas individuais e o PC de cada um
   ===================================================================== */

/* ---------- inventário: lugar fixo de cada decoração ---------- */
.it-slot { font: 800 9.5px var(--font); color: var(--teal); letter-spacing: .02em; }
.it-slot.lk { color: var(--text3); }

/* ---------- perfil: rank ---------- */
.pf-rank, .sala-rank {
  display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 4px; padding: 2px 10px; border-radius: 999px;
  font: 700 13px var(--display); letter-spacing: .04em; color: #fff;
  background: color-mix(in srgb, var(--rk, #8E8E93) 32%, transparent); border: 2px solid var(--rk, #8E8E93);
}
.sala-rank { font-size: 18px; padding: 3px 14px; }

/* ---------- aba "Minha sala" ---------- */
.sala-head { display: flex; gap: 14px; align-items: center; padding: 6px 2px 4px; }
.sala-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.sala-slot { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; background: var(--well); border: 2px solid var(--line); }
.sala-slot b { font: 600 13px var(--display); color: var(--teal); }
.sala-slot span { font-size: 12px; color: var(--text2); }
.sala-slot.lk { opacity: .55; }
.sala-slot.lk b { color: var(--text3); }
.sala-road { display: flex; flex-direction: column; gap: 4px; }
.sala-step { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 10px; color: var(--text3); }
.sala-step .sala-lv { flex: 0 0 36px; text-align: center; font: 700 13px var(--display); padding: 1px 0; border-radius: 8px; background: var(--fill2); color: var(--text3); }
.sala-step .sala-t small { color: var(--text3); font-weight: 700; }
.sala-step.done { color: var(--text); }
.sala-step.done .sala-lv { background: var(--green-d); color: #fff; }
.sala-step.cur { background: rgba(255, 209, 102, .1); outline: 2px dashed rgba(255, 209, 102, .45); color: var(--text); }
.sala-step.cur .sala-lv { background: var(--gold2); color: #fff; }

/* ---------- cena de subir de nível ---------- */
.lvup-scene {
  position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, rgba(48, 209, 88, .22), rgba(3, 5, 4, .82) 60%);
  opacity: 0; transition: opacity .4s;
}
.lvup-scene.in { opacity: 1; }
.lvup-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 440px; padding: 22px 28px 16px;
  border-radius: 22px; background: linear-gradient(180deg, #1b2320, #1b1f46); border: 3px solid var(--edge);
  box-shadow: 0 5px 0 var(--edge), 0 24px 60px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .08);
  transform: scale(.7); transition: transform .5s var(--spring);
}
.lvup-scene.in .lvup-card { transform: scale(1); }
.lvup-k { font: 900 13px var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lvup-hex { filter: drop-shadow(0 0 22px rgba(127, 209, 255, .55)); animation: lvupSpin 1.2s var(--spring); }
@keyframes lvupSpin { 0% { transform: scale(.2) rotate(-200deg); } 100% { transform: scale(1) rotate(0); } }
.lvup-rank { font: 700 20px var(--display); color: var(--rk, #fff); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.lvup-got { display: flex; flex-direction: column; gap: 5px; width: 100%; margin-top: 4px; padding: 10px 12px; border-radius: 14px; background: var(--well); text-align: left; }
.lvup-gk { font: 600 13px var(--display); color: var(--teal); }
.lvup-gi { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--text); }
.lvup-gi span { color: var(--gold); flex: none; margin-top: 2px; }

/* =====================================================================
   O PC de cada um (estilo desktop Linux escuro, arte própria)
   ===================================================================== */
.modal.pc-modal { width: 100vw !important; height: 100vh !important; max-width: none !important; max-height: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; overflow: hidden !important; box-shadow: none !important; }
.pc {
  --pc-acc: #367bf0; --pc-acc2: #4a8bff; --pc-bg: #1e2128; --pc-bg2: #262a31; --pc-bg3: #1a1d23; --pc-line: #15171c; --pc-line2: #343843; --pc-tx: #e6e9ef; --pc-tx2: #aab2c0; --pc-tx3: #7f8796;
  --pc-mono: "Fira Mono", "DejaVu Sans Mono", "Cascadia Mono", ui-monospace, Menlo, Consolas, monospace;
  position: relative; width: 100vw; height: 100vh; overflow: hidden; outline: none;
  font: 13px/1.35 "Cantarell", "Noto Sans", "DejaVu Sans", "Segoe UI", system-ui, sans-serif; color: var(--pc-tx); background: #070a14;
  user-select: none; letter-spacing: 0;
}
.pc button { font-family: inherit; }
.pc ::-webkit-scrollbar { width: 10px; height: 10px; }
.pc ::-webkit-scrollbar-thumb { background: #3a3f4a; border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
.pc .fm-sp { flex: 1; }

/* ---------- painel de cima ---------- */
.pc-panel { position: relative; z-index: 5000; height: 30px; display: flex; align-items: center; gap: 2px; padding: 0 6px; background: #1b1e24; border-bottom: 1px solid #000; box-shadow: 0 1px 0 #2a2e36; }
.pc-pb { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 4px; border: 0; background: transparent; color: var(--pc-tx); cursor: pointer; flex: none; }
.pc-pb:hover { background: rgba(255, 255, 255, .08); }
.pc-pb svg { display: block; }
.pc-pb-l { font-weight: 700; }
.pc-psep { width: 1px; height: 18px; background: #3a3f4a; margin: 0 4px; flex: none; }
.pc-tasks { display: flex; gap: 3px; min-width: 0; overflow: hidden; flex: 0 1 auto; }
.pc-task { height: 24px; max-width: 210px; min-width: 60px; display: flex; gap: 6px; align-items: center; padding: 0 8px; background: #262a33; border: 1px solid #30353f; border-radius: 4px; color: #cfd5df; cursor: pointer; flex: 0 1 auto; }
.pc-task:hover { background: #2d323d; }
.pc-task.on { background: #26322d; border-color: #3d6ad6; color: #fff; box-shadow: inset 0 -2px 0 var(--pc-acc); }
.pc-task.min { opacity: .65; }
.pc-task svg { flex: none; display: block; }
.pc-task-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-visit { display: inline-flex; gap: 6px; align-items: center; height: 22px; padding: 0 10px; border-radius: 999px; background: rgba(255, 209, 102, .14); color: #ffd166; font-size: 12px; font-weight: 700; margin-right: 6px; white-space: nowrap; flex: none; }
.pc-tray { color: #7fd18f; display: grid; place-items: center; width: 26px; flex: none; }
.pc-clock { font-variant-numeric: tabular-nums; }
.pc-puser { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px 0 8px; color: #cfd5df; font-family: var(--pc-mono); font-size: 12px; flex: none; }
.pc-puser img { width: 20px; height: 20px; border-radius: 50%; background: #0f1424; }

/* ---------- área de trabalho ---------- */
.pc-desk { position: absolute; top: 30px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.pc-desk.dragging .pcw-body, .pc-desk.dragging .pcw-body iframe { pointer-events: none; }
.pc-desk.drop::after { content: "Solte para enviar para a Área de Trabalho"; position: absolute; inset: 10px; border: 3px dashed var(--pc-acc); border-radius: 12px; display: grid; place-items: center; color: #cfe0ff; font-size: 18px; font-weight: 700; background: rgba(54, 123, 240, .08); pointer-events: none; z-index: 4000; }
.pc-wall { position: absolute; inset: 0; background:
  radial-gradient(900px 520px at 78% 22%, rgba(54, 123, 240, .22), transparent 70%),
  radial-gradient(700px 500px at 12% 92%, rgba(120, 60, 220, .18), transparent 70%),
  linear-gradient(160deg, #0a0f1d 0%, #10183a 52%, #070a14 100%); }
.pc-wall::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 160, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .055) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 65% 40%, #000 25%, transparent 75%); }
.pc-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 42%, rgba(54, 123, 240, .09) 50%, transparent 58%), linear-gradient(115deg, transparent 60%, rgba(150, 90, 255, .07) 66%, transparent 72%); }
.pc-wall-mark { position: absolute; right: 9%; top: 46%; transform: translateY(-50%); filter: drop-shadow(0 0 30px rgba(54, 123, 240, .25)); }
.pc-wall-word { position: absolute; right: calc(9% + 10px); top: calc(46% + 104px); font: 700 30px/1 var(--pc-mono); color: rgba(140, 180, 255, .2); letter-spacing: .35em; }
.pc-icons { position: absolute; inset: 0; }
.pc-ic { position: absolute; width: 86px; height: 88px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px 2px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: #fff; cursor: default; }
.pc-ic:hover { background: rgba(255, 255, 255, .07); }
.pc-ic.sel { background: rgba(54, 123, 240, .38); border-color: rgba(110, 160, 255, .7); }
.pc-ic.drop { outline: 2px dashed var(--pc-acc); }
.pc-ic-i svg { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.pc-ic-l { font-size: 12px; line-height: 1.25; text-align: center; text-shadow: 0 1px 2px #000, 0 0 4px rgba(0, 0, 0, .8); max-height: 2.5em; overflow: hidden; word-break: break-word; }

/* ---------- janelas ---------- */
.pcw { position: absolute; display: flex; flex-direction: column; background: var(--pc-bg); border: 1px solid #0b0c10; border-radius: 7px 7px 4px 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.98); transition: opacity .12s, transform .12s; }
.pcw.in { opacity: 1; transform: none; }
.pcw.min { display: none; }
.pcw.active { box-shadow: 0 16px 50px rgba(0, 0, 0, .65), 0 0 0 1px #2b3c5f; }
.pcw.max { border-radius: 0; }
.pcw-bar { flex: none; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; background: linear-gradient(#2c3038, #24272e); border-bottom: 1px solid #111; border-radius: 7px 7px 0 0; color: #e6e9ef; }
.pcw.max .pcw-bar { border-radius: 0; }
.pcw:not(.active) .pcw-bar { color: #8f96a3; background: #22252b; }
.pcw-ico svg { display: block; }
.pcw-title { flex: 1; min-width: 0; text-align: center; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcw-btns { display: flex; gap: 4px; }
.pcw-b { width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: #c8ced8; display: grid; place-items: center; cursor: pointer; padding: 0; }
.pcw-b:hover { background: #3a3f4a; color: #fff; }
.pcw-b.close:hover { background: #e0443e; color: #fff; }
.pcw-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 0 0 4px 4px; }
.pcw-body > * { flex: 1; min-height: 0; }
.pcw-rs { position: absolute; z-index: 2; }
.pcw-rs.r { right: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.pcw-rs.l { left: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.pcw-rs.b { bottom: -4px; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.pcw-rs.br { right: -5px; bottom: -5px; width: 14px; height: 14px; cursor: nwse-resize; }
.pcw-rs.bl { left: -5px; bottom: -5px; width: 14px; height: 14px; cursor: nesw-resize; }
.pcw.max .pcw-rs { display: none; }

/* ---------- campos, botões, menus e diálogos ---------- */
.pc-in { height: 28px; padding: 0 9px; background: #15171c; border: 1px solid #3a3f4a; border-radius: 4px; color: var(--pc-tx); font: inherit; outline: none; user-select: text; }
.pc-in:focus { border-color: var(--pc-acc); box-shadow: 0 0 0 2px rgba(54, 123, 240, .25); }
.pc-btn { height: 30px; padding: 0 14px; border-radius: 4px; border: 1px solid #3a3f4a; background: #2c3039; color: var(--pc-tx); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pc-btn:hover:not(:disabled) { background: #353a45; }
.pc-btn.primary { background: var(--pc-acc); border-color: #2a64c8; color: #fff; }
.pc-btn.primary:hover:not(:disabled) { background: var(--pc-acc2); }
.pc-btn.danger { background: #c43d36; border-color: #9e2d27; color: #fff; }
.pc-btn.danger:hover:not(:disabled) { background: #d6453d; }
.pc-btn.sm { height: 26px; padding: 0 10px; font-size: 12px; }
.pc-btn:disabled { opacity: .45; cursor: default; }
.pc-btn:focus-visible, .pc-menu-i:focus-visible { outline: 2px solid rgba(122, 167, 255, .7); outline-offset: 1px; }
.pc-menu { position: absolute; z-index: 9000; min-width: 220px; padding: 4px; background: #22252c; border: 1px solid #0d0f13; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.pc-menu-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: 4px; border: 0; background: transparent; color: var(--pc-tx); text-align: left; cursor: pointer; white-space: nowrap; }
.pc-menu-i:hover:not(:disabled) { background: var(--pc-acc); color: #fff; }
.pc-menu-i:hover:not(:disabled) .pc-menu-ic, .pc-menu-i:hover:not(:disabled) .pc-menu-k { color: #fff; }
.pc-menu-i.danger:hover:not(:disabled) { background: #d6453d; }
.pc-menu-i:disabled { opacity: .4; cursor: default; }
.pc-menu-ic { width: 16px; display: grid; place-items: center; color: var(--pc-tx2); flex: none; }
.pc-menu-l { flex: 1; }
.pc-menu-k { color: var(--pc-tx3); font-size: 11.5px; }
.pc-menu-sep { height: 1px; background: var(--pc-line2); margin: 4px 2px; }
.pc-menu-info .pc-menu-i { cursor: default; }
.pc-menu-info .pc-menu-i:hover { background: transparent; color: var(--pc-tx); }
.pc-dlg-shade { position: absolute; inset: 0; z-index: 9500; background: rgba(0, 0, 0, .35); display: grid; place-items: center; }
.pc-dlg { width: min(430px, 92vw); background: #22252c; border: 1px solid #0d0f13; border-radius: 8px; box-shadow: 0 18px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.pc-dlg.wide { width: min(640px, 94vw); }
.pc-dlg-bar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 12px; background: #2b2f37; font-weight: 700; }
.pc-dlg-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.pc-dlg-body p { margin: 0; color: #cfd5df; line-height: 1.5; user-select: text; }
.pc-dlg-l { font-size: 12px; color: #9aa2b1; }
.pc-dlg-err { color: #ff7b72; font-size: 12px; min-height: 14px; }
.pc-dlg-btns { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; background: #1d2026; border-top: 1px solid var(--pc-line); flex-wrap: wrap; }
.pc-props { display: grid; grid-template-columns: 130px 1fr; gap: 7px 12px; font-size: 13px; user-select: text; }
.pc-props span { color: #9aa2b1; }
.pc-props b { color: var(--pc-tx); font-weight: 600; word-break: break-word; }
.pc-notes { position: absolute; top: 40px; right: 12px; z-index: 9600; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.pc-note { display: flex; gap: 10px; align-items: flex-start; width: 330px; padding: 10px 12px; background: #22252c; border: 1px solid #0d0f13; border-left: 3px solid var(--pc-acc); border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); color: var(--pc-tx); transform: translateX(30px); opacity: 0; transition: .25s; pointer-events: auto; line-height: 1.4; }
.pc-note.in { transform: none; opacity: 1; }
.pc-note.ok { border-left-color: #3fd35f; }
.pc-note.err { border-left-color: #ff6e6e; }
.pc-note > span:first-child { color: var(--pc-tx2); flex: none; margin-top: 1px; }

/* ---------- menu de aplicativos ---------- */
.pc-am { width: 330px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.pc-am-head { display: flex; gap: 10px; align-items: center; padding: 4px; }
.pc-am-head img { width: 40px; height: 40px; border-radius: 50%; background: #0f1424; border: 2px solid var(--pc-acc); }
.pc-am-head b, .pc-am-head small { display: block; }
.pc-am-head small { color: #7aa7ff; font-family: var(--pc-mono); }
.pc-am-list { max-height: 360px; overflow: auto; }
.pc-am-cat { font-size: 11px; color: var(--pc-tx3); text-transform: uppercase; letter-spacing: .06em; margin: 8px 6px 4px; font-weight: 700; }
.pc-am-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--pc-tx); text-align: left; cursor: pointer; }
.pc-am-i:hover { background: var(--pc-acc); }
.pc-am-i b { display: block; }
.pc-am-i small { color: #9aa2b1; }
.pc-am-i:hover small { color: #dbe6ff; }
.pc-am-i svg { display: block; }
.pc-am-foot { display: flex; gap: 6px; justify-content: space-between; border-top: 1px solid var(--pc-line2); padding-top: 8px; }

/* ---------- tela de login ---------- */
.pc-login { position: absolute; inset: 0; z-index: 8000; display: none; flex-direction: column; align-items: center; justify-content: center; background:
  radial-gradient(900px 520px at 70% 20%, rgba(54, 123, 240, .25), transparent 70%), radial-gradient(800px 600px at 20% 90%, rgba(120, 60, 220, .2), transparent 70%), linear-gradient(160deg, #0a0f1d, #131a38 55%, #070a14); }
.pc-login.on, .pc-login.out { display: flex; }
.pc-login.out { animation: pcFade .35s forwards; }
@keyframes pcFade { to { opacity: 0; visibility: hidden; } }
.pc-login-top { position: absolute; top: 9vh; text-align: center; }
.pc-login-time { font-size: 66px; font-weight: 300; color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pc-login-date { font-size: 16px; color: #c5cde0; }
.pc-login-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 38px 24px; background: rgba(20, 24, 36, .72); border: 1px solid rgba(120, 150, 220, .18); border-radius: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); min-width: 300px; }
.pc-login-av { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--pc-acc); background: #0f1424; object-fit: cover; }
.pc-login-name { font-size: 20px; font-weight: 700; color: #fff; }
.pc-login-user { font-family: var(--pc-mono); color: #7aa7ff; font-size: 13px; }
.pc-login-visit { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #ffd166; background: rgba(255, 209, 102, .1); border: 1px solid rgba(255, 209, 102, .3); padding: 4px 10px; border-radius: 999px; max-width: 340px; }
.pc-login-go { margin-top: 10px; height: 38px; padding: 0 18px 0 24px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 0; background: var(--pc-acc); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(54, 123, 240, .35); }
.pc-login-go:hover { background: var(--pc-acc2); }
.pc-login-go:focus-visible { outline: 3px solid rgba(122, 167, 255, .6); outline-offset: 2px; }
.pc-login-foot { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.pc-login-off { display: inline-flex; gap: 8px; align-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, .18); color: var(--pc-tx); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.pc-login-off:hover { background: rgba(255, 255, 255, .08); }
.pc-login-os { display: inline-flex; gap: 6px; align-items: center; color: #8fa3c8; font-size: 12px; }

/* ---------- Arquivos ---------- */
.fm { display: flex; flex-direction: column; height: 100%; background: var(--pc-bg); }
.fm-toolbar { flex: none; display: flex; align-items: center; gap: 4px; padding: 6px; background: var(--pc-bg2); border-bottom: 1px solid var(--pc-line); }
.fm-tb { width: 30px; height: 28px; border-radius: 4px; border: 1px solid transparent; background: transparent; color: #d5dae3; display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.fm-tb:hover:not(:disabled) { background: #343944; }
.fm-tb:disabled { opacity: .35; cursor: default; }
.fm-crumbs { display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; background: var(--pc-bg3); border: 1px solid #333845; border-radius: 4px; padding: 2px 4px; height: 28px; flex: 1 1 auto; max-width: 55%; }
.fm-crumb { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 3px; border: 0; background: transparent; color: #cfd5df; cursor: pointer; white-space: nowrap; font-size: 12.5px; }
.fm-crumb svg { display: block; }
.fm-crumb:hover { background: #2a2f39; }
.fm-crumb.on { background: #26322d; color: #fff; }
.fm-csep { color: #5b6270; }
.fm-search { width: 150px; }
.fm-actions { display: flex; gap: 2px; }
.fm-mid { flex: 1; display: flex; min-height: 0; }
.fm-side { width: 182px; background: var(--pc-bg3); border-right: 1px solid var(--pc-line); padding: 6px; overflow: auto; flex: none; }
.fm-sh { font-size: 11px; font-weight: 700; color: var(--pc-tx3); text-transform: uppercase; letter-spacing: .06em; margin: 8px 6px 4px; }
.fm-place { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 8px; border-radius: 4px; border: 0; background: transparent; color: #d5dae3; cursor: pointer; text-align: left; }
.fm-place svg { display: block; }
.fm-place:hover { background: #262b34; }
.fm-place.on { background: #26322d; color: #fff; }
.fm-place.drop { outline: 2px dashed var(--pc-acc); background: rgba(54, 123, 240, .12); }
.fm-main { flex: 1; overflow: auto; padding: 10px; outline: none; position: relative; }
.fm-main.grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.fm-main.list { padding: 0; }
.fm-main.drop { box-shadow: inset 0 0 0 3px var(--pc-acc); background: rgba(54, 123, 240, .07); }
.fm-item { width: 98px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: 5px; border: 1px solid transparent; cursor: default; }
.fm-item:hover { background: rgba(255, 255, 255, .05); }
.fm-item.sel { background: rgba(54, 123, 240, .35); border-color: rgba(90, 150, 255, .7); }
.fm-item.cut { opacity: .5; }
.fm-item.drop { outline: 2px dashed var(--pc-acc); background: rgba(54, 123, 240, .15); }
.fm-ic svg { display: block; }
.fm-nm { font-size: 12px; text-align: center; word-break: break-word; max-height: 3.9em; overflow: hidden; line-height: 1.3; }
.fm-row { display: grid; grid-template-columns: minmax(200px, 1fr) 120px 110px 110px; gap: 10px; align-items: center; padding: 4px 12px; border-bottom: 1px solid #23262d; font-size: 12.5px; color: #c7cdd8; }
.fm-row.head { position: sticky; top: 0; background: #22252c; color: #8f96a3; font-weight: 700; z-index: 1; padding-top: 6px; padding-bottom: 6px; }
.fm-item.fm-row { width: auto; flex-direction: row; border-radius: 0; border-width: 0 0 1px; border-bottom-color: #23262d; }
.fm-item.fm-row.sel { border-bottom-color: rgba(90, 150, 255, .7); }
.fm-nmc { display: flex; gap: 8px; align-items: center; min-width: 0; color: var(--pc-tx); }
.fm-row .fm-nm { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: none; font-size: 12.5px; }
.fm-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #9aa2b1; text-align: center; padding: 20px; }
.fm-empty b { color: var(--pc-tx); font-size: 15px; }
.fm-empty small { max-width: 360px; line-height: 1.45; }
.fm-empty svg { opacity: .8; }
.fm-status { flex: none; height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--pc-bg2); border-top: 1px solid var(--pc-line); font-size: 12px; color: #a7afbd; }

/* ---------- Notas ---------- */
.nt { display: flex; flex-direction: column; height: 100%; background: var(--pc-bg); }
.nt-toolbar { flex: none; display: flex; align-items: center; gap: 2px; padding: 5px 6px; background: var(--pc-bg2); border-bottom: 1px solid var(--pc-line); }
.nt-tb { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 4px; border: 0; background: transparent; color: #d5dae3; cursor: pointer; }
.nt-tb:hover { background: #343944; }
.nt-tb svg { display: block; }
.nt-sep { width: 1px; height: 18px; background: #3a3f4a; margin: 0 4px; }
.nt-views { display: flex; background: #15171c; border: 1px solid #333845; border-radius: 4px; padding: 2px; }
.nt-vb { height: 22px; padding: 0 10px; border: 0; border-radius: 3px; background: transparent; color: var(--pc-tx2); font-size: 12px; cursor: pointer; }
.nt-vb.on { background: var(--pc-acc); color: #fff; }
.nt-split { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.nt-split.edit, .nt-split.view { grid-template-columns: 1fr; }
.nt-split.edit .nt-prev, .nt-split.view .nt-ed { display: none; }
.nt-ed { resize: none; border: 0; outline: none; padding: 14px 16px; background: #181a1f; color: var(--pc-tx); font: 13.5px/1.6 var(--pc-mono); tab-size: 2; user-select: text; min-height: 0; }
.nt-prev { overflow: auto; padding: 14px 22px; background: var(--pc-bg); border-left: 1px solid var(--pc-line); user-select: text; min-height: 0; }
.nt-bar { flex: none; height: 24px; display: flex; align-items: center; gap: 12px; padding: 0 10px; background: var(--pc-bg2); border-top: 1px solid var(--pc-line); font-size: 12px; color: #a7afbd; white-space: nowrap; overflow: hidden; }
.nt-who { color: var(--pc-tx3); overflow: hidden; text-overflow: ellipsis; }
.nt-stat.dirty { color: #ffd166; }
.nt-stat.warn { color: #ff7b72; }
.nt-pick-list { max-height: 50vh; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.nt-pick { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; border: 0; background: transparent; color: var(--pc-tx); text-align: left; cursor: pointer; }
.nt-pick:hover { background: #26322d; }
.nt-pick svg { display: block; flex: none; }
.nt-pick-n { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.nt-pick small { color: #8f96a3; }
.pc .md { color: #d8dde6; font-size: 14px; line-height: 1.6; }
.pc .md h1, .pc .md h2, .pc .md h3 { color: #fff; margin: 14px 0 6px; line-height: 1.25; font-weight: 700; }
.pc .md h1 { font-size: 24px; border-bottom: 1px solid #343843; padding-bottom: 6px; }
.pc .md h2 { font-size: 19px; }
.pc .md h3 { font-size: 16px; color: #cfe0ff; }
.pc .md p { margin: 0 0 10px; }
.pc .md a { color: #79b8ff; }
.pc .md code { font-family: var(--pc-mono); background: #2a2e37; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.pc .md pre { background: #15171c; border: 1px solid #2a2e37; border-radius: 6px; padding: 10px 12px; overflow: auto; }
.pc .md pre code { background: transparent; padding: 0; }
.pc .md blockquote { margin: 0 0 10px; padding: 4px 12px; border-left: 3px solid var(--pc-acc); color: #b8c1d1; background: rgba(54, 123, 240, .07); }
.pc .md ul, .pc .md ol { margin: 0 0 10px; padding-left: 22px; }
.pc .md li.md-task { list-style: none; margin-left: -20px; display: flex; gap: 8px; align-items: baseline; }
.pc .md li.md-task.done span { color: #7f8796; text-decoration: line-through; }
.pc .md li.md-task input { accent-color: var(--pc-acc); cursor: pointer; }
.pc .md hr { border: 0; border-top: 1px solid #343843; margin: 14px 0; }
.pc .md table { border-collapse: collapse; margin: 0 0 10px; }
.pc .md th, .pc .md td { border: 1px solid #343843; padding: 4px 10px; }
.pc .md th { background: #262a31; }
.pc .md img { max-width: 100%; }

/* ---------- Terminal ---------- */
.term-wrap { position: relative; height: 100%; background: #141519; }
.term { position: absolute; inset: 0; overflow: auto; padding: 8px 10px 14px; font: 13.5px/1.42 var(--pc-mono); color: #e8ecf2; user-select: text; cursor: text; }
.term-l { white-space: pre-wrap; word-break: break-word; min-height: 1.42em; }
.term-l:has(> .nf) { line-height: 1.12; min-height: 1.12em; }
.term-ps { white-space: pre-wrap; word-break: break-all; }
.term-line { display: flex; align-items: center; }
.term-ps2 { white-space: pre; }
.term-in { flex: 1; min-width: 40px; background: transparent; border: 0; outline: none; color: #e8ecf2; font: inherit; caret-color: #e8ecf2; padding: 0; user-select: text; }
.term .t-frame { color: #2f7af8; }
.term .t-user, .term .t-dollar { color: #4b8df8; font-weight: 700; }
.term .t-path { color: #fff; font-weight: 700; }
.term .t-dir { color: #5b9dff; font-weight: 700; }
.term .t-exe { color: #3fd35f; font-weight: 700; }
.term .t-img { color: #d773f2; }
.term .t-aud { color: #37d6d6; }
.term .t-arc { color: #ff6e6e; font-weight: 700; }
.term .t-err, .term-l.t-err { color: #ff6e6e; }
.term .t-ok { color: #3fd35f; }
.term .t-dim, .term-l.t-dim { color: #7f8796; }
.term .t-acc { color: #5b9dff; }
.term .b { font-weight: 700; }
.term .t-grant { background: #1d8b3a; color: #fff; font-weight: 800; padding: 1px 8px; letter-spacing: .1em; }
.term-ov { position: absolute; inset: 0; display: none; background: #141519; outline: none; overflow: hidden; }
.term-ov.on { display: block; }
.term-cv { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.term-hint { position: absolute; right: 12px; bottom: 8px; color: #3fd35f; font: 12px var(--pc-mono); opacity: .75; }
.term-train { position: absolute; top: 28%; left: 0; margin: 0; color: #e8ecf2; font: 13px/1.12 var(--pc-mono); white-space: pre; }
.nano { position: absolute; inset: 0; display: flex; flex-direction: column; font: 13.5px/1.42 var(--pc-mono); color: #e8ecf2; }
.nano-head { flex: none; display: flex; justify-content: space-between; background: #e8ecf2; color: #141519; padding: 0 8px; white-space: pre; }
.nano-fn { font-weight: 700; }
.nano-ta { flex: 1; resize: none; border: 0; outline: none; background: #141519; color: #e8ecf2; font: inherit; padding: 4px 8px; user-select: text; tab-size: 4; }
.nano-msg { flex: none; text-align: center; min-height: 1.42em; color: #141519; background: #c9ced8; }
.nano-msg:empty { background: transparent; }
.nano-keys { flex: none; display: flex; flex-wrap: wrap; gap: 2px 20px; padding: 3px 8px 6px; }
.nano-keys b { background: #e8ecf2; color: #141519; padding: 0 2px; font-weight: 700; }

/* ---------- Visualizador ---------- */
.vw { display: flex; flex-direction: column; height: 100%; background: #15171c; outline: none; }
.vw-stage { flex: 1; min-height: 0; display: grid; place-items: center; overflow: auto; position: relative; background: repeating-conic-gradient(#1b1d22 0 25%, #202228 0 50%) 0 0 / 24px 24px; }
.vw-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.vw-img.real { max-width: none; max-height: none; cursor: zoom-out; }
.vw-pdf { width: 100%; height: 100%; border: 0; background: #fff; }
.vw-media { max-width: 100%; max-height: 100%; }
.vw-audio { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vw-name { font-weight: 700; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vw-info { color: #8f96a3; font-size: 12px; margin-right: 8px; white-space: nowrap; }

/* ---------- seleção por retângulo ---------- */
.pc-band { position: absolute; z-index: 3000; border: 1px solid rgba(110, 160, 255, .9); background: rgba(54, 123, 240, .22); pointer-events: none; }
.pc-ic { user-select: none; }

/* ---------- o Discord dentro de uma janela do PC ---------- */
.pc-dc { position: relative; display: flex; }
.pc-dc > .dc-window.dc-docked { width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; border-radius: 0 !important; transform: none !important; box-shadow: none !important; flex: 1; user-select: text; }

/* ================= Fase 17 · Etapa 4: papéis de parede ================= */
.pc-wall.wp-image { background-color: #05070d; background-size: cover; background-position: center; }
.pc-wall.wp-image::before, .pc-wall.wp-image::after, .pc-wall.wp-image .pc-wall-mark, .pc-wall.wp-image .pc-wall-word { display: none; }
.pc-wall.wp-grade { background: linear-gradient(180deg, #07020f 0%, #160733 55%, #2a0b4d 100%); }
.pc-wall.wp-grade::before { background-image: linear-gradient(rgba(255, 60, 200, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 200, 255, .3) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%; top: 45%; -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%); }
.pc-wall.wp-grade::after { background: radial-gradient(600px 220px at 50% 52%, rgba(255, 70, 200, .35), transparent 70%); }
.pc-wall.wp-chuva { background: radial-gradient(900px 600px at 70% 30%, rgba(30, 200, 90, .16), transparent 70%), #010703; }
.pc-wall.wp-chuva::before { background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(60, 255, 120, .14) 22px 24px, transparent 24px 46px, rgba(60, 255, 120, .07) 46px 47px); -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 90px, transparent 90px 160px, #000 160px 210px, transparent 210px 330px); mask-image: repeating-linear-gradient(180deg, #000 0 90px, transparent 90px 160px, #000 160px 210px, transparent 210px 330px); background-size: auto; }
.pc-wall.wp-chuva::after { background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .6)); }
.pc-wall.wp-chuva .pc-wall-word { color: rgba(80, 255, 140, .25); }
.pc-wall.wp-aurora { background: radial-gradient(800px 380px at 30% 30%, rgba(40, 230, 200, .3), transparent 70%), radial-gradient(700px 400px at 75% 40%, rgba(150, 80, 255, .3), transparent 70%), linear-gradient(180deg, #031018 0%, #07142b 60%, #02040a 100%); }
.pc-wall.wp-aurora::before { display: none; }
.pc-wall.wp-alerta { background: radial-gradient(900px 500px at 75% 35%, rgba(255, 40, 60, .32), transparent 70%), linear-gradient(160deg, #120205 0%, #2a0509 60%, #050102 100%); }
.pc-wall.wp-alerta::before { background-image: repeating-linear-gradient(-45deg, rgba(255, 60, 70, .06) 0 14px, transparent 14px 28px); -webkit-mask-image: none; mask-image: none; }
.pc-wall.wp-alerta .pc-wall-word { color: rgba(255, 110, 120, .25); }
.pc-wall.wp-carbono { background-color: #121418; background-image: linear-gradient(27deg, #151515 5px, transparent 5px), linear-gradient(207deg, #151515 5px, transparent 5px), linear-gradient(27deg, #222 5px, transparent 5px), linear-gradient(207deg, #222 5px, transparent 5px), linear-gradient(90deg, #1b1b1b 10px, transparent 10px), linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424); background-size: 20px 20px; background-position: 0 5px, 10px 0, 0 10px, 10px 5px, 0 0, 0 0; }
.pc-wall.wp-carbono::before { display: none; }
.pc-wall.wp-carbono::after { background: radial-gradient(900px 600px at 70% 40%, rgba(54, 123, 240, .14), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .5)); }
.pc-wall.wp-synth { background: linear-gradient(180deg, #1a0533 0%, #4a0b5c 45%, #ff5f8f 72%, #ffb35c 100%); }
.pc-wall.wp-synth::before { background: radial-gradient(circle at 50% 100%, #ffd36e 0 18%, #ff6a88 19% 30%, transparent 31%); background-size: auto; -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 18px, transparent 18px 24px); mask-image: repeating-linear-gradient(180deg, #000 0 18px, transparent 18px 24px); top: 30%; bottom: 22%; }
.pc-wall.wp-synth::after { background: linear-gradient(180deg, transparent 78%, #12021f 78%), repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 90, 200, .5) 60px 61px); -webkit-mask-image: linear-gradient(180deg, transparent 78%, #000 78%); mask-image: linear-gradient(180deg, transparent 78%, #000 78%); }
.pc-wall.wp-synth .pc-wall-word { color: rgba(255, 255, 255, .35); }
.pc-wall.wp-noite { background: #06080d; }
.pc-wall.wp-noite::before, .pc-wall.wp-noite::after { display: none; }
.pc-wall.wp-noite .pc-wall-word { color: rgba(140, 180, 255, .12); }

/* ================= tela de senha ================= */
.pc-login-pw { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; width: 100%; }
.pc-login-lock { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: #9fb3d8; }
.pc-login-row { display: flex; gap: 8px; align-items: center; width: 100%; }
.pc-login-pass { flex: 1; height: 38px; border-radius: 999px; border: 1px solid rgba(140, 170, 230, .35); background: rgba(8, 11, 20, .7); color: #fff; padding: 0 16px; font: inherit; font-size: 15px; outline: none; letter-spacing: .12em; user-select: text; min-width: 0; }
.pc-login-pass:focus { border-color: var(--pc-acc); box-shadow: 0 0 0 3px rgba(54, 123, 240, .3); }
.pc-login-pass::placeholder { letter-spacing: 0; color: #6e7d99; }
.pc-login-row .pc-login-go { margin-top: 0; padding: 0 14px 0 18px; }
.pc-login-row .pc-login-go:disabled { opacity: .6; cursor: wait; }
.pc-login-err { min-height: 16px; font-size: 12.5px; color: #ff8a80; }
.pc-login-forgot { border: 0; background: transparent; color: #8fa9db; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 2px; }
.pc-login-forgot:hover { color: #c6d6f5; }
.pc-login-card.shake { animation: pcShake .42s; }
@keyframes pcShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

/* ================= Navegador ================= */
.br { display: flex; flex-direction: column; height: 100%; background: #16181d; }
.br-bar { gap: 6px; }
.br-addr-w { flex: 1; position: relative; display: flex; align-items: center; }
.br-lock { position: absolute; left: 10px; color: #7f8796; display: grid; }
.br-addr { flex: 1; height: 30px; border-radius: 999px; padding-left: 30px; }
.br-page { flex: 1; overflow: auto; padding: 18px 22px 26px; }
.br-h { display: flex; align-items: center; gap: 8px; margin: 6px 2px 12px; font-weight: 700; font-size: 14px; color: #e6e9ef; }
.br-h span { display: grid; color: #ffd166; }
.br-h small { font-weight: 400; color: var(--pc-tx3); font-size: 12px; margin-left: 4px; }
.br-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 26px; }
.br-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 10px; border-radius: 10px; border: 1px solid #2a2e37; background: #1d2026; color: #e6e9ef; cursor: pointer; min-width: 0; }
.br-tile:hover { background: #252932; border-color: #3a404c; }
.br-tile.add { border-style: dashed; color: #9aa2b1; }
.br-tile.add .br-fav { background: #2a2e37; color: #9aa2b1; }
.br-fav { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.br-fav.sm { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
.br-tt { font-weight: 600; font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-tile small { font-size: 11px; color: var(--pc-tx3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-tor { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px; font-weight: 800; color: #e9d8fd; background: #6b46c1; padding: 1px 6px; border-radius: 999px; }
.br-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.br-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; background: #1d2026; color: #e6e9ef; cursor: pointer; text-align: left; min-width: 0; }
.br-link:hover { background: #252932; border-color: #343a45; }
.br-lt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.br-lt b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-lt small { font-size: 11px; color: var(--pc-tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-pin { color: #ffd166; display: grid; }
.br-none { color: var(--pc-tx3); margin: 0 2px 20px; }

/* ================= Configurações ================= */
.st { display: flex; height: 100%; background: var(--pc-bg); }
.st-side { width: 190px; flex: none; background: var(--pc-bg3); border-right: 1px solid var(--pc-line); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.st-nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 5px; border: 0; background: transparent; color: #d5dae3; cursor: pointer; text-align: left; }
.st-nav span { display: grid; color: #9aa2b1; }
.st-nav:hover { background: #262b34; }
.st-nav.on { background: #26322d; color: #fff; }
.st-nav.on span { color: #7aa7ff; }
.st-main { flex: 1; overflow: auto; padding: 16px 20px 24px; min-width: 0; }
.st-head h3 { margin: 0 0 4px; font-size: 17px; color: #fff; }
.st-head p { margin: 0 0 14px; color: var(--pc-tx2); }
.st-visit { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #ffd166; background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .25); padding: 6px 10px; border-radius: 6px; margin-bottom: 12px; }
.st-walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.st-wall { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; border: 2px solid transparent; background: #1d2026; color: #d5dae3; cursor: pointer; font-size: 12px; text-align: left; }
.st-wall:hover { border-color: #3a404c; }
.st-wall.on { border-color: var(--pc-acc); color: #fff; }
.st-wprev { position: relative !important; inset: auto !important; height: 84px; border-radius: 5px; overflow: hidden; display: grid; place-items: center; }
.st-wprev .pc-wall-mark, .st-wprev .pc-wall-word { display: none; }
.st-wimg { color: #7f8796; position: relative; }
.st-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.st-term { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; border: 2px solid transparent; background: #1d2026; color: #d5dae3; cursor: pointer; text-align: left; font-size: 12px; }
.st-term:hover { border-color: #3a404c; }
.st-term.on { border-color: var(--pc-acc); color: #fff; }
.st-tprev { font: 12px/1.45 var(--pc-mono); padding: 10px; border-radius: 5px; white-space: pre; overflow: hidden; }
.st-led { height: 16px; border-radius: 999px; margin: 6px 0 16px; background: var(--led); box-shadow: 0 0 18px var(--led), 0 0 4px var(--led), inset 0 2px 0 rgba(255, 255, 255, .45); }
.st-swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #2a2e37; background: var(--c); cursor: pointer; box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); position: relative; }
.st-sw.on { border-color: #fff; }
.st-sw.person, .st-sw.custom { width: auto; height: 36px; border-radius: 999px; padding: 0 12px 0 34px; color: #e6e9ef; font-size: 12px; display: inline-flex; align-items: center; background: #1d2026; box-shadow: none; }
.st-sw.person::before { content: ""; position: absolute; left: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.st-sw.person.on { border-color: #fff; }
.st-sw.custom { padding-left: 8px; gap: 8px; }
.st-color { width: 22px; height: 22px; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.st-hint { color: var(--pc-tx3); font-size: 12px; margin: 14px 0 0; }
.st-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 8px; background: #1d2026; border: 1px solid #2f3440; margin-bottom: 14px; flex-wrap: wrap; }
.st-card.ok { border-color: rgba(48, 209, 88, .4); }
.st-card-i { color: #9aa2b1; display: grid; }
.st-card.ok .st-card-i { color: #30d158; }
.st-card > div:nth-child(2) { flex: 1; min-width: 220px; }
.st-card b { color: #fff; }
.st-card p { margin: 4px 0 0; color: var(--pc-tx2); line-height: 1.5; }
.st-card-b { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; justify-content: flex-end; }
.st-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 8px; background: #1d2026; border: 1px solid #2f3440; }
.st-row b { color: #fff; }
.st-row p { margin: 4px 0 0; color: var(--pc-tx2); font-size: 12px; }
.st-sel { height: 30px; min-width: 140px; }
.st-visits { display: flex; flex-direction: column; gap: 8px; }
.st-vis { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; background: #1d2026; border: 1px solid #2a2e37; }
.st-vis.live { border-color: rgba(255, 209, 102, .5); }
.st-vav { width: 34px; height: 34px; border-radius: 50%; background: #26322d; display: grid; place-items: center; font-weight: 800; color: #cfe0ff; flex: none; }
.st-vis b { color: #fff; }
.st-vis small { display: block; color: var(--pc-tx3); font-size: 11.5px; margin-top: 1px; }
.st-vis p { margin: 4px 0 0; color: #cfd5df; }
.st-about { max-width: 460px; }
.st-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-height: 50vh; overflow: auto; }
.st-img { display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 6px; border: 2px solid transparent; background: #1a1d23; color: #cfd5df; cursor: pointer; font-size: 11px; min-width: 0; }
.st-img:hover { border-color: var(--pc-acc); }
.st-img img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; }
.st-img span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= Terminal: temas ================= */
.term-wrap[data-tt] { background: var(--tt-bg); }
.term-wrap[data-tt] .term, .term-wrap[data-tt] .term-in { color: var(--tt-fg); caret-color: var(--tt-fg); }
.term-wrap[data-tt] .t-frame, .term-wrap[data-tt] .t-user, .term-wrap[data-tt] .t-dollar, .term-wrap[data-tt] .t-dir, .term-wrap[data-tt] .t-acc { color: var(--tt-acc); }
.term-wrap[data-tt] .t-path { color: var(--tt-fg); }
.term-wrap[data-tt] .t-exe, .term-wrap[data-tt] .t-ok { color: var(--tt-ok); }
.term-wrap[data-tt="claro"] .t-dim, .term-wrap[data-tt="claro"] .term-l.t-dim { color: #6e7781; }
.pc-ic-l.long { font-size: 11px; letter-spacing: -.15px; word-break: normal; }
.st-imgs .fm-empty { position: static; inset: auto; grid-column: 1 / -1; padding: 18px 10px; }

/* ===== Fase 18 · Etapa C — Leads ===== */
.ld { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--pc-bg); color: var(--pc-tx); }
.ld-bar { gap: 6px; flex-wrap: wrap; }
.ld-search { width: 210px; }
.ld-sel { max-width: 170px; }
.ld-stats { flex: none; display: flex; gap: 8px; padding: 8px 10px; overflow-x: auto; border-bottom: 1px solid var(--pc-line); }
.ld-stats > * { flex: none; background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 8px; padding: 6px 12px; font-size: 12px; color: var(--pc-tx2); display: flex; flex-direction: column; gap: 1px; }
.ld-stats b { font-size: 16px; color: var(--pc-tx); }
.ld-board { flex: 1; min-height: 0; overflow: auto; }
.ld-cols { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 8px; padding: 10px; height: 100%; min-width: 980px; box-sizing: border-box; }
.ld-col { display: flex; flex-direction: column; min-height: 0; background: var(--pc-bg3); border: 1px solid var(--pc-line2); border-radius: 10px; }
.ld-col.over { outline: 2px dashed var(--pc-acc2); outline-offset: -3px; }
.ld-col-h { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--pc-line2); font-size: 13px; }
.ld-col-h i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.ld-col-h span { margin-left: auto; background: #ffffff14; border-radius: 99px; padding: 0 7px; font-size: 11.5px; color: var(--pc-tx2); }
.ld-col-h small { color: #30d158; font-weight: 700; font-size: 11.5px; }
.ld-list { flex: 1; overflow: auto; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.ld-card { background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 8px; padding: 8px 9px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; transition: transform .08s, border-color .1s; }
.ld-card:hover { border-color: #4a5160; transform: translateY(-1px); }
.ld-card.dragging { opacity: .45; }
.ld-card.late { border-left: 3px solid #ff6b6b; }
.ld-card.today { border-left: 3px solid #ffd166; }
.ld-c1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ld-c1 b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-tag { margin-left: auto; flex: none; font: 700 10.5px var(--pc-mono); color: #ffd166; background: #ffd16618; border: 1px solid #ffd16640; border-radius: 4px; padding: 0 5px; }
.ld-int { font-size: 11.5px; color: var(--pc-tx2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ld-c2 { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--pc-tx3); flex-wrap: wrap; }
.ld-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #10131a; flex: none; }
.ld-av.none { background: #3a3f4b; color: var(--pc-tx2); }
.ld-val { color: #30d158; font-weight: 700; }
.ld-fup { display: inline-flex; align-items: center; gap: 3px; border-radius: 4px; padding: 0 5px; background: #ffffff10; }
.ld-fup.late { color: #ff8a8a; background: #ff6b6b1c; }
.ld-fup.today { color: #ffd166; background: #ffd1661a; }
.ld-none { color: var(--pc-tx3); font-size: 12px; text-align: center; padding: 16px 8px; }
.ld-table { padding: 8px 10px; font-size: 12.5px; }
.ld-tr { display: grid; grid-template-columns: minmax(160px, 1.4fr) 120px 110px 90px 90px 120px 110px; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid #23262d; cursor: pointer; color: #c7cdd8; }
.ld-tr:hover { background: #ffffff08; }
.ld-tr.head { cursor: default; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-tx3); background: none; }
.ld-tr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.ld-setup { max-width: 460px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; color: var(--pc-tx2); padding: 20px; }
.ld-setup b { color: var(--pc-tx); font-size: 16px; }
.ld-dlg .pc-dlg-b, .ld-dlg { max-width: 640px; }
.ld-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.ld-row > label { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--pc-tx2); }
.ld-notes { width: 100%; min-height: 80px; resize: vertical; box-sizing: border-box; }
.ld-quick { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin: 4px 0 8px; }
.ld-quick small { color: var(--pc-tx3); }
.ld-meta { display: block; color: var(--pc-tx3); margin-top: 6px; }
.ld-nums { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow: auto; margin: 8px 0; }
.ld-num { background: var(--pc-bg3); border: 1px solid var(--pc-line2); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.ld-num.off { opacity: .55; }
.ld-num-h { display: flex; gap: 6px; align-items: center; }
.ld-num-h .pc-in { flex: 1; min-width: 0; }
.ld-num-s { color: var(--pc-tx3); }
.ld-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.ld-chip { border: 1px solid var(--pc-line2); background: transparent; color: var(--pc-tx2); border-radius: 99px; padding: 3px 10px; cursor: pointer; font-size: 12px; }
.ld-chip.on { background: #30d15822; border-color: #30d158; color: #b8f5c8; }

/* ===== Fase 18 · Etapa C — Atendimento ===== */
.at { display: flex; height: 100%; min-height: 0; background: var(--pc-bg); color: var(--pc-tx); }
.at-left { flex: 1 1 60%; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px; overflow: auto; }
.at-drop { position: relative; border-radius: 8px; }
.at-drop.over { outline: 2px dashed var(--pc-acc2); }
.at-ta { width: 100%; min-height: 140px; resize: vertical; box-sizing: border-box; font-size: 12.5px; line-height: 1.4; }
.at-btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.at-ia { background: linear-gradient(135deg, #7b5cff, #367bf0) !important; color: #fff !important; border-color: transparent !important; }
.at-ialine { color: var(--pc-tx3); }
.at-result { display: flex; flex-direction: column; gap: 8px; }
.at-card { background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.at-card-h { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.at-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.at-grid label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--pc-tx2); }
.at-ok { color: #6ee7a0; }
.at-dim { color: var(--pc-tx3); font-size: 12px; margin: 0; }
.at-prev { display: flex; flex-direction: column; gap: 5px; max-height: 220px; overflow: auto; }
.at-pm { max-width: 85%; padding: 5px 9px; border-radius: 9px; font-size: 12px; display: flex; flex-direction: column; gap: 1px; white-space: pre-wrap; }
.at-pm b { font-size: 10.5px; opacity: .7; }
.at-pm.c { align-self: flex-start; background: #2d323c; }
.at-pm.t { align-self: flex-end; background: #144d37; }
.at-sug { display: flex; flex-direction: column; gap: 8px; }
.at-s { background: var(--pc-bg3); border: 1px solid var(--pc-line2); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.at-s-h { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.at-s p, .at-s > div:last-child { margin: 0; font-size: 12.5px; white-space: pre-wrap; line-height: 1.45; }
.at-wait { display: flex; gap: 8px; align-items: center; color: var(--pc-tx2); font-size: 12.5px; padding: 6px 0; }
.at-side { flex: 0 0 340px; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--pc-line); background: var(--pc-bg3); }
.at-tabs { flex: none; display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--pc-line); }
.at-tab { flex: 1; border: 0; background: transparent; color: var(--pc-tx2); padding: 6px 4px; border-radius: 5px; cursor: pointer; font-size: 12.5px; }
.at-tab.on { background: var(--pc-bg2); color: var(--pc-tx); box-shadow: inset 0 -2px 0 var(--pc-acc2); }
.at-side-b { flex: 1; overflow: auto; padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.at-row { display: flex; gap: 6px; align-items: center; }
.at-row .pc-in { flex: 1; min-width: 0; }
.at-sc, .at-kb, .at-use { background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 8px; padding: 7px 9px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.at-kb.ai { border-color: #7b5cff66; }
.at-sc-h { display: flex; align-items: center; gap: 6px; }
.at-sc-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-sc > div:not(.at-sc-h), .at-kb > div:not(.at-sc-h) { color: var(--pc-tx2); white-space: pre-wrap; max-height: 4.4em; overflow: hidden; }
.at-sc-ta { width: 100%; min-height: 110px; resize: vertical; box-sizing: border-box; }
.at-star { border: 0; background: transparent; cursor: pointer; font-size: 15px; filter: grayscale(1) opacity(.45); padding: 0 2px; }
.at-star.on { filter: none; }
.at-sw { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--pc-tx2); cursor: pointer; }
.at-empty { display: flex; flex-direction: column; gap: 4px; text-align: center; color: var(--pc-tx3); padding: 18px 10px; }
.at-empty.left { text-align: left; }
.at-empty b { color: var(--pc-tx); }
.at-help ol { margin: 4px 0; padding-left: 18px; color: var(--pc-tx2); font-size: 12px; line-height: 1.6; }
.at-bar { height: 6px; background: #ffffff12; border-radius: 99px; overflow: hidden; }
.at-bar i { display: block; height: 100%; border-radius: 99px; }
@media (max-width: 760px) { .at { flex-direction: column; } .at-side { flex-basis: auto; border-left: 0; border-top: 1px solid var(--pc-line); } }
.at-stari { display: inline-flex; color: #ffd166; margin-right: 4px; }
.at-stari svg, .at-star svg { fill: currentColor; }
.at-star { color: #ffd166; filter: grayscale(1) opacity(.45); }
.at-star.on { filter: drop-shadow(0 0 4px #ffd16680); }

/* ===== Fase 18 · Etapa F — Anúncios ===== */
.an, .ct, .cr { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--pc-bg); color: var(--pc-tx); overflow: auto; }
.an-bar, .cr-bar { gap: 6px; flex-wrap: wrap; position: sticky; top: 0; z-index: 2; }
.an-seg { display: inline-flex; background: var(--pc-bg3); border: 1px solid var(--pc-line2); border-radius: 6px; padding: 2px; gap: 2px; }
.an-segb { border: 0; background: transparent; color: var(--pc-tx2); padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.an-segb.on { background: var(--pc-acc); color: #fff; }
.an-chk { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; color: var(--pc-tx2); }
.an-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px 10px 0; }
.an-tile { background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; }
.an-tile small { color: var(--pc-tx3); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.an-tile b { font-size: 20px; }
.an-tile span { font-size: 11.5px; color: var(--pc-tx2); }
.an-tile.good b { color: #30d158; }
.an-chart { margin: 10px; padding: 10px 12px; background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 10px; }
.an-ch-h { display: flex; align-items: center; gap: 12px; font-size: 12.5px; margin-bottom: 8px; }
.an-lg { display: inline-flex; align-items: center; gap: 5px; color: var(--pc-tx2); font-size: 11.5px; }
.an-lg::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #ff7a7a; }
.an-lg.rv::before { background: #30d158; }
.an-bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 110px; align-items: end; }
.an-day { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.an-bw { flex: 1; width: 100%; display: flex; gap: 2px; align-items: flex-end; justify-content: center; }
.an-bw i { width: 42%; max-width: 14px; border-radius: 3px 3px 0 0; min-height: 1px; }
.an-bw i.sp { background: #ff7a7a; }
.an-bw i.rv { background: #30d158; }
.an-day small { color: var(--pc-tx3); font-size: 10px; }
.an-table { margin: 0 10px 8px; display: flex; flex-direction: column; }
.an-tr { display: grid; grid-template-columns: minmax(220px, 2.2fr) 90px 90px 60px 80px 60px 100px 70px minmax(170px, 1.3fr); gap: 8px; align-items: center; padding: 7px 8px; border-bottom: 1px solid #23262d; font-size: 12.5px; }
.an-tr.head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pc-tx3); }
.an-tr.pausada, .an-tr.encerrada { opacity: .6; }
.an-tr .good { color: #30d158; font-weight: 700; }
.an-tr .bad { color: #ff7a7a; font-weight: 700; }
.an-name { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-width: 0; }
.an-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-name small { grid-column: 2; color: var(--pc-tx3); font-size: 11px; }
.an-code { grid-row: span 2; font: 700 11.5px var(--pc-mono); font-style: normal; color: #ffd166; background: #ffd16618; border: 1px solid #ffd16650; border-radius: 5px; padding: 3px 6px; }
.an-st { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #30d15822; color: #7ef0a0; }
.an-st.pausada { background: #ffd16622; color: #ffd166; }
.an-st.encerrada { background: #ffffff14; color: var(--pc-tx3); }
.an-acts { display: flex; gap: 4px; justify-content: flex-end; }
.an-foot { color: var(--pc-tx3); padding: 2px 12px 12px; display: block; }
.an-codein { font-family: var(--pc-mono); text-transform: uppercase; max-width: 120px; }
.an-msg { min-height: 70px; resize: vertical; width: 100%; box-sizing: border-box; }
.an-notes { min-height: 60px; resize: vertical; width: 100%; box-sizing: border-box; }
.an-prev { display: flex; flex-direction: column; gap: 3px; margin: 6px 0; padding: 8px 10px; background: var(--pc-bg3); border: 1px dashed var(--pc-line2); border-radius: 8px; font-size: 12px; }
.an-prev code { font-family: var(--pc-mono); font-size: 11.5px; color: #8fd8ff; word-break: break-all; }
.an-prev em { color: var(--pc-tx3); }
.an-prev em.warn { color: #ffd166; }
.an-hist { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: 12px; color: var(--pc-tx2); }
.an-hi { display: flex; gap: 10px; }
.an-hi b { color: var(--pc-tx); }
@media (max-width: 900px) { .an-tiles { grid-template-columns: repeat(2, 1fr); } .an-tr { grid-template-columns: 1fr 70px 70px 60px; } .an-tr > :nth-child(n+5):not(:last-child) { display: none; } }

/* ===== Fase 18 · Etapa F — Contatos ===== */
.ct-count { color: var(--pc-tx3); }
.ct-due { display: flex; align-items: center; gap: 8px; margin: 10px 10px 0; padding: 8px 12px; border-radius: 9px; background: #ffd16618; border: 1px solid #ffd16650; color: #ffd166; font-size: 12.5px; }
.ct-due small { color: var(--pc-tx2); }
.ct-list { display: flex; flex-direction: column; padding: 8px 10px; gap: 4px; }
.ct-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--pc-bg2); border: 1px solid var(--pc-line2); cursor: pointer; }
.ct-row:hover { border-color: #4a5160; }
.ct-row.late { border-left: 3px solid #ff6b6b; }
.ct-row.today { border-left: 3px solid #ffd166; }
.ct-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #10131a; flex: none; }
.ct-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-main small { color: var(--pc-tx3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-l1 { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ct-kind { font-style: normal; font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.ct-tag { font-style: normal; font-size: 10.5px; color: #8fd8ff; }
.ct-when { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 11.5px; color: var(--pc-tx3); min-width: 110px; }
.ct-next { display: inline-flex; gap: 3px; align-items: center; color: var(--pc-tx2); }
.ct-next.late { color: #ff8a8a; }
.ct-next.today { color: #ffd166; }
.ct-acts { display: flex; gap: 4px; align-items: center; }
.ct-acts a.pc-btn { display: inline-flex; align-items: center; text-decoration: none; }
.ct-imp { width: 100%; min-height: 160px; box-sizing: border-box; font-family: var(--pc-mono); font-size: 12px; }

/* ===== Fase 18 · Etapa F — Cripto ===== */
.cr-top { display: flex; gap: 14px; align-items: stretch; padding: 12px 12px 0; flex-wrap: wrap; }
.cr-total { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(135deg, #0a3a1c, #1b2a48); border: 1px solid var(--pc-line2); }
.cr-total small { color: var(--pc-tx3); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.cr-total b { font-size: 30px; letter-spacing: -.01em; }
.cr-total .cr-alt { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.cr-ch, .cr-c, .cr-m small { font-size: 12px; font-weight: 700; }
.cr .up { color: #30d158; }
.cr .dn { color: #ff6b6b; }
.cr-mkt { flex: 2 1 380px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.cr-m { display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--pc-bg2); border: 1px solid var(--pc-line2); font-size: 12.5px; }
.cr-m i { width: 10px; height: 10px; border-radius: 50%; }
.cr-m span { grid-column: 1 / -1; font-weight: 700; }
.cr-m small { grid-column: 3; grid-row: 1; justify-self: end; }
.cr-alloc { display: flex; height: 10px; margin: 12px 12px 4px; border-radius: 99px; overflow: hidden; background: var(--pc-bg3); }
.cr-alloc i { display: block; height: 100%; }
.cr-legend { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 12px; font-size: 11.5px; color: var(--pc-tx2); }
.cr-legend span { display: inline-flex; gap: 5px; align-items: center; }
.cr-legend i { width: 8px; height: 8px; border-radius: 50%; }
.cr-err { display: flex; gap: 8px; align-items: center; margin: 8px 12px 0; padding: 7px 10px; border-radius: 8px; background: #ff9f4318; border: 1px solid #ff9f4350; color: #ffc48a; font-size: 12px; }
.cr-list { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.cr-w { background: var(--pc-bg2); border: 1px solid var(--pc-line2); border-radius: 10px; overflow: hidden; }
.cr-wh { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--pc-bg3); border-bottom: 1px solid var(--pc-line2); }
.cr-wt { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cr-chain { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.cr-addr { border: 0; background: none; color: var(--pc-tx3); font: 11.5px var(--pc-mono); cursor: pointer; padding: 2px 4px; border-radius: 4px; }
.cr-addr:hover { background: #ffffff10; color: var(--pc-tx); }
.cr-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid #23262d; font-size: 12.5px; }
.cr-row:last-child { border-bottom: 0; }
.cr-row small { color: var(--pc-tx3); }
.cr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.cr-q { font-family: var(--pc-mono); min-width: 110px; text-align: right; }
.cr-u { color: var(--pc-tx2); min-width: 90px; text-align: right; }
.cr-c { min-width: 64px; text-align: right; }
.cr-v { min-width: 100px; text-align: right; }
.cr-empty { display: block; padding: 8px 10px; color: var(--pc-tx3); }
.cr-foot { padding: 0 12px 6px; display: flex; flex-direction: column; gap: 4px; }
.cr-foot small { color: var(--pc-tx3); }
.cr-man { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-mi { border: 1px solid var(--pc-line2); background: var(--pc-bg2); color: var(--pc-tx); border-radius: 99px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.cr-warn { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: #30d15814; border: 1px solid #30d15850; color: #9ff0b8; font-size: 12.5px; margin-bottom: 6px; }
.cr-ain { font-family: var(--pc-mono); width: 100%; box-sizing: border-box; }
.cr-spin { display: inline-flex; animation: crSpin 1s linear infinite; }
@keyframes crSpin { to { transform: rotate(360deg); } }

/* ===== Fase 18 · Etapa F — Sistema (admin) ===== */
.sy { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: auto; background: var(--pc-bg); color: var(--pc-tx); }
.sy .fm-toolbar { position: sticky; top: 0; z-index: 2; }
.sy-sec { margin: 10px 12px 0; padding: 8px 10px; border-radius: 10px; background: var(--pc-bg2); border: 1px solid var(--pc-line2); display: flex; flex-direction: column; gap: 2px; }
.sy-sec:last-child { margin-bottom: 12px; }
.sy-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pc-tx3); margin-bottom: 4px; }
.sy-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 3px 0; }
.sy-row small { color: var(--pc-tx3); margin-left: auto; text-align: right; }
.sy-i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sy-row.ok .sy-i { background: #30d15822; color: #30d158; }
.sy-row.bad .sy-i { background: #ff6b6b22; color: #ff6b6b; }
.sy-row.bad small { color: #ffb3b3; }
.sy-row.wait .sy-i { background: #ffffff10; color: var(--pc-tx3); }
.sy-file { display: flex; gap: 10px; align-items: center; font-size: 12px; padding: 2px 0; }
.sy-file code { font-family: var(--pc-mono); min-width: 200px; }
.sy-file small { color: var(--pc-tx3); }
.sy-err { display: grid; grid-template-columns: 130px 1fr; column-gap: 10px; padding: 4px 0; border-bottom: 1px solid #23262d; font-size: 12px; }
.sy-err code { font-family: var(--pc-mono); color: #ffb3b3; word-break: break-word; }
.sy-err small:last-child { grid-column: 2; color: var(--pc-tx3); }
/* Fase 19: site aberto dentro do Navegador do PC */
.br-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.br-info { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #11140f; border-bottom: 1px solid #2a2e37; font-size: 12px; color: #a9b8b0; }
.br-info-l { display: grid; color: #39ff88; flex: none; }
.br-info-t { flex: 1; min-width: 0; line-height: 1.3; }
.br-info-b { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid #3a404c; background: #1d2026; color: #e6e9ef; font-weight: 600; font-size: 12px; cursor: pointer; }
.br-info-b:hover { background: #252932; }
.br-info-b span { display: grid; }
.br-host { position: relative; flex: 1; min-height: 0; background: #fff; }
.br-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.br-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: #16181d; color: #a9b8b0; font-weight: 600; font-size: 13px; }
.br-loading i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #2a2e37; border-top-color: #39ff88; animation: brSpin .8s linear infinite; }
@keyframes brSpin { to { transform: rotate(360deg); } }
.br-bar .fm-tb:disabled { opacity: .35; cursor: default; }
