/* ==========================================================
   Works - Byte Core | Folha de estilo principal
   Identidade: fundo claro, detalhes alaranjados, texto grafite
   ========================================================== */

:root {
    --accent: #ff7a18;
    --accent-soft: rgba(255, 122, 24, .12);
    --accent-dark: #e0620a;
    --bg: #faf8f5;
    --bg-panel: #ffffff;
    --bg-soft: #f3efe9;
    --bg-dock: rgba(255, 255, 255, .86);
    --text: rgba(63, 63, 64, 1);
    --text-soft: #8a8780;
    --line: #ece7e1;
    --footer: #f6f3ef;
    --ok: #16794a;
    --warn: #a05a00;
    --danger: #b42318;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
    --shadow: 0 10px 34px rgba(0, 0, 0, .09);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, .18);
    --radius: 14px;
    --radius-lg: 20px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
    --bg: #15161a;
    --bg-panel: #1d1f24;
    --bg-soft: #26282e;
    --bg-dock: rgba(29, 31, 36, .9);
    --text: #e8e6e3;
    --text-soft: #9a9790;
    --line: #2e3137;
    --footer: #1a1c20;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
    --shadow: 0 10px 34px rgba(0, 0, 0, .45);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0; height: 100%;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- componentes base ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); background: var(--bg-panel); color: var(--text);
    padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500;
    cursor: pointer; transition: .15s; font-family: var(--font); text-decoration: none;
}
.btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft); border-color: transparent; color: var(--text); }
.btn-danger { color: var(--danger); border-color: #f3d3d0; }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { padding: 6px 11px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.input, .select, .textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg-panel); color: var(--text); font-size: 14px; font-family: var(--font);
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-soft); font-weight: 500; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1 1 180px; }

.brand-mark {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), #ffb168);
    color: #fff; font-weight: 700; font-size: 20px; box-shadow: var(--shadow-sm);
}

