/* Ala Blanca · Label Managment — modo noche neutro (#121212, texto al 87 %) y modo día opcional. */
:root {
  color-scheme: dark;
  --bg: #1a1a1c;
  --nav: #141416;
  --panel: #222225;
  --panel-2: #1e1e21;
  --raise: #2a2a2e;
  --line: #34343a;
  --line-soft: #2a2a2f;
  --paper: rgba(255, 255, 255, .87);
  --muted: rgba(255, 255, 255, .56);
  --muted-2: rgba(255, 255, 255, .72);
  --accent: #8ab4f8;
  --accent-rgb: 138, 180, 248;
  --sel: #22252b;
  --sel-hover: #2a2e36;
  --sel-line: #8ab4f8;
  --ok: #81c995;
  --ok-bg: #18261d;
  --ok-line: #2c4a35;
  --warn: #fdd663;
  --warn-bg: #2a2516;
  --warn-line: #4d4223;
  --danger: #f28b82;
  --danger-bg: #2c1a1a;
  --danger-line: #4f2c2a;
  --info: #8ab4f8;
  --r: 14px;
  --r-sm: 9px;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.lm { background: var(--bg); color: var(--paper); font: 400 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
kbd { font: 500 10px/1 var(--mono); padding: 3px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; color: var(--muted-2); background: var(--panel); }
code { font: 12px var(--mono); background: var(--raise); padding: 1px 5px; border-radius: 4px; }
.lm-mono { font-family: var(--mono); font-size: .92em; }
.lm-small { font-size: 12px; }
.lm-muted, .muted, .form-help { color: var(--muted); }
.lm-warn { color: var(--warn); }
.lm-icon { width: 18px; height: 18px; flex: none; }
.lm-skip { position: fixed; left: 12px; top: 10px; z-index: 50; padding: 8px 14px; background: var(--paper); color: var(--bg); border-radius: 6px; transform: translateY(-160%); }
.lm-skip:focus { transform: none; }

/* ---------- Shell ---------- */
.lm-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.lm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px; padding: 18px 12px 14px; background: var(--nav); border-right: 1px solid var(--line); overflow-y: auto; }
.lm-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 6px; }
.lm-brand img { width: 38px; height: 38px; object-fit: contain; }
.lm-brand strong { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.lm-brand small { display: block; font: 500 10px var(--mono); color: var(--muted); letter-spacing: .04em; }
.lm-search-trigger { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); color: var(--muted); font-size: 13px; text-align: left; }
.lm-search-trigger span { flex: 1; }
.lm-search-trigger:hover { border-color: var(--sel-line); color: var(--paper); }
.lm-nav { display: grid; gap: 2px; }
.lm-nav a, .lm-nav-group summary { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 10px; border-radius: var(--r-sm); color: var(--muted-2); font-size: 13.5px; font-weight: 500; }
.lm-nav a:hover, .lm-nav-group summary:hover { background: var(--panel); color: var(--paper); }
.lm-nav a.is-active { background: var(--sel); color: var(--paper); box-shadow: inset 2px 0 var(--accent); }
.lm-nav a.is-active .lm-icon { color: var(--accent); }
.lm-nav-label { margin: 14px 10px 4px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lm-nav-group { margin-top: 2px; }
.lm-nav-group summary { list-style: none; }
.lm-nav-group summary::-webkit-details-marker { display: none; }
.lm-nav-group summary::after { content: "+"; margin-left: auto; color: var(--muted); }
.lm-nav-group[open] summary::after { content: "−"; }
.lm-nav-group a { margin-left: 18px; padding-left: 16px; border-left: 1px solid var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0; min-height: 34px; font-size: 13px; }
.lm-side-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.lm-me { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r-sm); }
.lm-me:hover { background: var(--panel); }
.lm-me strong { display: block; font-size: 13px; }
.lm-me small { display: block; font-size: 11px; color: var(--muted); }
.lm-logout { padding: 4px 8px; font-size: 12px; color: var(--muted); }
.lm-logout:hover { color: var(--paper); }
.lm-avatar { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sel-hover); color: var(--accent); font: 600 12px var(--sans); border: 1px solid var(--sel-line); }
.lm-avatar--sm { width: 28px; height: 28px; font-size: 11px; }
.lm-avatar--xs { width: 20px; height: 20px; font-size: 9px; }
.lm-main { min-width: 0; padding: 22px clamp(18px, 3vw, 40px) 28px; max-width: 1640px; width: 100%; }
.lm-main:focus { outline: none; }
.lm-top { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-bottom: 20px; }
.lm-top h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.lm-beta { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--sel-line); border-radius: 999px; color: var(--accent); background: var(--sel); }
.lm-menu { display: none; }
.lm-scrim { display: none; }
.lm-foot { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); }

