@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

/* Light theme (default) — deeper, warmer palette with more color than pure white. */
:root {
    --bg: #e6dfd0;          /* deeper warm sand */
    --bg-soft: #d9d0bd;
    --surface: #f5efe1;     /* card surface (still warm, not white) */
    --ink: #1a1916;         /* near-black text */
    --muted: #6a655c;
    --line: #cec3ac;        /* hairline borders */
    --accent: #22c55e;      /* bright green */
    --accent-ink: #15803d;
    --accent-soft: #cdead0;
    --terracotta: #c2683f;  /* warm secondary, used in shapes */
    --plum: #7a4a86;        /* violet accent */
    --sky: #4a7ea8;         /* blue accent */
    --amber: #e0a355;       /* golden accent */
    --ok: #2f7d57;
    --danger: #b84a3b;
    --shape-a: var(--accent-soft);
    --shape-b: #efd8c3;
    --shape-c: #c9d7e2;
    --shape-d: #e6cfe0;
    --shape-e: #d8e2c4;
    --shape-opacity: 0.55;
    --shape-blur: 70px;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 14px 40px -18px rgba(29, 28, 24, 0.30);
    --shadow-sm: 0 6px 18px -10px rgba(29, 28, 24, 0.28);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: light;
}

/* Dark theme — activated when <html data-theme="dark"> is set. */
:root[data-theme="dark"] {
    --bg: #14151a;
    --bg-soft: #1c1e26;
    --surface: #1f2230;
    --ink: #ece7d9;
    --muted: #9a9384;
    --line: #2c2f3d;
    --accent: #38d47a;
    --accent-ink: #a7f3c5;
    --accent-soft: #1f3b2a;
    --terracotta: #e08a5f;
    --plum: #b98cc7;
    --sky: #7ab2df;
    --amber: #f0c078;
    --ok: #6dd3a1;
    --danger: #e57a68;
    --shape-a: #1e3a2a;
    --shape-b: #3a2a1e;
    --shape-c: #1e2a3a;
    --shape-d: #3a1e34;
    --shape-e: #2a3a1e;
    --shape-opacity: 0.65;
    --shape-blur: 90px;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.75);
    --shadow-sm: 0 8px 22px -12px rgba(0, 0, 0, 0.65);
    color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    line-height: 1.6;
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
}

/* --------------------------------------------------------- Floating shapes.
   A fixed container full of blurred, slowly drifting blobs behind everything.
   Injected once by common.js (`ensureBackdrop`). */
.backdrop {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.backdrop .blob {
    position: absolute; border-radius: 50%;
    filter: blur(var(--shape-blur));
    opacity: var(--shape-opacity);
    will-change: transform;
}
.backdrop .blob.b1 { width: 460px; height: 460px; top: -160px; right: -120px;
    background: radial-gradient(circle at 30% 30%, var(--shape-a), transparent 70%);
    animation: drift1 26s ease-in-out infinite alternate; }
.backdrop .blob.b2 { width: 520px; height: 520px; bottom: -220px; left: -160px;
    background: radial-gradient(circle at 50% 50%, var(--shape-b), transparent 70%);
    animation: drift2 32s ease-in-out infinite alternate; }
.backdrop .blob.b3 { width: 380px; height: 380px; top: 40%; left: -140px;
    background: radial-gradient(circle at 50% 50%, var(--shape-c), transparent 70%);
    animation: drift3 24s ease-in-out infinite alternate; }
.backdrop .blob.b4 { width: 320px; height: 320px; top: 15%; left: 55%;
    background: radial-gradient(circle at 50% 50%, var(--shape-d), transparent 70%);
    animation: drift4 30s ease-in-out infinite alternate; }
.backdrop .blob.b5 { width: 280px; height: 280px; bottom: 20%; right: -80px;
    background: radial-gradient(circle at 50% 50%, var(--shape-e), transparent 70%);
    animation: drift5 28s ease-in-out infinite alternate; }
.backdrop .blob.b6 { width: 220px; height: 220px; top: 65%; left: 30%;
    background: radial-gradient(circle at 50% 50%, var(--shape-a), transparent 70%);
    animation: drift6 22s ease-in-out infinite alternate; }

@keyframes drift1 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-60px, 40px) rotate(20deg); } }
@keyframes drift2 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(80px, -50px) rotate(-15deg); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(70px, -30px) scale(1.15); } }
@keyframes drift4 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-90px, 60px) rotate(25deg); } }
@keyframes drift5 { from { transform: translate(0,0) scale(1); } to { transform: translate(-70px, -40px) scale(1.2); } }
@keyframes drift6 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(50px, -70px) rotate(-30deg); } }

