/* --- [UPGRADE-POINT: THEME & VARIABLES] --- 
   Tambah variabel baru di sini untuk fitur light/dark mode toggle nanti. */
:root {
    --bg-main: #0b0809;
    --bg-sidebar: rgba(255,255,255,0.03);
    --panel-bg: rgba(255,255,255,0.045);
    --glass-strong: rgba(255,255,255,0.08);
    --text-main: #e8eaf0;
    --text-muted: #8a8fa0;
    --accent: #d3202e;
    --accent-rgb: 211,32,46;
    --accent-hover: #ff4d5a;
    --danger: #ff8a5c;
    --danger-rgb: 255,138,92;
    --border: rgba(255,255,255,0.09);
    --shadow: 0 10px 40px rgba(0,0,0,0.45);
    --ease: cubic-bezier(.2,.8,.2,1);
}

* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 8px; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0; display: flex; height: 100vh; overflow: hidden; position: relative;
}

/* Ambient glow (latar untuk efek glass) */
body::before, body::after {
    content: ''; position: fixed; width: 560px; height: 560px; border-radius: 50%;
    filter: blur(60px); pointer-events: none; z-index: 0;
    animation: drift 26s ease-in-out infinite alternate;
}
body::before { top: -180px; left: 120px; background: radial-gradient(circle, rgba(var(--accent-rgb),.20), transparent 65%); }
body::after  { bottom: -220px; right: -120px; background: radial-gradient(circle, rgba(122,12,12,.30), transparent 65%); animation-duration: 32s; animation-direction: alternate-reverse; }

/* --- [SIDEBAR (LEFT NAV BAR)] --- */
#sidebar {
    width: 260px; flex-shrink: 0; position: relative; z-index: 1;
    background: var(--bg-sidebar);
    backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%);
    border-right: 1px solid var(--border);
    box-shadow: 10px 0 40px rgba(0,0,0,0.35);
    display: flex; flex-direction: column; padding: 20px 0;
}

.sidebar-header {
    padding: 0 16px 16px 16px; border-bottom: 1px solid var(--border); margin-bottom: 10px;
}

.btn-full {
    width: 100%; padding: 10px; margin-bottom: 10px;
    background: var(--panel-bg); color: var(--text-main);
    border: 1px solid var(--border); border-radius: 10px;
    cursor: pointer; font-weight: 600; font-size: 13px; font-family: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn-full:hover {
    background: var(--glass-strong); border-color: rgba(var(--accent-rgb),.35);
    transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 16px rgba(var(--accent-rgb),.10);
}
.btn-full:active { transform: translateY(0) scale(.98); }
.btn-primary {
    background: linear-gradient(135deg, rgba(var(--accent-rgb),.85), rgba(var(--accent-rgb),.5));
    border-color: rgba(var(--accent-rgb),.55); color: #fff;
    box-shadow: 0 0 18px rgba(var(--accent-rgb),.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb),1), rgba(var(--accent-rgb),.6));
    box-shadow: 0 6px 24px rgba(var(--accent-rgb),.35), inset 0 1px 0 rgba(255,255,255,.3);
}

#projectList { flex: 1; overflow-y: auto; }
.project-item {
    margin: 2px 12px; border-radius: 10px; font-size: 14px; color: var(--text-muted);
    display: flex; justify-content: space-between; align-items: center;
    transition: background .25s, color .25s, box-shadow .25s;
}
.project-item > span { flex: 1; padding: 11px 14px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-item:hover { background-color: rgba(255,255,255,0.05); color: var(--text-main); }
.project-item.active {
    background-color: rgba(var(--accent-rgb), 0.12); color: var(--text-main); font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.28), 0 0 22px rgba(var(--accent-rgb),.10);
}
.project-item.enter { animation: slideIn .45s var(--ease) both; animation-delay: var(--d, 0ms); }

.remove-btn {
    color: var(--danger); font-size: 11px; border: none; background: none; cursor: pointer;
    padding: 6px 10px; margin-right: 4px; border-radius: 6px; opacity: 0; transition: .2s;
}
.project-item:hover .remove-btn { opacity: .8; }
.remove-btn:hover { opacity: 1 !important; background: rgba(var(--danger-rgb),.12); }

/* --- [MAIN WORKSPACE] --- */
#main {
    flex: 1; padding: 48px 40px; overflow-y: auto; position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}
.container { width: 100%; max-width: 1180px; }

#emptyState { text-align: center; color: var(--text-muted); margin-top: 110px; animation: rise .7s var(--ease) both; }
#emptyState h2 { color: var(--text-main); font-weight: 600; margin-bottom: 8px; }
.empty-orb {
    width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb),.6), rgba(var(--accent-rgb),.08) 70%);
    box-shadow: 0 0 40px rgba(var(--accent-rgb),.25), inset 0 0 0 1px rgba(255,255,255,.14);
    animation: float 5s ease-in-out infinite;
}
#workspace { display: none; width: 100%; }
#workspace.reveal { animation: rise .6s var(--ease) both; }

