/* Cópia literal de E:\Claudineditor\design-otto\codigo\recortes (01 a 11). Não editar: CSS do CRM fica em crm.css. */

/* ######## 01-tokens-e-fundo.css ######## */
/* Paleta, fontes, curvas, body e fundo. Recorte automático: a fonte é codigo/completo. */

/* ===== static/liquid-glass.css ===== */
:root {
    --lg-spring: cubic-bezier(0.2, 0.9, 0.25, 1.12);
}

/* ===== static/app.css ===== */
:root {
    --ivory-light: #faf9f5;
    --paper: #f3eee4; /* fundo das páginas: creme do Claude puxado para o terroso */
    --ivory-medium: #f0eee6;
    --ivory-dark: #e8e6dc;
    --gray-100: #f5f4ed;
    --gray-250: #dedcd1;
    --cloud-light: #d1cfc5;
    --cloud-medium: #b0aea5;
    --cloud-dark: #87867f;
    --slate-light: #5e5d59;
    --slate-medium: #3d3d3a;
    --slate-750: #30302e;
    --slate-dark: #141413;
    --clay: #d97757;
    --clay-interactive: #c6613f;
    --oat: #e3dacc;
    --olive: #788c5d;
    --cactus: #bcd1ca;
    --sky: #6a9bcc;
    --heather: #cbcadb;
    --fig: #c46686;
    --coral: #ebcece;
    --periwinkle: #cde2fb;
    --focus: #2c84db;
    --error: #bf4d43;
    /* tinta escura para texto sobre as cores claras de ilustração (contraste AA) */
    --coral-ink: #8a3a22;
    --periwinkle-ink: #234a7a;
    --cactus-ink: #2f4a3c;
    --ink-serif: #2a2926; /* títulos serifados dos cartões de artigo */
    --yt-red: #e0322a; /* ícone do YouTube */
    /* nomes usados pelo app.js nos anéis de pontuação */
    --accent: var(--clay);
    --green: var(--olive);
    --orange: #d4a25a;
    --pink: var(--error);

    --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
    --ease-in-out-quart: cubic-bezier(.77, 0, .175, 1);
    --ease-out-expo: cubic-bezier(.22, 1, .36, 1);
    --lg-spring: var(--ease-out-quart);

    --sans: "Inter", "anthropicSans", -apple-system, "Segoe UI", system-ui, sans-serif;
    --serif: "Source Serif 4", "anthropicSerif", Georgia, serif;
    --font: var(--sans);

    --text: var(--slate-dark);
    --muted: var(--slate-light);
    --line: var(--ivory-dark);
    --card: rgba(255, 255, 255, 0.55);
    --card-hi: rgba(255, 255, 255, 0.78);
    /* sombra padrão de tudo que flutua: menus, dica, toast, folhas */
    --shadow-pop: 0 0 0 1px rgba(20, 20, 19, .06), 0 18px 40px -14px rgba(20, 20, 19, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
    color-scheme: light;
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--text);
    font: 16px/1.5 var(--sans);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--clay); color: var(--ivory-light); }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--paper); }
