:root{
    --bg:#f4f7fb;
    --card:#ffffff;
    --text:#0f172a;
    --muted:#64748b;
    --line:#e2e8f0;
    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --danger:#dc2626;
    --success:#16a34a;
    --warning:#d97706;
    --shadow:0 20px 60px rgba(15,23,42,.08);
    --radius:20px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
.hidden{display:none!important}.top-gap{margin-top:18px}.subline{color:var(--muted);margin:6px 0 0}.compact-form{max-width:760px}.form-actions.align-end{align-self:end;display:flex;align-items:flex-end}
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:22px;padding:14px 28px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.logo{font-weight:900;color:var(--text);font-size:18px;letter-spacing:.2px;white-space:nowrap}.logo span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--primary);color:#fff;margin-right:8px}
.topnav{display:flex;align-items:center;gap:4px;flex:1;overflow:visible}.topnav a,.nav-dropdown summary{color:var(--muted);font-weight:700;padding:10px 13px;border-radius:12px;white-space:nowrap;cursor:pointer;list-style:none}.nav-dropdown summary::-webkit-details-marker{display:none}.nav-dropdown summary::after{content:"▾";display:inline-block;margin-left:8px;font-size:10px;transition:transform .18s ease}.nav-dropdown[open] summary::after{transform:rotate(180deg)}.topnav a.active,.topnav a:hover,.nav-dropdown.active summary,.nav-dropdown[open] summary,.nav-dropdown summary:hover{background:#eff6ff;color:var(--primary);text-decoration:none}.nav-dropdown{position:relative}.dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:40;display:grid;gap:4px;min-width:190px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.14)}.dropdown-menu a{display:block;color:#334155;padding:10px 12px}.dropdown-menu a.active,.dropdown-menu a:hover{background:#eff6ff;color:var(--primary);text-decoration:none}
.userbox{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;white-space:nowrap}.userbox span{font-weight:800;color:var(--text)}.userbox b{font-size:12px;background:#f1f5f9;padding:5px 8px;border-radius:999px;color:#334155}.userbox a{font-weight:800}
.container{max-width:1480px;margin:0 auto;padding:28px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:8px 0 22px}.page-head h1{font-size:34px;line-height:1.1;margin:0}.eyebrow{margin:0 0 8px;color:var(--primary);font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:.1em}
.grid{display:grid;gap:22px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.wide-left{grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)}.stack{display:grid;gap:22px;align-content:start}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card h2{margin:0 0 4px;font-size:21px}.card h3{margin:18px 0 8px}.card-title{margin-bottom:18px}.card-title p{margin:4px 0 0;color:var(--muted)}.row-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.moscow-clock{background:#0f172a;color:#fff;border-radius:18px;padding:14px 18px;min-width:210px;box-shadow:0 15px 45px rgba(15,23,42,.18)}.moscow-clock span{display:block;color:#93c5fd;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.moscow-clock strong{display:block;font-size:18px;margin-top:3px}.moscow-clock b{display:block;font-size:28px;letter-spacing:.04em;margin-top:2px}
.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#dbeafe,transparent 32%),linear-gradient(135deg,#f8fafc,#eef2ff)}.login-card{width:min(430px,calc(100vw - 34px));background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:34px}.login-card h1{margin:10px 0 20px;font-size:28px}.brand-mark{width:58px;height:58px;border-radius:18px;background:var(--primary);display:grid;place-items:center;color:#fff;font-weight:900;font-size:22px}
form{margin:0}label{display:grid;gap:8px;color:#334155;font-weight:800;font-size:13px}input,select,textarea{width:100%;border:1px solid #cbd5e1;background:#fff;border-radius:13px;padding:12px 13px;font:inherit;color:var(--text);outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(37,99,235,.12)}small{color:var(--muted)}
.form-grid{display:grid;gap:15px}.form-row{display:grid;gap:14px}.form-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.filters{display:grid;grid-template-columns:1.2fr 1fr 240px auto;gap:14px;align-items:end}.filter-buttons,.actions-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:13px;padding:12px 16px;font-weight:900;cursor:pointer;font:inherit;text-decoration:none;line-height:1;background:#e2e8f0;color:#0f172a;white-space:nowrap}.btn:hover{text-decoration:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-light{background:#f1f5f9;color:#334155}.btn-danger{background:#fee2e2;color:var(--danger)}.btn-mini{padding:7px 10px;border-radius:10px;font-size:12px}.small-select{padding:7px 10px;border-radius:10px;font-size:12px;min-width:130px}
.flash-stack{display:grid;gap:10px;margin-bottom:18px}.flash{border-radius:14px;padding:13px 15px;font-weight:800;border:1px solid}.flash-success{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.flash-danger{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.flash-warning{background:#fffbeb;color:#b45309;border-color:#fed7aa}.flash-info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.search-box{position:relative}.quick-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:5;display:grid;gap:8px}.quick-result{display:flex;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.11);cursor:pointer}.quick-result:hover{border-color:var(--primary)}.quick-result strong{display:block}.quick-result span{color:var(--muted);font-size:13px}.appointment-panel{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.selected-person{padding:14px;border-radius:16px;background:#eff6ff;border:1px solid #bfdbfe;margin-bottom:14px}.selected-person h3{margin:0 0 4px}.selected-person p{margin:0;color:#1e40af}
.meeting-list{display:grid;gap:12px}.meeting-item{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:17px;padding:14px;background:#fbfdff}.meeting-item h3{margin:0;font-size:16px}.meeting-item p{margin:4px 0 0;color:var(--muted);font-size:13px}.meeting-meta{display:grid;justify-items:end;gap:3px}.meeting-meta span{font-weight:900;font-size:20px}.meeting-meta b,.meeting-meta em{font-style:normal;font-size:12px;background:#f1f5f9;color:#334155;border-radius:999px;padding:4px 8px}.meeting-meta em{background:#ecfdf5;color:#047857}.empty,.empty-row{color:var(--muted);text-align:center;padding:24px}.empty-row{background:#fafafa}
.tabs{display:flex;background:#e2e8f0;padding:4px;border-radius:15px}.tabs a{padding:10px 14px;border-radius:12px;color:#475569;font-weight:900}.tabs a.active{background:#fff;color:var(--primary);box-shadow:0 6px 16px rgba(15,23,42,.08);text-decoration:none}
.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.calendar-head h2{font-size:24px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.calendar-weekdays{margin-bottom:10px}.calendar-weekdays b{text-align:center;color:var(--muted);font-size:12px;text-transform:uppercase}.day{min-height:148px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px}.day.muted{background:transparent;border:none}.day.today{border-color:var(--primary);box-shadow:inset 0 0 0 2px rgba(37,99,235,.18)}.day-num{font-weight:900;color:#334155}.calendar-meeting{display:grid;gap:2px;background:#f8fafc;border:1px solid var(--line);border-left:4px solid #64748b;border-radius:12px;padding:8px;color:var(--text);text-decoration:none}.calendar-meeting:hover{text-decoration:none;transform:translateY(-1px)}.calendar-meeting span,.calendar-meeting em{font-size:11px;color:var(--muted);font-style:normal}.calendar-meeting b{font-size:12px}.status-planned{border-left-color:var(--primary)}.status-done{border-left-color:var(--success)}.status-moved{border-left-color:var(--warning)}.status-cancelled{border-left-color:var(--danger)}.status-missed{border-left-color:#9333ea}
.table-wrap{overflow:auto}table{width:100%;border-collapse:separate;border-spacing:0;min-width:760px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:12px;vertical-align:middle}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;background:#f8fafc}td{font-size:14px}.inline-form{display:flex;gap:8px;align-items:center}.badge{display:inline-flex;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:900;font-size:12px;padding:5px 9px}
.candidate-cards{display:grid;gap:12px}.candidate-mini{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:17px;padding:14px}.candidate-mini h3{margin:0}.candidate-mini p{margin:4px 0 0;color:var(--muted)}.candidate-mini span{background:#f1f5f9;border-radius:999px;padding:6px 10px;font-weight:900;color:#475569;font-size:12px}
.mini-stats{display:grid;gap:12px}.mini-stats div,.about-info div{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:10px 0}.mini-stats span,.about-info span{color:var(--muted);font-size:13px}.mini-stats b,.about-info b{text-align:right}.call-form{margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.timeline{display:grid;gap:12px;max-height:420px;overflow:auto}.timeline article{border-left:3px solid var(--primary);background:#f8fafc;border-radius:0 15px 15px 0;padding:12px 14px}.timeline span,.timeline small{color:var(--muted);font-size:12px}.timeline h3{margin:4px 0}.timeline p{margin:0 0 4px}
.status-groups{display:grid;gap:18px;margin-top:20px}.status-group h3{font-size:15px;color:#334155;margin:0 0 10px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip-form{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#f8fafc;border-radius:999px;padding:6px 8px 6px 12px}.chip-form span{font-weight:800;font-size:12px}.chip-form button{border:none;background:#e2e8f0;border-radius:50%;width:20px;height:20px;cursor:pointer;color:#475569;font-weight:900}.chip-form button:hover{background:#fee2e2;color:var(--danger)}
.change-list{display:grid;gap:10px;padding-left:20px;color:#334155}.hint{color:var(--muted);font-size:13px}.hint code{background:#f1f5f9;border-radius:8px;padding:2px 6px}.changes-pre{white-space:pre-wrap;margin:0;font:inherit;color:#334155}
@media(max-width:1100px){.grid.two,.grid.wide-left{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.form-row.three{grid-template-columns:1fr 1fr}.topbar{align-items:flex-start;flex-wrap:wrap}.topnav{order:3;width:100%}.userbox{margin-left:auto}.calendar-grid{gap:6px}.day{min-height:120px;padding:8px}}
@media(max-width:720px){.container{padding:18px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:28px}.form-row.two,.form-row.three,.filters{grid-template-columns:1fr}.candidate-mini{grid-template-columns:1fr}.calendar-grid{display:block}.calendar-weekdays{display:none}.day{margin-bottom:10px;min-height:auto}.day.muted{display:none}.topbar{padding:12px 16px}.userbox{width:100%;justify-content:space-between}.moscow-clock{width:100%}}
.small-input{padding:7px 10px;border-radius:10px;font-size:12px;min-width:160px}.password-mini-form{min-width:260px}
.ordered-list{display:grid;gap:9px}.ordered-list.compact{gap:8px}.settings-dictionaries{align-items:start}.order-chip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:8px 9px}.order-chip span{font-weight:800;font-size:13px;color:#334155}.order-buttons{display:flex;gap:4px}.order-buttons button,.delete-chip{border:none;background:#e2e8f0;border-radius:9px;min-width:28px;height:28px;cursor:pointer;color:#475569;font-weight:900}.order-buttons button:hover{background:#eff6ff;color:var(--primary)}.delete-chip{border-radius:50%;min-width:28px}.delete-chip:hover{background:#fee2e2;color:var(--danger)}
@media(max-width:720px){.order-chip{grid-template-columns:auto 1fr auto}.order-buttons button,.delete-chip{min-width:30px;height:30px}}

body.theme-dark{
    --bg:#0b1220;
    --card:#111827;
    --text:#e5e7eb;
    --muted:#94a3b8;
    --line:#263244;
    --primary:#60a5fa;
    --primary-dark:#3b82f6;
    --danger:#f87171;
    --success:#34d399;
    --warning:#fbbf24;
    --shadow:0 20px 60px rgba(0,0,0,.26);
}
body.theme-dark .topbar{background:rgba(15,23,42,.9);border-bottom-color:var(--line)}
body.theme-dark .topnav a.active,
body.theme-dark .topnav a:hover,
body.theme-dark .nav-dropdown.active summary,
body.theme-dark .nav-dropdown[open] summary,
body.theme-dark .nav-dropdown summary:hover{background:#172554;color:#bfdbfe}
body.theme-dark .dropdown-menu{background:#111827;border-color:var(--line);box-shadow:0 18px 45px rgba(0,0,0,.36)}
body.theme-dark .dropdown-menu a{color:#cbd5e1}
body.theme-dark .dropdown-menu a.active,
body.theme-dark .dropdown-menu a:hover{background:#172554;color:#bfdbfe}
body.theme-dark .userbox b,
body.theme-dark .meeting-meta b,
body.theme-dark .meeting-meta em,
body.theme-dark .candidate-mini span{background:#1e293b;color:#cbd5e1}
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea{background:#0f172a;border-color:#334155;color:var(--text)}
body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder{color:#64748b}
body.theme-dark label,
body.theme-dark .status-group h3,
body.theme-dark .change-list,
body.theme-dark .changes-pre,
body.theme-dark .day-num,
body.theme-dark .order-chip span{color:#cbd5e1}
body.theme-dark .login-body{background:radial-gradient(circle at top left,#1e3a8a,transparent 34%),linear-gradient(135deg,#020617,#0f172a)}
body.theme-dark.login-body{background:radial-gradient(circle at top left,#1e3a8a,transparent 34%),linear-gradient(135deg,#020617,#0f172a)}
body.theme-dark .login-card,
body.theme-dark .quick-result,
body.theme-dark .day{background:var(--card);border-color:var(--line)}
body.theme-dark .moscow-clock{background:#020617;color:#e5e7eb}
body.theme-dark .selected-person,
body.theme-dark .flash-info,
body.theme-dark .badge{background:#172554;border-color:#1d4ed8;color:#bfdbfe}
body.theme-dark .meeting-item,
body.theme-dark .calendar-meeting,
body.theme-dark .timeline article,
body.theme-dark .chip-form,
body.theme-dark .order-chip{background:#0f172a;border-color:var(--line)}
body.theme-dark th{background:#0f172a;color:#94a3b8}
body.theme-dark .empty-row{background:#0f172a}
body.theme-dark .tabs{background:#1e293b}
body.theme-dark .tabs a.active{background:#0f172a;color:#bfdbfe}
body.theme-dark .btn-light,
body.theme-dark .btn{background:#1e293b;color:#e5e7eb}
body.theme-dark .btn-primary{background:#2563eb;color:#fff}
body.theme-dark .btn-primary:hover{background:#1d4ed8}
body.theme-dark .btn-danger{background:#451a1a;color:#fecaca}
body.theme-dark .order-buttons button,
body.theme-dark .delete-chip,
body.theme-dark .chip-form button{background:#1e293b;color:#cbd5e1}
body.theme-dark .order-buttons button:hover{background:#172554;color:#bfdbfe}
body.theme-dark .delete-chip:hover,
body.theme-dark .chip-form button:hover{background:#451a1a;color:#fecaca}
body.theme-dark .hint code{background:#1e293b;color:#e5e7eb}
body.theme-dark .flash-success{background:#052e2b;color:#a7f3d0;border-color:#065f46}
body.theme-dark .flash-danger{background:#450a0a;color:#fecaca;border-color:#7f1d1d}
body.theme-dark .flash-warning{background:#422006;color:#fde68a;border-color:#92400e}

.notes-card{display:grid;gap:18px}.note-create-form{display:grid;gap:14px;padding:16px;border:1px dashed var(--line);border-radius:18px;background:#f8fafc}.note-form-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}.check-line{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px;width:auto;white-space:nowrap}.check-line input{width:auto}.color-palette{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px}.color-choice{display:inline-flex;align-items:center;gap:7px;width:auto;cursor:pointer;font-size:12px;font-weight:900;color:#334155}.color-choice input{position:absolute;opacity:0;pointer-events:none}.color-choice span{width:24px;height:24px;border-radius:999px;border:2px solid rgba(15,23,42,.16);box-shadow:inset 0 0 0 3px rgba(255,255,255,.7)}.color-choice b{display:none}.color-choice input:checked + span{outline:3px solid rgba(37,99,235,.25);border-color:var(--primary)}.note-swatch-yellow span{background:#fde68a}.note-swatch-blue span{background:#bfdbfe}.note-swatch-green span{background:#bbf7d0}.note-swatch-pink span{background:#fbcfe8}.note-swatch-purple span{background:#ddd6fe}.note-swatch-gray span{background:#e2e8f0}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.note{--note-bg:#fffbeb;--note-border:#fde68a;background:var(--note-bg);border:1px solid var(--note-border);border-radius:18px;padding:16px;display:grid;gap:12px;box-shadow:0 14px 32px rgba(15,23,42,.07)}.note.is-pinned{box-shadow:0 18px 44px rgba(15,23,42,.12)}.note-head,.note-foot,.note-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.note-head span{font-weight:900;color:#334155}.note-edit-form{display:grid;gap:9px}.note-edit-form textarea{min-height:116px;background:rgba(255,255,255,.68)}.note-foot small{color:#475569}.note-color-yellow{--note-bg:#fffbeb;--note-border:#fde68a}.note-color-blue{--note-bg:#eff6ff;--note-border:#bfdbfe}.note-color-green{--note-bg:#ecfdf5;--note-border:#bbf7d0}.note-color-pink{--note-bg:#fdf2f8;--note-border:#fbcfe8}.note-color-purple{--note-bg:#f5f3ff;--note-border:#ddd6fe}.note-color-gray{--note-bg:#f8fafc;--note-border:#e2e8f0}
body.theme-dark .note-create-form{background:#0f172a;border-color:var(--line)}body.theme-dark .color-choice{color:#cbd5e1}body.theme-dark .color-choice span{border-color:rgba(226,232,240,.24);box-shadow:inset 0 0 0 3px rgba(15,23,42,.5)}body.theme-dark .note{box-shadow:0 18px 44px rgba(0,0,0,.24)}body.theme-dark .note-head span,body.theme-dark .note-foot small{color:#dbeafe}body.theme-dark .note-edit-form textarea{background:rgba(15,23,42,.72)}body.theme-dark .note-color-yellow{--note-bg:#422006;--note-border:#854d0e}body.theme-dark .note-color-blue{--note-bg:#172554;--note-border:#1d4ed8}body.theme-dark .note-color-green{--note-bg:#052e2b;--note-border:#047857}body.theme-dark .note-color-pink{--note-bg:#4a044e;--note-border:#a21caf}body.theme-dark .note-color-purple{--note-bg:#2e1065;--note-border:#6d28d9}body.theme-dark .note-color-gray{--note-bg:#0f172a;--note-border:#334155}
@media(max-width:720px){.note-form-bottom,.note-head,.note-foot{align-items:stretch}.note-foot{flex-direction:column}.notes-grid{grid-template-columns:1fr}}

.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--status-bg)!important;color:var(--status-text)!important;border:1px solid var(--status-border);font-weight:900;font-size:12px;line-height:1;padding:5px 9px;white-space:nowrap}.status-dot{display:inline-flex;width:14px;height:14px;border-radius:999px;background:var(--status-bg);border:2px solid var(--status-border);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55);flex:0 0 auto}.candidate-status-line{margin-top:10px;display:flex}.calendar-meeting{border-left-color:var(--status-border,#64748b)}.calendar-meeting .status-badge{justify-self:start;font-size:10px;padding:4px 7px}.meeting-meta .status-badge{justify-self:end}.status-chip-name{display:flex!important;align-items:center;gap:8px}.status-color-form{display:flex;align-items:center;gap:6px;justify-content:flex-end}.status-color-select{min-width:120px}.settings-dictionaries .status-group .order-chip{grid-template-columns:auto minmax(150px,1fr) auto auto}.candidate-mini .status-badge{justify-self:end}.timeline h3 .status-badge{font-size:13px}
body.theme-dark .status-badge{background:var(--status-bg)!important;color:var(--status-text)!important;border-color:var(--status-border)}body.theme-dark .status-dot{box-shadow:inset 0 0 0 2px rgba(15,23,42,.5)}
@media(max-width:720px){.settings-dictionaries .status-group .order-chip{grid-template-columns:auto 1fr}.status-color-form{grid-column:1 / -1;justify-content:flex-start}.candidate-mini .status-badge{justify-self:start}}
.timeline article{border-left-color:var(--status-border,var(--primary))}

.custom-colors-list{display:flex;flex-wrap:wrap;gap:10px}.custom-color-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05)}.custom-color-chip code{font-size:11px;color:var(--muted);background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:3px 6px}.custom-color-dot{width:22px;height:22px;border-radius:999px;border:2px solid rgba(15,23,42,.14);box-shadow:inset 0 0 0 3px rgba(255,255,255,.65)}input[type="color"]{height:44px;padding:5px;cursor:pointer}.note-color-custom{background:var(--note-bg);border-color:var(--note-border)}.note-head span{color:var(--note-text,#334155)}body.theme-dark .custom-color-chip{background:#0f172a}body.theme-dark .custom-color-chip code{background:#111827}body.theme-dark .custom-color-dot{border-color:rgba(226,232,240,.24);box-shadow:inset 0 0 0 3px rgba(15,23,42,.5)}body.theme-dark .note-color-custom .note-head span,body.theme-dark .note-color-custom .note-foot small{color:var(--note-text,#334155)}