@media (prefers-reduced-motion: reduce) {
    .backdrop .blob { animation: none !important; }
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------------------------------------------------------------- Nav */
nav.site-nav {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
nav.site-nav .theme-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-left: 0.4rem;
    border-radius: 50%; background: transparent; color: var(--ink);
    border: 1px solid var(--line); cursor: pointer; padding: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
nav.site-nav .theme-toggle:hover { background: var(--bg-soft); transform: translateY(-1px); }
nav.site-nav .theme-toggle svg { width: 20px; height: 20px; }
nav.site-nav .theme-toggle .icon-sun { display: none; }
nav.site-nav .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] nav.site-nav .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] nav.site-nav .theme-toggle .icon-moon { display: none; }
nav.site-nav .wrap { display: flex; align-items: center; gap: 0.5rem; height: 66px; }
nav.site-nav .brand {
    font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
    color: var(--ink); margin-right: auto; letter-spacing: -0.02em;
}
nav.site-nav a.link {
    color: var(--muted); font-weight: 500; font-size: 0.95rem;
    padding: 0.4rem 0.85rem; border-radius: 999px; transition: all 0.15s ease;
}
nav.site-nav a.link:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
nav.site-nav a.link.active { color: var(--accent-ink); background: var(--accent-soft); }
nav.site-nav a.login-btn {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-left: 0.4rem;
    border-radius: 50%; background: var(--ink); color: var(--bg);
    transition: transform 0.15s ease, background 0.15s ease;
}
nav.site-nav a.login-btn:hover { background: var(--accent); transform: translateY(-1px); text-decoration: none; }
nav.site-nav a.login-btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- Hero */
.hero { padding: 5.5rem 0 3rem; text-align: center; position: relative; }
.hero .eyebrow {
    display: inline-block; font-family: var(--sans); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent);
    background: var(--accent-soft); padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; margin: 0 0 1rem; }

/* ---- Animated title ----
   Each letter drops in from above with a slight rotation + blur, staggered
   left-to-right. A slow color-shifting gradient continuously sweeps across
   the fully-revealed title, and a soft underline draws in beneath it. */
.title-stage { position: relative; display: inline-block; margin: 0 0 1rem; }
.title-stage h1 { margin: 0; }

.hero-title {
    display: inline-block; position: relative;
    background-image: linear-gradient(
        90deg,
        var(--accent) 0%,
        var(--sky) 25%,
        var(--plum) 50%,
        var(--terracotta) 75%,
        var(--amber) 100%
    );
    background-size: 300% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: title-sheen 12s linear infinite;
}
.hero-title .ltr {
    display: inline-block; white-space: pre;
    opacity: 0;
    transform: translateY(-40px) rotate(-8deg);
    filter: blur(6px);
    animation: letter-drop 0.7s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.hero-title .ltr.space { min-width: 0.35em; }
@keyframes letter-drop {
    0%   { opacity: 0; transform: translateY(-40px) rotate(-8deg); filter: blur(6px); }
    60%  { opacity: 1; transform: translateY(4px) rotate(1deg); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}
@keyframes title-sheen {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
/* Underline stroke that draws in after the letters land. */
.title-stage::after {
    content: ""; position: absolute; left: 8%; right: 8%; bottom: -10px; height: 4px; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--plum), var(--sky));
    transform: scaleX(0); transform-origin: left center;
    animation: title-underline 0.9s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
    animation-delay: var(--title-underline-delay, 1s);
    opacity: 0.75;
}
@keyframes title-underline { to { transform: scaleX(1); } }

/* Reduced-motion / fallback: show the title immediately. */
@media (prefers-reduced-motion: reduce) {
    .hero-title { animation: none; }
    .hero-title .ltr { opacity: 1; transform: none; filter: none; animation: none; }
    .title-stage::after { animation: none; transform: scaleX(1); }
}
.hero .subtitle { font-family: var(--sans); font-size: 1.25rem; color: var(--accent-ink); font-weight: 500; margin: 0 0 1.25rem; }
.hero .message { color: var(--muted); max-width: 620px; margin: 0 auto; white-space: pre-wrap; font-size: 1.05rem; }

/* ---------------------------------------------------------------- Sections */
section { padding: 2.5rem 0; }
section > h2 {
    font-size: 1.9rem; margin: 0 0 1.5rem; display: flex; align-items: center; gap: 0.7rem;
}
section > h2::before {
    content: ""; width: 14px; height: 14px; border-radius: 4px;
    background: var(--terracotta); transform: rotate(12deg); display: inline-block;
}
section:nth-of-type(2n) > h2::before { background: var(--plum); }
section:nth-of-type(3n) > h2::before { background: var(--sky); }
section:nth-of-type(4n) > h2::before { background: var(--amber); }

/* ---------------------------------------------------------------- Skills */
.skill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.95rem; font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.skill-icon { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.skill-emoji { font-size: 1.15rem; line-height: 1; }
.skill.small { font-size: 0.82rem; padding: 0.28rem 0.7rem; box-shadow: none; }
.skill.small .skill-icon { width: 16px; height: 16px; }

/* Proficiency level dots */
.level-dots { display: inline-flex; align-items: center; gap: 3px; margin-left: 0.15rem; }
.level-dots .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--line); border: 1px solid var(--muted); opacity: 0.5;
}
.level-dots .dot.on { background: var(--accent); border-color: var(--accent); opacity: 1; }