.bg::after { /* grão de papel */
    content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .48 0 0 0 0 .44 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body:has(#inicio:not([hidden])) .lg-dock .lg { --lg-fill: rgba(18, 18, 20, .18); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .48), 0 2px 8px rgba(0, 0, 0, .26); }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) { color: #fff; }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
@keyframes shimmer { to { background-position: -150% 0; } }
body.side-nav main { max-width: none; margin-left: 0; padding: 24px 104px 24px 32px; transition: padding-left .5s var(--ease-out-quart); }
body.side-nav:not(.side-collapsed) main { padding-left: 312px; }
body.dock-bottom main { padding-right: 32px; padding-bottom: 112px; }
body.dock-bottom:not(.side-collapsed) .lg-dock { left: calc(50% + 144px); }
@media (max-width: 760px) {
body.side-nav main, body.side-nav:not(.side-collapsed) main { padding: 24px 16px 112px; }
body.dock-bottom:not(.side-collapsed) .lg-dock { left: 50%; }
}
body.side-nav .chat-side {
    position: fixed; inset: 0 auto 0 0; z-index: 950; display: flex; flex-direction: column; width: 288px;
    background: rgba(240, 238, 230, .86); border-right: 1px solid var(--ivory-dark);
    backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
    transition: transform .5s var(--ease-out-quart), opacity .3s;
}
body.side-nav.side-collapsed .chat-side { transform: translateX(-100%); opacity: 0; pointer-events: none; }
body.side-nav.side-collapsed .side-open { display: grid; }
body.side-nav .side-item, body.side-nav .side-row, body.side-nav .side-label, body.side-nav .side-foot { animation: labelIn .5s var(--ease-out-quart) both; animation-delay: calc(var(--n, 3) * 40ms + 120ms); }
body:not(.side-nav) .chat-view.has-chat .composer-wrap { bottom: 96px; }
body.gal-is-dragging .gal-fbtn { animation: galFWake 1.4s ease-in-out infinite; color: var(--clay-interactive); }
@media (max-width: 760px) {
html:has(.ps.sheet-open) { overflow: hidden; }
}
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
body.ia-drawer .chat-side { transform: none; visibility: visible; transition: transform .45s var(--ease-out-quart); }
body.ia-drawer .side-scrim { opacity: 1; pointer-events: auto; }
html:has(body.ia-drawer) { overflow: hidden; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
.chat-side, body.ia-drawer .chat-side, .side-scrim { transition-duration: .01s; }
}

/* ===== static/projects.css ===== */
body.dragging-chat .pj-main, body.dragging-chat .pj-card { outline: 2px dashed var(--cloud-medium); outline-offset: 4px; border-radius: 20px; }
body.dock-bottom .pj-page.notes-host { height: calc(100vh - 84px); margin: 0 -32px -112px -24px; border-top: 1px solid rgba(20, 20, 19, .08); }
body.dock-bottom.side-collapsed .pj-page.notes-host { margin-left: -68px; }
body.side-nav:not(.dock-bottom) .pj-page.canvas-host { height: calc(100vh - 84px); min-height: 0; margin: 0 -104px -24px -24px; border-top: 1px solid rgba(20, 20, 19, .08); }
body.side-nav.side-collapsed:not(.dock-bottom) .pj-page.canvas-host { margin-left: -68px; }
@media (max-width: 900px) {
body:not(.side-nav) :is(.pj-page.notes-host, .pj-page.canvas-host) { height: calc(100vh - 126px); min-height: 0; margin: 0 -16px -128px; }
}
body.is-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
body.dock-bottom .cz { height: calc(100vh - 84px); margin: 0 -32px -112px -24px; }
body.dock-bottom.side-collapsed .cz { margin-left: -68px; }
body.side-nav.side-collapsed main { padding-left: 68px; }
body.side-nav .pj-side .side-item, body.side-nav .pj-side .side-row { animation: none; }

/* ######## 02-vidro-liquid-glass.css ######## */
/* Vidro (.lg e variações). NÃO ALTERAR os da dock. Recorte automático: a fonte é codigo/completo. */

/* ===== static/liquid-glass.css ===== */
.lg {
    --lg-radius: 999px;
    --lg-fill: rgba(18, 18, 20, 0.18);
    --lg-blur: 0.45px;
    --lg-sat: 1.45;
    --lg-bright: 1.06;
    --mx: 50%;
    --my: 50%;
    position: relative;
    isolation: isolate;
    border-radius: var(--lg-radius);
    box-shadow:
        0 14px 34px -8px rgba(0, 0, 0, 0.48),
        0 2px 8px rgba(0, 0, 0, 0.26);
    -webkit-tap-highlight-color: transparent;
}
.lg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background: var(--lg-fill);
    -webkit-backdrop-filter: var(--lg-bf, blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright)));
    backdrop-filter: var(--lg-bf, blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright)));
    box-shadow:
        inset 1.5px 1.5px 2.5px -1px rgba(255, 255, 255, 0.62),
        inset -1.5px -1.5px 2.5px -1px rgba(255, 255, 255, 0.36),
        inset 0 0 14px rgba(255, 255, 255, 0.04);
}
.lg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1.2px;
    pointer-events: none;
    background: linear-gradient(
        140deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.22) 20%,
        rgba(255, 255, 255, 0.06) 44%,
        rgba(255, 255, 255, 0.06) 58%,
        rgba(255, 255, 255, 0.36) 82%,
        rgba(255, 255, 255, 0.62) 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lg-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: var(--lg-hover);
    background:
        radial-gradient(150px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 70%),
        linear-gradient(rgba(255, 255, 255, calc(var(--lg-press) * 0.14)), rgba(255, 255, 255, calc(var(--lg-press) * 0.14)));
}
.lg-interactive {
    transition:
        --lg-hover 0.28s ease,
        --lg-press 0.18s ease,
        transform 0.5s var(--lg-spring),
        box-shadow 0.3s ease;
}
.lg-interactive:hover {
    --lg-hover: 1;
}
.lg-interactive.is-pressed {
    --lg-press: 1;
    transform: scale(0.96);
}
.lg-tint {
    --lg-fill: rgba(242, 240, 235, 0.68);
    --lg-bright: 1.04;
    --lg-sat: 1.3;
    color: #111110;
}
.lg-dock {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 1000;
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    transform-origin: 50% 0;
    transition: transform 0.6s var(--lg-spring), top 0.4s ease;
}
.lg-dock.is-min {
    transform: translateX(-50%) translateY(-6px) scale(0.92);
}
.lg-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lg-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 58px;
    padding: 0 8px 0 22px;
}
.lg-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 42px;
    margin-right: 6px;
    overflow: hidden;
    text-decoration: none;
}
.lg-brand img {
    display: block;
    height: 130px;
    width: auto;
    margin: -4px 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.lg-tabs {
    --lg-tab-w: 104px;
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lg-tabs a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--lg-tab-w);
    height: 44px;
    font: 500 13.5px/1 var(--font, system-ui, sans-serif);
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    transition: color 0.25s ease;
}
.lg-tabs a:hover,
.lg-tabs a.active {
    color: #fff;
}
.lg-tabs a.active {
    font-weight: 600;
}
.lg-indicator {
    position: absolute;
    top: -2px;
    left: 0;
    z-index: 1;
    width: var(--lg-tab-w);
    height: 48px;
    border-radius: 999px;
    pointer-events: none;
    will-change: transform, width;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, calc(0.36 + 0.10 * var(--lg-lift))) 0%,
        rgba(255, 255, 255, calc(0.14 + 0.06 * var(--lg-lift))) 50%,
        rgba(255, 255, 255, calc(0.05 + 0.04 * var(--lg-lift))) 100%
    );
    -webkit-backdrop-filter: blur(16px) saturate(220%) brightness(130%);
    backdrop-filter: blur(16px) saturate(220%) brightness(130%);
    border: 1.5px solid rgba(255, 255, 255, 0.68);
    box-shadow:
        0 8px 24px -2px rgba(0, 0, 0, calc(0.55 + 0.2 * var(--lg-lift))),
        0 2px 8px 0 rgba(0, 0, 0, 0.35),
        inset 0 2px 2.5px 0 #ffffff,
        inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.25),
        inset 2px 0 3px 0 rgba(255, 255, 255, 0.35),
        inset -2px 0 3px 0 rgba(255, 255, 255, 0.35);
    transition: opacity 0.25s ease;
}
.lg-indicator::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.65) 20%,
        #ffffff 50%,
        rgba(255, 255, 255, 0.65) 80%,
        transparent 100%
    );
    border-radius: 999px;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
    pointer-events: none;
}
.lg-indicator.is-hidden {
    opacity: 0;
}
.lg-cta {
    display: inline-flex;
    align-items: center;
    height: 58px;
    padding: 0 26px;
    font: 600 13.5px/1 var(--font, system-ui, sans-serif);
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
}
@media (max-width: 680px) {
.lg-dock {
        top: 12px;
    }
.lg-tabs {
        display: none;
    }
.lg-bar {
        height: 52px;
        padding: 0 20px;
    }
.lg-cta {
        height: 52px;
        padding: 0 20px;
        font-size: 12.5px;
    }
}
@media (max-width: 380px) {
.lg-group {
        gap: 6px;
    }
.lg-bar {
        padding: 0 14px;
    }
.lg-cta {
        padding: 0 14px;
        font-size: 11.5px;
    }
}
@media (prefers-reduced-transparency: reduce) {
.lg::before {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(30, 30, 32, 0.95);
    }
.lg-tint::before {
        background: rgba(242, 240, 235, 0.97);
    }
.lg-glow {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
.lg-dock,
    .lg-interactive {
        transition: none;
    }
.lg-dock.is-min {
        transform: translateX(-50%);
    }
}

/* ===== static/app.css ===== */
.lg {
    --lg-fill: rgba(250, 249, 245, 0.5);
    --lg-sat: 1.25;
    --lg-bright: 1.03;
    box-shadow:
        0 0 0 1px rgba(20, 20, 19, 0.06),
        0 12px 32px -12px rgba(20, 20, 19, 0.22),
        0 2px 6px rgba(20, 20, 19, 0.05);
}
.lg-tint { --lg-fill: rgba(20, 20, 19, 0.9); --lg-sat: 1; --lg-bright: 1; color: var(--ivory-light); }
.lg-tint::after { opacity: .35; }
.lg-glow { background: radial-gradient(150px circle at var(--mx) var(--my), rgba(255,255,255,.7), rgba(255,255,255,0) 70%); }
@media (prefers-reduced-transparency: reduce) {
.lg::before { background: rgba(250, 249, 245, .97); }
.lg-tint::before { background: var(--slate-dark); }
}
.lg-dock { top: auto; bottom: 22px; transform-origin: 50% 100%; }
.lg-dock.is-min { transform: translateX(-50%) translateY(6px) scale(0.92); }
.lg-dock .lg { --lg-fill: rgba(250, 249, 245, .18); --lg-blur: .45px; --lg-sat: 1.45; --lg-bright: 1.06; /* ótica da landing Kriativa: transparente e sem desfoque, a lente aparece */
    box-shadow: 0 0 0 1px rgba(20, 20, 19, .06), 0 12px 32px -12px rgba(20, 20, 19, .22), 0 2px 6px rgba(20, 20, 19, .05); }
body:has(#inicio:not([hidden])) .lg-dock .lg { --lg-fill: rgba(18, 18, 20, .18); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .48), 0 2px 8px rgba(0, 0, 0, .26); }
.lg-no-refract .lg-dock .lg { --lg-fill: rgba(250, 249, 245, .6); --lg-blur: 3px; --lg-sat: 1.2; --lg-bright: 1.08; }
.lg-bar { height: 64px; padding: 0 8px; }
.lg-tabs { --lg-tab-w: 64px; }
.lg-tabs a { height: 48px; color: var(--slate-dark); text-shadow: none; }
.lg-tabs a.active { color: var(--clay-interactive); }
.lg-tabs a svg { filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .55)); }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) { color: #fff; }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.lg-indicator { top: 0; height: 48px; }
.lg-dock .lg-indicator {
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow:
        0 6px 18px -6px rgba(20, 20, 19, calc(.25 + .12 * var(--lg-lift))),
        0 1px 3px rgba(20, 20, 19, .1),
        inset 0 1px 1px #fff,
        inset 0 -1px 2px rgba(20, 20, 19, .06);
}
.lg-dock .lg-indicator::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); filter: none; }
.lg-tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease-in-out, transform .4s var(--ease-out-quart); }
.lg-tabs a:hover svg { transform: scale(1.08); }
.lg-tabs svg.lucide { width: 23px; height: 23px; }
.lg-tint.pill:hover, .lg-tint.lg-cta:hover { --lg-fill: rgba(48, 48, 46, .92); }
@media (max-width: 680px) {
.lg-dock { bottom: 14px; }
.lg-tabs { display: flex; --lg-tab-w: 60px; }
.lg-bar { height: 60px; padding: 0 6px; }
}
.vt .lg-dock { view-transition-name: dock; }
.vt .lg-indicator { view-transition-name: dock-pill; }
.vt .lg-tabs a:nth-of-type(1) { view-transition-name: tab-1; }
.vt .lg-tabs a:nth-of-type(2) { view-transition-name: tab-2; }
.vt .lg-tabs a:nth-of-type(3) { view-transition-name: tab-3; }
.vt .lg-tabs a:nth-of-type(4) { view-transition-name: tab-4; }
.vt .lg-tabs a:nth-of-type(5) { view-transition-name: tab-5; }
.lg-dock.side { top: 50%; bottom: auto; left: auto; right: 16px; transform: translateY(-50%); max-width: none; }
.lg-dock.side .lg-bar { flex-direction: column; width: 64px; height: auto; padding: 8px; }
.lg-dock.side .lg-tabs { --lg-tab-w: 48px; flex-direction: column; }
.lg-dock.side .lg-tabs a { height: 48px; }
body.dock-bottom:not(.side-collapsed) .lg-dock { left: calc(50% + 144px); }
@media (max-width: 760px) {
body.dock-bottom:not(.side-collapsed) .lg-dock { left: 50%; }
}
.lg-dock.side .dock-acct { width: 64px; height: 64px; }