.tag { font-size: 11px; padding: 3px 9px; border-radius: 99px; background: var(--bg-soft); color: var(--text-soft); font-weight: 600; }
.tag.ok { background: #e8f7ee; color: var(--ok); }
.tag.warn { background: #fff5e8; color: var(--warn); }
.tag.danger { background: #fdecec; color: var(--danger); }
.tag.accent { background: var(--accent-soft); color: var(--accent-dark); }

.empty { text-align: center; padding: 42px 20px; color: var(--text-soft); font-size: 14px; }
.empty .big { font-size: 34px; display: block; margin-bottom: 10px; opacity: .75; }

/* ---------- login ---------- */
.login-wrap { min-height: 100%; display: grid; grid-template-columns: 1.1fr .9fr; }
.login-hero {
    background: linear-gradient(150deg, #fff 0%, #fff7ef 60%, #ffe9d4 100%);
    padding: 56px 52px; display: flex; flex-direction: column; justify-content: space-between;
}
.login-hero h1 { font-size: 40px; margin: 22px 0 10px; line-height: 1.1; }
.login-hero p { color: var(--text-soft); font-size: 16px; max-width: 420px; line-height: 1.65; }
.login-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; max-width: 460px; }
.login-features div {
    background: rgba(255, 255, 255, .78); border: 1px solid #f2e3d2; border-radius: 12px;
    padding: 13px 15px; font-size: 13px;
}
.login-features b { display: block; font-size: 14px; margin-bottom: 3px; }
.login-side { display: grid; place-items: center; padding: 40px 32px; background: var(--bg-panel); }
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-size: 22px; margin: 0 0 6px; }
.login-card .sub { color: var(--text-soft); font-size: 14px; margin: 0 0 26px; }
.login-msg { font-size: 13px; padding: 11px 13px; border-radius: 10px; margin-bottom: 14px; display: none; }
.login-msg.err { background: #fdecec; color: var(--danger); display: block; }
.login-msg.ok { background: #e8f7ee; color: var(--ok); display: block; }
.login-foot { margin-top: 26px; font-size: 12px; color: var(--text-soft); text-align: center; }
@media (max-width: 900px) {
    .login-wrap { grid-template-columns: 1fr; }
    .login-hero { padding: 36px 24px; }
    .login-hero h1 { font-size: 30px; }
    .login-features { grid-template-columns: 1fr; }
}

/* ---------- barra superior ---------- */
.topbar {
    height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 16px;
    background: var(--bg-panel); border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 400;
}
.topbar .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.topbar .logo .brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 15px; }
.topbar .spacer { flex: 1; }
.topbar .search {
    display: flex; align-items: center; gap: 8px; background: var(--bg-soft);
    border-radius: 10px; padding: 7px 12px; min-width: 240px; max-width: 420px; flex: 1;
}
.topbar .search input { border: none; background: transparent; outline: none; color: var(--text); font-size: 14px; width: 100%; font-family: var(--font); }
.topbar .icon-btn {
    width: 36px; height: 36px; border-radius: 10px; border: none; background: transparent;
    cursor: pointer; font-size: 17px; color: var(--text-soft); display: grid; place-items: center;
}
.topbar .icon-btn:hover { background: var(--bg-soft); color: var(--accent); }
.avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
    display: grid; place-items: center; font-weight: 600; font-size: 14px; cursor: pointer; border: none;
}
.menu {
    position: absolute; top: 52px; right: 14px; background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow); min-width: 220px; padding: 8px; display: none; z-index: 500;
}
.menu.open { display: block; }
.menu button, .menu a {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border: none;
    background: transparent; color: var(--text); font-size: 14px; border-radius: 9px; cursor: pointer;
    text-align: left; font-family: var(--font); text-decoration: none;
}
.menu button:hover, .menu a:hover { background: var(--bg-soft); text-decoration: none; }
.menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.menu .who { padding: 8px 11px 12px; }
.menu .who b { display: block; font-size: 14px; }
.menu .who span { font-size: 12px; color: var(--text-soft); }

/* ---------- area de trabalho ---------- */
.desk {
    position: relative; min-height: calc(100vh - 56px - 108px);
    padding: 20px 20px 120px;
    background:
        radial-gradient(1200px 520px at 12% -5%, rgba(255, 122, 24, .09), transparent 60%),
        var(--bg);
}
.desk-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.desk-head h1 { font-size: 23px; margin: 0; }
.desk-head p { margin: 0; color: var(--text-soft); font-size: 14px; }

.grid { display: grid; gap: 16px; }
.grid-gadgets { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.card {
    background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 18px; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 12px; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-soft); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h3 { margin: 0; }

/* atalhos de apps */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.app-tile {
    background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 15px 10px; text-align: center; cursor: pointer; transition: .16s;
    display: flex; flex-direction: column; align-items: center; gap: 9px; font-family: var(--font);
    color: var(--text); font-size: 12.5px; font-weight: 500;
}
.app-tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.app-tile .ico { font-size: 25px; line-height: 1; }

/* gadgets */
.gadget .big-temp { font-size: 42px; font-weight: 300; line-height: 1; }
.gadget .muted { color: var(--text-soft); font-size: 13px; }
.forecast { display: flex; gap: 6px; margin-top: 14px; }
.forecast div { flex: 1; text-align: center; font-size: 11px; color: var(--text-soft); }
.forecast div b { display: block; color: var(--text); font-size: 13px; }
.forecast .ic { font-size: 17px; }

.quote-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.quote-row:last-child { border-bottom: none; }
.quote-row .sym { font-weight: 600; }
.quote-row .nm { font-size: 11px; color: var(--text-soft); display: block; }
.quote-row .val { text-align: right; }
.up { color: var(--ok); font-size: 12px; font-weight: 600; }
.down { color: var(--danger); font-size: 12px; font-weight: 600; }

.news-item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: none; }
.news-item a { font-size: 13.5px; font-weight: 500; color: var(--text); display: block; line-height: 1.45; }
.news-item a:hover { color: var(--accent); text-decoration: none; }
.news-item .meta { font-size: 11px; color: var(--text-soft); margin-top: 3px; }

/* ---------- janelas ---------- */
.win {
    position: fixed; background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
    overflow: hidden; min-width: 300px; min-height: 220px; z-index: 300;
}
.win.max { border-radius: 0; }
.win-bar {
    height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 14px;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); cursor: move; user-select: none; flex: 0 0 auto;
}
.win-bar .ttl { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-bar .ctl { display: flex; gap: 4px; }
.win-bar .ctl button {
    width: 28px; height: 28px; border-radius: 8px; border: none; background: transparent;
    cursor: pointer; color: var(--text-soft); font-size: 14px; display: grid; place-items: center;
}
.win-bar .ctl button:hover { background: var(--bg-panel); color: var(--text); }
.win-bar .ctl .close:hover { background: var(--danger); color: #fff; }
.win-body { flex: 1; overflow: auto; padding: 16px; }
.win-body.flush { padding: 0; }
.win-foot { border-top: 1px solid var(--line); padding: 9px 14px; display: flex; gap: 8px; align-items: center; background: var(--bg-soft); flex: 0 0 auto; }
.win-resize { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; cursor: nwse-resize; }
.win.min { display: none; }

/* ---------- dock ---------- */
.dock {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 450;
    display: flex; align-items: center; gap: 6px; padding: 8px 10px;
    background: var(--bg-dock); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    max-width: calc(100vw - 24px); overflow-x: auto;
}
.dock button {
    width: 46px; height: 46px; border-radius: 13px; border: none; background: transparent;
    cursor: pointer; font-size: 21px; display: grid; place-items: center; position: relative; transition: .15s;
}
.dock button:hover { background: var(--accent-soft); transform: translateY(-3px); }
.dock button.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.dock .sep { width: 1px; height: 28px; background: var(--line); margin: 0 4px; flex: 0 0 auto; }

/* ---------- rodape ---------- */
.foot {
    background: var(--footer); border-top: 1px solid var(--line);
    padding: 16px 20px 22px; text-align: center; font-size: 12px; color: var(--text-soft);
}
.guard-seal {
    display: inline-flex; align-items: center; gap: 8px; background: var(--bg-panel);
    border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 12px; font-weight: 600;
}
.guard-seal .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 121, 74, .15); }
.guard-seal.off .dot { background: var(--text-soft); box-shadow: none; }