/* ---------- Building blocks ---------- */
.lm-card, .card, .release-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.card { margin-bottom: 18px; }
.lm-card h3, .card h2, .card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.lm-card > h3, .lm-form > h3 { margin-bottom: 12px; }
.lm-card--accent { border-color: var(--sel-line); background: linear-gradient(160deg, var(--sel) 0%, var(--panel) 70%); }
.lm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lm-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.lm-grid-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.lm-eyebrow, .kicker, .eyebrow { font: 500 11px var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.lm-link, .text-button, .line-links a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--sel-line); text-underline-offset: 3px; font-size: 13px; background: none; border: 0; padding: 0; }
.lm-link:hover, .text-button:hover { text-decoration-color: var(--accent); }
.lm-textbtn { background: none; border: 0; padding: 0; color: var(--muted-2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.lm-textbtn--danger { color: var(--danger); }
.lm-pill { font: 500 11px var(--mono); padding: 2px 8px; border-radius: 999px; background: var(--raise); color: var(--muted-2); }
.lm-empty { color: var(--muted); font-size: 13px; padding: 4px 0; }
.lm-empty-state { text-align: center; padding: 48px 20px; }
.lm-empty-state h3 { margin-bottom: 6px; }
.lm-hint { margin: 0 0 14px; font-size: 13px; color: var(--warn); }
.lm-intro { margin-bottom: 16px; max-width: 640px; }
.lm-crumbs { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.lm-crumbs a { color: var(--muted-2); }
.lm-crumbs a:hover { color: var(--paper); }

/* Buttons */
.lm-btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 16px; border: 1px solid var(--paper); border-radius: var(--r-sm); background: var(--paper); color: var(--bg); font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; }
.lm-btn:hover, .button:hover { background: var(--accent); border-color: var(--accent); color: #0d1320; }
.lm-btn--ghost, .button--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.lm-btn--ghost:hover, .button--ghost:hover { background: var(--raise); border-color: var(--sel-line); color: var(--paper); }
.lm-btn--danger, .button--danger { background: transparent; color: var(--danger); border-color: var(--danger-line); }
.lm-btn--danger:hover, .button--danger:hover { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.button--compact { min-height: 30px; padding: 5px 11px; font-size: 12px; }
.lm-btn:disabled, .button:disabled, .lm-btn[aria-busy="true"] { opacity: .5; cursor: not-allowed; }
.lm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted-2); background: transparent; }
.lm-chip:hover { border-color: var(--sel-line); color: var(--paper); }
.lm-chip.is-on { background: var(--sel); border-color: var(--sel-line); color: var(--paper); }

/* Status & tags */
.lm-status { display: inline-flex; align-items: center; gap: 5px; font: 500 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; font-style: normal; color: var(--muted-2); }
.lm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lm-status--pending { color: var(--warn); }
.lm-status--shortlist { color: var(--info); }
.lm-status--accepted { color: var(--ok); }
.lm-status--rejected { color: var(--danger); }
.lm-status--contacted { color: var(--accent); }
.lm-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.lm-tag { display: inline-block; font: 500 10.5px var(--mono); font-style: normal; padding: 2px 7px; border-radius: 5px; background: var(--raise); color: var(--muted-2); white-space: nowrap; }
.lm-tag--ok { background: var(--ok-bg); color: var(--ok); }
.lm-tag--warn { background: var(--warn-bg); color: var(--warn); }
.badge { font: 500 10.5px var(--mono); color: var(--muted-2); }
.badge--success { color: var(--ok); } .badge--warning { color: var(--warn); } .badge--danger { color: var(--danger); }

/* Alerts */
.lm-alert, .alert { padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--panel); margin-bottom: 14px; font-size: 13.5px; }
.lm-alert--success, .alert--success { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok); }
.lm-alert--warning, .alert--warning { border-color: var(--warn-line); background: var(--warn-bg); color: var(--warn); }
.lm-alert--error, .alert--error { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.lm-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); margin: 0 0 16px; }
.lm-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lm-banner--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.lm-banner--accent { background: linear-gradient(120deg, var(--sel) 0%, var(--panel) 100%); border-color: var(--sel-line); }
.lm-banner-text { flex: 1 1 320px; display: grid; gap: 2px; }
.lm-banner-text span { color: var(--muted-2); font-size: 13px; }
.lm-create { flex-basis: 100%; }
.lm-create > summary { list-style: none; display: inline-flex; }
.lm-create > summary::-webkit-details-marker { display: none; }
.lm-create[open] > summary { margin-bottom: 14px; }