/* ===== static/home.css ===== */
.home .lg { --lg-fill: rgba(14, 30, 58, .34); --lg-blur: .6px; --lg-sat: 1.5; --lg-bright: 1.04; color: #fff; }
.hm-app .lg, .hm-search { --lg-fill: rgba(14, 30, 58, .5); }
.hm-app .lg { display: grid; place-items: center; width: 72px; height: 72px; --lg-radius: 22px; border-radius: 22px; transition: transform .45s var(--ease-out-quart); }
.hm-app:hover .lg { transform: translateY(-4px) scale(1.04); }
@media (prefers-reduced-transparency: reduce) {
.home .lg::before { background: rgba(14, 30, 58, .9); }
}
@media (prefers-reduced-motion: reduce) {
.hm-bar i, .hm-tile, .hm-app .lg { transition: none; }
}

/* ######## 03-dock.css ######## */
/* Dock: SÓ LEITURA, proibido mudar. Recorte automático: a fonte é codigo/completo. */

/* ===== static/liquid-glass.css ===== */
.lg-dock {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 1000;
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    transform-origin: 50% 0;
    transition: transform 0.6s var(--lg-spring), top 0.4s ease;
}
.lg-dock.is-min {
    transform: translateX(-50%) translateY(-6px) scale(0.92);
}
.lg-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 58px;
    padding: 0 8px 0 22px;
}
.lg-tabs {
    --lg-tab-w: 104px;
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lg-tabs a {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--lg-tab-w);
    height: 44px;
    font: 500 13.5px/1 var(--font, system-ui, sans-serif);
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    transition: color 0.25s ease;
}
.lg-tabs a:hover,
.lg-tabs a.active {
    color: #fff;
}
.lg-tabs a.active {
    font-weight: 600;
}
.lg-indicator {
    position: absolute;
    top: -2px;
    left: 0;
    z-index: 1;
    width: var(--lg-tab-w);
    height: 48px;
    border-radius: 999px;
    pointer-events: none;
    will-change: transform, width;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, calc(0.36 + 0.10 * var(--lg-lift))) 0%,
        rgba(255, 255, 255, calc(0.14 + 0.06 * var(--lg-lift))) 50%,
        rgba(255, 255, 255, calc(0.05 + 0.04 * var(--lg-lift))) 100%
    );
    -webkit-backdrop-filter: blur(16px) saturate(220%) brightness(130%);
    backdrop-filter: blur(16px) saturate(220%) brightness(130%);
    border: 1.5px solid rgba(255, 255, 255, 0.68);
    box-shadow:
        0 8px 24px -2px rgba(0, 0, 0, calc(0.55 + 0.2 * var(--lg-lift))),
        0 2px 8px 0 rgba(0, 0, 0, 0.35),
        inset 0 2px 2.5px 0 #ffffff,
        inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.25),
        inset 2px 0 3px 0 rgba(255, 255, 255, 0.35),
        inset -2px 0 3px 0 rgba(255, 255, 255, 0.35);
    transition: opacity 0.25s ease;
}
.lg-indicator::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.65) 20%,
        #ffffff 50%,
        rgba(255, 255, 255, 0.65) 80%,
        transparent 100%
    );
    border-radius: 999px;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
    pointer-events: none;
}
.lg-indicator.is-hidden {
    opacity: 0;
}
@media (max-width: 680px) {
.lg-dock {
        top: 12px;
    }
.lg-tabs {
        display: none;
    }
.lg-bar {
        height: 52px;
        padding: 0 20px;
    }
}
@media (max-width: 380px) {
.lg-bar {
        padding: 0 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
.lg-dock,
    .lg-interactive {
        transition: none;
    }
.lg-dock.is-min {
        transform: translateX(-50%);
    }
}

/* ===== static/app.css ===== */
.lg-dock { top: auto; bottom: 22px; transform-origin: 50% 100%; }
.lg-dock.is-min { transform: translateX(-50%) translateY(6px) scale(0.92); }
.lg-dock .lg { --lg-fill: rgba(250, 249, 245, .18); --lg-blur: .45px; --lg-sat: 1.45; --lg-bright: 1.06; /* ótica da landing Kriativa: transparente e sem desfoque, a lente aparece */
    box-shadow: 0 0 0 1px rgba(20, 20, 19, .06), 0 12px 32px -12px rgba(20, 20, 19, .22), 0 2px 6px rgba(20, 20, 19, .05); }
body:has(#inicio:not([hidden])) .lg-dock .lg { --lg-fill: rgba(18, 18, 20, .18); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .48), 0 2px 8px rgba(0, 0, 0, .26); }
.lg-no-refract .lg-dock .lg { --lg-fill: rgba(250, 249, 245, .6); --lg-blur: 3px; --lg-sat: 1.2; --lg-bright: 1.08; }
.lg-bar { height: 64px; padding: 0 8px; }
.lg-tabs { --lg-tab-w: 64px; }
.lg-tabs a { height: 48px; color: var(--slate-dark); text-shadow: none; }
.lg-tabs a.active { color: var(--clay-interactive); }
.lg-tabs a svg { filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .55)); }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) { color: #fff; }
body:has(#inicio:not([hidden])) .lg-tabs a:not(.active) svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.lg-indicator { top: 0; height: 48px; }
.lg-dock .lg-indicator {
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow:
        0 6px 18px -6px rgba(20, 20, 19, calc(.25 + .12 * var(--lg-lift))),
        0 1px 3px rgba(20, 20, 19, .1),
        inset 0 1px 1px #fff,
        inset 0 -1px 2px rgba(20, 20, 19, .06);
}
.lg-dock .lg-indicator::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); filter: none; }
.lg-tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease-in-out, transform .4s var(--ease-out-quart); }
.lg-tabs a:hover svg { transform: scale(1.08); }
.lg-tabs svg.lucide { width: 23px; height: 23px; }
@media (max-width: 680px) {
.lg-dock { bottom: 14px; }
.lg-tabs { display: flex; --lg-tab-w: 60px; }
.lg-bar { height: 60px; padding: 0 6px; }
}
.vt .lg-dock { view-transition-name: dock; }
.vt .lg-indicator { view-transition-name: dock-pill; }
.vt .lg-tabs a:nth-of-type(1) { view-transition-name: tab-1; }
.vt .lg-tabs a:nth-of-type(2) { view-transition-name: tab-2; }
.vt .lg-tabs a:nth-of-type(3) { view-transition-name: tab-3; }
.vt .lg-tabs a:nth-of-type(4) { view-transition-name: tab-4; }
.vt .lg-tabs a:nth-of-type(5) { view-transition-name: tab-5; }
.lg-dock.side { top: 50%; bottom: auto; left: auto; right: 16px; transform: translateY(-50%); max-width: none; }
.lg-dock.side .lg-bar { flex-direction: column; width: 64px; height: auto; padding: 8px; }
.lg-dock.side .lg-tabs { --lg-tab-w: 48px; flex-direction: column; }
.lg-dock.side .lg-tabs a { height: 48px; }
body.dock-bottom:not(.side-collapsed) .lg-dock { left: calc(50% + 144px); }
@media (max-width: 760px) {
body.dock-bottom:not(.side-collapsed) .lg-dock { left: 50%; }
}
.dock-acct { display: grid; place-items: center; width: 64px; height: 64px; flex: none; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--slate-dark); }
.dock-acct[hidden] { display: none; }
.dock-acct:active { transform: scale(.94); }
@media (max-width: 680px) {
.dock-acct { width: 60px; height: 60px; }
}
.lg-dock.side .dock-acct { width: 64px; height: 64px; }
.fk-kb .gbar { order: -1; margin-bottom: 6px; }
.ps-rng .lens, .gbar .knob { --lg-radius: 999px; --lift: 0; --lg-fill: rgba(255, 255, 255, calc(.96 - .9 * var(--lift))); --lg-blur: 0px; --lg-sat: 1.2; --lg-bright: 1.04;
    position: absolute; left: 0; top: 50%; width: var(--tw); height: 34px; margin-top: -17px; pointer-events: none; transform: scale(.62, .7); will-change: transform;
    box-shadow: 0 calc(3px + 7px * var(--lift)) calc(10px + 12px * var(--lift)) -4px rgba(20, 20, 19, .3), 0 0 0 .5px rgba(20, 20, 19, .08); }
