:root {
    --navy: #172554;
    --navy-2: #1e3a8a;
    --blue: #2563eb;
    --sky: #dbeafe;
    --green: #15803d;
    --green-soft: #dcfce7;
    --amber: #d97706;
    --amber-soft: #fef3c7;
    --red: #dc2626;
    --ink: #172033;
    --muted: #687386;
    --line: #e4e9f1;
    --surface: #ffffff;
    --canvas: #f4f7fb;
    --shadow: 0 10px 30px rgba(23, 37, 84, 0.08);
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px clamp(18px, 4vw, 56px);
    color: #fff;
    background: rgba(23, 37, 84, 0.97);
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.18);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; color: var(--navy); background: #fff; font-size: 1.15rem; font-weight: 900; box-shadow: var(--shadow); }
.brand-mark.small { width: 38px; height: 38px; border-radius: 12px; font-size: .85rem; }

.user-menu { display: flex; align-items: center; gap: 10px; }
.avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #3b82f6; font-weight: 800; }
.avatar.tiny { width: 27px; height: 27px; margin-right: 7px; font-size: .72rem; }
.user-copy { display: flex; flex-direction: column; line-height: 1.15; }
.user-copy small { color: #bfdbfe; }

.app-shell { width: min(1500px, 100%); margin: 0 auto; padding: 30px clamp(16px, 3.5vw, 48px) 60px; }
.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: 1.2rem; }
h3 { margin-bottom: 8px; font-size: 1rem; line-height: 1.35; }
.eyebrow { margin-bottom: 8px; color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.muted { margin-bottom: 0; color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 11px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(37, 99, 235, .23); }
.button-primary:hover { background: #1d4ed8; }
.button-secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.button-ghost { min-height: 36px; padding: 7px 11px; color: #dbeafe; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.button-full { width: 100%; }
.button-pick { color: #7c2d12; background: var(--amber-soft); }
.button-done { color: #166534; background: var(--green-soft); }
.icon-button { width: 38px; height: 38px; border: 0; border-radius: 10px; color: var(--muted); background: #eef2f7; font-size: 1.5rem; }

.alert { margin: 0 0 20px; padding: 13px 15px; border: 1px solid; border-radius: 12px; font-size: .9rem; font-weight: 700; }
.alert-success { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.alert-error { color: #991b1b; border-color: #fecaca; background: #fef2f2; }

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.summary-card { position: relative; overflow: hidden; padding: 18px 20px; border: 1px solid #fde68a; border-radius: 16px; background: #fffbeb; box-shadow: var(--shadow); }
.summary-card.blue { border-color: #bfdbfe; background: #eff6ff; }
.summary-card.green { border-color: #bbf7d0; background: #f0fdf4; }
.summary-card span, .summary-card small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }
.summary-card strong { display: block; margin: 4px 0; font-size: 2rem; line-height: 1; }

.add-task-panel { margin-bottom: 22px; padding: 22px; border: 1px solid #bfdbfe; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.add-task-panel[hidden] { display: none; }
.task-form-backdrop, .mobile-task-nav { display: none; }
.task-form-backdrop[hidden] { display: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.task-form { display: grid; grid-template-columns: 1fr 190px 190px; gap: 15px; }
.task-form label, .stack-form label { display: flex; flex-direction: column; gap: 7px; color: #344054; font-size: .83rem; font-weight: 800; }
.field-wide { grid-column: 1 / -1; }
input, textarea, select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd5e2; border-radius: 10px; color: var(--ink); background: #fff; outline: none; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.task-column { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.66); }
.column-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.column-head > div { display: flex; align-items: center; gap: 9px; }
.column-head strong { display: grid; place-items: center; min-width: 29px; height: 29px; border-radius: 10px; background: #fff; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }
.column-head.blue .status-dot { background: var(--blue); box-shadow: 0 0 0 5px var(--sky); }
.column-head.green .status-dot { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.task-list { display: grid; gap: 12px; max-height: calc(100vh - 320px); min-height: 180px; padding: 12px; overflow-y: auto; }
.task-card { position: relative; padding: 15px; border: 1px solid var(--line); border-left: 4px solid #f59e0b; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(23,37,84,.06); }
.task-card.priority-high { border-left-color: var(--red); }
.task-card.priority-low { border-left-color: #64748b; }
.task-card.is-mine { outline: 2px solid rgba(37,99,235,.18); }
.task-card p { margin-bottom: 13px; color: var(--muted); font-size: .86rem; }
.task-meta, .task-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.task-meta { margin-bottom: 10px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.task-foot { margin-top: 14px; color: var(--muted); font-size: .74rem; }
.priority-badge { padding: 4px 8px; border-radius: 999px; color: #92400e; background: var(--amber-soft); font-size: .66rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.priority-high .priority-badge { color: #991b1b; background: #fee2e2; }
.priority-low .priority-badge { color: #334155; background: #e2e8f0; }
.assignee { display: flex; align-items: center; margin-top: 12px; color: #334155; font-size: .78rem; font-weight: 800; }
.completed-card { border-left-color: var(--green); opacity: .86; }
.completed-card h3 { color: #4b5563; text-decoration: line-through; }
.completed-card .priority-badge { color: #166534; background: var(--green-soft); }
.empty-state { display: grid; place-items: center; align-content: center; min-height: 150px; padding: 20px; color: #8b96a8; text-align: center; }
.empty-state span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 9px; border: 1px dashed #cbd5e1; border-radius: 50%; font-weight: 900; }
.empty-state p { margin: 0; font-size: .85rem; }

.login-page { min-height: 100vh; background: #eaf0fb; }
.login-shell { display: grid; grid-template-columns: 1.15fr .85fr; width: min(980px, calc(100% - 32px)); min-height: 610px; margin: min(9vh, 70px) auto; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(23,37,84,.2); }
.login-brand { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 7vw, 74px); color: #fff; background: linear-gradient(145deg, #172554, #1e40af); }
.login-brand .eyebrow { color: #93c5fd; }
.login-brand h1 { max-width: 540px; margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.login-brand > p:not(.eyebrow) { color: #dbeafe; }
.login-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.login-steps span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); font-size: .8rem; }
.login-steps b { color: #93c5fd; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 58px); }
.login-card h2 { margin-bottom: 7px; font-size: 2rem; }
.stack-form { display: grid; gap: 16px; margin-top: 24px; }
.demo-login { display: grid; gap: 2px; margin-top: 24px; padding: 13px; border-radius: 11px; color: #475569; background: #f1f5f9; font-size: .78rem; }

@media (max-width: 980px) {
    .board { grid-template-columns: 1fr; }
    .task-list { max-height: none; }
    .task-form { grid-template-columns: 1fr 1fr; }
    .task-form .field-wide { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .task-page { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    .task-page.task-form-open { overflow: hidden; }
    .topbar { min-height: 62px; padding: 9px 13px; }
    .user-copy { display: none; }
    .brand > span:last-child { display: none; }
    .avatar { width: 34px; height: 34px; }
    .button-ghost { min-height: 34px; border-radius: 9px; }
    .app-shell { padding: 20px 12px 30px; }
    .dashboard-head { align-items: stretch; flex-direction: column; margin-bottom: 18px; }
    .dashboard-head h1 { font-size: 1.75rem; }
    .dashboard-head .muted { font-size: .86rem; }
    .desktop-add-button { display: none; }
    .summary-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .summary-card { padding: 13px 10px; border-radius: 13px; box-shadow: 0 5px 15px rgba(23,37,84,.06); }
    .summary-card strong { font-size: 1.55rem; }
    .summary-card small { line-height: 1.25; }
    .task-form-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 40; display: block; background: rgba(15,23,42,.58); backdrop-filter: blur(2px); }
    .add-task-panel:not([hidden]) { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: block; max-height: 88vh; margin: 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -18px 45px rgba(15,23,42,.24); animation: mobileSheetIn .24s ease-out; }
    .add-task-panel .section-heading { position: sticky; top: -20px; z-index: 2; margin: -20px -16px 18px; padding: 18px 16px 14px; border-bottom: 1px solid var(--line); background: #fff; }
    .task-form { grid-template-columns: 1fr; }
    .task-form label, .task-form .field-wide { grid-column: 1; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .board { gap: 14px; }
    .task-column { scroll-margin-top: 74px; border-radius: 16px; background: #f9fbff; }
    .column-head { position: sticky; top: 62px; z-index: 8; border-radius: 16px 16px 0 0; background: rgba(249,251,255,.96); backdrop-filter: blur(8px); }
    .task-list { min-height: 125px; padding: 10px; }
    .task-card { padding: 14px; border-radius: 12px; }
    .task-card h3 { font-size: 1.02rem; }
    .task-foot { align-items: stretch; flex-direction: column; gap: 10px; }
    .task-foot form, .task-foot .button { width: 100%; }
    .task-foot .button { min-height: 46px; }
    .mobile-task-nav { position: fixed; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); left: 10px; z-index: 35; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 64px; padding: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(23,37,84,.96); box-shadow: 0 14px 35px rgba(15,23,42,.34); backdrop-filter: blur(12px); }
    .mobile-task-nav a, .mobile-task-nav button { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 13px; color: #bfdbfe; background: transparent; font-size: .66rem; font-weight: 800; text-decoration: none; }
    .mobile-task-nav a.is-active { color: #fff; background: rgba(255,255,255,.1); }
    .mobile-task-nav b { position: absolute; top: 3px; right: calc(50% - 25px); display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 10px; color: var(--navy); background: #fff; font-size: .58rem; }
    .mobile-nav-icon { font-size: 1.08rem; font-weight: 900; line-height: 1.25; }
    .amber-icon { color: #fbbf24; }
    .blue-icon { color: #60a5fa; }
    .green-icon { color: #4ade80; }
    .add-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-top: -8px; border-radius: 9px; color: #fff; background: var(--blue); box-shadow: 0 5px 12px rgba(37,99,235,.42); font-size: 1.35rem; }
    .login-shell { grid-template-columns: 1fr; margin: 16px auto; }
    .login-brand { min-height: 280px; padding: 34px 28px; }
    .login-brand h1 { font-size: 2.25rem; }
    .login-card { padding: 32px 24px; }
}

@media (max-width: 430px) {
    .summary-card span { font-size: .68rem; }
    .summary-card small { display: none; }
    .button-ghost { padding-inline: 9px; }
    .mobile-task-nav { right: 7px; left: 7px; }
}

/* Email reminder settings */
.email-reminder-settings { display: grid; grid-template-columns: auto minmax(190px, 1fr) minmax(390px, auto); align-items: center; gap: 13px; margin-bottom: 20px; padding: 14px 15px; border: 1px solid rgba(96,165,250,.2); border-radius: 17px; background: rgba(15,23,42,.68); box-shadow: 0 14px 34px rgba(0,0,0,.15); backdrop-filter: blur(14px); }
.email-reminder-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #67e8f9; background: rgba(6,182,212,.1); font-size: 1.1rem; }
.email-reminder-copy { min-width: 0; }
.email-reminder-copy strong, .email-reminder-copy span { display: block; }
.email-reminder-copy strong { color: #eaf2ff; font-size: .88rem; }
.email-reminder-copy span { margin-top: 2px; color: #91a4c4; font-size: .72rem; }
.email-reminder-form { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; align-items: center; gap: 8px; }
.email-reminder-form input[type="email"] { min-height: 40px; color: #eaf2ff; border-color: rgba(148,163,184,.22); background: rgba(2,6,23,.52); }
.email-toggle { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid rgba(148,163,184,.18); border-radius: 10px; color: #a9bad2; background: rgba(255,255,255,.04); font-size: .72rem; font-weight: 800; cursor: pointer; }
.email-toggle input { width: 16px; min-height: 16px; margin: 0; accent-color: #2563eb; }
.email-reminder-form .button { min-height: 40px; }

@media (max-width: 900px) {
    .email-reminder-settings { grid-template-columns: auto 1fr; }
    .email-reminder-form { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .email-reminder-settings { padding: 13px; }
    .email-reminder-form { grid-template-columns: 1fr auto; }
    .email-reminder-form input[type="email"] { grid-column: 1 / -1; }
}

@keyframes mobileSheetIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Futuristic task workspace */
.task-page {
    min-height: 100vh;
    color: #eaf2ff;
    background:
        radial-gradient(circle at 12% 8%, rgba(37,99,235,.22), transparent 30%),
        radial-gradient(circle at 88% 28%, rgba(14,165,233,.13), transparent 34%),
        linear-gradient(145deg, #070b17 0%, #0b1226 52%, #08101f 100%);
}
.ambient { position: fixed; z-index: 0; width: 340px; height: 340px; border-radius: 50%; filter: blur(95px); pointer-events: none; opacity: .28; }
.ambient-one { top: 8%; left: -180px; background: #2563eb; }
.ambient-two { right: -180px; bottom: 6%; background: #06b6d4; }
.task-page .topbar { border-bottom: 1px solid rgba(125,211,252,.14); background: rgba(7,11,23,.78); box-shadow: 0 12px 35px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.task-page .brand-mark { color: #eaf2ff; border: 1px solid rgba(96,165,250,.45); background: linear-gradient(145deg, rgba(37,99,235,.85), rgba(6,182,212,.68)); box-shadow: 0 0 28px rgba(37,99,235,.34); }
.task-page .app-shell { position: relative; z-index: 1; }
.task-page .muted, .task-page .summary-card span, .task-page .summary-card small { color: #95a6c5; }
.task-page .eyebrow { color: #67e8f9; text-shadow: 0 0 18px rgba(34,211,238,.28); }
.task-page .summary-card { border-color: rgba(251,191,36,.23); background: linear-gradient(145deg, rgba(44,32,17,.65), rgba(15,23,42,.72)); box-shadow: 0 18px 45px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(18px); }
.task-page .summary-card.blue { border-color: rgba(96,165,250,.25); background: linear-gradient(145deg, rgba(30,58,138,.32), rgba(15,23,42,.72)); }
.task-page .summary-card.green { border-color: rgba(74,222,128,.22); background: linear-gradient(145deg, rgba(20,83,45,.34), rgba(15,23,42,.72)); }
.task-page .summary-card strong { color: #f8fbff; text-shadow: 0 0 22px rgba(96,165,250,.25); }
.board-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 220px auto; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px; border: 1px solid rgba(148,163,184,.16); border-radius: 18px; background: rgba(15,23,42,.62); box-shadow: 0 14px 35px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.search-box { position: relative; display: block; }
.search-box > span { position: absolute; top: 50%; left: 14px; z-index: 1; color: #67e8f9; font-size: 1.35rem; transform: translateY(-53%); }
.search-box input { padding-left: 42px; }
.filter-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; color: #91a4c4; font-size: .75rem; font-weight: 800; }
.filter-result { padding-right: 8px; color: #67e8f9; font-size: .8rem; font-weight: 900; white-space: nowrap; }
.task-page .board-toolbar input, .task-page .board-toolbar select { color: #eaf2ff; border-color: rgba(148,163,184,.2); background: rgba(2,6,23,.52); }
.task-page .board-toolbar select option { color: #111827; background: #fff; }
.task-page .task-column { border-color: rgba(148,163,184,.16); background: rgba(15,23,42,.5); box-shadow: 0 18px 45px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.task-page .column-head { border-color: rgba(148,163,184,.14); }
.task-page .column-head strong { color: #eaf2ff; background: rgba(255,255,255,.08); }
.task-page .task-card { color: #eaf2ff; border-color: rgba(148,163,184,.16); background: linear-gradient(155deg, rgba(30,41,59,.92), rgba(15,23,42,.96)); box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.task-page .task-card:hover { transform: translateY(-3px); border-color: rgba(96,165,250,.32); box-shadow: 0 16px 34px rgba(0,0,0,.3), 0 0 22px rgba(37,99,235,.08); }
.task-card[hidden] { display: none; }
.task-page .task-card p, .task-page .task-meta, .task-page .task-foot { color: #9aaaca; }
.task-page .assignee { color: #c9d8ee; }
.task-page .completed-card h3 { color: #9aaaca; }
.task-page .empty-state { color: #70819e; }
.task-page .add-task-panel { color: #eaf2ff; border-color: rgba(96,165,250,.28); background: linear-gradient(155deg, rgba(15,23,42,.98), rgba(7,11,23,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 35px rgba(37,99,235,.1); }
.task-page .task-form label { color: #c8d5e9; }
.task-page .task-form input:not(.file-input), .task-page .task-form textarea, .task-page .task-form select { color: #eef6ff; border-color: rgba(148,163,184,.23); background: rgba(2,6,23,.58); }
.task-page .task-form select option { color: #111827; background: #fff; }
.task-page .icon-button { color: #c8d5e9; background: rgba(148,163,184,.12); }
.upload-zone { position: relative; align-items: center; justify-content: center; min-height: 145px; padding: 22px; overflow: hidden; border: 1px dashed rgba(103,232,249,.42); border-radius: 16px; color: #c8d5e9; background: rgba(6,182,212,.055); text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: #67e8f9; background: rgba(6,182,212,.12); transform: translateY(-1px); }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(103,232,249,.28); border-radius: 14px; color: #67e8f9; background: rgba(6,182,212,.1); font-size: 1.45rem; box-shadow: 0 0 25px rgba(6,182,212,.11); }
.upload-zone small { color: #8193b0; font-weight: 600; }
.selected-files { position: relative; z-index: 1; max-width: 100%; color: #93c5fd; font-size: .73rem; font-weight: 700; overflow-wrap: anywhere; pointer-events: none; }
.attachment-list { display: grid; gap: 7px; margin: 13px 0 5px; }
.attachment-chip { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; padding: 7px; border: 1px solid rgba(96,165,250,.17); border-radius: 11px; color: #dbeafe; background: rgba(37,99,235,.08); text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.attachment-chip:hover { border-color: rgba(103,232,249,.35); background: rgba(6,182,212,.1); }
.attachment-chip img, .file-icon { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.file-icon { display: grid; place-items: center; color: #67e8f9; background: rgba(6,182,212,.13); font-size: .56rem; font-weight: 900; }
.attachment-chip > span:last-child { min-width: 0; }
.attachment-chip b, .attachment-chip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-chip b { font-size: .72rem; }
.attachment-chip small { color: #8496b4; font-size: .62rem; }

@media (max-width: 720px) {
    .task-page .task-column { background: rgba(15,23,42,.63); }
    .task-page .column-head { background: rgba(9,14,33,.94); }
    .task-page .add-task-panel .section-heading { border-color: rgba(148,163,184,.15); background: #0b1226; }
    .board-toolbar { position: sticky; top: 70px; z-index: 12; grid-template-columns: 1fr 110px; gap: 8px; padding: 8px; border-radius: 14px; }
    .filter-box { display: block; }
    .filter-box > span { display: none; }
    .filter-result { display: none; }
    .board-toolbar input, .board-toolbar select { min-height: 42px; font-size: .78rem; }
    .search-box input { padding-left: 38px; }
    .upload-zone { min-height: 132px; }
}

@media (max-width: 430px) {
    .board-toolbar { grid-template-columns: minmax(0, 1fr) 98px; }
    .search-box input { font-size: .72rem; }
}