#currentFileName {
    color: var(--accent); margin: 0 0 18px; font-size: 18px; font-weight: 600;
    text-shadow: 0 0 20px rgba(var(--accent-rgb),.35);
}

input#taskInput {
    width: 100%; padding: 16px 20px; box-sizing: border-box;
    background: var(--panel-bg); border: 1px solid var(--border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    color: var(--text-main); font-size: 16px; font-family: inherit; border-radius: 14px; margin-bottom: 30px; outline: none;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
    transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
input#taskInput::placeholder { color: var(--text-muted); }
input#taskInput:focus {
    border-color: rgba(var(--accent-rgb),.6); transform: translateY(-1px);
    box-shadow: var(--shadow), 0 0 0 4px rgba(var(--accent-rgb),.10), 0 0 28px rgba(var(--accent-rgb),.18);
}

/* --- [UPGRADE-POINT: KANBAN BOARDS] --- 
   Jika butuh tambah kolom "In Progress" atau fitur Drag & Drop, styling masuk ke sini */
.boards { display: flex; gap: 20px; }
.board {
    flex: 1; background: var(--panel-bg); border: 1px solid var(--border);
    backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-radius: 18px; padding: 22px; min-height: 300px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
    transition: border-color .3s, box-shadow .3s;
}
.board:hover { border-color: rgba(255,255,255,.15); }
.board h2 {
    margin-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 12px;
    display: flex; justify-content: space-between; align-items: center;
}
.count {
    font-size: 11px; letter-spacing: 0; padding: 2px 9px; border-radius: 999px;
    background: rgba(var(--accent-rgb),.12); color: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb),.12);
}
.board > div:empty::before, #archiveList:empty::before {
    content: 'Belum ada task'; display: block; padding: 24px 0; text-align: center;
    font-size: 13px; color: var(--text-muted); opacity: .55;
}
#todayList:empty::before { content: 'Drag task ke sini untuk hari ini'; }
#archiveList:empty::before { content: 'Arsip kosong'; grid-column: 1 / -1; }
#completedList:empty::before { content: 'Belum ada yang selesai'; }

.task-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; margin: 0 0 8px; border-radius: 12px; cursor: grab; user-select: none;
    border: 1px solid var(--border); background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    transition: background .25s, border-color .25s, box-shadow .25s, opacity .2s, transform .2s var(--ease);
}
.task-item:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--accent-rgb),.3); box-shadow: 0 0 18px rgba(var(--accent-rgb),.08), inset 0 1px 0 rgba(255,255,255,.06); }
.task-item:active { cursor: grabbing; }
.task-item.enter { animation: pop .45s var(--ease) both; animation-delay: var(--d, 0ms); }
.task-item.leaving { animation: out .24s ease forwards; }
.task-item.done { animation: doneOut .26s ease forwards; }
.task-left { display: flex; align-items: center; gap: 12px; word-break: break-word; }

.modal input[type=checkbox] {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0;
    border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); background: transparent; cursor: pointer;
    display: grid; place-content: center; transition: .25s var(--ease);
}
.modal input[type=checkbox]:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12); }
.modal input[type=checkbox]::after {
    content: ''; width: 5px; height: 9px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); transition: transform .22s var(--ease);
}
.modal input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb),.45); }
.modal input[type=checkbox]:checked::after { transform: rotate(45deg) scale(1); }
.modal input[type=checkbox]:disabled { cursor: default; opacity: .55; box-shadow: none; }

.task-actions { display: flex; gap: 2px; }
.task-actions button {
    background: transparent; border: none; cursor: pointer; font-size: 12px; font-family: inherit;
    padding: 4px 10px; border-radius: 6px; opacity: 0; transition: .2s;
}
.task-item:hover .task-actions button, .task-item:focus-within .task-actions button { opacity: .85; }
.task-actions button:hover { opacity: 1 !important; }
.btn-edit { color: var(--accent); }
.btn-edit:hover { background: rgba(var(--accent-rgb),.14); }
.btn-del { color: var(--danger); }
.btn-del:hover { background: rgba(var(--danger-rgb),.14); }
.completed-task { color: var(--text-muted); }
.completed-task span:not(.grip) { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }

