/* ================================================================
   Techno Task – "fresh pastel" theme for the inside of the app.
   Matches the login page: soft pastel background, glassy rounded cards,
   blue buttons, Techno pink accents. Loaded after styles.css.
   ================================================================ */
:root {
  --bg: #fbf8f3;
  --panel: rgba(255, 255, 255, .82);
  --panel-solid: #ffffff;
  --panel-2: rgba(240, 243, 250, .9);
  --border: rgba(29, 36, 51, .08);
  --text: #1d2433;
  --muted: #5d6576;
  --accent: #3f7be0;
  --accent-2: #5a92f0;
  --accent-soft: #e8f0ff;
  --pink: #e8176a;
  --pink-soft: #fde6ef;
  --danger: #d9385a;
  --danger-soft: #fde8ee;
  --warn: #d97a10;
  --warn-soft: #fff1de;
  --ok: #1f9a62;
  --ok-soft: #e1f6ea;
  --p-urgent: #d9385a;
  --p-high: #e07a00;
  --p-medium: #3f7be0;
  --p-low: #8a919c;
  --shadow: 0 2px 6px rgba(30, 40, 70, .05), 0 12px 32px rgba(30, 40, 70, .07);
  --shadow-lg: 0 20px 60px rgba(30, 40, 70, .16);
  --radius: 20px;
  color-scheme: light;
}
/* One consistent bright look (same as the login page), even when the computer is in dark mode. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #fbf8f3; --panel: rgba(255,255,255,.82); --panel-2: rgba(240,243,250,.9); --border: rgba(29,36,51,.08);
    --text: #1d2433; --muted: #5d6576; --accent: #3f7be0; --accent-soft: #e8f0ff;
    --danger: #d9385a; --danger-soft: #fde8ee; --warn: #d97a10; --warn-soft: #fff1de; --ok: #1f9a62; --ok-soft: #e1f6ea;
    --p-urgent: #d9385a; --p-high: #e07a00; --p-medium: #3f7be0; --p-low: #8a919c;
    --shadow: 0 2px 6px rgba(30,40,70,.05), 0 12px 32px rgba(30,40,70,.07);
    color-scheme: light;
  }
  .btn.primary { color: #fff !important; }
}

/* ---------- pastel background (same colours as the login page) ---------- */
body { background: var(--bg); }
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 8% 6%, rgba(255, 179, 167, .55), transparent 70%),
    radial-gradient(36vmax 36vmax at 96% 4%, rgba(182, 240, 216, .6), transparent 70%),
    radial-gradient(40vmax 40vmax at 30% 100%, rgba(244, 241, 166, .45), transparent 70%),
    radial-gradient(30vmax 30vmax at 100% 90%, rgba(201, 225, 255, .55), transparent 70%);
  animation: tt-drift 40s ease-in-out infinite alternate;
}
@keyframes tt-drift { from { transform: translate(0, 0); } to { transform: translate(3vmax, 2vmax); } }

/* ---------- typography & controls ---------- */
h1 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 700; }
input, select, textarea { border-radius: 12px; border: 1.5px solid #e1e4ea; background: rgba(255,255,255,.95); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(63,123,224,.14); }
.btn { border-radius: 12px; border: 1.5px solid #e1e4ea; background: rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(30,40,70,.04); transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(30,40,70,.08); transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(63,123,224,.3);
}
.btn.primary:hover { box-shadow: 0 12px 26px rgba(63,123,224,.4); filter: none; }
.btn.danger { color: var(--danger); }
.link { color: var(--accent); }
a { color: var(--accent); }

/* ---------- sidebar ---------- */
.side {
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-right: 1px solid rgba(255,255,255,.7);
  box-shadow: 4px 0 30px rgba(30,40,70,.05);
  padding: 20px 14px;
}
.brand { padding: 0 4px; gap: 8px; }
.brand-logo { display: flex; align-items: center; gap: 8px; line-height: 1; text-decoration: none !important; color: inherit; }
.bl-text { font-family: "Nunito", "Avenir Next Rounded", "Varela Round", "Avenir Next", Arial, sans-serif; font-weight: 700; font-size: 21px; letter-spacing: .06em; color: #000; white-space: nowrap; }
.side .new-task { border-radius: 14px; padding: 12px; font-size: 15px; }
.side nav a { border-radius: 12px; padding: 10px 12px; color: var(--text); transition: background .15s, transform .15s; }
.side nav a:hover { background: rgba(63,123,224,.08); transform: translateX(2px); }
.side nav a.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 18px rgba(63,123,224,.3); }
.side nav a.active svg { opacity: 1; }
.side nav .count { background: var(--pink); }
.side .me { border-top: 1px dashed rgba(29,36,51,.12); }
.bell-count { background: var(--pink); }

/* ---------- clock bar ---------- */
.clockbar { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.7); }
.cb { background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(30,40,70,.06); }
.cb.home { background: var(--pink-soft); }