/* Forms */
.lm-form, .form-panel, .login-form { display: grid; gap: 14px; align-content: start; }
label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted-2); min-width: 0; }
.lm-label { font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
input, select, textarea { width: 100%; min-width: 0; min-height: 38px; padding: 8px 11px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--paper); font-size: 13.5px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .38); }
input:hover, select:hover, textarea:hover { border-color: #3c3c40; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sel-line); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); }
textarea { resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select[multiple] { background-image: none; padding: 6px; }
select[multiple] option { padding: 5px 8px; border-radius: 5px; }
select[multiple] option:checked { background: var(--sel-hover); color: var(--paper); }
input[type=checkbox], input[type=radio] { width: 16px; min-height: 16px; height: 16px; padding: 0; accent-color: var(--accent); }
input[type=file] { padding: 7px; font-size: 12.5px; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--raise); color: var(--paper); cursor: pointer; }
input[type=color] { padding: 3px; height: 40px; }
.lm-check, .checkbox-field { display: flex; align-items: center; gap: 9px; font-weight: 400; color: var(--paper); font-size: 13px; }
.lm-check--big { font-size: 14px; font-weight: 500; }
.lm-form--grid, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.lm-form--grid > .lm-form-actions, .full { grid-column: 1 / -1; }
.lm-form-actions, .form-actions, .inline-form, .row-actions, .resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.inline-form label { flex: 1; min-width: 130px; }
.lm-inline { display: flex; gap: 8px; align-items: center; }
.lm-fieldset { border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 12px 14px 14px; margin: 0; }
.lm-fieldset legend { padding: 0 6px; font-size: 12px; color: var(--muted); }
.lm-dirty-hint { font-size: 12px; color: var(--warn); }
.lm-dirty-hint:empty { display: none; }
.lm-danger summary { font-size: 12.5px; color: var(--danger); margin-top: 6px; }
.lm-danger[open] .lm-form { margin-top: 10px; padding: 12px; border-radius: var(--r-sm); background: var(--danger-bg); }
.lm-upload { display: grid; gap: 8px; align-content: start; }
.lm-upload-preview { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* Segmented status picker */
.lm-segment { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-seg { display: inline-flex; }
.lm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lm-seg span { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted-2); cursor: pointer; }
.lm-seg span:hover { border-color: #44444a; color: var(--paper); }
.lm-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lm-seg input:checked + span { background: var(--sel); border-color: var(--sel-line); color: var(--paper); font-weight: 600; }
.lm-seg--accepted input:checked + span { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.lm-seg--rejected input:checked + span { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }
.lm-seg--pending input:checked + span { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }

/* Switch */
.lm-switch-form { display: grid; gap: 8px; }
.lm-switch { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--paper); font-size: 13px; font-weight: 500; }
.lm-switch span { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); transition: background .15s; }
.lm-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
.lm-switch.is-on span { background: #2f6b45; border-color: #3f8a5a; }
.lm-switch.is-on span::after { transform: translateX(16px); background: var(--ok); }
.lm-switch:disabled { opacity: .5; cursor: not-allowed; }

/* Toolbar, tabs, search */
.lm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.lm-search { display: flex; flex: 1 1 420px; gap: 8px; min-width: 0; }
.lm-search input[type=search] { flex: 1; min-width: 0; }
.lm-search select { width: auto; flex: none; }
.lm-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 16px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.lm-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; white-space: nowrap; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.lm-tabs a:hover { color: var(--paper); }
.lm-tabs a.is-active { color: var(--paper); border-color: var(--accent); font-weight: 600; }
.lm-tabs span { font: 500 10.5px var(--mono); color: var(--muted); }
.lm-seg-links { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.lm-seg-links a { padding: 8px 12px; font-size: 12.5px; color: var(--muted); }
.lm-seg-links a.is-on { background: var(--raise); color: var(--paper); }
.lm-popover { position: relative; }
.lm-popover > summary { list-style: none; }
.lm-popover > summary::-webkit-details-marker { display: none; }
.lm-popover-body { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(360px, 90vw); box-shadow: 0 20px 50px #000a; }

/* ---------- Dashboard ---------- */
.lm-hero { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding: 26px 26px 24px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, var(--sel) 0%, var(--panel) 55%); position: relative; overflow: hidden; }
.lm-hero::after { content: ""; position: absolute; right: -20px; bottom: -40px; width: 220px; height: 220px; background: url("alablanca-mark.png") center/contain no-repeat; opacity: .06; pointer-events: none; }
.lm-hero h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 4px; }
.lm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.lm-kpi { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-kpi:hover { border-color: var(--sel-line); background: var(--panel-2); }
.lm-kpi span { font-size: 12px; color: var(--muted); }
.lm-kpi strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lm-list { list-style: none; margin: 0; padding: 0; display: grid; }
.lm-list li + li { border-top: 1px solid var(--line-soft); }
.lm-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; padding: 10px 4px; border-radius: 8px; }
.lm-list a:hover { background: var(--panel-2); }
.lm-list strong { font-size: 13.5px; font-weight: 600; }
.lm-list span { grid-column: 1; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-list em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 12px; color: var(--accent); }
.lm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lm-timeline li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.lm-timeline p { padding-top: 4px; }
.lm-timeline small { display: block; font-size: 11px; color: var(--muted); }
.lm-timeline--full li small { display: inline; margin-left: 6px; }
.lm-timeline-day { padding-top: 10px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line-soft); }
.lm-timeline-day:first-child { border-top: 0; padding-top: 0; }
.lm-pager { display: flex; justify-content: space-between; margin-top: 18px; }

/* Covers */
.lm-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.lm-covers--big { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.lm-cover { position: relative; display: grid; gap: 3px; align-content: start; min-width: 0; }
.lm-cover img, .lm-cover-ph { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--raise); border: 1px solid var(--line-soft); margin-bottom: 6px; transition: transform .18s, border-color .18s; }
.lm-cover:hover img { transform: translateY(-2px); border-color: var(--sel-line); }
.lm-cover strong { font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-cover small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-cover-flag { position: absolute; top: 8px; left: 8px; }
.lm-cover-ph { background: linear-gradient(135deg, var(--sel) 0%, var(--raise) 100%); }

/* ---------- Inbox ---------- */
.lm-inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.lm-rail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 6px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); scrollbar-width: thin; }
.lm-rail-count { padding: 6px 10px 8px; font-size: 11.5px; color: var(--muted); }
.lm-rail-item { display: grid; gap: 3px; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; }
.lm-rail-item + .lm-rail-item { margin-top: 2px; }
.lm-rail-item:hover { background: var(--panel-2); }
.lm-rail-item.is-active { background: var(--sel); border-color: var(--sel-line); }
.lm-rail-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.lm-rail-top small { font-size: 11px; color: var(--muted); }
.lm-rail-item strong { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lm-rail-sub { font-size: 12px; color: var(--muted-2); }
.lm-rail-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 11px; color: var(--muted); }
.lm-detail { min-width: 0; }
.lm-detail-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-detail-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 4px; overflow-wrap: anywhere; }
.lm-detail-head h2 small { font-size: .55em; color: var(--muted); font-weight: 500; }
.lm-detail-sub { color: var(--muted-2); }
.lm-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 18px; margin: 0 0 16px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line-soft); background: var(--panel-2); }
.lm-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.lm-facts dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.lm-facts--inline { margin: 14px 0; padding: 0; border: 0; background: none; grid-template-columns: repeat(3, max-content); gap: 24px; }
.lm-message { margin: 0 0 16px; padding: 16px 18px; border-left: 2px solid var(--sel-line); background: var(--panel-2); border-radius: 0 var(--r) var(--r) 0; font-size: 13.5px; line-height: 1.7; color: var(--muted-2); overflow-wrap: anywhere; }
.lm-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.lm-detail-grid--wide { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
.lm-notes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.lm-notes li { display: flex; gap: 10px; }
.lm-notes p { font-size: 13px; overflow-wrap: anywhere; }
.lm-note-meta { font-size: 11.5px !important; color: var(--muted); margin-bottom: 2px; }
.lm-note-meta strong { color: var(--paper); font-weight: 600; }

/* ---------- Artists ---------- */
.lm-artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lm-artist-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.lm-artist-card:hover { border-color: var(--sel-line); background: var(--panel-2); }
.lm-artist-photo { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--sel-hover), var(--raise)); color: var(--accent); font-weight: 600; font-size: 18px; border: 1px solid var(--line); }
.lm-artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.lm-artist-photo--lg { width: 132px; height: 132px; font-size: 38px; }
.lm-artist-body { display: grid; gap: 4px; min-width: 0; }
.lm-artist-body strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-artist-body small { font-size: 12px; color: var(--muted); }
.lm-profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 260px); gap: 22px; align-items: center; padding: 22px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(100% 140% at 0% 0%, var(--sel) 0%, var(--panel) 60%); }
.lm-profile-main h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; margin: 4px 0; }
.lm-profile-side { display: grid; gap: 8px; align-content: center; padding-left: 20px; border-left: 1px solid var(--line); }
.lm-link-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lm-meter { height: 6px; border-radius: 999px; background: var(--raise); overflow: hidden; }
.lm-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--sel-line), var(--accent)); }