@media (max-width: 760px) {
.ps-side::before, .ps-side::after, .ps-side > .gbar { display: none; }
}
.gbar.vbar { position: absolute; top: 64px; left: calc(100% + 6px); height: 40px; margin: 0; transform: rotate(90deg); transform-origin: 0 0; z-index: 2; }
.gbar.vbar.page { position: fixed; left: calc(100% - 2px); z-index: 40; }
.gbar.vbar.inner { z-index: 3; }
@media (pointer: coarse) {
.gbar.vbar.page { display: none; }
}

/* ===== static/projects.css ===== */
.gbar { --x: 32px; --tw: 54px; position: relative; height: 40px; margin: 0 2px 8px; cursor: pointer; touch-action: none; user-select: none; }
.gbar[hidden] { display: none; }
.gbar .trk { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: rgba(20, 20, 19, .12); overflow: hidden; }
.gbar .trk u { position: absolute; inset: 0 auto 0 0; width: var(--x); background: var(--clay); border-radius: inherit; }
.gbar.drag { cursor: grabbing; }

/* ######## 04-cabecalho-de-tela.css ######## */
/* View, Large Title, subtítulo, barra compacta. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 140px; }
.view[hidden] { display: none; }
.view { min-height: calc(100vh - 172px); animation: viewIn .7s var(--ease-out-quart); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.navbar { margin: 0 0 24px; animation: rise .7s var(--ease-out-quart) both; }
.large-title { margin: 0; font: 700 34px/41px var(--sans); letter-spacing: -0.02em; color: var(--slate-dark); }
.nav-sub { margin: 4px 0 0; font: 400 15px/20px var(--sans); color: var(--slate-light); }
.section-header { margin: 28px 0 8px; padding: 0 4px; font: 500 13px/18px var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--cloud-dark); }
.nav-compact {
    --lg-radius: 999px; --lg-fill: rgba(250, 249, 245, .72); --lg-blur: 2px;
    position: fixed; top: 12px; left: 50%; z-index: 900; padding: 10px 20px;
    font: 600 17px/22px var(--sans); color: var(--slate-dark);
    transform: translate(-50%, -16px) scale(.94); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease-out-quart), opacity .25s ease-in-out;
}
.nav-compact.show { transform: translate(-50%, 0); opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
@keyframes shimmer { to { background-position: -150% 0; } }
@media (max-width: 680px) {
main { padding: 20px 16px 128px; }
.large-title { font-size: 30px; line-height: 36px; }
}
#ideias.view { animation: none; }
main:has(> #pesquisa:not([hidden])) { max-width: none; margin: 0; padding: 0; }
.ps-head .large-title { font: 400 34px/1.1 var(--serif); font-variation-settings: "opsz" 48; letter-spacing: -0.02em; }
.ps-head .nav-sub { margin-top: 6px; font-size: 14px; }
.ps-head .nav-sub.err { color: var(--error); }
@media (max-width: 760px) {
.ps-head .large-title { font-size: 34px; line-height: 41px; }
.ps-head .nav-sub { margin-top: 2px; font-size: 15px; line-height: 20px; }
}
@media (max-width: 760px) {
main:has(> #pesquisa:not([hidden])), main:has(> #ia:not([hidden])) { overflow-x: clip; }
}

/* ===== static/projects.css ===== */
.pj-chats .section-header { margin: 12px 0 4px; padding: 0 10px; }