/* ---------------------------------------------------------------- Cards / grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img.thumb { width: 100%; height: 180px; object-fit: cover; background: var(--bg-soft); }
.card .body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card .actions { margin-top: auto; padding-top: 0.4rem; display: flex; gap: 0.9rem; align-items: center; }

/* ---------------------------------------------------------------- Experience timeline */
.exp { border-left: 2px solid var(--line); padding: 0 0 1.5rem 1.4rem; position: relative; }
.exp:last-child { padding-bottom: 0; }
.exp::before {
    content: ""; position: absolute; left: -8px; top: 5px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--accent);
}
.exp h3 { margin: 0; font-size: 1.2rem; }
.exp .meta { color: var(--muted); font-size: 0.92rem; }
.exp p { margin: 0.4rem 0 0; white-space: pre-wrap; }

/* ---------------------------------------------------------------- Forms */
form.stack { display: grid; gap: 0.9rem; }
label { font-size: 0.88rem; color: var(--muted); font-weight: 500; display: grid; gap: 0.35rem; }
input, textarea, select {
    width: 100%; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    font: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { resize: vertical; min-height: 96px; }

button, .btn {
    background: var(--ink); color: var(--bg); border: none; cursor: pointer;
    padding: 0.65rem 1.4rem; border-radius: 999px; font-weight: 600; font: inherit; font-weight: 600;
    text-decoration: none; display: inline-block; transition: transform 0.15s ease, background 0.15s ease;
}
button:hover, .btn:hover { background: var(--accent); transform: translateY(-1px); text-decoration: none; }
button.secondary, .btn.secondary {
    background: transparent; color: var(--ink); border: 1px solid var(--line);
}
button.secondary:hover, .btn.secondary:hover { background: var(--bg-soft); color: var(--ink); }
button.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
button.danger:hover { background: var(--danger); color: var(--bg); }
button:disabled { opacity: 0.55; cursor: default; transform: none; }

.notice { min-height: 1.2rem; font-size: 0.9rem; }
.notice.error { color: var(--danger); }
.notice.ok { color: var(--ok); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------------------------------------------------------------- Auth card (login) */
.auth-card {
    max-width: 400px; margin: 4rem auto; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2.25rem; box-shadow: var(--shadow);
}
.auth-card .auth-icon {
    width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft);
    color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 1rem;
}
.auth-card .auth-icon svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- Dashboard */
.dash-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1rem; }
.dash-head h2 { margin: 0; font-size: 2rem; }
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.tab {
    background: transparent; border: 1px solid transparent; color: var(--muted);
    padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.92rem;
    transition: all 0.15s ease; transform: none;
}
.tab:hover { background: var(--bg-soft); color: var(--ink); }
.tab.active { color: var(--bg); background: var(--ink); }
.panel { display: none; animation: fade 0.25s ease; }
.panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.row { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.row > * { flex: 1; min-width: 280px; }
.col-form { max-width: 460px; }
.col-list { max-width: 440px; }

.item {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 0.85rem 1rem; margin-bottom: 0.7rem; box-shadow: var(--shadow-sm);
}
.item .top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: start; }
.item .top strong { font-size: 1.02rem; font-weight: 600; }
.item-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.item-actions button { padding: 0.3rem 0.75rem; font-size: 0.82rem; }