/* ---------- cards, lists, tables ---------- */
.card, .task-list, .stat, .modal, .settings .card {
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-head { border-bottom: 1px solid var(--border); padding: 16px 18px; }
.filter-bar { border-bottom: 1px solid var(--border); }
.row { border-bottom: 1px solid var(--border); transition: background .15s; }
.row:hover { background: rgba(63,123,224,.05); }
.row.pri-urgent { border-left-color: var(--p-urgent); }
.row.pri-high { border-left-color: var(--p-high); }
.mini:hover, table.people tr.click:hover td { background: rgba(63,123,224,.05); }
table.people th { background: transparent; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.scroll-table thead th { background: rgba(255,255,255,.95); }
.list-foot { border-top: 1px solid var(--border); }
.check { border-color: #cfd6e4; background: #fff; }
.check.on { background: var(--ok); border-color: var(--ok); }
.chip { border-radius: 999px; padding: 3px 10px; }
.chip.p-medium { background: var(--accent-soft); color: var(--accent); }
select.status { border-radius: 999px; }
.task-no { color: var(--pink); background: var(--pink-soft); }
.tabs { border-bottom: 0; gap: 6px; }
.tab { border: 0; border-radius: 999px; padding: 7px 14px; background: rgba(255,255,255,.7); box-shadow: 0 1px 3px rgba(30,40,70,.06); }
.tab.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.dl-group .btn { border-radius: 0; }
.dl-group .btn:first-child { border-radius: 10px 0 0 10px; }
.dl-group .btn:last-child { border-radius: 0 10px 10px 0; }
.note { background: rgba(240,243,250,.85); border-radius: 12px; }
.empty { color: var(--muted); }

/* ---------- summary boxes: each its own pastel ---------- */
.stats.boxes .stat { border: 1px solid rgba(255,255,255,.9); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.stats.boxes .stat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,40,70,.12); }
.stats.boxes .stat::after { content: ""; position: absolute; right: -18px; top: -18px; width: 60px; height: 60px; border-radius: 50%; background: currentColor; opacity: .08; }
.box-all         { background: linear-gradient(160deg, #ffffff, #eef2ff) !important; color: #3f4f8f; }
.box-open        { background: linear-gradient(160deg, #ffffff, #e6f0ff) !important; color: #3f7be0; }
.box-todo        { background: linear-gradient(160deg, #ffffff, #fdf6d8) !important; color: #a07a00; }
.box-in_progress { background: linear-gradient(160deg, #ffffff, #e0f6ef) !important; color: #1f8a6a; }
.box-blocked     { background: linear-gradient(160deg, #ffffff, #fde6ea) !important; color: #c22f50; }
.box-overdue     { background: linear-gradient(160deg, #ffffff, #ffe3e0) !important; color: #d9385a; }
.box-today       { background: linear-gradient(160deg, #ffffff, #fff0dc) !important; color: #d97a10; }
.box-urgent_high { background: linear-gradient(160deg, #ffffff, #ffe9d8) !important; color: #e0592a; }
.box-done        { background: linear-gradient(160deg, #ffffff, #e1f6ea) !important; color: #1f9a62; }
.stats.boxes .stat .num { color: currentColor !important; }
.stats.boxes .stat .lbl { color: var(--muted); }
.stats.boxes .stat.on { outline: 2.5px solid currentColor; outline-offset: -2.5px; box-shadow: 0 14px 30px rgba(30,40,70,.12); }

/* ---------- dashboard welcome banner ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 12px;
  border-radius: 28px; padding: 26px 30px; margin-bottom: 20px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 170, 150, .75), transparent 60%),
    radial-gradient(110% 90% at 100% 0%, rgba(160, 240, 210, .8), transparent 62%),
    radial-gradient(100% 80% at 50% 100%, rgba(244, 245, 170, .6), transparent 70%), #fff;
  background-size: 140% 140%;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9);
  animation: tt-hero 16s ease-in-out infinite alternate;
}
@keyframes tt-hero { from { background-position: 0% 0%; } to { background-position: 100% 40%; } }
.hero h1 { font-size: clamp(24px, 3vw, 34px); }
.hero .sub { color: #3b4252; margin: 6px 0 0; }
.hero .qotd { font-size: 18px; color: var(--text); margin-top: 14px; max-width: 560px; }
.hero .qotd-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-top: 16px; }
.hero .hero-art svg { width: 100%; height: auto; display: block; }
.hero .hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- modals & toasts ---------- */
.overlay { background: rgba(29, 36, 51, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal { background: rgba(255,255,255,.96); border-radius: 24px; box-shadow: var(--shadow-lg); }
.modal-head { border-bottom: 1px solid var(--border); background: linear-gradient(90deg, rgba(255,179,167,.25), rgba(182,240,216,.25)); border-radius: 24px 24px 0 0; }
.toast { border-radius: 14px; background: #1d2433; color: #fff; box-shadow: var(--shadow-lg); }
.notif-pop { border-radius: 16px; border-left-color: var(--pink); }

/* ---------- board ---------- */
.board-card { background: rgba(255,255,255,.7); }
.board-head h2 svg { color: var(--pink); }

/* ---------- people / settings ---------- */
.badge.director { background: var(--pink-soft); color: var(--pink); }
.badge.manager { background: #fff1de; color: #d97a10; }

@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; } .hero .hero-art { display: none; } }
@media (max-width: 820px) {
  .side { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background: rgba(255,255,255,.85); }
  .bl-text { font-size: 17px; }
  .hero { padding: 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { body::before, .hero { animation: none; } }

/* ---------- sticky-note timers ---------- */
.note-timer { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.55); border-radius: 12px; padding: 5px 6px 5px 6px; }
.note-timer .sw { width: 30px; height: 30px; flex: none; overflow: visible; }
.sw-face { fill: #fff; stroke: rgba(29,36,51,.18); stroke-width: 2; }
.sw-ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; transform: rotate(-90deg); transform-origin: 20px 22px; transition: stroke-dashoffset .9s linear; }
.sw-ticks line { stroke: rgba(29,36,51,.35); stroke-width: 1.3; stroke-linecap: round; }
.sw-hand { stroke: var(--pink); stroke-width: 2.2; stroke-linecap: round; transform-origin: 20px 22px; transition: transform .35s cubic-bezier(.4,2.2,.6,1); }
.sw-hub { fill: var(--pink); }
.sw-crown { fill: rgba(29,36,51,.55); }
.nt-time { font-family: "Nunito", "Avenir Next", Arial, sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #2b2b2b; min-width: 62px; }
.nt-btn { margin-left: auto; border: 0; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; color: #fff; transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.nt-btn:hover { transform: translateY(-1px); }
.nt-btn.start { background: linear-gradient(135deg, #22a06b, #3cc287); box-shadow: 0 4px 12px rgba(34,160,107,.35); }
.nt-btn.pause { background: linear-gradient(135deg, #f0a020, #f6b84a); box-shadow: 0 4px 12px rgba(240,160,32,.35); }
.nt-live { margin-left: auto; color: #e0352b; font-size: 12px; font-weight: 700; animation: nt-blink 1.2s ease-in-out infinite; }
@keyframes nt-blink { 50% { opacity: .35; } }

/* running: glowing note + breathing clock + crown press */
.note-card.timing { box-shadow: 0 0 0 2.5px rgba(34,160,107,.55), 0 10px 26px rgba(34,160,107,.25); animation: nt-glow 2.4s ease-in-out infinite; }
@keyframes nt-glow { 50% { box-shadow: 0 0 0 4px rgba(34,160,107,.35), 0 14px 32px rgba(34,160,107,.3); } }
.note-timer.running { background: rgba(255,255,255,.8); }
.note-timer.running .sw { animation: nt-breathe 2s ease-in-out infinite; }
.note-timer.running .sw-ring { stroke: #22a06b; }
.note-timer.running .sw-crown:first-of-type { animation: nt-press 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.note-timer.running .nt-time { color: #146c47; }
@keyframes nt-breathe { 50% { transform: scale(1.08) rotate(-3deg); } }
@keyframes nt-press { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(1.5px); } }
.note-tag.took { background: rgba(63,123,224,.14); color: #2a58a8; }

/* "now tracking" pill in the top bar */
.cb-zones { display: flex; gap: 8px; }
.run-pill { display: flex; align-items: center; gap: 8px; padding: 3px 12px 3px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none !important; color: #146c47; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #dff7ea, #c8f0db); box-shadow: 0 0 0 1.5px rgba(34,160,107,.45), 0 4px 12px rgba(34,160,107,.2); animation: nt-glow 2.4s ease-in-out infinite; }
.run-pill .sw { width: 24px; height: 24px; animation: nt-breathe 2s ease-in-out infinite; }
.run-pill .sw-ring { stroke: #22a06b; }
.run-pill .nt-time { font-size: 14px; min-width: 0; color: #146c47; }
.run-pill .rp-text { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .note-card.timing, .run-pill, .note-timer .sw { animation: none !important; } }

/* send login details */
.never { color: #d97a10; font-weight: 700; }
.lg-list { max-height: 50vh; overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.7); }
.lg-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); cursor: pointer; }
.lg-row:last-child { border-bottom: 0; }
.lg-row:hover { background: rgba(63,123,224,.05); }
.lg-row input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- type-to-search pickers ---------- */
.combo { position: relative; display: inline-flex; min-width: 0; }
label.field > .combo, .reassign-form .combo, .modal .combo { display: flex; width: 100%; }
.combo > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.combo-input {
  width: 100%; min-width: 170px; padding-right: 30px !important; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8499' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 15px;
}
.combo-input:focus { cursor: text; }
.combo-input::placeholder { color: var(--muted); opacity: 1; }
label.field > .combo > .combo-input { font-size: 14px; font-weight: 400; color: var(--text); }
.quick-add .combo, .filters .combo, .filter-bar .combo { flex: 1 1 200px; }
.combo-list {
  position: fixed; z-index: 1000; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid rgba(29, 36, 51, .1); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(30, 40, 70, .18); padding: 6px; font-size: 14px;
  animation: comboIn .12s ease-out;
}
@keyframes comboIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.combo-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.combo-opt .co-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-opt .co-s { flex: none; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.combo-opt .co-s.on { color: #1e8a4c; font-weight: 600; }
.combo-opt .co-s.on::before { content: "●"; margin-right: 4px; font-size: 9px; vertical-align: 1px; }
.combo-opt.act { background: rgba(63, 123, 224, .1); }
.combo-opt.sel .co-l { font-weight: 700; color: var(--accent); }
.combo-opt.blank .co-l { color: var(--muted); }
.combo-opt mark { background: #ffe58a; color: inherit; border-radius: 3px; padding: 0 1px; }
.combo-empty { padding: 12px; color: var(--muted); text-align: center; }

/* ---------- quick search on lists & tables ---------- */
.tbl-search { min-width: 0; width: 180px; max-width: 100%; padding: 6px 10px; font-size: 13px; border-radius: 999px; }
.card-head .tbl-search { flex: 0 1 180px; }
.h-search { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h-search .tbl-search { margin-left: auto; font-weight: 400; }
.tbl-nomatch { padding: 14px; }

/* ---------- shifts & time zones ---------- */
.opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.due-hint { grid-column: 1 / -1; flex: 1 1 100%; font-size: 12.5px; line-height: 1.45; color: #6b4e00; background: #fff6d8; border: 1px solid #f6e3a3; border-radius: 12px; padding: 8px 12px; }
.due-hint b { color: #4a3600; }
.shift-box { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px 12px; margin: 0; display: flex; flex-direction: column; gap: 10px; background: rgba(240, 243, 250, .5); }
.shift-box legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.shift-hint { font-size: 12.5px; line-height: 1.45; }
.shift-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.shift-badge.day { background: #fff3d6; color: #7a5200; }
.shift-badge.night { background: #e7e9ff; color: #3b3f9e; }
.shift-badge.on { box-shadow: 0 0 0 2px #bfe8cf; }
.shift-cell { white-space: nowrap; }
.zone-pill { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #e7e9ff; color: #3b3f9e; vertical-align: 1px; }
.lg-row .shift-cell { margin-left: auto; text-align: right; }
@media (max-width: 820px) {
  .lg-row .shift-cell .muted { display: none; }
  .zone-pill { margin: 6px 0 0; }
  .card-head .tbl-search { flex: 1 1 100%; width: 100%; order: 5; }
}

/* ---------- My notes (private) ---------- */
.memo-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.memo-bar input[type=search] { flex: 0 1 380px; border-radius: 999px; padding: 9px 14px; }
.memo-sec { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 10px; display: flex; align-items: center; gap: 6px; }
.memo-sec svg { width: 15px; height: 15px; }
.memo-grid { columns: 4 260px; column-gap: 16px; margin-bottom: 22px; }
.memo {
  break-inside: avoid; position: relative; margin: 0 0 16px; padding: 14px 14px 10px; border-radius: 16px;
  box-shadow: 0 6px 18px rgba(30, 40, 70, .08); color: #262626; display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.memo:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30, 40, 70, .13); }
.memo.pinned { box-shadow: 0 0 0 2px rgba(63, 123, 224, .35), 0 8px 22px rgba(30, 40, 70, .1); }
.memo-title { margin: 0; padding-right: 30px; font-size: 16px; line-height: 1.3; word-break: break-word; }
.memo-body { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.5; max-height: 340px; overflow: auto; }
.memo-body a { color: #1b5fc2; text-decoration: underline; }
.memo mark { background: #fff; box-shadow: 0 0 0 2px #fff; border-radius: 3px; }
.memo-pin { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; color: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .15s; }
.memo-pin svg { width: 17px; height: 17px; }
.memo:hover .memo-pin, .memo-pin.on, .memo-pin:focus-visible { opacity: 1; }
.memo-pin.on { color: var(--accent); background: rgba(255, 255, 255, .6); }
.memo-pin.on svg { fill: currentColor; }
.memo-foot { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 2px; }
.memo-actions { margin-left: auto; display: flex; gap: 4px; }
.memo-actions .note-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 8px; }
.memo-actions .note-btn svg { width: 14px; height: 14px; }
.memo-actions .note-btn.copied { background: rgba(30, 138, 76, .25); color: #145c33; }
.memo-empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.memo-empty h2 { margin: 6px 0 0; }
.memo-empty-ico { width: 64px; height: 64px; border-radius: 20px; background: #fff3a8; display: grid; place-items: center; color: #8a6d00; }
.memo-empty-ico svg { width: 32px; height: 32px; }
.memo-form { transition: background .2s; }
.memo-form .title-input, .memo-form textarea { background: rgba(255, 255, 255, .55); border-color: rgba(0, 0, 0, .1); }
.memo-form textarea { min-height: 200px; font-size: 15px; line-height: 1.5; }
.memo-opts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.memo-opts .note-colors { display: flex; gap: 8px; }
.memo-pin-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.memo-pin-check svg { width: 15px; height: 15px; }
@media (max-width: 820px) {
  .memo-grid { columns: 2 150px; column-gap: 10px; }
  .memo { margin-bottom: 10px; padding: 12px 10px 8px; }
  .memo-pin { opacity: 1; }
  .memo-bar input[type=search] { flex: 1 1 auto; }
  .memo-actions .note-btn { padding: 6px 8px; }
  .memo-foot { flex-wrap: wrap; }
}
@media (max-width: 380px) { .memo-grid { columns: 1; } }