/* ===== static/home.css ===== */
#inicio.view { animation: none; padding: 0; min-height: 100vh; }
main:has(> #inicio:not([hidden])) { max-width: none; margin: 0; padding: 0; }

/* ######## 05-botoes.css ######## */
/* Pílulas e botões. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pill svg.lucide { width: 17px; height: 17px; }
.composer .pill { width: 46px; padding: 0; }
.close { display: grid; place-items: center; }
.menu button:hover, .menu button:focus-visible { background: rgba(20,20,19,.06); color: var(--slate-dark); outline: 0; }
.pill { border: 0; cursor: pointer; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); white-space: nowrap; transition: background-color .2s ease-in-out, transform .4s var(--ease-out-quart); }
.pill.ghost { color: var(--slate-dark); }
.pill.plain { background: none; color: var(--slate-light); }
.pill.plain:hover { color: var(--slate-dark); }
.lg-tint.pill:hover, .lg-tint.lg-cta:hover { --lg-fill: rgba(48, 48, 46, .92); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; color: var(--slate-dark); background: rgba(250,249,245,.85); font-size: 16px; backdrop-filter: blur(12px); }
.vd .close { top: 12px; right: 12px; background: rgba(20, 20, 19, .45); color: #fff; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); transition: background-color .2s, transform .3s var(--ease-out-quart); }
.vd .close:hover { background: rgba(20, 20, 19, .7); transform: rotate(90deg); }
@media (max-width: 640px) {
.vd .close { position: absolute; z-index: 4; top: 12px; right: 14px; width: 30px; height: 30px; background: rgba(120, 120, 128, .16); color: rgba(60, 60, 67, .78);
        backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.vd .close:hover { background: rgba(120, 120, 128, .24); transform: none; }
.vd .close svg.lucide { width: 16px; height: 16px; stroke-width: 2.6; }
}
@media (max-width: 680px) {
.searchbar .pill { padding: 0 16px; }
}
.side-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--slate-light); cursor: pointer; }
.side-icon:hover, .side-open:hover { background: rgba(20, 20, 19, .06); color: var(--slate-dark); }
.pj-actions .pill:disabled { opacity: .4; cursor: default; pointer-events: none; }
.pill.saved { background: var(--clay); color: #fff; }
.pill.saved svg.lucide { fill: currentColor; }
.gal-frow-w:hover .gal-fdel, .gal-fdel:focus-visible, .gal-fdel.armed { opacity: 1; }
.fw-head .close { top: 18px; right: 16px; }
.fk-acts .pill.armed { background: var(--error); color: #fff; }
.ps-rng:has(input:focus-visible) .lens { box-shadow: 0 0 0 3px var(--clay), 0 3px 10px -2px rgba(20, 20, 19, .28); }
.ps-tile:focus-visible { outline: none; }
.ps-tile:focus-visible .ps-img { box-shadow: 0 0 0 3px var(--focus); }
.ps-tile:hover .ps-cap, .ps-tile.sel .ps-cap, .ps-tile:focus-visible .ps-cap { opacity: 1; transform: none; }
.ip-top .pill svg.lucide { width: 16px; height: 16px; }
.fw-fit-act .b-go svg.lucide, .fw-fit-act .pill svg.lucide { width: 15px; height: 15px; }
@media (max-width: 760px) {
.chat-side .side-icon { width: 44px; height: 44px; }
}
.ms-lights button:hover, .ms-lights button:focus-visible { color: rgba(20,20,19,.6); }
.ms-theme input:focus-visible + .ms-prev { outline: 2px solid var(--focus); outline-offset: 5px; }

/* ===== static/canvas.css ===== */
.lc-b:focus-visible, .lc-mi:focus-visible, .lc-pct:focus-visible { outline: 2px solid var(--lc-ring); outline-offset: 1px; }

/* ===== static/notes/base.css ===== */
.ln :focus-visible { outline: 2px solid var(--ln-accent); outline-offset: -2px; border-radius: 8px; }
.ln-mi:hover, .ln-mi:focus-visible { background: var(--ln-hover); outline: 0; }

/* ===== static/notes/gallery.css ===== */
.lnc:focus-visible { outline: 2px solid var(--ln-accent); outline-offset: 2px; border-radius: 18px; }

/* ===== static/notes/editor.css ===== */
.ln-body:focus-visible { outline: 0; }

/* ===== static/projects.css ===== */
.pj-search .side-icon { width: 44px; height: 44px; border-radius: 999px; }
.pj-card:hover .pj-pin, .pj-card:focus-within .pj-pin, .pj-pin.on, .pj-pin:focus-visible { opacity: 1; }
.pj-actions .pill { height: 40px; padding: 0 18px; }
.pill.danger { color: var(--error); }
.pill.danger:hover { background: rgba(191, 77, 67, .1); }
button.pill.danger:not(.plain) { background: var(--error); color: #fff; }
.ov:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.pj-chat .pj-actions .pill { height: 40px; }
.kb-col:hover .kb-head .side-act, .kb-head .side-act:focus-visible, .kb-head .side-act.armed { opacity: 1; }
.pj-ev .pj-done input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ===== static/channel.css ===== */
.as-pager .pill[data-tpage][aria-current] { background: var(--slate-dark); color: var(--ivory-light); }
.as-ns :focus-visible { outline: 2px solid var(--clay-interactive, #c6613f); outline-offset: 2px; }
.as-vbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
.as-pager .pill { min-width: 38px; justify-content: center; font-variant-numeric: tabular-nums; }
.as-refs .as-th:hover .as-why2, .as-refs .as-th:focus-visible .as-why2 { opacity: 1; transform: none; }
.as-tbf .pill svg.lucide { width: 15px; height: 15px; }

/* ===== static/home.css ===== */
.hm-w:focus-visible, .hm-tile:focus-visible, .hm-app:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ######## 06-campos-e-filtros.css ######## */
/* Campos, busca, chips, segmentado, formulários. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
.searchbar > svg.lucide { width: 20px; height: 20px; color: var(--slate-light); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--slate-dark); font-weight: 500; }
.chip-btn svg.lucide { width: 15px; height: 15px; }
.chip-btn .chev { color: var(--cloud-dark); transition: transform .35s var(--ease-out-quart); }
.chip.open .chev { transform: rotate(180deg); }
.chip { cursor: pointer; padding-right: 12px; }
.chip.open { border-color: var(--cloud-medium); background: rgba(255,255,255,.85); }
.searchbar { --lg-radius: 999px; display: flex; align-items: center; gap: 10px; max-width: 820px; padding: 6px 6px 6px 18px; height: 56px; animation: rise .9s .18s var(--ease-out-quart) both; }
.searchbar > svg { width: 20px; height: 20px; fill: none; stroke: var(--slate-light); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.searchbar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 17px; line-height: 22px; }
.searchbar input::placeholder, textarea::placeholder, .field::placeholder { color: var(--cloud-dark); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; max-width: 980px; animation: rise .9s .24s var(--ease-out-quart) both; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px 0 16px; border-radius: 999px; background: rgba(245, 244, 237, .72); border: 1px solid var(--ivory-dark); color: var(--slate-light); font-size: 13px; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); transition: border-color .2s ease-in-out, background-color .2s ease-in-out; }
.chip:hover { border-color: var(--cloud-light); background: rgba(255, 255, 255, .8); }
.chip select { background: transparent; border: 0; outline: 0; color: var(--slate-dark); font-weight: 500; cursor: pointer; padding-right: 2px; }
.segmented { display: flex; padding: 4px; border-radius: 999px; background: rgba(240, 238, 230, .7); border: 1px solid var(--ivory-dark); overflow-x: auto; max-width: 100%; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.segmented button { border: 0; background: none; cursor: pointer; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; color: var(--slate-light); white-space: nowrap; transition: background-color .35s var(--ease-out-quart), color .2s, box-shadow .35s var(--ease-out-quart); }
.segmented button:hover { color: var(--slate-dark); }
.segmented button.on { background: #fff; color: var(--slate-dark); font-weight: 500; box-shadow: 0 1px 3px rgba(20,20,19,.12), 0 0 0 1px rgba(20,20,19,.04); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.field { flex: 1; min-width: 220px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ivory-dark); background: rgba(255,255,255,.7); outline: 0; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out; }
.field:focus { border-color: var(--cloud-medium); box-shadow: 0 0 0 4px rgba(217,119,87,.12); }
@media (max-width: 680px) {
.searchbar { height: 58px; padding-left: 16px; }
.searchbar .pill { padding: 0 16px; }
}
.b-action .chip { margin: 0 0 4px; }
.ni-url .field { width: 100%; padding-left: 40px; }
.ni textarea.field { resize: vertical; min-height: 76px; line-height: 1.45; padding-top: 10px; }
.fw-grid .field { min-width: 0; width: 100%; }
.fw-row .field { flex: 1; }
.pj-in.pick { min-height: 40px; }
.fw-q > .field, .fw-q > .pick { flex: none; width: 100%; }
.ps-it.chip { height: auto; padding: 0 12px; border: 0; border-radius: 14px; background: none; font-size: 14px; color: var(--slate-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ps-it.chip:hover, .ps-it.chip.open { border: 0; background: rgba(20, 20, 19, .04); }
.ps-it.chip .chip-btn { margin-left: auto; height: 42px; color: var(--slate-light); font: 400 14px/1 var(--sans); white-space: nowrap; }
.ps-it.chip .chip-btn svg.lucide { width: 14px; height: 14px; }
.ps-slider .row { display: flex; justify-content: space-between; font: 500 14px/1 var(--sans); }
@media (max-width: 760px) {
.ps-filters .ps-it.chip .chip-btn { height: 44px; font-size: 17px; }
.ps-filters .ps-slider .row { font-size: 17px; }
}
.ps-it.chip .chip-btn { min-width: 0; }
.ps-it.chip .chip-btn span { overflow: hidden; text-overflow: ellipsis; }

/* ===== static/projects.css ===== */
.pj-form { display: flex; flex-direction: column; gap: 12px; }
.pj-form h2 { margin: 0 0 4px; }
.pj-lab { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--slate-light); }
.pj-in { width: 100%; padding: 10px 14px; border: 1px solid var(--ivory-dark); border-radius: 12px; background: rgba(255, 255, 255, .75); outline: 0; font: 400 15px/1.4 var(--sans); color: var(--slate-dark); resize: vertical; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out; }
.pj-in:focus { border-color: var(--cloud-medium); box-shadow: 0 0 0 4px rgba(217, 119, 87, .12); }
.pj-in.big { font-weight: 600; font-size: 16px; }
.pj-grid3 > .pj-lab { min-width: 0; }
.pj-grid3 > .pj-lab:first-child { grid-column: 1 / -1; }
.pj-ev .pj-form { gap: 12px; }
.pj-ev .pj-in { font-size: var(--evfs); border-color: transparent; background: #fff; }
.pj-ev .pj-in.big { font-size: var(--evfs); }
.pj-ev .pj-grid3 > .pj-lab:first-child { grid-column: auto; }
.pj-ev .pj-grid3 .pj-lab { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 5px 8px 5px 16px; font: 400 var(--evfs)/22px var(--sans); color: var(--slate-dark); }
.pj-ev .pj-grid3 .pj-lab + .pj-lab { box-shadow: inset 0 1px 0 rgba(20, 20, 19, .08); }
@media (max-width: 680px) {
.pj-ev .pj-form { gap: 14px; }
.pj-ev .pj-grid3 .pj-lab, .pj-ev .pj-done, .pj-ev .pj-actions [data-del] { min-height: 48px; height: auto; }
}

/* ===== static/channel.css ===== */
.cn-in .field { width: 100%; padding-left: 40px; }

/* ######## 07-menus-dica-toast.css ######## */
/* Menu, dica e toast. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
.tip[popover], .toast[popover] { inset: auto; margin: 0; overflow: visible; background: transparent; color: var(--slate-dark); }
.tip[popover] { background: rgba(250, 249, 245, .82); }
.toast[popover] { left: 50%; bottom: 104px; }
.glass-pop, .tip, .menu, .toast {
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: var(--shadow-pop);
}
.tip {
    position: fixed; left: 0; top: 0; z-index: 3000; max-width: 280px; padding: 7px 11px; border-radius: 10px;
    background: rgba(250, 249, 245, .62); color: var(--slate-dark); font: 500 12.5px/1.35 var(--sans);
    backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
    pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .18s ease-in-out, transform .3s var(--ease-out-quart);
}
.tip.show { opacity: 1; transform: none; }
.menu { --lg-radius: 16px; --lg-fill: rgba(250, 249, 245, .8); --lg-blur: 10px; /* fosco: texto atrás não pode competir com as opções */ position: fixed; z-index: 2500; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 16px; animation: menuIn .32s var(--ease-out-quart); }
.menu[hidden] { display: none; }
.menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; font-size: 14px; color: var(--slate-medium); white-space: nowrap; transition: background-color .15s ease-in-out; }
.menu button:hover, .menu button:focus-visible { background: rgba(20,20,19,.06); color: var(--slate-dark); outline: 0; }
.menu button[aria-selected="true"] { color: var(--slate-dark); font-weight: 500; }
.menu svg.lucide { width: 16px; height: 16px; }
.menu .tick { margin-left: auto; color: var(--clay-interactive); }
.toast { --lg-radius: 999px; --lg-fill: rgba(250, 249, 245, .58); position: fixed; left: 50%; bottom: 104px; display: flex; align-items: center; gap: 9px; transform: translate(-50%, 24px) scale(.96); opacity: 0; padding: 11px 18px 11px 14px; color: var(--slate-dark); font-size: 14px; font-weight: 500; transition: transform .5s var(--ease-out-quart), opacity .3s; pointer-events: none; z-index: 2000; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--olive); color: #fff; }
.toast-icon svg.lucide { width: 13px; height: 13px; stroke-width: 2.6; }
.toast.err .toast-icon { background: var(--error); }
.menu.pk { z-index: 3000; padding: 12px; border-radius: 20px; gap: 6px;
    background: rgba(251, 250, 247, .96); border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 .5px rgba(20, 20, 19, .1), 0 2px 6px rgba(20, 20, 19, .06), 0 28px 56px -20px rgba(20, 20, 19, .45);
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    transform-origin: 50% 0; animation: pkIn .38s var(--ease-out-quart); }
.menu.pk[popover] { inset: auto; margin: 0; color: inherit; overflow: visible; }
.menu .pk-nav { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--slate-medium); cursor: pointer; transition: background-color .15s, color .15s; }
.menu .pk-nav:hover:not([disabled]) { background: #fff; color: var(--slate-dark); box-shadow: 0 1px 2px rgba(20, 20, 19, .12); }
.menu .pk-nav[disabled] { opacity: .3; cursor: default; }
.menu .pk-d { display: grid; place-items: center; height: 38px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--slate-dark); font: 500 14px/1 var(--sans);
    font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s, color .15s, transform .25s var(--ease-out-quart); }
.menu .pk-d:hover:not([disabled]):not(.on) { background: rgba(20, 20, 19, .06); }
.menu .pk-d:active:not([disabled]) { transform: scale(.92); }
.menu .pk-d.today:not(.on) { color: var(--clay-interactive); font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(217, 119, 87, .55); }
.menu .pk-d.on { background: var(--clay); color: #fff; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(198, 97, 63, .7); }
.menu .pk-d[disabled] { color: var(--cloud-light); cursor: default; }
.menu .pk-chip { width: auto; height: 28px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(20, 20, 19, .06); color: var(--slate-medium); font: 500 12.5px/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.menu .pk-chip:hover { background: rgba(20, 20, 19, .1); color: var(--slate-dark); }
.menu .pk-chip.on { background: var(--clay); color: #fff; }
.menu .pk-link { width: auto; margin-left: auto; border: 0; background: none; color: var(--clay-interactive); font: 500 13px/1 var(--sans); padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.menu .pk-link:hover { background: rgba(217, 119, 87, .1); color: var(--clay-interactive); }

/* ===== static/projects.css ===== */
.menu[popover] { inset: auto; margin: 0; overflow: visible; background: transparent; color: var(--slate-dark); max-width: min(320px, calc(100vw - 16px)); }
.menu hr { width: calc(100% - 16px); height: 1px; margin: 4px 8px; border: 0; background: var(--ivory-dark); }
.menu button span { overflow: hidden; text-overflow: ellipsis; }

/* ######## 08-dialogos.css ######## */
/* Janelas modais. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
dialog { width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; color: var(--text); background: rgba(250,249,245,.82); backdrop-filter: blur(36px) saturate(1.4); -webkit-backdrop-filter: blur(36px) saturate(1.4); box-shadow: 0 0 0 1px rgba(20,20,19,.06), 0 40px 80px -24px rgba(20,20,19,.45); }
dialog::backdrop { background: rgba(20,20,19,.28); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .55s var(--ease-out-quart); }
.dbody { padding: 24px 28px 28px; }
.dbody h2 { margin: 0 0 6px; font: 700 22px/28px var(--sans); letter-spacing: -0.01em; }
.dbody h3 { font: 600 15px var(--sans); }
dialog.vd { width: min(800px, calc(100vw - 32px)); overflow: hidden; border-radius: 28px; }
dialog.vd .vd-scroll { scrollbar-width: none; }
dialog.vd .vd-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
dialog.vd { width: 100%; max-width: 100%; max-height: none; margin: auto 0 0; border: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -18px 40px -20px rgba(20, 20, 19, .5); }
dialog.vd[open] { animation: vdSheet .5s cubic-bezier(.22, 1, .36, 1); }
dialog.vd::backdrop { background: rgba(20, 20, 19, .5); backdrop-filter: blur(2px); }
dialog.vd::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 6px; width: 36px; height: 5px; margin-left: -18px; border-radius: 99px; background: rgba(60, 60, 67, .3); }
}
.pj-actions .pill:disabled { opacity: .4; cursor: default; pointer-events: none; }
dialog.fw { width: min(720px, calc(100vw - 32px)); }
dialog.fw.ni { width: min(600px, calc(100vw - 32px)); }
dialog.fw:not(.ni) { overflow: hidden; }
dialog.mac-set { width: min(860px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 48px)); overflow: hidden; border: 1px solid rgba(20,20,19,.12); border-radius: 16px; background: var(--paper); color: var(--slate-dark); font: 400 13px/18px -apple-system, "SF Pro Text", var(--sans); box-shadow: 0 30px 70px -12px rgba(20,20,19,.45); }
dialog.mac-set[open] { display: grid; grid-template-columns: 230px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
@media (max-width: 640px) {
dialog.mac-set[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
}

/* ===== static/projects.css ===== */
dialog.pj-dlg { width: min(520px, calc(100vw - 32px)); }
.pj-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pj-actions > span { flex: 1; }
.pj-actions .pill { height: 40px; padding: 0 18px; }
.pj-chat .pj-actions .pill { height: 40px; }
.pj-ev .pj-actions > span, .pj-ev .pj-actions [data-x], .pj-ev .pj-actions [type="submit"] { display: none; }
.pj-ev .pj-actions:not(:has([data-del])) { display: none; }
.pj-ev .pj-actions [data-del] { flex: 1; justify-content: center; height: 46px; border-radius: 12px; background: #fff; color: var(--error); font-size: var(--evfs); }
@media (max-width: 680px) {
.pj-ev .pj-grid3 .pj-lab, .pj-ev .pj-done, .pj-ev .pj-actions [data-del] { min-height: 48px; height: auto; }
}

/* ===== static/channel.css ===== */
dialog.fw.cn { width: min(560px, calc(100vw - 32px)); }
dialog.pj-dlg.as-vdlg { width: min(820px, calc(100vw - 32px)); overflow: hidden; }

/* ######## 09-conteudo.css ######## */
/* Painéis, métricas, tags, selos, status, carregando. Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
.status { color: var(--slate-light); min-height: 22px; margin: 14px 0; font-size: 14px; }
.status.err { color: var(--error); }
.badges { display: flex; gap: 6px; margin: 14px 6px 10px; flex-wrap: wrap; }
.badge { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--slate-medium); background: var(--gray-100); border: 1px solid var(--ivory-dark); font-variant-numeric: tabular-nums; }
.badge.hot { background: var(--coral); border-color: transparent; color: var(--coral-ink); }
.badge.fire { background: var(--clay); border-color: transparent; color: #fff; }
.panel { margin: 26px 0 0; padding: 26px 28px; }
.panel h2, .section-title { margin: 0 0 6px; font: 600 20px/25px var(--sans); letter-spacing: -0.01em; }
.panel h2 small { color: var(--slate-light); font: 400 14px var(--sans); }
.muted { color: var(--slate-light); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { border: 1px solid var(--ivory-dark); background: var(--gray-100); color: var(--slate-medium); border-radius: 999px; padding: 6px 13px; font-size: 13px; cursor: pointer; transition: border-color .15s ease-in-out, background-color .15s ease-in-out, transform .4s var(--ease-out-quart); }
.tag:hover { border-color: var(--cloud-light); background: #fff; transform: translateY(-1px); }
.tag b { color: var(--cloud-dark); font-weight: 400; margin-left: 5px; font-size: 12px; }
.tag.in { background: var(--slate-dark); border-color: var(--slate-dark); color: var(--ivory-light); }
.tag.in b { color: var(--cloud-medium); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 20px; }
.stat { padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(20,20,19,.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: rise .7s var(--ease-out-quart) both; }
.stat span { display: block; color: var(--slate-light); font-size: 13px; }
.stat strong { display: block; margin-top: 4px; font: 600 28px/34px var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ring { --v: 0; --c: var(--clay); width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--ivory-dark) 0); position: relative; margin-bottom: 10px; }
.ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--ivory-light); }
.ring b { position: relative; font: 600 22px/28px var(--sans); font-variant-numeric: tabular-nums; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.thinking { display: inline-flex; gap: 5px; }
.thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); animation: pulse 1.2s var(--ease-in-out-quart) infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
.skeleton { border-radius: 20px; height: 300px; background: linear-gradient(100deg, var(--ivory-medium) 30%, #fff 50%, var(--ivory-medium) 70%); background-size: 300% 100%; animation: shimmer 1.6s infinite; }
.us-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 14px; color: var(--slate-medium); }
.us-row b { font-weight: 600; color: var(--slate-dark); font-variant-numeric: tabular-nums; }
.us-bar { height: 8px; border-radius: 999px; background: rgba(20, 20, 19, .08); overflow: hidden; }
.us-bar i { display: block; height: 100%; border-radius: inherit; background: var(--slate-dark); transition: width .6s var(--ease-out-quart); }
.us-bar i.full { background: var(--error); }
.us-note { margin: 4px 0 0; font-size: 13.5px; line-height: 20px; color: var(--slate-light); }
.tags-clamp { max-height: 84px; overflow: hidden; transition: max-height .5s var(--ease-out-quart);
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.tags-clamp.open { -webkit-mask-image: none; mask-image: none; }
.tags-more { margin-top: 6px; height: 36px; padding: 0 12px; }
.tags-more svg.lucide { transition: transform .35s var(--ease-out-quart); }
.tags-more[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }
.ps-grid .skeleton { height: auto; aspect-ratio: 16/11; border-radius: 14px; }
.ps-tags .tag { padding: 5px 10px; font-size: 12.5px; }

/* ===== static/channel.css ===== */
.ch-sec .stat { position: relative; }
.ring.big { width: 96px; height: 96px; margin: 0; flex: none; }
.ring.big::before { inset: 8px; }
.ring.big b { font-size: 28px; }
.as-pager .as-more .thinking { transform: scale(.7); }
@media (max-width: 640px) {
.stats { gap: 8px; }
.stats .stat { border-radius: 14px; }
#chOut .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#chAna + .section-title { margin: 32px 0 12px !important; font-size: 20px; line-height: 1.2; }
}

/* ######## 10-paginacao-e-listas.css ######## */
/* Paginação e lista com números. Recorte automático: a fonte é codigo/completo. */

/* ===== static/channel.css ===== */
.an-terms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.an-terms li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(20, 20, 19, .06); font-size: 14px; }
.an-terms li:last-child { border-bottom: 0; }
.an-terms li[hidden] { display: none; }
.as-pager .pill[data-tpage][aria-current] { background: var(--slate-dark); color: var(--ivory-light); }
.an-terms .tm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-terms .n { flex: none; font: 600 13px/1 var(--sans); color: var(--slate-light); font-variant-numeric: tabular-nums; }
.an-terms .acts { display: flex; gap: 2px; opacity: 0; transition: opacity .2s; }
.an-terms li:hover .acts, .an-terms li:focus-within .acts { opacity: 1; }
.an-terms .acts button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--slate-medium); cursor: pointer; }
.an-terms .acts button:hover { background: rgba(20, 20, 19, .07); color: var(--slate-dark); }
.an-terms .acts svg.lucide { width: 15px; height: 15px; }
@media (hover: none) {
.an-terms .acts { opacity: 1; }
}
.as-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.as-pager .pill { min-width: 38px; justify-content: center; font-variant-numeric: tabular-nums; }
.as-pager .as-more svg.lucide { width: 16px; height: 16px; }
.as-pager .as-more .thinking { transform: scale(.7); }

/* ######## 11-configuracoes.css ######## */
/* Janela de Configurações (estilo Ajustes do Mac). Recorte automático: a fonte é codigo/completo. */

/* ===== static/app.css ===== */
dialog.mac-set { width: min(860px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 48px)); overflow: hidden; border: 1px solid rgba(20,20,19,.12); border-radius: 16px; background: var(--paper); color: var(--slate-dark); font: 400 13px/18px -apple-system, "SF Pro Text", var(--sans); box-shadow: 0 30px 70px -12px rgba(20,20,19,.45); }
dialog.mac-set[open] { display: grid; grid-template-columns: 230px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.ms-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; margin: 8px; padding: 12px 10px; border-radius: 12px; background: var(--ivory-light); box-shadow: 0 0 0 1px rgba(20,20,19,.06), 0 4px 16px rgba(20,20,19,.06); }
.ms-lights { display: flex; gap: 8px; padding: 0 4px; }
.ms-lights > * { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #d6d6d6; }
.ms-lights button { display: grid; place-items: center; padding: 0; border: .5px solid #e0443e; background: #ff5f57; color: transparent; font: 700 11px/1 var(--sans); cursor: pointer; }
.ms-lights button:hover, .ms-lights button:focus-visible { color: rgba(20,20,19,.6); }
.ms-search { display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 999px; background: rgba(20,20,19,.05); color: var(--slate-light); }
.ms-search:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.ms-search svg { width: 14px; height: 14px; flex: none; }
.ms-search input { width: 100%; min-width: 0; height: 28px; border: 0; outline: 0; background: none; font: inherit; color: var(--slate-dark); }
.ms-tabs { display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.ms-tabs button { display: flex; align-items: center; gap: 8px; flex: none; padding: 5px 8px; border: 0; border-radius: 8px; background: none; font: inherit; color: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
.ms-tabs button[hidden] { display: none; }
.ms-tabs button:hover { background: rgba(20,20,19,.05); }
.ms-tabs button[aria-selected="true"] { background: var(--slate-dark); color: var(--ivory-light); }
.ms-tabs span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; }
.ms-tabs span svg { width: 14px; height: 14px; }
.ms-main { min-height: 0; overflow: auto; padding: 20px 24px 24px 16px; }
.ms-main h2 { margin: 0 0 16px; font: 700 17px/22px -apple-system, "SF Pro Display", var(--sans); }
.ms-card { margin-bottom: 12px; padding: 0 14px; border-radius: 12px; background: var(--ivory-light); box-shadow: 0 0 0 1px rgba(20,20,19,.06); }
.ms-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 0; }
.ms-row + .ms-row { border-top: 1px solid rgba(20,20,19,.08); }
.ms-row > div { min-width: 0; overflow-wrap: anywhere; }
.ms-row b { display: block; font-weight: 500; }
.ms-row small { display: block; font-size: 11.5px; color: var(--slate-light); }
.ms-themes { display: flex; gap: 20px; padding: 14px 0; }
.ms-theme { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.ms-theme input { position: absolute; opacity: 0; pointer-events: none; }
.ms-prev { position: relative; width: 120px; height: 76px; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px rgba(128,128,128,.35); background: #f3eee4; }
.ms-prev::before { content: ""; position: absolute; inset: 8px auto 8px 8px; width: 30px; border-radius: 6px; background: #faf9f5; }
.ms-prev::after { content: ""; position: absolute; inset: 14px 10px auto 48px; height: 14px; border-radius: 5px; background: #faf9f5; box-shadow: 0 22px 0 #faf9f5; }
.ms-prev.dark { background: #191919; }
.ms-prev.dark::before { background: #2b2b29; }
.ms-prev.dark::after { background: #2b2b29; box-shadow: 0 22px 0 #2b2b29; }
.ms-theme input:checked + .ms-prev { box-shadow: 0 0 0 3px var(--clay); }
.ms-theme input:focus-visible + .ms-prev { outline: 2px solid var(--focus); outline-offset: 5px; }
.ms-theme input:checked ~ b { font-weight: 600; }
.ms-theme b { font-weight: 400; }
.ms-note { margin: 0; padding: 0 4px; font-size: 11.5px; color: var(--slate-light); }
.ms-meter { padding: 14px; }
.ms-meter-top { display: flex; align-items: center; gap: 10px; }
.ms-meter-top b { flex: 1; min-width: 0; font-weight: 600; }
.ms-meter-top p { margin: 0; color: var(--slate-light); white-space: nowrap; }
.ms-meter-top strong { font-size: 24px; line-height: 28px; font-weight: 700; color: var(--slate-dark); font-variant-numeric: tabular-nums; }
.ms-ico { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--c); color: #fff; }
.ms-ico svg { width: 16px; height: 16px; }
.ms-track { height: 10px; margin: 12px 0 8px; overflow: hidden; border-radius: 999px; background: rgba(20,20,19,.08); }
.ms-track i { display: block; height: 100%; min-width: 10px; border-radius: inherit; background: var(--c); }
.ms-track i[hidden] { display: none; }
.ms-meter-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--slate-light); font-variant-numeric: tabular-nums; }
.ms-meter.full { --c: var(--error) !important; }
.ms-meter.full .ms-meter-foot span:last-child { font-weight: 600; color: var(--error); }
.ms-reset { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; }
.ms-reset svg { width: 16px; height: 16px; margin: 1px 6px 0; flex: none; color: var(--slate-light); }
.ms-reset b { display: block; font-weight: 500; }
.ms-reset small { display: block; font-size: 11.5px; color: var(--slate-light); }
.ms-btn { flex: none; padding: 4px 12px; border: 0; border-radius: 999px; background: rgba(20,20,19,.06); font: 500 13px/18px inherit; font-family: inherit; color: var(--slate-dark); text-decoration: none; cursor: pointer; }
.ms-btn:hover { background: rgba(20,20,19,.1); color: var(--slate-dark); }
.ms-btn.danger { color: var(--error); }
@media (max-width: 640px) {
dialog.mac-set[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.ms-tabs { flex-direction: row; scrollbar-width: none; }
.ms-main { padding: 8px 16px 16px; }
}

/* ---- Otto: seletores de data/hora e chips (copiado do app.css/dark.css do servidor) ---- */
.pick { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; color: var(--slate-dark); font: 400 15px/1 var(--sans);
    transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, background-color .2s; }
.pick span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pick span.ph { color: var(--cloud-dark); }
.pick svg.lucide { width: 17px; height: 17px; flex: none; color: var(--slate-light); }
.pick .chev { width: 15px; height: 15px; color: var(--cloud-dark); transition: transform .35s var(--ease-out-quart); }
.pick[aria-expanded="true"] { border-color: var(--cloud-medium); box-shadow: 0 0 0 4px rgba(217, 119, 87, .12); background: rgba(255, 255, 255, .85); }
.pick[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pk-date { width: 300px; }
.pk-h { display: flex; align-items: center; gap: 8px; padding: 2px 2px 8px 6px; }
.pk-h b { flex: 1; font: 700 16px/22px var(--sans); letter-spacing: -.01em; color: var(--slate-dark); white-space: nowrap; }
.pk-h b span { font-weight: 400; color: var(--cloud-dark); }
.pk-navs { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(20, 20, 19, .05); }
.pk-nav svg.lucide { width: 16px; height: 16px; }
.pk-wd, .pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.pk-wd span { display: grid; place-items: center; height: 26px; font: 600 11px/1 var(--sans); color: var(--cloud-dark); }
.pk-wd span:first-child, .pk-wd span:last-child { color: var(--cloud-medium); }
.pk-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; margin-top: 4px; border-top: 1px solid rgba(20, 20, 19, .07); }
.pk-time { width: 168px; }
.pk-cols { display: flex; align-items: stretch; gap: 4px; }
.pk-col { flex: 1; display: flex; flex-direction: column; gap: 2px; max-height: 232px; overflow-y: auto; scroll-behavior: smooth; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); padding: 14px 0; }
.pk-col::-webkit-scrollbar { display: none; }
.pk-col button { flex: none; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--slate-medium); font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s, color .15s; }
.pk-col button:hover:not(.on) { background: rgba(20, 20, 19, .06); color: var(--slate-dark); }
.pk-col button.on { background: var(--clay); color: #fff; font-weight: 600; }
.pk-sep { align-self: center; font: 600 18px/1 var(--sans); color: var(--cloud-dark); }
@media (max-width: 760px) {
.ps-filters .ps-it.chip .chip-btn { height: 44px; font-size: 17px; }
}

/* áreas com a barra de vidro do Otto escondem a nativa (app.css do Otto) */
.gsc { scrollbar-width: none; }
.gsc::-webkit-scrollbar { display: none; }