/* Draggable project rows */
.item.draggable { display: flex; align-items: center; gap: 0.75rem; cursor: grab; }
.item.draggable .drag-handle { color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: grab; user-select: none; }
.item.draggable .grow { flex: 1; min-width: 0; }
.item.dragging { opacity: 0.5; cursor: grabbing; border-style: dashed; border-color: var(--accent); }
.item.draggable.over-target { box-shadow: 0 0 0 2px var(--accent); }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks label {
    flex-direction: row; align-items: center; gap: 0.4rem; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.75rem; cursor: pointer;
    color: var(--ink); font-weight: 500;
}
.checks input { width: auto; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem; }
legend { color: var(--muted); padding: 0 0.4rem; }

footer.site-footer { padding: 3rem 0; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------- Toasts */
/* Container: fixed to the top-right, stacks toasts vertically. */
.toast-root {
    position: fixed; top: 1rem; right: 1rem; z-index: 1000;
    display: flex; flex-direction: column; gap: 0.6rem;
    max-width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm); padding: 0.7rem 2rem 0.7rem 0.9rem;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
    font-size: 0.92rem;
}
.toast.visible { opacity: 1; transform: translateX(0); }
.toast.leaving { opacity: 0; transform: translateX(24px); }
.toast-title { font-weight: 600; margin-bottom: 0.15rem; }
.toast-body { color: var(--muted); word-break: break-word; }
.toast-close {
    position: absolute; top: 0.35rem; right: 0.45rem;
    background: transparent; border: 0; color: var(--muted);
    font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.35rem;
    border-radius: 6px;
}
.toast-close:hover { background: var(--bg-soft); color: var(--ink); }
.toast-info    { border-left-color: var(--sky); }
.toast-success { border-left-color: var(--ok); }
.toast-warn    { border-left-color: var(--danger); }

/* ---------------------------------------------------------------- Cooker admin */
.cooker-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; margin: 0.5rem 0 1.5rem; }
.cooker-stat {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 1rem 0.75rem; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
    cursor: pointer; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform 0.15s ease, border-color 0.15s ease;
}
.cooker-stat:hover { transform: translateY(-2px); background: var(--surface); border-color: var(--accent); color: var(--ink); }
.cooker-stat-n { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--accent-ink); }
.cooker-stat-l { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

.cooker-subtabs { margin-bottom: 1rem; }
.cooker-toolbar { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.cooker-toolbar input { flex: 1; }

.cooker-crumbs { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.9rem; font-size: 0.9rem; }
.cooker-crumbs .crumb { color: var(--accent-ink); cursor: pointer; }
.cooker-crumbs .crumb.current { color: var(--muted); cursor: default; }
.cooker-crumbs .crumb-sep { color: var(--muted); }

.cooker-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cooker-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.cooker-table th, table.cooker-table td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.cooker-table th { font-weight: 600; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-soft); }
table.cooker-table tbody tr:last-child td { border-bottom: none; }
table.cooker-table tbody tr:hover { background: var(--bg-soft); }
.cooker-row-actions { display: flex; gap: 0.35rem; justify-content: flex-end; }
button.tiny { padding: 0.25rem 0.6rem; font-size: 0.78rem; }

/* Modal overlay + card */
.cooker-modal {
    position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,0.45);
    display: flex; align-items: flex-start; justify-content: center; padding: 3rem 1rem; overflow-y: auto;
}
.cooker-modal-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; width: 100%; max-width: 520px; box-shadow: var(--shadow);
}
.cooker-modal-card .dash-head h3 { margin: 0; }

/* Cooker AI model picker */
.cooker-ai-bar { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 0.9rem; }
.cooker-ai-global { display: flex; flex-direction: row; align-items: center; gap: 0.6rem; font-weight: 600; margin: 0; }
select.cooker-ai-select { width: auto; min-width: 12rem; max-width: 22rem; padding: 0.3rem 0.5rem; font-size: 0.85rem; }
select.cooker-ai-select.is-override { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
