
/* ALEPH — Interface 06. Native typography, local assets, no external dependencies. */
:root {
  color-scheme: light;
  --ink:#232c34; --muted:#6d747b; --faint:#90969b;
  --paper:#f7f7f4; --card:#fff; --line:#e4e6e4; --soft:#f0f1ee;
  --navy:#263541; --navy-deep:#1d252d; --blue:#38546b; --steel:#798690;
  --ui-accent:#38546b; --ui-wash:#f0f2f2;
  --sidebar-bg:#202930; --sidebar-fg:#e9ecee; --sidebar-muted:#a0a9af;
  --danger:#a1443b; --warning:#8b672e; --radius:10px;
  --sans:"Inter","Aptos","SF Pro Text",-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  --serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  font:400 14px/1.5 var(--sans); color:var(--ink); background:var(--paper);
  font-synthesis:none; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
*{box-sizing:border-box} body{margin:0} button,input,select,textarea{font:inherit} button,a,input,select,textarea{-webkit-tap-highlight-color:transparent} button,a{touch-action:manipulation} button{cursor:pointer;border:0} button:disabled{opacity:.45;cursor:not-allowed} a{color:var(--ui-accent)} button,a,summary{transition:background .16s,color .16s,border-color .16s,box-shadow .16s} button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #627f95;outline-offset:3px} button svg{pointer-events:none} svg{width:18px;height:18px;vertical-align:middle;flex:none} input,select,textarea{min-width:0;max-width:100%} h1,h2,h3,h4,p{margin:0} h1{font-size:34px;font-weight:500;line-height:1.18;letter-spacing:-1.1px} h2{font-size:23px;line-height:1.3;letter-spacing:-.65px;font-weight:500} h3{font-size:16px;font-weight:550;letter-spacing:-.2px} h4{font-weight:550} .hidden{display:none!important}.visually-hidden{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap}.muted{color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex:none}.skip-link{position:fixed;top:8px;left:280px;z-index:100;transform:translateY(-150%);background:var(--ink);color:white;padding:10px 16px;border-radius:6px}.skip-link:focus{transform:none}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;min-width:0;background:var(--sidebar-bg);color:var(--sidebar-fg);padding:29px 15px 16px;z-index:10}
.brand-row{display:flex;align-items:center;justify-content:space-between;padding:0 14px 27px;flex:none}.brand{font-family:var(--serif);font-size:29px;letter-spacing:.14em;line-height:1.2;color:#f5f4ef;font-weight:400;text-decoration:none}.brand:focus-visible{outline-color:#bccad5}.brand small,.brandmark{display:none}
.side-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:#4b555d transparent}.nav-button{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:9px 13px;text-align:left;border-radius:6px;line-height:1.4;color:var(--sidebar-muted);background:transparent;font-size:12px;font-weight:450;position:relative;min-width:0}.nav-button:hover{color:#fff;background:#ffffff08}.nav-button.active{color:#fff;background:#ffffff10}.nav-button.active:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;background:#e0e4e5;border-radius:2px}.nav-button svg{width:16px;height:16px;color:inherit}#nav-all{margin-bottom:20px;color:#d6dcdf}#nav-all.active{color:#fff}.nav-count{margin-left:auto;flex:none;min-width:17px;text-align:right;color:#a2aeb5;font-size:10px;font-weight:450;font-variant-numeric:tabular-nums}.nav-count.is-zero{visibility:hidden}.nav-label{min-width:0;overflow-wrap:anywhere}.side-label{display:flex;align-items:center;justify-content:space-between;color:#a1aab0;letter-spacing:.13em;font-size:9px;line-height:1.5;font-weight:550;padding:0 13px;margin:0 0 10px;text-transform:uppercase}.side-label span:last-child{font-size:10px;letter-spacing:0;color:#8e9aa3;font-variant-numeric:tabular-nums}.company-nav-button{min-height:37px;font-size:10.5px;letter-spacing:.035em;gap:11px;margin-bottom:2px;color:#bcc6cc;font-weight:500}.company-nav-button>.dot{width:6px;height:6px}.project-nav-button{width:calc(100% - 24px);margin-left:24px;padding:7px 11px;min-height:32px;font-size:10px;letter-spacing:.04em;border-left:1px solid #ffffff18;border-radius:0 5px 5px 0;color:#9faeb8}.project-nav-button>.dot{width:5px;height:5px}.project-nav-button.selected{color:#fff;background:#ffffff0d;border-left-color:var(--project-color)}.project-nav-button.selected:before{display:none}.news-nav{margin-top:24px}.news-toggle{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:transparent;padding:8px 13px 12px;color:#a1aab0;font-size:9px;letter-spacing:.13em;font-weight:550}.news-toggle svg{width:12px;height:12px;margin-left:auto;transition:transform .18s}.news-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.news-toggle:hover{color:#fff}.news-toggle .media-total{color:#8e9aa3;letter-spacing:0}
.sidebar-bottom{flex:none;border-top:1px solid #ffffff12;padding:14px 5px 0}.side-bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:4px}.side-bottom-actions button{min-height:36px}.side-bottom-actions .manage-button{display:flex;gap:9px;align-items:center;padding:7px 7px;color:#b6c0c6;background:transparent;font-size:11px;border-radius:5px}.manage-button:hover{color:#fff!important;background:#ffffff08!important}.side-bottom-actions .icon-button{color:#aab6be;width:33px;height:33px;min-height:33px}.side-bottom-actions .icon-button:hover{background:#ffffff0d;color:#fff}.sidebar button:focus-visible{outline-color:#b8c8d4}.mobile-menu,.mobile-brand,.mobile-topbar,.menu-scrim{display:none!important}
.main{width:100%;max-width:1720px;margin:0 auto;padding:38px 42px 24px;min-width:0;display:flex;flex-direction:column}.entity-back{display:flex;align-items:center;gap:10px;margin:0 0 16px;min-height:22px}.entity-back .text-button{font-size:11px;color:var(--muted)}.entity-back svg{width:12px;height:12px}.route-separator{color:#b1b6b9}.route-parent{font-size:10px!important;letter-spacing:.04em}.hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:31px;min-height:66px}.hero-identity{display:flex;align-items:center;gap:23px;min-width:0}.hero-copy{min-width:0}.eyebrow{font-size:11px;font-weight:450;color:var(--muted);margin-bottom:8px;letter-spacing:.01em;line-height:1.5}.company-hero .eyebrow{letter-spacing:.1em;text-transform:uppercase;font-size:9px}.company-hero h1{font-size:29px;letter-spacing:-.65px;overflow-wrap:anywhere}.hero-actions{display:flex;gap:9px;align-items:center;flex:none}.hero-customize{border:1px solid var(--line)!important;background:var(--card)!important;height:39px!important;width:39px!important}.hero-description:empty{display:none}.entity-links{display:none}.entity-logo-slot{width:130px;min-width:100px;flex:none;display:flex;align-items:center;justify-content:center}.real-logo-plate{width:130px;height:61px;padding:10px 12px;display:flex;align-items:center;justify-content:center;background:white;border-radius:7px;overflow:hidden;border:1px solid var(--line)}.real-logo-plate img{display:block;max-width:106px;max-height:41px;width:auto;height:auto;object-fit:contain}.real-logo-plate.spacious{height:77px;padding:4px}.real-logo-plate.spacious img{max-width:120px;max-height:68px}.logo-caption:empty{display:none}.logo-caption{font-size:9px;color:var(--muted)}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:6px;background:transparent;color:var(--muted);font-size:23px;line-height:1}.icon-button:hover{color:var(--ink);background:var(--soft)}.icon-button svg{width:16px;height:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 16px;min-height:39px;border:1px solid var(--ink);border-radius:6px;color:white;background:var(--ink);font-weight:500;font-size:12px;line-height:1.4;text-decoration:none;white-space:nowrap;letter-spacing:.005em}.button:hover{background:#35434d;border-color:#35434d;color:white;box-shadow:0 2px 5px #17202a12}.button svg{width:15px;height:15px}.button.secondary{background:#fff;border-color:#dce0dd;color:var(--ink)}.button.secondary:hover{background:#f6f7f4;border-color:#bec7ca;box-shadow:none}.button.ghost{background:transparent;border-color:transparent;color:var(--muted)}.button.ghost:hover{background:#ebeee9;border-color:transparent;color:var(--ink);box-shadow:none}.button.danger{color:var(--danger);background:#fff8f6;border-color:#e7d7d1}.button.danger:hover{background:#faeeea}.button.small{font-size:11px;min-height:33px;padding:7px 11px}.text-button{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:3px 0;background:transparent;color:var(--ui-accent);font-size:12px;line-height:1.5;text-align:left}.text-button:hover{color:var(--ink);text-decoration:underline}.shortcut{font-family:inherit;font-size:10px;color:#9ba1a5;border:1px solid var(--line);border-radius:3px;padding:0 4px;line-height:18px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 0 24px;border-bottom:1px solid var(--line);margin-bottom:25px}.stat{padding:0 26px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;min-width:0}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat-top{order:2;margin-top:4px;font-size:11px;line-height:1.5;color:var(--muted);font-weight:400;white-space:nowrap}.stat strong{order:1;font-size:29px;line-height:1.15;font-weight:450;letter-spacing:-1.1px;font-variant-numeric:tabular-nums;color:var(--ink)}.stat-value{display:flex;gap:10px;align-items:center}.stat-caption{color:var(--danger);font-size:10px;line-height:1.5;letter-spacing:0;white-space:nowrap}.stat-icon{display:none}.attention-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-7px 0 20px}.attention-line:empty{display:none}.attention-chip{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:450;min-height:27px;padding:4px 9px;border-radius:5px;background:#eeeFEB;border:1px solid #e4e7e2;color:var(--muted)}.attention-chip svg{width:12px;height:12px}.attention-chip.warn{color:#846536;background:#f4efe4;border-color:#e9e1d0}.attention-chip:hover{border-color:#b7b9af;color:var(--ink)}
.workspace{min-width:0}.workspace-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}.workspace-top{display:flex;align-items:center;min-width:0}.segmented{display:flex;align-items:center;gap:3px}.segmented button{display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;background:transparent;color:var(--muted);font-size:12px;line-height:1.4;font-weight:450;border-radius:6px;border:1px solid transparent;white-space:nowrap}.segmented button svg{width:15px;height:15px}.segmented button:hover{color:var(--ink);background:#ebede9}.segmented button.active{background:white;color:var(--ink);border-color:#e0e4df;box-shadow:0 1px 2px #1b293b07;font-weight:500}.toolbar{display:flex;align-items:center;gap:9px;min-width:0}.search{position:relative;min-width:130px;width:224px}.search>svg,.search>[data-icon]{position:absolute;left:11px;top:10px;color:#8d969c;line-height:1;pointer-events:none}.search svg{width:15px;height:15px}.search input{width:100%;height:36px;border:1px solid #e0e4df;border-radius:6px;background:white;color:var(--ink);font-size:12px;padding:8px 31px 8px 33px;line-height:1.5}.search input::placeholder{color:#899197}.search:focus-within input{border-color:#91a1aa}.search .shortcut{position:absolute;right:9px;top:8px;pointer-events:none}.search:focus-within .shortcut,.search:has(input:not(:placeholder-shown)) .shortcut{display:none}input[type=search]::-webkit-search-cancel-button{cursor:pointer}.filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid #e0e4df;border-radius:6px;background:white;color:var(--muted);font-size:11px;line-height:1.4;white-space:nowrap}.filter-toggle svg{width:14px;height:14px}.filter-toggle:hover,.filter-toggle[aria-expanded=true]{border-color:#aab7bf;background:#f6f8f6;color:var(--ink)}.filter-toggle.is-filtered{color:var(--ink);border-color:#b3c0c7}.filter-count{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:4px;background:var(--ink);color:#fff;font-size:9px;font-variant-numeric:tabular-nums}.filter-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 17px;padding:18px 20px;margin:-3px 0 17px;background:#f0f2ee;border:1px solid #e1e6df;border-radius:8px}.filter-field{display:flex;flex-direction:column;gap:5px;min-width:0}.filter-field>label{font-size:10px;line-height:1.5;color:var(--muted)}.filter-field select{width:100%;height:36px;padding:7px 10px;border:1px solid #dbe0d8;border-radius:5px;background:#fff;color:var(--ink);font-size:11px}.filter-note{display:flex;align-items:center;justify-content:space-between;margin:-5px 0 14px;color:var(--muted);font-size:11px}.filter-note:empty{display:none}.filter-note button{color:var(--muted);font-size:11px;background:transparent;min-height:24px;padding:0;text-decoration:underline}
.calendar-panel{background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 3px 12px #1b293b03}.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 25px 22px;background:#fff}.calendar-heading{display:flex;align-items:baseline;gap:13px;min-width:0}.calendar-heading h3{font-family:var(--serif);font-weight:400;font-size:31px;line-height:1.15;letter-spacing:-.95px;color:var(--ink);display:flex;gap:9px;align-items:baseline}.calendar-year{font-family:var(--sans);font-size:16px;color:#92989d;letter-spacing:-.4px;font-weight:350}.month-count{font-size:10px;line-height:1.4;color:var(--muted)}.calendar-controls{display:flex;align-items:center;gap:14px;flex:none}.month-navigation{display:flex;align-items:center;gap:3px}.calendar-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:31px;min-height:31px;padding:0;border-radius:5px;background:transparent;color:var(--muted)}.calendar-arrow svg{height:14px;width:14px}.calendar-arrow:hover{background:var(--soft);color:var(--ink)}.today-button{background:transparent;border:1px solid #e0e4df;border-radius:5px;min-height:30px;padding:5px 12px;font-size:11px;color:var(--ink)}.today-button:hover{border-color:#afb9bf;background:#f6f8f6}.calendar-controls .mini{padding:3px;background:#f1f3ef;border:1px solid #edf0ea;border-radius:6px;gap:1px}.calendar-controls .mini button{font-size:10px;line-height:1.4;min-height:25px;padding:4px 10px;border-radius:4px;border:0;font-weight:450}.calendar-controls .mini button.active{background:white;box-shadow:0 1px 3px #26313d10}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 232px;border-top:1px solid var(--line)}.month-wrap{min-width:0}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid #e8ebe5;background:#fcfdfb}.weekdays span{text-align:right;padding:11px 13px 10px;font-size:9px;font-weight:500;letter-spacing:.08em;color:#848d94}.weekdays span:nth-child(n+6){color:#a1a7ab}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-width:0;min-height:95px;padding:8px 6px 7px;border-bottom:1px solid #e8ebe6;border-right:1px solid #e8ebe6;background:#fff;cursor:pointer;position:relative}.calendar-day:nth-child(7n){border-right:0}.calendar-day:nth-child(7n),.calendar-day:nth-child(7n-1){background:#fcfcfa}.calendar-day:nth-last-child(-n+7){border-bottom:0}.calendar-day.outside{background:#f9faf6}.calendar-day.outside .day-number{color:#a7adb0}.calendar-day:hover:not(.selected){background:#f8f9f5}.calendar-day.selected{background:#f1f4f4!important;box-shadow:inset 0 0 0 1px #8296a4;z-index:1}.day-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;padding:0;margin:0 2px 7px auto;background:transparent;border-radius:50%;color:#56636d;font-size:11px;line-height:1;font-variant-numeric:tabular-nums}.day-number:hover{background:#e8eceb}.calendar-day.today .day-number{background:var(--ink);color:#fff;font-weight:500}.calendar-event{display:flex;align-items:center;gap:4px;width:100%;min-height:23px;padding:4px 5px;margin:3px 0 0;background:color-mix(in srgb,var(--event-color) 9%,white);border-left:2px solid var(--event-color);border-radius:3px;color:#35424d;line-height:1.3;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.event-title{overflow:hidden;text-overflow:ellipsis}.event-time{font-size:9px;font-variant-numeric:tabular-nums;font-weight:550;flex:none}.calendar-event:hover{box-shadow:inset 0 0 0 1px #222d371f;filter:brightness(.98)}.followup-event{border-left-style:dashed;background:#f7f3eb}.calendar-more{display:block;background:transparent;color:var(--muted);font-size:10px;min-height:23px;padding:4px 5px;text-align:left}.calendar-more:hover{color:var(--ink);text-decoration:underline}.mobile-event-dots{display:none}.day-agenda{display:flex;flex-direction:column;min-width:0;background:#fafbf8;border-left:1px solid var(--line);padding:25px 20px 18px}.day-agenda-head{display:flex;align-items:center;gap:6px;justify-content:space-between}.day-agenda h3{font-size:15px;line-height:1.5;font-weight:550;letter-spacing:-.2px}.day-label{font-size:10px;line-height:1.5;color:#7d888f;margin-bottom:5px;text-transform:capitalize}.day-agenda-count{font-size:10px;font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center;padding:1px 6px;min-width:21px;height:21px;border-radius:4px;background:#edf0ea;color:var(--muted);flex:none}.day-empty{padding:41px 0 35px;text-align:left;color:#879198}.day-empty svg{display:block;width:28px;height:28px;color:#9da9ae;stroke-width:1;margin:0 0 17px}.day-empty p{font-size:11px;line-height:1.75;max-width:150px}.calendar-add{margin-top:auto;padding:9px 10px;min-height:34px;font-size:11px;font-weight:450;background:transparent;color:#435765;border-color:#d8dfda;box-shadow:none}.calendar-add:hover{background:#eef2ed;color:#1d303f;border-color:#aab8b8;box-shadow:none}.day-agenda .compact-task:last-of-type{margin-bottom:22px}.compact-task{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:13px 0;border-bottom:1px solid #e6eae3}.compact-task>.dot{margin-top:7px;width:5px;height:5px}.compact-task-main{flex:1;display:block;min-width:0;min-height:0;text-align:left;padding:0;background:transparent;color:var(--ink)}.compact-task-main strong{display:block;line-height:1.55;font-size:12px;font-weight:450;overflow-wrap:anywhere}.compact-task-main span{display:block;margin-top:4px;font-size:9px;color:#7e8a92;line-height:1.6;overflow-wrap:anywhere;letter-spacing:.025em}.compact-task-main:hover strong{color:var(--blue);text-decoration:underline}.compact-priority{font-size:12px;color:#a27238;margin-top:1px}.compact-days{font-size:9px;line-height:1.5;font-variant-numeric:tabular-nums;border-radius:3px;background:#f2eada;color:#96703e;padding:2px 4px;margin-top:1px;white-space:nowrap}.calendar-lower{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));border-top:1px solid var(--line)}.calendar-tray{padding:19px 24px}.calendar-tray+.calendar-tray{border-left:1px solid var(--line)}.tray-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;color:var(--muted)}.tray-heading h4{font-size:11px;line-height:1.5;font-weight:500}.tray-heading>span{font-size:10px;font-variant-numeric:tabular-nums}.calendar-tray .compact-task:last-of-type{border-bottom:0;padding-bottom:4px}.calendar-tray .text-button{font-size:11px;margin-top:9px}.calendar-bottomline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;border-top:1px solid var(--line);background:#fff;font-size:9px;line-height:1.4;color:#8e969b}.calendar-bottomline .calendar-help{background:transparent;font-size:9px;padding:4px 0;color:#8a949b;text-align:left}.calendar-help:hover{color:var(--ink)}.zone-button{display:inline-flex;align-items:center;gap:6px;padding:4px 0;min-height:24px;background:transparent;color:#79868f;font-size:9px;line-height:1.4;text-align:right}.zone-button svg{width:11px;height:11px}.zone-button:hover{color:var(--ink);text-decoration:underline}.month-agenda{padding:5px 24px 24px;min-height:430px;max-height:680px;overflow:auto}.agenda-day-heading{display:inline-flex;align-items:center;min-height:28px;padding:4px 0;margin-top:17px;background:transparent;font-size:11px;font-weight:550;color:#526371}.agenda-day-heading:hover{text-decoration:underline}.calendar-empty{display:flex;align-items:center;justify-content:center;min-height:330px;gap:10px;font-size:12px;line-height:1.8;color:var(--muted)}
.axes-grid,.area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.axis-card{min-width:0;padding:22px 21px 16px;border:1px solid var(--line);border-radius:9px;background:white;display:flex;flex-direction:column}.axis-heading{display:flex;align-items:center;gap:11px;margin-bottom:15px}.axis-emblem{display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex:none;border-radius:6px}.axis-emblem svg{width:16px;height:16px}.axis-heading h3{font-size:11px;font-weight:550;line-height:1.5;letter-spacing:.04em;overflow-wrap:anywhere}.axis-count{margin-left:auto;color:var(--muted);font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}.axis-companies{margin-bottom:12px}.axis-company{display:flex;align-items:center;gap:8px;width:100%;padding:9px 0;min-height:34px;background:transparent;text-align:left;font-size:10px;line-height:1.6;color:#4a5a65;letter-spacing:.02em}.axis-company:hover{color:var(--ink)}.axis-company>span:not(.dot){min-width:0;overflow-wrap:anywhere}.axis-company strong{margin-left:auto;font-size:10px;font-weight:400;color:#9aa4a9;flex:none;font-variant-numeric:tabular-nums}.axis-company.unassigned{color:var(--warning)}.axis-task-list{border-top:1px solid var(--line)}.axis-task-list .compact-task:last-child{border:0}.axis-empty{padding:14px 0 6px;font-size:11px;color:#8a949b;line-height:1.6}.axis-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px}.axis-footer .text-button{font-size:10px;color:#6f7c86}.area-add{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;min-height:27px;border-radius:5px;background:#f3f5f1;color:#7e8c92}.area-add:hover{background:#e7ede6;color:var(--ink)}.area-add svg{width:14px;height:14px}
.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.task-card{display:flex;flex-direction:column;position:relative;min-width:0;min-height:265px;padding:21px;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 2px 4px #1b293b02}.task-card:before{content:"";position:absolute;top:0;left:21px;width:32px;height:2px;background:var(--accent);border-radius:0 0 2px 2px}.task-card:hover{border-color:#cdd6d1;box-shadow:0 3px 10px #1b293b05}.task-card.done{background:#f8faf5}.task-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px;min-height:15px}.category-tag{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere;font-size:9px;letter-spacing:.045em;line-height:1.6;color:#73808b}.category-tag>.dot{width:5px;height:5px}.priority{font-size:10px;line-height:1.5;color:var(--muted);white-space:nowrap}.priority.normal{display:none}.priority.high{color:#a2733b}.task-card h3{font-size:17px;line-height:1.48;font-weight:500;letter-spacing:-.25px;overflow-wrap:anywhere}.next-action{font-size:12px;line-height:1.75;color:#60707b;margin:13px 0;white-space:pre-wrap;overflow-wrap:anywhere}.next-action strong{display:none}.task-date{font-size:10px;line-height:1.65;color:#7a8891;margin-bottom:14px;font-variant-numeric:tabular-nums}.task-date.overdue{color:var(--danger)}.task-health{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 5px}.activity-chip{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:3px 6px;background:#f2f5ef;color:#7e8a84;font-size:9px;line-height:1.5;border-radius:4px}.activity-chip.stale{background:#f4efe3;color:#9a793e}.activity-chip.old{background:#f7eae4;color:#a3694c}.advance-button{background:transparent;font-size:10px;line-height:1.5;min-height:27px;padding:3px 0;color:#6e8090;white-space:nowrap}.advance-button:hover{text-decoration:underline;color:var(--ink)}.objective{background:#f8faf6;border:1px solid #e8ede3;border-radius:6px;margin-top:14px;padding:12px}.objective-label{color:#839084;font-size:9px;line-height:1.6;margin-bottom:5px}.objective-text{font-size:11px;line-height:1.75;color:#5f6b71;overflow-wrap:anywhere}.goal-progress{height:3px;border-radius:3px;overflow:hidden;background:#e3e9dd;margin:10px 0 7px}.goal-progress span{display:block;height:100%;background:var(--accent,var(--blue))}.goal-progress-label{font-size:9px;line-height:1.5;color:#7f8a83;font-variant-numeric:tabular-nums}.goal-list{margin-top:8px}.goal-list summary{font-size:10px;cursor:pointer;color:#657568;line-height:1.8}.milestone{display:flex;align-items:flex-start;gap:7px;padding:6px 0;font-size:11px;line-height:1.5;color:#5f6b65;overflow-wrap:anywhere}.milestone input{accent-color:#586b5d;flex:none;margin-top:2px}.milestone.finished span{text-decoration:line-through;color:#96a092}.delegation{display:flex;align-items:flex-start;gap:8px;padding:14px 0;color:#64737e;line-height:1.6;font-size:10px;overflow-wrap:anywhere}.person-avatar{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:none;background:#edf0ee;border-radius:50%;font-size:9px;line-height:1.5;color:#75857a;font-weight:550}.delegation small{display:block;font-size:9px;color:var(--muted);line-height:1.6;margin-top:3px}.followup{color:var(--warning)!important}.task-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #eef1eb}.task-status{padding:4px 8px;min-height:27px;border:1px solid #e3e7df;border-radius:5px;color:#768170;background:#f6f8f3;font-size:10px;line-height:1.4}.task-status.doing{background:#edf2f4;color:#557080;border-color:#dae4ea}.task-status.waiting{background:#f7f3e9;color:#937b43;border-color:#ebe3cb}.task-status.done{background:#eef4ec;color:#6b7e61;border-color:#dce7d6}.task-status:hover{border-color:#a3b0a5;filter:brightness(.98)}.task-tools{display:flex;gap:1px}.task-tools button{display:flex;align-items:center;justify-content:center;width:28px;height:29px;min-height:29px;background:transparent;color:#8c979e;border-radius:5px;padding:0}.task-tools button:hover{background:#eef2ec;color:var(--ink)}.task-tools svg{width:13px;height:13px}.task-tools button:last-child:hover{background:#fbefeb;color:var(--danger)}.task-grid.list-view{grid-template-columns:1fr}.list-view .task-card{min-height:0;display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(200px,1fr);column-gap:30px;padding:20px 24px}.list-view .task-heading,.list-view .task-bottom,.list-view .task-health{grid-column:1/-1}.list-view .task-health{justify-content:flex-start;gap:18px}.list-view .objective{grid-column:2;grid-row:2/6;margin:0 0 14px}.list-view .task-date,.list-view .delegation,.list-view .next-action{grid-column:1}.list-view .task-bottom{margin-top:10px}.list-view .task-card:not(:has(.objective)){display:flex}
.no-results{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:50px 24px;min-height:330px;border:1px solid var(--line);background:#fff;border-radius:9px;text-align:center}.no-results h3{font-size:20px;font-weight:450;letter-spacing:-.4px}.no-results p{font-size:12px;line-height:1.7;color:var(--muted);max-width:360px}.no-results .button{margin-top:6px}.empty-mark{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e0e6dc;border-radius:10px;background:#f5f8f1;color:#8f9b85;margin-bottom:4px}.empty-mark svg{width:19px;height:19px}.empty-callout{display:none!important}
.backup-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 0;margin-top:20px;font-size:10px;color:var(--muted)}.storage-copy{display:flex;align-items:center;gap:8px;min-width:0}.storage-copy .dot{width:5px;height:5px;background:#a7b2ad}.storage-copy.has-changes .dot{background:#b48d4d}.storage-copy.has-changes #backup-title{color:#927649}.status-pill{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:#8c979d;white-space:nowrap}.backup-title{color:#8c979d;font-size:10px;font-weight:400;line-height:1.5}.storage-divider{height:10px;width:1px;background:#d5dcd8;margin:0 2px}.backup-actions{display:flex;align-items:center;gap:4px;flex:none}.backup-actions .button{font-size:10px;min-height:30px;padding:6px 9px;color:#798890;border-color:transparent;background:transparent}.backup-actions .button:hover{background:#eef1ec;color:var(--ink)}.backup-actions .button svg{width:13px;height:13px}.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:17px;color:#97a0a5;font-size:9px;line-height:1.7}.footer button{font-size:9px;min-height:24px;padding:0;background:transparent;color:#8d989f}.footer button:hover{color:var(--ink)}
.dialog{width:min(670px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:0;border:1px solid #dfe3de;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 25px 100px #17222c26;scrollbar-width:thin;scrollbar-color:#ced5cf transparent}.dialog::backdrop{background:#1d29317d;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;z-index:2;padding:22px 25px 19px;background:white;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:23px;font-weight:500;letter-spacing:-.6px;line-height:1.4}.dialog-body{padding:23px 25px}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:9px;position:sticky;bottom:0;z-index:1;padding:16px 25px;border-top:1px solid var(--line);background:#fafbf8}.field{margin-bottom:17px;min-width:0}.field label{display:block;font-size:11px;font-weight:500;line-height:1.5;color:#5c6c77;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;min-height:39px;padding:10px 11px;font-size:12px;line-height:1.5;background:#fff;border:1px solid #dce2da;border-radius:5px;color:var(--ink)}.field input:hover,.field select:hover,.field textarea:hover{border-color:#bbc7bb}.field input[type=color]{padding:5px 6px;min-height:43px;cursor:pointer}.field textarea{min-height:83px;resize:vertical;line-height:1.7}.field input::placeholder,.field textarea::placeholder{color:#99a49b;opacity:1}.field small,.help-text{display:block;font-size:10px;line-height:1.75;color:#83917f;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-grid .full{grid-column:1/-1}.field-section{border-top:1px solid var(--line);padding:0;margin-top:4px}.field-section>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:16px 0;font-size:12px;color:#536777;line-height:1.5;cursor:pointer}.field-section>summary::-webkit-details-marker{display:none}.field-section>summary:after{content:"+";color:#97a598;font-size:16px;line-height:1;font-weight:300;margin-left:10px}.field-section[open]>summary:after{content:"−"}.field-section>summary:hover{color:var(--ink)}.field-section[open]{padding-bottom:4px}.field-section .field:last-child{margin-bottom:13px}.notice{padding:13px 15px;background:#f5f8f1;color:#697967;border:1px solid #e4ebdc;border-radius:6px;font-size:11px;line-height:1.8;margin-bottom:18px}.notice strong{color:var(--ink);font-weight:500}.notice.warning{background:#f8f4e8;border-color:#ece4c9;color:#8c7845}.error{display:none;padding:11px 13px;margin-bottom:17px;color:#a05c47;font-size:11px;line-height:1.7;border:1px solid #ecd3c7;background:#fff3ec;border-radius:6px}.error.visible{display:block}.check-label{display:flex;align-items:flex-start;gap:9px;margin:13px 0;font-size:11px;line-height:1.8;color:#596d5d}.check-label input{width:15px;height:15px;flex:none;margin:3px 0 0;accent-color:#5b7163}.settings-section+.settings-section{border-top:1px solid var(--line);padding-top:23px;margin-top:23px}.settings-section h3{font-size:14px;font-weight:500;margin-bottom:11px;color:#425666}.settings-section p{font-size:11px;line-height:1.9;color:#738473;margin-bottom:12px}.settings-section details{font-size:11px;line-height:1.8;color:var(--muted);margin-top:14px}.settings-section summary{cursor:pointer;color:#4e6354;font-weight:500}.settings-section details p:first-of-type{margin-top:12px}.category-edit-row{display:flex;align-items:center;gap:10px;margin-bottom:11px}.category-edit-row span{flex:none;width:21px;color:var(--muted);font-size:10px}.category-edit-row input{width:100%;min-height:39px;border:1px solid #dce2da;border-radius:5px;padding:10px;font-size:12px;color:var(--ink);background:white}#company-name,#project-name,#category-fields input{text-transform:uppercase}.event-summary{padding:14px 15px;border:1px solid var(--line);background:#fafbf8;border-radius:5px;line-height:1.9;font-size:12px;overflow-wrap:anywhere;margin-bottom:16px}.calendar-state{display:inline-flex;font-size:10px;background:#f0f4ed;color:#7c8d73;border-radius:5px;padding:4px 8px;margin-bottom:12px}.inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.connection-panel{margin-top:15px}.activity-history{max-height:220px;overflow:auto;margin-top:15px}.activity-entry{padding:11px 0;font-size:11px;line-height:1.8;border-top:1px solid var(--line);overflow-wrap:anywhere}.activity-entry time{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-bottom:4px}.manager-company{padding:14px 0;border-bottom:1px solid var(--line)}.manager-company-head{display:flex;align-items:center;gap:10px}.manager-company-head strong{font-size:12px;font-weight:500;line-height:1.6;min-width:0;overflow-wrap:anywhere}.manager-company-head button{margin-left:auto}.manager-company>small{display:block;color:#84927c;font-size:10px;line-height:1.6;margin-top:7px}.project-edit-link{display:block;min-height:28px;padding:5px 15px;background:transparent;color:#71846b;text-align:left;font-size:10px;line-height:1.5;border-radius:4px}.project-edit-link:hover{background:#f2f6ef}.toast{position:fixed;bottom:22px;left:calc(50% + 100px);transform:translateX(-50%);z-index:40;display:none;max-width:min(560px,calc(100% - 32px));padding:12px 17px;border:1px solid #465761;border-radius:8px;background:#26353e;color:#f4f6f3;box-shadow:0 6px 24px #15222d12;font-size:11px;line-height:1.8}.toast.show{display:block}
@media(min-width:1600px){.main{padding:45px 52px 26px}.calendar-layout{grid-template-columns:minmax(0,1fr) 265px}.calendar-day{min-height:111px}.day-agenda{padding:26px 23px}.calendar-event{font-size:11px}.company-nav-button{font-size:11px}}
@media(max-width:1320px){.shell{grid-template-columns:228px minmax(0,1fr)}.main{padding:32px 30px 22px}.sidebar{padding-left:12px;padding-right:12px}.company-nav-button{font-size:10px}.calendar-layout{grid-template-columns:minmax(0,1fr) 215px}.calendar-day{min-height:86px}.day-agenda{padding:24px 17px 17px}.calendar-header{padding:21px}.search{width:187px}.segmented button{padding:8px 10px;font-size:11px}.axes-grid,.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.shell{grid-template-columns:215px minmax(0,1fr)}.main{padding:27px 25px 20px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.day-agenda{border-left:0;border-top:1px solid var(--line);padding:16px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:start}.day-label,.day-agenda-head{grid-column:1}.day-empty{padding:9px 0 0;grid-column:1}.day-empty svg{display:none}.day-empty p{max-width:none}.day-agenda>.compact-task{grid-column:1/-1}.day-agenda .compact-task:last-of-type{margin-bottom:12px}.calendar-add{grid-column:2;grid-row:1/4;align-self:center;margin:0;min-width:136px}.workspace-controls{gap:12px;align-items:flex-start;flex-wrap:wrap}.toolbar{margin-left:auto}.search{width:198px}.calendar-day{min-height:81px}.stat{padding:0 18px}.company-hero h1{font-size:25px}.entity-logo-slot{width:110px;min-width:110px}.real-logo-plate{width:110px;height:58px}.real-logo-plate img{max-width:89px;max-height:38px}.real-logo-plate.spacious img{max-width:99px;max-height:59px}.real-logo-plate.spacious{height:67px}.backup-strip{gap:8px;flex-wrap:wrap}.storage-copy{flex-wrap:wrap;row-gap:4px}.hero-identity{gap:15px}}
@media(max-width:800px){.shell{display:block;min-height:calc(100dvh - 56px)}.sidebar{display:none;position:fixed;top:0;left:0;width:264px;height:100dvh;z-index:31;box-shadow:15px 0 50px #12242d2b}.sidebar.open{display:flex}.sidebar.open .mobile-menu{display:inline-flex!important;color:#bcc8cf}.menu-scrim.visible{display:block!important;position:fixed;inset:0;z-index:30;background:#16252d77;backdrop-filter:blur(3px)}body.menu-open{overflow:hidden}.mobile-topbar{display:flex!important;align-items:center;justify-content:space-between;gap:15px;background:var(--sidebar-bg);min-height:56px;padding:10px 22px;color:#eef1ee}.mobile-topbar .mobile-menu{display:inline-flex!important;color:#cdd6dc}.mobile-brand{display:block!important;font-family:var(--serif);color:#f1f2ec;font-size:20px;line-height:1.3;letter-spacing:.12em}.mobile-topbar .icon-button{color:#cdd6dc}.mobile-topbar .icon-button:hover{background:#ffffff0f}.mobile-topbar .mobile-add{width:34px}.company-nav-button{font-size:11px;min-height:39px}.project-nav-button{font-size:11px}.side-label,.news-toggle{font-size:10px}.main{padding:26px 24px 20px;min-height:calc(100dvh - 56px)}.hero{margin-bottom:25px;min-height:63px}.hero h1{font-size:32px}.hero .eyebrow{font-size:11px}.company-hero h1{font-size:25px}.stats{margin-bottom:21px}.stat{padding:0 21px}.stat strong{font-size:28px}.workspace-controls{flex-wrap:nowrap;align-items:center}.toolbar{margin:0}.search{width:176px}.calendar-day{min-height:94px}.axes-grid,.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:50%}.skip-link{left:20px}.hero-customize{height:38px!important;width:38px!important}.entity-back{margin-bottom:13px}}
@media(max-width:660px){.main{padding:23px 18px 18px}.hero{gap:14px;align-items:center;margin-bottom:25px}.hero h1{font-size:29px}.hero .eyebrow{font-size:10px;margin-bottom:7px}.hero-actions{gap:6px}.hero>.button,.hero-actions .button{font-size:11px;padding:9px 12px;min-height:37px}.company-hero{align-items:flex-start;flex-wrap:wrap}.company-hero .hero-actions{margin-left:auto}.company-hero h1{font-size:24px}.company-hero .hero-identity{flex:1;min-width:200px}.entity-logo-slot{width:87px;min-width:87px}.real-logo-plate{width:87px;height:50px;padding:7px}.real-logo-plate img{max-width:72px;max-height:34px}.real-logo-plate.spacious{height:58px}.real-logo-plate.spacious img{max-width:77px;max-height:48px}.stats{padding-bottom:20px;gap:0}.stat{padding:0 13px}.stat-top{font-size:10px;white-space:normal;line-height:1.5}.stat strong{font-size:26px}.stat-value{flex-wrap:wrap;gap:4px}.stat-caption{font-size:9px}.attention-line{gap:6px;margin:-5px 0 16px}.attention-chip{font-size:9px}.workspace-controls{display:block;margin-bottom:16px}.workspace-top{margin-bottom:13px}.segmented{gap:3px}.segmented button{font-size:11px;min-height:35px;padding:8px 11px;gap:6px}.segmented button svg{width:13px;height:13px}.toolbar{width:100%;gap:8px}.search{width:auto;flex:1}.search input{height:37px}.filter-toggle{min-height:37px;padding:8px 12px}.filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px}.calendar-header{padding:18px 16px 16px;align-items:flex-start;gap:10px;flex-wrap:wrap}.calendar-heading h3{font-size:29px;gap:8px}.calendar-year{font-size:14px}.calendar-controls{gap:9px;margin-left:auto}.calendar-controls .mini button{padding:4px 9px}.month-count{display:none}.calendar-controls .mini{padding:2px}.calendar-arrow{width:27px;height:29px;min-height:29px}.today-button{padding:5px 9px;min-height:29px;font-size:10px}.calendar-layout{display:block}.weekdays span{text-align:center;padding:10px 1px;font-size:8px}.calendar-day{min-height:67px;padding:7px 2px}.day-number{margin:0 auto 7px;width:26px;height:26px;min-height:26px;font-size:11px}.calendar-event,.calendar-more{display:none}.mobile-event-dots{display:flex;justify-content:center;gap:3px;min-height:5px}.mobile-event-dots .dot{width:4px;height:4px}.day-agenda{padding:16px}.day-agenda h3{font-size:14px}.day-label{font-size:9px}.day-agenda-count{font-size:9px;min-width:18px;height:18px;padding:1px 4px}.calendar-add{font-size:10px;min-width:117px;min-height:33px;padding:8px}.day-empty p{font-size:10px}.day-agenda .compact-task{padding:12px 0}.calendar-bottomline{padding:8px 15px;gap:10px}.zone-button{font-size:8px}.calendar-bottomline .calendar-help{font-size:8px}.calendar-lower{display:block}.calendar-tray{padding:16px}.calendar-tray+.calendar-tray{border-left:0;border-top:1px solid var(--line)}.month-agenda{padding:2px 16px 20px;min-height:280px}.calendar-empty{min-height:240px;font-size:11px;text-align:center}.axes-grid,.area-grid,.task-grid{grid-template-columns:1fr;gap:13px}.list-view .task-card{display:flex;padding:20px}.task-card{padding:20px;min-height:230px}.axis-card{padding:20px}.axis-heading h3{font-size:12px}.axis-company{font-size:11px}.backup-strip{align-items:center;padding-top:13px;margin-top:15px;flex-wrap:wrap}.storage-copy{flex-basis:100%;margin-bottom:3px}.backup-actions{margin-left:auto}.backup-title,.status-pill{font-size:9px}.footer{padding-top:15px;font-size:8px}.footer button{font-size:8px}.dialog{width:calc(100% - 20px);max-height:94dvh;border-radius:10px}.dialog-header{padding:18px 19px 16px}.dialog-header h2{font-size:21px}.dialog-body{padding:20px 19px}.dialog-footer{padding:14px 19px}.dialog-footer .button{font-size:11px}.form-grid{gap:0 12px}.field label{font-size:11px}.field input,.field select,.field textarea{font-size:16px;padding:9px 10px;min-height:41px}.field input[type=date],.field input[type=time]{font-size:14px}.field-section summary{font-size:12px}.inline-actions .button{white-space:normal;font-size:11px}.dialog-footer .text-button{margin-right:auto;font-size:10px}.manager-company-head strong{font-size:11px}.dialog .category-edit-row input{font-size:16px}.settings-section p,.notice{font-size:11px}}
@media(max-width:400px){.main{padding:21px 14px 17px}.hero h1{font-size:27px}.hero-actions .button{font-size:10px;gap:5px;padding:9px 10px}.hero-actions .button svg{width:13px;height:13px}.stat{padding:0 10px}.stat strong{font-size:25px}.stat-top{font-size:9px}.segmented button{padding:7px 9px;gap:5px;font-size:10px}.calendar-header{padding:16px 13px 14px;display:block}.calendar-controls{margin:14px 0 0;justify-content:space-between}.calendar-heading h3{font-size:29px}.calendar-year{font-size:15px}.calendar-day{min-height:64px}.mobile-topbar{padding:9px 16px}.company-hero .hero-identity{min-width:100%}.company-hero .hero-actions{margin:2px 0 0 auto}.filter-panel{padding:13px;gap:10px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.mobile-topbar,.hero-actions,.toolbar,.filter-panel,.backup-strip,.footer,.calendar-controls,.calendar-add{display:none!important}.shell{display:block}.main{padding:0}.calendar-layout{display:block}.day-agenda{display:none}.calendar-day{min-height:85px}.task-card,.axis-card{break-inside:avoid}body{background:white}}
/* Final optical balance: readable secondary text and a tighter working canvas. */
:root{--muted:#65717a}
.hero{margin-bottom:26px}.stats{margin-bottom:22px}
.company-nav-button{font-size:11px;letter-spacing:.025em}
.calendar-year{color:#6b7680}.weekdays span{color:#697680}.weekdays span:nth-child(n+6){color:#747e85}
.calendar-day.outside .day-number{color:#768087}
.stat-top{font-size:12px}.day-label,.month-count,.calendar-bottomline,.calendar-bottomline .calendar-help,.zone-button{color:#6b7b85}
.search input::placeholder{color:#6b7882}
.compact-task-main span,.category-tag,.task-date,.delegation,.delegation small{color:#647581}
.field small,.help-text,.settings-section p,.notice,.settings-section details,.manager-company>small,.project-edit-link{color:#67777e}
.field input::placeholder,.field textarea::placeholder{color:#728086}
.field-section>summary:after{color:#71828c}
.objective-label,.objective-text,.goal-progress-label,.goal-list summary{color:#657474}
.day-empty{color:#6b7b85}.day-empty p{max-width:170px}
.status-pill,.backup-title,.backup-actions .button,.footer,.footer button{color:#687b87}
.calendar-bottomline{padding:5px 24px}.backup-strip{padding-top:11px;margin-top:14px}.footer{padding-top:9px}
@media(min-width:1101px){.calendar-day{min-height:clamp(76px,calc((100dvh - 550px)/var(--calendar-weeks,5)),118px)}}
@media(max-width:1320px){.company-nav-button{font-size:10.5px}}
@media(max-width:800px){.company-nav-button{font-size:11px}.stat-top{font-size:11px}}
@media(max-width:660px){.stat-top{font-size:10px}.calendar-bottomline{padding:5px 15px}.backup-strip{margin-top:13px}.hero{margin-bottom:25px}}
@media(max-width:400px){.stat-top{font-size:9px}}
.stat-value{order:1}.stat-value>strong{order:0}.stat-value>.stat-caption{order:1}


[hidden]{display:none!important}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:32px;background:var(--paper,#f6f5f2)}.auth-card{width:min(100%,420px);padding:34px;background:#fff;border:1px solid var(--line,#ddd);border-radius:12px}.auth-brand{margin-bottom:28px}.auth-brand .aleph-logo{max-width:220px;height:auto}.auth-card h1{font-size:30px;margin-bottom:12px}.auth-card form{margin-top:24px}.auth-card .button{width:100%}.auth-footnote{font-size:12px;line-height:1.7;color:var(--muted,#58616a);margin-top:24px}.session-person{display:grid;gap:3px;padding:0 4px 16px;font-size:12px;overflow-wrap:anywhere}.session-person>span{font-size:11px;color:var(--muted)}.admin-dialog{width:min(900px,calc(100% - 32px))}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.admin-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--line);padding:14px 0}.admin-row .row-copy{flex:1;min-width:170px;overflow-wrap:anywhere}.admin-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.admin-form{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.permission-summary{font-size:12px;line-height:1.6;color:var(--muted)}.activation-output{margin-top:18px;padding:16px;background:#eef3f5;border:1px solid #c7d5dc}.activation-output input{width:100%;font-size:12px;padding:10px;border:1px solid #aabac4}.activation-output p{font-size:12px;line-height:1.65;margin:8px 0}.server-state{font-size:11px;padding:8px 0;color:var(--muted)}.progress-value{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0}.view-only{font-size:11px;color:var(--muted);margin-bottom:16px}.task-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.task-progress-bar{height:4px;background:#e2e8eb;margin:10px 0}.task-progress-bar>span{display:block;height:100%;background:var(--accent,#38546b)}.settings-section ul{padding-left:18px;font-size:13px;line-height:1.8}.field select:disabled,.field input:disabled,.field textarea:disabled{opacity:1;color:var(--ink);background:#f4f5f5}.admin-row .button{flex:none}.personal-note{margin:0 0 15px;font-size:12px;color:var(--muted)}@media(max-width:620px){.auth-screen{padding:18px}.auth-card{padding:26px}.admin-dialog{width:calc(100% - 20px)}.admin-row{align-items:flex-start}.session-person{padding-bottom:14px}}


/* ALEPH 3 · Brand-first workspace. */
:root{--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,"Noto Sans",sans-serif;--serif:var(--sans);--ink:#152f42;--muted:#74828b;--faint:#a0abb2;--paper:#f6f7f9;--line:#e6e9ed;--soft:#f1f3f6;--card:#fff;--sidebar-bg:#fff;--sidebar-fg:#1e3548;--sidebar-muted:#657380;--ui-accent:#183e5a;--ui-wash:#eef2f5;--radius:8px;font:400 14px/1.5 var(--sans)}
.shell{grid-template-columns:238px minmax(0,1fr)}.main{padding:28px 36px 18px;max-width:1720px}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 16px 16px}.brand-row{padding:0 15px 34px;min-height:76px}.sidebar .brand{display:block;line-height:1;width:146px;height:auto}.sidebar .brand .aleph-logo{width:146px!important;height:auto!important;max-width:146px!important;filter:none!important;mix-blend-mode:multiply}.side-content{scrollbar-color:#d5dbe0 transparent}.sidebar .nav-button{font:600 12px/1.5 var(--sans);color:#596d7c;letter-spacing:.015em;background:transparent;min-height:41px;border-radius:5px;padding:10px 14px}.sidebar #nav-all{margin-bottom:2px;color:#657786}.sidebar #nav-all.active,.sidebar .nav-button.active{color:#17394f;background:#f0f3f6}.sidebar .nav-button:hover{background:#f6f7f9;color:#17394f}.sidebar .nav-button.active:before{background:#23465e;width:2px;top:14px;bottom:14px}.sidebar #nav-personal{margin-bottom:30px}.sidebar .side-label{margin:0 0 10px;padding:0 14px;color:#98a3ac;font-size:9px;letter-spacing:.16em}.sidebar .side-label span:last-child{color:#aab3bb}.sidebar .company-nav-button{margin-bottom:3px}.sidebar .nav-button .dot{display:none}.sidebar .nav-count{font-size:10px;color:#94a2ad;font-weight:400}.sidebar .project-nav-button{margin:3px 0 3px 21px;width:calc(100% - 21px);padding:7px 12px;font-size:11px;font-weight:400;min-height:32px;border-radius:0;border-left:1px solid #e5e9ed;letter-spacing:0}.sidebar .project-nav-button.selected{color:#183c54;background:#f4f6f8;border-left-color:#496274}.sidebar .news-toggle{color:#8c9aa5;font-size:9px;letter-spacing:.15em;padding:12px 14px}.sidebar .news-toggle:hover{color:#23465e}.sidebar .media-total{color:#a3adb5}.sidebar .news-nav{margin-top:22px}.sidebar-bottom{border-color:var(--line);padding:16px 6px 0}.sidebar .session-person strong{font-size:11px;color:#607380;font-weight:500}.sidebar .session-person span{color:#9aa6ae;font-size:10px}.sidebar .side-bottom-actions .manage-button,.sidebar .side-bottom-actions .icon-button{color:#7c8d99;font-size:11px}.sidebar .manage-button:hover{background:#f2f4f6!important;color:#23465e!important}.sidebar .side-bottom-actions .icon-button:hover{background:#f2f4f6;color:#23465e}
.page-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:20px;margin-bottom:22px;font-size:11px;color:#8b98a3;letter-spacing:.025em}.page-meta>span{font-weight:500;color:#6c7e8b}.page-meta time{font-variant-numeric:tabular-nums}.entity-back{margin:-10px 0 15px;min-height:18px}.entity-back .text-button{font-size:10px;color:#8d9ca8}.route-parent{font-size:10px!important}.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(230px,1.08fr) minmax(0,2.3fr);align-items:center;gap:32px;min-height:174px;padding:34px 40px;margin:0 0 28px;border-radius:10px;background:linear-gradient(112deg,#ffffff05 0%,#00000000 45%,#00000018 100%),var(--brand,#092b46);color:white;box-shadow:0 8px 25px #152f4210;border:1px solid #ffffff0a}.hero:after{content:"";position:absolute;bottom:0;left:40px;right:40px;height:1px;background:#ffffff12;pointer-events:none}.hero-identity{display:block;min-width:0}.hero .entity-logo-slot{position:relative!important;display:flex;align-items:center;justify-content:flex-start;min-width:0;width:100%;height:92px;opacity:1;overflow:hidden}.hero .entity-logo-slot.hidden{display:none!important}.entity-brand-image{display:block;max-width:100%;max-height:90px;width:auto;height:auto;object-fit:contain;object-position:left center;filter:none}.brand-fallback{font-size:23px;font-weight:500;letter-spacing:.02em;color:white}.hero .entity-logo-slot[data-brand="emico"] img{max-width:220px;max-height:84px}.hero .entity-logo-slot[data-brand="entanglemental"] img,.hero .entity-logo-slot[data-brand="argentina-ase"] img{width:100%;max-width:300px;max-height:92px}.hero .entity-logo-slot[data-brand="auctior"]{height:92px;width:280px;max-width:100%}.hero .entity-logo-slot[data-brand="auctior"] img{position:absolute;max-width:none;max-height:none;width:116%;height:auto;left:-8%;top:50%;transform:translateY(-50%);filter:grayscale(1) invert(1) contrast(4);mix-blend-mode:screen}.hero .entity-logo-slot[data-brand="aleph"] img{width:235px;filter:grayscale(1) invert(1) contrast(4);mix-blend-mode:screen}.hero .entity-logo-slot[data-brand="colinashoes"] img,.hero .entity-logo-slot[data-brand="argie"] img,.hero .entity-logo-slot[data-brand="emico"] img,.hero .entity-logo-slot[data-brand="rectechinnovate"] img,.hero .entity-logo-slot[data-brand="ockham-press"] img,.hero .entity-logo-slot[data-brand="bicontinentar"] img{filter:brightness(0) invert(1)}
.hero .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;border:0;background:none;min-height:0;width:100%}.hero .stat{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:0 20px;min-width:0;border-right:1px solid #ffffff26;color:white}.hero .stat:first-child{padding-left:0}.hero .stat:last-child{padding-right:0;border:0}.hero .stat strong{font:350 34px/1 var(--sans);letter-spacing:-.055em;color:white;order:0;font-variant-numeric:tabular-nums}.hero .stat-top{font-size:10px;font-weight:400;letter-spacing:.015em;line-height:1.5;color:#ffffffae;order:2;white-space:nowrap}.hero .stat-value{order:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.hero .stat-caption{font-size:9px;color:#ffffffaa;letter-spacing:0}.hero h1{color:inherit}.hero-copy.visually-hidden{position:absolute!important}
.hero-actions{display:flex;gap:7px;align-items:center;order:5}.hero-customize{background:white!important;color:#728593!important;border:1px solid #e2e7ec!important;width:35px!important;height:35px!important;min-height:35px!important}.hero-actions .button{font-size:11px;min-height:35px;padding:9px 13px;background:#173b54;border-color:#173b54;border-radius:6px;font-weight:500}.hero-actions .button:hover{background:#234b66}.button{border-radius:6px}.button.secondary{border-color:#dfe5ea;color:#385569}.icon-button{color:#788a97}.workspace-controls{gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.workspace-top{min-width:0}.workspace-top .segmented{display:flex;gap:19px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.workspace-top .segmented button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:9px 1px 12px;font-size:12px;font-weight:400;color:#84939e;background:none;box-shadow:none;gap:7px;line-height:1.5}.workspace-top .segmented button.active{background:none;color:#1b405a;border-bottom-color:#274d68;font-weight:600;box-shadow:none}.workspace-top .segmented svg{height:14px;width:14px}.toolbar{gap:9px;display:flex;align-items:center;margin-left:auto}.search{background:white;border:1px solid #e1e6eb;border-radius:6px;width:178px;height:35px;min-height:35px}.search input{font-size:11px}.search kbd{display:none}.search svg{height:13px;width:13px}.filter-toggle{height:35px;min-height:35px;background:white;border:1px solid #e1e6eb;border-radius:6px;font-size:10px;color:#687d8b;padding:8px 10px}.filter-toggle svg{height:13px;width:13px}.filter-panel{background:#fff;border-color:#e4e9ed;border-radius:8px}.filter-field label{font-size:10px}.attention-line{margin-bottom:8px}.attention-line:empty{display:none}.attention-chip{font-size:10px;border-radius:5px;background:#fff;border-color:#e2e7eb}
.calendar-panel{border:1px solid #e0e6ec;border-radius:9px;box-shadow:0 3px 12px #14344c03;background:#fff;overflow:hidden}.calendar-header{padding:21px 25px;gap:18px;background:#fff;border-bottom:1px solid #e9edf1}.calendar-heading{display:flex;align-items:baseline;gap:12px}.calendar-heading h3{font:500 20px/1.3 var(--sans);letter-spacing:-.04em;color:#1f4057}.calendar-year{font:400 12px/1.3 var(--sans);margin-left:7px;color:#a1aeb8;letter-spacing:0}.month-count{font-size:10px;color:#97a6b1;margin:0}.calendar-controls{display:flex;align-items:center;gap:17px}.month-navigation{gap:4px}.calendar-arrow{width:25px;height:28px;color:#9bacb9}.today-button{font-size:10px;font-weight:500;padding:7px 10px;border:1px solid #e2e7ec;border-radius:4px;color:#3d596d}.calendar-controls .segmented{padding:3px;border:1px solid #edf0f3;background:#f4f6f8;border-radius:5px;gap:0}.calendar-controls .segmented button{font-size:10px;line-height:1.5;font-weight:400;padding:6px 12px;color:#8796a2;border-radius:3px;background:none}.calendar-controls .segmented button.active{background:white;color:#264a64;box-shadow:0 1px 4px #213a4c0b}.calendar-layout{grid-template-columns:minmax(0,1fr) 222px}.weekdays{background:#fafbfc;border-bottom:1px solid #e7ecf0;padding:0;min-height:34px}.weekdays span{font:500 9px/34px var(--sans);letter-spacing:.09em;color:#8e9eaa;text-align:right;padding-right:13px}.month-grid{background:#fff}.calendar-day{min-height:clamp(72px,calc((100dvh - 410px)/var(--calendar-weeks,5)),102px);padding:8px 7px 7px;border-color:#e8edf1;background:white}.calendar-day.outside{background:#fbfcfd}.calendar-day.selected{background:#f0f5f9;box-shadow:inset 0 0 0 1px #c8d6e1}.calendar-day.today .day-number{background:#254c69;color:white}.day-number{font:400 11px/1.4 var(--sans);width:24px;height:24px;min-height:24px;border-radius:50%;color:#60798b}.calendar-day.outside .day-number{color:#b4c0c8}.calendar-event{font-size:10px;line-height:1.45;min-height:24px;padding:4px 5px;margin-top:3px;border-radius:3px}.calendar-more{font-size:9px}.event-time{font-size:9px}.day-agenda{background:#fbfcfd;padding:22px 20px;border-color:#e6ecf1}.day-label{font-size:9px;letter-spacing:.07em;color:#98a7b2;margin:0 0 5px;text-transform:uppercase}.day-agenda-head h3{font:500 19px/1.35 var(--sans);letter-spacing:-.04em;color:#32566f}.day-agenda-head{margin-bottom:10px}.day-agenda-count{background:#e9eff4;color:#618197;font-size:10px}.day-empty{padding:25px 0}.day-empty svg{height:23px;width:23px;color:#b4c2cc}.day-empty p{font-size:10px;color:#95a6b3;line-height:1.7;max-width:130px;margin-top:12px}.calendar-add{font-size:10px;min-height:32px;background:transparent;color:#53758c;border:1px solid #dce5eb}.calendar-add:hover{background:#f0f4f8;color:#315871;border-color:#cbd9e3}.calendar-bottomline{padding:12px 20px;border-color:#e9edf2}.calendar-bottomline button{font-size:9px;color:#9aabb8}.compact-task{padding:12px 0;border-color:#e6edf2}.compact-task-main strong{font-size:11px;color:#45677f;font-weight:500;line-height:1.6}.compact-task-main span{font-size:9px;color:#a0afba}.compact-task>.dot{width:4px;height:4px}.period-layout{display:block!important}.period-schedule{overflow:auto;max-height:510px;scrollbar-width:thin;scrollbar-color:#d4dde5 transparent}.week-schedule{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr))}.schedule-day{min-width:0;border-right:1px solid #e5ebf0;background:white}.schedule-day:last-child{border-right:0}.schedule-heading{display:block;position:sticky;top:0;z-index:3;width:100%;min-height:45px;padding:14px 10px;text-align:left;background:#f8fafb;border-bottom:1px solid #e5ebf0;color:#637e91;font:500 10px/1.5 var(--sans);text-transform:capitalize}.is-today .schedule-heading{background:#eaf2f8;color:#244e6a}.schedule-allday{height:92px;overflow:auto;padding:10px 12px;border-bottom:1px solid #e6ecf1}.schedule-label{display:block;font-size:9px;color:#a1b0bb;margin-bottom:8px}.schedule-hour{height:90px;min-height:90px;overflow:auto;padding:8px 10px;border-bottom:1px solid #edf1f5;position:relative}.hour-label{display:block;color:#acb9c3;font-size:9px;font-variant-numeric:tabular-nums;margin-bottom:5px}.schedule-day .compact-task{padding:8px;margin:4px 0;background:#f0f5f9;border-radius:4px}.day-schedule .schedule-hour{display:grid;grid-template-columns:55px minmax(0,1fr);gap:6px;padding:12px 20px;height:auto;min-height:64px;overflow:visible}.day-schedule .schedule-hour .compact-task{grid-column:2}.day-schedule .schedule-allday{padding:16px 20px}.schedule-day>.calendar-add{margin:14px;font-size:10px}
.task-card,.axis-card{padding:22px;border:1px solid #e1e7ed;border-radius:8px;background:white;box-shadow:0 3px 10px #152f4203}.task-card h3{font:500 17px/1.5 var(--sans);letter-spacing:-.025em;color:#264a63}.axis-heading h3{font:600 13px/1.5 var(--sans);letter-spacing:.015em}.task-date{font-size:11px;color:#91a3b0}.category-tag{font-size:9px;color:#869ba9;letter-spacing:.05em}.task-heading{margin-bottom:15px}.task-progress-bar{background:#eef2f6;height:3px}.task-progress-bar span{background:#4a748e}.progress-value{font-size:10px;color:#8199aa}.task-bottom{border-color:#edf1f4}.task-bottom .text-button{font-size:10px;color:#7d94a4}.dialog{border:1px solid #dde5ed;border-radius:10px;box-shadow:0 20px 80px #102f4625}.dialog-header h2{font:500 22px/1.4 var(--sans);letter-spacing:-.035em}.dialog-header{border-color:#e8edf2}.dialog-body label{color:#788c9c;font-size:11px}.dialog input,.dialog select,.dialog textarea{border-color:#dde5ec;border-radius:5px;color:#32546b;font-size:12px}.no-results{border-style:dashed;box-shadow:none;background:#ffffff80}.no-results h3{font:500 20px/1.5 var(--sans);color:#4a6a80}.no-results p{color:#93a5b3}.backup-strip{margin-top:20px;border:0;background:none;padding:0;min-height:22px;color:#9aabb8;font-size:9px}.status-pill{font-size:9px;color:#91a3b0;background:none;border:0}.backup-title:empty{display:none}.backup-actions .button{font-size:9px;color:#93a5b3;padding:3px 6px;min-height:24px}.footer{border:0;margin-top:8px;color:#acb9c2;font-size:8px}.footer button{color:#a5b5c1;font-size:8px}
@media(min-width:1600px){.main{padding:34px 50px 20px}.hero{min-height:185px;padding:38px 46px}.hero .stat strong{font-size:39px}.hero .stat-top{font-size:11px}.sidebar .company-nav-button{font-size:12px}.calendar-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:1240px){.shell{grid-template-columns:215px minmax(0,1fr)}.main{padding:24px}.sidebar{padding:25px 12px 15px}.hero{padding:28px;gap:25px;grid-template-columns:minmax(190px,1fr) minmax(0,2fr);min-height:150px}.hero .stat{padding:0 12px}.hero .stat strong{font-size:30px}.hero .stat-top{font-size:9px}.hero .entity-logo-slot{height:80px}.entity-brand-image{max-height:76px}.hero .entity-logo-slot[data-brand="auctior"]{height:80px}.search{width:140px}.workspace-controls{gap:12px}.toolbar{gap:6px}.workspace-top .segmented{gap:14px}.calendar-layout{grid-template-columns:minmax(0,1fr) 185px}.day-agenda{padding:20px 15px}.day-agenda-head h3{font-size:17px}}
@media(max-width:1040px){.hero{grid-template-columns:1fr;gap:24px;padding:25px 30px}.hero .entity-logo-slot{height:68px;width:250px}.entity-brand-image{max-height:68px}.hero .entity-logo-slot[data-brand="auctior"]{height:68px;width:250px}.hero .stats{padding-top:20px;border-top:1px solid #ffffff20}.hero .stat strong{font-size:30px}.hero .stat-top{font-size:10px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.day-agenda{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 20px;border-left:0;border-top:1px solid var(--line);padding:17px 20px}.day-label,.day-agenda-head,.day-empty{grid-column:1}.day-empty{padding:3px 0}.day-empty svg{display:none}.day-empty p{margin:0;max-width:none}.day-agenda .calendar-add{grid-column:2;grid-row:1/4;align-self:center}.day-agenda>.compact-task{grid-column:1/-1}.workspace-controls{align-items:flex-start}.toolbar{margin-left:0;width:100%}.search{flex:1}.hero-actions{margin-left:auto}.calendar-day{min-height:80px}}
@media(max-width:800px){.shell{display:block}.mobile-topbar{background:white;border-bottom:1px solid var(--line);color:#234a65;padding:12px 20px}.mobile-brand{color:#234a65!important;font:600 16px/1.5 var(--sans);letter-spacing:.08em}.mobile-topbar .mobile-menu,.mobile-topbar .icon-button,.sidebar.open .mobile-menu{color:#50738c!important}.main{padding:20px}.sidebar{width:238px}.page-meta{font-size:10px;margin-bottom:17px}.hero{grid-template-columns:minmax(190px,.9fr) minmax(0,1.7fr);gap:20px;min-height:144px;padding:25px;margin-bottom:21px}.hero .entity-logo-slot{max-width:100%;height:74px}.hero .entity-logo-slot[data-brand="auctior"]{height:70px}.hero .stats{border:0;padding:0}.hero .stat{padding:0 10px}.hero .stat strong{font-size:26px}.hero .stat-top{font-size:8px}.calendar-heading h3{font-size:18px}.calendar-header{padding:18px}.calendar-controls{gap:9px}.calendar-controls .segmented button{padding:6px 10px}.calendar-day{min-height:86px}.toolbar{width:auto;flex:1;margin-left:0}.hero-actions .button{font-size:10px}.search{width:155px}.workspace-controls{gap:14px;flex-wrap:wrap}.workspace-top .segmented{gap:16px}.calendar-layout{grid-template-columns:1fr}.week-schedule{grid-template-columns:repeat(7,minmax(140px,1fr))}.toast{left:50%}}
@media(max-width:600px){.main{padding:18px 14px}.page-meta{font-size:9px;margin-bottom:15px}.hero{grid-template-columns:1fr;gap:24px;padding:25px 23px;min-height:0;border-radius:8px}.hero .entity-logo-slot{width:235px;max-width:100%;height:72px}.hero .entity-logo-slot[data-brand="auctior"]{width:235px;height:70px}.hero .stats{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:20px;border-top:1px solid #ffffff24}.hero .stat{padding:0 9px;gap:8px}.hero .stat strong{font-size:28px}.hero .stat-top{font-size:8px;white-space:normal}.hero .stat-caption{font-size:8px}.hero-actions .button{padding:9px 11px}.toolbar{width:100%;flex-wrap:wrap}.search{width:120px;flex:1}.workspace-controls{gap:10px}.workspace-top .segmented{gap:20px}.calendar-header{gap:12px;flex-wrap:wrap;padding:16px}.calendar-controls{width:100%;justify-content:space-between;flex-wrap:nowrap}.calendar-heading{gap:7px}.calendar-year{font-size:11px}.month-count{font-size:9px}.calendar-day{min-height:62px;padding:5px}.weekdays span{padding-right:8px;font-size:8px}.day-number{font-size:10px;width:22px;height:22px}.day-agenda{padding:16px}.day-agenda .calendar-add{font-size:9px;padding:8px 10px}.day-agenda-head h3{font-size:17px}.day-empty p{font-size:9px}.calendar-bottomline{padding:11px 14px}.calendar-bottomline button{font-size:8px}.backup-strip{gap:4px;margin-top:14px}.footer{line-height:1.7}.entity-back{margin:-5px 0 12px}.hero-customize{width:32px!important;min-width:32px!important}.task-grid,.axes-grid{grid-template-columns:1fr}.period-schedule{max-height:450px}}
@media print{.page-meta{margin-bottom:12px}.hero{-webkit-print-color-adjust:exact;print-color-adjust:exact}.hero-actions{display:none!important}}

#auth-screen,#logout,#password-form,#create-user-form,#permission-form,#tab-users,#tab-permissions{display:none!important}
.page-meta #entity-back{margin:0;min-height:20px}.page-meta #page-context:empty{display:none}.page-meta time{margin-left:auto}.weekdays span{padding:0 13px 0 0;font-size:10px}.day-number{font-size:12px}.mobile-topbar .mobile-brand{width:116px;flex:none}.mobile-topbar .mobile-brand .aleph-logo{display:block;width:116px;height:auto;max-height:30px;filter:none;mix-blend-mode:multiply}.hero .stat strong{font-weight:400}.hero .entity-logo-slot[data-brand="el-periquete"] img,.hero .entity-logo-slot[data-brand="actualidad-ase"] img,.hero .entity-logo-slot[data-brand="argie-news"] img,.hero .entity-logo-slot[data-brand="entanglemental-news"] img{filter:grayscale(1) invert(1) contrast(3);mix-blend-mode:screen}.hero .entity-logo-slot[data-brand="foreign-dispatch"] img{mix-blend-mode:screen}
@media(max-width:600px){.weekdays span{font-size:8px;padding-right:8px}.day-number{font-size:11px}.page-meta #entity-back .text-button{font-size:9px}}

.entity-logo-editor{margin:22px 0 24px;padding-top:18px;border-top:1px solid #e6ebf0}.logo-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.logo-editor-heading label{font-weight:600;color:#46677e}.logo-editor-heading span{font-size:10px;color:#95a6b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.hero.logo-preview-stage{display:flex;align-items:center;justify-content:center;min-height:138px;margin:0 0 12px;padding:22px;border-radius:7px;box-shadow:none}.logo-preview-stage.hero .entity-logo-slot{max-width:290px;justify-content:center}.logo-editor-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.logo-editor-actions .text-button{font-size:10px;color:#8399a9}.logo-editor-actions .button{font-size:11px}.logo-editor-hint{font-size:10px;color:#9aabb7;line-height:1.6;margin:10px 0 0}.hero .entity-logo-slot[data-brand="custom"] .entity-brand-image{max-width:100%;width:auto;max-height:90px;height:auto;filter:none;mix-blend-mode:normal;object-fit:contain}.logo-preview-stage:after{display:none}.logo-editor-actions button:disabled{opacity:.4;cursor:default}
@media(max-width:600px){.hero .entity-logo-slot[data-brand="custom"] .entity-brand-image{max-height:72px}.logo-editor-actions{gap:12px}.logo-editor-heading span{max-width:50%}}
/* Customizer chrome remains legible independently from the working canvas. */
.appearance-launch{display:flex;align-items:center;gap:9px;width:100%;padding:10px 7px;margin:0 0 7px;border:0;border-radius:5px;background:transparent;color:#607b8d;text-align:left;font:500 11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.appearance-launch svg{width:16px;height:16px;flex:none}.appearance-launch:hover{background:#f0f4f7;color:#234761}
.appearance-drawer{position:fixed;inset:0 0 0 auto;margin:0;padding:0;width:395px;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #dce3ea;border-radius:0;background:#fbfcfd;color:#1c3447;box-shadow:-15px 0 60px #0c223325;overflow:hidden;font:400 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;color-scheme:light}.appearance-drawer[open]{display:flex;flex-direction:column}.appearance-drawer::backdrop{background:#071f3305;backdrop-filter:none}.appearance-drawer *{box-sizing:border-box}.appearance-drawer button,.appearance-drawer select,.appearance-drawer input{font:inherit}.appearance-drawer button{cursor:pointer}.appearance-drawer :focus-visible{outline:2px solid #2e759f;outline-offset:3px}.ap-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 17px;background:white;border-bottom:1px solid #e5ebef;flex:none}.ap-eyebrow{font-size:8px;letter-spacing:.16em;color:#91a2ae}.ap-head h2{font:500 24px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:-.04em;margin:5px 0 0;color:#1d3c52}.ap-head>button{background:none;color:#8a9eac;border:0;font-size:27px;width:34px;height:34px;border-radius:5px}.ap-head>button:hover{background:#eef3f6}.ap-scope-wrap{padding:15px 24px;background:#f4f7fa;border-bottom:1px solid #e3eaf0;flex:none}.ap-scope-wrap>label{font-size:10px;color:#8d9eaa;display:block;margin-bottom:5px}.ap-scope-wrap select{display:block;width:100%;border:1px solid #d8e2e9;border-radius:5px;background:white;color:#294e68;padding:8px 9px;font-size:12px}.ap-scope-wrap p{font-size:10px;color:#8b9eac;line-height:1.5;margin:8px 0 0}.appearance-drawer .error{font:400 11px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#9d423d;background:#fff0ed;border:1px solid #f2d0c9;padding:8px;border-radius:5px;margin-top:8px}.appearance-drawer .error:empty{display:none}.ap-body{padding:0 24px 20px;overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#d1dbe4 transparent}.ap-section{border-bottom:1px solid #e3e9ee;padding-bottom:18px}.ap-section summary{font-size:12px;font-weight:600;color:#33566e;cursor:pointer;padding:19px 0 14px;list-style:none;display:flex;align-items:center;justify-content:space-between}.ap-section summary:after{content:'+';font-weight:400;color:#95a7b4;font-size:16px}.ap-section[open] summary:after{content:'−'}.ap-section summary::-webkit-details-marker{display:none}.ap-presets{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ap-presets button{background:white;border:1px solid #e0e7ee;border-radius:7px;padding:8px;text-align:left;color:#3a596d}.ap-presets button[aria-pressed=true]{border-color:#517b98;box-shadow:0 0 0 1px #517b98}.ap-presets strong{display:block;font-size:11px;font-weight:500;margin:7px 1px 0}.ap-presets small{font-size:9px;color:#94a5b1;margin:2px 1px 0;display:block}.ap-preset-preview{height:42px;padding:7px 10px;display:flex;align-items:center;gap:12px;background:var(--p-bg);color:var(--p-ink);font-size:23px;border-radius:3px}.ap-preset-preview i{flex:1;height:18px;background:var(--p-hero);border-radius:2px}.ap-font-row{margin:0 0 12px}.ap-font-row>label{display:block;margin-bottom:5px;font-size:10px;color:#7e94a3}.ap-font-controls{display:grid;grid-template-columns:minmax(0,1fr) 51px 15px;gap:7px;align-items:center}.ap-font-controls select,.ap-font-controls input{width:100%;padding:7px 8px;color:#365a73;background:white;border:1px solid #dce5ed;border-radius:5px;min-height:33px;font-size:11px}.ap-font-controls input{padding:7px 5px}.ap-unit{font-size:9px;color:#9babb7}.ap-range{margin-top:16px}.ap-range>label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:#6f8798;font-size:10px}.ap-range output{color:#274f6b;font-size:10px;font-variant-numeric:tabular-nums}.ap-range>input{display:block;width:100%;margin:0;height:16px;accent-color:#315e7c;cursor:pointer}.ap-range-note{display:block;color:#a2b0bb;font-size:9px;margin-top:4px}.ap-colors{display:grid;grid-template-columns:1fr 1fr;gap:12px 9px}.ap-colors label{display:flex;align-items:center;gap:8px;min-width:0;font-size:10px;color:#718999}.appearance-drawer input[type=color]{appearance:none;-webkit-appearance:none;display:block;flex:none;width:27px;height:27px;border:1px solid #d3dfe7;padding:3px;background:white;border-radius:5px;cursor:pointer}.appearance-drawer input[type=color]::-webkit-color-swatch-wrapper{padding:0}.appearance-drawer input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.appearance-drawer input[type=color]:disabled{opacity:.35;cursor:default}.ap-header-controls{margin-top:17px;border-top:1px dashed #dde6ed;padding-top:14px}.ap-check{display:flex;align-items:center;gap:8px;font-size:10px;color:#6b879a}.ap-check input{accent-color:#315e7c}.ap-header-color{display:flex;align-items:center;gap:9px;margin-top:9px;color:#91a3b0;font-size:10px}.ap-readability{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px dashed #dfe7ed;font-size:9px;color:#9baab6}.ap-readability strong{font-weight:500;color:#51748d;margin-left:4px}.ap-readability button{background:none;border:0;color:#577e98;font-size:9px;padding:4px 0}.ap-transfer{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.ap-transfer button{border:1px solid #d8e3eb;border-radius:5px;background:white;font-size:10px;color:#68869c;padding:8px 13px}.ap-reset{background:none;border:0;color:#97a8b6;font-size:10px;padding:13px 0 0;text-decoration:underline;text-underline-offset:3px}.ap-footer{padding:13px 24px 18px;background:white;border-top:1px solid #dfe7ed;flex:none}.ap-footer>span{display:block;font-size:9px;color:#95a8b6;margin-bottom:9px}.ap-footer>div{display:flex;gap:10px;justify-content:flex-end}.ap-footer button{font-size:11px;padding:9px 13px;border-radius:5px;background:white;border:1px solid #dbe5ed;color:#6e8a9e}.ap-footer #ap-save{background:#204b69;color:white;border-color:#204b69}
/* Theme application: each sector has independent typography. */
html[data-appearance]{background:var(--ap-paper);color:var(--ap-ink)}html[data-appearance] body{background:var(--ap-paper);color:var(--ap-ink);font-family:var(--ap-contentFont)}html[data-appearance] .main{background:var(--ap-paper)}html[data-appearance] .page-meta,html[data-appearance] .page-meta>span,html[data-appearance] .entity-back .text-button{color:var(--ap-muted);font-family:var(--ap-contentFont)}html[data-appearance] .sidebar{background:var(--ap-sidebar);border-color:var(--ap-sideLine);color:var(--ap-sideInk)}html[data-appearance] .sidebar .nav-button{font-family:var(--ap-navFont);font-size:var(--ap-navSize);padding-top:var(--ap-navPadding);padding-bottom:var(--ap-navPadding);color:var(--ap-sideMuted);border-radius:var(--ap-smallRadius)}html[data-appearance] .sidebar #nav-all,html[data-appearance] .sidebar #nav-personal{color:var(--ap-sideMuted)}html[data-appearance] .sidebar .nav-button:hover,html[data-appearance] .sidebar .nav-button.active,html[data-appearance] .sidebar #nav-all.active,html[data-appearance] .sidebar .project-nav-button.selected{color:var(--ap-sideInk);background:color-mix(in srgb,var(--ap-sidebar),var(--ap-sideInk) 8%)}html[data-appearance] .sidebar .nav-button.active:before{background:var(--ap-accent)}html[data-appearance] .sidebar .project-nav-button{font-size:calc(var(--ap-navSize) - 1px);border-color:var(--ap-sideLine)}html[data-appearance] .sidebar .side-label,html[data-appearance] .sidebar .news-toggle,html[data-appearance] .sidebar .nav-count,html[data-appearance] .sidebar .media-total,html[data-appearance] .sidebar .side-label span:last-child,html[data-appearance] .sidebar .session-person span{color:var(--ap-sideMuted);font-family:var(--ap-navFont)}html[data-appearance] .sidebar .session-person strong,html[data-appearance] .sidebar .side-bottom-actions .manage-button,html[data-appearance] .sidebar .side-bottom-actions .icon-button,html[data-appearance] .sidebar .appearance-launch{color:var(--ap-sideInk);font-family:var(--ap-navFont)}html[data-appearance] .sidebar-bottom{border-color:var(--ap-sideLine)}html[data-appearance] .sidebar .manage-button:hover,html[data-appearance] .sidebar .appearance-launch:hover{background:color-mix(in srgb,var(--ap-sidebar),var(--ap-sideInk) 8%)!important;color:var(--ap-sideInk)!important}
html[data-appearance] .hero:not(.logo-preview-stage){background:linear-gradient(112deg,#ffffff05,#00000012),var(--ap-header);color:var(--ap-headerInk);border-radius:var(--ap-radius);padding:var(--ap-heroPadding) calc(var(--ap-heroPadding) + 6px);box-shadow:var(--ap-shadow);border:var(--ap-border) solid var(--ap-headerLine)}html[data-appearance] .hero .stats,html[data-appearance] .hero .stat{border-color:var(--ap-headerLine)}html[data-appearance] .hero .stat strong{color:var(--ap-headerInk);font-family:var(--ap-headingFont);font-size:var(--ap-counterSize);font-weight:var(--ap-fontWeight)}html[data-appearance] .hero .stat-top,html[data-appearance] .hero .stat-caption{color:var(--ap-headerMuted);font-family:var(--ap-headingFont);font-size:calc(var(--ap-calendarSize) - 2px);white-space:normal}html[data-appearance] .hero .brand-fallback{color:var(--ap-headerInk);font-family:var(--ap-headingFont);font-size:var(--ap-headingSize)}html[data-appearance] .hero:after{background:var(--ap-headerLine)}
html[data-appearance] .workspace-top .segmented button{font-family:var(--ap-contentFont);font-size:var(--ap-calendarSize);color:var(--ap-muted)}html[data-appearance] .workspace-top .segmented button.active{color:var(--ap-accent);border-bottom-color:var(--ap-accent)}html[data-appearance] .search,html[data-appearance] .filter-toggle,html[data-appearance] .hero-customize{background:var(--ap-surface)!important;color:var(--ap-muted)!important;border:var(--ap-border) solid var(--ap-line)!important;border-radius:var(--ap-smallRadius)}html[data-appearance] .search input{font-family:var(--ap-formFont);font-size:var(--ap-formSize);color:var(--ap-ink);background:transparent}html[data-appearance] .search input::placeholder{color:var(--ap-muted)}html[data-appearance] .button{font-family:var(--ap-formFont);font-size:var(--ap-formSize);border-radius:var(--ap-smallRadius);background:var(--ap-accent);border-color:var(--ap-accent);color:var(--ap-onAccent)}html[data-appearance] .button.secondary,html[data-appearance] .button.ghost,html[data-appearance] .calendar-add{background:var(--ap-surface);color:var(--ap-accent);border:var(--ap-border) solid var(--ap-line)}html[data-appearance] .hero-actions .button{background:var(--ap-accent);color:var(--ap-onAccent);border-color:var(--ap-accent)}html[data-appearance] .filter-panel{background:var(--ap-surface);border-color:var(--ap-line);border-radius:var(--ap-radius)}
html[data-appearance] .calendar-panel,html[data-appearance] .task-card,html[data-appearance] .axis-card,html[data-appearance] .no-results,html[data-appearance] .calendar-tray{background:var(--ap-surface);border:var(--ap-border) solid var(--ap-line);border-radius:var(--ap-radius);box-shadow:var(--ap-shadow)}html[data-appearance] .calendar-header{background:var(--ap-surface);border-color:var(--ap-line)}html[data-appearance] .calendar-heading h3,html[data-appearance] .day-agenda-head h3,html[data-appearance] .axis-heading h3,html[data-appearance] .no-results h3{font-family:var(--ap-headingFont);font-size:var(--ap-headingSize);font-weight:var(--ap-fontWeight);color:var(--ap-ink)}html[data-appearance] .calendar-year,html[data-appearance] .month-count{font-family:var(--ap-calendarFont);font-size:var(--ap-calendarSize);color:var(--ap-muted)}html[data-appearance] .calendar-controls button,html[data-appearance] .calendar-help,html[data-appearance] .zone-button,html[data-appearance] .calendar-more{font-family:var(--ap-calendarFont);color:var(--ap-muted)}html[data-appearance] .today-button{background:var(--ap-surface);border-color:var(--ap-line);border-radius:var(--ap-smallRadius);color:var(--ap-accent)}html[data-appearance] .calendar-controls .segmented{background:var(--ap-wash);border-color:var(--ap-line);border-radius:var(--ap-smallRadius)}html[data-appearance] .calendar-controls .segmented button{font-size:calc(var(--ap-calendarSize) - 1px);border-radius:var(--ap-smallRadius);color:var(--ap-muted)}html[data-appearance] .calendar-controls .segmented button.active{background:var(--ap-surface);color:var(--ap-accent)}html[data-appearance] .weekdays{background:var(--ap-wash);border-color:var(--ap-line)}html[data-appearance] .weekdays span{font-family:var(--ap-calendarFont);color:var(--ap-muted);font-size:calc(var(--ap-calendarSize) - 2px)}html[data-appearance] .month-grid,html[data-appearance] .calendar-day{background:var(--ap-surface);border-color:var(--ap-line)}html[data-appearance] .calendar-day{min-height:var(--ap-dayHeight)}html[data-appearance] .calendar-day.outside{background:var(--ap-wash)}html[data-appearance] .calendar-day.selected{background:var(--ap-selected)!important;box-shadow:inset 0 0 0 var(--ap-border) var(--ap-accent)}html[data-appearance] .day-number{font-family:var(--ap-calendarFont);font-size:var(--ap-calendarSize);color:var(--ap-ink)}html[data-appearance] .calendar-day.outside .day-number{color:var(--ap-muted);opacity:.6}html[data-appearance] .calendar-day.today .day-number,html[data-appearance] .calendar-day.selected .day-number{background:var(--ap-accent);color:var(--ap-onAccent)}html[data-appearance] .calendar-event{background:var(--ap-wash);color:var(--ap-ink);font-family:var(--ap-calendarFont);font-size:calc(var(--ap-calendarSize) - 1px);border-radius:var(--ap-smallRadius)}html[data-appearance] .event-time{font-size:calc(var(--ap-calendarSize) - 2px)}html[data-appearance] .day-agenda{background:var(--ap-wash);border-color:var(--ap-line)}html[data-appearance] .day-label,html[data-appearance] .day-empty p{font-family:var(--ap-calendarFont);color:var(--ap-muted);font-size:calc(var(--ap-calendarSize) - 1px)}html[data-appearance] .day-agenda-count{background:var(--ap-selected);color:var(--ap-accent)}html[data-appearance] .day-empty svg{color:var(--ap-muted)}html[data-appearance] .calendar-bottomline{background:var(--ap-surface);border-color:var(--ap-line)}html[data-appearance] .calendar-bottomline button{color:var(--ap-muted)}html[data-appearance] .schedule-day{background:var(--ap-surface);border-color:var(--ap-line)}html[data-appearance] .schedule-heading{background:var(--ap-wash);color:var(--ap-ink);border-color:var(--ap-line);font-family:var(--ap-calendarFont);font-size:var(--ap-calendarSize)}html[data-appearance] .is-today .schedule-heading{background:var(--ap-selected);color:var(--ap-accent)}html[data-appearance] .schedule-allday,html[data-appearance] .schedule-hour{border-color:var(--ap-line)}html[data-appearance] .hour-label,html[data-appearance] .schedule-label{color:var(--ap-muted);font-family:var(--ap-calendarFont);font-size:calc(var(--ap-calendarSize) - 2px)}html[data-appearance] .schedule-day .compact-task{background:var(--ap-wash)}html[data-appearance] .compact-task{border-color:var(--ap-line)}html[data-appearance] .compact-task-main strong{font-family:var(--ap-calendarFont);font-size:var(--ap-calendarSize);color:var(--ap-ink)}html[data-appearance] .compact-task-main span{font-family:var(--ap-calendarFont);color:var(--ap-muted);font-size:calc(var(--ap-calendarSize) - 2px)}
html[data-appearance] .task-card,html[data-appearance] .axis-card{padding:var(--ap-cardPadding);color:var(--ap-ink);font-family:var(--ap-contentFont);font-size:var(--ap-contentSize)}html[data-appearance] .task-card h3{font-family:var(--ap-contentFont);font-size:var(--ap-cardTitleSize);font-weight:var(--ap-fontWeight);color:var(--ap-ink)}html[data-appearance] .task-card p,html[data-appearance] .task-date,html[data-appearance] .objective-text{font-family:var(--ap-contentFont);font-size:calc(var(--ap-contentSize) - 1px);color:var(--ap-muted)}html[data-appearance] .category-tag,html[data-appearance] .progress-value,html[data-appearance] .task-bottom .text-button,html[data-appearance] .no-results p{color:var(--ap-muted);font-family:var(--ap-contentFont)}html[data-appearance] .objective,html[data-appearance] .activity-chip,html[data-appearance] .task-status,html[data-appearance] .attention-chip,html[data-appearance] .priority{background:var(--ap-wash);border-color:var(--ap-line);color:var(--ap-muted);border-radius:var(--ap-smallRadius)}html[data-appearance] .task-bottom{border-color:var(--ap-line)}html[data-appearance] .task-progress-bar{background:var(--ap-wash)}html[data-appearance] .task-progress-bar>span{background:var(--ap-accent)}html[data-appearance] .task-grid,html[data-appearance] .axes-grid{gap:var(--ap-gap)}
html[data-appearance] .dialog:not(.appearance-drawer){background:var(--ap-surface);color:var(--ap-ink);border-radius:var(--ap-radius);border:var(--ap-border) solid var(--ap-line);box-shadow:var(--ap-shadow);font-family:var(--ap-formFont)}html[data-appearance] .dialog:not(.appearance-drawer) .dialog-header,html[data-appearance] .dialog:not(.appearance-drawer) .dialog-footer{background:var(--ap-surface);border-color:var(--ap-line)}html[data-appearance] .dialog:not(.appearance-drawer) h2{font-family:var(--ap-headingFont);font-size:var(--ap-headingSize);font-weight:var(--ap-fontWeight);color:var(--ap-ink)}html[data-appearance] .dialog:not(.appearance-drawer) input,html[data-appearance] .dialog:not(.appearance-drawer) select,html[data-appearance] .dialog:not(.appearance-drawer) textarea,html[data-appearance] .filter-panel select{font-family:var(--ap-formFont);font-size:var(--ap-formSize);color:var(--ap-ink);background:var(--ap-surface);border-color:var(--ap-line);border-radius:var(--ap-smallRadius)}html[data-appearance] .dialog:not(.appearance-drawer) label,html[data-appearance] .dialog:not(.appearance-drawer) p,html[data-appearance] .dialog:not(.appearance-drawer) .logo-editor-heading span{color:var(--ap-muted);font-family:var(--ap-formFont);font-size:var(--ap-formSize)}html[data-appearance] .dialog:not(.appearance-drawer) input:disabled,html[data-appearance] .dialog:not(.appearance-drawer) select:disabled{background:var(--ap-wash);color:var(--ap-muted)}html[data-appearance] .admin-row,html[data-appearance] .entity-logo-editor{border-color:var(--ap-line)}html[data-appearance] .footer,html[data-appearance] .footer button,html[data-appearance] .backup-strip,html[data-appearance] .status-pill{color:var(--ap-muted);font-family:var(--ap-contentFont)}html[data-appearance] .mobile-topbar{background:var(--ap-sidebar);border-color:var(--ap-sideLine)}html[data-appearance] .mobile-topbar .icon-button,html[data-appearance] .mobile-topbar .mobile-menu{color:var(--ap-sideInk)!important}html[data-appearance] .icon-button{color:var(--ap-muted)}html[data-appearance] :focus-visible{outline-color:var(--ap-accent)}html[data-appearance] .appearance-drawer :focus-visible{outline-color:#2e759f}html[data-appearance][data-sidebar-tone=dark] .sidebar .brand .aleph-logo,html[data-appearance][data-sidebar-tone=dark] .mobile-topbar .aleph-logo{filter:grayscale(1) invert(1) contrast(4)!important;mix-blend-mode:screen}
@media(max-width:1240px){html[data-appearance] .hero .stat{padding-left:10px;padding-right:10px}html[data-appearance] .hero .stat strong{font-size:clamp(24px,3vw,var(--ap-counterSize))}}@media(max-width:800px){html[data-appearance] .hero:not(.logo-preview-stage){padding:calc(var(--ap-heroPadding) * .75)}html[data-appearance] .hero .stat strong{font-size:clamp(24px,4vw,var(--ap-counterSize))}html[data-appearance] .hero .stat-top{font-size:calc(var(--ap-calendarSize) - 3px)}}@media(max-width:600px){.appearance-drawer{width:min(395px,100vw)}.ap-head{padding:17px 20px 14px}.ap-scope-wrap{padding:12px 20px}.ap-body{padding:0 20px 18px}.ap-footer{padding:12px 20px 15px}html[data-appearance] .hero .stat{padding-left:7px;padding-right:7px}html[data-appearance] .hero .stat:first-child{padding-left:0}html[data-appearance] .hero .stat strong{font-size:clamp(24px,7vw,var(--ap-counterSize))}html[data-appearance] .hero .stat-top{font-size:clamp(8px,2.3vw,calc(var(--ap-calendarSize) - 2px))}html[data-appearance] .calendar-day{min-height:calc(var(--ap-dayHeight) * .7)}html[data-appearance] .workspace-controls{gap:10px}html[data-appearance] .toolbar{flex-wrap:wrap}html[data-appearance] .hero-actions .button{font-size:calc(var(--ap-formSize) - 1px)}html[data-appearance] .calendar-heading h3{font-size:clamp(16px,5vw,var(--ap-headingSize))}}
@media print{.appearance-launch,.appearance-drawer{display:none!important}}

html[data-appearance] .calendar-day:hover:not(.selected){background:var(--ap-wash)}html[data-appearance] .day-number:hover{background:var(--ap-selected)}html[data-appearance] .backup-actions .button{background:transparent;color:var(--ap-muted);border-color:transparent;font-size:10px}html[data-appearance] .backup-actions .button:hover{background:var(--ap-wash);color:var(--ap-ink)}

html[data-appearance] .toolbar{flex-wrap:wrap;min-width:0;row-gap:10px}html[data-appearance] .dialog:not(.appearance-drawer) .field small,html[data-appearance] .dialog:not(.appearance-drawer) .help-text,html[data-appearance] .dialog:not(.appearance-drawer) .field-section>summary,html[data-appearance] .dialog:not(.appearance-drawer) .settings-section summary{color:var(--ap-muted)}html[data-appearance] .dialog:not(.appearance-drawer) input::placeholder,html[data-appearance] .dialog:not(.appearance-drawer) textarea::placeholder{color:var(--ap-muted);opacity:.8}html[data-appearance][data-appearance-tone=dark] .dialog:not(.appearance-drawer) input{color-scheme:dark}

/* Spreadsheet surface follows the existing appearance controls. */
#excel-panel{min-width:0;max-width:100%;background:var(--ap-surface,#fff);color:var(--ap-ink,#183e56);border:var(--ap-border,1px) solid var(--ap-line,#dfe7ed);border-radius:var(--ap-radius,9px);box-shadow:var(--ap-shadow,none);overflow:hidden;font-family:var(--ap-contentFont,var(--sans))}
.xl-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--ap-line,#dfe7ed)}.xl-heading h3{font:500 var(--ap-headingSize,20px)/1.4 var(--ap-headingFont,var(--sans));color:var(--ap-ink,#183e56);margin:4px 0 0;letter-spacing:-.03em}.xl-eyebrow{font-size:9px;letter-spacing:.12em;color:var(--ap-muted,#698393)}.xl-heading .xl-download{flex:none;display:inline-flex;align-items:center;gap:8px;font-size:12px;padding:10px 14px}.xl-download svg{width:15px;height:15px}.xl-download small{font-size:9px;opacity:.75}
.xl-filters{padding:18px 24px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;background:var(--ap-wash,#f6f8fa)}.xl-filters label{display:flex;flex:1 1 130px;min-width:120px;max-width:230px;flex-direction:column;gap:6px;font:400 10px/1.4 var(--ap-formFont,var(--sans));color:var(--ap-muted,#6f8798)}.xl-filters select,.xl-filters input,.xl-sheetbar select{font:400 var(--ap-formSize,12px)/1.4 var(--ap-formFont,var(--sans));color:var(--ap-ink,#183e56);background:var(--ap-surface,#fff);border:1px solid var(--ap-line,#dfe7ed);border-radius:var(--ap-smallRadius,5px);padding:8px 9px;min-width:0;width:100%;height:36px}.xl-filters label[hidden]{display:none}.xl-filters .xl-reset{background:none;color:var(--ap-muted,#6f8798);font:400 11px/1.5 var(--ap-formFont,var(--sans));padding:9px 2px;white-space:nowrap}.xl-reset:hover{text-decoration:underline}.xl-date-error{padding:10px 24px;color:#b14634;font-size:12px;background:#fff1ed;margin:0}
.xl-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:21px 24px;gap:10px;border-top:1px solid var(--ap-line,#dfe7ed);border-bottom:1px solid var(--ap-line,#dfe7ed)}.xl-metrics>div{border-left:1px solid var(--ap-line,#dfe7ed);padding-left:18px;display:flex;flex-direction:column;gap:6px}.xl-metrics>div:first-child{border-left:0;padding-left:0}.xl-metrics span{font-size:10px;color:var(--ap-muted,#6f8798)}.xl-metrics strong{font:500 25px/1.3 var(--ap-headingFont,var(--sans));font-variant-numeric:tabular-nums;color:var(--ap-ink,#183e56)}
.xl-sheetbar{padding:0 24px;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--ap-line,#dfe7ed)}.xl-sheetbar [role=tablist]{display:flex;gap:24px;align-self:stretch}.xl-sheetbar [role=tab]{border:0;border-radius:0;border-bottom:2px solid transparent;color:var(--ap-muted,#6f8798);background:transparent;padding:15px 0 13px;font:500 12px/1.4 var(--ap-contentFont,var(--sans))}.xl-sheetbar [role=tab][aria-selected=true]{border-bottom-color:var(--ap-accent,#214d69);color:var(--ap-accent,#214d69)}.xl-sheetbar label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--ap-muted,#6f8798)}.xl-sheetbar label[hidden]{display:none}.xl-sheetbar select{height:30px;width:115px;font-size:11px;padding:4px 6px}
.xl-scroll{width:100%;max-width:100%;max-height:530px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--ap-line,#dfe7ed) transparent;overscroll-behavior:contain}.xl-scroll:focus-visible{outline-offset:-3px}.xl-table,.xl-summary-table{border-collapse:separate;border-spacing:0;font:400 var(--ap-contentSize,14px)/1.5 var(--ap-contentFont,var(--sans));text-align:left;width:max-content;min-width:100%;table-layout:fixed}.xl-table td,.xl-table th{min-width:0;border-bottom:1px solid var(--ap-line,#dfe7ed);border-right:1px solid var(--ap-line,#dfe7ed)}.xl-table th{position:sticky;top:0;z-index:3;background:var(--ap-wash,#f6f8fa);padding:0;vertical-align:middle;height:61px}.xl-sort{display:grid;grid-template-columns:minmax(0,1fr) 14px;gap:2px;padding:8px 13px;width:100%;text-align:left;font:500 11px/1.5 var(--ap-contentFont,var(--sans));background:transparent;color:var(--ap-ink,#183e56);white-space:nowrap}.xl-letter{grid-column:1/-1;font-size:8px;letter-spacing:.08em;color:var(--ap-muted,#6f8798);font-weight:400}.xl-sort-arrow{font-size:12px;color:var(--ap-muted,#6f8798)}.xl-table th[aria-sort=ascending] .xl-sort-arrow,.xl-table th[aria-sort=descending] .xl-sort-arrow{color:var(--ap-accent,#214d69)}
.xl-table td{padding:13px;vertical-align:middle;background:var(--ap-surface,#fff);max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:56px;font-size:calc(var(--ap-contentSize,14px) - 2px)}.xl-table tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--ap-surface,#fff),var(--ap-wash,#f6f8fa) 45%)}.xl-table tbody tr:hover td{background:var(--ap-selected,#eef3f7)}.xl-table th:nth-child(1),.xl-table td:nth-child(1){position:sticky;left:0;z-index:2;width:64px}.xl-table th:nth-child(2),.xl-table td:nth-child(2){position:sticky;left:64px;z-index:2;border-right:2px solid var(--ap-line,#dfe7ed)}.xl-table thead th:nth-child(-n+2){z-index:4}.xl-task-title{display:block;text-align:left;width:100%;max-width:280px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;background:none;padding:0;color:var(--ap-ink,#183e56);font:500 var(--ap-contentSize,14px)/1.5 var(--ap-contentFont,var(--sans))}.xl-task-title:hover{text-decoration:underline;text-underline-offset:3px}.xl-numeric{text-align:right;font-variant-numeric:tabular-nums}.xl-table .xl-empty{position:static!important;text-align:center;padding:48px 20px;color:var(--ap-muted,#6f8798);height:150px}
.xl-status{display:inline-block;border-radius:var(--ap-smallRadius,5px);border:1px solid var(--ap-line,#dfe7ed);padding:3px 8px;font-size:11px;color:var(--ap-ink,#183e56);background:var(--ap-wash,#f6f8fa)}.xl-status[data-status=done]{color:#347456;background:#eaf4ef;border-color:#cce2d6}.xl-status[data-status=waiting]{color:#8d652e;background:#fbf3e3;border-color:#eaddbc}.xl-progress{display:flex;flex-direction:column;gap:6px;font-size:11px;font-variant-numeric:tabular-nums}.xl-progress i{height:3px;background:linear-gradient(to right,var(--ap-accent,#214d69) var(--progress),var(--ap-wash,#eef3f7) var(--progress));border-radius:4px}
.xl-summary-table{min-width:860px;width:100%;font-size:12px}.xl-summary-table th{position:sticky;top:0;background:var(--ap-wash,#f6f8fa);font-size:10px;font-weight:500;white-space:nowrap;text-align:right;color:var(--ap-muted,#6f8798);z-index:1}.xl-summary-table th:nth-child(-n+2){text-align:left}.xl-summary-table th,.xl-summary-table td{padding:14px 16px;border-bottom:1px solid var(--ap-line,#dfe7ed)}.xl-summary-table td{color:var(--ap-ink,#183e56)}.xl-summary-table td:first-child{font-weight:500}.xl-summary-table tfoot{position:sticky;bottom:0;background:var(--ap-wash,#f6f8fa);font-weight:600}.xl-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 24px;border-top:1px solid var(--ap-line,#dfe7ed);font-size:10px;color:var(--ap-muted,#6f8798)}#xl-pagination{display:flex;align-items:center;gap:12px;white-space:nowrap}#xl-pagination[hidden]{display:none}#xl-pagination button{width:28px;height:28px;background:var(--ap-wash,#f6f8fa);color:var(--ap-ink,#183e56);border-radius:var(--ap-smallRadius,5px);font-size:20px}#xl-pagination button:disabled{opacity:.3;cursor:default}.xl-notes{padding:0 24px 12px;font-size:10px;line-height:1.7;color:var(--ap-muted,#6f8798)}.xl-notes summary{cursor:pointer}.xl-notes p{margin:7px 0 0;max-width:900px}html[data-appearance-tone=dark] .xl-filters input{color-scheme:dark}.workspace-top .segmented{flex-wrap:wrap}
@media(max-width:800px){.xl-heading,.xl-filters{padding:17px}.xl-metrics{padding:17px;gap:8px}.xl-metrics>div{padding-left:10px}.xl-metrics strong{font-size:23px}.xl-sheetbar{padding:0 17px}.xl-bottom{padding:12px 17px}.xl-notes{padding:0 17px 12px}.xl-scroll{max-height:65vh}}
@media(max-width:600px){.xl-heading{align-items:flex-start;flex-direction:column;gap:13px}.xl-heading .xl-download{padding:9px 12px}.xl-filters{gap:10px}.xl-filters label{flex-basis:calc(50% - 10px);min-width:0;max-width:none}.xl-metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.xl-metrics>div:nth-child(4){border-left:0;padding-left:0}.xl-metrics span{font-size:9px}.xl-table td:nth-child(-n+2),.xl-table th:nth-child(-n+2){position:static}.xl-table thead th:nth-child(-n+2){position:sticky;left:auto;z-index:3}.xl-bottom{align-items:flex-start;flex-direction:column;gap:10px}.xl-sheetbar [role=tablist]{gap:18px}.xl-sheetbar label{gap:5px}.xl-sheetbar select{width:92px}.xl-filters .xl-reset{font-size:10px}.xl-heading h3{font-size:19px}}

/* Header metadata is part of the brand band in every scope. */
html[data-appearance] .main{padding-top:14px}
#entity-hero{display:grid;grid-template-columns:minmax(150px,.85fr) minmax(0,1.4fr);row-gap:20px}
#entity-hero .page-meta{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:9px 20px;margin:0;padding:0;min-height:20px;line-height:1.5}
html[data-appearance] #entity-hero .page-meta,html[data-appearance] #entity-hero .page-meta *,#entity-hero .page-meta{color:#fff!important}
#entity-hero .page-meta>span,#entity-hero .page-meta time{font-size:11px}
#entity-hero .page-meta .entity-back{flex-wrap:wrap;gap:8px}
#entity-hero .page-meta .text-button{font-size:11px}
#entity-hero .page-meta .text-button:hover{text-decoration:underline;text-underline-offset:4px}
.workspace-controls{flex-wrap:wrap}
.workspace-top{flex:1 1 100%;width:100%}
.workspace-top .segmented{flex-wrap:wrap;width:100%}
.toolbar{margin-left:auto}
.review-panel{color:var(--ap-ink,var(--ink));font-family:var(--ap-contentFont,var(--sans));--review-red:color-mix(in srgb,#d02b36 82%,var(--ap-ink,#172e44))}
.review-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;background:var(--ap-surface,#fff);border:var(--ap-border,1px) solid var(--ap-line,#e0e6ea);border-radius:var(--ap-radius,8px);margin-bottom:18px}
.review-scope{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--ap-muted,#71808a);margin:0 0 9px}
.review-heading h3{font-family:var(--ap-headingFont,var(--serif));font-size:var(--ap-headingSize,27px);font-weight:var(--ap-fontWeight,400);line-height:1.25;margin:0}
.review-description{font-size:var(--ap-calendarSize,12px);line-height:1.7;color:var(--ap-muted,#71808a);margin:9px 0 0}
.review-metric{padding-left:24px;border-left:1px solid var(--ap-line,#e0e6ea);text-align:right;flex:none;display:grid;gap:4px}
.review-metric strong{font-family:var(--ap-headingFont,var(--serif));font-weight:400;font-size:40px;line-height:1}
.review-metric span{color:var(--ap-muted,#71808a);font-size:11px}
.completion-list,.responsible-group{background:var(--ap-surface,#fff);border:var(--ap-border,1px) solid var(--ap-line,#e0e6ea);border-radius:var(--ap-radius,8px);overflow:hidden;box-shadow:var(--ap-shadow,none)}
.completion-row{display:grid;grid-template-columns:30px minmax(160px,1.6fr) minmax(100px,.8fr) minmax(160px,1fr);align-items:center;gap:20px;padding:23px 28px;border-bottom:1px solid var(--ap-line,#e0e6ea)}
.completion-row:last-child,.responsible-row:last-child{border-bottom:0}
.completion-mark{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--ap-line,#d3e4df);border-radius:50%;color:var(--ap-accent,#3c7564);background:var(--ap-wash,#f4f8f6)}
.completion-mark svg{width:14px;height:14px}
.review-task-copy{min-width:0;display:grid;gap:7px}
.review-task-title{background:none;text-align:left;padding:0;min-height:0;font:inherit;font-size:calc(var(--ap-calendarSize,12px) + 1px);line-height:1.6;font-weight:500;color:var(--ap-ink,#193e56);overflow-wrap:anywhere}
.review-task-title:hover{text-decoration:underline;text-underline-offset:3px}
.review-context,.review-owner small,.completion-date small,.review-status small,.review-deadline small{font-size:10px;line-height:1.6;color:var(--ap-muted,#71808a);overflow-wrap:anywhere}
.review-owner,.completion-date,.review-status,.review-deadline{display:grid;gap:5px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.completion-date{text-align:right}.date-unrecorded{font-size:11px;color:var(--ap-muted,#71808a)}
.responsible-summary{display:flex;gap:22px;flex-wrap:wrap;padding:2px 2px 18px;font-size:11px;color:var(--ap-muted,#71808a)}
.responsible-groups{display:grid;gap:20px}.responsible-heading{padding:18px 25px;display:flex;gap:15px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ap-line,#e0e6ea);background:var(--ap-wash,#f6f8f9)}
.responsible-person{display:flex;align-items:center;gap:12px;min-width:0}.responsible-person h4{font-weight:500;font-size:14px;margin:0;overflow-wrap:anywhere}
.responsible-avatar{width:33px;height:33px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:11px;color:var(--ap-accent,#315b76);border:1px solid var(--ap-line,#dce6ec);background:var(--ap-surface,#fff)}
.responsible-counts{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end;font-size:10px;color:var(--ap-muted,#71808a)}
.responsible-row{display:grid;grid-template-columns:minmax(160px,1fr) 130px 170px;align-items:center;gap:20px;padding:19px 26px;border-bottom:1px solid var(--ap-line,#e0e6ea);border-left:3px solid transparent}
.review-deadline{text-align:right}.review-deadline strong{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.review-panel .review-danger,.review-panel .is-overdue .review-task-title,.review-panel .is-overdue .review-deadline,.review-panel .is-overdue .review-deadline small{color:var(--review-red)}
.responsible-row.is-overdue{border-left-color:var(--review-red);background:color-mix(in srgb,#e13b43 4%,var(--ap-surface,#fff))}
.review-empty{padding:55px 25px;text-align:center;border:1px dashed var(--ap-line,#dce6ec);border-radius:var(--ap-radius,8px);color:var(--ap-muted,#71808a)}
.review-empty svg{width:30px;height:30px;margin-bottom:15px}.review-empty h4{font-weight:400;font-family:var(--ap-headingFont,var(--serif));font-size:24px;color:var(--ap-ink,#193e56);margin:0 0 10px}.review-empty p{font-size:12px;line-height:1.7}
@media(max-width:1000px){#entity-hero{grid-template-columns:1fr}#entity-hero .stats{width:100%}.completion-row{grid-template-columns:27px minmax(130px,1fr) minmax(130px,.8fr);gap:13px}.completion-row .review-owner{grid-column:2}.completion-row .completion-date{grid-column:3;grid-row:1/3}.responsible-row{grid-template-columns:minmax(140px,1fr) 110px 145px;gap:14px}}
@media(max-width:660px){html[data-appearance] .main{padding-top:10px}#entity-hero{row-gap:16px}#entity-hero .page-meta{gap:7px}#entity-hero .page-meta>span,#entity-hero .page-meta time,#entity-hero .page-meta .text-button{font-size:10px}.workspace-top{margin-bottom:10px}.review-heading{padding:21px 18px;gap:15px}.review-metric{padding-left:15px}.review-metric strong{font-size:32px}.review-heading h3{font-size:24px}.review-description{font-size:11px}.completion-row{padding:19px 17px;grid-template-columns:23px minmax(0,1fr);gap:10px 12px}.completion-row .completion-date{grid-row:auto;grid-column:2;text-align:left}.completion-row .review-owner{display:flex;align-items:baseline;gap:8px}.completion-mark{width:23px;height:23px}.review-task-title{font-size:13px}.responsible-heading{padding:16px}.responsible-counts{gap:5px;display:grid}.responsible-row{padding:17px 16px;grid-template-columns:1fr 1fr;gap:12px}.responsible-row .review-task-copy{grid-column:1/-1}.review-status,.review-deadline{font-size:11px}.responsible-person h4{font-size:13px}}


/* Day calendar: switch between the full day and occupied time slots. */
.day-hours-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 24px;background:var(--ap-surface,#fff);border-bottom:1px solid var(--ap-line,#e5ebf0)}
.day-hours-label{font-family:var(--ap-calendarFont,var(--sans));font-size:var(--ap-calendarSize,11px);color:var(--ap-muted,#71808a)}
#day-hours-mode{max-width:100%;min-height:34px;padding:7px 30px 7px 11px;border:var(--ap-border,1px) solid var(--ap-line,#dce5ed);border-radius:var(--ap-smallRadius,5px);background:var(--ap-surface,#fff);color:var(--ap-ink,#193e56);font-family:var(--ap-calendarFont,var(--sans));font-size:var(--ap-calendarSize,11px);cursor:pointer}
.day-hours-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:155px;padding:25px;color:var(--ap-muted,#71808a);font-family:var(--ap-calendarFont,var(--sans));font-size:var(--ap-calendarSize,12px);line-height:1.7}
.day-hours-empty svg{width:25px;height:25px;flex:none}.day-hours-empty p{margin:0}
@media(max-width:660px){.day-hours-toolbar{padding:11px 16px;justify-content:space-between}#day-hours-mode{min-width:0;max-width:calc(100% - 62px);font-size:11px}.day-hours-label{font-size:11px}.day-hours-empty{justify-content:flex-start;padding:24px 18px}}

.profiles-panel{--pf-green:color-mix(in srgb,#13846a 80%,var(--ap-ink,#193e56));--pf-red:color-mix(in srgb,#d33146 82%,var(--ap-ink,#193e56));--pf-amber:color-mix(in srgb,#b67b19 80%,var(--ap-ink,#193e56));--pf-blue:color-mix(in srgb,#397bc0 80%,var(--ap-ink,#193e56));--pf-neutral:var(--ap-muted,#71808a);font-family:var(--ap-contentFont,var(--sans));color:var(--ap-ink,#193e56)}
.profile-tone-green{--pf-tone:var(--pf-green)}.profile-tone-red{--pf-tone:var(--pf-red)}.profile-tone-amber{--pf-tone:var(--pf-amber)}.profile-tone-blue{--pf-tone:var(--pf-blue)}.profile-tone-neutral{--pf-tone:var(--pf-neutral)}
.profile-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.profile-person-card{padding:23px;background:var(--ap-surface,#fff);color:var(--ap-ink,#193e56);border:var(--ap-border,1px) solid var(--ap-line,#dde5eb);border-radius:var(--ap-radius,8px);text-align:left;box-shadow:var(--ap-shadow,none);transition:transform .15s,border-color .15s}
.profile-person-card:hover{border-color:var(--ap-accent,#315b76);transform:translateY(-2px)}
.profile-card-identity{display:flex;align-items:center;gap:12px;min-width:0}.profile-card-identity h4{font-size:15px;font-weight:500;margin:0;overflow-wrap:anywhere}
.profile-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;flex:none;background:var(--ap-wash,#edf3f6);border:1px solid var(--ap-line,#dbe4eb);color:var(--ap-accent,#315b76);font-size:12px;letter-spacing:.02em}.profile-avatar.large{width:64px;height:64px;font-size:20px}
.profile-ring{width:116px;height:116px;flex:none;border-radius:50%;background:conic-gradient(var(--pf-blue) var(--profile-value,0%),var(--ap-line,#e0e8ee) 0);display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;isolation:isolate;gap:4px}
.profile-ring:before{content:'';position:absolute;inset:7px;background:var(--ap-surface,#fff);border-radius:50%;z-index:-1}.profile-ring strong{font-size:27px;font-weight:450;color:var(--ap-ink,#193e56);font-variant-numeric:tabular-nums}.profile-ring small{font-size:9px;color:var(--ap-muted,#71808a)}
.profile-person-card .profile-ring{margin:24px auto 17px}.profile-card-workload{text-align:center;font-size:11px;color:var(--ap-muted,#71808a);line-height:1.5;margin:0 0 20px}
.profile-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--ap-line,#e1e8ee);padding-top:17px}.profile-card-metrics>div{display:grid;gap:6px}.profile-card-metrics strong{font-size:22px;font-weight:450;color:var(--pf-tone);font-variant-numeric:tabular-nums}.profile-card-metrics span{font-size:10px;line-height:1.5;color:var(--ap-muted,#71808a)}
.profile-card-open{display:block;color:var(--ap-accent,#315b76);font-size:10px;text-align:right;margin-top:20px}
.profile-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 17px}.profile-toolbar .text-button{margin-right:auto;color:var(--ap-accent,#315b76);font-size:11px}.profile-toolbar label{font-size:11px;color:var(--ap-muted,#71808a)}
.profile-toolbar select{max-width:310px;min-width:180px;min-height:35px;padding:7px 28px 7px 11px;border:var(--ap-border,1px) solid var(--ap-line,#dce5ed);border-radius:var(--ap-smallRadius,5px);background:var(--ap-surface,#fff);color:var(--ap-ink,#193e56);font-family:var(--ap-formFont,var(--sans));font-size:12px}
.profile-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;background:var(--ap-surface,#fff);border:var(--ap-border,1px) solid var(--ap-line,#dde5eb);border-radius:var(--ap-radius,8px);margin-bottom:18px}
.profile-identity{display:flex;align-items:center;gap:20px;min-width:0}.profile-identity>div{min-width:0}.profile-identity h3{font-family:var(--ap-headingFont,var(--serif));font-size:clamp(24px,2.5vw,34px);font-weight:var(--ap-fontWeight,400);line-height:1.3;margin:0 0 14px;overflow-wrap:anywhere}.profile-facts{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:11px;color:var(--ap-muted,#71808a)}.profile-facts strong{color:var(--ap-ink,#193e56);font-weight:500}
.profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.profile-kpi{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:20px;background:var(--ap-surface,#fff);border:var(--ap-border,1px) solid var(--ap-line,#dde5eb);border-radius:var(--ap-radius,8px);color:var(--ap-ink,#193e56)}
.profile-kpi:hover{border-color:var(--pf-tone)}.profile-kpi-label{font-size:11px;line-height:1.5}.profile-kpi>strong{font-size:34px;line-height:1.15;font-weight:450;color:var(--pf-tone);font-variant-numeric:tabular-nums}.profile-kpi>small{font-size:10px;line-height:1.6;color:var(--ap-muted,#71808a);min-height:32px}
.profile-meter{display:block;margin-top:auto;height:4px;width:100%;border-radius:4px;overflow:hidden;background:var(--ap-line,#e0e8ee)}.profile-meter i{display:block;height:100%;background:var(--pf-tone)}
.profile-details{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin-bottom:20px}.profile-quality,.profile-distribution,.profile-task-section{padding:23px 25px;background:var(--ap-surface,#fff);border:var(--ap-border,1px) solid var(--ap-line,#dde5eb);border-radius:var(--ap-radius,8px)}
.profile-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:20px}.profile-section-heading h4{font-size:14px;font-weight:500;margin:0;line-height:1.5}.profile-section-heading>span{font-size:10px;color:var(--ap-muted,#71808a)}
.profile-secondary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.profile-secondary-metrics>div{display:flex;flex-direction:column;gap:10px;min-width:0}.profile-secondary-metrics span{font-size:10px;line-height:1.6;color:var(--ap-muted,#71808a);min-height:32px}.profile-secondary-metrics strong{font-size:23px;font-weight:450;white-space:nowrap;font-variant-numeric:tabular-nums}.profile-secondary-metrics small{font-size:9px;line-height:1.6;color:var(--ap-muted,#71808a)}
.profile-coverage{font-size:10px;line-height:1.8;padding-top:14px;margin:0;border-top:1px solid var(--ap-line,#e0e8ee);color:var(--ap-muted,#71808a)}
.profile-stacked{display:flex;height:9px;gap:2px;overflow:hidden;border-radius:10px;background:var(--ap-wash,#f2f5f7);margin:7px 0 19px}.profile-stacked>span{background:var(--pf-tone);min-width:0}
.profile-legend{display:grid;gap:2px}.profile-legend-item{display:grid;grid-template-columns:7px minmax(0,1fr) 50px 25px;align-items:center;gap:9px;padding:6px 0;background:transparent;color:var(--ap-ink,#193e56);text-align:left;font-size:10px;line-height:1.5}.profile-legend-item:hover>span{text-decoration:underline;text-underline-offset:3px}.profile-legend-item>i{width:6px;height:6px;background:var(--pf-tone);border-radius:50%}.profile-legend-item>strong{font-weight:500;text-align:right;color:var(--pf-tone);font-variant-numeric:tabular-nums}.profile-legend-item>small{text-align:right;color:var(--ap-muted,#71808a)}
.profile-task-section{scroll-margin-top:15px}.profile-task-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}.profile-task-filters button{font-size:10px;padding:7px 10px;line-height:1.5;color:var(--ap-muted,#71808a);background:var(--ap-surface,#fff);border:1px solid var(--ap-line,#dce5ed);border-radius:var(--ap-smallRadius,5px)}.profile-task-filters button.active{color:var(--ap-onAccent,#fff);border-color:var(--ap-accent,#315b76);background:var(--ap-accent,#315b76)}
.profile-task-row{display:grid;grid-template-columns:minmax(160px,1fr) 175px 220px;align-items:center;gap:20px;border-top:1px solid var(--ap-line,#dde5eb);padding:19px 0}.profile-result{font-size:10px;line-height:1.6;padding:5px 8px;border-radius:var(--ap-smallRadius,4px);color:var(--pf-tone);background:color-mix(in srgb,var(--pf-tone) 9%,var(--ap-surface,#fff));justify-self:start}.profile-task-timing{display:grid;gap:6px;text-align:right;font-size:10px;line-height:1.5;color:var(--ap-ink,#193e56)}.profile-task-timing small{font-size:10px;color:var(--ap-muted,#71808a)}.profile-task-row[data-result=overdue] .review-task-title,.profile-task-row[data-result=overdue] .profile-task-timing>span{color:var(--pf-red)}
.profile-no-tasks{padding:30px 0;text-align:center;font-size:12px;color:var(--ap-muted,#71808a)}.profile-search-note{font-size:9px;line-height:1.6;color:var(--ap-muted,#71808a);margin:15px 0 0}.profile-method{padding:17px 3px;font-size:10px;line-height:1.8;color:var(--ap-muted,#71808a)}.profile-method summary{cursor:pointer;color:var(--ap-accent,#315b76)}.profile-method ul{padding-left:20px;max-width:1000px}.profile-method li{margin:7px 0}
.responsible-counts .profile-link{color:var(--ap-accent,#315b76);font-size:10px;background:transparent;padding:0;min-height:0;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1200px){.profile-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-kpi>small{min-height:0}.profile-details{grid-template-columns:1fr}.profile-task-row{grid-template-columns:minmax(120px,1fr) 160px 185px;gap:13px}}
@media(max-width:660px){.profile-directory{grid-template-columns:1fr}.profile-person-card{padding:22px}.profile-toolbar{gap:10px}.profile-toolbar .text-button{flex-basis:100%;text-align:left;margin-bottom:5px}.profile-toolbar select{max-width:calc(100% - 84px);min-width:0;flex:1}.profile-hero{padding:20px 17px;gap:15px}.profile-identity{align-items:flex-start;gap:12px}.profile-avatar.large{width:35px;height:35px;font-size:11px}.profile-identity h3{font-size:24px}.profile-identity .review-scope{font-size:8px;line-height:1.6;letter-spacing:.07em}.profile-facts{gap:6px 12px;font-size:10px}.profile-hero .profile-ring{width:86px;height:86px}.profile-hero .profile-ring strong{font-size:22px}.profile-hero .profile-ring small{font-size:8px}.profile-kpis{gap:10px}.profile-kpi{padding:16px 13px;gap:10px}.profile-kpi-label{font-size:10px;min-height:30px}.profile-kpi>strong{font-size:29px}.profile-kpi>small{font-size:9px;min-height:30px}.profile-quality,.profile-distribution,.profile-task-section{padding:19px 16px}.profile-secondary-metrics{gap:12px}.profile-secondary-metrics strong{font-size:19px}.profile-secondary-metrics span{font-size:9px}.profile-task-row{grid-template-columns:1fr;gap:11px}.profile-task-timing{text-align:left}.profile-task-filters{gap:5px}.profile-task-filters button{padding:6px 8px}.profile-legend-item{font-size:9px;gap:7px;grid-template-columns:6px minmax(0,1fr) 45px 18px}}


.contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.contact-link{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:7px;color:inherit;text-decoration:none;font-size:12px;overflow-wrap:anywhere}
.contact-link:hover{background:rgba(100,150,160,.12);text-decoration:underline}
.contact-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.contact-link.whatsapp{color:#087c54}
.task-card.overdue .contact-link{color:#fff;border-color:rgba(255,255,255,.5)}
.contact-source{font-size:12px;color:var(--muted);line-height:1.5}
#welcome-panel{margin:22px 0 25px;border:1px solid var(--line,#dce5eb);border-radius:12px;background:var(--ap-surface,#fff);overflow:hidden;color:var(--ap-ink,#193e56)}
#welcome-panel[hidden]{display:none}
.welcome-grid{display:grid;grid-template-columns:1.05fr 1fr;min-width:0}
.welcome-copy{padding:25px 28px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.welcome-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:10px;letter-spacing:.16em;color:var(--muted,#688194)}
.welcome-copy h2{font-family:var(--ap-headingFont,var(--serif));font-weight:400;font-size:clamp(26px,2.5vw,36px);line-height:1.2;margin:16px 0 8px;letter-spacing:-.02em}
.welcome-date{font-size:12px;color:var(--muted,#688194);margin:0 0 22px}
.welcome-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:2px 0 10px}
.welcome-metrics>div{display:flex;flex-direction:column;gap:6px;border-left:2px solid #9bb9b6;padding-left:12px}
.welcome-metrics strong{font-size:28px;font-weight:400;font-variant-numeric:tabular-nums}.welcome-metrics span{font-size:10px;line-height:1.5;color:var(--muted,#688194)}
.welcome-scope{font-size:10px;color:var(--muted,#688194);margin:10px 0 18px}
.welcome-weather{border-top:1px solid var(--line,#dce5eb);padding-top:13px;display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;font-size:11px;line-height:1.6}.welcome-weather small{font-size:10px}.welcome-weather strong{font-weight:500}
.welcome-link{color:inherit;text-decoration:underline;text-underline-offset:3px;font-size:10px;overflow-wrap:anywhere}.welcome-art{margin:0;background:#122f35;color:#fff;display:flex;flex-direction:column;min-width:0}.welcome-art>a{display:block;position:relative;min-height:165px;background:linear-gradient(120deg,#163e47,#587c72);text-decoration:none}.welcome-art img{display:block;width:100%;height:210px;object-fit:contain;background:#102c32}.welcome-art figcaption{padding:14px 20px;display:flex;flex-direction:column;gap:5px;font-size:10px;line-height:1.4}.welcome-art figcaption strong{font-family:var(--serif);font-size:18px;font-weight:400}.welcome-art figcaption .welcome-link{opacity:.7;font-size:9px}.welcome-kicker{font-size:9px;letter-spacing:.14em;opacity:.75}.welcome-art-error{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 20px;min-height:210px;font-size:13px;line-height:1.8;text-align:center}
.welcome-shelf{display:grid;grid-template-columns:1fr 1fr;background:var(--ap-wash,#f4f6f7);border-top:1px solid var(--line,#dce5eb)}.welcome-culture{padding:18px 28px}.welcome-culture+article{border-left:1px solid var(--line,#dce5eb)}.welcome-culture h3{font-family:var(--serif);font-size:19px;font-weight:400;margin:8px 0 3px}.welcome-culture p{font-size:11px;line-height:1.65;margin:7px 0}.welcome-culture .welcome-author{font-size:10px;color:var(--muted,#688194)}.welcome-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:13px 28px;border-top:1px solid var(--line,#dce5eb);font-size:10px}.welcome-bottom>.text-button{margin-left:auto}.welcome-birthday-chip{display:block;text-align:left;padding:5px 8px;border-radius:4px;font-size:10px;line-height:1.4;color:#735112;background:#fff0c8;margin:3px 0;max-width:100%;overflow-wrap:anywhere}.welcome-calendar-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:14px 0;font-size:11px;border-top:1px solid var(--line,#dce5eb);margin-top:14px}.welcome-celebrate{font-size:13px;line-height:1.6;color:#866016}.welcome-dialog{max-width:760px}.welcome-new{display:flex;align-items:end;gap:12px;margin-bottom:20px}.welcome-new>.field{flex:1;min-width:0}.welcome-new>button{margin-bottom:18px}.welcome-projects{border:1px solid var(--line,#dce5eb);border-radius:7px;padding:14px;max-height:190px;overflow:auto;margin:16px 0}.welcome-projects legend{font-size:12px}.welcome-projects .check-label{margin:7px 0;font-size:12px}.welcome-prefs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.welcome-manager-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.welcome-birthday-list{padding:10px 15px;background:var(--ap-wash,#f4f6f7);margin:14px 0;max-height:220px;overflow:auto;font-size:12px}.welcome-dialog summary{cursor:pointer;font-size:13px}.welcome-profile-toolbar{display:flex;gap:16px;margin-bottom:20px;flex-wrap:wrap}
@media(max-width:1050px){.welcome-grid{grid-template-columns:1fr 1fr}.welcome-copy{padding:20px}.welcome-metrics{grid-template-columns:1fr 1fr;gap:16px}.welcome-art img{height:250px}.welcome-culture{padding:16px 20px}}
@media(max-width:650px){.welcome-grid,.welcome-shelf{grid-template-columns:1fr}.welcome-copy{padding:20px}.welcome-copy h2{font-size:28px}.welcome-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.welcome-metrics>div{padding-left:7px}.welcome-metrics strong{font-size:23px}.welcome-metrics span{font-size:9px}.welcome-art img{height:220px}.welcome-culture+article{border-left:0;border-top:1px solid var(--line,#dce5eb)}.welcome-bottom{padding:12px 20px}.welcome-bottom>.text-button{margin-left:0}.welcome-manager-grid,.welcome-prefs{grid-template-columns:1fr}.welcome-new{align-items:stretch;flex-direction:column}.welcome-new>button{align-self:flex-start}.welcome-new>.field{margin-bottom:0}}



.brand-row .brand{
  display:flex;align-items:center;width:164px;height:34.8px;
  flex:none;line-height:0;letter-spacing:0;
}
.aleph-logo{
  display:block;max-width:100%;width:100%;height:auto;object-fit:contain;
  filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen;
  user-select:none;-webkit-user-drag:none;
}
.brand-row .aleph-logo{max-height:34.8px;}
.mobile-brand{width:126px;line-height:0!important;letter-spacing:0;}
.mobile-brand .aleph-logo{width:126px;max-height:29px;}
@media(forced-colors:active){
  .brand-row .brand,.mobile-brand{background:#fff;forced-color-adjust:none;}
  .aleph-logo{filter:none;mix-blend-mode:normal;}
}

.page-meta #entity-back{margin:0;min-height:20px}.page-meta #page-context:empty{display:none}.page-meta time{margin-left:auto}.weekdays span{padding:0 13px 0 0;font-size:10px}.day-number{font-size:12px}.mobile-topbar .mobile-brand{width:116px;flex:none}.mobile-topbar .mobile-brand .aleph-logo{display:block;width:116px;height:auto;max-height:30px;filter:none;mix-blend-mode:multiply}.hero .stat strong{font-weight:400}.hero .entity-logo-slot[data-brand="el-periquete"] img,.hero .entity-logo-slot[data-brand="actualidad-ase"] img,.hero .entity-logo-slot[data-brand="argie-news"] img,.hero .entity-logo-slot[data-brand="entanglemental-news"] img{filter:grayscale(1) invert(1) contrast(3);mix-blend-mode:screen}.hero .entity-logo-slot[data-brand="foreign-dispatch"] img{mix-blend-mode:screen}
@media(max-width:600px){.weekdays span{font-size:8px;padding-right:8px}.day-number{font-size:11px}.page-meta #entity-back .text-button{font-size:9px}}

.entity-logo-editor{margin:22px 0 24px;padding-top:18px;border-top:1px solid #e6ebf0}.logo-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.logo-editor-heading label{font-weight:600;color:#46677e}.logo-editor-heading span{font-size:10px;color:#95a6b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.hero.logo-preview-stage{display:flex;align-items:center;justify-content:center;min-height:138px;margin:0 0 12px;padding:22px;border-radius:7px;box-shadow:none}.logo-preview-stage.hero .entity-logo-slot{max-width:290px;justify-content:center}.logo-editor-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.logo-editor-actions .text-button{font-size:10px;color:#8399a9}.logo-editor-actions .button{font-size:11px}.logo-editor-hint{font-size:10px;color:#9aabb7;line-height:1.6;margin:10px 0 0}.hero .entity-logo-slot[data-brand="custom"] .entity-brand-image{max-width:100%;width:auto;max-height:90px;height:auto;filter:none;mix-blend-mode:normal;object-fit:contain}.logo-preview-stage:after{display:none}.logo-editor-actions button:disabled{opacity:.4;cursor:default}
@media(max-width:600px){.hero .entity-logo-slot[data-brand="custom"] .entity-brand-image{max-height:72px}.logo-editor-actions{gap:12px}.logo-editor-heading span{max-width:50%}}


#login-form,#setup-form,#activation-form,#logout,#nav-personal,#tab-users,#tab-permissions,#admin-users,#admin-permissions,.local-unavailable,#task-assignee {display:none!important}
#task-assignee+small {display:none!important}
.local-juan-task,.local-juan-detail {margin:12px 0 0}.local-juan-detail{padding:0 24px 16px}
.local-notice {border:1px solid var(--line);padding:12px 16px;margin-bottom:16px;font-size:12px;line-height:1.5;background:var(--card);color:var(--ink)}
#local-juan-dialog p {line-height:1.6} #local-juan-title {overflow-wrap:anywhere}

/* ALEPH v7 — compact chrome, full-width workspace, retractable navigation. */
:root{--aleph-side-width:224px}
.sidebar-toggle,.sidebar-rail{display:none}
html .main{max-width:none;padding:12px 20px 18px}
html #entity-hero.hero{grid-template-columns:minmax(160px,.65fr) minmax(0,1.6fr);min-height:0;padding:13px 20px;gap:9px 24px;margin-bottom:12px}
html #entity-hero .page-meta{min-height:16px;gap:5px 14px;line-height:1.4}
html #entity-hero .page-meta>span,html #entity-hero .page-meta time{font-size:10px}
html #entity-hero .hero-identity{min-height:46px;gap:12px}
html #entity-hero .entity-logo-slot,html #entity-hero .entity-logo-slot[data-brand]{height:50px;min-height:0;max-height:50px;width:180px;min-width:0;max-width:100%}
html #entity-hero .entity-brand-image,html #entity-hero .entity-logo-slot img{height:auto;max-height:48px;width:auto;max-width:100%;object-fit:contain}
html #entity-hero .stats{padding:0;margin:0;border:0;gap:0;align-items:center}
html #entity-hero .stat{padding:0 16px;gap:0;min-height:0}
html #entity-hero .stat:first-child{padding-left:0}
html #entity-hero .stat strong{font-size:29px;line-height:1.1}
html #entity-hero .stat-top{font-size:10px;margin-top:4px;white-space:normal}
html #entity-hero h1{font-size:23px}
html .workspace-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 16px;margin:0 0 10px}
html .workspace-top{width:auto;min-width:0;max-width:100%;flex:initial;overflow:hidden}
html .workspace-top .segmented{width:auto;flex-wrap:nowrap;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:1px}
html .workspace-top .segmented button{flex:none;min-height:35px;padding:7px 0 9px;gap:6px;font-size:11px}
html .toolbar{width:auto;flex:none;flex-wrap:nowrap;margin:0;gap:7px}
html .toolbar .hero-actions{margin:0;gap:6px}
html .toolbar .button{min-height:34px;padding:7px 11px;font-size:11px}
html .toolbar .hero-customize{width:34px!important;height:34px!important;min-height:34px!important}
html .toolbar .search{width:155px;min-width:100px}
html .attention-line{margin:0 0 7px}
html .local-notice{padding:8px 12px;margin-bottom:10px;font-size:11px}
/* The map is the primary surface; detail appears only when requested. */
html .red-heading{padding:12px 16px;gap:10px}
html .red-heading .red-eyebrow{display:none}
html .red-heading h3{font-size:23px;line-height:1.2;margin:0 0 4px}
html .red-heading .red-muted{font-size:10px;margin:0;line-height:1.5}
html .red-count{font-size:11px}
html .red-controls{padding:10px 16px 7px;gap:8px;align-items:flex-end}
html .red-field{gap:4px;min-width:110px}
html .red-field>span{font-size:10px}
html .red-panel select,html .red-panel input{height:33px;min-height:33px;padding:6px 9px;line-height:1.4}
html .red-controls .red-field:nth-child(1),html .red-controls .red-field:nth-child(2){flex:.8}
html .red-controls .red-field:nth-child(3){flex:1.5}
html .red-btn{min-height:32px;padding:7px 10px}
html .red-legend{gap:5px;padding:0 16px 9px}
html .red-type{font-size:10px;min-height:25px;padding:3px 8px}
html .red-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:0}
html .red-stage{height:clamp(360px,calc(100dvh - 330px),1000px);min-height:0}
html .red-map{height:100%}
html .red-side{display:none;max-height:clamp(360px,calc(100dvh - 330px),1000px);padding:15px 16px}
html .red-details-open .red-layout{grid-template-columns:minmax(0,1fr) clamp(225px,22vw,290px)}
html .red-details-open .red-side{display:block}
html .red-side-close{display:flex;margin:0 0 16px auto;min-height:28px;padding:4px 8px;font-size:10px}
html .red-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;max-width:620px;margin:auto;padding:65px 30px 36px}
html .red-empty h4{font-size:27px;margin-bottom:12px}
html .red-empty p{font-size:12px;line-height:1.75;max-width:490px;margin-bottom:17px}
html .red-map-tools{top:10px;left:10px;right:10px;gap:5px}
html .red-map-tools .red-detail-toggle{margin-left:auto}
html .red-footer{padding:8px 16px;gap:6px 12px}
html .red-help{padding:9px 16px;font-size:10px}
@media(min-width:801px){
 html .shell{display:grid;grid-template-columns:var(--aleph-side-width) minmax(0,1fr)}
 html .sidebar{display:flex;width:auto;padding:15px 12px 10px;overflow:hidden}
 html .sidebar .brand-row{padding:0 0 16px;gap:9px;min-height:34px}
 html .sidebar .brand-row .brand{width:144px;height:auto;min-width:0}
 html .sidebar .brand-row .aleph-logo{max-height:32px}
 html .sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:6px;flex:none;border:1px solid #ffffff38;border-radius:5px;background:#ffffff0b;color:var(--ap-sideInk,var(--sidebar-fg));cursor:pointer}
 html .sidebar-toggle:hover{background:#ffffff22}
 html .sidebar-toggle svg{width:18px;height:18px}
 html .sidebar .nav-button{padding-top:7px;padding-bottom:7px;min-height:33px}
 html .sidebar .project-nav-button{min-height:29px;padding-top:5px;padding-bottom:5px}
 html .sidebar #nav-all{margin-bottom:10px}
 html .sidebar .sidebar-bottom{padding-top:9px}
 html.sidebar-collapsed{--aleph-side-width:52px}
 html.sidebar-collapsed .sidebar{padding:12px 7px}
 html.sidebar-collapsed .sidebar .brand-row{padding:0;justify-content:center}
 html.sidebar-collapsed .sidebar .brand-row .brand,html.sidebar-collapsed .sidebar .side-content,html.sidebar-collapsed .sidebar .sidebar-bottom{display:none}
 html.sidebar-collapsed .sidebar-toggle svg{transform:rotate(180deg)}
 html.sidebar-collapsed .sidebar-rail{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:20px}
 html .sidebar-rail button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:8px;background:transparent;color:var(--ap-sideInk,var(--sidebar-fg));border-radius:5px}
 html .sidebar-rail button:hover{background:#ffffff18}
 html.sidebar-collapsed .skip-link{left:64px}
 html .skip-link{left:calc(var(--aleph-side-width) + 12px)}
}
@media(min-width:801px) and (max-width:1100px){
 html .workspace-controls{grid-template-columns:minmax(0,1fr)}
 html .toolbar{justify-content:flex-end}
 html .workspace-top .segmented{gap:14px}
 html #entity-hero.hero{grid-template-columns:minmax(130px,.6fr) minmax(0,1.6fr)}
 html #entity-hero .stat{padding:0 10px}
 html #entity-hero .stat strong{font-size:26px}
 html #entity-hero .stat-top{font-size:9px}
}
@media(max-width:800px){
 html .main{padding:10px 12px 14px}
 html #entity-hero.hero{grid-template-columns:minmax(115px,.6fr) minmax(0,1.7fr);padding:12px 14px;gap:8px 14px;margin-bottom:9px}
 html #entity-hero .stat{padding:0 8px}
 html #entity-hero .stat strong{font-size:25px}
 html #entity-hero .stat-top{font-size:9px}
 html .workspace-controls{grid-template-columns:minmax(0,1fr);gap:7px}
 html .workspace-top .segmented{gap:16px}
 html .toolbar{width:100%;justify-content:flex-end;flex-wrap:wrap}
 html .toolbar .search{flex:1;max-width:300px}
 html .sidebar-toggle,html .sidebar-rail{display:none!important}
 html .red-heading{padding:11px 13px}
 html .red-controls{padding:9px 13px 7px}
 html .red-legend{padding:0 13px 9px}
 html .red-stage{height:clamp(350px,55dvh,680px)}
 html .red-details-open .red-layout{grid-template-columns:minmax(0,1fr)}
 html .red-side{border-left:0;border-top:1px solid var(--red-line);max-height:320px}
}
@media(max-width:520px){
 html #entity-hero.hero{grid-template-columns:minmax(0,1fr);gap:10px}
 html #entity-hero .hero-identity{min-height:35px}
 html #entity-hero .entity-logo-slot,html #entity-hero .entity-logo-slot[data-brand]{height:36px;max-height:36px;width:145px}
 html #entity-hero .entity-logo-slot img{max-height:35px}
 html #entity-hero .stats{padding-top:8px;border-top:1px solid var(--ap-headerLine,#ffffff26)}
 html #entity-hero .stat strong{font-size:24px}
 html .red-heading{flex-direction:row;align-items:center}
 html .red-heading h3{font-size:20px}
 html .red-count{max-width:110px;font-size:10px;text-align:right}
 html .red-heading .red-muted{font-size:9px;max-width:260px}
 html .red-controls .red-field:nth-child(1),html .red-controls .red-field:nth-child(2){flex:1 1 calc(50% - 8px)}
 html .red-controls .red-field:nth-child(3){flex:1 1 100%}
 html .red-empty{padding:78px 20px 35px}
 html .red-empty h4{font-size:23px}
}
@media print{html .sidebar-toggle,html .sidebar-rail{display:none!important}html .shell{display:block}html .main{padding:0}html .red-stage{height:500px}}

.excel-intake{width:min(1180px,96vw);max-width:96vw;max-height:94dvh}.excel-intake .dialog-body{max-height:calc(94dvh - 145px);overflow:auto}.excel-intake .dialog-footer{align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.intake-intro{font-size:12px;line-height:1.7;margin:0 0 20px;color:var(--muted)}.intake-mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:15px 0}.excel-intake label.field>span{font-size:11px;font-weight:550;color:var(--ink)}.excel-intake select,.excel-intake input:not([type=checkbox]){width:100%;min-height:36px}.intake-check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:11px;line-height:1.7}.intake-check input{margin-top:4px;flex:none}.intake-subtitle{margin:22px 0 10px;font-size:14px}.intake-sample{max-width:100%;max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:6px;margin:12px 0}.intake-sample:empty{display:none}.intake-sample table{width:100%;border-collapse:collapse;font-size:11px}.intake-sample th{position:sticky;top:0;background:var(--card);z-index:1;text-align:left;font-size:10px;white-space:nowrap}.intake-sample th,.intake-sample td{padding:9px 11px;border-bottom:1px solid var(--line);vertical-align:top;min-width:60px;max-width:350px;overflow-wrap:anywhere}.intake-sample td{white-space:pre-wrap}.intake-preview-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0;font-size:11px}.intake-error{color:#a83d42!important}.intake-total{font-size:11px;color:var(--muted);line-height:1.7}.memory-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;flex-wrap:wrap}.memory-toolbar h3{font-size:22px;font-weight:450}.memory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.memory-card{border:1px solid var(--line);border-radius:7px;background:var(--card);padding:18px;display:flex;flex-direction:column;gap:8px}.memory-card h4{font-size:14px;font-weight:500;line-height:1.6}.memory-card p,.memory-card small{font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.memory-card button{align-self:flex-start;margin-top:auto}.memory-detail{width:min(780px,94vw)}.memory-detail .dialog-body{max-height:70dvh;overflow:auto}.memory-detail .memory-source-grid{display:grid;grid-template-columns:minmax(120px,.5fr) minmax(0,1.5fr);margin-top:20px}.memory-source-grid dt,.memory-source-grid dd{margin:0;padding:10px 12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.memory-source-grid dt{font-weight:550;background:var(--soft)}.memory-notes{white-space:pre-wrap;font-size:12px;line-height:1.8}.import-excel-entry{margin:10px 0 18px}.intake-hint{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0}.memory-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.intake-mapping{grid-template-columns:repeat(2,minmax(0,1fr))}.excel-intake .dialog-body{padding:16px}.excel-intake .dialog-footer{padding:12px 16px}.memory-source-grid{grid-template-columns:1fr!important}.memory-source-grid dt{padding-bottom:4px}.memory-source-grid dd{padding-top:4px}.memory-grid{grid-template-columns:1fr}}

/* ALEPH Atlas · presentation only. Shared graph/data permissions stay in network.js. */
html .red-atlas{--red-ink:#e6eff7;--red-muted:#8cabbc;--red-line:#263746;--red-surface:#0d1925;--red-accent:#6ee7d5;color:var(--red-ink);font-family:var(--sans,Arial,sans-serif);background:#08121c;border:1px solid #253b4b;border-radius:16px;overflow:hidden;box-shadow:0 18px 55px #10223512;color-scheme:dark;isolation:isolate}
html .red-atlas.hidden{display:none}.red-atlas *{box-sizing:border-box}html .red-atlas .red-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:19px 23px 17px;background:#0d1925;border-bottom:1px solid #1b2c3b}html .red-atlas .red-brand{display:flex;align-items:center;gap:14px}html .red-atlas .red-brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#6ee7d5;border:1px solid #39655f;border-radius:12px;background:#142b31;transform:rotate(-7deg)}html .red-atlas .red-brand-mark .red-icon{width:25px;height:25px;transform:rotate(7deg)}html .red-atlas .red-heading .red-eyebrow{display:block;font-size:8px;letter-spacing:.2em;color:#8cbabf;margin:0 0 5px;font-weight:500}html .red-atlas .red-heading h3{font-family:var(--sans,Arial,sans-serif);font-size:24px;font-weight:450;letter-spacing:-.045em;line-height:1.18;margin:0 0 5px;color:#f0f7fc}html .red-atlas .red-muted{font-size:11px;line-height:1.75;color:var(--red-muted);margin:5px 0 14px}html .red-atlas .red-heading .red-muted{font-size:10px;line-height:1.4;margin:0;color:#839eaf}html .red-atlas .red-count{display:flex;gap:25px;white-space:normal;text-align:left;max-width:none}html .red-atlas .red-stat{display:flex;flex-direction:column;gap:3px}html .red-atlas .red-stat strong{font-family:var(--sans,Arial,sans-serif);font-size:25px;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1;color:#dceff8}html .red-atlas .red-stat span{font-size:9px;letter-spacing:.025em;color:#849fb2}
html .red-atlas .red-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;padding:13px 23px 12px;background:#0d1925}html .red-atlas .red-field{display:flex;flex-direction:column;gap:5px;min-width:130px;flex:1;margin:0}html .red-atlas .red-field>span{font-size:9px;font-weight:400;color:#88a3b5;letter-spacing:.025em}html .red-atlas .red-controls .red-field:nth-child(1){flex:1}html .red-atlas .red-controls .red-field:nth-child(2){flex:.85}html .red-atlas .red-controls .red-field:nth-child(3){flex:1.45}html .red-atlas select,html .red-atlas input{width:100%;border:1px solid #2b4051;background:#122230;color:#e1ecf4;border-radius:7px;padding:8px 11px;font-family:inherit;font-size:11px;height:36px;min-height:36px;line-height:1.4;box-shadow:none}html .red-atlas input::placeholder{color:#7e99ac;opacity:1}html .red-atlas input:focus,html .red-atlas select:focus{outline:2px solid #6ee7d570;outline-offset:1px;border-color:#6ee7d5}html .red-atlas .red-actions{display:flex;align-items:center;gap:5px}html .red-atlas .red-btn{background:#122332;color:#c8dce9;border:1px solid #304557;border-radius:7px;padding:8px 11px;min-height:36px;font-family:inherit;font-size:10px;line-height:1.4;font-weight:450;cursor:pointer;transition:background .16s,border-color .16s,color .16s;box-shadow:none}html .red-atlas .red-btn:hover{background:#1a3444;border-color:#61948e;color:#f0fffc}html .red-atlas .red-btn.red-primary{background:#6ee7d5;color:#092b2b;border-color:#6ee7d5;font-weight:600}html .red-atlas .red-btn.red-primary:hover{background:#a2f1e5;border-color:#a2f1e5}html .red-atlas button:focus-visible,html .red-atlas .red-node:focus-visible{outline:2px solid #b1f6e7;outline-offset:4px}html .red-atlas .red-actions .red-btn{border-color:transparent;background:transparent;font-size:10px;padding:8px}html .red-atlas .red-actions .red-btn:hover{background:#173343}
html .red-atlas .red-strip{background:#0d1925;padding:0 23px 13px}html .red-atlas .red-legend{display:flex;gap:6px;flex-wrap:wrap;padding:0}html .red-atlas .red-type{display:inline-flex;align-items:center;gap:7px;border:1px solid #2a3c4c;border-radius:6px;background:#101f2b;color:#a5bfcd;font-size:10px;font-family:inherit;min-height:31px;padding:5px 9px;cursor:pointer;transition:background .16s,border-color .16s}html .red-atlas .red-type:before,html .red-atlas .red-list-node:before{display:none}html .red-atlas .red-type .red-icon{color:var(--node-color);width:14px;height:14px;flex:none}html .red-atlas .red-type small{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#728ea2;font-size:9px;margin-left:2px}html .red-atlas .red-type[aria-pressed=true]{color:#d3e3ed}html .red-atlas .red-type[aria-pressed=false]{opacity:.48;text-decoration:none;background:transparent;border-style:dashed}html .red-atlas .red-type:hover{border-color:var(--node-color);background:#182c3b}html .red-atlas .red-icon{display:block;width:20px;height:20px;flex:none}
html .red-atlas .red-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;border-top:1px solid #263a4a}html .red-atlas.red-details-open .red-layout{grid-template-columns:minmax(0,1fr) 284px}html .red-atlas .red-stage{position:relative;min-width:0;overflow:hidden;height:clamp(460px,calc(100dvh - 345px),1000px);min-height:0;background-color:#08121c;background-image:radial-gradient(ellipse at 53% 48%,#16354477 0%,#08121c00 62%),radial-gradient(#24415088 .8px,transparent .9px);background-size:100% 100%,24px 24px}html .red-atlas .red-stage:before{content:'';pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 100px #050d1588;z-index:0}html .red-atlas .red-map{position:relative;display:block;width:100%;height:100%;touch-action:none;user-select:none;cursor:grab;z-index:0}html .red-atlas .red-map:active{cursor:grabbing}html .red-atlas .red-map:focus-visible{outline:2px solid #6ee7d5;outline-offset:-3px}
html .red-atlas .red-map-top{position:absolute;inset:14px 16px auto;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none}html .red-atlas .red-map-top>*{pointer-events:auto}html .red-atlas .red-layout-switch{display:flex;gap:3px;background:#0c1b28e8;border:1px solid #2c4555;padding:4px;border-radius:9px;box-shadow:0 6px 20px #0002}html .red-atlas .red-mode{font-family:inherit;font-size:10px;line-height:1.4;color:#8eaabb;padding:7px 11px;min-height:30px;border:0;border-radius:5px;background:transparent;cursor:pointer;white-space:nowrap}html .red-atlas .red-mode[aria-pressed=true]{background:#254449;color:#a9f4e6}html .red-atlas .red-mode:hover{color:#e2fff8}html .red-atlas .red-map-actions{display:flex;gap:6px}html .red-atlas .red-map-actions .red-btn{background:#0d1e2bdd;border-color:#2e495b;backdrop-filter:blur(8px);font-size:10px;min-height:39px}html .red-atlas .red-map-tools{position:absolute;top:auto;left:16px;right:auto;bottom:17px;z-index:2;display:flex;flex-direction:column;gap:0;width:41px;background:#0d1f2ce8;border:1px solid #2d4658;border-radius:9px;overflow:hidden;box-shadow:0 6px 22px #0003}html .red-atlas .red-tool{border:0;border-bottom:1px solid #253c4c;background:transparent;color:#b5d1df;font-size:21px;font-weight:300;line-height:1;width:39px;height:35px;min-height:35px;cursor:pointer;font-family:inherit}html .red-atlas .red-tool:hover{background:#22434a;color:#b6ffed}html .red-atlas .red-zoom{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;line-height:1;padding:8px 0;text-align:center;color:#88a9be}html .red-atlas .red-map-bottom{position:absolute;bottom:16px;left:71px;right:16px;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:none;z-index:2}html .red-atlas .red-map-bottom .red-btn{pointer-events:auto;border-color:#253e4f;background:#0a1926de;color:#86a7bb;font-size:9px;min-height:31px;padding:7px 9px}html .red-atlas .red-map-bottom .red-btn:hover{color:#cdf6ee;border-color:#6caeaa}
html .red-atlas .red-edge{stroke-opacity:.27;transition:stroke-opacity .18s,opacity .18s;pointer-events:stroke}html .red-atlas .red-edge.is-lit{stroke-opacity:.92;stroke-width:2}html .red-atlas .red-edge.is-dimmed{opacity:.17}html .red-atlas .red-edge.red-route{stroke:#9fffe3;stroke-opacity:1;stroke-width:2.6;stroke-dasharray:8 6;animation:red-flow 4s linear infinite}html .red-atlas .red-node{cursor:pointer;transition:opacity .18s}html .red-atlas .red-node .red-halo{opacity:.6;transition:opacity .2s}html .red-atlas .red-node .red-orbit-ring{opacity:0;pointer-events:none}html .red-atlas .red-node .red-node-core{transition:fill .18s,stroke-width .18s}html .red-atlas .red-node.is-lit .red-halo{opacity:1}html .red-atlas .red-node.is-lit .red-node-core{fill:#19323f;stroke-width:2.1}html .red-atlas .red-node.selected .red-node-core{fill:#25434b;stroke-width:2.5}html .red-atlas .red-node.selected .red-orbit-ring{opacity:.72;animation:red-breathe 3s ease-in-out infinite}html .red-atlas .red-node.selected .red-halo{fill-opacity:.15;opacity:1}html .red-atlas .red-node.is-dimmed{opacity:.2}html .red-atlas .red-node .red-label{fill:#dceaf5;font-size:11px;font-family:var(--sans,Arial,sans-serif);font-weight:450;stroke:none;paint-order:normal;pointer-events:none;letter-spacing:.015em}html .red-atlas .red-node-card .red-label,html .red-atlas .red-node-memory .red-label{fill:#99b6c8;font-size:10px}html .red-atlas .red-node .red-caption{transition:opacity .18s;pointer-events:none}html .red-atlas .red-node.hide-caption .red-caption{opacity:0}html .red-atlas .red-node.is-lit .red-caption,html .red-atlas .red-node.selected .red-caption,html .red-atlas .red-node:focus .red-caption{opacity:1}html .red-atlas .red-node:focus{outline:none}html .red-atlas .red-node:focus .red-orbit-ring{opacity:1;stroke:#eafff9;stroke-width:2}html .red-atlas .red-glyph,html .red-atlas .red-badge{pointer-events:none}
html .red-atlas .red-side{display:none;border-left:1px solid #273e4e;padding:18px 19px;max-height:clamp(460px,calc(100dvh - 345px),1000px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#395563 #101e2a;background:#0d1b28;overflow-wrap:anywhere}html .red-atlas.red-details-open .red-side{display:block}html .red-atlas .red-side-close{display:flex;margin:0 0 2px auto;min-height:28px;padding:5px 0 5px 9px;border:0;background:transparent;color:#8aa8bb;font-size:9px}html .red-atlas .red-detail-symbol{width:49px;height:49px;display:grid;place-items:center;border-radius:13px;background:#1a3040;border:1px solid var(--node-color);color:var(--node-color);margin:1px 0 17px}html .red-atlas .red-detail-symbol .red-icon{width:25px;height:25px}html .red-atlas .red-eyebrow{font-size:8px;letter-spacing:.15em;color:#88a8b8;margin:0 0 8px;text-transform:uppercase}html .red-atlas .red-side h4{font-family:var(--sans,Arial,sans-serif);font-size:23px;line-height:1.3;font-weight:400;letter-spacing:-.025em;color:#edf5fa;margin:0 0 17px}html .red-atlas .red-detail-metrics{display:flex;gap:32px;padding:0 0 18px;margin-bottom:15px;border-bottom:1px solid #263c4c}html .red-atlas .red-detail-metrics>div{display:flex;flex-direction:column;gap:3px}html .red-atlas .red-detail-metrics strong{font-size:23px;font-weight:400;font-variant-numeric:tabular-nums;color:#c2e1e7}html .red-atlas .red-detail-metrics span{font-size:9px;color:#8aaabd}html .red-atlas .red-side>.red-primary{width:100%}html .red-atlas .red-side>.red-field{margin-top:18px}html .red-atlas .red-side h5{font-family:inherit;font-size:9px;font-weight:450;text-transform:uppercase;letter-spacing:.08em;color:#7595ab;margin:23px 0 8px}html .red-atlas .red-evidence{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #263a49;border-radius:0;color:#d1e2ed;font-family:inherit;font-size:11px;padding:13px 0;line-height:1.6;cursor:pointer}html .red-atlas .red-evidence .red-icon{color:#80a5b8;width:17px;height:17px;margin-top:2px}html .red-atlas .red-evidence>span:not(.red-evidence-arrow){flex:1;min-width:0}html .red-atlas .red-evidence small{display:block;font-size:9px;color:#7c9bad;margin-top:4px}html .red-atlas .red-evidence-arrow{color:#6ee7d5;font-size:15px}html .red-atlas .red-evidence:hover{color:#9fffe2;text-decoration:none}html .red-atlas .red-list-node{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;color:#c7dce8;font-family:inherit;font-size:11px;padding:10px 0;line-height:1.5;border:0;border-bottom:1px solid #223847;border-radius:0;cursor:pointer;overflow-wrap:anywhere}html .red-atlas .red-list-node>.red-icon{color:var(--node-color);width:17px;height:17px}html .red-atlas .red-list-node>span{flex:1;min-width:0}html .red-atlas .red-list-node small{display:block;margin:3px 0 0;font-size:8px;color:#7898ae}html .red-atlas .red-list-node b{font-size:11px;font-weight:400;color:#87b2c0;font-variant-numeric:tabular-nums}html .red-atlas .red-list-node:hover{color:#a7ffee}html .red-atlas .red-route-text{font-size:10px;line-height:1.6;padding:13px;background:#153637;border:1px solid #365d55;color:#bbf3df;border-radius:8px;margin-top:16px}html .red-atlas .red-route-text small{display:block;color:#71c8b7;font-size:9px;margin-bottom:9px}html .red-atlas .red-route-text span{display:block;border-left:1px solid #4f8a7b;padding:4px 0 4px 12px}
html .red-atlas .red-footer{padding:10px 20px;border-top:1px solid #263a4a;display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;font-size:9px;color:#789bb1;line-height:1.6;background:#0b1925}html .red-atlas .red-footer>span:first-child:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#6ee7d5;margin-right:7px;vertical-align:1px}html .red-atlas .red-help{padding:10px 20px;border-top:1px solid #1d3142;background:#0b1925;color:#829eaf;font-size:10px;line-height:1.9}html .red-atlas .red-help summary{cursor:pointer;color:#98b6c8;font-size:9px}html .red-atlas .red-help p{margin:12px 0;max-width:900px}html .red-atlas .red-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;max-width:620px;margin:auto;padding:60px 25px 70px;text-align:center}html .red-atlas .red-empty-orbit{width:230px;height:125px;margin:0 0 10px;flex:none;opacity:.85}html .red-atlas .red-empty h4{font-family:var(--sans,Arial,sans-serif);font-size:30px;font-weight:350;letter-spacing:-.035em;color:#e3f2f8;margin:0 0 12px}html .red-atlas .red-empty p:not(.red-eyebrow){font-size:11px;color:#8aa9bc;line-height:1.8;margin:0 0 19px;max-width:370px}html .red-atlas .red-empty-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.red-expand-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;margin:auto;padding:0;background:#08121c;color:#e6eff7;border:1px solid #395465;border-radius:15px;overflow:hidden;box-shadow:0 25px 120px #0009}.red-expand-dialog::backdrop{background:#07121ad9;backdrop-filter:blur(8px)}html .red-atlas.red-expanded{height:100%;border:0;border-radius:0;display:flex;flex-direction:column}html .red-atlas.red-expanded .red-heading,html .red-atlas.red-expanded .red-controls,html .red-atlas.red-expanded .red-strip,html .red-atlas.red-expanded .red-footer,html .red-atlas.red-expanded .red-help{flex:none}html .red-atlas.red-expanded .red-layout{flex:1;min-height:0}html .red-atlas.red-expanded .red-stage{height:100%;min-height:0}html .red-atlas.red-expanded .red-side{max-height:100%;min-height:0}
.network-editor-help{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0}.network-editor textarea{min-height:72px;font-size:12px}
@keyframes red-flow{to{stroke-dashoffset:-56}}@keyframes red-breathe{50%{opacity:.25}}
@media(max-width:1100px){html .red-atlas .red-controls .red-actions{flex-basis:100%;justify-content:flex-end;margin-top:-3px}html .red-atlas .red-controls .red-actions .red-btn{min-height:26px;padding:4px 8px}html .red-atlas .red-stage{height:clamp(440px,calc(100dvh - 380px),900px)}html .red-atlas .red-side{max-height:clamp(440px,calc(100dvh - 380px),900px)}html .red-atlas .red-count{gap:17px}}
@media(max-width:800px){html .red-atlas.red-details-open .red-layout{grid-template-columns:minmax(0,1fr)}html .red-atlas .red-side{border-left:0;border-top:1px solid #2b4252;max-height:340px}html .red-atlas .red-heading{padding:17px;gap:16px}html .red-atlas .red-brand-mark{display:none}html .red-atlas .red-controls{padding:12px 17px}html .red-atlas .red-strip{padding:0 17px 12px}html .red-atlas .red-type{min-height:35px}html .red-atlas .red-stage{height:490px}html .red-atlas.red-expanded .red-layout{overflow:auto;display:block}html .red-atlas.red-expanded .red-stage{height:100%;min-height:380px}html .red-atlas.red-expanded.red-details-open .red-stage{height:60dvh}html .red-atlas.red-expanded .red-side{max-height:none}html .red-atlas .red-gesture-hint{display:none}}
@media(max-width:520px){html .red-atlas .red-heading{gap:12px;align-items:center;flex-direction:row}html .red-atlas .red-heading h3{font-size:20px}html .red-atlas .red-heading .red-muted{font-size:9px;max-width:220px}html .red-atlas .red-heading .red-eyebrow{font-size:7px;letter-spacing:.12em}html .red-atlas .red-count{gap:10px}html .red-atlas .red-stat strong{font-size:19px}html .red-atlas .red-stat span{font-size:8px}html .red-atlas .red-stat:nth-child(2){display:none}html .red-atlas .red-controls .red-field:nth-child(1),html .red-atlas .red-controls .red-field:nth-child(2){flex:1 1 calc(50% - 10px);min-width:0}html .red-atlas .red-controls .red-field:nth-child(3){flex:1 1 100%}html .red-atlas .red-type{font-size:9px;padding:5px 7px;gap:5px}html .red-atlas .red-legend{gap:5px}html .red-atlas .red-stage{height:490px}html .red-atlas .red-map-top{inset:11px 11px auto;flex-wrap:wrap;gap:6px}html .red-atlas .red-mode{padding:8px;min-height:34px}html .red-atlas .red-map-actions{margin-left:auto}html .red-atlas .red-map-actions .red-btn{font-size:9px;padding:8px;min-height:42px}html .red-atlas .red-map-tools{left:11px;bottom:13px;width:44px}html .red-atlas .red-tool{width:42px;height:42px}html .red-atlas .red-map-bottom{left:66px;right:11px;bottom:13px;gap:5px;flex-wrap:wrap;justify-content:flex-end}html .red-atlas .red-map-bottom .red-btn{min-height:36px;font-size:8px}html .red-atlas .red-empty{padding:106px 23px 85px}html .red-atlas .red-empty h4{font-size:27px}html .red-atlas .red-empty-orbit{width:185px;height:103px}html .red-atlas .red-empty .red-eyebrow{font-size:7px}html .red-atlas .red-footer{padding:9px 14px;font-size:8px}.red-expand-dialog{inset:0;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}html .red-atlas.red-expanded .red-heading{padding:11px 14px}html .red-atlas.red-expanded .red-controls{padding:8px 14px}html .red-atlas.red-expanded .red-strip{padding:0 14px 9px}html .red-atlas.red-expanded .red-controls .red-actions{display:none}html .red-atlas.red-expanded .red-help{display:none}}
@media(prefers-reduced-motion:reduce){.red-atlas *{animation:none!important;transition:none!important}}
@media print{html .red-atlas{box-shadow:none}html .red-atlas .red-controls,html .red-atlas .red-map-top,html .red-atlas .red-map-tools,html .red-atlas .red-map-bottom,html .red-atlas .red-help{display:none}html .red-atlas .red-stage{height:650px}}

/* Day palette */
/* ALEPH Atlas · presentation only. Shared graph/data permissions stay in network.js. */
html .red-atlas[data-red-theme="day"]{--red-ink:#234c70;--red-muted:#213b53;--red-line:#c8d7e4;--red-surface:#ffffff;--red-accent:#167d6e;color:var(--red-ink);font-family:var(--sans,Arial,sans-serif);background:#ffffff;border:1px solid #c8d7e4;border-radius:16px;overflow:hidden;box-shadow:0 18px 55px #e7eef512;color-scheme:light;isolation:isolate}
html .red-atlas[data-red-theme="day"].hidden{display:none}.red-atlas[data-red-theme="day"] *{box-sizing:border-box}html .red-atlas[data-red-theme="day"] .red-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:19px 23px 17px;background:#ffffff;border-bottom:1px solid #c8d7e4}html .red-atlas[data-red-theme="day"] .red-brand{display:flex;align-items:center;gap:14px}html .red-atlas[data-red-theme="day"] .red-brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#167d6e;border:1px solid #91a9bb;border-radius:12px;background:#e7eef5;transform:rotate(-7deg)}html .red-atlas[data-red-theme="day"] .red-brand-mark .red-icon{width:25px;height:25px;transform:rotate(7deg)}html .red-atlas[data-red-theme="day"] .red-heading .red-eyebrow{display:block;font-size:8px;letter-spacing:.2em;color:#213b53;margin:0 0 5px;font-weight:500}html .red-atlas[data-red-theme="day"] .red-heading h3{font-family:var(--sans,Arial,sans-serif);font-size:24px;font-weight:450;letter-spacing:-.045em;line-height:1.18;margin:0 0 5px;color:#18527b}html .red-atlas[data-red-theme="day"] .red-muted{font-size:11px;line-height:1.75;color:var(--red-muted);margin:5px 0 14px}html .red-atlas[data-red-theme="day"] .red-heading .red-muted{font-size:10px;line-height:1.4;margin:0;color:#526b81}html .red-atlas[data-red-theme="day"] .red-count{display:flex;gap:25px;white-space:normal;text-align:left;max-width:none}html .red-atlas[data-red-theme="day"] .red-stat{display:flex;flex-direction:column;gap:3px}html .red-atlas[data-red-theme="day"] .red-stat strong{font-family:var(--sans,Arial,sans-serif);font-size:25px;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1;color:#185b7b}html .red-atlas[data-red-theme="day"] .red-stat span{font-size:9px;letter-spacing:.025em;color:#526b81}
html .red-atlas[data-red-theme="day"] .red-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;padding:13px 23px 12px;background:#ffffff}html .red-atlas[data-red-theme="day"] .red-field{display:flex;flex-direction:column;gap:5px;min-width:130px;flex:1;margin:0}html .red-atlas[data-red-theme="day"] .red-field>span{font-size:9px;font-weight:400;color:#526b81;letter-spacing:.025em}html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(1){flex:1}html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(2){flex:.85}html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(3){flex:1.45}html .red-atlas[data-red-theme="day"] select,html .red-atlas[data-red-theme="day"] input{width:100%;border:1px solid #c8d7e4;background:#e7eef5;color:#274f6c;border-radius:7px;padding:8px 11px;font-family:inherit;font-size:11px;height:36px;min-height:36px;line-height:1.4;box-shadow:none}html .red-atlas[data-red-theme="day"] input::placeholder{color:#526b81;opacity:1}html .red-atlas[data-red-theme="day"] input:focus,html .red-atlas[data-red-theme="day"] select:focus{outline:2px solid #167d6e70;outline-offset:1px;border-color:#167d6e}html .red-atlas[data-red-theme="day"] .red-actions{display:flex;align-items:center;gap:5px}html .red-atlas[data-red-theme="day"] .red-btn{background:#e7eef5;color:#2a5069;border:1px solid #91a9bb;border-radius:7px;padding:8px 11px;min-height:36px;font-family:inherit;font-size:10px;line-height:1.4;font-weight:450;cursor:pointer;transition:background .16s,border-color .16s,color .16s;box-shadow:none}html .red-atlas[data-red-theme="day"] .red-btn:hover{background:#c8d7e4;border-color:#526b81;color:#167d69}html .red-atlas[data-red-theme="day"] .red-btn.red-primary{background:#167d6e;color:#ffffff;border-color:#167d6e;font-weight:600}html .red-atlas[data-red-theme="day"] .red-btn.red-primary:hover{background:#167d6d;border-color:#167d6d}html .red-atlas[data-red-theme="day"] button:focus-visible,html .red-atlas[data-red-theme="day"] .red-node:focus-visible{outline:2px solid #167d67;outline-offset:4px}html .red-atlas[data-red-theme="day"] .red-actions .red-btn{border-color:transparent;background:transparent;font-size:10px;padding:8px}html .red-atlas[data-red-theme="day"] .red-actions .red-btn:hover{background:#c8d7e4}
html .red-atlas[data-red-theme="day"] .red-strip{background:#ffffff;padding:0 23px 13px}html .red-atlas[data-red-theme="day"] .red-legend{display:flex;gap:6px;flex-wrap:wrap;padding:0}html .red-atlas[data-red-theme="day"] .red-type{display:inline-flex;align-items:center;gap:7px;border:1px solid #c8d7e4;border-radius:6px;background:#e7eef5;color:#213b53;font-size:10px;font-family:inherit;min-height:31px;padding:5px 9px;cursor:pointer;transition:background .16s,border-color .16s}html .red-atlas[data-red-theme="day"] .red-type:before,html .red-atlas[data-red-theme="day"] .red-list-node:before{display:none}html .red-atlas[data-red-theme="day"] .red-type .red-icon{color:var(--node-color);width:14px;height:14px;flex:none}html .red-atlas[data-red-theme="day"] .red-type small{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#526b81;font-size:9px;margin-left:2px}html .red-atlas[data-red-theme="day"] .red-type[aria-pressed=true]{color:#2a5168}html .red-atlas[data-red-theme="day"] .red-type[aria-pressed=false]{opacity:.48;text-decoration:none;background:transparent;border-style:dashed}html .red-atlas[data-red-theme="day"] .red-type:hover{border-color:var(--node-color);background:#c8d7e4}html .red-atlas[data-red-theme="day"] .red-icon{display:block;width:20px;height:20px;flex:none}
html .red-atlas[data-red-theme="day"] .red-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;border-top:1px solid #c8d7e4}html .red-atlas[data-red-theme="day"].red-details-open .red-layout{grid-template-columns:minmax(0,1fr) 284px}html .red-atlas[data-red-theme="day"] .red-stage{position:relative;min-width:0;overflow:hidden;height:clamp(460px,calc(100dvh - 345px),1000px);min-height:0;background-color:#ffffff;background-image:radial-gradient(ellipse at 53% 48%,#c8d7e477 0%,#ffffff00 62%),radial-gradient(#c8d7e488 .8px,transparent .9px);background-size:100% 100%,24px 24px}html .red-atlas[data-red-theme="day"] .red-stage:before{content:'';pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 100px #f4f7fb88;z-index:0}html .red-atlas[data-red-theme="day"] .red-map{position:relative;display:block;width:100%;height:100%;touch-action:none;user-select:none;cursor:grab;z-index:0}html .red-atlas[data-red-theme="day"] .red-map:active{cursor:grabbing}html .red-atlas[data-red-theme="day"] .red-map:focus-visible{outline:2px solid #167d6e;outline-offset:-3px}
html .red-atlas[data-red-theme="day"] .red-map-top{position:absolute;inset:14px 16px auto;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none}html .red-atlas[data-red-theme="day"] .red-map-top>*{pointer-events:auto}html .red-atlas[data-red-theme="day"] .red-layout-switch{display:flex;gap:3px;background:#ffffffe8;border:1px solid #91a9bb;padding:4px;border-radius:9px;box-shadow:0 6px 20px #f4f7fb22}html .red-atlas[data-red-theme="day"] .red-mode{font-family:inherit;font-size:10px;line-height:1.4;color:#213b53;padding:7px 11px;min-height:30px;border:0;border-radius:5px;background:transparent;cursor:pointer;white-space:nowrap}html .red-atlas[data-red-theme="day"] .red-mode[aria-pressed=true]{background:#c8d7e4;color:#167d6a}html .red-atlas[data-red-theme="day"] .red-mode:hover{color:#167d64}html .red-atlas[data-red-theme="day"] .red-map-actions{display:flex;gap:6px}html .red-atlas[data-red-theme="day"] .red-map-actions .red-btn{background:#e7eef5dd;border-color:#91a9bb;backdrop-filter:blur(8px);font-size:10px;min-height:39px}html .red-atlas[data-red-theme="day"] .red-map-tools{position:absolute;top:auto;left:16px;right:auto;bottom:17px;z-index:2;display:flex;flex-direction:column;gap:0;width:41px;background:#e7eef5e8;border:1px solid #91a9bb;border-radius:9px;overflow:hidden;box-shadow:0 6px 22px #f4f7fb33}html .red-atlas[data-red-theme="day"] .red-tool{border:0;border-bottom:1px solid #c8d7e4;background:transparent;color:#2c5367;font-size:21px;font-weight:300;line-height:1;width:39px;height:35px;min-height:35px;cursor:pointer;font-family:inherit}html .red-atlas[data-red-theme="day"] .red-tool:hover{background:#c8d7e4;color:#167d64}html .red-atlas[data-red-theme="day"] .red-zoom{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;line-height:1;padding:8px 0;text-align:center;color:#526b81}html .red-atlas[data-red-theme="day"] .red-map-bottom{position:absolute;bottom:16px;left:71px;right:16px;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;pointer-events:none;z-index:2}html .red-atlas[data-red-theme="day"] .red-map-bottom .red-btn{pointer-events:auto;border-color:#c8d7e4;background:#ffffffde;color:#526b81;font-size:9px;min-height:31px;padding:7px 9px}html .red-atlas[data-red-theme="day"] .red-map-bottom .red-btn:hover{color:#167d69;border-color:#526b81}
html .red-atlas[data-red-theme="day"] .red-edge{stroke-opacity:.27;transition:stroke-opacity .18s,opacity .18s;pointer-events:stroke}html .red-atlas[data-red-theme="day"] .red-edge.is-lit{stroke-opacity:.92;stroke-width:2}html .red-atlas[data-red-theme="day"] .red-edge.is-dimmed{opacity:.17}html .red-atlas[data-red-theme="day"] .red-edge.red-route{stroke:#167d5f;stroke-opacity:1;stroke-width:2.6;stroke-dasharray:8 6;animation:red-flow 4s linear infinite}html .red-atlas[data-red-theme="day"] .red-node{cursor:pointer;transition:opacity .18s}html .red-atlas[data-red-theme="day"] .red-node .red-halo{opacity:.6;transition:opacity .2s}html .red-atlas[data-red-theme="day"] .red-node .red-orbit-ring{opacity:0;pointer-events:none}html .red-atlas[data-red-theme="day"] .red-node .red-node-core{transition:fill .18s,stroke-width .18s}html .red-atlas[data-red-theme="day"] .red-node.is-lit .red-halo{opacity:1}html .red-atlas[data-red-theme="day"] .red-node.is-lit .red-node-core{fill:#c8d7e4;stroke-width:2.1}html .red-atlas[data-red-theme="day"] .red-node.selected .red-node-core{fill:#c8d7e4;stroke-width:2.5}html .red-atlas[data-red-theme="day"] .red-node.selected .red-orbit-ring{opacity:.72;animation:red-breathe 3s ease-in-out infinite}html .red-atlas[data-red-theme="day"] .red-node.selected .red-halo{fill-opacity:.15;opacity:1}html .red-atlas[data-red-theme="day"] .red-node.is-dimmed{opacity:.2}html .red-atlas[data-red-theme="day"] .red-node .red-label{fill:#204e73;font-size:11px;font-family:var(--sans,Arial,sans-serif);font-weight:450;stroke:none;paint-order:normal;pointer-events:none;letter-spacing:.015em}html .red-atlas[data-red-theme="day"] .red-node-card .red-label,html .red-atlas[data-red-theme="day"] .red-node-memory .red-label{fill:#213b53;font-size:10px}html .red-atlas[data-red-theme="day"] .red-node .red-caption{transition:opacity .18s;pointer-events:none}html .red-atlas[data-red-theme="day"] .red-node.hide-caption .red-caption{opacity:0}html .red-atlas[data-red-theme="day"] .red-node.is-lit .red-caption,html .red-atlas[data-red-theme="day"] .red-node.selected .red-caption,html .red-atlas[data-red-theme="day"] .red-node:focus .red-caption{opacity:1}html .red-atlas[data-red-theme="day"] .red-node:focus{outline:none}html .red-atlas[data-red-theme="day"] .red-node:focus .red-orbit-ring{opacity:1;stroke:#167d60;stroke-width:2}html .red-atlas[data-red-theme="day"] .red-glyph,html .red-atlas[data-red-theme="day"] .red-badge{pointer-events:none}
html .red-atlas[data-red-theme="day"] .red-side{display:none;border-left:1px solid #c8d7e4;padding:18px 19px;max-height:clamp(460px,calc(100dvh - 345px),1000px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#91a9bb #e7eef5;background:#ffffff;overflow-wrap:anywhere}html .red-atlas[data-red-theme="day"].red-details-open .red-side{display:block}html .red-atlas[data-red-theme="day"] .red-side-close{display:flex;margin:0 0 2px auto;min-height:28px;padding:5px 0 5px 9px;border:0;background:transparent;color:#526b81;font-size:9px}html .red-atlas[data-red-theme="day"] .red-detail-symbol{width:49px;height:49px;display:grid;place-items:center;border-radius:13px;background:#c8d7e4;border:1px solid var(--node-color);color:var(--node-color);margin:1px 0 17px}html .red-atlas[data-red-theme="day"] .red-detail-symbol .red-icon{width:25px;height:25px}html .red-atlas[data-red-theme="day"] .red-eyebrow{font-size:8px;letter-spacing:.15em;color:#526b81;margin:0 0 8px;text-transform:uppercase}html .red-atlas[data-red-theme="day"] .red-side h4{font-family:var(--sans,Arial,sans-serif);font-size:23px;line-height:1.3;font-weight:400;letter-spacing:-.025em;color:#205373;margin:0 0 17px}html .red-atlas[data-red-theme="day"] .red-detail-metrics{display:flex;gap:32px;padding:0 0 18px;margin-bottom:15px;border-bottom:1px solid #c8d7e4}html .red-atlas[data-red-theme="day"] .red-detail-metrics>div{display:flex;flex-direction:column;gap:3px}html .red-atlas[data-red-theme="day"] .red-detail-metrics strong{font-size:23px;font-weight:400;font-variant-numeric:tabular-nums;color:#295f6a}html .red-atlas[data-red-theme="day"] .red-detail-metrics span{font-size:9px;color:#213b53}html .red-atlas[data-red-theme="day"] .red-side>.red-primary{width:100%}html .red-atlas[data-red-theme="day"] .red-side>.red-field{margin-top:18px}html .red-atlas[data-red-theme="day"] .red-side h5{font-family:inherit;font-size:9px;font-weight:450;text-transform:uppercase;letter-spacing:.08em;color:#526b81;margin:23px 0 8px}html .red-atlas[data-red-theme="day"] .red-evidence{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #c8d7e4;border-radius:0;color:#29506a;font-family:inherit;font-size:11px;padding:13px 0;line-height:1.6;cursor:pointer}html .red-atlas[data-red-theme="day"] .red-evidence .red-icon{color:#526b81;width:17px;height:17px;margin-top:2px}html .red-atlas[data-red-theme="day"] .red-evidence>span:not(.red-evidence-arrow){flex:1;min-width:0}html .red-atlas[data-red-theme="day"] .red-evidence small{display:block;font-size:9px;color:#526b81;margin-top:4px}html .red-atlas[data-red-theme="day"] .red-evidence-arrow{color:#167d6e;font-size:15px}html .red-atlas[data-red-theme="day"] .red-evidence:hover{color:#167d5e;text-decoration:none}html .red-atlas[data-red-theme="day"] .red-list-node{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;color:#2b5268;font-family:inherit;font-size:11px;padding:10px 0;line-height:1.5;border:0;border-bottom:1px solid #c8d7e4;border-radius:0;cursor:pointer;overflow-wrap:anywhere}html .red-atlas[data-red-theme="day"] .red-list-node>.red-icon{color:var(--node-color);width:17px;height:17px}html .red-atlas[data-red-theme="day"] .red-list-node>span{flex:1;min-width:0}html .red-atlas[data-red-theme="day"] .red-list-node small{display:block;margin:3px 0 0;font-size:8px;color:#526b81}html .red-atlas[data-red-theme="day"] .red-list-node b{font-size:11px;font-weight:400;color:#213b53;font-variant-numeric:tabular-nums}html .red-atlas[data-red-theme="day"] .red-list-node:hover{color:#167d69}html .red-atlas[data-red-theme="day"] .red-route-text{font-size:10px;line-height:1.6;padding:13px;background:#e7eef5;border:1px solid #91a9bb;color:#167d58;border-radius:8px;margin-top:16px}html .red-atlas[data-red-theme="day"] .red-route-text small{display:block;color:#526b81;font-size:9px;margin-bottom:9px}html .red-atlas[data-red-theme="day"] .red-route-text span{display:block;border-left:1px solid #526b81;padding:4px 0 4px 12px}
html .red-atlas[data-red-theme="day"] .red-footer{padding:10px 20px;border-top:1px solid #c8d7e4;display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;font-size:9px;color:#526b81;line-height:1.6;background:#ffffff}html .red-atlas[data-red-theme="day"] .red-footer>span:first-child:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#167d6e;margin-right:7px;vertical-align:1px}html .red-atlas[data-red-theme="day"] .red-help{padding:10px 20px;border-top:1px solid #c8d7e4;background:#ffffff;color:#526b81;font-size:10px;line-height:1.9}html .red-atlas[data-red-theme="day"] .red-help summary{cursor:pointer;color:#213b53;font-size:9px}html .red-atlas[data-red-theme="day"] .red-help p{margin:12px 0;max-width:900px}html .red-atlas[data-red-theme="day"] .red-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;max-width:620px;margin:auto;padding:60px 25px 70px;text-align:center}html .red-atlas[data-red-theme="day"] .red-empty-orbit{width:230px;height:125px;margin:0 0 10px;flex:none;opacity:.85}html .red-atlas[data-red-theme="day"] .red-empty h4{font-family:var(--sans,Arial,sans-serif);font-size:30px;font-weight:350;letter-spacing:-.035em;color:#1d5c76;margin:0 0 12px}html .red-atlas[data-red-theme="day"] .red-empty p:not(.red-eyebrow){font-size:11px;color:#526b81;line-height:1.8;margin:0 0 19px;max-width:370px}html .red-atlas[data-red-theme="day"] .red-empty-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.red-expand-dialog[data-red-theme="day"]{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;margin:auto;padding:0;background:#ffffff;color:#234c70;border:1px solid #91a9bb;border-radius:15px;overflow:hidden;box-shadow:0 25px 120px #f4f7fb99}.red-expand-dialog[data-red-theme="day"]::backdrop{background:#f4f7fbd9;backdrop-filter:blur(8px)}html .red-atlas[data-red-theme="day"].red-expanded{height:100%;border:0;border-radius:0;display:flex;flex-direction:column}html .red-atlas[data-red-theme="day"].red-expanded .red-heading,html .red-atlas[data-red-theme="day"].red-expanded .red-controls,html .red-atlas[data-red-theme="day"].red-expanded .red-strip,html .red-atlas[data-red-theme="day"].red-expanded .red-footer,html .red-atlas[data-red-theme="day"].red-expanded .red-help{flex:none}html .red-atlas[data-red-theme="day"].red-expanded .red-layout{flex:1;min-height:0}html .red-atlas[data-red-theme="day"].red-expanded .red-stage{height:100%;min-height:0}html .red-atlas[data-red-theme="day"].red-expanded .red-side{max-height:100%;min-height:0}
@keyframes red-flow{to{stroke-dashoffset:-56}}@keyframes red-breathe{50%{opacity:.25}}
@media(max-width:1100px){html .red-atlas[data-red-theme="day"] .red-controls .red-actions{flex-basis:100%;justify-content:flex-end;margin-top:-3px}html .red-atlas[data-red-theme="day"] .red-controls .red-actions .red-btn{min-height:26px;padding:4px 8px}html .red-atlas[data-red-theme="day"] .red-stage{height:clamp(440px,calc(100dvh - 380px),900px)}html .red-atlas[data-red-theme="day"] .red-side{max-height:clamp(440px,calc(100dvh - 380px),900px)}html .red-atlas[data-red-theme="day"] .red-count{gap:17px}}
@media(max-width:800px){html .red-atlas[data-red-theme="day"].red-details-open .red-layout{grid-template-columns:minmax(0,1fr)}html .red-atlas[data-red-theme="day"] .red-side{border-left:0;border-top:1px solid #c8d7e4;max-height:340px}html .red-atlas[data-red-theme="day"] .red-heading{padding:17px;gap:16px}html .red-atlas[data-red-theme="day"] .red-brand-mark{display:none}html .red-atlas[data-red-theme="day"] .red-controls{padding:12px 17px}html .red-atlas[data-red-theme="day"] .red-strip{padding:0 17px 12px}html .red-atlas[data-red-theme="day"] .red-type{min-height:35px}html .red-atlas[data-red-theme="day"] .red-stage{height:490px}html .red-atlas[data-red-theme="day"].red-expanded .red-layout{overflow:auto;display:block}html .red-atlas[data-red-theme="day"].red-expanded .red-stage{height:100%;min-height:380px}html .red-atlas[data-red-theme="day"].red-expanded.red-details-open .red-stage{height:60dvh}html .red-atlas[data-red-theme="day"].red-expanded .red-side{max-height:none}html .red-atlas[data-red-theme="day"] .red-gesture-hint{display:none}}
@media(max-width:520px){html .red-atlas[data-red-theme="day"] .red-heading{gap:12px;align-items:center;flex-direction:row}html .red-atlas[data-red-theme="day"] .red-heading h3{font-size:20px}html .red-atlas[data-red-theme="day"] .red-heading .red-muted{font-size:9px;max-width:220px}html .red-atlas[data-red-theme="day"] .red-heading .red-eyebrow{font-size:7px;letter-spacing:.12em}html .red-atlas[data-red-theme="day"] .red-count{gap:10px}html .red-atlas[data-red-theme="day"] .red-stat strong{font-size:19px}html .red-atlas[data-red-theme="day"] .red-stat span{font-size:8px}html .red-atlas[data-red-theme="day"] .red-stat:nth-child(2){display:none}html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(1),html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(2){flex:1 1 calc(50% - 10px);min-width:0}html .red-atlas[data-red-theme="day"] .red-controls .red-field:nth-child(3){flex:1 1 100%}html .red-atlas[data-red-theme="day"] .red-type{font-size:9px;padding:5px 7px;gap:5px}html .red-atlas[data-red-theme="day"] .red-legend{gap:5px}html .red-atlas[data-red-theme="day"] .red-stage{height:490px}html .red-atlas[data-red-theme="day"] .red-map-top{inset:11px 11px auto;flex-wrap:wrap;gap:6px}html .red-atlas[data-red-theme="day"] .red-mode{padding:8px;min-height:34px}html .red-atlas[data-red-theme="day"] .red-map-actions{margin-left:auto}html .red-atlas[data-red-theme="day"] .red-map-actions .red-btn{font-size:9px;padding:8px;min-height:42px}html .red-atlas[data-red-theme="day"] .red-map-tools{left:11px;bottom:13px;width:44px}html .red-atlas[data-red-theme="day"] .red-tool{width:42px;height:42px}html .red-atlas[data-red-theme="day"] .red-map-bottom{left:66px;right:11px;bottom:13px;gap:5px;flex-wrap:wrap;justify-content:flex-end}html .red-atlas[data-red-theme="day"] .red-map-bottom .red-btn{min-height:36px;font-size:8px}html .red-atlas[data-red-theme="day"] .red-empty{padding:106px 23px 85px}html .red-atlas[data-red-theme="day"] .red-empty h4{font-size:27px}html .red-atlas[data-red-theme="day"] .red-empty-orbit{width:185px;height:103px}html .red-atlas[data-red-theme="day"] .red-empty .red-eyebrow{font-size:7px}html .red-atlas[data-red-theme="day"] .red-footer{padding:9px 14px;font-size:8px}.red-expand-dialog[data-red-theme="day"]{inset:0;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}html .red-atlas[data-red-theme="day"].red-expanded .red-heading{padding:11px 14px}html .red-atlas[data-red-theme="day"].red-expanded .red-controls{padding:8px 14px}html .red-atlas[data-red-theme="day"].red-expanded .red-strip{padding:0 14px 9px}html .red-atlas[data-red-theme="day"].red-expanded .red-controls .red-actions{display:none}html .red-atlas[data-red-theme="day"].red-expanded .red-help{display:none}}
@media(prefers-reduced-motion:reduce){.red-atlas[data-red-theme="day"] *{animation:none!important;transition:none!important}}
@media print{html .red-atlas[data-red-theme="day"]{box-shadow:none}html .red-atlas[data-red-theme="day"] .red-controls,html .red-atlas[data-red-theme="day"] .red-map-top,html .red-atlas[data-red-theme="day"] .red-map-tools,html .red-atlas[data-red-theme="day"] .red-map-bottom,html .red-atlas[data-red-theme="day"] .red-help{display:none}html .red-atlas[data-red-theme="day"] .red-stage{height:650px}}

html .red-atlas .red-heading-tools{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:flex-end}
html .red-atlas .red-theme-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--red-line);border-radius:9px;background:var(--red-surface)}
html .red-atlas .red-theme-button{min-height:29px;padding:5px 10px;background:transparent;border-color:transparent;color:var(--red-muted);font-size:11px;white-space:nowrap}
html .red-atlas .red-theme-button.active{background:#233f4c;color:#c7fff3;border-color:#41635f}
html .red-atlas[data-red-theme="day"]{--red-ink:#213b53;--red-muted:#526b81;--red-line:#c8d7e4;--red-surface:#fff;--red-accent:#087c6b;background:#f4f7fb}
html .red-atlas[data-red-theme="day"] .red-theme-button.active{background:#e0f2ed;color:#075d51;border-color:#91c6b8}
html .red-atlas[data-red-theme="day"] .red-node .red-label{fill:#193b56}
html .red-atlas[data-red-theme="day"] .red-node-card .red-label,html .red-atlas[data-red-theme="day"] .red-node-memory .red-label{fill:#526b81}
html .red-atlas[data-red-theme="day"] .red-node.is-lit .red-node-core{fill:#edf5fa}
html .red-atlas[data-red-theme="day"] .red-node.selected .red-node-core{fill:#dcefe9}
html .red-atlas[data-red-theme="day"] .red-edge.red-route{stroke:#087c6b}
html .red-atlas[data-red-theme="day"] .red-stage{background-color:#f4f7fb}
@media(max-width:650px){html .red-atlas .red-heading{flex-wrap:wrap}html .red-atlas .red-heading-tools{gap:12px;justify-content:space-between;flex:1 1 100%}html .red-atlas .red-theme-button{min-height:34px}}

/* Five counters, compact settings and an explicit overdue surface. */
html #entity-hero .stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;min-width:0}
html #entity-hero .stat{padding:0 12px;min-width:0}
html #entity-hero .stat-overdue{background:#b91c2d!important;color:#fff!important;border-radius:7px;padding:8px 12px!important;text-align:left;cursor:pointer;border:0}
html #entity-hero .stat-overdue *{color:#fff!important}
html .sidebar-settings{position:relative}
html .sidebar-settings>summary{list-style:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;color:inherit;opacity:.85}
html .sidebar-settings>summary::-webkit-details-marker{display:none}
html .sidebar-settings>summary:hover,html .sidebar-settings[open]>summary{background:#ffffff20;opacity:1}
html .sidebar-settings>summary svg{width:17px;height:17px}
html .sidebar-settings-content{padding:8px 0 2px;max-height:45dvh;overflow-y:auto}
html .sidebar-settings-content .session-person{padding-bottom:8px;margin:0 0 7px}
html .sidebar .order-companies{display:flex;align-items:center;gap:8px;width:100%;padding:8px 0;background:transparent;text-align:left;color:inherit;font:inherit;font-size:11px}
html .order-companies svg{width:15px;height:15px}
html .side-label .order-quick{color:inherit;background:none;padding:3px;min-height:24px;width:24px;display:inline-flex;align-items:center;justify-content:center}
html .side-label .order-quick svg{width:14px;height:14px}
html .sidebar .project-nav-button.child-project{padding-left:28px;font-size:10px;opacity:.85}
html #company-order-dialog{width:min(510px,calc(100vw - 32px));max-height:85dvh;padding:24px}
html .company-order-list{padding:0;margin:16px 0;list-style:none}
html .company-order-row{display:grid;grid-template-columns:24px 1fr 32px 32px;gap:8px;align-items:center;min-height:43px;border-bottom:1px solid #8093a52b}
html .company-order-row strong{font-size:12px;overflow-wrap:anywhere}
html .company-order-row button{border:1px solid #8093a53b;border-radius:6px;height:29px;min-height:29px;width:30px}
html .company-order-row button:disabled{opacity:.25;cursor:default}
html .order-position{font-size:11px;opacity:.65}
html .company-order-feedback{min-height:20px;font-size:12px}
html #entity-hero .entity-logo-slot[data-brand="auctior"],html #entity-hero .entity-logo-slot[data-brand="gloveral"]{position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:flex-start;width:220px!important;max-width:100%!important;height:64px!important;max-height:64px!important;overflow:visible;opacity:1!important;pointer-events:none}
html .entity-logo-slot .brand-mark{display:block;width:100%;height:100%;overflow:hidden}
html .entity-logo-slot[data-brand="auctior"] .brand-mark{filter:grayscale(1) invert(1) contrast(4);mix-blend-mode:screen}
html .task-card.overdue,html .compact-task.overdue,html .calendar-event.overdue,html .responsible-row.is-overdue,html .profile-task-row[data-result="overdue"]{--accent:#fff!important;--card-bg:#b91c2d!important;--card-ink:#fff!important;background:#b91c2d!important;color:#fff!important;border-color:#b91c2d!important;box-shadow:none!important}
html .task-card.overdue *,html .compact-task.overdue *,html .calendar-event.overdue *,html .responsible-row.is-overdue *,html .profile-task-row[data-result="overdue"] *{color:#fff!important;border-color:#ffffff55!important}
html .task-card.overdue :is(button,.priority,.category-tag,.check-row,.delegation,.task-progress,.task-actions),html .compact-task.overdue button,html .responsible-row.is-overdue button,html .profile-task-row[data-result="overdue"] :is(button,.profile-result){background:transparent!important;color:#fff!important}
html .task-card.overdue .task-progress-bar{background:#ffffff33!important}
html .task-card.overdue .task-progress-bar>span,html .compact-task.overdue .dot{background:#fff!important}
html .task-card.overdue button:hover,html .responsible-row.is-overdue button:hover{background:#ffffff20!important}
html .overdue-label{font-size:10px;font-weight:750;white-space:nowrap}
html .compact-task.overdue{padding:8px;border-radius:6px}
html .calendar-event.overdue{padding:4px 6px;border-radius:4px}
html .responsible-row.is-overdue,html .profile-task-row[data-result="overdue"]{border-radius:7px;padding:12px}
@media(max-width:1100px){html #entity-hero .stat{padding:0 8px}html #entity-hero.hero{grid-template-columns:minmax(150px,.65fr) minmax(0,2fr)}}
@media(max-width:650px){html #entity-hero.hero{grid-template-columns:1fr!important}html #entity-hero .stats{grid-column:1/-1!important}html #entity-hero .stat{padding:4px 6px}html #entity-hero .stat strong{font-size:23px!important}html #entity-hero .stat-top{font-size:9px!important}html #entity-hero .stat-overdue{padding:7px 6px!important}}

html #entity-hero .hero-identity:has(.brand-mark) .hero-copy{display:none}
html .task-card.overdue :is(.objective,.activity-chip,.view-only,.next-action,.task-bottom){background:transparent!important;color:#fff!important}


/* Original uploaded PNG, no crop, recoloring or added background. */
html body .sidebar .brand .aleph-logo,html body .mobile-topbar .mobile-brand .aleph-logo,html body .auth-brand .aleph-logo{filter:none!important;mix-blend-mode:normal!important;object-fit:contain;width:146px!important;max-width:100%!important;height:auto!important;max-height:40px!important}
html[data-sidebar-tone="dark"] body .sidebar .brand .aleph-logo,html[data-sidebar-tone="dark"] body .mobile-topbar .mobile-brand .aleph-logo{filter:none!important;mix-blend-mode:normal!important}
html body #entity-hero .entity-logo-slot[data-brand="aleph"] img{filter:none!important;mix-blend-mode:normal!important;position:static!important;transform:none!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:52px!important}
html body .auth-brand .aleph-logo{width:220px!important;max-height:64px!important}




/* Frame the supplied transparent logo without altering its image pixels. */
html body .sidebar .brand-row{position:relative!important;justify-content:center!important;align-items:center!important;min-height:82px!important;padding:0 0 16px!important}
html body .sidebar .brand{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:76px!important;height:66px!important;flex:none!important;margin:0 auto!important;overflow:hidden!important;border-radius:8px;line-height:0!important;background:var(--brand,#123d61)}
html[data-sidebar-tone="dark"] body .sidebar .brand{background:transparent}
html body .sidebar .brand .aleph-logo{position:static!important;display:block!important;width:64px!important;height:auto!important;max-width:64px!important;max-height:60px!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important;object-fit:contain!important}
html body .sidebar .brand-row .sidebar-toggle,html body .sidebar .brand-row>.mobile-menu{position:absolute;right:0;top:17px}
html body #entity-hero .entity-logo-slot[data-brand="aleph"]{display:flex!important;align-items:center!important;justify-content:center!important;width:220px!important;max-width:100%!important;height:64px!important;max-height:64px!important;overflow:hidden!important}
html body #entity-hero .entity-logo-slot[data-brand="aleph"] img{display:block!important;position:static!important;width:220px!important;max-width:100%!important;height:auto!important;max-height:64px!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important;object-fit:contain!important;object-position:center!important}
html body .mobile-topbar .mobile-brand{width:126px!important;background:var(--brand,#123d61);border-radius:5px;padding:5px}
html body .mobile-topbar .mobile-brand .aleph-logo{width:116px!important;max-width:100%!important;max-height:none!important;height:auto!important;filter:none!important;mix-blend-mode:normal!important}
html body .auth-brand{background:#123d61;padding:18px;border-radius:8px}
html body .auth-brand .aleph-logo{width:220px!important;height:auto!important;max-height:none!important;filter:none!important;mix-blend-mode:normal!important}
@media(min-width:801px){html.sidebar-collapsed body .sidebar .brand-row{min-height:32px!important;padding:0!important}html.sidebar-collapsed body .sidebar .brand-row .brand{display:none!important}html.sidebar-collapsed body .sidebar .brand-row .sidebar-toggle{position:static}}


/* ALEPH sidebar: white triangle on a transparent plate; editable petroleum default. */
html body #sidebar.sidebar .brand{background:transparent!important}
html body #sidebar.sidebar .brand .aleph-logo{filter:brightness(0) invert(1)!important;mix-blend-mode:normal!important}
html:not([data-appearance]) body #sidebar.sidebar{background:#123e49;color:#fff}
html:not([data-appearance]) body #sidebar.sidebar .nav-button,
html:not([data-appearance]) body #sidebar.sidebar .side-label,
html:not([data-appearance]) body #sidebar.sidebar .sidebar-toggle{color:#b8c5c8}
html:not([data-appearance]) body #sidebar.sidebar .nav-button:hover,
html:not([data-appearance]) body #sidebar.sidebar .nav-button.active{background:#254d58;color:#fff}
html[data-appearance] body #sidebar.sidebar .nav-button.active:before{background:var(--ap-sideInk)}


.agenda-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}.agenda-types{display:flex;flex-wrap:wrap;gap:5px}.agenda-types button{padding:9px 12px;border-radius:6px;background:var(--ap-surface,#fff);border:1px solid var(--ap-line,#dfe7ed);color:var(--ap-ink,#183e56);font:500 11px var(--sans)}.agenda-types button.active{background:var(--brand,#123d61);color:#fff;border-color:transparent}.agenda-order{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.agenda-order select{max-width:235px;padding:8px;border:1px solid #dfe7ed;border-radius:6px;background:var(--ap-surface,#fff);color:var(--ap-ink,#183e56)}
.agenda-badge{display:inline-flex;align-items:center;align-self:flex-start;width:fit-content;padding:3px 6px;border-radius:4px;font:600 9px/1.4 var(--sans);letter-spacing:.03em;white-space:nowrap;background:#eaf2fc;color:#24568a}.agenda-badge[data-type=payment]{background:#fff1d6;color:#805709}.agenda-badge[data-type=meeting]{background:#eee9ff;color:#67409a}.compact-task-main .agenda-badge{margin-bottom:4px}.task-heading{flex-wrap:wrap;gap:7px}.calendar-event .agenda-badge{font-size:8px;padding:1px 3px;flex-shrink:0}.calendar-event{flex-wrap:wrap}.overdue .agenda-badge,.is-overdue .agenda-badge{background:#ffffff25!important;color:white!important}.review-task-copy .agenda-badge{margin-bottom:5px}.agenda-create{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.agenda-create button{flex:1;font-size:10px;padding:8px 7px}.agenda-new-label{font-size:10px;color:var(--muted);margin-top:12px}.red-side .agenda-badge{margin:4px 0}
@media(max-width:600px){.agenda-toolbar{align-items:stretch}.agenda-order{width:100%}.agenda-order select{flex:1;max-width:none}.agenda-types button{padding:8px 10px}}

/* ALEPH relationship management */
#crm-panel{--crm-navy:#153d58;--crm-teal:#087f86;--crm-border:#dce5eb;min-width:0}#crm-panel button,#crm-panel input,#crm-panel select,#crm-panel textarea,.crm-dialog input,.crm-dialog select,.crm-dialog textarea{font-family:var(--sans)}
.crm-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;background:linear-gradient(115deg,#123951,#165867);color:#fff;border-radius:10px;margin-bottom:16px}.crm-eyebrow{font-size:9px;letter-spacing:.16em;text-transform:uppercase;opacity:.7;margin:0 0 8px}.crm-hero h2{font-size:27px;font-weight:500;letter-spacing:-.04em;margin:0}.crm-hero p:last-child{font-size:11px;opacity:.75;margin:9px 0 0;line-height:1.6}.crm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.crm-hero .button{background:#fff;color:#174359;border:1px solid #ffffff50;font-size:11px}.crm-hero .button.secondary{background:transparent;color:#fff}.crm-tabs{display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid var(--crm-border);margin-bottom:16px}.crm-tabs button{padding:12px 13px;background:none;color:#6e8797;border-bottom:2px solid transparent;border-radius:0;white-space:nowrap;font-size:11px}.crm-tabs button.active{color:#16445f;border-color:#147b85;font-weight:600}.crm-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:14px 16px;background:var(--ap-surface,#fff);border:1px solid var(--crm-border);border-radius:8px;margin-bottom:18px}.crm-filters label{display:flex;flex-direction:column;gap:5px;font-size:9px;color:#688494}.crm-filters label:first-child{flex:1;min-width:180px}.crm-filters input,.crm-filters select{height:33px;min-width:120px;padding:6px 9px;border:1px solid var(--crm-border);border-radius:5px;background:var(--ap-surface,#fff);color:var(--ap-ink,#19445d);font-size:11px}.crm-filters input[type=search]{min-width:190px}.crm-filters .button{height:33px;min-height:33px;font-size:10px}
.crm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.crm-kpi{background:var(--ap-surface,#fff);border:1px solid var(--crm-border);border-radius:8px;padding:18px 20px;min-width:0}.crm-kpi small{font-size:10px;color:#6f8797}.crm-kpi strong{display:block;font-size:29px;font-weight:500;letter-spacing:-.04em;color:#19485d;margin:8px 0}.crm-kpi p{font-size:10px;color:#7d8f99;line-height:1.6;margin:0}.crm-kpi.danger{border-top:3px solid #bf3450}.crm-kpi.danger strong{color:#b22a45}.crm-kpi.good{border-top:3px solid #128173}.crm-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.crm-box{background:var(--ap-surface,#fff);border:1px solid var(--crm-border);border-radius:8px;padding:20px;margin-bottom:16px;min-width:0}.crm-box h3{font-size:14px;font-weight:600;margin:0 0 6px;color:#1d4b60}.crm-muted{font-size:11px;color:#748998;line-height:1.65}.crm-box-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.crm-box-title h3{margin:0}.crm-box-title .button{font-size:10px}.crm-currency{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f3;padding:12px 0;font-size:12px;gap:10px}.crm-currency strong{color:#1a586a}.crm-money-stack{display:grid;gap:3px;font-size:12px;color:#194b5e}.crm-money-stack:empty:after{content:'—'}.crm-badge{display:inline-flex;padding:4px 7px;border-radius:4px;background:#edf3f7;color:#527387;font-size:9px;line-height:1.4;white-space:nowrap}.crm-badge.teal{background:#e2f3f1;color:#127769}.crm-badge.amber{background:#fff2dd;color:#916419}.crm-badge.red{background:#fce9ed;color:#b0324e}.crm-badge.violet{background:#eeeafb;color:#7352a4}.crm-tags{display:flex;gap:4px;flex-wrap:wrap}.crm-link{padding:0;background:none;color:#175b78;text-align:left;line-height:1.55;font-size:12px;font-weight:500}.crm-link:hover{text-decoration:underline}.crm-table-wrap{border:1px solid var(--crm-border);border-radius:8px;overflow:auto;background:var(--ap-surface,#fff)}.crm-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;min-width:740px}.crm-table th{font-size:9px;color:#647f90;font-weight:500;background:#f1f5f7;white-space:nowrap;padding:12px 15px;border-bottom:1px solid var(--crm-border)}.crm-table td{padding:14px 15px;border-bottom:1px solid #edf1f3;vertical-align:top;color:#3b6075;line-height:1.65}.crm-table tr:last-child td{border-bottom:0}.crm-table tbody tr:hover{background:#f7fafb}.crm-table small{display:block;font-size:10px;color:#8698a3;margin-top:3px}.crm-table td:first-child{min-width:190px;max-width:300px}.crm-empty{text-align:center;padding:46px 25px;background:#ffffff70;border:1px dashed #c9d8e0;border-radius:8px}.crm-empty h3{font-size:18px;font-weight:500;color:#345b70;margin:0 0 9px}.crm-empty p{font-size:12px;color:#7c909f;line-height:1.7;max-width:490px;margin:0 auto 18px}.crm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}.crm-toolbar h3{font-size:15px;font-weight:500;margin:0}.crm-toolbar .button{font-size:11px}.crm-pagebar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:13px;font-size:11px;color:#78909e}.crm-pipeline{display:flex;overflow:auto;gap:12px;align-items:flex-start;padding:2px 1px 18px;scroll-snap-type:x proximity}.crm-stage{flex:0 0 250px;background:#edf2f5;border:1px solid #dee7eb;border-radius:8px;padding:12px;scroll-snap-align:start;min-height:280px}.crm-stage-head{display:flex;justify-content:space-between;font-size:11px;color:#2d5267;margin-bottom:8px}.crm-stage-head strong{font-weight:600}.crm-stage-count{background:#dbe7ed;border-radius:4px;min-width:21px;text-align:center}.crm-stage-values{font-size:10px;color:#678492;min-height:26px;margin-bottom:9px}.crm-deal{background:#fff;border:1px solid #dce7ec;border-radius:7px;padding:15px 13px;margin-bottom:10px;box-shadow:0 2px 4px #16364d04}.crm-deal h4{margin:9px 0;font-weight:500;font-size:13px;line-height:1.5}.crm-deal p{font-size:10px;color:#8196a2;line-height:1.6;margin:6px 0}.crm-deal .crm-money{font-size:16px;color:#22576b}.crm-deal-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef2f5;margin-top:12px;padding-top:10px;font-size:10px;color:#6f8b99}.crm-progress{height:4px;background:#e8eef2;border-radius:3px;margin:10px 0}.crm-progress span{display:block;height:100%;background:#148a92;border-radius:3px}.crm-dragover{outline:2px dashed #0d8791}.crm-timeline{display:flex;flex-direction:column;gap:0}.crm-event{position:relative;border-left:1px solid #d6e3ea;padding:0 0 22px 19px;margin-left:5px}.crm-event:before{content:'';position:absolute;top:3px;left:-4px;width:7px;height:7px;border-radius:50%;background:#258998}.crm-event time{font-size:9px;color:#8b9ea9}.crm-event h4{font-size:12px;line-height:1.5;font-weight:500;margin:5px 0;color:#29586d}.crm-event p{font-size:11px;color:#78909f;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0}.crm-alert{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e9eff2;align-items:center}.crm-alert:first-child{border-top:0}.crm-alert p{margin:4px 0 0;font-size:10px;color:#8295a0}.crm-alert strong{font-size:12px;font-weight:500;color:#315d72}.crm-alert .crm-badge{flex-shrink:0}.crm-chart-row{display:grid;grid-template-columns:130px 1fr 45px;gap:12px;align-items:center;font-size:10px;margin:14px 0}.crm-chart-track{height:8px;border-radius:5px;background:#e8f0f3}.crm-chart-track span{display:block;background:#188793;height:100%;border-radius:5px}.crm-dialog{width:min(880px,calc(100vw - 28px));max-width:880px}.crm-dialog .dialog-body{max-height:73vh;overflow:auto}.crm-dialog .form-grid{gap:14px}.crm-dialog textarea{min-height:88px}.crm-dialog .field small{font-size:10px;line-height:1.5;color:#8296a2}.crm-dialog .crm-readgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.crm-readgrid div{padding:12px 0;border-bottom:1px solid #edf2f5}.crm-readgrid dt{font-size:10px;color:#8094a0}.crm-readgrid dd{margin:6px 0 0;font-size:12px;color:#335d72;white-space:pre-wrap;overflow-wrap:anywhere}.crm-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.crm-detail-head h3{font-size:24px;color:#1b4c62;font-weight:500;margin:7px 0}.crm-detail-head p{font-size:11px;color:#8397a3;margin:0}.crm-detail-actions{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.crm-detail-actions .button{font-size:10px}.crm-section-title{margin:22px 0 12px;font-size:12px;color:#285a70;font-weight:600}.crm-notes{white-space:pre-wrap;font-size:12px;line-height:1.8;color:#648090}.crm-ref-tag{font-size:10px;padding:5px 0;color:#668595}.crm-ref-tag button{font-size:10px;color:inherit}.crm-file-list{display:flex;flex-direction:column;gap:9px}.crm-file-list a{font-size:11px;color:#237087;overflow-wrap:anywhere}.crm-graph{overflow:auto;border:1px solid var(--crm-border);border-radius:8px;background:#f4f8fa;margin-bottom:16px}.crm-graph svg{display:block;min-width:650px;width:100%;height:auto}.crm-graph text{font-family:var(--sans);font-size:11px;fill:#254f64}.crm-graph .crm-node{cursor:pointer}.crm-graph .crm-node:focus{outline:2px solid #177e91}.crm-graph-title{padding:16px 20px 0;font-size:11px;color:#76919f}.crm-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.crm-checks label{font-size:11px;display:flex;align-items:center;gap:8px}.crm-warning{padding:12px 15px;background:#fff6e7;color:#876329;border-radius:6px;font-size:11px;line-height:1.6;margin:12px 0}.crm-import-sample{font-family:monospace;font-size:10px;overflow:auto;white-space:pre-wrap}.crm-settings-pipe{padding:18px;border:1px solid #dce7ee;border-radius:7px;margin-bottom:14px}.crm-settings-stages{display:grid;grid-template-columns:1fr 70px 130px;gap:7px;margin-top:12px}.crm-settings-stages input,.crm-settings-stages select{width:100%;padding:8px;border:1px solid #d6e1e7;border-radius:5px;font-size:11px}.crm-dual{display:flex;align-items:center;gap:7px}.crm-dual input{flex:1;min-width:0}.crm-hidden{display:none!important}
@media(max-width:1000px){.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-grid{grid-template-columns:1fr}.crm-hero{align-items:flex-start;flex-direction:column}.crm-filters label{flex:1;min-width:130px}}
@media(max-width:600px){.crm-hero{padding:20px}.crm-hero h2{font-size:24px}.crm-hero .crm-actions{width:100%}.crm-kpi{padding:15px}.crm-kpi strong{font-size:24px}.crm-kpis{gap:8px}.crm-filters{padding:12px}.crm-dialog .form-grid,.crm-dialog .crm-readgrid{grid-template-columns:1fr}.crm-dialog .dialog-body{padding:17px}.crm-readgrid .full{grid-column:auto}.crm-detail-head{flex-direction:column}.crm-stage{flex-basis:260px}.crm-chart-row{grid-template-columns:95px 1fr 30px}.crm-checks{grid-template-columns:1fr}.crm-settings-stages{grid-template-columns:1fr 55px 95px}.crm-box{padding:16px}.crm-tabs button{padding:12px 10px}}


.main.welcome-active > #entity-hero,.main.welcome-active > #attention-line,.main.welcome-active > .workspace,.main.welcome-active > .backup-strip{display:none!important}
.brand[role=button],.mobile-brand[role=button],#entity-logo-slot[role=button]{cursor:pointer}
.brand[role=button]:focus-visible,.mobile-brand[role=button]:focus-visible,#entity-logo-slot[role=button]:focus-visible{outline:2px solid #5c97b5;outline-offset:5px}
.welcome-entry-actions{display:flex;justify-content:flex-end;margin-bottom:20px}


.welcome-culture-layout{display:grid;grid-template-columns:125px minmax(0,1fr);gap:20px;margin-top:16px;align-items:start}.welcome-culture-content{min-width:0}.welcome-culture h3{margin-top:0;font-size:22px}.welcome-cover{margin:0}.welcome-cover>a{display:block}.welcome-cover img{display:block;width:100%;height:185px;object-fit:contain;background:#fff;border-radius:3px;box-shadow:0 6px 15px #122b401c}.welcome-cover figcaption{margin-top:10px;line-height:1.4}.welcome-cover figcaption a{font-size:9px;color:var(--muted,#688194)}.welcome-ideas-label{display:block;margin-top:17px}.welcome-ideas{padding-left:18px;margin:9px 0 14px;font-size:12px;line-height:1.7}.welcome-ideas li+li{margin-top:9px}.welcome-quote{margin:22px 0 0;border-top:1px solid var(--line,#dce5eb);padding-top:18px}.welcome-quote blockquote{font-family:var(--serif);font-size:21px;line-height:1.5;margin:10px 0 12px;color:var(--ink)}.welcome-quote figcaption a{font-size:10px;font-style:normal;line-height:1.6}.welcome-culture{min-width:0}.welcome-culture-content a,.welcome-quote a{overflow-wrap:anywhere}
@media(min-width:651px) and (max-width:1200px){.welcome-shelf{grid-template-columns:1fr}.welcome-culture+article{border-left:0;border-top:1px solid var(--line,#dce5eb)}}
@media(max-width:450px){.welcome-culture-layout{grid-template-columns:90px minmax(0,1fr);gap:14px}.welcome-cover img{height:138px}.welcome-culture h3{font-size:20px}.welcome-ideas{font-size:11px}.welcome-quote blockquote{font-size:20px}}


.main.welcome-active{max-width:1480px;padding:36px 42px 24px}
#welcome-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:28px;margin:0 0 20px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;color:var(--ap-ink,#193e56)}
#welcome-panel .welcome-entry-actions{position:absolute;right:0;top:0;margin:0;z-index:1}
#welcome-panel .welcome-entry-actions .button{min-height:35px;font-size:11px;border-radius:6px}
#welcome-panel .welcome-grid{display:contents}
#welcome-panel .welcome-copy{grid-column:1/-1;padding:0 0 21px;border-bottom:1px solid var(--line);display:block}
#welcome-panel .welcome-eyebrow{justify-content:flex-start;gap:18px;padding-right:180px;min-height:35px;font-size:9px;letter-spacing:.13em}
#welcome-panel .welcome-eyebrow .text-button{font-size:10px;letter-spacing:0;opacity:.75}
#welcome-panel .welcome-copy h2{font-size:clamp(26px,2.7vw,37px);font-weight:400;margin:19px 0 8px;line-height:1.2;letter-spacing:-.035em}
#welcome-panel .welcome-date{font-size:11px;margin:0;color:var(--muted)}
#welcome-panel .welcome-thought{display:flex;gap:18px;align-items:baseline;flex-wrap:wrap;margin:20px 0 24px}
#welcome-panel .welcome-thought blockquote{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:21px;line-height:1.4;font-weight:400;margin:0;color:var(--ap-ink,#193e56)}
#welcome-panel .welcome-thought figcaption a{font-size:10px;color:var(--muted);text-decoration:none}
#welcome-panel .welcome-metrics{display:flex;gap:34px;margin:0 0 17px;align-items:baseline}
#welcome-panel .welcome-metrics>div{border:0;padding:0;display:flex;flex-direction:row;gap:8px;align-items:baseline}
#welcome-panel .welcome-metrics strong{font-size:25px;font-weight:500;letter-spacing:-.03em}
#welcome-panel .welcome-metrics span{font-size:11px}
#welcome-panel .welcome-weather{padding:0;border:0;gap:6px 11px;font-size:11px;color:var(--muted)}
#welcome-panel .welcome-weather strong{color:var(--ap-ink)}
#welcome-panel .welcome-weather small{font-size:9px}
#welcome-panel .welcome-art{grid-column:1;grid-row:2;align-self:start;border:1px solid var(--line);background:var(--ap-surface,#fff);color:var(--ap-ink);border-radius:9px;overflow:hidden}
#welcome-panel .welcome-art>a{min-height:0;background:#ecebe7;padding:16px}
#welcome-panel .welcome-art img{height:330px;background:transparent;object-fit:contain}
#welcome-panel .welcome-art figcaption{padding:20px 22px;gap:7px;line-height:1.5}
#welcome-panel .welcome-art figcaption strong{font-size:21px}
#welcome-panel .welcome-art figcaption .welcome-link{color:var(--muted);text-decoration:none}
#welcome-panel .welcome-art-error{min-height:90px;padding:20px;font-size:12px;color:#193e56}
#welcome-panel .welcome-shelf{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:22px;border:0;background:transparent}
#welcome-panel .welcome-culture{border:1px solid var(--line);border-radius:9px;padding:21px 23px;background:var(--ap-surface,#fff)}
#welcome-panel .welcome-culture>.welcome-kicker{font-size:10px;font-weight:500;letter-spacing:.08em;opacity:.7}
#welcome-panel .welcome-culture-layout{grid-template-columns:97px minmax(0,1fr);gap:21px;margin-top:15px}
#welcome-panel .welcome-cover img{height:150px;background:transparent;box-shadow:none;border-radius:2px}
#welcome-panel .welcome-cover figcaption{margin:6px 0 0;text-align:center}
#welcome-panel .welcome-cover figcaption a{font-size:8px;text-decoration:none;opacity:.65}
#welcome-panel .welcome-culture h3{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin:0 0 6px}
#welcome-panel .welcome-author{font-size:10px;line-height:1.5;margin:0 0 11px}
#welcome-panel .welcome-ideas-label{display:none}
#welcome-panel .welcome-ideas{list-style:none;padding:0;margin:0 0 10px;font-size:11px;line-height:1.6}
#welcome-panel .welcome-ideas li+li{margin-top:7px}
#welcome-panel .welcome-culture-content>.welcome-link{display:inline-block;margin-top:3px;font-size:10px;text-decoration:none;border-bottom:1px solid #90a7b2;padding-bottom:2px}
#welcome-panel .welcome-bottom{grid-column:1/-1;padding:16px 0 0;border-top:1px solid var(--line);font-size:10px;margin-top:0;color:var(--muted)}
#welcome-panel:not(:has(.welcome-art)) .welcome-shelf{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
#welcome-panel:not(:has(.welcome-shelf)) .welcome-art{grid-column:1/-1;max-width:800px;width:100%}
@media(max-width:1100px){.main.welcome-active{padding:28px 25px}#welcome-panel{gap:22px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}#welcome-panel .welcome-metrics{gap:24px}#welcome-panel .welcome-culture{padding:18px}#welcome-panel .welcome-culture-layout{grid-template-columns:77px minmax(0,1fr);gap:15px}#welcome-panel .welcome-cover img{height:120px}#welcome-panel .welcome-art img{height:290px}}
@media(max-width:800px){#welcome-panel{grid-template-columns:1fr}#welcome-panel .welcome-art{grid-column:1;grid-row:auto}#welcome-panel .welcome-shelf{grid-column:1;grid-row:auto;gap:16px}#welcome-panel .welcome-art img{height:290px}#welcome-panel .welcome-culture-layout{grid-template-columns:100px minmax(0,1fr)}#welcome-panel .welcome-cover img{height:150px}#welcome-panel .welcome-bottom{grid-column:1}#welcome-panel:not(:has(.welcome-art)) .welcome-shelf{grid-template-columns:1fr}}
@media(max-width:500px){.main.welcome-active{padding:21px 18px}#welcome-panel{gap:20px}#welcome-panel .welcome-entry-actions{position:static;grid-column:1;grid-row:2;justify-content:flex-start;margin-top:-7px}#welcome-panel .welcome-eyebrow{padding:0;justify-content:space-between;min-height:0}#welcome-panel .welcome-copy{padding-bottom:17px}#welcome-panel .welcome-copy h2{font-size:30px;max-width:300px;line-height:1.17}#welcome-panel .welcome-thought{gap:5px;flex-direction:column;margin:18px 0}#welcome-panel .welcome-thought blockquote{font-size:20px}#welcome-panel .welcome-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}#welcome-panel .welcome-metrics strong{font-size:24px}#welcome-panel .welcome-metrics span{font-size:10px}#welcome-panel .welcome-culture{padding:18px}#welcome-panel .welcome-culture-layout{grid-template-columns:85px minmax(0,1fr);gap:16px}#welcome-panel .welcome-cover img{height:130px}#welcome-panel .welcome-art img{height:230px}#welcome-panel .welcome-art>a{padding:10px}#welcome-panel .welcome-art figcaption{padding:16px}#welcome-panel .welcome-art figcaption strong{font-size:20px}}

#welcome-panel .welcome-culture[data-kind="book"] .welcome-cover img{object-fit:cover;box-shadow:0 4px 12px #153e5614}

#welcome-panel .welcome-region{font-size:11px;letter-spacing:.07em;font-weight:600;color:var(--ap-ink)}
#welcome-panel .welcome-thought{align-items:flex-start;gap:8px 18px}
#welcome-panel .welcome-thought blockquote{max-width:650px}
#welcome-panel .welcome-thought figcaption{display:flex;flex-direction:column;gap:4px;padding-top:5px;max-width:340px}
#welcome-panel .welcome-quote-ref{font-size:9px;color:var(--muted);line-height:1.45}
#welcome-panel .welcome-culture[data-kind="book"] .welcome-cover img{object-fit:contain}


#welcome-panel .welcome-online-status{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:11px;padding:0 0 8px}
#welcome-panel .welcome-culture-empty{min-height:140px;color:var(--muted)}
#welcome-panel .welcome-source-note{display:block;font-size:9px;line-height:1.45;margin-top:9px;color:var(--muted)}
#welcome-panel .welcome-quote-ref{max-height:4.5em;overflow:auto}
.welcome-history-dialog{width:min(720px,92vw);max-height:85vh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--panel)}
.welcome-history-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.welcome-history-dialog>p{color:var(--muted);font-size:12px;line-height:1.6}.welcome-history-day{padding:12px 0;border-top:1px solid var(--line)}.welcome-history-day h3{font-size:14px}.welcome-history-day p{font-size:12px;line-height:1.5}

.control-profile-actions,.control-actions,.control-card-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.control-area,.control-blocked{padding:4px 9px;border-radius:6px;background:color-mix(in srgb,currentColor 8%,transparent);font-size:11px;font-weight:650}.control-blocked{color:#ad5613}.control-alert-row{padding:18px 0;border-bottom:1px solid #8884;display:grid;gap:8px}.control-team-list{margin-top:22px;border-top:1px solid #8884}.control-team-list p{padding:8px 0}#task-controls{padding:20px 26px;border-top:1px solid #8884}#task-controls small{font-size:11px;line-height:1.5}#controls-alerts,#assistance-open{white-space:nowrap;margin:8px 0;width:100%;justify-content:center;background:#fff;color:#183e56}#filter-panel>.filter-field{min-width:150px}#filter-panel>.filter-field label{display:block;font-size:11px;margin-bottom:6px}#task-dependencies{min-height:100px}#control-team-dialog{width:min(780px,94vw)}@media(max-width:600px){#task-controls{padding:16px}.control-profile-actions{align-items:stretch;flex-direction:column}}

/* ALEPH · CONTRASTE Y CARÁCTER / 2026-10-13
   An intentional two-mode design language applied above the existing interface.
   Data, scope permissions, imports, calculations and application logic are unchanged. */
html[data-aleph-theme="day"]{
 color-scheme:light;
 --ap-paper:#f2f5f9!important;--ap-surface:#ffffff!important;--ap-sidebar:#111d2a!important;
 --ap-ink:#152234!important;--ap-muted:#546477!important;--ap-accent:#1458cf!important;
 --ap-onAccent:#ffffff!important;--ap-sideInk:#f7faff!important;--ap-sideMuted:#a8bfd3!important;
 --ap-line:#cfd9e6!important;--ap-sideLine:#33475a!important;--ap-wash:#edf3f9!important;
 --ap-selected:#dbe9ff!important;--ap-headerInk:#ffffff!important;--ap-headerMuted:#d4e4f1!important;
 --ap-headerLine:#ffffff42!important;--ap-shadow:0 8px 23px #172d4410!important;
 --paper:#f2f5f9!important;--card:#ffffff!important;--ink:#152234!important;--muted:#546477!important;
 --line:#cfd9e6!important;--soft:#eaf0f6!important;--ui-accent:#1458cf!important;
 --aleph-control:#ffffff;--aleph-control-border:#becbdb;--aleph-muted-panel:#eaf0f7;
 --aleph-elevation:0 10px 24px #0a2a4b17;--aleph-hover:#e8f1ff;
}
html[data-aleph-theme="night"]{
 color-scheme:dark;
 --ap-paper:#0b111a!important;--ap-surface:#14202e!important;--ap-sidebar:#080f19!important;
 --ap-ink:#f1f5fc!important;--ap-muted:#b1c2d3!important;--ap-accent:#80b4ff!important;
 --ap-onAccent:#07182b!important;--ap-sideInk:#f7fbff!important;--ap-sideMuted:#b0c3d5!important;
 --ap-line:#35465b!important;--ap-sideLine:#2c4053!important;--ap-wash:#1d2c3c!important;
 --ap-selected:#294361!important;--ap-headerInk:#ffffff!important;--ap-headerMuted:#e0e9f5!important;
 --ap-headerLine:#ffffff4d!important;--ap-shadow:0 10px 28px #0000003e!important;
 --paper:#0b111a!important;--card:#14202e!important;--ink:#f1f5fc!important;--muted:#b1c2d3!important;
 --line:#35465b!important;--soft:#1d2c3c!important;--ui-accent:#80b4ff!important;
 --aleph-control:#1a2a3b;--aleph-control-border:#456078;--aleph-muted-panel:#1c2e41;
 --aleph-elevation:0 14px 28px #0000006a;--aleph-hover:#23405c;
}
html[data-aleph-theme] body,html[data-aleph-theme] .main{background:var(--ap-paper);color:var(--ap-ink)}
html[data-aleph-theme] .main{isolation:isolate}
/* Global switch — part of the actual operating UI, not the preferences drawer. */
.aleph-mode-top{display:flex;align-items:center;justify-content:flex-end;gap:11px;min-height:39px;padding:0 0 9px;margin:0}
.aleph-mode-top-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--ap-muted);text-transform:uppercase}
.aleph-mode-control{display:inline-flex;align-items:center;gap:3px;padding:4px;border-radius:12px;border:1px solid var(--ap-line);background:var(--ap-surface);box-shadow:0 2px 8px #08172b14}
.aleph-mode-control button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border-radius:8px;min-width:84px;min-height:32px;padding:7px 12px;background:transparent;color:var(--ap-muted);font-size:11px;font-weight:650;transition:background .17s,color .17s,box-shadow .17s;white-space:nowrap}
.aleph-mode-control button svg{width:15px;height:15px}
html[data-aleph-theme] .aleph-mode-control button:hover:not([aria-pressed="true"]){background:var(--ap-wash);color:var(--ap-ink)}
html[data-aleph-theme] .aleph-mode-control button[aria-pressed="true"]{background:var(--ap-accent);color:var(--ap-onAccent);box-shadow:0 2px 8px #0002}
/* Navigation with clear focus, strong click targets, and a compact profile bar. */
html[data-aleph-theme] .sidebar{background:var(--ap-sidebar)!important;border-right:1px solid var(--ap-sideLine)!important;box-shadow:5px 0 22px #00000009}
html[data-aleph-theme] .sidebar .side-label,html[data-aleph-theme] .sidebar .side-label *,html[data-aleph-theme] .sidebar .news-toggle{color:var(--ap-sideMuted)!important;font-size:10px;letter-spacing:.11em}
html[data-aleph-theme] .sidebar .nav-button{font-size:12px!important;min-height:40px!important;color:var(--ap-sideMuted)!important;border:1px solid transparent;border-radius:8px!important;padding-left:13px!important;transition:background .18s,border-color .18s,color .18s}
html[data-aleph-theme] .sidebar .project-nav-button{min-height:34px!important;font-size:11px!important}
html[data-aleph-theme] .sidebar .nav-button:hover{background:#ffffff17!important;border-color:#ffffff1c!important;color:#fff!important}
html[data-aleph-theme] .sidebar .nav-button.active,html[data-aleph-theme] .sidebar #nav-all.active,html[data-aleph-theme] .sidebar .project-nav-button.selected{background:#ffffff1d!important;border-color:#ffffff25!important;color:#fff!important;font-weight:700!important}
html[data-aleph-theme] .sidebar .nav-button.active:before{background:#7fb4ff!important;width:3px!important;top:9px!important;bottom:9px!important}
html[data-aleph-theme] .sidebar .nav-count{color:#d9eaff!important}
html[data-aleph-theme] .sidebar-bottom{border-top-color:var(--ap-sideLine)}
html[data-aleph-theme] .sidebar .appearance-launch,html[data-aleph-theme] .sidebar .manage-button,html[data-aleph-theme] .sidebar .icon-button,html[data-aleph-theme] .sidebar .order-companies,html[data-aleph-theme] .sidebar-settings>summary{color:#f4f8fc!important}
html[data-aleph-theme] .sidebar .appearance-launch:hover,html[data-aleph-theme] .sidebar .manage-button:hover,html[data-aleph-theme] .sidebar-settings>summary:hover{background:#ffffff1a!important}
html[data-aleph-theme] .sidebar .session-person strong{color:#fff!important}
html[data-aleph-theme] .sidebar .session-person span{color:var(--ap-sideMuted)!important}
html[data-aleph-theme] .sidebar .sidebar-toggle{border-color:#ffffff40;background:#ffffff14;color:#f6fbff}
html[data-aleph-theme] .sidebar .brand .aleph-logo{filter:brightness(0) invert(1)!important}
html[data-aleph-theme] .mobile-topbar{background:var(--ap-sidebar)!important;border-color:var(--ap-sideLine);color:var(--ap-sideInk)!important}
html[data-aleph-theme] .mobile-topbar .mobile-brand{background:transparent!important}
html[data-aleph-theme] .mobile-topbar .aleph-logo{filter:brightness(0) invert(1)!important}
html[data-aleph-theme] .mobile-topbar .icon-button,html[data-aleph-theme] .mobile-topbar .mobile-menu{color:#fff!important}
/* The corporate banner keeps the company/project brand, yet gains solidity. */
html[data-aleph-theme] #entity-hero.hero{border-radius:12px!important;border:1px solid #ffffff3b!important;box-shadow:0 8px 24px #091a2e2c!important;position:relative;overflow:hidden}
html[data-aleph-theme] #entity-hero.hero:before{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(135deg,#ffffff19 0%,transparent 38%,#00000025 100%);z-index:-1}
html[data-aleph-theme] #entity-hero .stat strong{font-weight:700!important;letter-spacing:-.035em}
html[data-aleph-theme] #entity-hero .stat-top{font-weight:600!important;color:#edf5ff!important}
html[data-aleph-theme] #entity-hero .stat-overdue{background:#c52238!important;box-shadow:0 4px 11px #600a1b4a!important;border:1px solid #ee5a70!important;border-radius:8px}
html[data-aleph-theme] #entity-hero .stat-overdue:hover{background:#a91630!important;transform:translateY(-1px)}
/* A visible affordance for navigation and creating work. */
html[data-aleph-theme] .workspace-controls{border-bottom:1px solid var(--ap-line);padding-bottom:10px}
html[data-aleph-theme] .workspace-top .segmented{gap:5px!important;overflow-x:auto}
html[data-aleph-theme] .workspace-top .segmented button{border:1px solid transparent!important;border-radius:8px!important;min-height:38px!important;padding:8px 12px!important;color:var(--ap-muted)!important;font-weight:620!important;background:transparent!important}
html[data-aleph-theme] .workspace-top .segmented button.active{background:var(--ap-accent)!important;border-color:var(--ap-accent)!important;color:var(--ap-onAccent)!important;box-shadow:0 4px 10px #0000001c!important}
html[data-aleph-theme] .workspace-top .segmented button:hover:not(.active){background:var(--ap-wash)!important;border-color:var(--ap-line)!important;color:var(--ap-ink)!important}
html[data-aleph-theme] .button:not(.danger),html[data-aleph-theme] .hero-actions .button{border-radius:8px;font-weight:700;letter-spacing:.005em}
html[data-aleph-theme] .button:not(.secondary):not(.ghost):not(.danger):hover{filter:brightness(1.11);transform:translateY(-1px);box-shadow:0 6px 15px #00000028}
html[data-aleph-theme] .button.secondary,html[data-aleph-theme] .button.ghost{background:var(--aleph-control)!important;color:var(--ap-ink)!important;border-color:var(--aleph-control-border)!important}
html[data-aleph-theme] .button.secondary:hover,html[data-aleph-theme] .button.ghost:hover{background:var(--aleph-hover)!important;border-color:var(--ap-accent)!important}
html[data-aleph-theme] :is(.search,.filter-toggle,.today-button,.calendar-add,.agenda-order select,.agenda-types button){background:var(--aleph-control)!important;border-color:var(--aleph-control-border)!important;color:var(--ap-ink)!important;border-radius:8px}
html[data-aleph-theme] .filter-toggle:hover,html[data-aleph-theme] .calendar-add:hover{border-color:var(--ap-accent)!important;background:var(--aleph-hover)!important}
html[data-aleph-theme] .filter-panel{box-shadow:var(--ap-shadow)}
html[data-aleph-theme] .filter-field>label{color:var(--ap-ink);font-weight:650}
html[data-aleph-theme] :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]){color-scheme:inherit}
html[data-aleph-theme] :is(.field input,.field select,.field textarea,.filter-field select,.search input,.xl-filters input,.xl-filters select,.crm-filters input,.crm-filters select):focus{outline:2px solid var(--ap-accent);outline-offset:1px;border-color:var(--ap-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ap-accent) 14%,transparent)}
html[data-aleph-theme] :is(.field label,.filter-field label){font-weight:650;color:var(--ap-ink)!important}
html[data-aleph-theme] :is(.field input,.field select,.field textarea,.filter-field select,.search input,.xl-filters input,.xl-filters select){background:var(--aleph-control)!important;color:var(--ap-ink)!important;border-color:var(--ap-line)!important}
/* Task cards are interactive working instruments, with clear structure. */
html[data-aleph-theme] :is(.task-card:not(.overdue),.axis-card,.profile-person-card,.profile-kpi,.crm-kpi,.crm-box,.memory-card,.review-heading,.profile-quality,.profile-distribution,.profile-task-section){background:var(--ap-surface);border:1px solid var(--ap-line);border-radius:12px;box-shadow:var(--ap-shadow);color:var(--ap-ink)}
html[data-aleph-theme] .task-card:not(.overdue){border-top:4px solid var(--accent,var(--ap-accent));padding-top:18px;min-height:254px}
html[data-aleph-theme] .task-card:not(.overdue):before{display:none}
html[data-aleph-theme] .task-card:not(.overdue):hover,html[data-aleph-theme] .axis-card:hover,html[data-aleph-theme] .profile-person-card:hover,html[data-aleph-theme] .crm-deal:hover,html[data-aleph-theme] .memory-card:hover{border-color:var(--ap-accent)!important;box-shadow:var(--aleph-elevation)!important;transform:translateY(-2px)}
html[data-aleph-theme] .task-card:not(.overdue) h3{font-size:17px;font-weight:720;line-height:1.42;color:var(--ap-ink)}
html[data-aleph-theme] .task-card:not(.overdue) :is(.category-tag,.priority,.task-date,.next-action,.delegation,.delegation small,.activity-chip,.progress-value){color:var(--ap-muted)!important}
html[data-aleph-theme] .task-card:not(.overdue) .task-status{padding:6px 11px;font-weight:700;border:1px solid var(--ap-line);border-radius:7px;min-height:32px}
html[data-aleph-theme] .task-card:not(.overdue) .task-status:hover{border-color:var(--ap-accent);background:var(--ap-selected)}
html[data-aleph-theme] .task-card:not(.overdue) :is(.objective,.activity-chip,.person-avatar,.goal-progress,.task-status){background:var(--ap-wash);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme] .task-card:not(.overdue) .task-tools button{color:var(--ap-ink);width:32px;height:33px}
html[data-aleph-theme] .task-card:not(.overdue) .task-tools button:hover{background:var(--ap-selected);color:var(--ap-accent)}
html[data-aleph-theme] .task-card.done:not(.overdue){background:color-mix(in srgb,var(--ap-surface) 93%,#2a9a6d)}
html[data-aleph-theme] .axis-heading h3{font-size:13px;font-weight:800}
html[data-aleph-theme] .axis-company{font-size:12px;font-weight:570;color:var(--ap-ink)}
html[data-aleph-theme] .axis-company:hover{color:var(--ap-accent)}
html[data-aleph-theme] .axis-emblem{width:37px;height:37px;border:1px solid var(--ap-line);border-radius:9px}
html[data-aleph-theme] .agenda-types button{font-weight:700}
html[data-aleph-theme] .agenda-types button.active{background:var(--ap-accent)!important;color:var(--ap-onAccent)!important;border-color:var(--ap-accent)!important}
html[data-aleph-theme] :is(.task-card,.axis-card,.profile-person-card,.crm-deal,.memory-card){transition:transform .17s,box-shadow .17s,border-color .17s}
/* Calendar: strong grid, real selections, clear day vs non-day. */
html[data-aleph-theme] .calendar-panel,html[data-aleph-theme] #excel-panel,html[data-aleph-theme] .completion-list,html[data-aleph-theme] .responsible-group{border:1px solid var(--ap-line);background:var(--ap-surface);border-radius:12px;box-shadow:var(--ap-shadow)}
html[data-aleph-theme] .calendar-heading h3{font-size:22px;font-weight:750}
html[data-aleph-theme] .calendar-year{font-size:13px;font-weight:650;color:var(--ap-muted)}
html[data-aleph-theme] .weekdays span{color:var(--ap-muted);font-weight:800;letter-spacing:.06em}
html[data-aleph-theme] .calendar-day{border-color:var(--ap-line)}
html[data-aleph-theme] .calendar-day:hover:not(.selected){background:var(--ap-wash)}
html[data-aleph-theme] .calendar-day.selected{background:var(--ap-selected)!important;box-shadow:inset 0 0 0 2px var(--ap-accent)}
html[data-aleph-theme] .calendar-day.today .day-number{background:var(--ap-accent);color:var(--ap-onAccent);font-weight:800}
html[data-aleph-theme] .calendar-event:not(.overdue){border-left:3px solid var(--event-color);background:color-mix(in srgb,var(--event-color) 13%,var(--ap-surface));color:var(--ap-ink);font-weight:640}
html[data-aleph-theme] .calendar-event:hover{filter:brightness(1.08)}
html[data-aleph-theme] .day-agenda{background:var(--ap-wash)}
html[data-aleph-theme] .day-agenda h3,html[data-aleph-theme] .compact-task-main strong{color:var(--ap-ink);font-weight:700}
html[data-aleph-theme] .compact-task-main span{color:var(--ap-muted)}
html[data-aleph-theme] .calendar-bottomline,html[data-aleph-theme] .calendar-tray{background:var(--ap-surface)}
html[data-aleph-theme] .period-schedule,html[data-aleph-theme] .schedule-day{background:var(--ap-surface)}
html[data-aleph-theme] .schedule-hour,html[data-aleph-theme] .schedule-allday,html[data-aleph-theme] .schedule-heading{border-color:var(--ap-line)}
html[data-aleph-theme] .schedule-hour .compact-task{background:var(--ap-selected)}
html[data-aleph-theme] .schedule-heading{background:var(--ap-wash)}
/* Excel: more substantial toolbar, clearly differentiated rows. */
html[data-aleph-theme] .xl-heading,html[data-aleph-theme] .xl-filters,html[data-aleph-theme] .xl-sheetbar,html[data-aleph-theme] .xl-metrics{border-color:var(--ap-line)}
html[data-aleph-theme] .xl-metrics>div{padding-top:3px;padding-bottom:3px}
html[data-aleph-theme] .xl-metrics strong{font-weight:780}
html[data-aleph-theme] .xl-table th,html[data-aleph-theme] .xl-summary-table th{background:var(--ap-wash);color:var(--ap-ink)}
html[data-aleph-theme] .xl-table td{color:var(--ap-ink)}
html[data-aleph-theme] .xl-table tbody tr:hover td{background:var(--ap-selected)}
html[data-aleph-theme] .xl-sort{font-weight:700}
html[data-aleph-theme] .xl-status{background:var(--ap-wash);color:var(--ap-ink)}
/* The welcome/reading view must feel as capable as the operative dashboard. */
html[data-aleph-theme] .main.welcome-active{max-width:1530px}
html[data-aleph-theme] #welcome-panel .welcome-copy{border-color:var(--ap-line)}
html[data-aleph-theme] #welcome-panel .welcome-copy h2{font-weight:760;letter-spacing:-.035em;color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-eyebrow,html[data-aleph-theme] #welcome-panel .welcome-region{font-weight:750;color:var(--ap-accent)}
html[data-aleph-theme] #welcome-panel .welcome-thought blockquote{font-size:22px;line-height:1.5;color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-metrics{gap:15px;flex-wrap:wrap}
html[data-aleph-theme] #welcome-panel .welcome-metrics>div{border:1px solid var(--ap-line);border-radius:9px;background:var(--ap-surface);padding:10px 15px;gap:8px;box-shadow:0 4px 10px #0000000c}
html[data-aleph-theme] #welcome-panel .welcome-metrics strong{font-weight:800;color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-art,html[data-aleph-theme] #welcome-panel .welcome-culture{background:var(--ap-surface);border:1px solid var(--ap-line);box-shadow:var(--ap-shadow);border-radius:12px}
html[data-aleph-theme] #welcome-panel .welcome-art>a{background:var(--ap-wash)}
html[data-aleph-theme] #welcome-panel .welcome-art img{background:transparent}
html[data-aleph-theme] #welcome-panel .welcome-art figcaption strong,html[data-aleph-theme] #welcome-panel .welcome-culture h3{font-weight:730;color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-quote blockquote{color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-ideas li{color:var(--ap-ink)}
html[data-aleph-theme] #welcome-panel .welcome-culture-content>.welcome-link{color:var(--ap-accent);font-weight:700;border-color:var(--ap-accent)}
html[data-aleph-theme] #welcome-panel .welcome-art:hover,html[data-aleph-theme] #welcome-panel .welcome-culture:hover{box-shadow:var(--aleph-elevation)}
html[data-aleph-theme] #welcome-panel .welcome-bottom{border-color:var(--ap-line)}
/* Profiles, review, responsible controls */
html[data-aleph-theme] :is(.profile-card-identity h4,.profile-section-heading h4,.review-heading h3,.responsible-person h4){font-weight:750;color:var(--ap-ink)}
html[data-aleph-theme] :is(.review-task-title,.profile-task-timing,.review-status,.profile-legend-item){color:var(--ap-ink)}
html[data-aleph-theme] .responsible-heading{background:var(--ap-wash)}
html[data-aleph-theme] .profile-kpi>strong{font-weight:800}
html[data-aleph-theme] .profile-card-metrics strong{font-weight:780}
html[data-aleph-theme] :is(.profile-task-filters button,.profile-toolbar select,.day-hours-toolbar select){background:var(--ap-surface);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme] .profile-task-filters button.active{background:var(--ap-accent);color:var(--ap-onAccent)}
html[data-aleph-theme] .profile-task-filters button:hover:not(.active){background:var(--ap-selected);color:var(--ap-ink)}
/* CRM: remove old hardcoded pale-blue chrome; maintain the pipeline colors and functions. */
html[data-aleph-theme] #crm-panel{--crm-border:var(--ap-line);--crm-navy:var(--ap-ink);color:var(--ap-ink)}
html[data-aleph-theme] .crm-hero{border:1px solid #ffffff3a;background:linear-gradient(113deg,#10325d,#145c78);border-radius:12px;box-shadow:var(--ap-shadow)}
html[data-aleph-theme] :is(.crm-kpi strong,.crm-box h3,.crm-currency strong,.crm-stage-head,.crm-link,.crm-money-stack,.crm-detail-head h3){color:var(--ap-ink);font-weight:720}
html[data-aleph-theme] :is(.crm-kpi small,.crm-kpi p,.crm-muted,.crm-box p,.crm-table small,.crm-alert p,.crm-deal p,.crm-event p,.crm-event time,.crm-stage-values,.crm-notes,.crm-ref-tag){color:var(--ap-muted)}
html[data-aleph-theme] .crm-tabs{border-color:var(--ap-line)}
html[data-aleph-theme] .crm-tabs button{color:var(--ap-muted);font-weight:650}
html[data-aleph-theme] .crm-tabs button.active{color:var(--ap-accent);border-color:var(--ap-accent);font-weight:800}
html[data-aleph-theme] .crm-tabs button:hover:not(.active){background:var(--ap-wash);color:var(--ap-ink)}
html[data-aleph-theme] .crm-filters{background:var(--ap-surface);border-color:var(--ap-line);border-radius:12px}
html[data-aleph-theme] .crm-filters label{color:var(--ap-ink);font-weight:700}
html[data-aleph-theme] .crm-table-wrap{background:var(--ap-surface);border-color:var(--ap-line)}
html[data-aleph-theme] .crm-table th{color:var(--ap-ink);background:var(--ap-wash);font-weight:770;border-color:var(--ap-line)}
html[data-aleph-theme] .crm-table td{color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme] .crm-table tbody tr:hover{background:var(--ap-selected)}
html[data-aleph-theme] .crm-stage{background:var(--ap-wash);border:1px solid var(--ap-line);border-radius:11px}
html[data-aleph-theme] .crm-stage-head strong{color:var(--ap-ink)}
html[data-aleph-theme] .crm-stage-count{background:var(--ap-selected);color:var(--ap-ink)}
html[data-aleph-theme] .crm-deal{background:var(--ap-surface);border-color:var(--ap-line);color:var(--ap-ink);border-radius:9px;box-shadow:var(--ap-shadow)}
html[data-aleph-theme] .crm-deal h4{font-weight:760;color:var(--ap-ink)}
html[data-aleph-theme] .crm-deal-foot{border-color:var(--ap-line);color:var(--ap-muted)}
html[data-aleph-theme] .crm-deal .crm-money{color:var(--ap-accent);font-weight:800}
html[data-aleph-theme] .crm-badge{background:var(--ap-wash);color:var(--ap-ink);border:1px solid var(--ap-line);font-weight:650}
html[data-aleph-theme] .crm-graph{background:var(--ap-wash);border-color:var(--ap-line)}
html[data-aleph-theme] .crm-empty{background:var(--ap-surface);border-color:var(--ap-line)}
html[data-aleph-theme] .crm-empty h3{color:var(--ap-ink);font-weight:730}
html[data-aleph-theme] .crm-empty p{color:var(--ap-muted)}
html[data-aleph-theme] .crm-readgrid dt,html[data-aleph-theme] .crm-readgrid dd{color:var(--ap-ink)}
html[data-aleph-theme] .crm-dialog .crm-readgrid div{border-color:var(--ap-line)}
/* Modal chrome / all input states. */
html[data-aleph-theme] .dialog:not(.appearance-drawer){background:var(--ap-surface);border-color:var(--ap-line);color:var(--ap-ink);box-shadow:0 25px 70px #0000005b;border-radius:13px}
html[data-aleph-theme] .dialog:not(.appearance-drawer) :is(.dialog-header,.dialog-footer){background:var(--ap-surface);border-color:var(--ap-line)}
html[data-aleph-theme] .dialog:not(.appearance-drawer) h2{font-weight:770;color:var(--ap-ink)}
html[data-aleph-theme] .dialog:not(.appearance-drawer) :is(.notice,.event-summary,.activation-output,.welcome-birthday-list,.local-notice,.manager-company){color:var(--ap-ink);background:var(--ap-wash);border-color:var(--ap-line)}
html[data-aleph-theme] .dialog:not(.appearance-drawer) :is(.field-section>summary,.settings-section h3,.settings-section summary){color:var(--ap-ink);font-weight:740}
html[data-aleph-theme] .dialog:not(.appearance-drawer) :is(.field small,.help-text,.settings-section p){color:var(--ap-muted)}
html[data-aleph-theme] .contact-link{border-color:var(--ap-line);color:var(--ap-accent)}
html[data-aleph-theme] .contact-link:hover{background:var(--ap-wash)}
/* Night palette for legacy panes containing hard-coded light backgrounds. */
html[data-aleph-theme="night"] :is(.welcome-history-dialog,.memory-detail,.excel-intake,.profile-no-tasks,.profile-method,.intake-sample,.memory-source-grid dt,.memory-source-grid dd){background:var(--ap-surface);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme="night"] :is(.calendar-day.outside,.calendar-day:nth-child(7n),.calendar-day:nth-child(7n-1)){background:var(--ap-wash)}
html[data-aleph-theme="night"] .calendar-day:not(.outside){background:var(--ap-surface)}
html[data-aleph-theme="night"] :is(.weekdays,.calendar-header,.calendar-bottomline,.xl-sheetbar,.xl-heading,.day-hours-toolbar){background:var(--ap-surface)}
html[data-aleph-theme="night"] .day-empty p,html[data-aleph-theme="night"] .day-label{color:var(--ap-muted)}
html[data-aleph-theme="night"] .crm-progress,html[data-aleph-theme="night"] .crm-chart-track{background:var(--ap-line)}
html[data-aleph-theme="night"] .crm-warning{background:#473722;color:#ffe1a6}
html[data-aleph-theme="night"] .crm-settings-pipe,html[data-aleph-theme="night"] .crm-settings-stages input,html[data-aleph-theme="night"] .crm-settings-stages select{background:var(--ap-wash);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme="night"] .crm-hero .button{background:#fff!important;color:#173651!important}
html[data-aleph-theme="night"] .crm-hero .button.secondary{background:transparent!important;color:#fff!important;border-color:#ffffff80!important}
html[data-aleph-theme="night"] .xl-status[data-status="done"]{background:#164434;color:#b2f4d4;border-color:#387a5c}
html[data-aleph-theme="night"] .xl-status[data-status="waiting"]{background:#483821;color:#ffe1a1;border-color:#73582d}
html[data-aleph-theme="night"] :is(.welcome-quote,.welcome-quote blockquote,.welcome-culture h3,.welcome-culture p,.welcome-culture-content,.welcome-culture-content li){color:var(--ap-ink)}
html[data-aleph-theme="night"] :is(.memory-card p,.memory-card small,.memory-source-grid dt,.memory-source-grid dd){color:var(--ap-muted)}
html[data-aleph-theme="night"] .memory-source-grid dt{background:var(--ap-wash)}
html[data-aleph-theme="night"] :is(.intake-sample th,.intake-sample td,.intake-mapping select,.intake-mapping input){background:var(--ap-surface);border-color:var(--ap-line);color:var(--ap-ink)}
/* Appearance studio — do not leave a blinding white drawer in night mode. */
html[data-aleph-theme="night"] .appearance-drawer{color-scheme:dark;background:var(--ap-surface);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme="night"] .appearance-drawer :is(.ap-head,.ap-footer,.ap-scope-wrap,.ap-presets button,.ap-transfer button){background:var(--ap-surface);color:var(--ap-ink);border-color:var(--ap-line)}
html[data-aleph-theme="night"] .appearance-drawer :is(.ap-head h2,.ap-section summary,.ap-readability strong,.ap-range output,.ap-footer span,.ap-footer button,.ap-presets strong,.ap-scope-wrap p,.ap-presets small,.ap-font-row label,.ap-colors label,.ap-check,.ap-header-color){color:var(--ap-ink)}
html[data-aleph-theme="night"] .appearance-drawer :is(select,input:not([type=color]),.ap-font-controls select,.ap-font-controls input){background:var(--ap-wash);border-color:var(--ap-line);color:var(--ap-ink)}
html[data-aleph-theme="night"] .appearance-drawer .ap-section{border-color:var(--ap-line)}
/* The red overdue state is semantic and must remain bright on both modes. */
html[data-aleph-theme] .task-card.overdue,html[data-aleph-theme] .calendar-event.overdue,html[data-aleph-theme] .responsible-row.is-overdue,html[data-aleph-theme] .compact-task.overdue{background:#bf1e34!important;color:#fff!important;border-color:#e74a5f!important}
html[data-aleph-theme] .task-card.overdue h3{color:#fff!important}
/* Touch, high-density and accessibility */
html[data-aleph-theme] :is(button,summary,[role=tab]){scroll-margin-top:16px}
html[data-aleph-theme] :is(button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ap-accent)!important;outline-offset:3px}
html[data-aleph-theme] .footer,html[data-aleph-theme] .backup-strip{color:var(--ap-muted)}
@media(max-width:1100px){html[data-aleph-theme] .workspace-top .segmented button{min-height:36px!important;padding:7px 9px!important}}
@media(max-width:660px){
 .aleph-mode-top{min-height:43px;padding-bottom:10px}.aleph-mode-top-label{font-size:9px}
 .aleph-mode-control button{min-width:72px;padding:7px 9px}
 html[data-aleph-theme] .workspace-top .segmented button{font-size:10px!important;min-height:35px!important;padding:7px!important}
 html[data-aleph-theme] #entity-hero .stat strong{font-size:23px!important}
 html[data-aleph-theme] #welcome-panel .welcome-metrics>div{padding:8px 11px}
 html[data-aleph-theme] #welcome-panel .welcome-art img{height:230px}
}
@media(prefers-reduced-motion:reduce){html[data-aleph-theme] :is(.task-card,.axis-card,.profile-person-card,.crm-deal,.memory-card,.button){transition:none!important;transform:none!important}}
@media print{.aleph-mode-top{display:none!important}}




/* ALEPH 2 · Puesto de trabajo | base blanca, fines de semana cálidos, navegación libre. */
html[data-aleph-theme="day"]{
 --ap-paper:#ffffff!important;--paper:#ffffff!important;
 --ap-surface:#ffffff!important;--card:#ffffff!important;
 --ap-wash:#f0f6ff!important;--ui-wash:#f0f6ff!important;
 --ap-selected:#dfedff!important;--ap-line:#cddcf0!important;
 --line:#cddcf0!important;--soft:#eaf3ff!important;
 --aleph-muted-panel:#f0f6ff;--aleph-control:#ffffff;
 --aleph-hover:#e4efff;--aleph-control-border:#b9cce7;
 --ap-shadow:0 3px 13px #173d650b!important;
 --aleph-elevation:0 11px 25px #1b51851b;
}
html[data-aleph-theme="day"] body,
html[data-aleph-theme="day"] .main,
html[data-aleph-theme="day"] .workspace{
 background:#ffffff!important;
}
/* Sábados y domingos: ámbar cálido y claro, no gris. El día seleccionado conserva azul. */
html[data-aleph-theme="day"] .calendar-day:nth-child(7n-1):not(.selected),
html[data-aleph-theme="day"] .calendar-day:nth-child(7n):not(.selected){
 background:#fff3de!important;
}
html[data-aleph-theme="day"] .calendar-day:nth-child(7n-1):not(.selected):hover,
html[data-aleph-theme="day"] .calendar-day:nth-child(7n):not(.selected):hover{
 background:#ffe9bf!important;
}
html[data-aleph-theme="day"] .weekdays span:nth-child(6),
html[data-aleph-theme="day"] .weekdays span:nth-child(7){
 color:#8c5b1c!important;background:#fff3de!important;
}
html[data-aleph-theme="day"] .week-schedule .schedule-day:nth-child(6),
html[data-aleph-theme="day"] .week-schedule .schedule-day:nth-child(7){
 background:#fff8e9!important;
}
html[data-aleph-theme="day"] .week-schedule .schedule-day:nth-child(6) .schedule-heading,
html[data-aleph-theme="day"] .week-schedule .schedule-day:nth-child(7) .schedule-heading{
 background:#fff0d6!important;color:#81551f!important;
}
html[data-aleph-theme="day"] .day-agenda{background:#f0f6ff!important}
html[data-aleph-theme="day"] .calendar-day.outside:not(:nth-child(7n)):not(:nth-child(7n-1)){
 background:#f0f6ff!important;
}
html[data-aleph-theme="day"] .xl-table tbody tr:nth-child(even) td{background:#f7faff!important}
html[data-aleph-theme="day"] .xl-table tbody tr:hover td{background:#e7f0ff!important}
/* A compact two-option switch immediately beside the workspace date. */
.aleph-mode-top{padding:0!important;margin:0!important;min-height:0!important;display:inline-flex!important;flex:none;gap:0}
.aleph-mode-top-label{display:none!important}
.aleph-mode-control{padding:2px!important;gap:2px!important;border-radius:8px!important;box-shadow:none!important}
.aleph-mode-control button{min-height:27px!important;min-width:0!important;padding:4px 9px!important;font-size:10px!important;gap:5px!important;border-radius:6px!important}
.aleph-mode-control button svg{width:13px!important;height:13px!important}
#entity-hero .page-meta{justify-content:flex-start;gap:8px 12px!important}
#entity-hero .page-meta time{margin-left:auto!important;white-space:nowrap;color:#ffffff!important}
#entity-hero .page-meta .aleph-mode-top{position:static!important}
#entity-hero .page-meta .aleph-mode-control{background:#ffffff14!important;border-color:#ffffff55!important}
#entity-hero .page-meta .aleph-mode-control button{color:#f1f6ff!important}
#entity-hero .page-meta .aleph-mode-control button:hover:not([aria-pressed=true]){background:#ffffff2b!important}
#entity-hero .page-meta .aleph-mode-control button[aria-pressed=true]{background:#ffffff!important;color:#173d5b!important;box-shadow:none!important}
/* Welcome: use the same two buttons, on the very same line as its date. */
#welcome-panel .welcome-date-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 14px;min-height:33px}
#welcome-panel .welcome-date-line .welcome-date{margin:0!important}
#welcome-panel .welcome-date-line .aleph-mode-control{background:var(--ap-surface)!important;border-color:var(--ap-line)!important}
#welcome-panel .welcome-date-line .aleph-mode-control button{color:var(--ap-muted)!important}
#welcome-panel .welcome-date-line .aleph-mode-control button[aria-pressed=true]{background:var(--ap-accent)!important;color:var(--ap-onAccent)!important}
/* Navigation now owns its entire row. Never let search or settings compress tabs. */
html[data-aleph-theme] .workspace-controls{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;gap:5px!important;margin-bottom:11px!important;
 padding-bottom:8px!important;
}
html[data-aleph-theme] .workspace-controls .workspace-top{
 display:block!important;width:100%!important;max-width:100%!important;
 min-width:0!important;flex:none!important;overflow:visible!important;
}
html[data-aleph-theme] .workspace-top .segmented{
 display:flex!important;width:100%!important;gap:5px!important;
 overflow-x:auto!important;scrollbar-width:thin;scrollbar-color:var(--ap-line) transparent;
 padding-bottom:3px!important;justify-content:flex-start;
}
html[data-aleph-theme] .workspace-top .segmented button{
 flex:none!important;white-space:nowrap!important;
}
html[data-aleph-theme] .workspace-controls .toolbar{
 display:flex!important;width:100%!important;flex:initial!important;min-width:0!important;
 flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;
 gap:8px!important;border-top:1px solid var(--ap-line);
 padding:8px 0 0!important;margin:0!important;
}
html[data-aleph-theme] .workspace-controls .toolbar .hero-actions{
 display:flex!important;align-items:center!important;gap:6px!important;
 margin:0 auto 0 0!important;flex:none!important;
}
html[data-aleph-theme] .workspace-controls .toolbar .search{
 width:clamp(135px,17vw,228px)!important;min-width:105px!important;
 flex:0 1 228px!important;height:35px!important;
}
/* Primary action is anchored left; the three utilities live on the right. */
html[data-aleph-theme] .workspace-controls .toolbar .hero-actions{order:0!important}
html[data-aleph-theme] .workspace-controls .toolbar .search{order:1!important;margin-left:auto!important}
html[data-aleph-theme] .workspace-controls .toolbar #toggle-filters{order:2!important}
html[data-aleph-theme] .workspace-controls .toolbar #customize-entity{order:3!important}

html[data-aleph-theme] .workspace-controls .toolbar .search input{height:33px!important}
html[data-aleph-theme] .workspace-controls .toolbar .filter-toggle,
html[data-aleph-theme] .workspace-controls .toolbar .hero-customize{
 flex:none!important;min-height:35px!important;height:35px!important;
}
html[data-aleph-theme] .workspace-controls .toolbar .hero-customize{width:35px!important}
html[data-aleph-theme] .workspace-controls .toolbar .button#new-task{
 min-height:35px!important;padding:7px 13px!important;font-size:11px!important;
}
/* Independent, compact operational strip on narrow screens. */
@media(max-width:660px){
 #entity-hero .page-meta{gap:7px!important;flex-wrap:wrap!important}
 #entity-hero .page-meta time{margin-left:auto!important}
 .aleph-mode-control button{padding:4px 7px!important;font-size:9px!important}
 html[data-aleph-theme] .workspace-controls .toolbar{flex-wrap:wrap!important;gap:6px!important}
 html[data-aleph-theme] .workspace-controls .toolbar .hero-actions{margin-right:auto!important}
 html[data-aleph-theme] .workspace-controls .toolbar .search{flex:1 1 110px!important;width:auto!important;max-width:none!important}
 html[data-aleph-theme] .workspace-top .segmented{gap:4px!important}
 html[data-aleph-theme] .workspace-top .segmented button{min-height:35px!important}
}
@media print{.aleph-mode-top{display:none!important}}




/* ALEPH 3 · Bienvenida editorial, autoridad de acciones y acceso visual. */
.main.welcome-active{padding-top:15px!important;max-width:none!important}
#welcome-panel{display:grid!important;grid-template-columns:minmax(0,1.27fr) minmax(340px,.88fr)!important;gap:16px 22px!important;margin:0 0 15px!important;align-items:start}
#welcome-panel .welcome-grid{display:contents!important}
#welcome-panel .welcome-copy{grid-column:1/-1!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,.75fr)!important;column-gap:22px!important;row-gap:9px!important;padding:6px 0 16px!important;border-bottom:1px solid var(--ap-line)!important}
#welcome-panel .welcome-eyebrow{grid-column:1!important;grid-row:1!important;justify-content:flex-start!important;min-height:0!important;padding:0!important;letter-spacing:.12em!important;font-size:10px!important;font-weight:750!important;color:var(--ap-accent)!important}
#welcome-panel .welcome-copy h2{grid-column:1!important;grid-row:2!important;margin:3px 0!important;font-size:clamp(27px,2.6vw,43px)!important;font-weight:780!important;line-height:1.07!important;letter-spacing:-.045em!important}
#welcome-panel .welcome-date-line{grid-column:1!important;grid-row:3!important;margin:0 0 6px!important;justify-content:flex-start!important}
#welcome-panel .welcome-date{font-size:12px!important;color:var(--ap-muted)!important}
#welcome-panel .welcome-metrics{grid-column:2!important;grid-row:1/4!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;align-self:center!important;margin:0!important;padding:8px!important;border:1px solid var(--ap-line);background:var(--ap-surface);border-radius:12px}
#welcome-panel .welcome-metrics>div{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:8px;padding:13px 9px!important;background:var(--ap-wash);min-height:84px}
#welcome-panel .welcome-metrics strong{font-size:clamp(20px,2.5vw,35px)!important;line-height:1!important;font-weight:820!important;letter-spacing:-.04em!important;color:var(--ap-ink)!important}
#welcome-panel .welcome-metrics>div:last-child{background:#b91c2d!important}
#welcome-panel .welcome-metrics>div:last-child strong,#welcome-panel .welcome-metrics>div:last-child span{color:#fff!important}
#welcome-panel .welcome-metrics span{font-size:10px!important;font-weight:650;line-height:1.35;color:var(--ap-muted)}
#welcome-panel .welcome-weather{grid-column:1/-1!important;grid-row:4!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:4px 20px!important;align-items:center!important;padding:13px 20px!important;margin:2px 0 0!important;min-height:100px!important;border-radius:12px!important;border:1px solid var(--ap-line)!important;background:linear-gradient(108deg,color-mix(in srgb,var(--ap-accent) 11%,var(--ap-surface)),var(--ap-surface) 84%);color:var(--ap-ink)!important}
#welcome-panel .welcome-weather-city{font-weight:750;font-size:12px;letter-spacing:.05em;color:var(--ap-accent);text-transform:uppercase;grid-column:1/-1}
#welcome-panel .welcome-weather-primary{display:flex;align-items:center;gap:15px;grid-column:1/3;font-size:13px;font-weight:550;min-width:0}
#welcome-panel .welcome-weather-symbol{display:inline-flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;font-size:42px;line-height:1;min-width:52px;color:var(--ap-accent)}
#welcome-panel .welcome-weather-temp{font-size:37px;font-weight:830;letter-spacing:-.06em;line-height:1;color:var(--ap-ink)}
#welcome-panel .welcome-weather-detail{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--ap-muted)}
#welcome-panel .welcome-weather-detail strong{font-size:13px;font-weight:700;color:var(--ap-ink)}
#welcome-panel .welcome-weather-updated{grid-column:3;grid-row:2;white-space:nowrap;font-size:10px;color:var(--ap-muted);align-self:center}
#welcome-panel .welcome-weather>.welcome-link{grid-column:3;grid-row:3;justify-self:end;font-size:9px;color:var(--ap-muted)}
#welcome-panel .welcome-entry-actions{position:absolute!important;top:-1px!important;right:0!important;margin:0!important;z-index:2}
#welcome-panel .welcome-entry-actions .button{min-height:37px!important;padding:9px 15px!important}
#welcome-panel .welcome-art{grid-column:1!important;grid-row:2!important;margin:0!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:12px!important;border:1px solid var(--ap-line)!important}
#welcome-panel .welcome-art>a{display:block!important;padding:0!important;min-height:300px!important;flex:1!important;background:var(--ap-surface)!important;overflow:hidden!important}
#welcome-panel .welcome-art img{display:block!important;width:100%!important;height:clamp(330px,40vw,570px)!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
#welcome-panel .welcome-art figcaption{padding:17px 21px!important;gap:4px!important}
#welcome-panel .welcome-art figcaption strong{font-size:21px!important;font-weight:750!important}
#welcome-panel .welcome-shelf{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column!important;gap:15px!important;margin:0!important}
#welcome-panel .welcome-culture{border-radius:12px!important;padding:19px 20px!important;box-shadow:0 4px 17px #173b6011}
#welcome-panel .welcome-culture h3{font-size:22px!important;font-weight:750!important;line-height:1.15!important}
#welcome-panel .welcome-culture-layout{grid-template-columns:100px minmax(0,1fr)!important;gap:15px!important;margin-top:12px!important}
#welcome-panel .welcome-cover img{height:145px!important;width:100%!important;object-fit:cover!important}
#welcome-panel .welcome-thought{grid-column:1/-1!important;grid-row:3!important;margin:2px 0 0!important;padding:19px 22px!important;display:grid!important;grid-template-columns:140px minmax(0,1fr) minmax(120px,.3fr)!important;align-items:center!important;gap:13px!important;border:1px solid var(--ap-line)!important;border-radius:12px!important;background:var(--ap-surface)!important}
#welcome-panel .welcome-thought:before{content:'PARA PENSAR';font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--ap-accent)}
#welcome-panel .welcome-thought blockquote{font-style:normal!important;font-size:clamp(15px,1.5vw,20px)!important;line-height:1.48!important;margin:0!important;font-weight:600!important}
#welcome-panel .welcome-thought figcaption{max-width:none!important;min-width:0;word-break:break-word}
#welcome-panel .welcome-bottom{grid-column:1/-1!important;grid-row:4!important;padding:8px 0 0!important}
#welcome-panel .welcome-online-status{grid-column:1/-1!important;grid-row:5!important;font-size:10px!important}
#welcome-panel .welcome-birthday-action{background:transparent;color:var(--ap-accent);font-size:11px;font-weight:700;padding:4px 8px;border-radius:7px;border:1px solid var(--ap-line)}
#welcome-panel .welcome-birthday-action:hover{background:var(--ap-wash)}
#welcome-panel .welcome-celebrate{grid-column:1/-1}
html[data-aleph-theme=day] #welcome-panel .welcome-metrics>div{background:#eaf3ff}
html[data-aleph-theme=day] #welcome-panel .welcome-metrics>div:last-child{background:#b91c2d}
html[data-aleph-theme=night] #welcome-panel .welcome-weather{background:linear-gradient(108deg,#153e50,#132430 86%)!important}
html[data-aleph-theme=night] #welcome-panel .welcome-cover img{background:transparent!important}
html[data-aleph-theme] .welcome-history-dialog{background:var(--ap-surface)!important;color:var(--ap-ink)!important}
@media(max-width:1200px){#welcome-panel .welcome-copy{grid-template-columns:1fr!important}#welcome-panel .welcome-metrics{grid-column:1!important;grid-row:4!important}#welcome-panel .welcome-weather{grid-row:5!important}#welcome-panel .welcome-metrics>div{min-height:70px}#welcome-panel{grid-template-columns:minmax(0,1.1fr) minmax(290px,.95fr)!important}}
@media(max-width:850px){#welcome-panel{grid-template-columns:1fr!important}#welcome-panel .welcome-copy{grid-column:1!important}#welcome-panel .welcome-art{grid-column:1!important;grid-row:2!important}#welcome-panel .welcome-shelf{grid-column:1!important;grid-row:3!important}#welcome-panel .welcome-thought{grid-column:1!important;grid-row:4!important}#welcome-panel .welcome-bottom{grid-row:5!important}#welcome-panel .welcome-online-status{grid-row:6!important}#welcome-panel .welcome-art img{height:390px!important}#welcome-panel .welcome-entry-actions{position:static!important;grid-column:1;grid-row:1;justify-content:flex-end;margin:0!important}#welcome-panel .welcome-copy{grid-row:1!important;padding-top:40px!important}}
@media(max-width:520px){.main.welcome-active{padding:10px 14px!important}#welcome-panel .welcome-copy{padding-top:43px!important}#welcome-panel .welcome-copy h2{font-size:30px!important}#welcome-panel .welcome-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}#welcome-panel .welcome-metrics>div{min-height:68px}#welcome-panel .welcome-weather{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:14px!important}#welcome-panel .welcome-weather-primary{grid-column:1!important}#welcome-panel .welcome-weather-updated,#welcome-panel .welcome-weather>.welcome-link{grid-column:1!important;grid-row:auto!important;justify-self:start!important}#welcome-panel .welcome-thought{grid-template-columns:1fr!important;gap:8px!important}#welcome-panel .welcome-art img{height:300px!important}#welcome-panel .welcome-culture-layout{grid-template-columns:88px minmax(0,1fr)!important}}
/* Independent login gateway, not a misleading client-side authentication system. */
.aleph-entry-gate{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;overflow-y:auto;background:#071820;padding:20px;color:#162f41;font-family:var(--sans,Arial,sans-serif)}
.aleph-entry-gate[hidden],.aleph-entry-gate.is-dismissed{display:none!important}
.aleph-gate-layout{display:grid;grid-template-columns:1fr 1fr;width:min(1020px,100%);min-height:620px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 35px 120px #0009}
.aleph-gate-story{display:flex;flex-direction:column;padding:42px;color:#fff;background:radial-gradient(ellipse at 84% 34%,#315d72 0,#123547 43%,#0b1d2b 100%);min-width:0}
.aleph-gate-brand{display:flex;align-items:center;gap:13px;font-size:21px;font-weight:800;letter-spacing:.21em}.aleph-gate-symbol{display:grid;place-items:center;font-size:29px;width:43px;height:43px;border:1px solid #ffffff70;border-radius:11px}
.aleph-gate-story-copy{margin:auto 0}.aleph-gate-kicker{font-size:11px;letter-spacing:.21em;color:#7ce2d6;font-weight:800;margin-bottom:24px}.aleph-gate-story-copy h2{font-size:clamp(34px,3.8vw,53px);letter-spacing:-.052em;line-height:1.07;font-weight:800;max-width:460px}.aleph-gate-story-copy p{font-size:14px;line-height:1.75;color:#d4e3ee;max-width:310px;margin-top:22px}.aleph-gate-foot{font-size:10px;letter-spacing:.15em;color:#bad1dc}
.aleph-gate-login{padding:47px 52px;display:flex;flex-direction:column;justify-content:center;min-width:0}.aleph-gate-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#38637b;font-size:10px;font-weight:800;letter-spacing:.1em}.aleph-gate-access-state{padding:6px 9px;border-radius:6px;background:#eaf3ff;color:#1c5271;font-size:9px}
.aleph-gate-login h1{font-size:33px;line-height:1.15;letter-spacing:-.04em;margin-top:25px;font-weight:800}.aleph-gate-lead{font-size:13px;color:#617688;margin:8px 0 22px}
#aleph-gate-form{display:grid;gap:8px}#aleph-gate-form label{font-size:11px;color:#2a4d63;font-weight:750;margin-top:7px}#aleph-gate-form label small{font-size:10px;color:#748b9d;font-weight:500}#aleph-gate-form input{display:block;width:100%;min-height:44px;background:#fff;color:#17364c;border:1px solid #b8ccdb;border-radius:8px;padding:11px 13px;font-size:13px}#aleph-gate-form input:focus{outline:2px solid #3698b5;outline-offset:1px}
.aleph-gate-submit,.aleph-gate-local{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:12px;padding:10px 15px;background:#163c55;color:#fff;border:0;border-radius:8px;font-weight:750;font-size:13px;cursor:pointer}.aleph-gate-submit:hover{background:#086a85}.aleph-gate-local{background:#eef6fa;color:#153c55;border:1px solid #c3dbe8;margin-top:0}.aleph-gate-local:hover{background:#dceef7}.aleph-gate-divider{display:flex;align-items:center;gap:10px;margin:19px 0 13px;color:#8297a6;font-size:9px;letter-spacing:.075em;font-weight:700}.aleph-gate-divider:before,.aleph-gate-divider:after{content:'';height:1px;background:#dce6ec;flex:1}.aleph-gate-caveat{font-size:10px;color:#6b8191;line-height:1.7;margin-top:16px}.aleph-gate-error{padding:10px;border-radius:6px;background:#fff0ec;color:#a33c28;font-size:11px}
html[data-aleph-mode="server"] #aleph-entry-gate{display:none!important}html[data-aleph-mode="server"] #auth-screen:not([hidden]){display:grid!important}html[data-aleph-mode="server"] #login-form:not([hidden]){display:block!important}html[data-aleph-mode="server"] #auth-screen .auth-card{padding:34px;border-radius:14px;box-shadow:0 22px 70px #102a3545}html[data-aleph-mode="server"] #auth-screen{background:#112b3a}
@media(max-width:800px){.aleph-gate-layout{grid-template-columns:1fr;max-width:480px}.aleph-gate-story{padding:25px;min-height:190px}.aleph-gate-story-copy h2{font-size:30px}.aleph-gate-story-copy p,.aleph-gate-foot{display:none}.aleph-gate-kicker{margin:18px 0 6px}.aleph-gate-login{padding:28px}.aleph-gate-login h1{font-size:28px;margin-top:18px}}
@media(max-width:420px){.aleph-entry-gate{padding:0}.aleph-gate-layout{border-radius:0;min-height:100dvh}.aleph-gate-story{min-height:170px}.aleph-gate-login{padding:22px}}
@media print{.aleph-entry-gate{display:none!important}}

.aleph-gate-symbol img.aleph-logo{width:35px!important;height:35px!important;max-height:35px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important;mix-blend-mode:normal!important}
/* Visible waiting state for online artwork: graphic placeholder, never fake credits. */
#welcome-panel .welcome-art-pending{min-height:510px!important;background:var(--ap-surface)!important}
#welcome-panel .welcome-art-stage{min-height:450px;flex:1;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:35px!important;color:#f0fcff!important;overflow:hidden;background:linear-gradient(153deg,#093740 0%,#0f6878 38%,#e1a15f 75%,#ebc58d 100%)}
#welcome-panel .welcome-art-stage:before{content:'';position:absolute;inset:-23% 25% 27% -18%;z-index:-1;border-radius:47% 53% 39% 61%;border:100px solid #ffffff24;transform:rotate(22deg);box-shadow:0 0 80px #08405026}
#welcome-panel .welcome-art-stage:after{content:'';position:absolute;inset:13% -28% -43% 37%;z-index:-1;border-radius:58% 42% 65% 35%;border:60px solid #00495558;transform:rotate(-28deg)}
#welcome-panel .welcome-art-orbit{position:absolute;left:22%;top:12%;width:170px;height:170px;border-radius:50%;border:2px solid #ffffff90;box-shadow:0 0 0 20px #ffffff15,0 0 0 45px #ffffff0d}
#welcome-panel .welcome-art-pending-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#ffffffdc}
#welcome-panel .welcome-art-pending-title{font-size:clamp(30px,3.3vw,48px);font-weight:820;letter-spacing:-.04em;line-height:1.05;color:#fff;max-width:450px}
#welcome-panel .welcome-art-pending-text{font-size:12px;line-height:1.65;color:#e9f6f6;max-width:320px}
#welcome-panel .welcome-weather-loading{font-size:17px;color:var(--ap-ink);font-weight:760}
@media(max-width:660px){#welcome-panel .welcome-art-pending{min-height:360px!important}#welcome-panel .welcome-art-stage{min-height:340px;padding:24px!important}}



/* ALEPH V4 · Single greeting entrance, direct operational routing, clean hierarchy */
html .sidebar .side-content #nav-welcome{min-height:42px;margin:0 0 7px;padding-top:9px;padding-bottom:9px;font-weight:750;border:1px solid transparent}
html[data-aleph-theme=day] .sidebar #nav-welcome.active{background:#e5efff;color:#123d84;border-color:#bbd2fa}
html[data-aleph-theme=night] .sidebar #nav-welcome.active{background:#173d50;color:#e4fffb;border-color:#3d7887}
html .sidebar #nav-welcome svg{width:16px;height:16px}
html .aleph-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;min-width:0;max-width:100%;font-size:11px;font-weight:600;line-height:1.5;color:#fff}
html .aleph-breadcrumb .aleph-crumb-link{display:inline-flex;align-items:center;max-width:100%;min-height:25px;padding:3px 1px;border-radius:4px;color:#ffffffca;background:transparent;border:0;text-align:left;font:600 11px/1.4 var(--sans);cursor:pointer}
html .aleph-breadcrumb .aleph-crumb-link:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
html .aleph-breadcrumb .aleph-crumb-current{font-weight:800;color:#fff;overflow-wrap:anywhere}
html .aleph-breadcrumb .aleph-crumb-divider{color:#ffffff76;font-weight:400}
html #entity-hero .page-meta{justify-content:space-between;gap:8px 15px}
html #entity-hero .page-meta #page-context{margin-right:auto}
/* Editorial welcome: aligned parallel rails. Left = phrase + painting; right = weather + culture. */
.main.welcome-active{max-width:1600px!important;padding:14px 28px 22px!important}
#welcome-panel[hidden]{display:none!important}
#welcome-panel{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)!important;column-gap:20px!important;row-gap:17px!important;align-items:start!important}
#welcome-panel .welcome-grid{display:contents!important}
#welcome-panel .welcome-copy{grid-column:1/-1!important;grid-row:1!important;min-width:0!important;padding:6px 0 13px!important;margin:0!important;border-bottom:1px solid var(--ap-line)!important}
#welcome-panel .welcome-copy h2{margin-top:9px!important;margin-bottom:7px!important}
#welcome-panel .welcome-metrics{align-self:center!important}
#welcome-panel .welcome-thought{grid-column:1!important;grid-row:2!important;min-height:154px;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:9px!important;padding:20px 24px!important;margin:0!important;border-radius:12px!important;border:1px solid var(--ap-line)!important;background:var(--ap-surface)!important}
#welcome-panel .welcome-thought:before{content:'UNA FRASE PARA HOY';font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--ap-accent)}
#welcome-panel .welcome-thought blockquote{font-size:clamp(16px,1.55vw,23px)!important;line-height:1.34!important;font-weight:650!important;max-width:100%!important;margin:0!important}
#welcome-panel .welcome-thought figcaption{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px 12px!important;padding:0!important;max-width:100%!important;color:var(--ap-muted)}
#welcome-panel .welcome-weather{grid-column:2!important;grid-row:2!important;min-height:154px!important;height:100%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:7px!important;margin:0!important;padding:17px 24px!important;border-radius:12px!important;background:linear-gradient(105deg,#d5eafe,#f0f8ff)!important;border:1px solid #b5d7f5!important;color:#133c5a!important}
#welcome-panel .welcome-weather-city{font-size:11px!important;font-weight:850!important;letter-spacing:.13em!important;color:#285b85!important}
#welcome-panel .welcome-weather-primary{align-items:center!important;gap:12px!important}
#welcome-panel .welcome-weather-symbol{font-size:clamp(35px,3.5vw,58px)!important}
#welcome-panel .welcome-weather-temp{font-size:clamp(37px,4vw,55px)!important;line-height:.95!important;color:#173a55!important}
#welcome-panel .welcome-weather-detail strong{color:#193e57!important}
#welcome-panel .welcome-art{grid-column:1!important;grid-row:3!important;align-self:stretch!important;width:100%!important;min-width:0!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:12px!important}
#welcome-panel .welcome-art>a{display:block!important;width:100%!important;padding:0!important;background:transparent!important;overflow:hidden!important}
#welcome-panel .welcome-art img{display:block!important;width:100%!important;height:clamp(340px,41vw,550px)!important;min-height:0!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
#welcome-panel .welcome-art figcaption{padding:17px 21px!important}
#welcome-panel .welcome-art-stage{min-height:clamp(340px,41vw,550px)!important}
#welcome-panel .welcome-art-pending{min-height:0!important}
#welcome-panel .welcome-shelf{grid-column:2!important;grid-row:3!important;display:flex!important;flex-direction:column!important;gap:16px!important;margin:0!important;min-width:0!important;align-self:start!important}
#welcome-panel .welcome-culture{border:1px solid var(--ap-line)!important;border-radius:12px!important;padding:22px!important;margin:0!important;min-height:150px!important}
#welcome-panel .welcome-culture-layout{grid-template-columns:110px minmax(0,1fr)!important;gap:20px!important}
#welcome-panel .welcome-cover img{height:160px!important;object-fit:contain!important}
#welcome-panel .welcome-bottom{grid-column:1/-1!important;grid-row:4!important;padding:12px 0 0!important;margin:0!important}
#welcome-panel .welcome-online-status{grid-column:1/-1!important;grid-row:5!important}
html[data-aleph-theme=night] #welcome-panel .welcome-weather{background:linear-gradient(112deg,#123b4c,#1c3547)!important;color:#eaf7ff!important;border-color:#345c6b!important}
html[data-aleph-theme=night] #welcome-panel .welcome-weather-city{color:#a8e3f2!important}
html[data-aleph-theme=night] #welcome-panel .welcome-weather-temp,html[data-aleph-theme=night] #welcome-panel .welcome-weather-detail strong{color:#effaff!important}
html[data-aleph-theme=night] #welcome-panel .welcome-weather .welcome-link,html[data-aleph-theme=night] #welcome-panel .welcome-weather .welcome-weather-updated{color:#b5d5df!important}
@media(max-width:1050px){.main.welcome-active{padding:13px 18px 20px!important}#welcome-panel{column-gap:13px!important;row-gap:13px!important}#welcome-panel .welcome-thought{padding:17px!important}#welcome-panel .welcome-weather{padding:16px!important}#welcome-panel .welcome-culture{padding:16px!important}#welcome-panel .welcome-culture-layout{grid-template-columns:90px minmax(0,1fr)!important;gap:12px!important}}
@media(max-width:760px){#welcome-panel{grid-template-columns:minmax(0,1fr)!important}#welcome-panel .welcome-copy{grid-column:1!important;grid-row:1!important}#welcome-panel .welcome-thought{grid-column:1!important;grid-row:2!important;min-height:0!important}#welcome-panel .welcome-art{grid-column:1!important;grid-row:3!important}#welcome-panel .welcome-weather{grid-column:1!important;grid-row:4!important;min-height:130px!important}#welcome-panel .welcome-shelf{grid-column:1!important;grid-row:5!important}#welcome-panel .welcome-bottom{grid-column:1!important;grid-row:6!important}#welcome-panel .welcome-online-status{grid-column:1!important;grid-row:7!important}#welcome-panel .welcome-entry-actions{grid-column:1!important;grid-row:1!important}#welcome-panel .welcome-art img{height:clamp(300px,75vw,480px)!important}#welcome-panel .welcome-art-stage{min-height:clamp(300px,75vw,480px)!important}}
@media(max-width:520px){.main.welcome-active{padding:12px 14px!important}#welcome-panel .welcome-copy{padding-top:43px!important}#welcome-panel .welcome-thought{padding:16px!important}#welcome-panel .welcome-weather{padding:14px!important}#welcome-panel .welcome-art img{height:310px!important}#welcome-panel .welcome-art-stage{min-height:310px!important}#welcome-panel .welcome-culture-layout{grid-template-columns:92px minmax(0,1fr)!important}html .aleph-breadcrumb{gap:6px!important}html .aleph-breadcrumb .aleph-crumb-link,html .aleph-breadcrumb .aleph-crumb-current{font-size:10px!important}}


/* ALEPH V5 · Mensajes integrados, acceso contextual y aniversarios por pertenencia. */
#agenda-toolbar{align-items:center;gap:10px;min-height:43px;margin-bottom:9px}
#agenda-toolbar .agenda-types{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:5px;flex-wrap:wrap}
#agenda-toolbar .agenda-inline-results{display:inline-flex;flex:0 0 108px;align-items:center;justify-content:flex-end;margin-left:12px;min-height:31px;padding:3px 4px;color:var(--ap-muted,var(--muted));font-size:11px;font-weight:750;white-space:nowrap;letter-spacing:.005em;font-variant-numeric:tabular-nums}
#agenda-toolbar .agenda-inline-results:not(:empty){background:color-mix(in srgb,var(--ap-accent,#20587e) 8%,var(--ap-surface,#fff));border:1px solid var(--ap-line,#dae2ec);border-radius:7px}
#filter-note{min-height:0!important;margin:0!important;font-size:10px}
#filter-note:not(:empty){padding:0 0 6px!important}
#filter-note button{display:block;margin-left:auto;padding:0 4px;line-height:21px;font-weight:650}
#welcome-panel .welcome-eyebrow{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:37px!important;padding-right:0!important;max-width:100%!important}
#welcome-panel .welcome-go-general{min-height:37px!important;display:inline-flex!important;align-items:center!important;gap:9px!important;padding:9px 15px!important;font-size:11px!important;font-weight:800!important;letter-spacing:.01em!important;background:var(--ap-accent,#205d88)!important;border:1px solid var(--ap-accent,#205d88)!important;border-radius:8px!important;color:var(--ap-onAccent,#fff)!important;white-space:nowrap!important;box-shadow:0 5px 13px #122a4022!important}
#welcome-panel .welcome-go-general svg{height:14px;width:14px}
#welcome-panel .welcome-go-general:hover{filter:brightness(1.12);transform:translateY(-1px)}
#welcome-panel .welcome-birthday-action{font-size:11px!important;font-weight:700!important;padding:8px 11px!important;border:1px solid var(--ap-line,#dae2ec)!important;border-radius:7px!important;background:var(--ap-surface,#fff)!important;color:var(--ap-ink,#193e56)!important;white-space:nowrap!important}
#welcome-panel .welcome-entry-actions{display:none!important}
#welcome-panel .welcome-copy{padding-top:0!important}
html[data-aleph-theme=night] #agenda-toolbar .agenda-inline-results:not(:empty){background:#21394c;color:#eaf6ff;border-color:#39566c}
@media(max-width:650px){#welcome-panel .welcome-copy{padding-top:0!important}#welcome-panel .welcome-eyebrow{min-height:38px!important;flex-wrap:wrap!important}#agenda-toolbar .agenda-inline-results{flex-basis:94px;margin-left:2px;font-size:10px}#agenda-toolbar .agenda-types{gap:4px}#agenda-toolbar .agenda-types button{font-size:10px;padding:8px 9px}}

#agenda-toolbar .agenda-inline-reset{display:inline-flex;align-items:center;justify-content:center;flex:0 0 67px;min-width:67px;height:31px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ap-accent,#215982);font-size:10px;font-weight:750;white-space:nowrap}
#agenda-toolbar .agenda-inline-reset:not(.is-active){visibility:hidden;pointer-events:none}
#agenda-toolbar .agenda-inline-reset.is-active:hover{background:var(--ap-wash,#eef3f8);border-color:var(--ap-line,#cad9e6)}
#filter-note,#filter-note:not(:empty){display:none!important;min-height:0!important;margin:0!important;padding:0!important}


/* Memoria: importar y exportar juntos, sin quitar espacio a las tarjetas. */
.memory-toolbar{align-items:center;gap:14px}
.memory-toolbar .memory-export-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto}
.memory-toolbar .memory-export-actions .button{font-weight:650;min-height:39px;padding:9px 15px;font-size:12px}
.memory-toolbar .memory-export-actions .button:disabled{opacity:.46}
@media(max-width:600px){.memory-toolbar{align-items:flex-start;flex-direction:column}.memory-toolbar .memory-export-actions{width:100%;margin-left:0;justify-content:stretch}.memory-toolbar .memory-export-actions .button{flex:1;white-space:normal}}


/* Access: compact but legible in both appearance modes */
.profile-access{display:grid;gap:9px;background:var(--ap-wash,#f4f7fa);color:var(--ap-ink,#1c3447);border:1px solid var(--ap-line,#dbe4ea);border-radius:10px;padding:14px 17px;margin:-7px 0 18px;font-family:var(--ap-contentFont,var(--sans))}
.profile-access-small{margin:0 0 16px;padding:12px 13px;border-radius:8px;gap:8px}
.profile-access-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:11px;font-weight:600;line-height:1.4}
.profile-access-top strong{color:var(--ap-accent,#176d83);font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
.profile-access-small .profile-access-top{font-size:10px}.profile-access-small .profile-access-top strong{font-size:16px}
.profile-access-days{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;min-height:7px}
.profile-access-days i{height:7px;background:var(--ap-line,#dbe4ea);border-radius:2px}
.profile-access-days i.active{background:#0c9a7e}.profile-access-days i.unknown{background:color-mix(in srgb,var(--ap-line,#dbe4ea) 65%,var(--ap-surface,#fff))}
.profile-access-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:9px;flex-wrap:wrap;color:var(--ap-muted,#6b7d88);font-size:10px;line-height:1.5}
.profile-access-absence{font-size:10px;color:var(--ap-ink,#1c3447);font-weight:650;white-space:nowrap}
.profile-access-origin{font-size:9px;line-height:1.3;color:var(--ap-muted,#6b7d88);opacity:.8}
.profile-person-card .profile-access{width:100%}.profile-hero+.profile-access{margin-top:-6px}
.aleph-user-last{color:var(--ap-muted,#71808a)}
.aleph-session-access{display:block;padding:1px 4px 9px;font:400 10px/1.5 var(--ap-navFont,var(--sans));color:var(--ap-sideMuted,#8ca4b3)}
.welcome-weather-location{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:9px 0 5px;font-size:10px}
.welcome-weather-location small{color:var(--ap-muted,#688194);font-size:10px;line-height:1.4}
.welcome-weather-locate{font-size:10px;font-weight:650;color:var(--ap-accent,#205679);background:color-mix(in srgb,var(--ap-accent,#205679) 10%,var(--ap-surface,#fff));border:1px solid var(--ap-line,#dbe4ea);border-radius:6px;padding:5px 9px;min-height:26px}
.welcome-weather-locate:hover:not(:disabled){filter:brightness(.92);border-color:var(--ap-accent,#205679)}
.welcome-weather-city{font-weight:600;letter-spacing:.01em}
@media(max-width:660px){.profile-access{padding:12px 13px}.profile-access-bottom{font-size:9px}.profile-access-absence{font-size:9px}}


/* ALEPH V8 — Jerarquía operativa para ÁREA DE TRABAJO.
   Campo visible inmediatamente debajo del título; la etiqueta acompaña a cada tarjeta. */
.task-area-feature, .control-card-meta{
 --area-highlight:#245acf;
}
.task-area-feature[data-area="legal"], .control-card-meta[data-area="legal"]{--area-highlight:#8053da}
.task-area-feature[data-area="accounting"], .control-card-meta[data-area="accounting"]{--area-highlight:#068e84}
.task-area-feature{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.65fr);
 align-items:center;gap:8px 17px;
 margin:3px 0 23px;padding:17px 19px;
 border:1px solid var(--ap-line,#cfd9e6);border-left:5px solid var(--area-highlight);
 border-radius:9px;
 background:color-mix(in srgb,var(--area-highlight) 8%,var(--ap-surface,#fff));
}
.task-area-feature .field{margin:0;min-width:0}
.task-area-feature .field label,
html[data-appearance] .dialog:not(.appearance-drawer) .task-area-feature .field label{
 display:block;margin:0 0 7px;color:var(--ap-ink,#14253c)!important;
 font-family:var(--ap-formFont,var(--sans));font-size:12px!important;
 letter-spacing:.085em;font-weight:800;text-transform:uppercase;
}
.task-area-feature select,
html[data-appearance] .dialog:not(.appearance-drawer) .task-area-feature select{
 width:100%;min-height:47px;
 padding:10px 13px;
 font-size:14px!important;font-weight:700;
 background:var(--ap-surface,#fff);color:var(--ap-ink,#14253c);
 border:2px solid color-mix(in srgb,var(--area-highlight) 55%,var(--ap-line,#cfd9e6));
 border-radius:7px;
 cursor:pointer;
}
.task-area-feature select:focus-visible{outline:3px solid var(--area-highlight);outline-offset:2px}
.task-area-feature-hint{
 margin:0;color:var(--ap-muted,#526477);font-size:11px;line-height:1.55;
}
html[data-appearance] .dialog:not(.appearance-drawer) .task-area-feature .task-area-feature-hint{font-size:11px;color:var(--ap-muted,#526477)}
html .task-card .control-card-meta{
 display:flex;align-items:center;justify-content:flex-start;
 flex-wrap:wrap;gap:5px 10px;
 min-height:42px;padding:8px 12px;margin:0 0 15px;
 background:color-mix(in srgb,var(--area-highlight) 12%,var(--ap-surface,#fff));
 border:1px solid color-mix(in srgb,var(--area-highlight) 32%,var(--ap-line,#cfd9e6));
 border-left:4px solid var(--area-highlight);border-radius:6px;
}
html .task-card .control-area-caption{
 color:var(--ap-muted,#4d6275);font-size:9px;
 font-weight:800;letter-spacing:.095em;
 line-height:1.5;white-space:nowrap;
}
html .task-card .control-area{
 background:none;padding:0;border:0;border-radius:0;
 color:var(--area-highlight);font-size:13px;font-weight:800;
 line-height:1.5;letter-spacing:.012em;
}
html .task-card .control-blocked{margin-left:auto;font-size:10px;white-space:normal}
html .task-card.overdue .control-card-meta{
 --area-highlight:#fff;
 background:#ffffff15!important;border-color:#ffffff80!important;
 border-left-color:#fff!important;
}
html .task-card.overdue .control-area,
html .task-card.overdue .control-area-caption{color:#fff!important}
html .task-grid.list-view .control-card-meta{grid-column:1/-1}
@media(max-width:600px){
 .task-area-feature{grid-template-columns:1fr;padding:14px 15px;gap:9px}
 .task-area-feature .field label{font-size:11px!important}
 .task-area-feature-hint{font-size:10px}
 html .task-card .control-card-meta{gap:5px 8px}
}


/* ALEPH compact timeline: date | rector offset | user's actual city, time and offset. */
.aleph-clock-strip{display:inline-flex;align-items:center;gap:0;flex:0 1 auto;max-width:100%;min-width:0;flex-wrap:nowrap;direction:ltr;unicode-bidi:isolate}
.aleph-clock-pill{display:inline-block!important;flex:none!important;white-space:nowrap;line-height:1.4;padding:0 0 0 12px!important;margin:0 0 0 12px!important;border:0!important;border-left:1px solid currentColor!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:11px;font-weight:650;letter-spacing:0;font-variant-numeric:tabular-nums}
.aleph-clock-pill.is-local{background:transparent!important}
#entity-hero .page-meta time#workspace-date{margin-left:auto;font-size:11px;font-weight:600;letter-spacing:0;white-space:nowrap}
#entity-hero .page-meta .aleph-clock-strip{flex:0 1 auto}
#entity-hero .page-meta .aleph-clock-pill{color:#fff!important;border-left-color:#ffffff8c!important}
#welcome-panel .welcome-date-line .aleph-clock-strip{flex:0 1 auto}
#welcome-panel .welcome-date-line .aleph-clock-pill{color:var(--ap-muted,#34526b)!important;border-left-color:var(--ap-line,#b9c6d4)!important}
.aleph-language-setting{margin:8px 3px 10px;padding:11px 9px 12px;border-top:1px solid var(--ap-sideLine,#ffffff25);border-bottom:1px solid var(--ap-sideLine,#ffffff25);display:flex;align-items:center;justify-content:space-between;gap:9px}
.aleph-language-setting label{color:var(--ap-sideInk,#e6eff7);font-size:11px;font-weight:650;white-space:nowrap}
.aleph-language-setting select{min-width:0;width:112px;max-width:52%;min-height:34px;border-radius:7px;border:1px solid var(--ap-sideLine,#91a4b4);color:var(--ap-sideInk,#fff);background:var(--ap-sidebar,#183b56);font-weight:750;font-size:12px;padding:6px 20px 6px 8px;cursor:pointer;outline-offset:3px}
.aleph-language-setting select option{background:#fff;color:#162e45}
html[dir=rtl] body{font-family:Tahoma,"Noto Sans Arabic","Segoe UI",Arial,sans-serif}
html[dir=rtl] .aleph-language-setting select{direction:rtl}
html[dir=rtl] .aleph-clock-strip{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .month-grid,html[dir=rtl] .weekdays,html[dir=rtl] .week-schedule,html[dir=rtl] .xl-table,html[dir=rtl] .xl-summary-table{direction:ltr}
html[dir=rtl] .calendar-day,html[dir=rtl] .calendar-event,html[dir=rtl] .xl-table th,html[dir=rtl] .xl-table td{direction:rtl}
html[dir=rtl] .sidebar,html[dir=rtl] .dialog,html[dir=rtl] .welcome-copy{direction:rtl}
html[dir=rtl] .sidebar .nav-button,html[dir=rtl] .sidebar .company-nav-button,html[dir=rtl] .sidebar .project-nav-button{text-align:right}
html[dir=rtl] .sidebar .nav-count{margin-left:0;margin-right:auto}
html[dir=rtl] .sidebar .nav-button.active:before{left:auto;right:0}
html[dir=rtl] .sidebar .project-nav-button{border-left:0;border-right:1px solid var(--ap-sideLine,#d7e0e5);margin-right:21px;margin-left:0}
html[dir=rtl] .task-card,html[dir=rtl] .task-card button,html[dir=rtl] .crm-table td,html[dir=rtl] .crm-table th{text-align:right}
html[dir=rtl] .crm-table{direction:rtl}
html[dir=rtl] .search input{text-align:right}
html[dir=rtl] .search>svg,html[dir=rtl] .search>[data-icon]{right:11px;left:auto}
html[dir=rtl] .search input{padding:8px 33px 8px 30px}
html[dir=rtl] .task-card:before{left:auto;right:21px}
html[dir=rtl] .aleph-breadcrumb{direction:rtl}
@media(max-width:1250px){#entity-hero .page-meta .aleph-clock-strip{flex:0 1 auto}#entity-hero .page-meta time#workspace-date{margin-left:auto}}
@media(max-width:680px){.aleph-clock-strip{flex-wrap:wrap;row-gap:5px}.aleph-clock-pill{font-size:10px;padding-left:8px!important;margin-left:8px!important}#entity-hero .page-meta .aleph-clock-strip{justify-content:flex-start}}
@media print{.aleph-language-setting{display:none!important}}


/* Only calendar entry markers: General=hammer, Accounting=$, Legal=scales. */
.calendar-area-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;width:19px;height:19px;border-radius:5px;background:color-mix(in srgb,currentColor 12%,transparent);font:800 12px/1 var(--sans);vertical-align:middle;direction:ltr}
.calendar-area-mark svg{display:block;width:14px;height:14px;stroke-width:1.8}
.calendar-area-mark[data-area="general"]{color:#2863bc}
.calendar-area-mark[data-area="accounting"]{color:#087b64}
.calendar-area-mark[data-area="legal"]{color:#8250bd}
.calendar-event .calendar-area-mark{flex-basis:16px;width:16px;height:16px;border-radius:4px;font-size:11px}
.calendar-event .calendar-area-mark svg{width:13px;height:13px}
.compact-task>.calendar-area-mark{margin-top:1px}
html[data-appearance-tone="dark"] .calendar-area-mark[data-area="general"]{color:#81b1ff}
html[data-appearance-tone="dark"] .calendar-area-mark[data-area="accounting"]{color:#68e1c5}
html[data-appearance-tone="dark"] .calendar-area-mark[data-area="legal"]{color:#c5a0ff}
html .calendar-event.overdue .calendar-area-mark,html .compact-task.overdue .calendar-area-mark{color:#fff!important;background:#ffffff29!important}
@media(max-width:660px){.mobile-event-dots{gap:2px}.mobile-event-dots .calendar-area-mark{width:11px;height:12px;flex-basis:11px;border-radius:2px;background:transparent;font-size:10px}.mobile-event-dots .calendar-area-mark svg{width:11px;height:11px}}

#sidebar #environment-heading{justify-content:flex-start;gap:7px;direction:ltr}#sidebar #environment-heading #environment-count{margin-left:auto}

/* Calendars grow with content; no nested vertical scrolling or truncated days/hours. */
html .calendar-panel .period-schedule{max-height:none!important;height:auto!important;overflow:visible!important;scrollbar-width:auto!important}
html .calendar-panel .schedule-hour{height:auto!important;min-height:90px;max-height:none!important;overflow:visible!important;overflow-y:visible!important}
html .calendar-panel .schedule-allday{height:auto!important;min-height:92px;max-height:none!important;overflow:visible!important;overflow-y:visible!important}
html .calendar-panel .schedule-day{min-height:0;overflow:visible}
html .calendar-panel .month-grid{height:auto;grid-auto-rows:minmax(var(--ap-dayHeight,95px),auto);align-items:stretch}
html .calendar-panel .calendar-day{height:auto!important;max-height:none!important;overflow:visible!important}
html .calendar-panel .calendar-event{display:flex;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;align-items:flex-start;overflow-wrap:anywhere}
html .calendar-panel .calendar-event .event-title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;min-width:0}
/* Subgrid synchronizes row heights for the same hour across every weekday. */
@supports (grid-template-rows:subgrid){
 html .calendar-panel .week-schedule{display:grid;grid-template-rows:repeat(27,minmax(0,auto));align-items:stretch}
 html .calendar-panel .week-schedule>.schedule-day{display:grid;grid-row:1 / span 27;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);align-items:stretch}
 html .calendar-panel .week-schedule>.schedule-day>.calendar-add{grid-column:1!important;grid-row:auto!important;align-self:center;min-width:0}
}
@media(max-width:800px){
 /* One horizontal track for narrow screens, never a scrollbar inside an hour. */
 html .calendar-panel .month-wrap{overflow-x:auto;overflow-y:visible;max-height:none}
 html .calendar-panel .month-wrap .month-grid,html .calendar-panel .month-wrap .weekdays{min-width:840px}
 html .calendar-panel .period-layout:has(.week-schedule){overflow-x:auto;overflow-y:visible;max-height:none}
 html .calendar-panel .week-schedule{min-width:980px}
}
@media(max-width:660px){
 html .calendar-panel .calendar-event{display:flex!important;padding:5px 4px!important;font-size:9px!important;line-height:1.45;gap:3px;flex-wrap:wrap}
 html .calendar-panel .calendar-event .event-title{flex-basis:100%}
 html .calendar-panel .mobile-event-dots{display:none!important}
 html .calendar-panel .month-grid{grid-auto-rows:minmax(72px,auto)}
 html .calendar-panel .calendar-day{padding:5px 3px}
}
@media print{
 html .calendar-panel .period-schedule,html .calendar-panel .schedule-hour,html .calendar-panel .schedule-allday{height:auto!important;max-height:none!important;overflow:visible!important}
}


/* Calendar: flat cards and one distinct side stripe. Scoped views use priority;
   Vista general uses the company's assigned color. */
html .calendar-panel .calendar-event:not(.overdue),
html[data-aleph-theme] .calendar-panel .calendar-event:not(.overdue){
  background:var(--ap-surface,var(--card,#fff))!important;
  color:var(--ap-ink,var(--ink))!important;
  border-left:4px solid var(--event-color,#64748b)!important;
  border-top:1px solid var(--ap-line,var(--line))!important;
  border-right:1px solid var(--ap-line,var(--line))!important;
  border-bottom:1px solid var(--ap-line,var(--line))!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  transition:background .16s ease,border-color .16s ease!important;
}
html .calendar-panel .calendar-event:not(.overdue):hover,
html[data-aleph-theme] .calendar-panel .calendar-event:not(.overdue):hover{
  background:var(--ap-wash,var(--soft))!important;
  filter:none!important;
  box-shadow:none!important;
}
html .calendar-panel .compact-task:not(.overdue),
html[data-aleph-theme] .calendar-panel .compact-task:not(.overdue),
html[data-aleph-theme] .schedule-hour .compact-task:not(.overdue){
  background:var(--ap-surface,var(--card,#fff))!important;
  border-left:4px solid var(--event-color,#64748b)!important;
  padding:9px 11px!important;
  margin:4px 0!important;
  border-radius:5px!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html .calendar-panel .calendar-company-label{
  display:inline-block;
  flex:none;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font:750 9px/1.5 var(--ap-calendarFont,var(--sans));
  color:var(--ap-ink,var(--ink));
  letter-spacing:.035em;
}
html .calendar-panel .calendar-event .calendar-company-label{font-size:9px;flex:0 1 auto}
html .calendar-panel .compact-task .calendar-company-label{margin-left:6px;vertical-align:middle}
html .calendar-panel .compact-task .compact-task-main>.calendar-company-label{display:inline;font-weight:750;color:var(--ap-ink,var(--ink));font-size:10px}
html .calendar-panel .compact-task .compact-task-main .agenda-badge{display:inline-flex;vertical-align:middle;margin:0}
html .calendar-panel .calendar-event .event-title{flex-basis:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
html .calendar-panel .calendar-event{align-content:start;align-items:center;gap:3px 5px}
/* Keep overdue tasks as full red cards, distinct from the priority stripe. */
html .calendar-panel .calendar-event.overdue,
html .calendar-panel .compact-task.overdue{background:#b91c2d!important;color:#fff!important;border-color:#b91c2d!important;box-shadow:none!important}
html .calendar-panel .calendar-event.overdue .calendar-company-label,
html .calendar-panel .compact-task.overdue .calendar-company-label{color:#fff!important}
@media(max-width:660px){html .calendar-panel .calendar-event .calendar-company-label{font-size:8px}}


html:not([data-aleph-mode="server"]) #mfa-settings{display:none!important}
html[data-aleph-mode="server"] #setup-form:not([hidden]),html[data-aleph-mode="server"] #activation-form:not([hidden]),html[data-aleph-mode="server"] #password-form:not([hidden]),html[data-aleph-mode="server"] #create-user-form:not([hidden]),html[data-aleph-mode="server"] #permission-form:not([hidden]){display:block!important}
html[data-aleph-mode="server"] #logout:not([hidden]),html[data-aleph-mode="server"] #nav-personal:not([hidden]),html[data-aleph-mode="server"] #tab-users:not([hidden]),html[data-aleph-mode="server"] #tab-permissions:not([hidden]){display:inline-flex!important}
html[data-aleph-mode="server"] #admin-users:not([hidden]),html[data-aleph-mode="server"] #admin-permissions:not([hidden]),html[data-aleph-mode="server"] #task-assignee:not([hidden]){display:block!important}
.mfa-secret{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#eef3f5;color:#152c3a;border:1px solid #a5b7c3;font-family:monospace}
#mfa-panel .button,#mfa-recovery-output .button{margin-top:10px}#mfa-panel .text-button{margin-top:12px}

.juan-task-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.juan-task-control .button{font-size:11px;min-height:32px;padding:7px 10px}.juan-status{font-size:11px;line-height:1.6;color:var(--muted)}.task-juan-slot{padding:0 24px 18px}.task-juan-slot:empty{display:none}#progress-juan-slot:empty{display:none}#google-juan-account{overflow-wrap:anywhere}#google-juan-status{white-space:pre-line}#juan-summary{overflow-wrap:anywhere}#juan-dialog .help-text{margin:12px 0;line-height:1.8}#juan-dialog .help-text strong{font-weight:500;overflow-wrap:anywhere}#juan-dialog .dialog-footer{flex-wrap:wrap}#google-juan-panel[hidden],#auth-screen[hidden],[data-app][hidden]{display:none!important}@media(max-width:600px){.task-juan-slot{padding:0 18px 15px}.juan-task-control .button{max-width:100%;white-space:normal}}

/* Automatic assistance fits the existing light/dark workspace. */
#assistance-home{width:min(880px,calc(100vw - 28px));max-height:90vh}#assistance-home .dialog-body{overflow:auto}.assistance-intro{line-height:1.6;font-size:13px}.assistance-filters{display:flex;gap:16px;justify-content:space-between;align-items:end;flex-wrap:wrap;margin:20px 0}.assistance-tabs{display:flex;gap:6px;flex-wrap:wrap}.assistance-tabs [aria-pressed=true]{outline:2px solid currentColor;outline-offset:1px}.assistance-filters .field{min-width:180px;max-width:260px}.assistance-list{display:grid;gap:14px}.assistance-finding{padding:18px;border:1px solid var(--border,#d8dde0);border-left:4px solid #768797;border-radius:12px;background:var(--panel,var(--surface,#fff));overflow-wrap:anywhere}.assistance-finding[data-severity=high]{border-left-color:#c3444d}.assistance-finding[data-severity=medium]{border-left-color:#b38b22}.assistance-finding h3{font-size:17px;margin:8px 0}.assistance-kind{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:700}.assistance-finding p{font-size:13px;line-height:1.55}.assistance-proposal{font-weight:600}.assistance-evidence{padding:10px 0}.assistance-evidence summary,.assistance-advanced summary{cursor:pointer;font-size:12px;font-weight:600}.assistance-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.assistance-empty{padding:24px 16px;border:1px dashed var(--border,#d8dde0);border-radius:12px}.assistance-advanced{margin-top:22px;padding-top:18px;border-top:1px solid var(--border,#d8dde0)}.assistance-advanced .button{margin:5px 5px 0 0}
html[data-aleph-theme=night] .assistance-finding{background:#1e252b;color:#e9eef2;border-color:#43505a}html[data-aleph-theme=night] .assistance-finding[data-severity=high]{border-left-color:#ef7b83}html[data-aleph-theme=night] .assistance-finding[data-severity=medium]{border-left-color:#e0ba55}
@media(max-width:600px){.assistance-filters{align-items:stretch}.assistance-filters .field{max-width:100%;width:100%}.assistance-finding{padding:14px}}

.assistance-how{font-size:12px;margin:8px 0 16px}.assistance-how summary{cursor:pointer;font-weight:600}.assistance-how p{line-height:1.5}


html .red-atlas .red-assistance-section{margin:18px 0;padding:0 12px 3px;border:1px solid #66513a;border-radius:9px;background:#ffcf8609}
html .red-atlas .red-assistance-section h5{color:#f3c88b;margin:13px 0 3px}
html .red-atlas .red-assistance-section .red-assistance-item{border-color:#514638;text-align:start;gap:9px}
html .red-atlas .red-assistance-section .red-assistance-item:last-child{border-bottom:0}
html .red-atlas .red-assistance-section div.red-assistance-item{cursor:default}
html .red-atlas .red-assistance-section .red-assistance-item>.red-assistance-mark{flex:0 0 18px;width:18px;height:18px;margin-top:2px;border:1px solid #dca65d;border-radius:50%;display:grid;place-items:center;color:#ffcf86;font-size:11px;line-height:1;font-weight:700}
html .red-atlas .red-assistance-section [data-severity="high"] .red-assistance-mark{border-color:#e6978e;color:#ffaca2}
html .red-atlas .red-assistance-item:focus-visible{outline:2px solid #ffcf86;outline-offset:3px;border-radius:3px}
html .red-atlas[data-red-theme="day"] .red-assistance-section{border-color:#d9bd91;background:#fff9ef}
html .red-atlas[data-red-theme="day"] .red-assistance-section h5{color:#86520b}
html .red-atlas[data-red-theme="day"] .red-assistance-section .red-assistance-item{border-color:#e3d4be}
html .red-atlas[data-red-theme="day"] .red-assistance-section .red-assistance-item>.red-assistance-mark{border-color:#ab782d;color:#86520b}
html .red-atlas[data-red-theme="day"] .red-assistance-section [data-severity="high"] .red-assistance-mark{border-color:#a22d22;color:#a22d22}
html .red-atlas[data-red-theme="day"] .red-assistance-item:focus-visible{outline-color:#86520b}


/* ALEPH_V17_STARTUP_RECOVERY: legacy local styles hide the authentication panel.
   It is also the non-destructive startup error panel, so honor its hidden state. */
html:not([data-aleph-mode="server"]) #auth-screen:not([hidden]){display:grid!important}
html:not([data-aleph-mode="server"]) #auth-screen .auth-footnote{display:none}

html.aleph-server-origin #aleph-gate-local{display:none!important;pointer-events:none!important}

/* ALEPH · acceso esencial. No modifica las pantallas operativas. */
.aleph-entry-gate{background:#0a1822;padding:24px}
.aleph-gate-layout{display:block;width:min(426px,100%);min-height:0;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 20px 75px #0006}
.aleph-gate-login{padding:35px 38px 38px;display:flex;flex-direction:column;justify-content:center}
.aleph-gate-login .aleph-gate-brand{display:flex;align-items:center;gap:11px;margin:0 0 30px;color:#17394f;font-size:19px;letter-spacing:.16em;font-weight:850}
.aleph-gate-login .aleph-gate-symbol{width:43px;height:43px;border:1px solid #c4d8e6;border-radius:9px;color:#234d65;background:#edf4f7}
.aleph-gate-login .aleph-gate-symbol img.aleph-logo{filter:none!important;width:33px!important;height:33px!important;max-height:33px!important;mix-blend-mode:normal!important}
.aleph-gate-login h1{font-size:24px;font-weight:800;letter-spacing:-.03em;color:#152f42;line-height:1.3;margin:0 0 19px}
#aleph-gate-form{gap:7px}
#aleph-gate-form label{font-size:11px;margin-top:9px;font-weight:700;color:#365267}
#aleph-gate-form label small{font-size:10px;color:#778b99}
#aleph-gate-form input{min-height:44px;border-color:#c7d5df;border-radius:7px}
.aleph-gate-submit{justify-content:center;gap:10px;margin-top:23px;min-height:45px;font-weight:750;background:#173d57}
.aleph-gate-submit span{margin-left:auto;position:absolute;right:14px}
.aleph-gate-submit{position:relative}
.aleph-gate-local{display:flex;align-items:center;justify-content:center;width:100%;min-height:39px;margin-top:9px;background:transparent;border:1px solid #d4e0e8;color:#537085;font-size:11px;letter-spacing:.04em;text-transform:none;font-weight:700}
.aleph-gate-local:hover{background:#f2f7fa;color:#193d55}
#aleph-gate-local[hidden],#aleph-gate-local:disabled,html[data-aleph-mode="server"] #aleph-gate-local{display:none!important;pointer-events:none!important}
@media(max-width:800px){.aleph-gate-layout{grid-template-columns:none;max-width:426px}.aleph-gate-login{padding:32px 28px}.aleph-gate-login h1{font-size:24px;margin:0 0 18px}}
@media(max-width:420px){.aleph-entry-gate{padding:16px}.aleph-gate-layout{border-radius:12px;min-height:0}.aleph-gate-login{padding:30px 24px}}