#status {
    position: fixed; bottom: 16px; right: 20px; z-index: 5; font-size: 12px; color: var(--text-muted);
    padding: 7px 14px; border-radius: 999px; background: var(--panel-bg); border: 1px solid var(--border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
#status.flash { animation: flash .9s ease; }

/* --- [TASK NODE: DRAG & DROP] --- */
.task-item.dragging { opacity: .35; transform: scale(.97); border-style: dashed; }
.board.drop-target {
    border-color: rgba(var(--accent-rgb),.5);
    box-shadow: var(--shadow), 0 0 0 1px rgba(var(--accent-rgb),.25), 0 0 36px rgba(var(--accent-rgb),.14), inset 0 1px 0 rgba(255,255,255,.07);
}
.drop-line {
    height: 2px; margin: 2px 0 10px; border-radius: 2px; pointer-events: none;
    background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb),.7);
    animation: lineIn .2s var(--ease);
}
.grip { color: var(--text-muted); opacity: .35; cursor: grab; font-size: 14px; letter-spacing: -3px; user-select: none; transition: opacity .2s, color .2s; }
.task-item:hover .grip { opacity: .9; color: var(--accent); }
@keyframes lineIn { from { opacity: 0; transform: scaleX(.5); } to { opacity: 1; transform: none; } }

