/* Venti Experience — notebook da faculdade (assets/js/ui/notebook.js): área de trabalho estilo Windows,
   janelas, barra de tarefas, menu Iniciar e os apps (VS Code, Terminal, Explorador, Bloco de Notas, Navegador). */

.os [hidden] { display: none !important; }
.os-panel { padding: 12px; background: rgba(3, 4, 8, 0.72); }
.os {
  --os-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --os-mono: "Cascadia Code", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  --os-accent: #4cc2ff;
  --os-accent-2: #0067c0;
  width: min(1240px, 100%);
  min-width: 0;
  max-width: 100%;
  background: transparent;
  border: 0;
  overflow: visible;
  font-family: var(--os-ui);
  color: #1b1b1f;
}
.os__bezel { padding: 12px 14px 14px; background: linear-gradient(#202329, #15171c); border: 1px solid #333843; border-radius: 16px 16px 6px 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.os__cam { width: 6px; height: 6px; margin: -4px auto 7px; border-radius: 50%; background: #1d2129; box-shadow: inset 0 0 0 1px #3a414f, 0 0 0 2px #15171c; }
.os__base { height: 14px; margin: 0 -26px; background: linear-gradient(#3a3f49, #22252c 60%, #15171b); border-radius: 0 0 18px 18px; position: relative; }
.os__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #1a1d22; }

.os__screen {
  position: relative; display: flex; flex-direction: column; overflow: hidden; outline: none;
  height: min(700px, calc(100vh - 100px)); height: min(700px, calc(100dvh - 100px));
  border-radius: 4px; background: #0b1530;
}
.os__screen.is-wake { animation: os-wake 0.35s ease-out; }
@keyframes os-wake { from { filter: brightness(0.2); } to { filter: none; } }
.os__desk { position: relative; flex: 1; min-height: 0; overflow: hidden; background-size: cover; }
.os-wall-0 {
  background:
    radial-gradient(60% 75% at 62% 58%, rgba(255, 214, 120, 0.55) 0%, rgba(255, 170, 60, 0.18) 32%, transparent 60%),
    radial-gradient(55% 60% at 38% 42%, rgba(80, 160, 255, 0.85) 0%, rgba(30, 90, 210, 0.45) 38%, transparent 70%),
    radial-gradient(80% 90% at 50% 100%, #0e2a6b 0%, transparent 70%),
    linear-gradient(160deg, #0a1a44 0%, #102c72 45%, #0b1636 100%);
}
.os-wall-1 {
  background:
    radial-gradient(70% 70% at 30% 30%, rgba(255, 196, 92, 0.65), transparent 60%),
    radial-gradient(70% 70% at 80% 75%, rgba(232, 108, 52, 0.55), transparent 62%),
    linear-gradient(135deg, #2b1a0c, #5a3412 50%, #1c120a);
}
.os-wall-2 {
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(120, 230, 200, 0.45), transparent 65%),
    radial-gradient(90% 80% at 10% 90%, rgba(40, 120, 180, 0.7), transparent 60%),
    linear-gradient(200deg, #04252a, #0b3d48 55%, #031418);
}

/* ícones da área de trabalho */
.os__icons { position: absolute; inset: 8px auto 8px 8px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 86px); grid-auto-columns: 82px; gap: 2px; align-content: start; }
.os-ico { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 4px; border: 1px solid transparent; border-radius: 4px; background: none; color: #fff; font: 12px/1.2 var(--os-ui); cursor: default; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); }
.os-ico:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.16); }
.os-ico.is-sel, .os-ico:focus-visible { background: rgba(120, 180, 255, 0.32); border-color: rgba(160, 210, 255, 0.55); outline: none; }
.os-ico__img { display: grid; place-items: center; width: 42px; height: 42px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.os-ico__img svg { width: 40px; height: 40px; }
.os-ico__img--file .fi { width: 30px; height: 36px; font-size: 11px; border-radius: 3px 9px 3px 3px; background: #f4f6f9; color: #333; }
.os-ico__label { max-width: 76px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; text-align: center; }

/* janelas */
.os__wins { position: absolute; inset: 0; pointer-events: none; }
.os-win {
  position: absolute; display: flex; flex-direction: column; min-width: 0; pointer-events: auto;
  background: #f3f3f3; border: 1px solid rgba(0, 0, 0, 0.28); border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.18s ease, opacity 0.18s ease, left 0.16s ease, top 0.16s ease, width 0.16s ease, height 0.16s ease, visibility 0s;
  font-family: var(--os-ui);
}
.os-win.is-dragging { transition: none; }
.os-win.is-focused { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.os-win.is-max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; border: 0; }
.os-win.is-min { transform: translateY(60%) scale(0.55); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s 0.2s; }
.os-win.is-opening { animation: os-open 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
.os-win.is-closing { animation: os-close 0.16s ease-in forwards; pointer-events: none; }
@keyframes os-open { from { opacity: 0; transform: scale(0.94) translateY(8px); } }
@keyframes os-close { to { opacity: 0; transform: scale(0.95); } }
.os-win__bar { flex: 0 0 34px; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #ebebeb; color: #1b1b1f; font-size: 12px; user-select: none; -webkit-user-select: none; touch-action: none; }
.os-win:not(.is-focused) .os-win__bar { color: #8a8a8a; }
.os-win__ico svg { width: 16px; height: 16px; display: block; }
.os-win__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-win__title.is-hidden { display: none; }
.os-win__slot { display: contents; }
.os-win__ctl { display: flex; align-self: stretch; margin-left: auto; }
.os-win__ctl button { width: 44px; border: 0; background: none; color: inherit; display: grid; place-items: center; cursor: default; transition: background 0.1s; }
.os-win__ctl svg { width: 11px; height: 11px; }
.os-win__ctl button:hover { background: rgba(0, 0, 0, 0.07); }
.os-win__ctl button.is-close:hover { background: #c42b1c; color: #fff; }
.os-win__body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.os-win__grip { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; cursor: nwse-resize; touch-action: none; z-index: 3; }
.os-win.is-max .os-win__grip { display: none; }
.os-win--dark { background: #1f1f1f; border-color: #000; }
.os-win--dark .os-win__bar { background: #1f1f1f; color: #ccc; border-bottom: 1px solid #2b2b2b; }
.os-win--dark:not(.is-focused) .os-win__bar { color: #777; }
.os-win--dark .os-win__ctl button:hover { background: rgba(255, 255, 255, 0.1); }
.os-win--dark .os-win__body { background: #1f1f1f; color: #ccc; }
.os-snap { position: absolute; inset: 6px; border-radius: 8px; background: rgba(140, 200, 255, 0.18); border: 1px solid rgba(160, 210, 255, 0.6); pointer-events: none; z-index: 5; }

/* diálogo dentro de janela */
.os-dlg { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(0, 0, 0, 0.32); animation: os-fade 0.12s ease-out; }
@keyframes os-fade { from { opacity: 0; } }
.os-dlg__box { width: min(400px, calc(100% - 24px)); padding: 18px 18px 14px; border-radius: 8px; background: #f9f9f9; color: #1b1b1f; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); font-size: 13px; }
.os-dlg__box b { font-size: 15px; font-weight: 600; }
.os-dlg__box p { margin: 8px 0 16px; line-height: 1.45; color: #333; }
.os-dlg__btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.os-btn { padding: 6px 14px; border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 4px; background: #fdfdfd; color: #1b1b1f; font: 13px var(--os-ui); cursor: pointer; }
.os-btn:hover:not(:disabled) { background: #f2f2f2; }
.os-btn.is-primary { background: var(--os-accent-2); border-color: #005ba7; color: #fff; }
.os-btn.is-primary:hover:not(:disabled) { background: #1975c5; }
.os-btn:disabled { opacity: 0.5; cursor: default; }
.os-btn:focus-visible, .os-ctx__item:focus-visible, .os-task:focus-visible { outline: 2px solid var(--os-accent); outline-offset: 1px; }
.os-link { border: 0; background: none; padding: 0; color: #0067c0; text-decoration: underline; cursor: pointer; font: inherit; }

/* menu de contexto / menus */
.os-ctx { position: absolute; z-index: 9000; min-width: 210px; padding: 4px; border-radius: 8px; background: rgba(249, 249, 249, 0.97); border: 1px solid rgba(0, 0, 0, 0.14); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); backdrop-filter: blur(20px); animation: os-pop 0.12s ease-out; }
@keyframes os-pop { from { opacity: 0; transform: translateY(-4px); } }
.os-ctx__item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 6px 10px; border: 0; border-radius: 4px; background: none; color: #1b1b1f; font: 13px var(--os-ui); text-align: left; cursor: default; }
.os-ctx__item:hover:not(:disabled), .os-ctx__item:focus-visible { background: rgba(0, 0, 0, 0.06); }
.os-ctx__item:disabled { color: #a0a0a0; }
.os-ctx__item kbd { color: #777; font: 11px var(--os-ui); background: none; border: 0; padding: 0; }
.os-ctx__sep { height: 1px; margin: 4px 6px; background: rgba(0, 0, 0, 0.1); }

/* avisos */
.os-toasts { position: absolute; right: 12px; bottom: 12px; z-index: 8000; display: grid; gap: 8px; pointer-events: none; }
.os-toast { display: flex; gap: 10px; align-items: center; width: 290px; padding: 12px 14px; border-radius: 8px; background: rgba(243, 243, 243, 0.97); color: #1b1b1f; font-size: 13px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); animation: os-slide 0.24s ease-out; transition: opacity 0.3s, transform 0.3s; }
.os-toast b { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--os-accent-2); color: #fff; font-size: 12px; }
.os-toast.is-ok b { background: #0f7b0f; }
.os-toast.is-err b { background: #c42b1c; }
.os-toast.is-out { opacity: 0; transform: translateX(20px); }
@keyframes os-slide { from { opacity: 0; transform: translateX(30px); } }

/* boot */
.os-boot { position: absolute; inset: 0; z-index: 9500; display: grid; place-content: center; justify-items: center; gap: 26px; background: #000; color: #9aa; transition: opacity 0.25s; }
.os-boot.is-out { opacity: 0; }
.os-boot__logo svg { width: 76px; height: 76px; }
.os-boot__spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; animation: os-spin 0.8s linear infinite; }
.os-boot small { font: 12px var(--os-ui); letter-spacing: 0.08em; }
@keyframes os-spin { to { transform: rotate(360deg); } }

/* barra de tarefas */
.os-bar { position: relative; z-index: 8500; flex: 0 0 48px; display: flex; align-items: center; justify-content: center; padding: 0 6px; background: rgba(32, 34, 40, 0.86); border-top: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(24px); color: #fff; }
.os-bar__center { display: flex; align-items: center; gap: 4px; min-width: 0; }
.os-bar__btn, .os-task { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 4px; background: none; color: #fff; cursor: default; position: relative; transition: background 0.12s; }
.os-bar__btn:hover, .os-task:hover, .os-bar__btn.is-active { background: rgba(255, 255, 255, 0.1); }
.os-bar__btn:active svg, .os-task:active svg { transform: scale(0.86); }
.os-bar__btn svg, .os-task svg { width: 24px; height: 24px; transition: transform 0.1s; }
.os-bar__tasks { display: flex; gap: 4px; }
.os-task.is-running::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; border-radius: 2px; transform: translateX(-50%); background: #9aa3ad; transition: width 0.15s, background 0.15s; }
.os-task.is-active { background: rgba(255, 255, 255, 0.1); }
.os-task.is-active::after { width: 16px; background: var(--os-accent); }
.os-bar__search { display: flex; align-items: center; gap: 8px; height: 32px; width: 170px; padding: 0 12px; margin: 0 4px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; background: rgba(255, 255, 255, 0.08); color: #c8c8c8; font: 13px var(--os-ui); cursor: text; }
.os-bar__search svg { width: 15px; height: 15px; }
.os-bar__tray { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: 2px; }
.os-bar__sys { display: flex; gap: 8px; padding: 0 8px; height: 38px; align-items: center; border-radius: 4px; }
.os-bar__sys:hover { background: rgba(255, 255, 255, 0.08); }
.os-bar__sys svg { width: 16px; height: 16px; display: block; }
.os-bar__clock { display: grid; justify-items: end; padding: 0 8px; font-size: 12px; line-height: 1.35; }
.os-bar__clock small { font-size: 12px; }
.os-bar__power { width: 34px; height: 34px; color: #ffb4a8; }
.os-bar__power svg { width: 17px; height: 17px; }
.os-bar__power:hover { background: rgba(196, 43, 28, 0.6); color: #fff; }
.os-bar__peek { align-self: stretch; width: 8px; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.18); background: none; margin-left: 4px; }
.os-bar__peek:hover { background: rgba(255, 255, 255, 0.1); }

/* menu Iniciar */
.os-start { position: absolute; z-index: 8600; left: 50%; bottom: 10px; width: min(560px, calc(100% - 16px)); max-height: calc(100% - 20px); overflow: auto; transform: translateX(-50%); padding: 20px 26px 0; border-radius: 10px; background: rgba(36, 38, 45, 0.94); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(30px); animation: os-rise 0.2s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes os-rise { from { opacity: 0; transform: translate(-50%, 24px); } }
.os-start__search { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 2px solid var(--os-accent); }
.os-start__search svg { width: 15px; height: 15px; color: #bbb; }
.os-start__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: 13px var(--os-ui); }
.os-start__sec { margin: 18px 6px 8px; font-size: 13px; font-weight: 600; }
.os-start__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; }
.os-start__app { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 4px; background: none; color: #fff; font: 12px var(--os-ui); cursor: default; }
.os-start__app svg { width: 32px; height: 32px; }
.os-start__app:hover, .os-start__file:hover { background: rgba(255, 255, 255, 0.08); }
.os-start__rec { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.os-start__file { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 4px; background: none; color: #fff; text-align: left; font: 12px var(--os-ui); min-width: 0; cursor: default; }
.os-start__file span { display: grid; min-width: 0; }
.os-start__file b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-start__file small { color: #aaa; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-start__none { grid-column: 1 / -1; color: #aaa; font-size: 13px; }
.os-start__foot { display: flex; align-items: center; justify-content: space-between; margin: 18px -26px 0; padding: 12px 40px; background: rgba(0, 0, 0, 0.22); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.os-start__user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.os-start__user i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #e0a526, #b0661a); font-style: normal; font-weight: 600; }
.os-start__power { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 4px; background: none; color: #fff; }
.os-start__power svg { width: 17px; height: 17px; }
.os-start__power:hover { background: rgba(255, 255, 255, 0.1); }

/* ícones de arquivo (texto colorido) */
.fi { display: inline-grid; place-items: center; flex: 0 0 auto; width: 16px; height: 16px; font: 700 8.5px/1 var(--os-ui); font-style: normal; color: #9aa4b1; letter-spacing: -0.02em; }
.fi--js { color: #e6c84a; } .fi--html { color: #e8774a; } .fi--css { color: #4fa3e6; } .fi--md { color: #6ea6d8; } .fi--json { color: #d9b84a; } .fi--txt { color: #9aa4b1; }
.fi--dir { width: 16px; height: 12px; border-radius: 2px; background: #c09553; }
.fx .fi, .os-start .fi { width: 18px; height: 18px; font-size: 9px; border-radius: 3px; background: #eef1f5; }
.os-start .fi { background: rgba(255, 255, 255, 0.1); }

/* ---------- Terminal ---------- */
.os-term { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px; background: #0c0c0c; color: #cccccc; font: 13px/1.45 var(--os-mono); cursor: text; }
.os-term__l { white-space: pre-wrap; word-break: break-word; }
.os-term__l.is-cmd { color: #f2f2f2; }
.os-term__l.is-err { color: #f48771; }
.os-term__l.is-warn { color: #e5c07b; }
.os-term__l.is-ok { color: #89d185; }
.os-term__l.is-dim { color: #8a8f98; }
.os-term__l.is-dir { color: #61afef; }
.os-term__line { display: flex; gap: 8px; align-items: baseline; margin: 0; }
.os-term__ps { flex: 0 0 auto; color: #f2f2f2; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.os-term__in { flex: 1; min-width: 40px; border: 0; outline: 0; padding: 0; background: none; color: #fff; font: inherit; caret-color: #fff; }
.os-termapp { background: #0c0c0c; }
.os-termapp__tabs { display: flex; padding: 6px 8px 0; background: #1f1f1f; }
.os-termapp__tabs span { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 6px 6px 0 0; background: #0c0c0c; color: #ddd; font-size: 12px; }
.os-termapp__tabs svg { width: 14px; height: 14px; }

/* ---------- VS Code ---------- */
.vsc {
  --vs-bg: #1f1f1f; --vs-side: #181818; --vs-act: #181818; --vs-ed: #1f1f1f; --vs-line: #2b2b2b; --vs-fg: #cccccc; --vs-dim: #9d9d9d;
  --vs-accent: #0078d4; --vs-sel: #04395e; --vs-tab: #181818; --vs-status: #181818; --vs-st-fg: #cccccc;
  position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--vs-bg); color: var(--vs-fg); font: 13px var(--os-ui);
}
.vsc--gold { --vs-bg: #1c1a16; --vs-side: #17150f; --vs-act: #13110c; --vs-ed: #1c1a16; --vs-line: #2f2a1f; --vs-accent: #d9a21b; --vs-sel: #4a3a12; --vs-tab: #17150f; --vs-status: #3d2e0a; --vs-st-fg: #f3dc9b; }
.vsc__menus { display: flex; align-items: center; margin-left: 2px; }
.vsc__menus button { padding: 4px 8px; border: 0; border-radius: 4px; background: none; color: #ccc; font: 13px var(--os-ui); cursor: default; }
.vsc__menus button:hover, .vsc__menus button.is-open { background: rgba(255, 255, 255, 0.1); }
.vsc__cc { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 0 1 320px; min-width: 120px; height: 24px; margin: 0 auto; border: 1px solid #3c3c3c; border-radius: 6px; background: #2a2a2a; color: #aaa; font: 12px var(--os-ui); cursor: pointer; }
.vsc__cc:hover { background: #313131; border-color: #4a4a4a; }
.vsc__cc svg { width: 13px; height: 13px; }
.os-win--dark .os-win__slot + .os-win__ctl { margin-left: 0; }
.vsc__main { flex: 1; min-height: 0; display: flex; }
.vsc__act { flex: 0 0 48px; display: flex; flex-direction: column; align-items: center; background: var(--vs-act); border-right: 1px solid var(--vs-line); }
.vsc__act button { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: #858585; cursor: pointer; border-left: 2px solid transparent; }
.vsc__act button:hover { color: #e0e0e0; }
.vsc__act button.is-on { color: #e0e0e0; border-left-color: var(--vs-accent); }
.vsc__act svg { width: 24px; height: 24px; }
.vsc__act-gap { flex: 1; }
.vsc__badge { position: absolute; right: 7px; bottom: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--vs-accent); color: #fff; font: 600 10px/16px var(--os-ui); font-style: normal; }
.vsc__side { flex: 0 0 250px; min-width: 0; display: flex; flex-direction: column; overflow-y: auto; background: var(--vs-side); border-right: 1px solid var(--vs-line); }
.vsc.is-noside .vsc__side { display: none; }
.vsc-side__head { display: flex; align-items: center; justify-content: space-between; height: 35px; padding: 0 8px 0 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--vs-dim); flex: 0 0 auto; }
.vsc-side__acts { display: flex; gap: 2px; }
.vsc-side__acts button { width: 22px; height: 22px; border: 0; border-radius: 4px; background: none; color: #c5c5c5; cursor: pointer; font-size: 13px; }
.vsc-side__acts button:hover { background: rgba(255, 255, 255, 0.1); }
.vsc-sec { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 12px 0 12px; font-size: 11px; color: var(--vs-fg); flex: 0 0 auto; }
.vsc-sec b { text-transform: uppercase; font-weight: 700; letter-spacing: 0.02em; }
.vsc-sec span { color: var(--vs-dim); }
.vsc-row { position: relative; display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 12px; color: var(--vs-fg); cursor: pointer; white-space: nowrap; font-size: 13px; }
.vsc-row:hover { background: rgba(255, 255, 255, 0.05); }
.vsc-row.is-active { background: var(--vs-sel); outline: 1px solid var(--vs-accent); outline-offset: -1px; }
.vsc-row:focus-visible { outline: 1px solid var(--vs-accent); outline-offset: -1px; }
.vsc-row__ind { flex: 0 0 auto; }
.vsc-chev { width: 12px; flex: 0 0 12px; font-style: normal; color: #c5c5c5; transition: transform 0.12s; text-align: center; }
.vsc-chev.is-open { transform: rotate(90deg); }
.vsc-row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vsc-row__dir { color: var(--vs-dim); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.vsc-row__st { width: 12px; text-align: right; font-size: 11px; font-weight: 700; }
.vsc-row.is-git-M .vsc-row__name, .vsc-row.is-git-M .vsc-row__st { color: #e2c08d; }
.vsc-row.is-git-U .vsc-row__name, .vsc-row.is-git-U .vsc-row__st { color: #73c991; }
.vsc-row.is-git-D .vsc-row__name, .vsc-row.is-git-D .vsc-row__st { color: #f48771; text-decoration: line-through; }
.vsc-row.is-git-dot .vsc-row__name { color: #e2c08d; }
.vsc-row__del, .vsc-row__undo, .vsc-row__x { display: none; width: 20px; height: 20px; border: 0; border-radius: 3px; background: none; color: #c5c5c5; cursor: pointer; font-size: 11px; padding: 0; }
.vsc-row:hover .vsc-row__del, .vsc-row:hover .vsc-row__undo { display: block; }
.vsc-row--open .vsc-row__x { display: block; visibility: hidden; }
.vsc-row--open:hover .vsc-row__x, .vsc-row--open.is-active .vsc-row__x { visibility: visible; }
.vsc-row__del:hover, .vsc-row__undo:hover, .vsc-row__x:hover { background: rgba(255, 255, 255, 0.12); }
.vsc-dot { width: 8px; height: 8px; border-radius: 50%; background: #c5c5c5; flex: 0 0 8px; }
.vsc-row--new input { flex: 1; min-width: 0; height: 18px; border: 1px solid var(--vs-accent); background: #313131; color: #fff; font: 13px var(--os-ui); outline: 0; padding: 0 4px; }
.vsc-open { margin-bottom: 6px; }
.vsc-search { padding: 4px 12px 8px; }
.vsc-search input { width: 100%; height: 26px; padding: 0 6px; border: 1px solid #3c3c3c; border-radius: 3px; background: #313131; color: #ddd; font: 13px var(--os-ui); outline: 0; }
.vsc-search input:focus, .vsc-scm textarea:focus { border-color: var(--vs-accent); }
.vsc-rsum { margin: 0 12px 6px; color: var(--vs-dim); font-size: 12px; }
.vsc-rfile { display: flex; align-items: center; gap: 6px; padding: 2px 12px; font-size: 13px; }
.vsc-rfile small { color: var(--vs-dim); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsc-rfile em { font-style: normal; padding: 0 6px; border-radius: 9px; background: #4d4d4d; font-size: 11px; }
.vsc-rline { display: block; width: 100%; padding: 2px 12px 2px 34px; border: 0; background: none; color: var(--vs-fg); font: 12px var(--os-mono); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.vsc-rline:hover { background: rgba(255, 255, 255, 0.05); }
.vsc-rline mark { background: rgba(234, 92, 0, 0.45); color: inherit; }
.vsc-scm { display: grid; gap: 8px; padding: 4px 12px 10px; }
.vsc-scm textarea { width: 100%; resize: vertical; padding: 6px; border: 1px solid #3c3c3c; border-radius: 3px; background: #313131; color: #ddd; font: 13px var(--os-ui); outline: 0; }
.vsc .os-btn { border-color: #3c3c3c; background: #313131; color: #ddd; }
.vsc .os-btn:hover:not(:disabled) { background: #3a3a3a; }
.vsc .os-btn.is-primary { background: var(--vs-accent); border-color: var(--vs-accent); color: #fff; }
.vsc .os-btn.is-primary:hover:not(:disabled) { filter: brightness(1.12); }
.vsc-log { padding: 0 12px 12px; font-size: 12px; color: var(--vs-dim); }
.vsc-log div { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 3px 0; color: var(--vs-fg); }
.vsc-log code { color: #e2c08d; font: 11px var(--os-mono); }
.vsc-log small { grid-column: 2; color: var(--vs-dim); }
.vsc-run { display: grid; gap: 10px; padding: 6px 14px; font-size: 13px; line-height: 1.45; }
.vsc-run p { margin: 0; color: var(--vs-fg); }
.vsc-run code, .vsc-run kbd { font: 12px var(--os-mono); background: rgba(255, 255, 255, 0.08); padding: 1px 4px; border-radius: 3px; border: 0; color: inherit; }
.vsc-ext { display: grid; grid-template-columns: 40px 1fr; gap: 4px 10px; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.vsc-ext:hover { background: rgba(255, 255, 255, 0.04); }
.vsc-ext > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: #fff; font: 700 15px var(--os-ui); font-style: normal; grid-row: span 2; }
.vsc-ext b { font-size: 13px; }
.vsc-ext p { margin: 2px 0; color: var(--vs-dim); font-size: 12px; line-height: 1.35; }
.vsc-ext small { color: var(--vs-dim); font-size: 11px; }
.vsc-ext .os-btn { grid-column: 2; justify-self: start; padding: 2px 10px; font-size: 12px; }
.vsc__empty { margin: 8px 14px; color: var(--vs-dim); font-size: 12px; line-height: 1.45; }

.vsc__ed { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--vs-ed); }
.vsc__tabsrow { display: flex; flex: 0 0 35px; background: var(--vs-tab); border-bottom: 1px solid var(--vs-line); }
.vsc__tabs { flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: thin; }
.vsc-tab { position: relative; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0 6px 0 12px; border-right: 1px solid var(--vs-line); color: #9d9d9d; cursor: pointer; font-size: 13px; white-space: nowrap; }
.vsc-tab:hover { background: rgba(255, 255, 255, 0.03); }
.vsc-tab.is-active { background: var(--vs-ed); color: #fff; box-shadow: inset 0 1px 0 var(--vs-accent); margin-bottom: -1px; }
.vsc-tab__x { width: 20px; height: 20px; border: 0; border-radius: 4px; background: none; color: inherit; visibility: hidden; cursor: pointer; font-size: 11px; padding: 0; }
.vsc-tab:hover .vsc-tab__x, .vsc-tab.is-active .vsc-tab__x { visibility: visible; }
.vsc-tab__x:hover { background: rgba(255, 255, 255, 0.12); }
.vsc-tab.is-dirty .vsc-tab__x { visibility: visible; font-size: 0; }
.vsc-tab.is-dirty .vsc-tab__x::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.vsc-tab.is-dirty .vsc-tab__x:hover { font-size: 11px; }
.vsc-tab.is-dirty .vsc-tab__x:hover::before { display: none; }
.vsc__edacts { display: flex; align-items: center; gap: 2px; padding: 0 6px; }
.vsc__edacts button { width: 26px; height: 24px; border: 0; border-radius: 4px; background: none; color: #ccc; cursor: pointer; font-size: 13px; }
.vsc__edacts button:hover { background: rgba(255, 255, 255, 0.1); }
.vsc__run { color: #89d185 !important; }
.vsc__crumbs { display: flex; align-items: center; gap: 4px; flex: 0 0 22px; padding: 0 14px; color: var(--vs-dim); font-size: 12px; white-space: nowrap; overflow: hidden; }
.vsc__crumbs i { font-style: normal; opacity: 0.7; }
.vsc__crumbs b { font-weight: 400; color: var(--vs-fg); }
.vsc__code { position: relative; flex: 1; min-height: 60px; display: flex; overflow: hidden; }
.vsc__gutter { flex: 0 0 52px; overflow: hidden; padding-top: 8px; color: #6e7681; font: 13px/20px var(--os-mono); text-align: right; user-select: none; }
.vsc__gin div { padding-right: 18px; position: relative; }
.vsc__gin div.is-cur { color: #cccccc; }
.vsc__gin div.is-err::before { content: ""; position: absolute; left: 8px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #f14c4c; }
.vsc__area { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.vsc__cur { position: absolute; left: 0; right: 0; height: 20px; border: 1px solid #282828; pointer-events: none; }
.vsc__hl, .vsc__ta { margin: 0; padding: 8px 12px 40px 4px; font: 13px/20px var(--os-mono); tab-size: 2; -moz-tab-size: 2; white-space: pre; letter-spacing: 0; word-spacing: 0; }
.vsc__hl { position: absolute; left: 0; top: 0; min-width: 100%; color: #d4d4d4; pointer-events: none; will-change: transform; }
.vsc__ta { position: absolute; inset: 0; width: 100%; height: 100%; resize: none; border: 0; outline: 0; background: transparent; color: transparent; caret-color: #aeafad; overflow: auto; overflow-wrap: normal; }
.vsc__ta::selection { background: rgba(38, 79, 120, 0.85); color: transparent; }
.t-com { color: #6a9955; font-style: italic; } .t-str { color: #ce9178; } .t-kw { color: #c586c0; } .t-lit { color: #569cd6; } .t-num { color: #b5cea8; }
.t-fn { color: #dcdcaa; } .t-obj { color: #4ec9b0; } .t-op { color: #d4d4d4; } .t-tag { color: #569cd6; } .t-attr { color: #9cdcfe; } .t-prop { color: #9cdcfe; } .t-sel { color: #d7ba7d; }
.vsc--gold .t-kw { color: #f0b429; } .vsc--gold .t-fn { color: #ffd27a; } .vsc--gold .t-str { color: #c8a36a; }
.vsc__welcome { flex: 1; overflow: auto; }
.vsc-welcome { max-width: 640px; margin: 0 auto; padding: 36px 28px; }
.vsc-welcome h2 { margin: 0; font-size: 30px; font-weight: 400; color: #e0e0e0; }
.vsc-welcome > p { margin: 4px 0 26px; color: var(--vs-dim); font-size: 16px; }
.vsc-welcome__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.vsc-welcome h3 { margin: 0 0 8px; font-size: 15px; font-weight: 400; color: #e0e0e0; }
.vsc-welcome button { display: flex; align-items: center; gap: 6px; padding: 3px 0; border: 0; background: none; color: #4daafc; font: 13px var(--os-ui); cursor: pointer; text-align: left; }
.vsc-welcome button:hover { text-decoration: underline; }
.vsc-welcome small { color: var(--vs-dim); }
.vsc-welcome kbd { font: 11px var(--os-ui); color: var(--vs-dim); background: none; border: 0; }
.vsc__sash { flex: 0 0 4px; margin-top: -2px; cursor: ns-resize; position: relative; z-index: 2; touch-action: none; }
.vsc__sash:hover { background: var(--vs-accent); }
.vsc__panel { flex: 0 0 auto; display: flex; flex-direction: column; min-height: 80px; border-top: 1px solid var(--vs-line); background: var(--vs-bg); }
.vsc__ptabs { display: flex; align-items: center; gap: 4px; flex: 0 0 34px; padding: 0 8px 0 12px; }
.vsc__ptabs > button { padding: 6px 6px 5px; border: 0; border-bottom: 1px solid transparent; background: none; color: #9d9d9d; font: 11px var(--os-ui); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; }
.vsc__ptabs > button:hover { color: #e0e0e0; }
.vsc__ptabs > button.is-on { color: #e7e7e7; border-bottom-color: var(--vs-accent); }
.vsc__pcount { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #4d4d4d; color: #fff; font: 10px/16px var(--os-ui); text-align: center; font-style: normal; }
.vsc__pcount.is-bad { background: #c72e2e; }
.vsc__pacts { margin-left: auto; display: flex; gap: 2px; }
.vsc__pacts button { width: 24px; height: 22px; border: 0; border-radius: 4px; background: none; color: #ccc; cursor: pointer; }
.vsc__pacts button:hover { background: rgba(255, 255, 255, 0.1); }
.vsc__pbody { flex: 1; min-height: 0; display: flex; }
.vsc__pbody > div { flex: 1; min-width: 0; overflow: auto; }
.vsc__pbody > div[hidden] { display: none; }
.vsc__term { display: flex; flex-direction: column; }
.vsc__term .os-term { background: var(--vs-bg); padding: 4px 16px; }
.vsc__output { padding: 4px 16px; font: 12px/1.5 var(--os-mono); color: #bbb; white-space: pre-wrap; }
.vsc-prob { display: grid; grid-template-columns: 18px 1fr auto; gap: 6px; align-items: center; width: 100%; padding: 3px 16px; border: 0; background: none; color: var(--vs-fg); font: 13px var(--os-ui); text-align: left; cursor: pointer; }
.vsc-prob:hover { background: rgba(255, 255, 255, 0.05); }
.vsc-prob i { color: #f14c4c; font-style: normal; }
.vsc-prob small { color: var(--vs-dim); }
.vsc__status { display: flex; justify-content: space-between; flex: 0 0 22px; background: var(--vs-status); border-top: 1px solid var(--vs-line); color: var(--vs-st-fg); font-size: 12px; white-space: nowrap; overflow: hidden; }
.vsc__status span { display: flex; align-items: center; }
.vsc__st-l button, .vsc__st-r span { display: flex; align-items: center; height: 22px; padding: 0 8px; border: 0; background: none; color: inherit; font: 12px var(--os-ui); cursor: default; }
.vsc__st-l button { cursor: pointer; }
.vsc__st-l button:first-child { background: var(--vs-accent); color: #fff; }
.vsc__st-l button:hover, .vsc__st-r span:hover { background: rgba(255, 255, 255, 0.12); }
.vsc__palette { position: absolute; top: 6px; left: 50%; z-index: 30; width: min(560px, calc(100% - 24px)); transform: translateX(-50%); padding: 6px; border-radius: 8px; background: #222; border: 1px solid #3c3c3c; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); animation: os-pop 0.12s ease-out; }
.vsc__palette input { width: 100%; height: 28px; padding: 0 8px; border: 1px solid var(--vs-accent); border-radius: 4px; background: #313131; color: #eee; font: 13px var(--os-ui); outline: 0; }
.vsc__plist { max-height: 300px; overflow-y: auto; margin-top: 4px; }
.vsc-pitem { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 8px; border: 0; border-radius: 4px; background: none; color: #ccc; font: 13px var(--os-ui); text-align: left; cursor: pointer; }
.vsc-pitem small { color: var(--vs-dim); font-size: 12px; }
.vsc-pitem kbd { margin-left: auto; color: #aaa; font: 11px var(--os-ui); background: rgba(255, 255, 255, 0.08); border: 0; padding: 1px 5px; border-radius: 3px; }
.vsc-pitem:hover { background: rgba(255, 255, 255, 0.06); }
.vsc-pitem.is-sel { background: var(--vs-sel); color: #fff; }
.vsc:not(.vsc--icons) .vsc__side .fi:not(.fi--dir) { color: #9aa4b1; }
.vsc .fi--dir { background: none; width: 0; margin-left: -5px; }
.vsc--icons .fi--dir { width: 15px; height: 11px; margin-left: 0; background: #c09553; border-radius: 2px; }

/* ---------- Explorador de Arquivos / Lixeira ---------- */
.fx { background: #fafafa; color: #1b1b1f; font-size: 13px; }
.fx__bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #f3f3f3; border-bottom: 1px solid #e5e5e5; }
.fx__bar > button, .fx__cmd button { height: 30px; min-width: 30px; padding: 0 8px; border: 0; border-radius: 4px; background: none; color: #1b1b1f; font: 13px var(--os-ui); cursor: default; }
.fx__bar > button:hover:not(:disabled), .fx__cmd button:hover:not(:disabled) { background: rgba(0, 0, 0, 0.06); }
.fx__bar > button:disabled, .fx__cmd button:disabled { color: #b0b0b0; }
.fx__addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 8px; border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; overflow: hidden; white-space: nowrap; }
.fx__addr svg { width: 16px; height: 16px; flex: 0 0 16px; margin-right: 4px; }
.fx__addr button { padding: 2px 4px; border: 0; border-radius: 3px; background: none; font: 13px var(--os-ui); color: #1b1b1f; cursor: default; }
.fx__addr button:hover { background: rgba(0, 0, 0, 0.06); }
.fx__addr i { font-style: normal; color: #888; }
.fx__find { display: flex; align-items: center; gap: 6px; width: 180px; height: 30px; padding: 0 8px; border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; }
.fx__find svg { width: 13px; height: 13px; color: #777; }
.fx__find input { flex: 1; min-width: 0; border: 0; outline: 0; font: 13px var(--os-ui); background: none; }
.fx__cmd { display: flex; gap: 4px; padding: 4px 8px; background: #f9f9f9; border-bottom: 1px solid #e5e5e5; flex-wrap: wrap; }
.fx__main { flex: 1; min-height: 0; display: flex; }
.fx__nav { flex: 0 0 170px; display: flex; flex-direction: column; gap: 1px; padding: 6px; overflow-y: auto; border-right: 1px solid #e8e8e8; background: #f6f6f6; }
.fx__nav button { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border: 0; border-radius: 4px; background: none; font: 13px var(--os-ui); color: #1b1b1f; text-align: left; cursor: default; white-space: nowrap; overflow: hidden; }
.fx__nav button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.fx__nav button:hover { background: rgba(0, 0, 0, 0.05); }
.fx__nav button.is-on { background: rgba(0, 103, 192, 0.12); }
.fx__list { flex: 1; min-width: 0; overflow: auto; padding: 4px 8px; outline: none; }
.fx__row { display: grid; grid-template-columns: minmax(160px, 2fr) minmax(110px, 1.2fr) 90px; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 4px; cursor: default; border: 1px solid transparent; }
.fx__row:not(.fx__row--head):hover { background: rgba(0, 103, 192, 0.06); }
.fx__row.is-sel { background: rgba(0, 103, 192, 0.14); border-color: rgba(0, 103, 192, 0.3); }
.fx__row--head { height: 28px; color: #666; font-size: 12px; border-bottom: 1px solid #ececec; border-radius: 0; }
.fx__row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx__row > span:nth-child(2), .fx__row > span:nth-child(3) { color: #666; font-size: 12px; }
.fx__name { display: flex; align-items: center; gap: 8px; }
.fx__name svg { width: 18px; height: 18px; flex: 0 0 18px; }
.fx__name b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.fx__name input { flex: 1; min-width: 0; height: 22px; padding: 0 4px; border: 1px solid #0067c0; font: 13px var(--os-ui); outline: 0; }
.fx__empty { margin: 24px; color: #777; text-align: center; }
.fx__st { flex: 0 0 24px; display: flex; align-items: center; padding: 0 12px; border-top: 1px solid #ececec; color: #555; font-size: 12px; background: #f6f6f6; }
.fx--trash .fx__list { flex: 1; }
.fx--trash .fx__row { grid-template-columns: minmax(150px, 1.4fr) minmax(150px, 2fr) 100px; }
.fx--trash .os-btn { padding: 2px 10px; font-size: 12px; }

/* ---------- Bloco de Notas ---------- */
.np { background: #fff; }
.np__menu { display: flex; gap: 2px; padding: 3px 6px; background: #f9f9f9; border-bottom: 1px solid #ececec; }
.np__menu button { padding: 4px 10px; border: 0; border-radius: 4px; background: none; font: 13px var(--os-ui); color: #1b1b1f; cursor: default; }
.np__menu button:hover, .np__menu button.is-open { background: rgba(0, 0, 0, 0.06); }
.np__ta { flex: 1; min-height: 0; width: 100%; padding: 10px 14px; border: 0; outline: 0; resize: none; background: #fff; color: #1b1b1f; font: 14px/1.5 var(--os-mono); overflow: auto; }
.np__st { display: flex; flex: 0 0 26px; align-items: center; border-top: 1px solid #ececec; background: #f9f9f9; color: #555; font-size: 12px; white-space: nowrap; overflow: hidden; }
.np__st span { padding: 0 12px; border-left: 1px solid #e2e2e2; }
.np__st span:first-child { flex: 1; border-left: 0; }

/* ---------- Navegador ---------- */
.web { background: #fff; }
.web__bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #f3f3f3; border-bottom: 1px solid #e2e2e2; }
.web__bar > button { width: 32px; height: 30px; border: 0; border-radius: 4px; background: none; color: #1b1b1f; font-size: 15px; cursor: default; }
.web__bar > button:hover:not(:disabled) { background: rgba(0, 0, 0, 0.07); }
.web__bar > button:disabled { color: #bbb; }
.web__addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; border: 1px solid #ddd; margin: 0; }
.web__addr:focus-within { border-color: #0067c0; box-shadow: 0 0 0 1px #0067c0; }
.web__lock { font-size: 11px; }
.web__addr input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 13px var(--os-ui); color: #1b1b1f; }
.web__page { position: relative; flex: 1; min-height: 0; overflow: auto; color: #1b1b1f; transition: opacity 0.12s; }
.web__page.is-reload { opacity: 0.3; }
.web__frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.web__home { display: grid; place-items: center; background: linear-gradient(160deg, #e8f1fb, #fdf6e8); }
.web-home { display: grid; justify-items: center; gap: 20px; width: min(520px, 90%); }
.web-home__logo svg { width: 60px; height: 60px; }
.web-home__q { width: 100%; margin: 0; }
.web-home__q input { width: 100%; height: 42px; padding: 0 18px; border-radius: 21px; border: 1px solid #d5d5d5; font: 14px var(--os-ui); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); outline: 0; }
.web-home__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.web-home__tiles button { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.7); font: 12px var(--os-ui); color: #333; cursor: pointer; }
.web-home__tiles button:hover { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.web-home__tiles i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1b3f74; color: #ffd36b; font: 700 11px var(--os-ui); font-style: normal; }
.web-portal { max-width: 860px; margin: 0 auto; padding: 0 0 24px; font-size: 14px; }
.web-portal header { display: grid; gap: 2px; padding: 22px 24px; background: linear-gradient(120deg, #13294f, #1f4a8a 60%, #c48a1f); color: #fff; }
.web-portal header b { font-size: 20px; }
.web-portal header span { opacity: 0.85; font-size: 13px; }
.web-portal h3 { margin: 18px 24px 8px; font-size: 15px; }
.web-portal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; padding: 16px 24px 0; }
.web-portal__grid section { padding: 12px 14px; border-radius: 8px; background: #f5f7fb; border: 1px solid #e3e8f1; }
.web-portal__grid h3 { margin: 0 0 4px; font-size: 12px; color: #1f4a8a; text-transform: uppercase; letter-spacing: 0.04em; }
.web-portal__grid p { margin: 0 0 4px; }
.web-portal__grid small { color: #667; }
.web-portal ul { margin: 0 24px; padding-left: 18px; line-height: 1.7; }
.web-portal table { margin: 0 24px; border-collapse: collapse; width: calc(100% - 48px); font-size: 13px; }
.web-portal th, .web-portal td { padding: 6px 8px; border-bottom: 1px solid #e6e6e6; text-align: left; }
.web-portal th { color: #555; font-weight: 600; }
.web-err { max-width: 540px; margin: 60px auto; padding: 0 24px; color: #333; font-size: 14px; line-height: 1.5; }
.web-err h2 { font-size: 22px; font-weight: 500; }
.web-err__ico { font-size: 44px; color: #888; }

/* ---------- telas pequenas: o notebook vira a tela inteira e as janelas ficam maximizadas ---------- */
@media (max-width: 760px) {
  .os-panel { padding: 0; }
  .os { width: 100%; height: 100%; max-height: none; }
  .os__bezel { height: 100%; padding: 0; border: 0; border-radius: 0; }
  .os__cam, .os__base { display: none; }
  .os__screen { height: 100vh; height: 100dvh; border-radius: 0; }
  .os-win__ctl button { width: 40px; }
  .os-win__ctl [data-w="max"] { display: none; }
  .os-bar { justify-content: flex-start; padding-right: 150px; }
  .os-bar__search { display: none; }
  .os-bar__sys { display: none; }
  .os-bar__tasks { overflow-x: auto; }
  .os-bar__btn, .os-task { width: 38px; height: 40px; }
  .os__icons { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, 80px); grid-template-rows: none; inset: 8px; }
  .vsc__menus, .vsc__cc { display: none; }
  .vsc__act { flex-basis: 40px; }
  .vsc__act button { width: 40px; height: 42px; }
  .vsc__main { position: relative; }
  .vsc__side { position: absolute; left: 40px; top: 0; bottom: 0; z-index: 12; width: min(270px, calc(100% - 56px)); box-shadow: 8px 0 24px rgba(0, 0, 0, 0.5); }
  .os-win__bar { flex-basis: 52px; padding-right: 128px; }
  .vsc__ptabs { overflow-x: auto; white-space: nowrap; }
  .vsc__gutter { flex-basis: 36px; }
  .vsc__gin div { padding-right: 8px; }
  .fx__nav { display: none; }
  .fx__find { width: 110px; }
  .fx__row { grid-template-columns: minmax(120px, 1fr) 70px; }
  .fx__row > span:nth-child(2) { display: none; }
  .os-start__rec { grid-template-columns: 1fr; }
  .web-home__tiles { grid-template-columns: repeat(2, 1fr); }
  .vsc__hl, .vsc__ta, .os-term__in { font-size: 16px; }
  .os-term { font-size: 13px; }
  .vsc__hl, .vsc__ta { line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .os-win, .os-win.is-min, .os-start, .os-ctx, .os-toast { animation: none !important; transition: none !important; }
}