/* ---------- utilitarios de apps ---------- */
.split { display: grid; grid-template-columns: 220px 1fr; height: 100%; }
.split > .side { border-right: 1px solid var(--line); overflow: auto; padding: 12px; background: var(--bg-soft); }
.split > .main { overflow: auto; padding: 16px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > .side { display: none; } }

.list-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px;
    cursor: pointer; font-size: 13.5px;
}
.list-item:hover { background: var(--bg-soft); }
.list-item.on { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.list-item .ico { font-size: 17px; }
.list-item .grow { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list-item .sm { font-size: 11px; color: var(--text-soft); }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--text-soft); font-weight: 600; }
.table tr:hover td { background: var(--bg-soft); }

.toolbar { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.toolbar .gap { flex: 1; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 14px; background: var(--bg-soft); overflow-x: auto; }
.tabs button {
    border: none; background: transparent; padding: 11px 13px; font-size: 13.5px; cursor: pointer;
    color: var(--text-soft); border-bottom: 2px solid transparent; font-family: var(--font); white-space: nowrap;
}
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* editor de documento */
.doc-page {
    background: #fff; color: #333; max-width: 820px; margin: 18px auto; padding: 56px 64px;
    box-shadow: var(--shadow); border-radius: 4px; min-height: 60vh; line-height: 1.7; font-size: 15px;
    outline: none;
}
html[data-theme="dark"] .doc-page { background: #f7f6f4; }
.doc-page:focus { outline: 2px solid var(--accent-soft); }
.doc-page h1, .doc-page h2, .doc-page h3 { line-height: 1.25; }
.doc-page img { max-width: 100%; }
.doc-page table { border-collapse: collapse; }
.doc-page table td, .doc-page table th { border: 1px solid #ddd; padding: 6px 9px; }

/* planilha */
.sheet-wrap { overflow: auto; height: 100%; }
.sheet-table { border-collapse: collapse; font-size: 13px; }
.sheet-table th, .sheet-table td { border: 1px solid var(--line); padding: 0; min-width: 94px; height: 28px; }
.sheet-table th {
    background: var(--bg-soft); color: var(--text-soft); font-size: 11px; font-weight: 600;
    text-align: center; position: sticky; top: 0; z-index: 2; min-width: 42px;
}
.sheet-table td.rh {
    background: var(--bg-soft); color: var(--text-soft); font-size: 11px; text-align: center;
    position: sticky; left: 0; z-index: 1; min-width: 42px; font-weight: 600;
}
.sheet-table input {
    width: 100%; height: 100%; border: none; background: transparent; padding: 3px 7px;
    font-size: 13px; color: var(--text); font-family: var(--font); outline: none;
}
.sheet-table input:focus { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }

/* pdf */
.pdf-stage { background: #3a3c42; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 100%; }
.pdf-stage canvas { max-width: 100%; box-shadow: var(--shadow); background: #fff; border-radius: 3px; }

/* chat de IA */
.chat-wrap { display: flex; flex-direction: column; height: 100%; }
.chat-log { flex: 1; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 84%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--bg-soft); border-bottom-left-radius: 4px; }
.bubble.sys { align-self: center; background: transparent; color: var(--text-soft); font-size: 12.5px; text-align: center; }
.chat-box { border-top: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; background: var(--bg-panel); }
.chat-box .ta { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 14px; resize: none; min-height: 46px; max-height: 160px; font-family: var(--font); background: var(--bg-panel); color: var(--text); }
.chat-box .ta:focus { outline: none; border-color: var(--accent); }
.chat-icons { display: flex; gap: 6px; align-items: center; }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kanban-col { background: var(--bg-soft); border-radius: var(--radius); padding: 12px; min-height: 220px; }
.kanban-col h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; color: var(--text-soft); letter-spacing: .03em; }
.kanban-card {
    background: var(--bg-panel); border: 1px solid var(--line); border-radius: 11px; padding: 11px;
    margin-bottom: 9px; font-size: 13.5px; cursor: grab; box-shadow: var(--shadow-sm);
}
.kanban-card .meta { font-size: 11px; color: var(--text-soft); margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.kanban-col.over { outline: 2px dashed var(--accent); }
@media (max-width: 760px) { .kanban { grid-template-columns: 1fr; } }

/* notas */
.notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 13px; }
.note-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; background: var(--bg-panel); cursor: pointer; min-height: 120px; }
.note-card:hover { box-shadow: var(--shadow); }
.note-card b { font-size: 14px; display: block; margin-bottom: 6px; }
.note-card p { margin: 0; font-size: 12.5px; color: var(--text-soft); line-height: 1.5; max-height: 76px; overflow: hidden; }
.note-card[data-color="amarelo"] { background: #fff9e6; border-color: #f5e6b8; }
.note-card[data-color="verde"] { background: #eefbf2; border-color: #c9ecd6; }
.note-card[data-color="azul"] { background: #eef4ff; border-color: #ccdcf7; }
.note-card[data-color="rosa"] { background: #fff0f3; border-color: #f7d3da; }
html[data-theme="dark"] .note-card[data-color] { color: #2a2a2a; }

/* calendario */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: 11px; color: var(--text-soft); font-weight: 600; padding: 5px 0; }
.cal-day { border: 1px solid var(--line); border-radius: 9px; min-height: 76px; padding: 5px 6px; font-size: 11px; }
.cal-day.out { opacity: .4; }
.cal-day.today { border-color: var(--accent); background: var(--accent-soft); }
.cal-day b { font-size: 12px; }
.cal-ev { background: var(--accent); color: #fff; border-radius: 5px; padding: 2px 5px; margin-top: 3px; font-size: 10.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 86px; z-index: 900; display: flex; flex-direction: column; gap: 9px; }
.toast {
    background: var(--bg-panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: 11px; padding: 11px 15px; font-size: 13.5px; box-shadow: var(--shadow); max-width: 330px;
    animation: toast-in .2s ease-out;
}
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* dialogo */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .34); z-index: 800; display: grid; place-items: center; padding: 20px; }
.dialog { background: var(--bg-panel); border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; padding: 22px; }
.dialog h3 { margin: 0 0 14px; font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--text); }
.dialog .acts { display: flex; gap: 9px; justify-content: flex-end; margin-top: 18px; }

.spin { display: inline-block; width: 15px; height: 15px; border: 2px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 21px; font-weight: 600; }
.stat span { font-size: 11.5px; color: var(--text-soft); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }

.drop-zone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--text-soft); font-size: 13.5px; }
.drop-zone.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.scroll-y { overflow-y: auto; }
.hide { display: none !important; }
