/* Notea 7.8.3.0 — Editor/trash evolution compatibility.
   This file preserves cascade order from the consolidated legacy stylesheet. */
.settings-select-row{display:grid!important;grid-template-columns:26px minmax(0,1fr) 112px;align-items:center;column-gap:9px;min-height:40px}.settings-select-row>span:nth-child(2){min-width:0}.settings-select-row select{width:112px!important;max-width:112px!important;height:32px!important;margin:0!important;padding:0 31px 0 10px!important;border:1px solid var(--line)!important;border-radius:10px!important;background-color:var(--paper)!important;color:var(--text)!important;font:600 11px/1 var(--font)!important;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%)!important;background-position:calc(100% - 14px) 13px,calc(100% - 10px) 13px!important;background-size:4px 4px,4px 4px!important;background-repeat:no-repeat!important}.toolbar{overflow-x:auto;overflow-y:visible;background:color-mix(in srgb,var(--paper) 95%,transparent);border-color:color-mix(in srgb,var(--line) 82%,transparent);box-shadow:0 12px 34px rgba(34,38,65,.08)}.toolbar button,.color-tool{transition:background .15s ease,color .15s ease,transform .15s ease}.toolbar button:active{transform:scale(.94)}.history-tool,.svg-tool{padding:0!important}.history-tool svg,.svg-tool svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.history-divider{margin-right:3px}.tool-dropdown{position:relative;flex:0 0 auto}.tool-dropdown-trigger{height:38px!important;min-width:98px!important;padding:0 10px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:1px solid transparent!important;background:var(--panel-2)!important;color:var(--text)!important;font:650 12px var(--font)!important}.tool-dropdown[data-tool-dropdown="font"] .tool-dropdown-trigger{min-width:105px!important}.tool-dropdown-trigger:hover{border-color:var(--line)!important;background:var(--paper)!important}.tool-dropdown-trigger svg{width:15px;height:15px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tool-dropdown-menu{position:fixed;z-index:1200;padding:7px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--paper) 97%,transparent);box-shadow:0 18px 48px rgba(25,28,48,.20);backdrop-filter:blur(20px);display:grid;gap:3px;max-height:min(380px,60dvh);overflow:auto}.tool-dropdown-menu[hidden]{display:none!important}.tool-dropdown-menu button{width:100%!important;min-width:0!important;height:auto!important;display:flex!important;justify-content:flex-start!important;padding:9px 11px!important;border-radius:9px!important;background:transparent!important;font-size:13px!important;text-align:left!important}.tool-dropdown-menu button:hover{background:var(--accent-soft)!important;color:var(--accent)!important}.font-menu button{font-size:14px!important}.page-delete{display:grid;place-items:center}.page-delete svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.page-delete:hover{transform:scale(1.04)}.trash-row{color:var(--text)}.trash-footer-icon{background:#fff0f1;color:#c85763}.trash-row small[hidden]{display:none}.trash-row small{min-width:20px;text-align:center}.trash-dialog{width:min(560px,calc(100% - 24px));border:0;border-radius:24px;background:var(--paper);color:var(--text);padding:0;box-shadow:0 35px 100px rgba(24,28,52,.30)}.trash-dialog::backdrop{background:rgba(17,20,32,.48);backdrop-filter:blur(7px)}.trash-dialog form{padding:26px}.trash-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.trash-dialog header small{color:var(--accent);font-size:9px;letter-spacing:.16em;font-weight:850}.trash-dialog h2{margin:3px 0 0;font-size:28px;letter-spacing:-.04em}.trash-description{margin:17px 0;color:var(--muted);font-size:13px;line-height:1.55}.trash-list{display:grid;gap:8px;max-height:min(420px,48dvh);overflow:auto;padding-right:3px}.trash-empty{padding:35px 18px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.trash-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--panel-2)}.trash-item-info{min-width:0;flex:1;display:grid;gap:3px}.trash-item-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.trash-item-info small{color:var(--muted);font-size:10px}.trash-item-actions{display:flex;align-items:center;gap:5px}.trash-item-actions button{border:0;border-radius:9px;height:34px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;font:700 10px var(--font)}.trash-item-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.trash-restore{background:var(--accent-soft);color:var(--accent)}.trash-delete-forever{width:34px;padding:0!important;background:#fff0f1;color:var(--danger)}.trash-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.trash-actions button{border-radius:11px;padding:10px 14px}.danger-outline{border:1px solid color-mix(in srgb,var(--danger) 30%,var(--line));background:transparent;color:var(--danger)}.danger-outline:disabled{opacity:.4;cursor:not-allowed}@media(max-width:720px){.settings-select-row{grid-template-columns:34px minmax(0,1fr) 132px;min-height:48px}.settings-select-row select{width:132px!important;max-width:132px!important;height:38px!important;font-size:13px!important;background-position:calc(100% - 15px) 16px,calc(100% - 11px) 16px!important}.toolbar{overflow-x:auto;overflow-y:visible}.tool-dropdown-trigger{height:42px!important;min-width:104px!important;font-size:14px!important}.tool-dropdown[data-tool-dropdown="font"] .tool-dropdown-trigger{min-width:112px!important}.history-tool svg,.svg-tool svg{width:21px;height:21px}.tool-dropdown-menu{max-height:55dvh}.tool-dropdown-menu button{font-size:15px!important;padding:12px!important}.trash-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.trash-dialog form{padding:20px 17px;max-height:calc(100dvh - 16px);overflow:auto}.trash-dialog h2{font-size:27px}.trash-list{max-height:45dvh}.trash-item{padding:12px 10px}.trash-item-actions span{display:none}.trash-item-actions button{width:38px;height:38px;padding:0}.trash-actions{display:grid;grid-template-columns:1fr 1fr}.trash-actions button{width:100%}}/* =========================================================
   VERSIÓN 3.0 — MENÚ COMPACTO Y DESPLEGABLES REPARADOS
   ========================================================= */.sidebar-footer{padding:5px 8px calc(5px + env(safe-area-inset-bottom));gap:0}.sidebar-footer .footer-row{min-height:31px;padding:3px 7px;gap:8px}.sidebar-footer .settings-select-row{min-height:34px;grid-template-columns:26px minmax(0,1fr) 108px}.sidebar-footer .settings-select-row select{width:108px!important;max-width:108px!important;height:29px!important;padding-top:0!important;padding-bottom:0!important}.sidebar-footer .footer-action-icon{width:27px!important;height:27px!important;flex-basis:27px!important;border-radius:9px}.sidebar-footer .footer-action-icon svg{width:16px;height:16px}.sidebar-footer .theme-preview{width:17px!important;height:17px!important}.sidebar-footer .account-row{margin-top:2px;padding:6px 7px}.trash-row{margin-top:1px}.tool-dropdown-trigger[aria-expanded="true"]{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))!important;background:var(--accent-soft)!important;color:var(--accent)!important}.tool-dropdown-trigger[aria-expanded="true"] svg{transform:rotate(180deg);stroke:var(--accent)}.tool-dropdown-trigger svg{transition:transform .16s ease}.tool-dropdown-menu{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}@media(max-width:720px){
  .sidebar-footer{padding:5px 9px calc(6px + env(safe-area-inset-bottom))}
  .sidebar-footer .footer-row{min-height:38px!important;padding:3px 7px;font-size:13px}
  .sidebar-footer .settings-select-row{min-height:39px;grid-template-columns:31px minmax(0,1fr) 124px}
  .sidebar-footer .settings-select-row select{width:124px!important;max-width:124px!important;height:34px!important;font-size:12px!important;background-position:calc(100% - 15px) 14px,calc(100% - 11px) 14px!important}
  .sidebar-footer .footer-action-icon{width:30px!important;height:30px!important;flex-basis:30px!important}
  .sidebar-footer .footer-action-icon svg{width:18px;height:18px}
  .tool-dropdown-menu{max-height:50dvh}
}/* =========================================================
   VERSIÓN 3.1 — DESPLEGABLES NATIVOS Y CONFIABLES
   ========================================================= */.toolbar-select-wrap{
  position:relative;display:flex;align-items:center;flex:0 0 auto;height:38px;
  border:1px solid transparent;border-radius:10px;background:var(--panel-2);
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease
}.toolbar-select-wrap:hover,.toolbar-select-wrap:focus-within{
  border-color:color-mix(in srgb,var(--accent) 42%,var(--line));
  background:var(--paper);box-shadow:0 5px 16px rgba(30,34,58,.07)
}.toolbar-select-wrap select{
  appearance:none;-webkit-appearance:none;height:100%;border:0!important;outline:0!important;
  background:transparent!important;color:var(--text)!important;margin:0!important;
  padding:0 34px 0 12px!important;font:650 12px/1 var(--font)!important;cursor:pointer
}.block-select-wrap select{width:108px;max-width:none!important}.font-select-wrap select{width:122px;max-width:none!important}.toolbar-select-wrap>svg{
  position:absolute;right:10px;width:15px;height:15px;pointer-events:none;
  fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round
}.toolbar-select-wrap:focus-within>svg{stroke:var(--accent)}@media(max-width:720px){
  .toolbar-select-wrap{height:42px;border-radius:10px}
  .toolbar-select-wrap select{font-size:14px!important;padding-left:11px!important;padding-right:34px!important}
  .block-select-wrap select{width:116px}
  .font-select-wrap select{width:126px}
  .toolbar-select-wrap>svg{right:9px;width:16px;height:16px}
}/* =========================================================
   VERSIÓN 3.3 — RESALTADO Y RENOMBRE DE CARPETAS
   ========================================================= */.folder-rename-button{width:32px!important;height:32px!important;flex:0 0 32px;border:0;border-radius:10px;background:transparent!important;color:var(--muted)!important;display:grid;place-items:center;padding:0;transition:.15s ease}.folder-rename-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.folder-rename-button:hover{background:var(--folder-soft)!important;color:var(--folder-color)!important}@media(max-width:720px){.folder-rename-button{width:36px!important;height:36px!important;flex-basis:36px}.folder-rename-button svg{width:20px;height:20px}}/* =========================================================
   VERSIÓN 3.5 — FUENTES, COLOR EN VIVO Y BIENVENIDA JW
   ========================================================= */.art-notebook{position:relative;align-items:center!important;justify-content:center!important;padding-left:0!important}.art-notebook b{font:900 20px/1 var(--font);letter-spacing:-.08em;color:#fff;transform:translateX(3px);text-shadow:0 2px 8px rgba(20,22,70,.18)}.art-notebook i{position:absolute;left:0;transform:translateX(-8px)!important}.art-notebook i:nth-of-type(1){top:15px}.art-notebook i:nth-of-type(2){top:31px}.art-notebook i:nth-of-type(3){top:47px}.art-companion{position:relative;width:72px;height:66px;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));border-radius:18px;background:linear-gradient(145deg,var(--accent-soft),color-mix(in srgb,var(--paper) 92%,var(--accent) 8%));display:grid;place-items:center;box-shadow:0 11px 27px rgba(42,45,81,.08)}.art-companion svg{width:50px;height:50px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.art-companion .art-pencil{fill:var(--paper);stroke-width:1.8}.art-companion>i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--accent)}.art-companion>i:first-of-type{right:-3px;top:11px;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 12%,transparent)}.art-companion>i:last-of-type{left:-4px;bottom:10px;width:5px;height:5px;opacity:.55}.format-preview-target{outline:2px solid color-mix(in srgb,var(--accent) 48%,transparent);outline-offset:2px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.toolbar-select-wrap select option{color:var(--text);background:var(--paper)}.install-app-button{width:100%;min-height:44px;border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));border-radius:12px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 13px;font:800 12px var(--font);transition:.16s ease}.install-app-button[hidden]{display:none!important}.install-app-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.login-install-button{margin:0 0 12px}.about-install-button{margin:18px 0 9px}@media(display-mode:standalone){body{overscroll-behavior-y:none}.install-app-button{display:none!important}}@media(max-width:720px){.art-notebook b{font-size:16px}.art-companion{width:58px;height:52px;border-radius:14px}.art-companion svg{width:39px;height:39px}.install-app-button{min-height:48px;font-size:14px}}/* =========================================================
   VERSIÓN 3.6 — SELECCIÓN ESTABLE, PALETAS Y BIENVENIDA
   ========================================================= */.art-notebook{position:relative;align-items:stretch!important;justify-content:space-evenly!important;padding-left:4px!important;flex:0 0 58px}.art-notebook i{position:static!important;left:auto!important;top:auto!important;transform:translateX(-8px)!important}.art-companion{display:none!important}.login-art{gap:14px;justify-content:flex-start}.art-companion-wide{height:76px;min-width:0;flex:1;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));border-radius:20px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent-soft) 75%,var(--paper) 25%),color-mix(in srgb,var(--paper) 94%,var(--accent) 6%));display:grid;place-items:center;overflow:hidden;box-shadow:0 12px 30px rgba(42,45,81,.07)}.art-companion-wide svg{width:100%;height:100%;max-width:260px}.art-paper{fill:var(--paper);stroke:color-mix(in srgb,var(--accent) 20%,var(--line));stroke-width:1.5}.art-paper-line{fill:none;stroke:color-mix(in srgb,var(--text) 48%,transparent);stroke-width:3;stroke-linecap:round}.art-pencil{fill:var(--accent-soft);stroke:var(--accent);stroke-width:2;stroke-linejoin:round}.art-pencil-tip{fill:var(--accent);stroke:var(--accent);stroke-width:1.5}.art-dot{fill:var(--accent)}.dot-one{opacity:.24}.dot-two{opacity:.5}.art-spark{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round}.format-active-target{outline:2px solid color-mix(in srgb,var(--accent) 58%,transparent);outline-offset:2px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.editor-color-palette{position:fixed;z-index:1600;width:252px;padding:12px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--paper) 98%,transparent);box-shadow:0 22px 60px rgba(24,28,50,.25);backdrop-filter:blur(22px)}.editor-color-palette[hidden]{display:none!important}.editor-color-palette header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.editor-color-palette header strong{font-size:13px}.editor-color-palette header button{width:30px!important;height:30px!important;border:0!important;border-radius:9px!important;background:var(--panel-2)!important;color:var(--muted)!important;padding:0!important}.editor-color-palette header svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}.color-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.color-swatch{width:36px!important;height:36px!important;min-width:0!important;border-radius:11px!important;border:2px solid var(--paper)!important;background:var(--swatch)!important;box-shadow:0 0 0 1px var(--line)!important;padding:0!important}.color-swatch:hover,.color-swatch:focus{transform:scale(1.08)!important;box-shadow:0 0 0 2px var(--accent)!important}.custom-color-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.custom-color-row input{width:44px;height:30px;border:0;background:transparent;padding:0;cursor:pointer}.color-picker-trigger{--picker-color:#6f78ff;position:relative;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:var(--panel-2)!important;color:var(--text)!important}.color-picker-trigger>span,.color-picker-trigger>svg{display:none!important}.color-picker-trigger>i{position:static!important;width:14px!important;height:14px!important;border-radius:999px!important;background:var(--picker-color)!important;display:block!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 12%,transparent),0 0 0 1px color-mix(in srgb,var(--line) 82%,transparent)}.highlight-trigger{--picker-color:#fff09d}.highlight-trigger>i{background:color-mix(in srgb,var(--paper) 72%,var(--picker-color))!important;box-shadow:inset 0 0 0 2px var(--picker-color),0 0 0 1px color-mix(in srgb,var(--line) 82%,transparent)!important}.color-picker-trigger:hover{background:var(--accent-soft)!important;color:var(--accent)!important}.text-color-trigger.is-cleared>i{background:color-mix(in srgb,var(--picker-color) 68%,var(--paper))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 10%,transparent),0 0 0 1px color-mix(in srgb,var(--line) 82%,transparent)!important}.highlight-trigger.is-cleared>i{background:color-mix(in srgb,var(--picker-color) 34%,var(--paper))!important;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--picker-color) 78%,var(--paper)),0 0 0 1px color-mix(in srgb,var(--line) 82%,transparent)!important}@media(max-width:720px){.login-art{height:72px}.art-notebook{width:47px;height:54px;flex-basis:47px}.art-companion-wide{height:62px;border-radius:16px}.editor-color-palette{width:min(270px,calc(100vw - 20px));padding:13px}.color-swatch{width:40px!important;height:40px!important}.color-picker-trigger{width:40px!important;min-width:40px!important;height:40px!important}}/* =========================================================
   VERSIÓN 3.7 — FUENTES, COLOR Y RESALTADO REPARADOS
   ========================================================= */.toolbar-select-wrap select{touch-action:manipulation}.color-picker-trigger,.clear-color-tool,.color-swatch{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.color-picker-trigger:active,.clear-color-tool:active{transform:scale(.94)!important}.editor-color-palette{touch-action:manipulation}.format-active-target{outline:2px solid color-mix(in srgb,var(--accent) 68%,transparent)!important;outline-offset:2px!important}nn/* VERSIÓN 3.8 — PALETA FUERA DE LA BARRA PARA EVITAR RECORTES */nbody>.editor-color-palette{position:fixed!important;z-index:5000!important;overflow:visible!important}nbody>.editor-color-palette[hidden]{display:none!important}n

/* VERSIÓN 3.9 — REBRANDING NOTEA */
.notea-hero-logo{display:block;max-width:min(100%,420px);width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 10px 26px rgba(32,39,94,.16))}