/* --- [ANIMATIONS] --- */
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(70px,50px,0) scale(1.18); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(8px) scale(.94); } 60% { transform: scale(1.015); } 100% { opacity: 1; transform: none; } }
@keyframes out { to { opacity: 0; transform: translateX(18px) scale(.96); } }
@keyframes doneOut { to { opacity: 0; transform: translateX(28px) scale(.97); filter: blur(2px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flash { 0% { color: var(--accent); border-color: rgba(var(--accent-rgb),.6); box-shadow: 0 0 20px rgba(var(--accent-rgb),.35); } 100% { } }

/* --- [3 BOARDS + TASK NODE CARD] --- */
.container { width: 100%; }
.boards { gap: 16px; }
.board { min-width: 0; padding: 18px; }
.ws-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
#currentFileName { margin: 0; }
#archiveBtn { width: auto; margin: 0; padding: 8px 14px; display: flex; gap: 8px; align-items: center; }
.rise { animation: rise .5s var(--ease) both; }
.task-item { cursor: pointer; gap: 10px; justify-content: flex-start; }
.task-item .grip { cursor: grab; }
.t-title { flex: 1; min-width: 0; font-size: 14px; word-break: break-word; }
.is-done .t-title { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.meta { font-size: 11px; color: var(--text-muted); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); }
.arch-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.arch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.arch-grid .task-item { margin: 0; }
.arch-grid .grip { display: none; }
.board.celebrate { animation: celebrate .9s ease; }
@keyframes celebrate { 30% { border-color: rgba(255,90,100,.7); box-shadow: var(--shadow), 0 0 44px rgba(255,90,100,.3); } }
.party { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

/* --- [NODE MODAL] --- */
#nodeOverlay {
    position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
    background: rgba(3,4,7,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
#nodeOverlay.open { opacity: 1; visibility: visible; }
.modal {
    width: 100%; max-width: 600px; max-height: calc(100vh - 48px); overflow-y: auto; box-sizing: border-box; padding: 24px; border-radius: 20px;
    background: rgba(24,26,34,.72); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%);
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(var(--accent-rgb),.08), inset 0 1px 0 rgba(255,255,255,.1);
    transform: translateY(18px) scale(.97); transition: transform .35s var(--ease);
}
#nodeOverlay.open .modal { transform: none; }
.modal.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
.m-head { display: flex; gap: 10px; align-items: center; }
#nTitle {
    flex: 1; min-width: 0; margin-left: -10px; padding: 8px 10px; border-radius: 10px; outline: none;
    background: transparent; border: 1px solid transparent; color: var(--text-main); font-family: inherit; font-size: 20px; font-weight: 600; transition: .25s;
}
#nTitle:hover { background: rgba(255,255,255,.04); }
#nTitle:focus { background: rgba(255,255,255,.06); border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 20px rgba(var(--accent-rgb),.15); }
.x-btn { background: transparent; border: none; color: var(--text-muted); font-size: 16px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; transition: .2s; }
.x-btn:hover { background: rgba(255,255,255,.08); color: var(--text-main); transform: rotate(90deg); }
.m-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 20px 0 8px; }
.rt-bar { display: flex; gap: 4px; margin-bottom: 6px; }
.rt-bar button { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-main); border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; transition: .2s; }
.rt-bar button:hover { background: rgba(var(--accent-rgb),.15); border-color: rgba(var(--accent-rgb),.4); }
#nNote {
    width: 100%; min-width: 220px; max-width: 100%; min-height: 90px; max-height: 240px; overflow: auto; resize: horizontal; box-sizing: border-box;
    padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border);
    outline: none; font-size: 14px; line-height: 1.55; transition: border-color .25s, box-shadow .25s;
}
#nNote:focus { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
#nNote:empty::before { content: 'Tambah catatan…'; color: var(--text-muted); }
.prog { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 10px; }
#nProgBar { height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb),.7); transition: width .4s var(--ease); }
#nSubInput {
    width: 100%; box-sizing: border-box; padding: 11px 14px; margin-bottom: 8px; border-radius: 10px; outline: none;
    background: rgba(255,255,255,.04); border: 1px solid var(--border); color: inherit; font: inherit; font-size: 14px; transition: .25s;
}
#nSubInput:focus { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.sub { display: flex; align-items: center; gap: 10px; padding: 3px 6px; border-radius: 8px; transition: background .2s; }
.sub:hover { background: rgba(255,255,255,.04); }
.sub.enter { animation: slideIn .35s var(--ease) both; }
.sub-text { flex: 1; min-width: 0; padding: 6px 4px; border: none; border-radius: 6px; outline: none; background: transparent; color: var(--text-main); font: inherit; font-size: 14px; transition: color .25s; }
.sub-text:focus { background: rgba(255,255,255,.05); }
.sub-text.done { color: var(--text-muted); text-decoration: line-through; }
.sub-del { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 11px; opacity: 0; padding: 4px 8px; border-radius: 6px; transition: .2s; }
.sub:hover .sub-del { opacity: .8; }
.sub-del:hover { background: rgba(var(--danger-rgb),.14); opacity: 1 !important; }
.m-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.m-foot .btn-full { width: auto; margin: 0; padding: 9px 18px; }
.btn-danger { color: var(--danger); border-color: rgba(var(--danger-rgb),.35); }
.btn-danger:hover { background: rgba(var(--danger-rgb),.14); border-color: rgba(var(--danger-rgb),.6); box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 16px rgba(var(--danger-rgb),.2); }
#nodeConfirm {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(3,4,7,.6);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
#nodeConfirm.open { opacity: 1; visibility: visible; }
.confirm-card {
    width: 340px; max-width: 90%; padding: 26px; border-radius: 18px; text-align: center; background: rgba(28,30,40,.85);
    border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(24px); box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1);
    transform: scale(.92); transition: transform .3s var(--ease);
}
#nodeConfirm.open .confirm-card { transform: none; }
.confirm-card h4 { margin: 0 0 6px; font-size: 18px; }
.confirm-card p { margin: 0 0 18px; color: var(--text-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
    

/* --- [PEMSTD BOARD: BRAND + BLOOD RED ACCENT] --- */
::selection { background: rgba(var(--accent-rgb), .35); }
.count { color: var(--accent-hover); }
#currentFileName { color: var(--accent-hover); }

.sidebar-brand { padding: 20px 20px 6px; margin-top: 10px; border-top: 1px solid var(--border); text-align: center; user-select: none; }
.brand-logo {
    font-family: var(--font-logo); font-weight: 800; font-size: 26px; letter-spacing: .32em; padding-left: .32em;
    color: var(--accent-hover); animation: brandGlow 4.5s ease-in-out infinite;
}
.brand-sub { margin-top: 4px; padding-left: .6em; font-size: 10px; font-weight: 600; letter-spacing: .6em; text-transform: uppercase; color: var(--text-muted); }
.brand-line { width: 40px; height: 2px; margin: 12px auto 8px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .7); }
.brand-tag { font-size: 10px; letter-spacing: .08em; color: var(--text-muted); opacity: .7; }
@keyframes brandGlow {
    0%, 100% { text-shadow: 0 0 14px rgba(var(--accent-rgb), .45), 0 0 2px rgba(var(--accent-rgb), .8); }
    50% { text-shadow: 0 0 26px rgba(var(--accent-rgb), .75), 0 0 3px rgba(var(--accent-rgb), 1); }
}

/* --- [RICH TEXT: CUSTOM RESIZE GRIP] --- */
#noteWrap { position: relative; width: 100%; min-width: 220px; max-width: 100%; }
#nNote { min-width: 0; height: 130px; max-height: none; resize: none; padding-bottom: 38px; }
.note-grip {
    position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; display: grid; place-items: center;
    border-radius: 10px; color: var(--text-muted); background: rgba(255,255,255,.06); border: 1px solid var(--border);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: nwse-resize; touch-action: none; user-select: none;
    transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.note-grip:hover, .note-grip.active {
    color: var(--accent-hover); background: rgba(var(--accent-rgb), .16); border-color: rgba(var(--accent-rgb), .5);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), .3); transform: scale(1.08);
}

/* --- [PEMSTD LOGO IMAGE] --- */
.brand-logo { display: block; width: 176px; max-width: 100%; height: auto; margin: 0 auto 2px; padding: 0; pointer-events: none; animation: logoGlow 4.5s ease-in-out infinite; }
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .30)); }
    50% { filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .65)); }
}