/* ---------- Releases ---------- */
.lm-sync { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; }
.lm-sync > div:first-child { flex: 1 1 380px; display: grid; gap: 4px; }
.lm-sync-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lm-release-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 16px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-release-cover { width: 220px; height: 220px; object-fit: cover; border-radius: 12px; display: block; }
.lm-release-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; margin: 4px 0; }
.lm-release-artists { font-size: 16px; color: var(--muted-2); }
.lm-release-artists a:hover { color: var(--paper); text-decoration: underline; }
.lm-table-wrap, .table-wrap { width: 100%; overflow-x: auto; }
.lm-table, table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lm-table th, th { text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lm-table td, td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.lm-table tbody tr:hover, tbody tr:hover { background: var(--panel-2); }
.lm-table tr[data-href] { cursor: pointer; }
td small { display: block; color: var(--muted); }
.lm-copy { background: none; border: 0; padding: 0; color: var(--muted-2); font: inherit; }
.lm-copy:hover { color: var(--paper); }
.lm-copy.is-copied::after { content: " ✓"; color: var(--ok); }
.lm-play { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: 10px; color: var(--paper); }
.lm-play:hover { background: var(--sel); border-color: var(--sel-line); }
.lm-template-body { font-size: 13px; color: var(--muted-2); margin: 6px 0 12px; }

/* ---------- Palette ---------- */
.lm-palette { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start center; padding: 12vh 16px 16px; background: #000a; backdrop-filter: blur(3px); }
.lm-palette-box { width: min(620px, 100%); border-radius: 16px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 30px 80px #000c; overflow: hidden; }
.lm-palette-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.lm-palette-input input { border: 0; background: transparent; box-shadow: none !important; padding: 4px 0; font-size: 16px; }
.lm-palette-results { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.lm-palette-results li a { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 12px; padding: 9px 10px; border-radius: 9px; }
.lm-palette-results li a[aria-selected="true"], .lm-palette-results li a:hover { background: var(--sel); }
.lm-palette-results .t { grid-row: span 2; align-self: center; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lm-palette-results .l { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-palette-results .s { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-palette-results .empty { padding: 14px 10px; color: var(--muted); font-size: 13px; }
.lm-palette-hint { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }

/* ---------- Legacy screens (Ajustes, Promos) ---------- */
.panel-grid, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel-grid .card { margin: 0; }
.card--wide { grid-column: 1 / -1; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 18px; margin-bottom: 4px; }
.section-head .muted { font-size: 13px; }
.note-block, .staff-response { padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); margin: 12px 0; }
.permission-list { border: 0; padding: 0; display: grid; gap: 8px; }
.permission-list legend { font-weight: 600; margin-bottom: 8px; color: var(--paper); }
.settings-save { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 12px; padding: 12px; margin: 16px 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 10px 30px #0008; }
.settings-logo { width: 72px; height: 72px; object-fit: contain; background: var(--raise); border-radius: 12px; padding: 8px; }
.menu-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px; gap: 12px; margin-bottom: 12px; }
.appearance-sample { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); margin-top: 14px; }
.team-notice { white-space: normal; overflow-wrap: anywhere; }
.lm .promo-toolbar p, .lm .promo-editor label span, .lm .promo-editor p, .lm .promo-sharing p, .lm .promo-file small { color: var(--muted); }
.lm .promo-editor input[type=file] { background: var(--bg); border-color: var(--line); }
.lm .promo-file { border-color: var(--line-soft); }
.lm .promo-editor .button, .lm .promo-toolbar .button { background: var(--paper); color: var(--bg); border-radius: var(--r-sm); padding: 10px 18px; }
.lm .promo-editor .button:hover, .lm .promo-toolbar .button:hover { background: var(--accent); }
.lm .promo-save { background: var(--panel); box-shadow: 0 10px 30px #0008; }
.lm .promo-row:hover { border-color: var(--sel-line); }
.lm .promo-state { font-family: var(--mono); color: var(--muted-2); }
.lm .promo-editor label, .lm .promo-sharing label { color: var(--muted-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .lm-grid-2, .lm-detail-grid, .lm-detail-grid--wide { grid-template-columns: minmax(0, 1fr); }
  .lm-profile-head { grid-template-columns: auto minmax(0, 1fr); }
  .lm-profile-side { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .lm-inbox { grid-template-columns: minmax(0, 1fr); }
  .lm-rail { position: static; max-height: 300px; }
  .panel-grid, .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-release-head { grid-template-columns: 140px minmax(0, 1fr); }
  .lm-release-cover { width: 140px; height: 140px; }
}
@media (max-width: 820px) {
  .lm-shell { display: block; }
  .lm-side { position: fixed; z-index: 40; left: 0; top: 0; width: 270px; transform: translateX(-102%); transition: transform .2s ease; }
  .lm-side.is-open { transform: none; }
  .lm-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 39; background: #0009; }
  .lm-menu { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 12.5px; }
  .lm-top h1 { font-size: 20px; }
  .lm-main { padding: 14px 16px 24px; }
}
@media (max-width: 600px) {
  .lm-form--grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-search { flex-wrap: wrap; flex-basis: 100%; }
  .lm-search input[type=search] { flex-basis: 100%; }
  .lm-profile-head { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .lm-artist-photo--lg { width: 96px; height: 96px; font-size: 28px; }
  .lm-release-head { grid-template-columns: minmax(0, 1fr); }
  .lm-release-cover { width: 100%; height: auto; aspect-ratio: 1; }
  .lm-facts--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .lm-covers--big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lm-hero { padding: 20px; }
  .lm-detail-head { padding: 16px; }
  .lm-popover-body { position: fixed; left: 16px; right: 16px; top: 80px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Login ---------- */
body.lm-auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(90% 70% at 50% 0%, var(--sel) 0%, var(--bg) 60%); }
.lm-auth .staff-login--simple { width: min(400px, 100%); }
.lm-auth .auth-card { padding: 32px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 30px 80px #0008; }
.lm-auth .login-mark { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto 18px; }
.lm-auth h1 { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 22px; }
.lm-auth .login-form { margin: 18px 0 0; }
.lm-auth .login-form .button { width: 100%; min-height: 44px; margin-top: 6px; }
.lm-auth .auth-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font: 500 11px var(--mono); color: var(--muted); }

/* ---------- Formularios de lanzamiento ---------- */
.lm-badge { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--warn); color: #1c1c1e; font: 700 10.5px var(--mono); text-align: center; }
.lm-formline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; }
.lm-formline span { color: var(--muted-2); }
.lm-mt { margin-top: 12px; }
.lm-copyrow input { flex: 1; font-family: var(--mono); font-size: 12px; }
.lm-facts--plain { background: none; border: 0; padding: 0; margin: 0; }
.lm-facts--plain .lm-span { grid-column: 1 / -1; }
.lm-artist-rows { display: grid; gap: 14px; }
.lm-artist-rows .lm-facts { padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--panel-2); }
.lm-checklist { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; }
.lm-checklist li.is-on { color: var(--paper); }
.lm-formview .lm-card { margin-bottom: 14px; display: grid; gap: 10px; }
.lm-formview h4 { font-size: 13px; margin: 6px 0 0; color: var(--muted-2); }
.lm-pre { font-size: 13.5px; color: var(--muted-2); }
.lm-thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-thumb { display: grid; gap: 6px; width: 160px; font-size: 12px; color: var(--accent); }
.lm-thumb img { width: 160px; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--raise); }
.lm-signature { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.lm-signature img { width: 280px; max-width: 100%; background: #faf9fc; border-radius: 10px; padding: 6px; }

/* ---------- Noticias ---------- */
.lm-post-list { display: grid; gap: 8px; }
.lm-post-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-post-row:hover { border-color: var(--sel-line); background: var(--panel-2); }
.lm-post-row img, .lm-post-row .lm-cover-ph { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; display: block; }
.lm-post-main { display: grid; gap: 2px; min-width: 0; }
.lm-post-main strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-post-main small { font-size: 12px; color: var(--muted); }
.lm-editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.lm-editor-main { display: grid; gap: 14px; min-width: 0; }
.lm-editor-side { display: grid; gap: 14px; position: sticky; top: 16px; }
.lm-editor-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; min-height: 58px; padding: 10px 14px; background: var(--panel); }
.lm-editor-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.lm-editor-toolbar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.lm-editor-toolbar button { min-height: 32px; padding: 4px 9px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted-2); font-size: 12.5px; }
.lm-editor-toolbar button:hover { background: var(--raise); border-color: var(--line); color: var(--paper); }
.lm-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.lm-editor-content { min-height: 380px; padding: 18px 22px; font-size: 15.5px; line-height: 1.75; outline: none; color: var(--paper); }
.lm-editor-content:empty::before { content: attr(data-placeholder); color: rgba(255, 255, 255, .38); }
.lm-editor-content > * + * { margin-top: .9em; }
.lm-editor-content h2 { font-size: 22px; color: var(--paper); }
.lm-editor-content h3 { font-size: 18px; color: var(--paper); }
.lm-editor-content a { color: var(--accent); text-decoration: underline; }
.lm-editor-content img { max-width: 100%; border-radius: 10px; }
.lm-editor-content blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--sel-line); font-style: italic; }
.lm-editor-content.is-uploading { opacity: .6; cursor: progress; }
.lm-editor-cover { width: 100%; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Colaboradores ---------- */
.lm-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lm-partner { display: grid; gap: 6px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); }
.lm-partner.is-off { opacity: .55; }
.lm-partner:has(form.lm-form) { grid-column: 1 / -1; }
.lm-partner-img { display: grid; place-items: center; height: 90px; border-radius: 10px; background: var(--bg); padding: 10px; }
.lm-partner-img img, .lm-partner-logo { max-height: 70px; max-width: 100%; object-fit: contain; }
.lm-partner small { font-size: 11.5px; color: var(--muted); }

@media (max-width: 1100px) { .lm-editor { grid-template-columns: minmax(0, 1fr); } .lm-editor-side { position: static; } }
@media (max-width: 600px) { .lm-post-row { grid-template-columns: 72px minmax(0, 1fr); } .lm-post-row .lm-tags { grid-column: 2; } .lm-post-row img, .lm-post-row .lm-cover-ph { width: 72px; height: 48px; } }
/* ---------- Ayudas y simplificación ---------- */
.lm-top { align-items: flex-start; }
.lm-top-text { display: grid; gap: 4px; min-width: 0; flex: 1; }
.lm-intro { max-width: 760px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.lm-top .lm-beta { margin-top: 6px; }
.lm-todo { display: grid; gap: 10px; margin-bottom: 16px; }
.lm-todo-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-todo-item:hover { border-color: var(--sel-line); }
.lm-todo-num { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; background: var(--sel); color: var(--paper); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lm-todo-item strong { display: block; font-size: 15px; font-weight: 600; }
.lm-todo-item p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.lm-todo-item .lm-btn { white-space: nowrap; }
.lm-todo-sub { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.lm-todo-sub a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted-2); }
.lm-todo-sub a:hover { border-color: var(--sel-line); color: var(--paper); }
.lm-alldone { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.lm-alldone b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 20px; }
.lm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; counter-reset: flow; }
.lm-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); counter-increment: flow; }
.lm-flow li::before { content: counter(flow); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sel); color: var(--paper); font-size: 12.5px; font-weight: 700; }
.lm-flow strong { font-size: 13.5px; font-weight: 600; }
.lm-flow p { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.lm-flow a { font-size: 12.5px; color: var(--accent); }
.lm-flow a:hover { text-decoration: underline; }
.lm-section-title { margin: 22px 0 10px; font-size: 15px; font-weight: 600; }
.lm-section-title small { margin-left: 6px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.lm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.lm-stats a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.lm-stats a:hover { border-color: var(--sel-line); }
.lm-stats strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lm-stats span { font-size: 12.5px; color: var(--muted); }
.lm-timeline .lm-link { font-weight: 600; }
.lm-guide { display: grid; gap: 14px; max-width: 900px; }
.lm-guide h3 { font-size: 16px; margin-bottom: 8px; }
.lm-guide p, .lm-guide li { font-size: 14px; line-height: 1.65; color: var(--muted-2); }
.lm-guide ul { margin: 6px 0 0; padding-left: 18px; }
.lm-guide dl { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.lm-guide dt { font-weight: 600; font-size: 13.5px; }
.lm-guide dd { margin: 0; font-size: 13.5px; color: var(--muted-2); }
@media (max-width: 640px) {
  .lm-todo-item { grid-template-columns: auto minmax(0, 1fr); }
  .lm-todo-item > .lm-btn { grid-column: 1 / -1; }
  .lm-guide dl { grid-template-columns: 1fr; }
}

.lm-archivebox { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.lm-archivebox .lm-inline { flex: 1; min-width: 260px; align-items: flex-end; }
.lm-archivebox .lm-grow { flex: 1; }
.lm-archivebox-del { margin-left: auto; }
.lm-doc + .lm-doc { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.lm-doc-files { list-style: none; margin: 6px 0 0; padding: 0 0 0 4px; display: grid; gap: 4px; font-size: 13px; }

/* ---------- Inicio (sin tarjetas) ---------- */
.lm[data-active="inicio"] .lm-top h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lm[data-active="inicio"] .lm-top { min-height: 0; margin-bottom: 0; }
.lm-home { max-width: 1180px; }
.lm-home-head { padding: 8px 0 34px; border-bottom: 1px solid var(--line-soft); }
.lm-home-date { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lm-home-head h2 { margin: 10px 0 8px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.lm-home-summary { font-size: 17px; line-height: 1.5; color: var(--muted-2); max-width: 680px; }
.lm-home-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.lm-home-flow a, .lm-home-flow > span:not(.lm-home-flow-sep) { color: var(--muted-2); }
.lm-home-flow a:hover { color: var(--paper); }
.lm-home-flow b { margin-left: 3px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.lm-home-flow-sep { color: var(--line); }
.lm-home-help { margin-left: auto; color: var(--accent) !important; }
.lm-home-help:hover { text-decoration: underline; }
.lm-home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 56px; padding-top: 30px; }
.lm-home-label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lm-home-label a { margin-left: auto; font: 500 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--accent); }
.lm-home-label a:hover { text-decoration: underline; }
.lm-home-label--gap { margin-top: 40px; }
.lm-home-todo { list-style: none; margin: 0; padding: 0; }
.lm-home-todo li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.lm-home-todo li:first-child { border-top: 0; padding-top: 4px; }
.lm-home-count { font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.lm-home-task-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.lm-home-task-title a { margin-left: 8px; font-size: 13.5px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.lm-home-task-title a:hover { text-decoration: underline; }
.lm-home-task-hint { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.lm-home-names { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
.lm-home-names a { color: var(--paper); border-bottom: 1px solid var(--line); }
.lm-home-names a:hover { color: var(--accent); border-color: var(--accent); }
.lm-home-names span { color: var(--muted); }
.lm-home-note, .lm-home-done { margin-top: 6px; font-size: 13px; color: var(--muted); }
.lm-home-done { font-size: 15px; color: var(--muted-2); }
.lm-home-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.lm-home-stats a:hover { color: var(--paper); }
.lm-home-stats b { margin-right: 5px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--paper); font-variant-numeric: tabular-nums; }
.lm-home-upcoming { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; }
.lm-home-upcoming a { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lm-home-upcoming img, .lm-home-upcoming .lm-cover-ph { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; display: block; }
.lm-home-upcoming strong { display: block; font-weight: 600; }
.lm-home-upcoming small { color: var(--muted); }
.lm-home-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lm-home-feed p { font-size: 13.5px; line-height: 1.5; color: var(--muted-2); }
.lm-home-feed strong { color: var(--paper); font-weight: 600; }
.lm-home-feed a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.lm-home-feed a:hover { text-decoration-color: var(--accent); }
.lm-home-feed time { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 900px) {
  .lm-home-cols { grid-template-columns: 1fr; gap: 40px; }
  .lm-home-help { margin-left: 0; }
}

/* ---------- Inicio: toques de estilo ---------- */
.lm-home-head { position: relative; isolation: isolate; overflow: hidden; padding: 44px 40px 26px; border: 0; border-radius: 18px; background: #0b0b0c url("/banner.png") center 38% / cover no-repeat; color: #fff; }
.lm-home-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 9, .86) 0%, rgba(8, 8, 9, .55) 55%, rgba(8, 8, 9, .25) 100%), linear-gradient(0deg, rgba(8, 8, 9, .7), transparent 60%); }
.lm-home-head .lm-home-date { color: rgba(255, 255, 255, .62); }
.lm-home-head h2 { color: #fff; }
.lm-home-head .lm-home-summary { color: rgba(255, 255, 255, .8); }
.lm-home-head .lm-home-summary b { color: #fff; font-weight: 700; }
.lm-home-head .lm-home-flow { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); }
.lm-home-head .lm-home-flow a, .lm-home-head .lm-home-flow > span:not(.lm-home-flow-sep) { color: rgba(255, 255, 255, .7); }
.lm-home-head .lm-home-flow a:hover, .lm-home-head .lm-home-flow a.is-hot { color: #fff; }
.lm-home-head .lm-home-flow b { color: #fff; }
.lm-home-head .lm-home-flow-sep { background: rgba(255, 255, 255, .22); }
.lm-home-head .lm-home-help { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.lm-home-head .lm-home-flow a.is-hot::before { background: #fff; box-shadow: none; }
@media (max-width: 640px) { .lm-home-head { padding: 30px 20px 20px; border-radius: 14px; } }
.lm-home-flow { gap: 8px 6px; }
.lm-home-flow-sep { width: 18px; height: 1px; background: var(--line); font-size: 0; }
.lm-home-flow a, .lm-home-flow > span:not(.lm-home-flow-sep) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 2px; }
.lm-home-flow a.is-hot { color: var(--paper); }
.lm-home-flow a.is-hot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.lm-home-flow b { margin-left: 0; }
.lm-home-todo li { position: relative; padding-left: 4px; transition: background .15s; border-radius: 10px; }
.lm-home-todo li:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb), .06), transparent 70%); }
.lm-home-count { position: relative; padding-left: 14px; }
.lm-home-count::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--accent); }
.lm-home-label { color: var(--muted); }
.lm-home-label::before { content: ""; width: 14px; height: 1px; background: var(--accent); align-self: center; }
.lm-home-feed { position: relative; gap: 18px; padding-left: 18px; }
.lm-home-feed::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.lm-home-feed li { position: relative; }
.lm-home-feed li::before { content: ""; position: absolute; left: -18px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--muted); }
.lm-home-feed li:first-child::before { border-color: var(--accent); background: var(--accent); }
.lm-home-stats b { color: var(--paper); }
.lm-home-stats a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.lm-home-stats a:hover { border-color: var(--accent); }

/* ---------- Tablero de notas (stickers) ---------- */
.lm-home-label-note { font: 400 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.lm-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 18px; padding: 6px 2px 10px; }
.lm-sticky { --sticky: #f4e3a0; --sticky-ink: #2b2614; --tilt: -1.4deg; position: relative; display: flex; flex-direction: column; min-height: 176px; padding: 22px 16px 12px; border-radius: 3px 3px 14px 3px; background: var(--sticky); color: var(--sticky-ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 12px 24px -10px rgba(0, 0, 0, .55); transform: rotate(var(--tilt)); transition: transform .18s ease, box-shadow .18s ease; }
.lm-sticky-tape { position: absolute; left: 50%; top: -10px; width: 72px; height: 22px; transform: translateX(-50%) rotate(-2deg); background: rgba(255, 255, 255, .3); border-left: 1px dashed rgba(0, 0, 0, .07); border-right: 1px dashed rgba(0, 0, 0, .07); backdrop-filter: blur(1px); cursor: grab; touch-action: none; z-index: 2; }
.lm-sticky-tape:hover { background: rgba(255, 255, 255, .45); }
.lm-main { position: relative; }
.lm-sticky.is-free { position: absolute; width: 210px; z-index: 15; }
.lm-sticky.is-dragging { transform: rotate(0) scale(1.04); box-shadow: 0 26px 44px -14px rgba(0, 0, 0, .7); transition: none; z-index: 60 !important; }
.lm-sticky.is-dragging .lm-sticky-tape { cursor: grabbing; }
.lm-board.is-drop { outline: 1.5px dashed var(--accent); outline-offset: 8px; border-radius: 12px; }
@media (max-width: 900px) { .lm-sticky.is-free { position: relative; left: auto !important; top: auto !important; width: auto; } }
.lm-sticky::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-radius: 0 0 14px 0; background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, .1) 50%); }
.lm-board > .lm-sticky:nth-child(4n+2) { --tilt: 1.2deg; }
.lm-board > .lm-sticky:nth-child(4n+3) { --tilt: -.5deg; }
.lm-board > .lm-sticky:nth-child(4n+4) { --tilt: 1.8deg; }
.lm-sticky:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 20px 34px -12px rgba(0, 0, 0, .6); z-index: 1; }
.lm-sticky--rosa { --sticky: #f3c6cf; --sticky-ink: #3a1d24; }
.lm-sticky--azul { --sticky: #bfd5f5; --sticky-ink: #142438; }
.lm-sticky--verde { --sticky: #c8e4c3; --sticky-ink: #17301a; }
.lm-sticky--lila { --sticky: #d9cef1; --sticky-ink: #261d3d; }
.lm-sticky-body { flex: 1; font: 500 22px/1.22 "Caveat", "Segoe Print", cursive; overflow-wrap: anywhere; }
.lm-sticky footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 11.5px; opacity: .72; }
.lm-sticky-who { display: inline-flex; align-items: center; gap: 6px; }
.lm-sticky-who b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .12); font-size: 9.5px; font-weight: 700; }
.lm-sticky-x { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; line-height: 1; opacity: .55; }
.lm-sticky-x:hover { opacity: 1; background: rgba(0, 0, 0, .1); }
.lm-sticky--new { --tilt: 0deg; background: transparent; color: var(--paper); border: 1.5px dashed var(--line); box-shadow: none; }
.lm-sticky--new::after { display: none; }
.lm-sticky--new:hover, .lm-sticky--new:focus-within { transform: none; box-shadow: none; border-color: var(--accent); }
.lm-sticky--new textarea { flex: 1; width: 100%; min-height: 96px; padding: 0; border: 0; background: transparent; color: var(--paper); font: 500 22px/1.22 "Caveat", "Segoe Print", cursive; resize: none; box-shadow: none; }
.lm-sticky--new textarea:focus { box-shadow: none; outline: none; }
.lm-sticky--new textarea::placeholder { color: var(--muted); }
.lm-sticky-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.lm-sticky-colors { display: flex; gap: 6px; }
.lm-dot { position: relative; cursor: pointer; }
.lm-dot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lm-dot span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #f4e3a0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .12s; }
.lm-dot--rosa span { background: #f3c6cf; } .lm-dot--azul span { background: #bfd5f5; } .lm-dot--verde span { background: #c8e4c3; } .lm-dot--lila span { background: #d9cef1; }
.lm-dot input:checked + span { transform: scale(1.18); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.lm-dot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.lm-sticky-post { padding: 6px 14px; border: 0; border-radius: 999px; background: var(--paper); color: var(--bg); font-size: 12.5px; font-weight: 600; }
.lm-sticky-post:hover { background: var(--accent); color: #0d1320; }
[data-theme="light"] .lm-sticky { box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 12px 22px -12px rgba(30, 35, 50, .35); }
[data-theme="light"] .lm-sticky-post:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .lm-sticky { transition: none; } }

/* ---------- Menú lateral compacto ---------- */
:root:not([data-theme="light"]) { --nav: #111113; }
.lm-side { gap: 8px; padding: 12px 10px 10px; }
.lm-brand { padding: 2px 6px 4px; gap: 9px; }
.lm-brand img { width: 30px; height: 30px; }
.lm-brand strong { font-size: 12.5px; }
.lm-brand small { font-size: 9.5px; }
.lm-search-trigger { padding: 6px 9px; font-size: 12.5px; }
.lm-nav { gap: 1px; }
.lm-nav a, .lm-nav-group summary { min-height: 30px; padding: 4px 9px; gap: 9px; font-size: 13px; }
.lm-nav .lm-icon { width: 16px; height: 16px; }
.lm-nav-label { margin: 9px 9px 2px; font-size: 9.5px; }
.lm-nav-group a { min-height: 28px; font-size: 12.5px; }
.lm-side-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 6px; padding-top: 8px; }
.lm-side-foot .lm-me { grid-column: 1 / -1; padding: 4px 6px; }
.lm-side-foot .lm-theme { width: auto; padding: 4px 8px; font-size: 12px; }
.lm-side-foot .lm-logout { padding: 4px 6px; text-align: right; }
.lm-avatar--photo { overflow: hidden; padding: 0; border-color: var(--line); background: var(--raise); }
.lm-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-sticky-who .lm-avatar { width: 20px; height: 20px; font-size: 9px; border: 0; background: rgba(0, 0, 0, .12); color: inherit; }
.lm-sticky-who .lm-avatar--photo { border: 1px solid rgba(0, 0, 0, .15); }

/* ---------- Compilaciones ---------- */
.lm-compbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.lm-compbox-label { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lm-compbox-label .lm-icon { width: 15px; height: 15px; }
.lm-compchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.lm-compchip small { color: var(--warn); font-size: 11px; }
.lm-compchip.is-ok small { color: var(--ok); }
.lm-compchip:hover { border-color: var(--accent); }
.lm-compbox-form { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.lm-compbox-form select, .lm-compbox-form input { min-height: 34px; width: auto; max-width: 260px; }
.lm-comps { max-width: 980px; }
.lm-comp-new { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.lm-comp-new input[name="title"] { flex: 1; min-width: 240px; }
.lm-comp-new input[type="date"] { width: auto; }
.lm-comp-list { list-style: none; margin: 0; padding: 0; }
.lm-comp-list li + li { border-top: 1px solid var(--line-soft); }
.lm-comp-list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 6px; border-radius: 10px; }
.lm-comp-list a:hover { background: var(--panel-2); }
.lm-comp-cover { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, var(--raise), var(--panel)); border: 1px solid var(--line); font-weight: 700; letter-spacing: .04em; color: var(--muted-2); }
.lm-comp-main strong { display: block; font-size: 16px; font-weight: 600; }
.lm-comp-main small, .lm-comp-count small { display: block; font-size: 12.5px; color: var(--muted); }
.lm-comp-count { text-align: right; font-size: 13px; color: var(--muted-2); }
.lm-comp-count b { font-size: 20px; color: var(--paper); margin-right: 3px; }
.lm-comp-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 48px; max-width: 1180px; }
.lm-tracklist { list-style: none; margin: 0; padding: 0; }
.lm-tracklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line-soft); }
.lm-tracklist li:first-child { border-top: 0; }
.lm-tracklist-n { font: 500 12px var(--mono); color: var(--muted); }
.lm-tracklist-main strong { display: block; font-size: 14.5px; font-weight: 600; }
.lm-tracklist-main small { font-size: 12.5px; color: var(--muted); }
.lm-tracklist-main a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; }
.lm-trackstate { padding: 3px 10px; border: 1px solid var(--warn-line); border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 11.5px; font-weight: 600; }
.lm-tracklist li.is-ok .lm-trackstate { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok); }
.lm-tracklist-tools { display: inline-flex; gap: 2px; }
.lm-tracklist-tools button { width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 14px; }
.lm-tracklist-tools button:hover:not(:disabled) { background: var(--raise); color: var(--paper); }
.lm-tracklist-tools button:disabled { opacity: .3; cursor: default; }
.lm-comp-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lm-comp-add select { flex: 1 1 280px; }
.lm-comp-add input { flex: 1 1 150px; }
.lm-comp-or { font-size: 12.5px; color: var(--muted); }
.lm-comp-del { margin-top: 12px; }
@media (max-width: 900px) { .lm-comp-detail { grid-template-columns: 1fr; gap: 28px; } .lm-compbox-form { margin-left: 0; } }

.lm-comp-adders { display: grid; gap: 10px; }
.lm-comp-adders .lm-comp-add { flex-wrap: nowrap; }
.lm-comp-src { flex: none; width: 112px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lm-comp-adders select, .lm-comp-adders input { min-width: 0; }
@media (max-width: 700px) { .lm-comp-adders .lm-comp-add { flex-wrap: wrap; } .lm-comp-src { width: 100%; } }

/* ---------- Cuentas de artistas ---------- */
.lm-acc-note { margin: -6px 0 16px; font-size: 13px; color: var(--muted); }
.lm-acc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.lm-acc-bar .lm-tabs { margin: 0; }
.lm-acc-search input { width: 280px; max-width: 100%; }
.lm-acc-list { list-style: none; margin: 0; padding: 0; max-width: 1180px; }
.lm-acc-list > li { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 1fr) minmax(170px, 1fr) auto; align-items: center; gap: 10px 18px; padding: 14px 6px; border-top: 1px solid var(--line-soft); }
.lm-acc-list > li:first-child { border-top: 0; }
.lm-acc-list > li.is-off { opacity: .6; }
.lm-acc-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lm-acc-who strong { display: block; font-size: 14.5px; font-weight: 600; }
.lm-acc-who small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-acc-meta small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.lm-acc-state { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; border: 1px solid; }
.lm-acc-state.is-on { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.lm-acc-state.is-off { color: var(--muted); background: var(--raise); border-color: var(--line); }
.lm-acc-ficha { font-size: 13px; min-width: 0; }
.lm-acc-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lm-acc-inline select, .lm-acc-inline input { min-height: 32px; width: auto; max-width: 220px; font-size: 13px; }
.lm-acc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; font-size: 13px; }
.lm-acc-del { position: relative; }
.lm-acc-del summary { list-style: none; color: var(--danger); cursor: pointer; }
.lm-acc-del summary::-webkit-details-marker { display: none; }
.lm-acc-delbox { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(360px, 86vw); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--danger-line); background: var(--panel); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); font-size: 13px; }
.lm-acc-delbox p { margin: 0 0 8px; }
.lm-acc-delbox ul { margin: 0 0 10px; padding-left: 18px; color: var(--muted-2); }
.lm-acc-delbox .lm-acc-inline input { flex: 1; max-width: none; }
@media (max-width: 1000px) { .lm-acc-list > li { grid-template-columns: 1fr 1fr; } .lm-acc-actions { justify-content: flex-start; } }
@media (max-width: 600px) { .lm-acc-list > li { grid-template-columns: 1fr; } }

.lm-rejectbox { border-color: var(--danger-line); }
.lm-rejectbox h3 { margin-bottom: 4px; }
.lm-rejectbox textarea { width: 100%; }
.lm-rejectbox .lm-check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lm-reopened { border-color: var(--warn-line); background: var(--warn-bg); }
.lm-reopened p { margin: 4px 0; }
.lm-reopened--done { border-color: var(--line); background: var(--panel); }

/* ---------- Modo día ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f2f0;
  --nav: #fafaf9;
  --panel: #ffffff;
  --panel-2: #f7f7f6;
  --raise: #ebebe8;
  --line: #e0e0dc;
  --line-soft: #ebebe8;
  --paper: #161616;
  --muted: #6e6e6a;
  --muted-2: #3f3f3c;
  --accent: #161616;
  --accent-rgb: 22, 22, 22;
  --sel: #e9e9e6;
  --sel-hover: #e0e0dc;
  --sel-line: #161616;
  --ok: #1f7a4a;
  --ok-bg: #e7f3ec;
  --ok-line: #b9dcc7;
  --warn: #8a5a00;
  --warn-bg: #fbf1da;
  --warn-line: #ead39b;
  --danger: #b3261e;
  --danger-bg: #fbe9e7;
  --danger-line: #f1c0bb;
  --info: #2b5fb8;
}
[data-theme="light"] .lm-brand img, [data-theme="light"] .lm-hero::after { filter: invert(1) brightness(.2); }
[data-theme="light"] .lm-btn:hover, [data-theme="light"] .button:hover,
[data-theme="light"] .lm .promo-editor .button:hover, [data-theme="light"] .lm .promo-toolbar .button:hover { color: #fff; }
[data-theme="light"] .lm-switch.is-on span { background: #2e7a4b; border-color: #2e7a4b; }
[data-theme="light"] input::placeholder, [data-theme="light"] textarea::placeholder, [data-theme="light"] .lm-editor-content:empty::before { color: #a3a39f; }
[data-theme="light"] input:hover, [data-theme="light"] select:hover, [data-theme="light"] textarea:hover { border-color: #cfcfca; }
[data-theme="light"] .lm-seg span:hover { border-color: #cfcfca; }
[data-theme="light"] .lm-editor-content { color: var(--paper); }
[data-theme="light"] .lm-badge { color: #fff; }
[data-theme="light"] .lm-palette, [data-theme="light"] .lm-scrim.is-open { background: #1b1c1f40; }
[data-theme="light"] .lm-popover-body, [data-theme="light"] .lm-palette-box, [data-theme="light"] .settings-save, [data-theme="light"] .lm .promo-save, [data-theme="light"] .lm-auth .auth-card { box-shadow: 0 18px 50px #1b1c1f1f; }
.lm-theme { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); color: var(--muted-2); font-size: 12.5px; text-align: left; }
.lm-theme:hover { border-color: var(--sel-line); color: var(--paper); }
.lm-theme-ico { width: 18px; text-align: center; font-size: 14px; line-height: 1; }

@media print {
  body.lm { background: #fff; color: #111; }
  .lm-side, .lm-top .lm-menu, .lm-noprint, .lm-foot, .lm-palette, .lm-alert { display: none !important; }
  .lm-shell { display: block; }
  .lm-main { padding: 0; max-width: none; }
  .lm-card, .lm-detail-head { background: #fff !important; border-color: #ccc !important; color: #111; break-inside: avoid; }
  .lm-muted, .lm-facts dt, .lm-detail-sub, .lm-eyebrow { color: #555 !important; }
  a { color: #111 !important; }
}

/* Modo día monocromo: enlaces y acentos en tinta con subrayado */
[data-theme="light"] .lm-link, [data-theme="light"] .lm-home-label a, [data-theme="light"] .lm-home-task-title a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b8b8b3; }
[data-theme="light"] .lm-nav a.is-active { background: #161616; color: #fafaf9; box-shadow: none; }
[data-theme="light"] .lm-nav a.is-active .lm-icon { color: #fafaf9; }
[data-theme="light"] .lm-home-count::before { background: #161616; }
[data-theme="light"] .lm-side { border-right-color: #e6e6e2; }
