/* Organiza Space 1.2 — adaptive visual system */
:root {
  --org-bg: #f4f5fa;
  --org-panel: #ffffff;
  --org-panel-2: #f0f1f7;
  --org-text: #171725;
  --org-muted: #737386;
  --org-line: #e4e5ec;
  --org-purple: #725cff;
  --org-purple-2: #9a8aff;
  --org-sidebar: #171623;
  --org-shadow: 0 14px 38px rgba(30, 26, 62, .08);
  --org-radius: 22px;
}

.org-app.dark {
  --org-bg: #111119;
  --org-panel: #1b1a26;
  --org-panel-2: #242330;
  --org-text: #f8f7ff;
  --org-muted: #aaa7bb;
  --org-line: #302e3d;
  --org-sidebar: #0c0b12;
  --org-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.org-app,
.organiza-login {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
}

.org-app {
  width: 100%;
  min-width: 0;
  min-height: 100dvh;
  grid-template-columns: 282px minmax(0, 1fr);
  background:
    radial-gradient(circle at 72% -20%, rgba(114, 92, 255, .09), transparent 36%),
    var(--org-bg);
}

.org-sidebar {
  width: 282px;
  padding: 28px 20px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0, rgba(124, 103, 255, .22), transparent 30%),
    var(--org-sidebar);
  border-right: 0;
}

.org-brand {
  min-height: 52px;
  padding: 0 10px 26px;
  gap: 14px;
}

.org-brand .org-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  font-family: inherit;
  font-size: 23px;
  box-shadow: 0 12px 25px rgba(114, 92, 255, .34);
}

.org-brand strong {
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.25;
}

.org-brand small { color: rgba(255, 255, 255, .55); line-height: 1.3; }

.org-space-switch {
  min-height: 42px;
  margin: 0 0 25px;
  padding: 4px;
  gap: 3px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .07);
}

.org-space-switch button {
  min-width: 0;
  padding: 8px 6px;
  color: rgba(255, 255, 255, .52);
  line-height: 1.2;
}

.org-space-switch button.active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.org-nav { gap: 7px; }

.org-nav-item {
  width: 100%;
  min-height: 48px;
  padding: 7px 11px;
  gap: 13px;
  color: rgba(255, 255, 255, .62);
  border-radius: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.org-nav-item .dashicons {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .05);
  font-size: 17px;
  line-height: 34px;
}

.org-nav-item:hover,
.org-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.org-nav-item.active .dashicons {
  color: #fff;
  background: linear-gradient(135deg, #725cff, #9b73ff);
  box-shadow: 0 7px 18px rgba(114, 92, 255, .35);
}

.org-sidebar-bottom { gap: 5px; }
.org-sidebar-bottom .org-nav-item { color: rgba(255, 255, 255, .55); }

.org-user {
  min-height: 60px;
  margin-top: 14px;
  padding: 17px 9px 0;
  gap: 12px;
  border-color: rgba(255, 255, 255, .09);
}

.org-user .org-avatar { width: 40px; height: 40px; flex-basis: 40px; }
.org-user strong { color: #fff; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.org-user small { color: rgba(255, 255, 255, .45); font-size: 10px; }

.org-shell { grid-column: 2; width: 100%; min-width: 0; }

.org-topbar {
  height: 84px;
  padding: 0 clamp(28px, 3vw, 54px);
  gap: 26px;
  background: color-mix(in srgb, var(--org-bg) 88%, transparent);
  border-color: color-mix(in srgb, var(--org-line) 70%, transparent);
}

.org-search {
  flex: 1 1 680px;
  width: min(680px, 58vw);
  max-width: 680px;
  min-width: 210px;
  height: 46px;
  padding: 0 15px;
  gap: 11px;
  border-radius: 15px;
  box-shadow: 0 6px 24px rgba(28, 22, 49, .04);
}

.organiza-login-wrap {
  background:
    radial-gradient(circle at 18% 15%, rgba(114, 92, 255, .24), transparent 31%),
    radial-gradient(circle at 86% 82%, rgba(46, 189, 140, .17), transparent 30%),
    #f4f5fa;
}

.organiza-login {
  border-radius: 28px;
  padding: 43px;
  box-shadow: 0 28px 80px rgba(35, 27, 68, .16);
}

.organiza-login input { min-height: 48px; padding: 12px 14px; }
.organiza-login button { min-height: 48px; border-radius: 13px; background: linear-gradient(135deg, #725cff, #9365ff); }

.org-search input { min-width: 0; font-size: 14px; line-height: 1.4; }
.org-search kbd { flex: 0 0 auto; }
.org-top-actions { flex: 0 0 auto; gap: 11px; }

.org-primary,
.org-soft-btn {
  min-height: 42px;
  padding: 10px 17px;
  gap: 8px;
  border-radius: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.org-primary { background: linear-gradient(135deg, #725cff, #8d60ff); }

.org-icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
}

.org-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(30px, 3vw, 48px) clamp(28px, 3.6vw, 64px) 110px;
}

.org-page-head {
  min-height: 80px;
  margin-bottom: 31px;
  gap: 30px;
}

.org-page-head > div { min-width: 0; }
.org-page-head h1,
.org-page-head.compact h1 {
  margin-top: 6px;
  margin-bottom: 7px;
  font-family: inherit;
  font-size: clamp(29px, 2.45vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.org-page-head p { max-width: 680px; font-size: 15px; line-height: 1.55; }
.org-page-head.compact h1 { margin-left: 11px; }
.org-page-icon { width: 38px; height: 38px; border-radius: 12px; vertical-align: 5px; }

.org-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.45vw, 24px);
}

.org-card {
  min-width: 0;
  padding: clamp(21px, 1.8vw, 29px);
  border-radius: var(--org-radius);
  box-shadow: 0 5px 22px rgba(35, 27, 68, .035);
}

.org-card h2 { margin: 6px 0 20px; font-family: inherit; font-size: clamp(18px, 1.4vw, 23px); line-height: 1.3; }
.org-focus { grid-column: span 6; min-height: 226px; }
.org-stat { grid-column: span 2; min-height: 226px; display: flex; flex-direction: column; justify-content: center; }
.org-stat strong { margin: 16px 0 3px; font-family: inherit; font-size: clamp(30px, 2.4vw, 42px); line-height: 1; }
.org-stat p { font-size: 14px; line-height: 1.4; }
.org-stat small { display: block; margin-top: 4px; line-height: 1.4; }
.org-stat-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .42); }
.org-upcoming { grid-column: span 7; min-height: 310px; }
.org-capture { grid-column: span 5; min-height: 310px; padding: clamp(24px, 2vw, 34px); }
.org-capture > div:first-child { max-width: 310px; }
.org-capture-actions { min-width: 230px; gap: 11px; }
.org-capture-actions button { min-height: 48px; padding: 11px 14px; line-height: 1.25; }
.org-capture-actions b { display: inline-grid; place-items: center; width: 23px; height: 23px; }

.org-agenda-row {
  min-height: 60px;
  grid-template-columns: 44px minmax(0, 1fr) 8px;
  gap: 14px;
  padding: 10px 3px;
}

.org-agenda-row > span:nth-child(2) { min-width: 0; }
.org-agenda-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.35; }
.org-agenda-row small { margin-top: 3px; line-height: 1.35; }

.org-progress { height: 11px; margin-top: 4px; }
.org-progress-meta { margin: 12px 0 18px; }

.org-toolbar { min-height: 48px; margin-bottom: 21px; gap: 16px; }
.org-chips { min-width: 0; padding-bottom: 3px; gap: 9px; }
.org-chips button,
.org-toolbar select,
.org-calendar-controls button,
.org-calendar-controls select { min-height: 38px; padding: 8px 13px; line-height: 1.2; }

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(15px, 1.35vw, 22px);
}

.org-item-card { min-height: 250px; border-radius: 20px; overflow: hidden; }
.org-item-main { padding: 22px; }
.org-item-card h3 { margin: 18px 30px 9px 0; font-family: inherit; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.org-item-card p { min-height: 48px; line-height: 1.55; overflow-wrap: anywhere; }
.org-tags { min-height: 25px; margin: 15px 0; flex-wrap: wrap; gap: 6px; }
.org-tags span { max-width: 100%; padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-item-card footer { min-height: 37px; gap: 10px; padding-top: 13px; line-height: 1.25; }
.org-item-card footer > * { min-width: 0; }
.org-more { top: 59px; right: 16px; padding: 8px; }

.org-calendar-controls { min-height: 48px; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.org-calendar-controls h2 { min-width: 190px; font-family: inherit; line-height: 1.3; }
.org-calendar { border-radius: 21px; box-shadow: 0 7px 26px rgba(35, 27, 68, .035); }
.org-weekdays b { padding: 13px 10px; }
.org-day { min-height: clamp(118px, 9.3vw, 155px); padding: 10px; }
.org-day button { min-height: 25px; margin-top: 3px; padding: 5px 4px; border-radius: 6px; line-height: 1.3; }

.org-file-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 17px; }
.org-file-card { min-height: 84px; padding: 20px; border-radius: 18px; align-content: center; }
.org-settings-grid { grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr)); gap: 18px; }
.org-setting-card { min-height: 112px; padding: 22px; gap: 17px; border-radius: 20px; }
.org-setting-card h3 { margin-bottom: 6px; line-height: 1.35; }
.org-setting-card p { line-height: 1.5; overflow-wrap: anywhere; }

.org-modal-card { width: min(690px, 94vw); padding: 40px; }
.org-form-head { min-height: 55px; margin-bottom: 29px; gap: 15px; }
.org-form-head h2 { font-family: inherit; line-height: 1.25; }
.org-form-row { gap: 17px; }
.org-form-row.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px; }
.org-app label { margin-bottom: 18px; line-height: 1.35; }
.org-app label input,
.org-app label textarea,
.org-app label select,
#org-ai-form textarea { min-height: 46px; margin-top: 7px; padding: 12px 13px; line-height: 1.45; }
.org-app label textarea { min-height: 155px; resize: vertical; }
.org-form-actions { min-height: 64px; margin-top: 17px; padding-top: 20px; gap: 11px; }

/* Summary */
.org-summary-head { align-items: center; }
.org-period-pill { flex: 0 0 auto; padding: 11px 15px; border: 1px solid var(--org-line); border-radius: 14px; color: var(--org-muted); background: var(--org-panel); text-transform: capitalize; box-shadow: 0 5px 18px rgba(35, 27, 68, .04); }
.org-period-pill span { margin-right: 7px; color: #2ebd8c; }
.org-summary-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.3vw, 21px); margin-bottom: clamp(17px, 1.5vw, 24px); }
.org-summary-stat { min-width: 0; min-height: 132px; padding: 21px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--org-line); border-radius: 20px; background: var(--org-panel); box-shadow: 0 5px 22px rgba(35, 27, 68, .035); }
.org-summary-stat > span { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; border-radius: 15px; font-size: 20px; font-weight: 800; }
.org-summary-stat.purple > span { color: #654bec; background: #e7e0ff; }
.org-summary-stat.blue > span { color: #2678d8; background: #dcecff; }
.org-summary-stat.orange > span { color: #c56e35; background: #ffe8d8; }
.org-summary-stat.green > span { color: #168860; background: #d9f6e9; }
.org-summary-stat > div { min-width: 0; }
.org-summary-stat small { display: block; color: var(--org-muted); line-height: 1.25; }
.org-summary-stat strong { display: block; margin: 6px 0 2px; font-size: clamp(24px, 2vw, 32px); line-height: 1; }
.org-summary-stat p { margin: 0; color: var(--org-muted); font-size: 11px; line-height: 1.3; }
.org-summary-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 23px); }
.org-summary-layout > .org-card { margin: 0; }
.org-progress-card { grid-column: span 7; }
.org-space-card { grid-column: span 5; }
.org-summary-upcoming { grid-column: span 7; }
.org-category-card { grid-column: span 5; }
.org-recent-card { grid-column: 1 / -1; }
.org-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.org-section-title h2 { margin: 5px 0 0; }
.org-section-title button { flex: 0 0 auto; padding: 6px 0; border: 0; color: var(--org-purple); background: transparent; font-weight: 700; }
.org-progress-visual { min-height: 210px; display: flex; align-items: center; justify-content: center; gap: clamp(35px, 5vw, 82px); }
.org-progress-ring { width: 160px; height: 160px; flex: 0 0 160px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--org-purple) var(--progress), var(--org-panel-2) 0); position: relative; }
.org-progress-ring::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--org-panel); }
.org-progress-ring span { z-index: 1; text-align: center; }
.org-progress-ring strong, .org-progress-ring small { display: block; }
.org-progress-ring strong { font-size: 30px; line-height: 1.1; }
.org-progress-ring small { color: var(--org-muted); }
.org-progress-legend { max-width: 290px; }
.org-progress-legend > div { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.org-progress-legend i { width: 11px; height: 11px; border-radius: 4px; }
.org-progress-legend i.done { background: var(--org-purple); }
.org-progress-legend i.open { background: var(--org-panel-2); border: 1px solid var(--org-line); }
.org-progress-legend span { color: var(--org-muted); }
.org-progress-legend span b { color: var(--org-text); font-size: 17px; margin-right: 4px; }
.org-progress-legend p { margin: 18px 0 0; color: var(--org-muted); line-height: 1.55; }
.org-space-total { min-height: 118px; display: grid; place-content: center; text-align: center; border-radius: 17px; background: linear-gradient(135deg, rgba(114,92,255,.12), rgba(63,140,255,.09)); }
.org-space-total strong { font-size: 37px; line-height: 1.1; }
.org-space-total span { color: var(--org-muted); }
.org-space-bars, .org-category-bars { margin-top: 24px; }
.org-space-bars > div, .org-category-bars > div { margin-top: 16px; }
.org-space-bars span, .org-category-bars span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.org-space-bars em, .org-category-bars em { color: var(--org-muted); font-style: normal; }
.org-space-bars i, .org-category-bars i { display: block; height: 8px; overflow: hidden; border-radius: 8px; background: var(--org-panel-2); }
.org-space-bars u, .org-category-bars u { display: block; height: 100%; border-radius: inherit; text-decoration: none; }
.org-space-bars > div:first-child u { background: linear-gradient(90deg, #ff9f67, #ffc08c); }
.org-space-bars > div:last-child u { background: linear-gradient(90deg, #725cff, #9a8aff); }
.org-category-bars u { background: var(--bar); }
.org-summary-list { display: grid; gap: 2px; }
.org-summary-list > button { min-height: 61px; display: grid; grid-template-columns: 43px minmax(0, 1fr) 8px; align-items: center; gap: 13px; padding: 8px 3px; border: 0; border-top: 1px solid var(--org-line); color: var(--org-text); background: transparent; text-align: left; }
.org-summary-list > button:first-child { border-top: 0; }
.org-summary-list > button > span:nth-child(2) { min-width: 0; }
.org-summary-list strong, .org-summary-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.35; }
.org-summary-list small { margin-top: 3px; color: var(--org-muted); }
.org-summary-list > button > i { width: 7px; height: 7px; border-radius: 50%; }
.org-summary-date { width: 41px; height: 43px; display: grid; place-content: center; border-radius: 11px; background: var(--org-panel-2); text-align: center; line-height: 1; }
.org-summary-date b { font-size: 14px; }
.org-summary-date small { margin-top: 3px; font-size: 8px; text-transform: uppercase; }
.org-activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.org-activity-grid button { min-width: 0; min-height: 66px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px; border: 1px solid transparent; border-radius: 13px; color: var(--org-text); background: var(--org-bg); text-align: left; }
.org-activity-grid button:hover { border-color: var(--org-line); background: var(--org-panel-2); }
.org-activity-grid button > span:nth-child(2) { min-width: 0; }
.org-activity-grid strong, .org-activity-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.35; }
.org-activity-grid small { color: var(--org-muted); margin-top: 3px; }
.org-activity-grid em { padding: 4px 7px; border-radius: 7px; color: var(--org-muted); background: var(--org-panel); font-size: 9px; font-style: normal; }

/* Large desktop */
@media (min-width: 1540px) {
  .org-app { grid-template-columns: 300px minmax(0, 1fr); }
  .org-sidebar { width: 300px; padding-left: 24px; padding-right: 24px; }
  .org-main { padding-left: 72px; padding-right: 72px; }
  .org-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Compact desktop and landscape tablet */
@media (min-width: 761px) and (max-width: 1350px) {
  .org-app { grid-template-columns: 232px minmax(0, 1fr); }
  .org-sidebar { width: 232px; padding: 23px 14px 20px; }
  .org-brand { padding-left: 8px; }
  .org-space-switch button { font-size: 10px; }
  .org-main { padding: 30px 28px 100px; }
  .org-topbar { padding: 0 28px; }
  .org-focus { grid-column: span 12; }
  .org-stat { grid-column: span 4; min-height: 165px; }
  .org-upcoming, .org-capture { grid-column: span 6; }
  .org-capture { display: block; }
  .org-capture-actions { margin-top: 20px; min-width: 0; }
  .org-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-progress-card, .org-space-card, .org-summary-upcoming, .org-category-card { grid-column: span 6; }
  .org-progress-visual { gap: 25px; }
  .org-progress-ring { width: 130px; height: 130px; flex-basis: 130px; }
  .org-activity-grid { grid-template-columns: 1fr; }
}

/* Portrait tablet: drawer navigation and wide content */
@media (min-width: 761px) and (max-width: 900px) {
  .org-app { display: block; }
  .org-sidebar { width: 280px; transform: translateX(-105%); transition: transform .24s ease; box-shadow: 28px 0 70px rgba(16, 13, 28, .34); }
  .org-app.menu-open .org-sidebar { transform: translateX(0); }
  .org-menu, .org-mobile-close { display: grid; }
  .org-shell { width: 100%; }
  .org-search { width: min(570px, 68vw); }
  .org-main { padding-left: 32px; padding-right: 32px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --org-radius: 20px; }
  .org-app {
    display: block;
    min-height: 100dvh;
    background:
      radial-gradient(circle at 105% 5%, rgba(114, 92, 255, .18), transparent 30%),
      radial-gradient(circle at -10% 45%, rgba(46, 189, 140, .09), transparent 28%),
      var(--org-bg);
  }
  .organiza-login-wrap { min-height: 100dvh; padding: 16px; align-items: end; }
  .organiza-login { width: 100%; padding: 29px 22px calc(29px + env(safe-area-inset-bottom)); border-radius: 26px; }
  .organiza-login h1 { font-size: 31px; }
  .org-sidebar {
    width: min(310px, 88vw);
    padding: 25px 18px;
    transform: translateX(-105%);
    box-shadow: 28px 0 70px rgba(16, 13, 28, .42);
  }
  .org-app.menu-open::after { content: ""; position: fixed; z-index: 29; inset: 0; background: rgba(15, 12, 24, .42); backdrop-filter: blur(3px); }
  .org-app.menu-open .org-sidebar { z-index: 31; transform: translateX(0); }
  .org-menu, .org-mobile-close { display: grid; }
  .org-topbar {
    height: 70px;
    padding: 0 14px;
    gap: 9px;
    background: color-mix(in srgb, var(--org-bg) 78%, transparent);
  }
  .org-search { height: 43px; margin: 0; padding: 0 12px; flex: 1; width: auto; min-width: 0; border-radius: 14px; }
  .org-search input { font-size: 13px; }
  .org-search kbd { display: none; }
  .org-top-actions { gap: 7px; }
  .org-top-actions .org-icon-btn { display: none; }
  .org-top-actions .org-primary { display: grid; width: 43px; height: 43px; min-height: 43px; padding: 0; border-radius: 14px; }
  .org-top-actions .org-primary > span:last-child { display: none; }
  .org-main { padding: 24px 14px 118px; overflow-x: hidden; }
  .org-page-head { min-height: 0; margin-bottom: 22px; align-items: flex-start; gap: 14px; }
  .org-page-head h1, .org-page-head.compact h1 { margin: 5px 0 6px; font-size: clamp(27px, 8vw, 34px); line-height: 1.08; }
  .org-page-head.compact h1 { margin-left: 8px; }
  .org-page-head p { max-width: 270px; font-size: 13px; line-height: 1.45; }
  .org-page-head > button { min-height: 39px; padding: 8px 11px; }
  .org-eyebrow, .org-kicker { font-size: 9px; letter-spacing: .11em; }
  .org-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .org-card { margin: 0; padding: 18px; border-radius: 20px; box-shadow: 0 8px 25px rgba(35, 27, 68, .06); }
  .org-focus, .org-upcoming, .org-capture { grid-column: 1 / -1; min-height: auto; }
  .org-focus { padding: 22px; background: linear-gradient(145deg, var(--org-panel), color-mix(in srgb, var(--org-panel) 83%, #e6e0ff)); }
  .org-stat, .org-stat:nth-of-type(4) { grid-column: auto; width: auto; min-height: 148px; margin: 0; display: flex; }
  .org-stat:nth-of-type(4) { grid-column: 1 / -1; min-height: 118px; }
  .org-stat strong { font-size: 32px; }
  .org-upcoming { padding: 20px; }
  .org-capture { display: block; padding: 22px; }
  .org-capture > div:first-child { max-width: none; }
  .org-capture-actions { min-width: 0; margin-top: 17px; gap: 9px; }
  .org-capture-actions button { min-width: 0; min-height: 49px; padding: 10px; }
  .org-agenda-row { min-height: 63px; }
  .org-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .org-chips { width: 100%; margin: 0 -14px; padding: 0 14px 5px; }
  .org-toolbar select { width: 100%; max-width: none; }
  .org-grid, .org-file-grid, .org-settings-grid { grid-template-columns: 1fr; gap: 13px; }
  .org-item-card { min-height: 222px; }
  .org-item-main { padding: 19px; }
  .org-calendar-controls { flex-wrap: wrap; gap: 7px; }
  .org-calendar-controls h2 { flex: 1; min-width: 140px; font-size: 17px; }
  .org-calendar-controls select { flex: 1; min-width: 120px; margin: 0; }
  .org-calendar { margin: 0 -14px; border-right: 0; border-left: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x proximity; }
  .org-weekdays, .org-calendar-grid { min-width: 735px; }
  .org-day { min-height: 110px; }
  .org-setting-card { min-height: 0; padding: 18px; align-items: flex-start; gap: 13px; }
  .org-setting-card > div { min-width: 180px; }
  .org-setting-card > a, .org-setting-card > button, .org-setting-card > span:last-child { margin-left: 57px; }
  .org-modal-card { width: 100%; top: 4vh; padding: 28px 17px 100px; border-radius: 25px 25px 0 0; }
  .org-form-head { margin-bottom: 22px; }
  .org-form-head .org-save-state { margin-right: 30px; max-width: 90px; text-align: right; line-height: 1.25; }
  .org-form-row, .org-form-row.three { grid-template-columns: 1fr; gap: 0; }
  .org-form-actions { position: sticky; bottom: -100px; z-index: 2; margin: 15px -17px -100px; padding: 14px 17px 25px; background: color-mix(in srgb, var(--org-panel) 92%, transparent); backdrop-filter: blur(15px); }
  .org-mobile-nav {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 70px;
    padding: 0 7px;
    border: 1px solid color-mix(in srgb, var(--org-line) 75%, transparent);
    border-radius: 23px;
    background: color-mix(in srgb, var(--org-panel) 88%, transparent);
    box-shadow: 0 17px 45px rgba(25, 18, 52, .19);
  }
  .org-mobile-nav button { min-width: 50px; min-height: 53px; gap: 4px; border-radius: 15px; }
  .org-mobile-nav button.active { color: var(--org-purple); background: rgba(114, 92, 255, .09); }
  .org-mobile-nav .dashicons { font-size: 20px; }
  .org-mobile-nav small { font-size: 9px; line-height: 1; }
  .org-mobile-nav .org-mobile-create { width: 54px; height: 54px; min-width: 54px; min-height: 54px; margin-top: -29px; border: 5px solid var(--org-bg); border-radius: 19px; background: linear-gradient(135deg, #725cff, #a260ff); box-shadow: 0 10px 24px rgba(114, 92, 255, .45); }
  .org-ai-orb { right: 16px; bottom: 94px; width: 49px; height: 49px; border-radius: 17px; }
  .org-toast { width: calc(100% - 32px); bottom: 96px; text-align: center; }
  .org-summary-head { display: block; }
  .org-period-pill { display: inline-flex; margin-top: 15px; padding: 9px 12px; }
  .org-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .org-summary-stat { min-height: 142px; padding: 16px; display: block; }
  .org-summary-stat > span { width: 39px; height: 39px; margin-bottom: 13px; border-radius: 12px; font-size: 17px; }
  .org-summary-stat strong { font-size: 26px; }
  .org-summary-layout { display: block; }
  .org-summary-layout > .org-card { margin-bottom: 12px; }
  .org-section-title { gap: 12px; margin-bottom: 15px; }
  .org-section-title button { font-size: 11px; }
  .org-progress-visual { min-height: 0; display: grid; grid-template-columns: 122px 1fr; gap: 21px; justify-content: stretch; }
  .org-progress-ring { width: 122px; height: 122px; flex-basis: 122px; }
  .org-progress-ring::after { inset: 12px; }
  .org-progress-ring strong { font-size: 24px; }
  .org-progress-legend p { display: none; }
  .org-progress-legend > div { margin-bottom: 10px; }
  .org-space-total { min-height: 100px; }
  .org-activity-grid { grid-template-columns: 1fr; gap: 7px; }
  .org-activity-grid button { grid-template-columns: 38px minmax(0, 1fr); }
  .org-activity-grid em { display: none; }
}

@media (max-width: 380px) {
  .org-main { padding-left: 11px; padding-right: 11px; }
  .org-search .dashicons { display: none; }
  .org-page-head p { max-width: 235px; }
  .org-card { padding: 16px; }
  .org-summary-stats { grid-template-columns: 1fr 1fr; }
  .org-summary-stat { padding: 14px; }
  .org-progress-visual { grid-template-columns: 108px 1fr; gap: 14px; }
  .org-progress-ring { width: 108px; height: 108px; }
}

/* 1.4 — Apple-inspired connection centre and icon system */
.org-app {
  --org-bg: #f5f5f7;
  --org-panel-2: #f0f0f3;
  --org-line: rgba(25, 25, 30, .09);
  --org-purple: #5e5ce6;
  --org-purple-2: #7d7aff;
  background: radial-gradient(circle at 78% -15%, rgba(94, 92, 230, .09), transparent 34%), var(--org-bg);
}
.org-app.dark {
  --org-bg: #0f0f11;
  --org-panel: #1c1c1e;
  --org-panel-2: #2c2c2e;
  --org-line: rgba(255,255,255,.1);
  --org-purple: #7d7aff;
}
.org-svg-icon { width: 20px; height: 20px; display: block; flex: 0 0 auto; }
.org-nav-item > .org-svg-icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: rgba(255,255,255,.68);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  box-sizing: border-box;
}
.org-nav-item.active > .org-svg-icon {
  color: #fff;
  background: linear-gradient(145deg, #7775ff, #5e5ce6);
  box-shadow: 0 7px 18px rgba(94,92,230,.34);
}
.org-search > .org-svg-icon { width: 18px; height: 18px; color: var(--org-muted); }
.org-icon-btn .org-svg-icon { width: 19px; height: 19px; }
.org-primary .org-svg-icon, .org-soft-btn .org-svg-icon { width: 17px; height: 17px; }
.org-page-icon .org-svg-icon { width: 19px; height: 19px; }
.org-topbar { backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); }
.org-primary { background: #5e5ce6; box-shadow: 0 8px 22px rgba(94,92,230,.24); }
.org-primary:hover { background: #4d4bd4; }
.org-card, .org-item-card, .org-calendar, .org-summary-stat, .org-setting-card { box-shadow: 0 1px 1px rgba(0,0,0,.02), 0 12px 34px rgba(0,0,0,.035); }

.org-settings-hero {
  min-height: 310px;
  margin: -6px 0 22px;
  padding: clamp(34px,4vw,58px);
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr);
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(242,242,247,.9));
  box-shadow: 0 24px 70px rgba(42,42,55,.08);
}
.org-app.dark .org-settings-hero { border-color: rgba(255,255,255,.07); background: linear-gradient(135deg,#242427,#171719); }
.org-settings-hero::after { content:""; position:absolute; width:420px; height:420px; right:-180px; top:-210px; border-radius:50%; background:radial-gradient(circle,rgba(94,92,230,.22),rgba(94,92,230,0) 68%); }
.org-settings-hero > div:first-child { z-index:1; max-width:760px; }
.org-hero-icon { width:46px; height:46px; margin-bottom:24px; display:grid; place-items:center; color:#fff; border-radius:14px; background:#1c1c1e; box-shadow:0 10px 24px rgba(0,0,0,.14); }
.org-hero-icon .org-svg-icon { width:22px; height:22px; }
.org-settings-hero h1 { margin:8px 0 14px; font-size:clamp(37px,4.4vw,64px); line-height:1.02; letter-spacing:-.055em; font-weight:760; }
.org-settings-hero p { max-width:670px; margin:0; color:var(--org-muted); font-size:clamp(14px,1.35vw,18px); line-height:1.62; }
.org-sync-orbit { width:250px; height:250px; justify-self:center; position:relative; display:grid; place-items:center; border:1px solid rgba(94,92,230,.16); border-radius:50%; background:radial-gradient(circle,rgba(94,92,230,.1),transparent 62%); }
.org-sync-orbit::before { content:""; position:absolute; inset:35px; border:1px dashed rgba(94,92,230,.25); border-radius:50%; animation:orgOrbit 18s linear infinite; }
@keyframes orgOrbit { to { transform:rotate(360deg); } }
.org-orbit-center { width:78px; height:78px; display:grid; place-items:center; z-index:2; border-radius:25px; color:#fff; background:linear-gradient(145deg,#7775ff,#4d4bd4); font-size:34px; font-weight:800; box-shadow:0 18px 40px rgba(94,92,230,.3); }
.org-sync-orbit > i { width:52px; height:52px; position:absolute; display:grid; place-items:center; border:1px solid rgba(0,0,0,.06); border-radius:17px; background:#fff; box-shadow:0 12px 30px rgba(0,0,0,.12); font-size:21px; font-style:normal; font-weight:800; }
.org-sync-orbit > i.google { top:25px; left:26px; color:#4285f4; }
.org-sync-orbit > i.microsoft { right:20px; bottom:37px; color:#0878d1; }
.org-sync-orbit > small { position:absolute; bottom:14px; padding:5px 10px; color:var(--org-muted); border:1px solid var(--org-line); border-radius:999px; background:var(--org-panel); font-size:10px; font-weight:700; }
.org-sync-toolbar { min-height:76px; margin:0 0 18px; padding:14px 18px 14px 22px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid var(--org-line); border-radius:20px; background:color-mix(in srgb,var(--org-panel) 88%,transparent); backdrop-filter:blur(18px); }
.org-sync-toolbar strong,.org-sync-toolbar small { display:block; }
.org-sync-toolbar strong { margin-bottom:3px; font-size:15px; }
.org-sync-toolbar small { color:var(--org-muted); }
.org-connection-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.org-sync-card { min-width:0; min-height:390px; padding:28px; position:relative; overflow:hidden; border:1px solid var(--org-line); border-radius:28px; background:var(--org-panel); box-shadow:0 18px 50px rgba(25,25,35,.055); }
.org-sync-card::after { content:""; position:absolute; width:250px; height:250px; right:-140px; top:-150px; pointer-events:none; border-radius:50%; background:var(--provider-glow); }
.org-sync-card.google { --provider:#4285f4; --provider-glow:radial-gradient(circle,rgba(66,133,244,.13),transparent 70%); }
.org-sync-card.microsoft { --provider:#0078d4; --provider-glow:radial-gradient(circle,rgba(0,120,212,.14),transparent 70%); }
.org-sync-card.is-connected { border-color:color-mix(in srgb,var(--provider) 24%,var(--org-line)); }
.org-sync-card-top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.org-provider-mark { width:55px; height:55px; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:3px; padding:12px; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.09); box-sizing:border-box; }
.org-provider-mark i { display:block; border-radius:2px; }
.org-provider-mark.google i:nth-child(1){background:#4285f4}.org-provider-mark.google i:nth-child(2){background:#ea4335}.org-provider-mark.google i:nth-child(3){background:#fbbc05}.org-provider-mark.google i:nth-child(4){background:#34a853}
.org-provider-mark.microsoft i:nth-child(1){background:#f25022}.org-provider-mark.microsoft i:nth-child(2){background:#7fba00}.org-provider-mark.microsoft i:nth-child(3){background:#00a4ef}.org-provider-mark.microsoft i:nth-child(4){background:#ffb900}
.org-status-pill { padding:6px 10px; border-radius:999px; color:var(--org-muted); background:var(--org-panel-2); font-size:10px; font-weight:750; }
.org-status-pill.connected { color:#187c54; background:#e2f7ed; }
.org-app.dark .org-status-pill.connected { color:#69d3a5; background:rgba(48,209,88,.14); }
.org-sync-card-copy { margin:24px 0 20px; }
.org-sync-card-copy h2 { margin:6px 0 9px; font-size:clamp(23px,2vw,29px); line-height:1.12; letter-spacing:-.035em; }
.org-sync-card-copy p { min-height:45px; margin:0; color:var(--org-muted); line-height:1.55; }
.org-account-row { min-height:65px; padding:10px 12px; display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:11px; border-radius:17px; background:var(--org-panel-2); }
.org-account-row > span { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; color:#fff; background:var(--provider); font-weight:800; }
.org-account-row strong,.org-account-row small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-account-row small { color:var(--org-muted); }
.org-account-row > .org-svg-icon { width:20px; height:20px; color:#30a46c; }
.org-account-row em { color:#d97706; font-size:10px; font-style:normal; font-weight:700; }
.org-sync-meta { margin:15px 2px 19px; display:flex; justify-content:space-between; gap:16px; color:var(--org-muted); font-size:11px; }
.org-sync-meta strong { color:var(--org-text); font-weight:650; text-align:right; }
.org-sync-actions { display:flex; align-items:center; gap:9px; }
.org-sync-actions .org-primary { flex:1; }
.org-connect-copy { min-height:68px; margin:28px 0 20px; padding:13px; display:flex; align-items:center; gap:12px; border-radius:17px; color:var(--org-muted); background:var(--org-panel-2); }
.org-connect-copy > span { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; color:var(--provider); border-radius:12px; background:var(--org-panel); }
.org-connect-copy p { margin:0; line-height:1.45; }
.org-connect-button { width:100%; min-height:48px; }
.org-connect-button .org-svg-icon { margin-left:auto; }
.org-setup-needed { margin-top:28px; padding:16px; border:1px solid #f1d6a8; border-radius:17px; background:#fff8ea; }
.org-app.dark .org-setup-needed { border-color:rgba(255,159,10,.25); background:rgba(255,159,10,.08); }
.org-setup-needed span { color:#9a6411; font-weight:750; }
.org-setup-needed p { margin:5px 0 0; color:var(--org-muted); line-height:1.45; }
.org-settings-section { margin-top:34px; }
.org-section-heading { margin-bottom:16px; }
.org-section-heading h2 { margin:5px 0 0; font-size:24px; letter-spacing:-.03em; }
.org-setting-card.apple { min-height:118px; border-radius:22px; box-shadow:none; }
.org-setting-card.apple .org-connection-logo { color:#fff; background:#ff9f0a; }
.org-setting-card.apple .org-connection-logo.ai { background:#af52de; }
.org-setting-card.apple .org-connection-logo.secure { background:#30b36b; }
.org-setting-card.apple .org-svg-icon { width:21px; height:21px; }
.org-setting-card.security > small { margin-left:auto; color:#168653; font-weight:700; }

.org-head-actions { display:flex; align-items:center; gap:10px; }
.org-calendar-status { min-height:54px; margin:-13px 0 18px; padding:10px 15px; display:flex; align-items:center; gap:9px; overflow:hidden; border:1px solid var(--org-line); border-radius:16px; background:var(--org-panel); }
.org-calendar-status > span { display:flex; align-items:center; gap:7px; margin-right:4px; font-weight:700; }
.org-calendar-status > span .org-svg-icon { width:17px; height:17px; color:#2ba66e; }
.org-calendar-status > i { padding:5px 9px; border-radius:999px; font-size:10px; font-style:normal; font-weight:700; white-space:nowrap; }
.org-calendar-status > i.google { color:#276ec2; background:#e8f1ff; }
.org-calendar-status > i.microsoft { color:#0068aa; background:#e4f4ff; }
.org-calendar-status > small { margin-left:auto; color:var(--org-muted); white-space:nowrap; }
.org-calendar-controls button,.org-calendar-controls select { border-radius:12px; }
.org-calendar { border-radius:24px; }
.org-day { transition:background .16s ease; }
.org-day:hover:not(.muted) { background:color-mix(in srgb,var(--org-purple) 4%,var(--org-panel)); }

@media (max-width: 1050px) {
  .org-settings-hero { grid-template-columns:minmax(0,1fr) 220px; }
  .org-sync-orbit { width:210px; height:210px; }
  .org-connection-grid { grid-template-columns:1fr; }
  .org-sync-card { min-height:350px; }
}

@media (max-width: 760px) {
  .org-nav-item > .org-svg-icon { width:34px; height:34px; }
  .org-mobile-nav .org-svg-icon { width:20px; height:20px; }
  .org-settings-hero { min-height:0; margin:-5px 0 14px; padding:28px 21px; display:block; border-radius:25px; }
  .org-settings-hero h1 { font-size:35px; }
  .org-settings-hero p { font-size:13px; }
  .org-hero-icon { margin-bottom:20px; }
  .org-sync-orbit { width:180px; height:180px; margin:27px auto 0; }
  .org-orbit-center { width:64px; height:64px; border-radius:21px; font-size:28px; }
  .org-sync-orbit > i { width:44px; height:44px; border-radius:14px; font-size:17px; }
  .org-sync-toolbar { align-items:flex-start; flex-direction:column; padding:17px; }
  .org-sync-toolbar .org-primary { width:100%; }
  .org-connection-grid { gap:12px; }
  .org-sync-card { min-height:0; padding:21px; border-radius:23px; }
  .org-sync-card-copy p { min-height:0; }
  .org-sync-actions { align-items:stretch; flex-direction:column; }
  .org-sync-actions .org-primary,.org-sync-actions .org-text-btn { width:100%; }
  .org-settings-section { margin-top:27px; }
  .org-setting-card.apple > a,.org-setting-card.apple > button { width:100%; margin:10px 0 0; }
  .org-setting-card.security > small { margin:10px 0 0 57px; }
  .org-calendar-head { display:block; }
  .org-head-actions { margin-top:16px; }
  .org-head-actions > * { flex:1; }
  .org-calendar-status { margin-top:-7px; overflow-x:auto; }
  .org-calendar-status > span,.org-calendar-status > small { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .org-sync-orbit::before { animation:none; }
}

/*
 * Theme isolation.
 * Block themes often force every shortcode child into their editorial
 * content width. The application is a full-screen workspace, so it must
 * establish its own viewport and scroll container.
 */
body.organiza-app-active {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.organiza-app-active #organiza-app.org-app {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  width: 100vw !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

body.organiza-app-active #organiza-app .org-shell {
  width: 100% !important;
  min-width: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

body.organiza-app-active #organiza-app .org-topbar,
body.organiza-app-active #organiza-app .org-main,
body.organiza-app-active #organiza-app #org-content,
body.organiza-app-active #organiza-app .org-bento,
body.organiza-app-active #organiza-app .org-summary-stats,
body.organiza-app-active #organiza-app .org-summary-layout,
body.organiza-app-active #organiza-app .org-grid {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.organiza-app-active #organiza-app .org-main {
  margin: 0 !important;
  padding: clamp(30px, 3vw, 48px) clamp(28px, 3.6vw, 64px) 110px !important;
}

body.organiza-app-active #organiza-app .org-bento > *,
body.organiza-app-active #organiza-app .org-summary-stats > *,
body.organiza-app-active #organiza-app .org-summary-layout > *,
body.organiza-app-active #organiza-app .org-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (min-width: 761px) and (max-width: 900px) {
  body.organiza-app-active #organiza-app .org-main {
    padding: 30px 32px 105px !important;
  }
}

@media (max-width: 760px) {
  body.organiza-app-active #organiza-app .org-shell {
    scrollbar-gutter: auto;
  }

  body.organiza-app-active #organiza-app .org-main {
    padding: 24px 14px 118px !important;
  }
}

@media (max-width: 380px) {
  body.organiza-app-active #organiza-app .org-main {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }
}

/* 1.5 — mobile web app experience */
.org-mobile-heading,
.org-drawer-scrim,
.org-mobile-agenda,
.org-mobile-appearance,
.org-mobile-assistant { display: none; }

@media (max-width: 760px) {
  html { background: var(--org-bg); }
  body.organiza-app-active { position: fixed; inset: 0; overscroll-behavior: none; }
  body.organiza-app-active #organiza-app.org-app {
    --org-mobile-width: 560px;
    width: 100% !important;
    max-width: 100% !important;
    background:
      radial-gradient(circle at 95% -5%, rgba(94,92,230,.17), transparent 28%),
      linear-gradient(180deg, #f8f8fb 0, var(--org-bg) 36%);
  }
  .org-app.dark { background: linear-gradient(180deg,#17171b 0,var(--org-bg) 38%); }

  /* App bar */
  .org-topbar {
    height: auto;
    min-height: calc(116px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) 14px 11px;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 44px;
    grid-template-areas:
      "menu title actions"
      "search search search";
    gap: 9px 10px;
    align-content: center;
    border-bottom: 1px solid color-mix(in srgb,var(--org-line) 68%,transparent);
    background: color-mix(in srgb,var(--org-bg) 82%,transparent);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
  }
  .org-menu { grid-area: menu; width: 44px; height: 44px; border-radius: 14px; }
  .org-mobile-heading {
    grid-area: title;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .org-mobile-heading > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg,#7775ff,#5e5ce6);
    box-shadow: 0 7px 17px rgba(94,92,230,.3);
    font-size: 15px;
    font-weight: 850;
  }
  .org-mobile-heading strong { overflow: hidden; font-size: 16px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
  .org-search {
    grid-area: search;
    width: 100%;
    height: 45px;
    min-width: 0;
    margin: 0;
    padding: 0 14px;
    gap: 10px;
    border: 0;
    border-radius: 15px;
    background: color-mix(in srgb,var(--org-panel) 94%,transparent);
    box-shadow: 0 5px 22px rgba(31,28,48,.07), inset 0 0 0 1px var(--org-line);
  }
  .org-search input { min-width: 0; font-size: 16px; text-align: left; }
  .org-search .org-svg-icon { width: 19px; height: 19px; }
  .org-top-actions { grid-area: actions; width: 44px; display: block; }
  .org-top-actions .org-primary { width: 44px; height: 44px; min-height: 44px; border-radius: 14px; box-shadow: 0 8px 20px rgba(94,92,230,.28); }
  .org-top-actions .org-primary .org-svg-icon { width: 21px; height: 21px; }
  .org-top-actions .org-icon-btn { display: none; }

  /* Drawer */
  .org-sidebar {
    width: min(326px,88vw);
    padding: calc(22px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 0 28px 28px 0;
    box-shadow: 30px 0 80px rgba(10,8,20,.38);
  }
  .org-brand { padding-bottom: 19px; }
  .org-space-switch { position: sticky; top: -1px; z-index: 2; margin-bottom: 18px; backdrop-filter: blur(14px); }
  .org-nav { gap: 4px; }
  .org-nav-item { min-height: 48px; border-radius: 14px; }
  .org-sidebar-bottom { margin-top: 22px; }
  .org-mobile-appearance,.org-mobile-assistant { display: flex; }
  .org-drawer-scrim {
    position: fixed;
    z-index: 29;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: rgba(12,10,21,.46);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity .22s ease, visibility .22s ease;
  }
  .org-app.menu-open .org-drawer-scrim { visibility: visible; opacity: 1; }
  .org-app.menu-open::after { display: none; }
  .org-app.menu-open .org-mobile-nav,
  .org-app.menu-open .org-ai-orb { visibility: hidden; opacity: 0; pointer-events: none; }

  /* Centered mobile canvas */
  body.organiza-app-active #organiza-app .org-shell { scroll-padding-bottom: 120px; }
  body.organiza-app-active #organiza-app .org-main {
    width: min(100%,var(--org-mobile-width)) !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 22px 14px calc(120px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
  }
  #org-content { overflow: visible; }
  .org-page-head,
  .org-page-head.compact {
    min-height: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .org-page-head > div { width: 100%; min-width: 0; }
  .org-page-head h1,
  .org-page-head.compact h1 { margin: 7px 0 6px; font-size: clamp(28px,8.4vw,36px); line-height: 1.06; letter-spacing: -.045em; }
  .org-page-head.compact h1 { display: block; margin-left: 0; }
  .org-page-head p { max-width: 340px; margin-inline: auto; font-size: 13px; line-height: 1.5; }
  .org-page-icon { width: 43px; height: 43px; margin: 0 auto; border-radius: 14px; vertical-align: 0; }
  .org-page-icon .org-svg-icon { width: 22px; height: 22px; }
  .org-page-head > button { width: 100%; min-height: 46px; }
  .org-eyebrow,.org-kicker { font-size: 9px; letter-spacing: .13em; }

  /* Dashboard */
  .org-bento { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
  .org-focus,.org-upcoming,.org-capture { grid-column: 1/-1; }
  .org-stat,.org-stat:nth-of-type(4) {
    grid-column: span 2;
    width: auto;
    min-width: 0;
    min-height: 132px;
    margin: 0;
    padding: 14px 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 19px;
  }
  .org-stat-icon { width: 34px; height: 34px; }
  .org-stat-icon .org-svg-icon { width: 18px; height: 18px; }
  .org-stat strong { margin: 11px 0 2px; font-size: 29px; }
  .org-stat p { font-size: 12px; }
  .org-stat small { max-width: 92px; margin-top: 2px; font-size: 9px; line-height: 1.25; }
  .org-card { min-width: 0; padding: 19px; border-radius: 22px; }
  .org-focus { padding: 22px; text-align: left; }
  .org-focus .org-card-head { text-align: left; }
  .org-upcoming { padding: 19px; }
  .org-agenda-row { min-height: 65px; grid-template-columns: 43px minmax(0,1fr) 7px; gap: 11px; }
  .org-capture { padding: 22px; text-align: center; }
  .org-capture h2 { margin-bottom: 7px; }
  .org-capture-actions { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 18px; gap: 9px; }
  .org-capture-actions button { min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; }

  /* Collections and filters */
  .org-toolbar { margin-bottom: 14px; gap: 9px; }
  .org-chips { width: calc(100% + 28px); margin-inline: -14px; padding: 1px 14px 7px; scroll-padding-inline: 14px; scrollbar-width: none; }
  .org-chips::-webkit-scrollbar { display: none; }
  .org-chips button { min-height: 40px; flex: 0 0 auto; border-radius: 999px; }
  .org-toolbar select { min-height: 46px; padding-inline: 14px; border-radius: 14px; font-size: 16px; }
  .org-grid,.org-file-grid,.org-settings-grid { grid-template-columns: 1fr; gap: 11px; }
  .org-item-card { min-height: 0; border-radius: 21px; }
  .org-item-main { min-height: 205px; padding: 19px; }
  .org-item-card h3 { margin-top: 14px; font-size: 18px; }
  .org-item-card p { min-height: 0; }
  .org-more { top: 54px; right: 12px; min-width: 44px; min-height: 44px; }
  .org-file-card { min-height: 78px; padding: 17px; text-align: left; }

  /* Summary */
  .org-summary-head { align-items: center; }
  .org-period-pill { margin-top: 1px; }
  .org-summary-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .org-summary-stat { min-height: 146px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 20px; }
  .org-summary-stat > span { margin: 0 0 10px; }
  .org-summary-stat strong { font-size: 28px; }
  .org-summary-layout > .org-card { margin-bottom: 11px; }
  .org-section-title { align-items: center; }
  .org-progress-visual { grid-template-columns: 116px minmax(0,1fr); gap: 18px; }
  .org-progress-ring { width: 116px; height: 116px; }
  .org-progress-legend { min-width: 0; text-align: left; }
  .org-space-card,.org-category-card { text-align: left; }

  /* A native-looking agenda list replaces the desktop month grid. */
  .org-calendar-head { align-items: center; }
  .org-head-actions { width: 100%; margin-top: 2px; }
  .org-head-actions > * { min-height: 46px; }
  .org-calendar-status { width: 100%; margin: -5px 0 14px; padding: 9px; justify-content: center; border-radius: 15px; scrollbar-width: none; }
  .org-calendar-status::-webkit-scrollbar { display: none; }
  .org-calendar-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) minmax(0,1fr) 46px;
    gap: 8px;
    margin-bottom: 13px;
  }
  .org-calendar-controls > button { min-height: 44px; padding: 8px; border-radius: 14px; }
  .org-calendar-controls h2 { grid-column: 2/4; min-width: 0; margin: 0; display: grid; place-items: center; font-size: 18px; text-align: center; }
  .org-calendar-controls > button:nth-of-type(3) { grid-column: 1/-1; }
  .org-calendar-controls select { min-width: 0; min-height: 44px; margin: 0; padding: 8px 11px; border-radius: 13px; font-size: 15px; text-align: center; }
  .org-calendar-controls select:first-of-type { grid-column: 1/3; }
  .org-calendar-controls select:last-of-type { grid-column: 3/5; }
  .org-calendar { display: none; }
  .org-mobile-agenda { display: block; }
  .org-mobile-agenda-title { margin: 18px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
  .org-mobile-agenda-title h2 { margin: 4px 0 0; font-size: 19px; line-height: 1.25; }
  .org-mobile-agenda-title .org-primary { min-height: 44px; padding-inline: 13px; }
  .org-mobile-agenda-list { overflow: hidden; border: 1px solid var(--org-line); border-radius: 23px; background: var(--org-panel); box-shadow: 0 12px 34px rgba(24,22,35,.05); }
  .org-mobile-agenda-row { width: 100%; min-height: 76px; padding: 10px 14px; display: grid; grid-template-columns: 48px minmax(0,1fr) 8px; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--org-line); color: var(--org-text); background: transparent; text-align: left; }
  .org-mobile-agenda-row:first-child { border-top: 0; }
  .org-mobile-agenda-row > span:nth-child(2) { min-width: 0; }
  .org-mobile-agenda-row strong,.org-mobile-agenda-row > span:nth-child(2) small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .org-mobile-agenda-row > span:nth-child(2) small { margin-top: 4px; color: var(--org-muted); font-size: 11px; }
  .org-mobile-agenda-row > i { width: 8px; height: 8px; border-radius: 50%; background: var(--event); }
  .org-mobile-date { width: 46px; min-height: 53px; padding: 6px; display: grid; place-content: center; border-radius: 14px; background: var(--org-panel-2); text-align: center; text-transform: capitalize; }
  .org-mobile-date small { color: var(--org-muted); font-size: 9px; line-height: 1; }
  .org-mobile-date b { margin-top: 4px; font-size: 19px; line-height: 1; }
  .org-mobile-empty { padding: 39px 20px; display: grid; justify-items: center; text-align: center; }
  .org-mobile-empty > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 16px; background: #fff1cf; font-size: 23px; }
  .org-mobile-empty p { margin: 5px 0 0; color: var(--org-muted); }

  /* Settings */
  .org-settings-hero { margin: 0 0 12px; padding: 26px 20px; text-align: center; border-radius: 25px; }
  .org-settings-hero > div:first-child { display: grid; justify-items: center; }
  .org-settings-hero h1 { max-width: 330px; margin-inline: auto; font-size: clamp(31px,9vw,39px); }
  .org-settings-hero p { max-width: 335px; margin-inline: auto; }
  .org-hero-icon { margin-bottom: 18px; }
  .org-sync-orbit { width: 158px; height: 158px; margin-top: 24px; }
  .org-sync-orbit::before { inset: 27px; }
  .org-orbit-center { width: 57px; height: 57px; border-radius: 19px; font-size: 24px; }
  .org-sync-orbit > i { width: 39px; height: 39px; border-radius: 13px; }
  .org-sync-orbit > i.google { top: 15px; left: 17px; }
  .org-sync-orbit > i.microsoft { right: 12px; bottom: 27px; }
  .org-sync-orbit > small { bottom: 7px; }
  .org-sync-toolbar { align-items: center; padding: 17px; text-align: center; border-radius: 20px; }
  .org-sync-card { padding: 20px; border-radius: 23px; text-align: left; }
  .org-sync-card-copy { margin-top: 20px; }
  .org-account-row { min-width: 0; }
  .org-sync-meta { align-items: flex-start; }
  .org-setting-card,.org-setting-card.apple { padding: 18px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; text-align: left; }
  .org-setting-card > div { min-width: 0; }
  .org-setting-card > a,.org-setting-card > button,.org-setting-card > span:last-child,
  .org-setting-card.apple > a,.org-setting-card.apple > button,
  .org-setting-card.security > small { grid-column: 1/-1; width: 100%; min-height: 44px; margin: 8px 0 0; }
  .org-section-heading { text-align: center; }

  /* Bottom sheet editors */
  .org-modal { z-index: 100; display: flex; align-items: flex-end; }
  .org-modal[hidden] { display: none; }
  .org-modal-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: 94dvh;
    padding: 30px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    transform: translateY(105%);
    box-shadow: 0 -24px 65px rgba(15,12,25,.26);
  }
  .org-modal.open .org-modal-card { transform: translateY(0); }
  .org-modal-x { top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 13px; }
  .org-form-head { min-height: 52px; margin: 0 42px 23px 0; gap: 11px; }
  .org-form-head h2 { font-size: 22px; }
  .org-form-head .org-save-state { margin: 0 0 0 auto; max-width: 80px; }
  .org-form-row,.org-form-row.three { grid-template-columns: 1fr; gap: 0; }
  .org-app label { margin-bottom: 14px; font-size: 12px; }
  .org-app label input,.org-app label textarea,.org-app label select,#org-ai-form textarea { min-height: 48px; padding: 12px 13px; border-radius: 13px; font-size: 16px; }
  .org-app label textarea { min-height: 132px; }
  .org-form-actions { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); margin: 17px -16px calc(-20px - env(safe-area-inset-bottom)); padding: 12px 16px calc(13px + env(safe-area-inset-bottom)); gap: 8px; background: color-mix(in srgb,var(--org-panel) 94%,transparent); }
  .org-form-actions .org-primary,.org-form-actions .org-soft-btn { min-height: 45px; }
  #org-ai-form { grid-template-columns: 1fr; }
  #org-ai-form .org-primary { min-height: 46px; }
  .org-chat { height: 52dvh; }

  /* Bottom navigation */
  .org-mobile-nav {
    z-index: 70;
    left: 50%;
    right: auto;
    bottom: max(8px,env(safe-area-inset-bottom));
    width: min(calc(100% - 20px),540px);
    height: 72px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    border-radius: 24px;
    background: color-mix(in srgb,var(--org-panel) 91%,transparent);
    box-shadow: 0 16px 48px rgba(20,17,37,.2), inset 0 0 0 1px color-mix(in srgb,var(--org-line) 72%,transparent);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
  }
  .org-mobile-nav button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 56px;
    padding: 6px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 17px;
  }
  .org-mobile-nav button.active { color: var(--org-purple); background: rgba(94,92,230,.1); }
  .org-mobile-nav .org-svg-icon { width: 21px; height: 21px; }
  .org-mobile-nav small { font-size: 9px; font-weight: 700; line-height: 1; }
  .org-mobile-nav .org-mobile-create {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    margin: -26px 4px 0;
    padding: 0;
    border: 5px solid var(--org-bg);
    border-radius: 19px;
  }
  .org-mobile-nav .org-mobile-create .org-svg-icon { width: 24px; height: 24px; }
  .org-ai-orb { display: none; }
  .org-toast { width: min(calc(100% - 28px),520px); bottom: calc(94px + env(safe-area-inset-bottom)); border-radius: 14px; }
}

@media (max-width: 410px) {
  body.organiza-app-active #organiza-app .org-main { padding-inline: 11px !important; }
  .org-page-head h1,.org-page-head.compact h1 { font-size: 29px; }
  .org-stat,.org-stat:nth-of-type(4) { min-height: 124px; padding-inline: 7px; }
  .org-stat small { display: none; }
  .org-summary-stat { min-height: 135px; padding: 13px 8px; }
  .org-summary-stat p { max-width: 125px; }
  .org-progress-visual { grid-template-columns: 1fr; justify-items: center; }
  .org-progress-legend { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .org-progress-legend > div { margin: 0; padding: 10px; border-radius: 12px; background: var(--org-panel-2); }
  .org-mobile-agenda-title { align-items: flex-end; }
  .org-mobile-agenda-title h2 { font-size: 17px; }
  .org-mobile-agenda-title .org-primary { padding-inline: 11px; }
  .org-sync-card-top { gap: 10px; }
  .org-status-pill { text-align: center; }
  .org-form-head .org-save-state { display: none; }
}

/* 1.6 — notebooks, tailored editors, files, voice notes and calendar views */
.org-note-grid,.org-notebook-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:20px; }
.org-notebook-grid { grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),390px)); justify-content:start; }
.org-note-card { min-width:0; min-height:320px; }
.org-note-paper { width:100%; height:100%; min-height:320px; padding:25px 24px 20px; position:relative; overflow:hidden; display:flex; flex-direction:column; border:1px solid color-mix(in srgb,var(--note) 22%,var(--org-line)); border-radius:23px; color:var(--org-text); background:repeating-linear-gradient(180deg,var(--org-panel) 0,var(--org-panel) 31px,color-mix(in srgb,var(--note) 11%,transparent) 32px); box-shadow:0 14px 38px rgba(30,28,45,.06); text-align:left; transition:transform .22s ease,box-shadow .22s ease; }
.org-note-paper::before { content:""; width:7px; position:absolute; inset:0 auto 0 0; background:var(--note); }
.org-note-paper:hover { transform:translateY(-5px) rotate(-.25deg); box-shadow:0 22px 55px rgba(30,28,45,.12); }
.org-note-card-top { min-height:27px; display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--org-muted); font-size:10px; }
.org-note-card-top em { max-width:60%; display:flex; align-items:center; gap:5px; overflow:hidden; color:var(--note); font-style:normal; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.org-note-card-top .org-svg-icon { width:15px; height:15px; }
.org-note-paper h2 { margin:15px 0 9px; font-size:22px; line-height:1.18; letter-spacing:-.03em; }
.org-note-paper > p { min-height:96px; margin:0 0 14px; color:var(--org-muted); line-height:1.65; }
.org-note-paper footer { margin-top:auto; padding-top:16px; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.org-note-paper footer > i { flex:0 0 auto; color:var(--note); font-size:11px; font-style:normal; font-weight:750; }
.org-note-tags { display:flex; flex-wrap:wrap; gap:6px; }
.org-note-tags span { padding:5px 8px; border-radius:999px; color:color-mix(in srgb,var(--note) 78%,#171725); background:color-mix(in srgb,var(--note) 13%,var(--org-panel)); font-size:10px; font-weight:700; }

.org-notebook { min-width:0; min-height:430px; position:relative; perspective:1100px; }
.org-notebook-cover { width:100%; height:100%; min-height:430px; padding:31px 28px 24px 39px; position:relative; overflow:hidden; display:flex; flex-direction:column; border:0; border-radius:10px 29px 29px 10px; color:#fff; background:linear-gradient(145deg,color-mix(in srgb,var(--book) 94%,#fff),color-mix(in srgb,var(--book) 72%,#10101a)); box-shadow:8px 14px 35px color-mix(in srgb,var(--book) 30%,transparent),inset 12px 0 0 rgba(0,0,0,.13),inset 14px 0 0 rgba(255,255,255,.12); text-align:left; transform-origin:left center; transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease; }
.org-notebook-cover::after { content:""; position:absolute; width:240px; height:240px; right:-100px; top:-100px; border-radius:50%; background:rgba(255,255,255,.1); }
.org-notebook-cover:hover { transform:rotateY(-4deg) translateY(-5px); box-shadow:15px 23px 48px color-mix(in srgb,var(--book) 38%,transparent),inset 12px 0 0 rgba(0,0,0,.13); }
.org-book-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:18px; color:var(--book); background:#fff; box-shadow:0 10px 25px rgba(0,0,0,.14); }
.org-book-icon .org-svg-icon { width:25px; height:25px; }
.org-notebook-cover > .org-kicker { margin-top:22px; color:rgba(255,255,255,.68); }
.org-notebook-cover h2 { margin:7px 0 9px; color:#fff; font-size:28px; line-height:1.1; letter-spacing:-.04em; }
.org-notebook-cover > p { min-height:44px; margin:0 0 20px; color:rgba(255,255,255,.76); line-height:1.5; }
.org-book-previews { display:grid; gap:7px; }
.org-book-previews > span { min-width:0; padding:9px 11px; display:grid; border-radius:11px; background:rgba(255,255,255,.1); }
.org-book-previews b,.org-book-previews small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-book-previews b { font-size:11px; }
.org-book-previews small { margin-top:2px; color:rgba(255,255,255,.62); font-size:9px; }
.org-notebook-cover footer { margin-top:auto; padding-top:20px; display:flex; justify-content:space-between; color:rgba(255,255,255,.78); }
.org-notebook-cover footer em { font-style:normal; font-weight:750; }
.org-book-edit { position:absolute; z-index:2; right:17px; top:17px; width:42px; height:42px; border:0; border-radius:13px; color:#fff; background:rgba(0,0,0,.16); backdrop-filter:blur(10px); }

.org-notebook-detail > header { margin-bottom:22px; padding:28px; display:grid; grid-template-columns:1fr auto; gap:24px; border-radius:28px; color:#fff; background:linear-gradient(135deg,color-mix(in srgb,var(--book) 92%,#fff),color-mix(in srgb,var(--book) 68%,#111)); box-shadow:0 20px 55px color-mix(in srgb,var(--book) 25%,transparent); }
.org-notebook-detail > header > .org-soft-btn { grid-column:1/-1; width:max-content; color:#fff; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.12); }
.org-notebook-title { min-width:0; display:flex; align-items:center; gap:18px; }
.org-notebook-title .org-kicker { color:rgba(255,255,255,.62); }
.org-notebook-title h1 { margin:5px 0; color:#fff; font-size:clamp(31px,4vw,52px); line-height:1; letter-spacing:-.05em; }
.org-notebook-title p { max-width:700px; margin:0; color:rgba(255,255,255,.72); }
.org-notebook-detail .org-head-actions { align-self:center; }
.org-notebook-detail .org-head-actions .org-soft-btn { color:#fff; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.12); }
.org-notebook-summary { margin:0 0 20px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.org-notebook-summary span { min-height:77px; padding:13px; display:grid; place-content:center; border:1px solid var(--org-line); border-radius:18px; background:var(--org-panel); color:var(--org-muted); text-align:center; }
.org-notebook-summary b { color:var(--book); font-size:25px; line-height:1; }
.org-notebook-pages { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr)); gap:18px; }

.org-attachment-strip { margin:0 0 20px; padding:14px; display:flex; gap:9px; overflow-x:auto; border:1px solid var(--org-line); border-radius:18px; background:var(--org-panel); scrollbar-width:none; }
.org-attachment-strip::-webkit-scrollbar { display:none; }
.org-attachment-strip > a { flex:0 0 auto; display:flex; color:inherit; text-decoration:none; }
.org-attachment-strip.compact { min-height:58px; margin:3px 0 10px; padding:7px; border:0; background:color-mix(in srgb,var(--note,var(--org-purple)) 8%,var(--org-panel)); }
.org-attachment-strip img { width:78px; height:60px; flex:0 0 auto; border-radius:11px; object-fit:cover; }
.org-attachment-strip.compact img { width:54px; height:43px; }
.org-attachment-strip > span,.org-attachment-strip > a > span { max-width:210px; min-height:49px; padding:8px 10px; display:flex; align-items:center; gap:8px; border-radius:11px; background:var(--org-panel-2); }
.org-attachment-strip > span .org-svg-icon,.org-attachment-strip > a > span .org-svg-icon { width:18px; height:18px; flex:0 0 18px; color:var(--org-purple); }
.org-attachment-strip > span b,.org-attachment-strip > a > span b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }

.org-voice-list { display:grid; gap:13px; }
.org-voice-card { min-width:0; min-height:112px; padding:15px 58px 15px 15px; position:relative; display:grid; grid-template-columns:minmax(300px,.8fr) minmax(260px,1.2fr); align-items:center; gap:18px; overflow:hidden; border:1px solid color-mix(in srgb,var(--voice) 20%,var(--org-line)); border-radius:24px; background:var(--org-panel); box-shadow:0 10px 30px rgba(30,28,45,.05); }
.org-voice-card::before { content:""; width:5px; position:absolute; inset:0 auto 0 0; background:var(--voice); }
.org-voice-main { min-width:0; padding:0; display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:15px; border:0; color:var(--org-text); background:transparent; text-align:left; }
.org-voice-main > span:nth-child(2) { min-width:0; }
.org-voice-main small,.org-voice-main strong,.org-voice-main em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-voice-main small { color:var(--org-muted); font-size:10px; }
.org-voice-main strong { margin:3px 0; font-size:18px; }
.org-voice-main em { color:var(--voice); font-size:10px; font-style:normal; }
.org-voice-orb,.org-recorder-orb { position:relative; display:grid; place-items:center; color:#fff; border-radius:21px; background:linear-gradient(145deg,var(--voice,#af52de),color-mix(in srgb,var(--voice,#af52de) 65%,#431272)); box-shadow:0 10px 25px color-mix(in srgb,var(--voice,#af52de) 35%,transparent); }
.org-voice-orb { width:60px; height:60px; }
.org-voice-orb .org-svg-icon,.org-recorder-orb .org-svg-icon { z-index:2; }
.org-voice-orb i,.org-recorder-orb i { width:4px; position:absolute; bottom:12px; border-radius:3px; background:rgba(255,255,255,.7); animation:orgWave 1.15s ease-in-out infinite; }
.org-voice-orb i:nth-of-type(1),.org-recorder-orb i:nth-of-type(1){left:13px;height:10px}.org-voice-orb i:nth-of-type(2),.org-recorder-orb i:nth-of-type(2){left:20px;height:16px;animation-delay:.14s}.org-voice-orb i:nth-of-type(3),.org-recorder-orb i:nth-of-type(3){left:27px;height:8px;animation-delay:.28s}
@keyframes orgWave { 50% { transform:scaleY(.35); opacity:.45; } }
.org-voice-card audio { width:100%; height:42px; }
.org-voice-card > .org-more { top:34px; }
.org-audio-missing { color:var(--org-muted); text-align:center; }

.org-calendar-modes { width:max-content; margin:0 0 15px; padding:4px; display:flex; gap:3px; border:1px solid var(--org-line); border-radius:14px; background:var(--org-panel-2); }
.org-calendar-modes button { min-width:92px; min-height:38px; padding:7px 14px; border:0; border-radius:10px; color:var(--org-muted); background:transparent; font-weight:700; }
.org-calendar-modes button.active { color:var(--org-text); background:var(--org-panel); box-shadow:0 4px 13px rgba(25,22,40,.08); }
.org-day button { background:var(--org-panel-2); }
.org-day button .org-svg-icon,.org-week-column button .org-svg-icon { width:13px; height:13px; flex:0 0 13px; }
.org-day button > span,.org-week-column button > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-day button.is-note,.org-week-column button.is-note { animation:orgScheduledNote 2.6s ease-in-out infinite; background:color-mix(in srgb,var(--event) 11%,var(--org-panel)); }
@keyframes orgScheduledNote { 50% { box-shadow:inset 3px 0 0 var(--event),0 0 0 2px color-mix(in srgb,var(--event) 9%,transparent); } }
.org-week-board { min-height:570px; display:grid; grid-template-columns:repeat(7,minmax(135px,1fr)); overflow-x:auto; }
.org-week-column { min-width:135px; padding:12px 8px; border-left:1px solid var(--org-line); }
.org-week-column:first-child { border-left:0; }
.org-week-column > header { min-height:58px; display:grid; place-content:center; text-align:center; text-transform:capitalize; }
.org-week-column > header small { color:var(--org-muted); }
.org-week-column > header b { margin-top:3px; font-size:20px; }
.org-week-column.today > header b { width:33px; height:33px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--org-purple); }
.org-week-column > button { width:100%; min-height:43px; margin-top:7px; padding:7px; display:flex; align-items:center; gap:5px; overflow:hidden; border:0; border-left:3px solid var(--event); border-radius:8px; color:var(--org-text); background:var(--org-panel-2); font-size:10px; text-align:left; }
.org-free-day { display:block; margin-top:15px; color:var(--org-muted); font-size:10px; text-align:center; }
.org-day-agenda { min-height:420px; padding:24px; }
.org-day-agenda-date { margin-bottom:20px; display:flex; align-items:center; gap:14px; text-transform:capitalize; }
.org-day-agenda-date b { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; color:#fff; background:var(--org-purple); font-size:25px; }
.org-day-agenda-date span { font-size:18px; font-weight:750; }
.org-day-agenda .org-mobile-agenda-row { width:100%; min-height:78px; margin-bottom:9px; padding:10px 14px; display:grid; grid-template-columns:48px minmax(0,1fr) 8px; align-items:center; gap:12px; border:1px solid var(--org-line); border-radius:14px; color:var(--org-text); background:var(--org-panel-2); text-align:left; }
.org-day-agenda .org-mobile-agenda-row > span:nth-child(2) { min-width:0; }
.org-day-agenda .org-mobile-agenda-row strong,.org-day-agenda .org-mobile-agenda-row > span:nth-child(2) small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-day-agenda .org-mobile-agenda-row > span:nth-child(2) small { margin-top:4px; color:var(--org-muted); font-size:11px; }
.org-day-agenda .org-mobile-agenda-row > i { width:8px; height:8px; border-radius:50%; background:var(--event); }
.org-day-agenda .org-mobile-date { width:46px; min-height:53px; padding:6px; display:grid; place-content:center; border-radius:14px; background:var(--org-panel); text-align:center; text-transform:capitalize; }
.org-day-agenda .org-mobile-date small { color:var(--org-muted); font-size:9px; line-height:1; }
.org-day-agenda .org-mobile-date b { margin-top:4px; font-size:19px; line-height:1; }

.org-title-field input { min-height:58px!important; font-size:20px!important; font-weight:750!important; letter-spacing:-.02em; }
.org-editor-attachments { margin:20px 0; padding:18px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; border:1px dashed color-mix(in srgb,var(--org-purple) 30%,var(--org-line)); border-radius:20px; background:color-mix(in srgb,var(--org-purple) 4%,var(--org-panel)); }
.org-editor-attachments h3 { margin:4px 0 2px; }
.org-editor-attachments p { margin:0; color:var(--org-muted); font-size:11px; }
.org-attach-button { min-height:44px; padding:9px 13px; display:flex; align-items:center; align-self:center; gap:7px; border:1px solid var(--org-line); border-radius:13px; color:var(--org-purple); background:var(--org-panel); font-weight:750; }
#org-editor-attachment-list { grid-column:1/-1; display:grid; gap:7px; }
.org-editor-file { min-width:0; min-height:57px; padding:7px 9px; display:grid; grid-template-columns:43px minmax(0,1fr) 38px; align-items:center; gap:10px; border-radius:13px; background:var(--org-panel); box-shadow:inset 0 0 0 1px var(--org-line); }
.org-editor-file > img,.org-editor-file > span { width:43px; height:43px; display:grid; place-items:center; border-radius:10px; object-fit:cover; background:var(--org-panel-2); color:var(--org-purple); }
.org-editor-file strong,.org-editor-file small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.org-editor-file a { color:var(--org-text); text-decoration:none; }
.org-editor-file a:hover strong { color:var(--org-purple); }
.org-editor-file small { color:var(--org-muted); }
.org-editor-file > button { width:36px; height:36px; border:0; border-radius:10px; color:#d34e4e; background:#d34e4e12; font-size:18px; }
.org-no-files { grid-column:1/-1; margin:2px 0 0!important; padding:9px; text-align:center; }
.org-uploading { padding:13px; display:flex; align-items:center; gap:9px; color:var(--org-muted); }
.org-uploading > span { width:18px; height:18px; border:2px solid var(--org-line); border-top-color:var(--org-purple); border-radius:50%; animation:spin .8s linear infinite; }
.org-note-editor-sheet { padding:23px; border:1px solid color-mix(in srgb,#ffb84d 28%,var(--org-line)); border-radius:22px; background:repeating-linear-gradient(180deg,var(--org-panel) 0,var(--org-panel) 37px,rgba(255,184,77,.1) 38px); }
.org-writing-area textarea { min-height:280px!important; line-height:1.75!important; background:color-mix(in srgb,var(--org-panel) 86%,transparent)!important; }
.org-book-cover-preview { min-height:115px; margin-bottom:22px; padding:20px 24px; display:grid; grid-template-columns:52px 1fr; align-content:center; gap:2px 15px; border-radius:8px 22px 22px 8px; color:#fff; background:linear-gradient(145deg,var(--book),color-mix(in srgb,var(--book) 66%,#111)); box-shadow:inset 9px 0 0 rgba(0,0,0,.13); }
.org-book-cover-preview > span { grid-row:span 2; width:52px; height:52px; display:grid; place-items:center; border-radius:17px; color:var(--book); background:#fff; }
.org-book-cover-preview small { opacity:.68; }
.org-book-cover-preview strong { font-size:20px; }
.org-recorder-panel { --voice:#af52de; min-height:126px; margin:5px 0 20px; padding:20px; display:grid; grid-template-columns:72px minmax(0,1fr) auto auto; align-items:center; gap:14px; border-radius:23px; background:linear-gradient(135deg,rgba(175,82,222,.13),rgba(94,92,230,.08)); }
.org-recorder-orb { width:70px; height:70px; }
.org-recorder-panel > div strong,.org-recorder-panel > div small { display:block; }
.org-recorder-panel > div small { margin-top:4px; color:var(--org-muted); }
.org-recorder-panel [data-action="voice-stop"] { color:#d72e45; border-color:#d72e4530; background:#d72e4510; }
.org-recorder-panel [hidden] { display:none!important; }

@media (max-width: 900px) {
  .org-voice-card { grid-template-columns:1fr; }
  .org-notebook-detail > header { grid-template-columns:1fr; }
  .org-notebook-detail .org-head-actions { width:100%; }
}

@media (max-width: 760px) {
  .org-note-grid,.org-notebook-grid,.org-notebook-pages { grid-template-columns:1fr; gap:12px; }
  .org-note-card,.org-note-paper { min-height:285px; }
  .org-note-paper { padding:21px 18px 17px 23px; border-radius:21px; }
  .org-note-paper > p { min-height:74px; }
  .org-notebook { min-height:370px; }
  .org-notebook-cover { min-height:370px; padding:25px 22px 21px 33px; border-radius:9px 24px 24px 9px; }
  .org-notebook-cover h2 { font-size:25px; }
  .org-notebook-detail > header { padding:20px; gap:18px; border-radius:24px; }
  .org-notebook-title { align-items:flex-start; flex-direction:column; }
  .org-notebook-title h1 { font-size:34px; }
  .org-notebook-detail .org-head-actions { align-items:stretch; flex-direction:column; }
  .org-notebook-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  .org-notebook-summary span { min-height:68px; padding:8px 3px; font-size:10px; }
  .org-notebook-summary b { font-size:22px; }
  .org-voice-card { min-height:0; padding:15px 15px 16px; grid-template-columns:1fr; gap:12px; border-radius:21px; }
  .org-voice-main { grid-template-columns:54px minmax(0,1fr); }
  .org-voice-orb { width:53px; height:53px; border-radius:18px; }
  .org-voice-card > .org-more { top:12px; right:9px; }
  .org-voice-card audio { height:38px; }
  .org-calendar-modes { width:100%; margin-bottom:12px; }
  .org-calendar-modes button { min-width:0; flex:1; }
  .org-calendar-view { display:none; }
  .org-mobile-agenda-row > span:nth-child(2) strong { display:flex; align-items:center; gap:6px; }
  .org-mobile-agenda-row strong .org-svg-icon { width:15px; height:15px; flex:0 0 15px; color:var(--event); }
  .org-mobile-agenda-row.is-note { animation:orgScheduledNote 2.6s ease-in-out infinite; }
  .org-editor-attachments { padding:15px; grid-template-columns:1fr; }
  .org-attach-button { width:100%; justify-content:center; }
  .org-note-editor-sheet { margin:0 -4px; padding:18px 13px; }
  .org-writing-area textarea { min-height:220px!important; }
  .org-book-cover-preview { min-height:100px; padding:16px 18px; }
  .org-recorder-panel { padding:17px; grid-template-columns:62px minmax(0,1fr); gap:12px; text-align:left; }
  .org-recorder-orb { width:60px; height:60px; }
  .org-recorder-panel > button { width:100%; grid-column:1/-1; }
  .org-title-field input { font-size:18px!important; }
}

/* 1.7 — technological welcome cover and a real mobile calendar */
.organiza-login-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(24px,4vw,58px);
  display: grid;
  place-items: center;
  overflow: auto;
  color: #10152d;
  background-color: #080d24;
  background-image:
    linear-gradient(180deg,rgba(5,9,29,.04),rgba(5,9,29,.2)),
    url("login-tech-desktop-v2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
.organiza-login-wrap::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 46%,rgba(108,86,255,.16),transparent 38%);
}
.organiza-login-shell {
  position: relative;
  z-index: 1;
  width: min(100%,470px);
  display: grid;
  gap: 17px;
  animation: orgLoginRise .7s cubic-bezier(.2,.75,.2,1) both;
}
.organiza-login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #fff;
  text-align: left;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.28));
}
.organiza-login-brand > span:last-child { display: grid; line-height: 1.08; }
.organiza-login-brand strong { font-size: 19px; letter-spacing: -.025em; }
.organiza-login-brand small { margin-top: 3px; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.organiza-login-logo {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg,rgba(169,145,255,.94),rgba(100,73,238,.96));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.44),0 14px 34px rgba(71,49,195,.42);
  font-size: 21px;
  font-weight: 850;
}
.organiza-login {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(29px,4vw,42px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 31px;
  color: #14182d;
  background: rgba(250,251,255,.91);
  box-shadow: 0 34px 90px rgba(1,4,20,.42),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  box-sizing: border-box;
}
.organiza-login > .org-kicker { display: block; margin-bottom: 12px; color: #7155f5; letter-spacing: .16em; }
.organiza-login h1 { max-width: 390px; margin: 0; color: #11152a; font-size: clamp(33px,4vw,44px); line-height: 1.02; letter-spacing: -.045em; }
.organiza-login > p { margin: 13px 0 27px; color: #666b80; font-size: 15px; line-height: 1.55; }
.organiza-login form { display: grid; gap: 16px; }
.organiza-login label { display: grid; gap: 8px; color: #303449; font-size: 12px; font-weight: 750; letter-spacing: .015em; }
.organiza-login input {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid #d9dbea;
  border-radius: 16px;
  outline: 0;
  color: #15182c;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 2px rgba(15,18,42,.035);
  font: inherit;
  font-size: 16px;
  transition: border-color .18s ease,box-shadow .18s ease,background .18s ease;
  box-sizing: border-box;
}
.organiza-login input::placeholder { color: #9a9eaf; }
.organiza-login input:focus { border-color: #7c63f5; background: #fff; box-shadow: 0 0 0 4px rgba(124,99,245,.13); }
.organiza-login button {
  min-height: 55px;
  margin-top: 4px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg,#654ae9,#8b68ff 58%,#7054ed);
  box-shadow: 0 15px 30px rgba(96,70,222,.29),inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease,box-shadow .18s ease;
}
.organiza-login button:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(96,70,222,.36),inset 0 1px 0 rgba(255,255,255,.22); }
.organiza-login button:focus-visible { outline: 3px solid rgba(117,89,241,.27); outline-offset: 3px; }
.organiza-login-trust { margin-top: 23px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #74788c; }
.organiza-login-trust > span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #386f60; background: #dff3ec; font-size: 11px; font-weight: 900; }
.organiza-login-trust small { color: inherit; font-size: 10px; font-weight: 650; }
.organiza-login-trust i { width: 3px; height: 3px; border-radius: 50%; background: #b7bac7; }
.organiza-login-error { margin: -10px 0 17px; padding: 11px 13px; border: 1px solid #f2c7cc; border-radius: 13px; color: #9d2533; background: #fff0f2; font-size: 12px; line-height: 1.45; }
.org-mobile-calendar-caption { display: none; }

@keyframes orgLoginRise {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .organiza-login-wrap {
    padding: max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom));
    background-image:
      linear-gradient(180deg,rgba(4,8,29,.02),rgba(4,8,29,.16)),
      url("login-tech-mobile-v2.jpg");
    background-position: center;
  }
  .organiza-login-shell { width: min(100%,420px); gap: 13px; }
  .organiza-login-brand { gap: 9px; }
  .organiza-login-logo { width: 42px; height: 42px; border-radius: 14px; font-size: 19px; }
  .organiza-login-brand strong { font-size: 17px; }
  .organiza-login-brand small { font-size: 9px; }
  .organiza-login { padding: 28px 21px 22px; border-radius: 27px; }
  .organiza-login > .org-kicker { margin-bottom: 10px; font-size: 9px; }
  .organiza-login h1 { font-size: clamp(30px,9vw,38px); }
  .organiza-login > p { margin: 11px 0 22px; font-size: 14px; }
  .organiza-login form { gap: 14px; }
  .organiza-login input { min-height: 52px; border-radius: 15px; }
  .organiza-login button { min-height: 53px; border-radius: 16px; }
  .organiza-login-trust { margin-top: 19px; gap: 6px; }
  .organiza-login-trust small { font-size: 9px; }

  .org-calendar-view.month {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--org-line);
    border-radius: 23px;
    background: var(--org-panel);
    box-shadow: 0 13px 35px rgba(24,22,35,.055);
  }
  .org-mobile-calendar-caption {
    min-height: 66px;
    padding: 13px 14px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--org-line);
    background: linear-gradient(135deg,color-mix(in srgb,var(--org-panel) 88%,#765aff),var(--org-panel));
  }
  .org-mobile-calendar-caption > div { display: grid; gap: 3px; }
  .org-mobile-calendar-caption strong { font-size: 16px; text-transform: capitalize; }
  .org-mobile-calendar-caption > small { max-width: 92px; color: var(--org-muted); font-size: 10px; line-height: 1.25; text-align: right; }
  .org-calendar-view.month .org-weekdays,
  .org-calendar-view.month .org-calendar-grid {
    width: 100%;
    min-width: 0!important;
    grid-template-columns: repeat(7,minmax(0,1fr));
  }
  .org-calendar-view.month .org-weekdays { border-bottom: 1px solid var(--org-line); background: var(--org-panel-2); }
  .org-calendar-view.month .org-weekdays b { min-width: 0; padding: 8px 1px; color: var(--org-muted); font-size: 9px; letter-spacing: .025em; text-align: center; }
  .org-calendar-view.month .org-day {
    min-width: 0;
    min-height: 58px;
    padding: 6px 2px 5px;
    display: block;
    border-right: 1px solid var(--org-line);
    border-bottom: 1px solid var(--org-line);
    text-align: center;
    cursor: pointer;
  }
  .org-calendar-view.month .org-day:nth-child(7n) { border-right: 0; }
  .org-calendar-view.month .org-day > b { width: 25px; height: 25px; display: grid; place-items: center; margin: 0 auto; border-radius: 9px; font-size: 11px; line-height: 1; }
  .org-calendar-view.month .org-day.today > b { color: #fff; background: #765aff; box-shadow: 0 5px 11px rgba(118,90,255,.25); }
  .org-calendar-view.month .org-day.muted { min-height: 58px; background: color-mix(in srgb,var(--org-panel-2) 62%,transparent); cursor: default; }
  .org-calendar-view.month .org-day button {
    position: relative;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    margin: 5px 1px 0;
    padding: 0;
    display: inline-block;
    overflow: visible;
    border: 0;
    border-radius: 50%;
    background: var(--event);
    box-shadow: none;
    vertical-align: top;
  }
  .org-calendar-view.month .org-day button i,
  .org-calendar-view.month .org-day button .org-svg-icon { display: none; }
  .org-calendar-view.month .org-day button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .org-calendar-view.month .org-day > small { display: block; margin-top: 3px; color: var(--org-muted); font-size: 8px; line-height: 1; }
  .org-calendar-view.month .org-day button.is-note { animation: none; }
}

@media (max-width: 360px) {
  .organiza-login { padding-inline: 18px; }
  .organiza-login-trust i,.organiza-login-trust small:last-child { display: none; }
  .org-calendar-view.month .org-day { min-height: 52px; }
  .org-calendar-view.month .org-day.muted { min-height: 52px; }
}

/* 1.10 — light, high-contrast palette and Google Calendar-only settings */
:root {
  --org-bg:#f4f7fc;
  --org-panel:#ffffff;
  --org-panel-2:#edf2f8;
  --org-text:#172238;
  --org-muted:#637087;
  --org-line:#dce4ef;
  --org-purple:#5068d8;
  --org-purple-2:#7d8de4;
  --org-sidebar:#f9fbff;
  --org-shadow:0 16px 42px rgba(42,61,94,.09);
}
.org-app { background:radial-gradient(circle at 75% -15%,rgba(99,132,230,.12),transparent 35%),var(--org-bg); }
.org-sidebar { color:var(--org-text); background:linear-gradient(180deg,#fbfdff,#f2f6fc); border-right:1px solid var(--org-line); box-shadow:8px 0 35px rgba(52,72,105,.045); }
.org-brand strong,.org-nav-item { color:var(--org-text); }
.org-brand small,.org-sidebar .org-nav-item:not(.active),.org-sidebar .org-user small { color:var(--org-muted); }
.org-space-switch { background:#eaf0f8; }
.org-space-switch button.active { background:#fff; color:var(--org-purple); }
.org-nav-item:hover,.org-nav-item.active { color:#3f56c2; background:#e8edff; }
.org-user { border-color:var(--org-line); }
.org-drawer-scrim { background:rgba(27,39,62,.25); }
.org-primary { background:#5068d8; box-shadow:0 8px 22px rgba(80,104,216,.22); }
.org-primary:hover { background:#4058c7; }
.org-soft-btn { color:#4058c7; border-color:#d4dcfb; background:#eef1ff; }
.org-card,.org-item-card,.org-note-paper,.org-internet-card,.org-setting-card,.org-calendar { border-color:var(--org-line); box-shadow:0 12px 34px rgba(42,61,94,.06); }

.org-notebook-cover {
  color:var(--org-text);
  border:1px solid color-mix(in srgb,var(--book) 30%,var(--org-line));
  background:linear-gradient(145deg,color-mix(in srgb,var(--book) 18%,#fff),#fff 72%);
  box-shadow:8px 14px 35px color-mix(in srgb,var(--book) 15%,transparent),inset 10px 0 0 color-mix(in srgb,var(--book) 62%,#fff);
}
.org-notebook-cover:hover { box-shadow:13px 21px 42px color-mix(in srgb,var(--book) 19%,transparent),inset 10px 0 0 color-mix(in srgb,var(--book) 62%,#fff); }
.org-notebook-cover > .org-kicker,.org-notebook-cover h2,.org-notebook-cover > p,.org-notebook-cover footer { color:var(--org-text); }
.org-notebook-cover > p,.org-notebook-cover footer { opacity:.72; }
.org-book-previews > span { border:1px solid color-mix(in srgb,var(--book) 18%,var(--org-line)); background:rgba(255,255,255,.72); }
.org-book-previews small { color:var(--org-muted); }
.org-book-edit { color:var(--book); border:1px solid color-mix(in srgb,var(--book) 24%,var(--org-line)); background:#fff; }
.org-notebook-detail > header {
  color:var(--org-text);
  border:1px solid color-mix(in srgb,var(--book) 24%,var(--org-line));
  background:linear-gradient(135deg,color-mix(in srgb,var(--book) 15%,#fff),#fff 72%);
  box-shadow:0 18px 48px color-mix(in srgb,var(--book) 13%,transparent);
}
.org-notebook-title .org-kicker,.org-notebook-title h1,.org-notebook-title p { color:var(--org-text); }
.org-notebook-title p { opacity:.72; }
.org-notebook-detail > header > .org-soft-btn,.org-notebook-detail .org-head-actions .org-soft-btn { color:#4058c7; border-color:#d4dcfb; background:#fff; }
.org-book-cover-preview,.org-internet-section-preview {
  color:var(--org-text);
  border:1px solid color-mix(in srgb,var(--book,var(--section)) 25%,var(--org-line));
  background:linear-gradient(145deg,color-mix(in srgb,var(--book,var(--section)) 17%,#fff),#fff);
  box-shadow:inset 8px 0 color-mix(in srgb,var(--book,var(--section)) 55%,#fff),0 14px 30px rgba(42,61,94,.08);
}
.org-book-cover-preview small,.org-internet-section-preview small { color:var(--org-muted); opacity:1; }

.org-internet-hero {
  color:var(--org-text);
  border-color:#d7e0ef;
  background:radial-gradient(circle at 82% 12%,rgba(86,180,204,.18),transparent 31%),radial-gradient(circle at 5% 100%,rgba(113,131,225,.16),transparent 38%),linear-gradient(135deg,#f8fbff,#edf3fb);
  box-shadow:0 22px 58px rgba(42,61,94,.1);
}
.org-internet-hero::after { border-color:rgba(80,104,216,.12); box-shadow:0 0 0 36px rgba(80,104,216,.025),0 0 0 76px rgba(80,104,216,.018); }
.org-internet-hero .org-kicker { color:#2f8b7b; }
.org-internet-hero p { color:var(--org-muted); }
.org-internet-orbit { color:#4058c7; border-color:#d6def8; background:#fff; box-shadow:0 12px 30px rgba(61,86,160,.13); }
.org-internet-actions .org-soft-btn { color:#4058c7; border-color:#d4dcfb; background:#fff; }
.org-internet-counter { color:var(--org-text); border-color:#dbe4f0; background:rgba(255,255,255,.78); }
.org-internet-counter span { color:var(--org-muted); }
.org-internet-counter i { background:var(--org-line); }

.org-connection-grid.single { grid-template-columns:minmax(0,760px); }
.org-calendar-badge { width:230px; min-height:210px; justify-self:center; display:grid; place-content:center; justify-items:center; gap:7px; border:1px solid #dbe4f0; border-radius:34px; background:#fff; box-shadow:0 18px 45px rgba(42,61,94,.08); }
.org-calendar-badge > span { width:72px; height:72px; display:grid; place-items:center; margin-bottom:8px; border-radius:23px; color:#fff; background:linear-gradient(145deg,#4285f4,#5b6fdb); font-size:31px; font-weight:850; }
.org-calendar-badge strong { font-size:16px; }
.org-calendar-badge small { color:var(--org-muted); }
.org-hero-icon { background:linear-gradient(145deg,#5068d8,#3f9b8a); }
.org-sync-error { margin:14px 0 0; padding:12px 13px; display:grid; gap:3px; border:1px solid #f0c9c9; border-radius:14px; color:#8e3038; background:#fff3f3; }
.org-sync-error strong { font-size:11px; }
.org-sync-error span { font-size:10px; line-height:1.45; }

@media (max-width:760px) {
  .org-calendar-badge { width:100%; min-height:120px; margin-top:24px; grid-template-columns:auto 1fr; justify-content:start; justify-items:start; align-items:center; padding:20px; }
  .org-calendar-badge > span { grid-row:1/3; width:58px; height:58px; margin:0 8px 0 0; border-radius:18px; font-size:25px; }
  .org-calendar-badge strong { align-self:end; }
  .org-calendar-badge small { align-self:start; }
}

@media (max-height: 700px) {
  .organiza-login-wrap { padding-top: 14px; padding-bottom: 14px; }
  .organiza-login-shell { gap: 9px; }
  .organiza-login { padding-top: 23px; padding-bottom: 19px; }
  .organiza-login > p { margin-bottom: 17px; }
  .organiza-login-trust { margin-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .organiza-login-shell { animation: none; }
}

/* 1.8 — Internet notebook, tag search and full-backup status */
.org-nav { min-height: 0; overflow-y: auto; scrollbar-width: none; }
.org-nav::-webkit-scrollbar { display: none; }
.org-internet-hero {
  position: relative;
  min-height: 320px;
  margin-bottom: 30px;
  padding: clamp(30px,4vw,52px);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  border: 1px solid rgba(144,126,255,.28);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%,rgba(88,207,255,.24),transparent 28%),
    radial-gradient(circle at 7% 95%,rgba(147,103,255,.36),transparent 38%),
    linear-gradient(135deg,#12162e,#222052 55%,#10283d);
  box-shadow: 0 28px 70px rgba(19,18,53,.18);
}
.org-internet-hero::after { content:""; position:absolute; width:260px; height:260px; right:-90px; bottom:-130px; border:1px solid rgba(255,255,255,.17); border-radius:50%; box-shadow:0 0 0 36px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.018); }
.org-internet-hero > div { position:relative; z-index:1; }
.org-internet-hero .org-kicker { color:#9deee0; }
.org-internet-hero h1 { max-width:760px; margin:12px 0 14px; font-size:clamp(38px,5vw,66px); line-height:.98; letter-spacing:-.055em; }
.org-internet-hero p { max-width:650px; margin:0; color:rgba(255,255,255,.7); font-size:15px; line-height:1.65; }
.org-internet-orbit { position:relative; width:56px; height:56px; display:grid; place-items:center; margin-bottom:26px; border:1px solid rgba(255,255,255,.25); border-radius:19px; color:#fff; background:linear-gradient(145deg,rgba(118,91,255,.88),rgba(62,200,194,.65)); box-shadow:0 15px 36px rgba(64,52,193,.4),inset 0 1px rgba(255,255,255,.25); }
.org-internet-orbit .org-svg-icon { width:27px; height:27px; }
.org-internet-orbit i { position:absolute; width:7px; height:7px; border-radius:50%; background:#8fe6ff; box-shadow:0 0 14px #8fe6ff; animation:orgInternetNode 4s ease-in-out infinite; }
.org-internet-orbit i:nth-child(2) { left:-18px; top:8px; }
.org-internet-orbit i:nth-child(3) { right:-27px; top:25px; animation-delay:-1.2s; }
.org-internet-orbit i:nth-child(4) { left:18px; bottom:-23px; animation-delay:-2.4s; }
.org-internet-actions { margin-top:25px; display:flex; flex-wrap:wrap; gap:10px; }
.org-internet-actions .org-primary { background:linear-gradient(135deg,#765cff,#9875ff); }
.org-internet-actions .org-soft-btn { color:#fff; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.09); backdrop-filter:blur(10px); }
.org-internet-counter { min-width:190px; padding:25px; display:grid; grid-template-columns:auto 1fr; align-items:baseline; gap:0 9px; border:1px solid rgba(255,255,255,.15); border-radius:27px; background:rgba(4,8,28,.25); backdrop-filter:blur(15px); }
.org-internet-counter strong { font-size:37px; line-height:1.15; }
.org-internet-counter span { color:rgba(255,255,255,.62); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.org-internet-counter i { grid-column:1/-1; height:1px; margin:14px 0; background:rgba(255,255,255,.13); }
.org-internet-sections,.org-internet-library { margin-bottom:31px; }
.org-internet-sections .org-section-title,.org-internet-library .org-section-title { margin-bottom:15px; }
.org-internet-sections .org-section-title > button { border:0; color:var(--org-purple); background:transparent; font-weight:750; cursor:pointer; }
.org-internet-section-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.org-internet-section { position:relative; min-width:0; min-height:205px; border:1px solid color-mix(in srgb,var(--section) 27%,var(--org-line)); border-radius:10px 24px 24px 10px; background:linear-gradient(145deg,color-mix(in srgb,var(--section) 14%,var(--org-panel)),var(--org-panel)); box-shadow:inset 7px 0 color-mix(in srgb,var(--section) 82%,transparent),0 13px 32px rgba(25,22,50,.06); transition:transform .2s ease,box-shadow .2s ease; }
.org-internet-section:hover { transform:translateY(-3px); box-shadow:inset 7px 0 color-mix(in srgb,var(--section) 82%,transparent),0 20px 42px rgba(25,22,50,.11); }
.org-internet-section > button:first-child { width:100%; height:100%; min-height:205px; padding:22px 19px 17px 27px; display:flex; flex-direction:column; align-items:flex-start; border:0; color:var(--org-text); background:transparent; text-align:left; }
.org-internet-section > button > span { width:39px; height:39px; display:grid; place-items:center; margin-bottom:14px; border-radius:13px; color:#fff; background:var(--section); box-shadow:0 8px 18px color-mix(in srgb,var(--section) 32%,transparent); }
.org-internet-section > button > span .org-svg-icon { width:20px; height:20px; }
.org-internet-section small { color:var(--org-muted); font-size:9px; letter-spacing:.13em; }
.org-internet-section strong { max-width:100%; margin:5px 0 7px; overflow:hidden; color:var(--org-text); font-size:18px; line-height:1.16; text-overflow:ellipsis; }
.org-internet-section p { min-height:38px; margin:0; color:var(--org-muted); font-size:11px; line-height:1.45; }
.org-internet-section footer { width:100%; margin-top:auto; padding-top:12px; display:flex; justify-content:space-between; gap:9px; border-top:1px solid var(--org-line); font-size:10px; }
.org-internet-section footer b { color:var(--org-text); }
.org-internet-section footer i { color:var(--section); font-style:normal; font-weight:750; }
.org-internet-section > .org-more { top:14px; right:10px; }
.org-internet-section-empty { min-height:205px; padding:22px; display:grid; place-items:center; align-content:center; gap:8px; border:1px dashed color-mix(in srgb,var(--org-purple) 38%,var(--org-line)); border-radius:22px; color:var(--org-purple); background:color-mix(in srgb,var(--org-purple) 5%,var(--org-panel)); text-align:center; }
.org-internet-section-empty .org-svg-icon { width:25px; height:25px; }
.org-internet-section-empty small { color:var(--org-muted); }
.org-internet-toolbar { margin-bottom:15px; }
.org-internet-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.org-internet-card { min-width:0; min-height:260px; padding:19px; display:flex; flex-direction:column; border:1px solid var(--org-line); border-radius:23px; background:var(--org-panel); box-shadow:0 10px 29px rgba(27,24,52,.045); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.org-internet-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--resource) 45%,var(--org-line)); box-shadow:0 18px 40px rgba(27,24,52,.09); }
.org-internet-card-top { display:flex; align-items:center; gap:8px; }
.org-internet-card-top > span { width:40px; height:40px; display:grid; place-items:center; border-radius:14px; color:var(--resource); background:color-mix(in srgb,var(--resource) 12%,var(--org-panel)); }
.org-internet-card-top > span .org-svg-icon { width:20px; height:20px; }
.org-internet-card-top em { padding:4px 8px; border-radius:8px; color:var(--resource); background:color-mix(in srgb,var(--resource) 9%,var(--org-panel)); font-size:9px; font-style:normal; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.org-internet-card-top > button { margin-left:auto; border:0; color:var(--org-muted); background:transparent; }
.org-internet-card h3 { margin:17px 0 7px; overflow-wrap:anywhere; font-size:18px; line-height:1.2; }
.org-internet-card > p { min-height:43px; margin:0; color:var(--org-muted); font-size:12px; line-height:1.5; }
.org-internet-tags { margin:14px 0; display:flex; flex-wrap:wrap; gap:5px; }
.org-internet-tags button,.org-internet-tags span { padding:4px 7px; border:0; border-radius:8px; color:var(--org-muted); background:var(--org-panel-2); font-size:9px; cursor:pointer; }
.org-internet-card footer { margin-top:auto; padding-top:13px; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; border-top:1px solid var(--org-line); }
.org-internet-card footer > span { min-width:0; display:grid; gap:3px; }
.org-internet-card footer b { overflow:hidden; color:var(--org-text); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.org-internet-card footer small { display:flex; align-items:center; gap:4px; color:var(--org-muted); font-size:9px; }
.org-internet-card footer small .org-svg-icon { width:11px; height:11px; }
.org-internet-card footer a,.org-internet-card footer button { flex:0 0 auto; padding:7px 10px; border:0; border-radius:10px; color:#fff; background:var(--resource); font-size:10px; font-weight:750; text-decoration:none; }
.org-internet-detail > header { margin-bottom:22px; padding:27px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:22px; border:1px solid color-mix(in srgb,var(--section) 27%,var(--org-line)); border-radius:28px; background:linear-gradient(135deg,color-mix(in srgb,var(--section) 13%,var(--org-panel)),var(--org-panel)); }
.org-internet-detail-title { min-width:0; display:flex; align-items:center; gap:16px; }
.org-internet-detail-title > span { width:58px; height:58px; flex:0 0 58px; display:grid; place-items:center; border-radius:19px; color:#fff; background:var(--section); box-shadow:0 12px 26px color-mix(in srgb,var(--section) 28%,transparent); }
.org-internet-detail-title > span .org-svg-icon { width:28px; height:28px; }
.org-internet-detail-title h1 { margin:3px 0; font-size:31px; line-height:1.05; }
.org-internet-detail-title p { margin:0; color:var(--org-muted); }
.org-internet-section-preview { position:relative; min-height:118px; margin-bottom:18px; padding:20px 22px; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; border-radius:10px 24px 24px 10px; color:#fff; background:linear-gradient(145deg,var(--section),color-mix(in srgb,var(--section) 55%,#17172a)); box-shadow:inset 8px 0 rgba(255,255,255,.2),0 15px 32px color-mix(in srgb,var(--section) 25%,transparent); }
.org-internet-section-preview > span { position:absolute; align-self:flex-end; opacity:.35; }
.org-internet-section-preview .org-svg-icon { width:48px; height:48px; }
.org-internet-section-preview small { margin-bottom:5px; color:rgba(255,255,255,.7); font-size:9px; letter-spacing:.14em; }
.org-internet-section-preview strong { max-width:85%; font-size:23px; line-height:1.08; }
.org-url-field input { color:var(--org-purple)!important; font-weight:650!important; }
.org-search-head { align-items:center; }
.org-search-head .org-page-icon { display:inline-grid; margin-right:10px; }
.org-search-head h1 { margin-top:6px; font-size:clamp(31px,4vw,47px); }
.org-search-results { display:grid; gap:10px; }
.org-search-result { min-width:0; padding:13px 14px; display:grid; grid-template-columns:46px minmax(0,1fr) auto auto; align-items:center; gap:13px; border:1px solid var(--org-line); border-radius:18px; background:var(--org-panel); box-shadow:0 8px 25px rgba(26,23,49,.04); }
.org-search-result-icon { width:45px; height:45px; display:grid; place-items:center; border-radius:14px; color:var(--result); background:color-mix(in srgb,var(--result) 11%,var(--org-panel)); }
.org-search-result-icon .org-svg-icon { width:21px; height:21px; }
.org-search-result-main { min-width:0; padding:0; display:grid; gap:2px; border:0; color:var(--org-text); background:transparent; text-align:left; }
.org-search-result-main > span { color:var(--org-muted); font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.org-search-result-main strong { overflow:hidden; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
.org-search-result-main p { margin:0; overflow:hidden; color:var(--org-muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.org-search-result-tags { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:4px; }
.org-search-result-tags button { padding:4px 7px; border:0; border-radius:8px; color:var(--org-muted); background:var(--org-panel-2); font-size:9px; }
.org-search-result > a { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; color:var(--org-purple); background:color-mix(in srgb,var(--org-purple) 10%,var(--org-panel)); text-decoration:none; }

@keyframes orgInternetNode { 50% { transform:scale(1.35); opacity:.55; } }

/* 1.9 — Centro Google y agente IA con confirmación humana */
.org-google-hero { position:relative; min-height:230px; margin-bottom:20px; padding:38px 40px; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:28px; border:1px solid rgba(255,255,255,.13); border-radius:32px; color:#fff; background:radial-gradient(circle at 78% 12%,rgba(66,133,244,.42),transparent 30%),radial-gradient(circle at 15% 100%,rgba(52,168,83,.26),transparent 35%),linear-gradient(135deg,#171b2c 0%,#11131e 55%,#202949 100%); box-shadow:0 24px 70px rgba(16,22,45,.2); }
.org-google-hero::after { content:""; position:absolute; right:-65px; bottom:-115px; width:310px; height:310px; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.018); }
.org-google-hero > div { position:relative; z-index:1; }
.org-google-hero h1 { margin:8px 0 9px; font-size:clamp(34px,4vw,54px); line-height:1.02; letter-spacing:-.045em; }
.org-google-hero p { max-width:710px; margin:0; color:rgba(255,255,255,.68); font-size:14px; line-height:1.65; }
.org-google-hero .org-primary { display:inline-flex; margin-top:22px; text-decoration:none; }
.org-google-mark { width:58px; height:58px; padding:8px; display:grid; grid-template-columns:1fr 1fr; gap:4px; border:1px solid rgba(255,255,255,.16); border-radius:19px; background:rgba(255,255,255,.1); box-shadow:0 12px 30px rgba(0,0,0,.18); backdrop-filter:blur(12px); }
.org-google-mark i { display:block; border-radius:6px; }
.org-google-mark i:nth-child(1){background:#4285f4}.org-google-mark i:nth-child(2){background:#ea4335}.org-google-mark i:nth-child(3){background:#fbbc05}.org-google-mark i:nth-child(4){background:#34a853}
.org-google-mark.small { width:46px; height:46px; flex:0 0 46px; border-radius:15px; }
.org-google-security { min-width:190px; padding:18px 20px; display:grid; grid-template-columns:34px 1fr; align-items:center; gap:2px 10px; border:1px solid rgba(255,255,255,.12); border-radius:21px; background:rgba(11,14,26,.38); backdrop-filter:blur(16px); }
.org-google-security .org-svg-icon { width:28px; height:28px; grid-row:1/3; color:#78e3b0; }
.org-google-security strong { font-size:13px; }.org-google-security small { color:rgba(255,255,255,.55); font-size:10px; }
.org-google-tabs { margin-bottom:18px; padding:7px; display:flex; gap:5px; overflow-x:auto; border:1px solid var(--org-line); border-radius:19px; background:var(--org-panel); scrollbar-width:none; }
.org-google-tabs::-webkit-scrollbar { display:none; }
.org-google-tabs button { min-width:max-content; padding:10px 14px; display:flex; align-items:center; gap:8px; border:0; border-radius:13px; color:var(--org-muted); background:transparent; font-size:11px; font-weight:750; cursor:pointer; }
.org-google-tabs button span { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; background:var(--org-panel-2); font-size:11px; }
.org-google-tabs button.active { color:#fff; background:#1b1e2b; box-shadow:0 7px 18px rgba(18,21,36,.16); }
.org-google-tabs button.active span { background:rgba(255,255,255,.12); }
.org-google-search { margin-bottom:16px; padding:8px 9px 8px 15px; display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:9px; border:1px solid var(--org-line); border-radius:17px; background:var(--org-panel); }
.org-google-search > .org-svg-icon { width:17px; color:var(--org-muted); }
.org-google-search input { min-width:0; padding:8px 0; border:0; outline:0; color:var(--org-text); background:transparent; font:inherit; }
.org-google-search button { padding:9px 13px; border:0; border-radius:11px; color:var(--org-text); background:var(--org-panel-2); font-size:10px; font-weight:750; }
.org-google-search button:first-of-type { color:#fff; background:#4285f4; }
.org-google-panel { min-height:300px; }
.org-google-overview-head { margin:5px 0 15px; display:flex; align-items:end; justify-content:space-between; gap:20px; }
.org-google-overview-head h2 { margin:4px 0 0; font-size:25px; }
.org-google-service-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.org-google-service-card { min-width:0; min-height:220px; padding:17px; grid-column:span 2; border:1px solid var(--org-line); border-radius:22px; background:var(--org-panel); box-shadow:0 10px 32px rgba(24,28,45,.045); }
.org-google-service-card:nth-child(-n+2) { grid-column:span 3; }
.org-google-service-card header { display:flex; align-items:center; gap:10px; }
.org-google-service-card header > span { width:39px; height:39px; flex:0 0 39px; display:grid; place-items:center; border-radius:13px; color:#fff; background:#4285f4; font-weight:850; }
.org-google-service-card.gmail header > span{background:#ea4335}.org-google-service-card.calendar header > span{background:#4285f4}.org-google-service-card.drive header > span{background:#fbbc05;color:#473300}.org-google-service-card.contacts header > span{background:#34a853}.org-google-service-card.tasks header > span{background:#6c63ff}
.org-google-service-card header div { min-width:0; display:grid; }.org-google-service-card header strong { font-size:13px; }.org-google-service-card header small { color:var(--org-muted); font-size:9px; }
.org-google-service-card header button { margin-left:auto; padding:6px 8px; border:0; color:var(--org-purple); background:transparent; font-size:9px; font-weight:800; }
.org-google-service-card > p { margin:22px 0 0; color:var(--org-muted); font-size:11px; line-height:1.5; }
.org-google-service-card.disabled { opacity:.66; background:var(--org-panel-2); }
.org-google-mini-list { margin-top:16px; display:grid; gap:9px; }.org-google-mini-list > div { min-width:0; display:flex; align-items:start; gap:9px; }.org-google-mini-list > div > span { color:var(--org-purple); font-size:10px; }.org-google-mini-list p { min-width:0; margin:0; display:grid; }.org-google-mini-list strong,.org-google-mini-list small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.org-google-mini-list strong { font-size:10px; }.org-google-mini-list small { color:var(--org-muted); font-size:8px; }
.org-google-mini-empty,.org-google-error { margin:25px 0 0!important; color:var(--org-muted); font-size:10px; }.org-google-error { color:#d95c5c!important; }
.org-google-list { display:grid; gap:9px; }
.org-google-mail { width:100%; min-width:0; padding:13px 15px; display:grid; grid-template-columns:42px minmax(0,1fr) auto auto; align-items:center; gap:12px; border:1px solid var(--org-line); border-radius:17px; color:var(--org-text); background:var(--org-panel); text-align:left; box-shadow:0 7px 24px rgba(25,28,48,.035); }
.org-google-mail:hover { transform:translateY(-1px); border-color:color-mix(in srgb,#4285f4 30%,var(--org-line)); }.org-google-mail.unread { border-left:3px solid #4285f4; }
.org-mail-avatar { width:40px; height:40px; display:grid; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(145deg,#ea4335,#c42b60); font-weight:850; }
.org-google-mail > span:nth-child(2) { min-width:0; display:grid; gap:2px; }.org-google-mail small,.org-google-mail p,.org-google-mail strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.org-google-mail small { color:var(--org-muted); font-size:9px; }.org-google-mail strong { font-size:13px; }.org-google-mail p { margin:0; color:var(--org-muted); font-size:10px; }.org-google-mail time { color:var(--org-muted); font-size:9px; }.org-google-mail > i { color:var(--org-purple); font-style:normal; }
.org-google-file-grid,.org-google-contact-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(245px,1fr)); gap:12px; }
.org-google-file,.org-google-contact-grid article { min-width:0; padding:15px; display:flex; align-items:center; gap:12px; border:1px solid var(--org-line); border-radius:18px; color:var(--org-text); background:var(--org-panel); text-decoration:none; }
.org-google-file > span { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:13px; background:var(--org-panel-2); font-size:12px; font-weight:850; }.org-google-file > div,.org-google-contact-grid article > div { min-width:0; display:grid; }.org-google-file strong,.org-google-file small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.org-google-file small { color:var(--org-muted); font-size:9px; }.org-google-file > i { margin-left:auto; color:var(--org-purple); font-style:normal; }
.org-google-contact-grid article > span { width:47px; height:47px; flex:0 0 47px; overflow:hidden; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(145deg,#34a853,#1b7f70); font-weight:850; }.org-google-contact-grid img { width:100%; height:100%; object-fit:cover; }.org-google-contact-grid strong { font-size:13px; }.org-google-contact-grid small,.org-google-contact-grid a,.org-google-contact-grid em { overflow:hidden; color:var(--org-muted); font-size:9px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.org-google-task-list,.org-google-calendar-list { display:grid; gap:9px; }.org-google-task-list article,.org-google-calendar-list > a { padding:14px 16px; display:flex; align-items:flex-start; gap:12px; border:1px solid var(--org-line); border-radius:17px; color:var(--org-text); background:var(--org-panel); text-decoration:none; }.org-google-task-list article > span { color:#6c63ff; font-size:19px; }.org-google-task-list article > div,.org-google-calendar-list a > div { min-width:0; flex:1; display:grid; gap:2px; }.org-google-task-list small,.org-google-calendar-list small { color:var(--org-muted); font-size:9px; }.org-google-task-list p,.org-google-calendar-list p { margin:2px 0 0; overflow:hidden; color:var(--org-muted); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.org-google-task-list .done { opacity:.6; }.org-google-task-list .done strong { text-decoration:line-through; }
.org-google-calendar-list > a > span { width:45px; height:50px; flex:0 0 45px; display:grid; place-items:center; align-content:center; border-radius:13px; color:#fff; background:#4285f4; }.org-google-calendar-list > a > span b { font-size:18px; line-height:1; }.org-google-calendar-list > a > span small { color:rgba(255,255,255,.75); }.org-google-calendar-list > a > i { color:#4285f4; font-style:normal; }

/* 1.11 — etiquetas, perfil, copias y colaboración */
.organiza-register{margin-top:18px;border-top:1px solid rgba(255,255,255,.18);padding-top:14px}.organiza-register summary{cursor:pointer;font-weight:800;text-align:center}.organiza-register[open] summary{margin-bottom:14px}.organiza-register form{display:grid;gap:11px}.organiza-register .organiza-login-error{margin-bottom:10px}
.org-tag-cloud{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.org-tag-cloud>button{min-height:128px;padding:22px;border:1px solid var(--org-line);border-radius:24px;background:linear-gradient(145deg,#fff,#f5f7ff);color:var(--org-text);text-align:left;box-shadow:0 12px 34px rgba(75,84,130,.08);transition:.2s transform,.2s box-shadow}.org-tag-cloud>button:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(75,84,130,.14)}.org-tag-cloud span{display:block;color:#6d55dd;font-size:18px;font-weight:850}.org-tag-cloud b{display:block;margin:13px 0 5px;font-size:30px}.org-tag-cloud small{color:var(--org-muted)}
.org-notification-total{padding:9px 14px;border-radius:999px;background:#eee9ff;color:#654bd4;font-weight:800}.org-notification-list{display:grid;gap:12px}.org-notification-list>article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;border:1px solid var(--org-line);border-radius:22px;background:var(--org-panel)}.org-notification-list>article.unread{border-color:#bdb0ff;background:linear-gradient(90deg,#f4f1ff,#fff)}.org-notification-list>article>span{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#eee9ff;color:#6d55dd}.org-notification-list h3,.org-notification-list p{margin:0}.org-notification-list small{color:var(--org-muted)}.org-notification-list p{margin-top:4px;color:var(--org-muted)}.org-notification-actions{display:flex;gap:8px}
.org-profile-hero{display:flex;align-items:center;gap:20px;padding:28px;border:1px solid var(--org-line);border-radius:28px;background:linear-gradient(135deg,#f3efff,#eef8ff);margin-bottom:20px}.org-profile-hero>div{flex:1}.org-profile-hero h1,.org-profile-hero p{margin:0}.org-profile-hero p{color:var(--org-muted)}.org-profile-avatar{width:72px;height:72px;display:grid;place-items:center;border-radius:23px;background:linear-gradient(135deg,#7655f6,#9c78ff);color:#fff;font-size:25px;font-weight:900}.org-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.org-profile-grid article{padding:22px;border:1px solid var(--org-line);border-radius:23px;background:var(--org-panel)}.org-profile-grid article>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf0ff;color:#6047d2}.org-profile-grid small,.org-profile-grid strong{display:block}.org-profile-grid small{margin-top:14px;color:var(--org-muted)}.org-profile-grid strong{margin:3px 0;font-size:27px}.org-profile-grid p{margin:0;color:var(--org-muted)}
.org-collaborator-line{display:flex;align-items:center;gap:0;margin:12px 0}.org-collaborator-line i,.org-collaborator-avatars span{width:30px;height:30px;display:grid;place-items:center;margin-right:-7px;border:2px solid #fff;border-radius:50%;background:#e9e3ff;color:#5d46bd;font-style:normal;font-weight:850}.org-collaborator-line span{margin-left:14px;color:var(--org-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-collaboration-panel{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(260px,420px);gap:18px;align-items:center;margin:0 0 20px;padding:18px 20px;border:1px solid #d9d1ff;border-radius:22px;background:linear-gradient(110deg,#f4f0ff,#fff)}.org-collaboration-panel h3,.org-collaboration-panel p{margin:0}.org-collaboration-panel p,.org-collaboration-panel small{color:var(--org-muted)}.org-collaborator-avatars{display:flex;padding-right:8px}.org-collaboration-panel form{display:flex;gap:8px}.org-collaboration-panel input{min-width:0;flex:1;padding:11px 13px;border:1px solid var(--org-line);border-radius:13px;background:#fff}.org-collaboration-panel>small{grid-column:1/-1}.org-home-notification{width:100%;display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:15px 18px;border:1px solid #cfc4ff;border-radius:20px;background:linear-gradient(90deg,#f0ebff,#fff);color:var(--org-text);text-align:left}.org-home-notification>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#7458e8;color:#fff}.org-home-notification>div{min-width:0;flex:1}.org-home-notification strong,.org-home-notification small{display:block}.org-home-notification small{color:var(--org-muted)}.org-home-notification i{color:#664ecf;font-style:normal;font-weight:800}

@media(max-width:760px){.org-tag-cloud{grid-template-columns:1fr 1fr;gap:10px}.org-tag-cloud>button{min-height:112px;padding:16px;border-radius:19px}.org-notification-list>article{grid-template-columns:42px minmax(0,1fr);padding:15px}.org-notification-list>article>.org-notification-actions,.org-notification-list>article>button{grid-column:1/-1}.org-notification-actions>*{flex:1}.org-profile-hero{align-items:flex-start;flex-wrap:wrap;padding:20px}.org-profile-hero>div{min-width:calc(100% - 100px)}.org-profile-hero>a{width:100%;text-align:center}.org-profile-grid{grid-template-columns:1fr}.org-collaboration-panel{grid-template-columns:1fr}.org-collaboration-panel form{grid-column:1}.org-collaboration-panel>small{grid-column:1}.org-collaborator-line span{max-width:170px}}
.org-google-mail-detail header { padding-right:35px; display:flex; align-items:center; gap:14px; }.org-google-mail-detail h2 { margin:4px 0 0; overflow-wrap:anywhere; font-size:25px; line-height:1.15; }.org-google-mail-meta { margin:20px 0; padding:14px; display:grid; gap:7px; border-radius:15px; background:var(--org-panel-2); }.org-google-mail-meta span { min-width:0; display:grid; grid-template-columns:60px minmax(0,1fr); color:var(--org-muted); font-size:10px; overflow-wrap:anywhere; }.org-google-mail-meta b { color:var(--org-text); }.org-google-mail-body { max-height:44vh; padding:3px 4px; overflow:auto; color:var(--org-text); font-size:12px; line-height:1.65; }.org-google-attachments { margin-top:14px; display:flex; flex-wrap:wrap; gap:7px; }.org-google-attachments span { padding:7px 9px; display:flex; gap:5px; border-radius:9px; background:var(--org-panel-2); font-size:9px; }.org-google-attachments .org-svg-icon { width:12px; }.org-google-mail-detail footer { margin-top:20px; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; }.org-google-mail-detail footer a { text-decoration:none; }
.org-agent .org-ai-title { align-items:flex-start; }.org-agent .org-ai-title p { margin:5px 0 0; color:var(--org-muted); font-size:11px; line-height:1.45; }.org-agent-capabilities { margin:-4px 0 15px; display:flex; flex-wrap:wrap; gap:6px; }.org-agent-capabilities span { padding:6px 8px; display:flex; align-items:center; gap:5px; border-radius:9px; color:var(--org-muted); background:var(--org-panel-2); font-size:8px; font-weight:700; }.org-agent-capabilities .org-svg-icon { width:12px; height:12px; }.org-agent-privacy { display:block; margin-top:8px; color:var(--org-muted); font-size:8px; text-align:center; }
.org-agent-actions { margin-top:12px; display:grid; gap:7px; }.org-agent-actions > button { width:100%; padding:10px; display:grid; grid-template-columns:33px minmax(0,1fr) auto; align-items:center; gap:9px; border:1px solid color-mix(in srgb,var(--org-purple) 25%,var(--org-line)); border-radius:13px; color:var(--org-text); background:color-mix(in srgb,var(--org-purple) 6%,var(--org-panel)); text-align:left; }.org-agent-actions > button > span:first-child { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; color:#fff; background:var(--org-purple); }.org-agent-actions .org-svg-icon { width:16px; }.org-agent-actions > button > span:nth-child(2) { min-width:0; display:grid; }.org-agent-actions small { color:var(--org-purple); font-size:7px; letter-spacing:.09em; }.org-agent-actions strong { font-size:10px; }.org-agent-actions em { overflow:hidden; color:var(--org-muted); font-size:9px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }.org-agent-actions i { color:var(--org-purple); font-size:9px; font-style:normal; font-weight:800; }.org-agent-actions > button.confirmed { grid-template-columns:28px 1fr; border-color:#34a853; color:#1a874a; background:rgba(52,168,83,.08); }

@media (max-width:1100px){.org-google-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.org-google-service-card,.org-google-service-card:nth-child(-n+2){grid-column:span 1}}
@media (max-width:760px){.org-google-hero{min-height:auto;padding:27px 22px;display:block;border-radius:25px}.org-google-hero h1{font-size:35px}.org-google-security{width:max-content;min-width:0;margin-top:24px}.org-google-tabs{position:sticky;top:112px;z-index:4;margin-inline:-4px}.org-google-search{grid-template-columns:auto minmax(0,1fr) auto}.org-google-search button:last-child{display:none}.org-google-service-grid{grid-template-columns:1fr}.org-google-service-card,.org-google-service-card:nth-child(-n+2){min-height:0;grid-column:auto}.org-google-mail{grid-template-columns:38px minmax(0,1fr) auto;padding:12px}.org-google-mail time{display:none}.org-google-file-grid,.org-google-contact-grid{grid-template-columns:1fr}.org-google-overview-head{align-items:center}.org-google-mail-detail footer>*{flex:1;text-align:center;justify-content:center}.org-agent-capabilities{overflow-x:auto;flex-wrap:nowrap}.org-agent-capabilities span{min-width:max-content}}
@media (max-width:360px){.org-google-hero{padding:23px 18px}.org-google-hero h1{font-size:31px}.org-google-tabs button{padding:9px 11px}.org-google-mail{grid-template-columns:34px minmax(0,1fr)}.org-google-mail>i{display:none}.org-mail-avatar{width:34px;height:34px}.org-google-overview-head .org-soft-btn{padding:8px;font-size:9px}.org-agent-actions>button{grid-template-columns:30px minmax(0,1fr)}.org-agent-actions i{display:none}}

@media (max-width: 1100px) {
  .org-internet-section-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .org-internet-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .org-internet-hero { min-height:0; margin:0 0 19px; padding:28px 20px 22px; grid-template-columns:1fr; gap:22px; border-radius:26px; text-align:left; }
  .org-internet-hero h1 { font-size:clamp(37px,11.5vw,49px); }
  .org-internet-orbit { margin-bottom:22px; }
  .org-internet-actions { display:grid; grid-template-columns:1fr; }
  .org-internet-actions > * { width:100%; min-height:48px; }
  .org-internet-counter { min-width:0; width:100%; padding:17px 19px; grid-template-columns:auto 1fr 1px auto 1fr; align-items:center; }
  .org-internet-counter strong { font-size:27px; }
  .org-internet-counter i { grid-column:auto; width:1px; height:36px; margin:0 14px; }
  .org-internet-section-grid,.org-internet-grid { grid-template-columns:1fr; gap:11px; }
  .org-internet-section { min-height:185px; }
  .org-internet-section > button:first-child { min-height:185px; }
  .org-internet-section-empty { min-height:165px; }
  .org-internet-card { min-height:235px; border-radius:21px; }
  .org-internet-detail > header { padding:20px; grid-template-columns:1fr; gap:17px; border-radius:25px; }
  .org-internet-detail > header > .org-soft-btn { width:max-content; }
  .org-internet-detail-title { align-items:flex-start; }
  .org-internet-detail-title > span { width:49px; height:49px; flex-basis:49px; border-radius:16px; }
  .org-internet-detail-title h1 { font-size:28px; overflow-wrap:anywhere; }
  .org-internet-detail .org-head-actions { display:grid; grid-template-columns:1fr; }
  .org-internet-detail .org-head-actions > * { width:100%; }
  .org-search-head { align-items:flex-start; }
  .org-search-head > button { width:100%; margin-top:13px; }
  .org-search-result { padding:13px; grid-template-columns:42px minmax(0,1fr) 34px; gap:10px; }
  .org-search-result-icon { width:42px; height:42px; }
  .org-search-result-tags { grid-column:2/4; justify-content:flex-start; }
  .org-search-result > a { grid-column:3; grid-row:1; }
}

@media (max-width: 360px) {
  .org-internet-hero { padding-inline:17px; }
  .org-internet-counter { padding-inline:13px; }
  .org-internet-counter i { margin-inline:8px; }
  .org-search-result { grid-template-columns:38px minmax(0,1fr); }
  .org-search-result-icon { width:38px; height:38px; }
  .org-search-result > a { display:none; }
  .org-search-result-tags { grid-column:1/-1; }
}

/* Keep the Internet workspace light after its component-specific rules. */
.org-internet-hero {
  color:var(--org-text);
  border-color:#d7e0ef;
  background:radial-gradient(circle at 82% 12%,rgba(86,180,204,.18),transparent 31%),radial-gradient(circle at 5% 100%,rgba(113,131,225,.16),transparent 38%),linear-gradient(135deg,#f8fbff,#edf3fb);
  box-shadow:0 22px 58px rgba(42,61,94,.1);
}
.org-internet-hero::after { border-color:rgba(80,104,216,.12); box-shadow:0 0 0 36px rgba(80,104,216,.025),0 0 0 76px rgba(80,104,216,.018); }
.org-internet-hero .org-kicker { color:#2f8b7b; }
.org-internet-hero p { color:var(--org-muted); }
.org-internet-orbit { color:#4058c7; border-color:#d6def8; background:#fff; box-shadow:0 12px 30px rgba(61,86,160,.13); }
.org-internet-actions .org-soft-btn { color:#4058c7; border-color:#d4dcfb; background:#fff; }
.org-internet-counter { color:var(--org-text); border-color:#dbe4f0; background:rgba(255,255,255,.82); }
.org-internet-counter span { color:var(--org-muted); }
.org-internet-counter i { background:var(--org-line); }
.org-internet-section-preview { color:var(--org-text); border:1px solid color-mix(in srgb,var(--section) 25%,var(--org-line)); background:linear-gradient(145deg,color-mix(in srgb,var(--section) 17%,#fff),#fff); box-shadow:inset 8px 0 color-mix(in srgb,var(--section) 55%,#fff),0 14px 30px rgba(42,61,94,.08); }
.org-internet-section-preview small { color:var(--org-muted); }

/* 1.12 — compact navigation, readable tabs and prominent notebook sharing */
.org-sidebar { padding:18px 15px 16px; }
.org-brand { padding:0 8px 14px; }
.org-space-switch { min-height:36px; margin-bottom:10px; }
.org-space-switch button { padding:6px 4px; font-size:10px; }
.org-nav { gap:2px; }
.org-nav-section { margin:7px 10px 2px; color:#8b96aa; font-size:8px; font-weight:850; letter-spacing:.16em; line-height:1.2; text-transform:uppercase; }
.org-nav-item { min-height:36px; padding:4px 9px; gap:10px; border-radius:11px; font-size:11px; }
.org-nav-item > .org-svg-icon { width:29px; height:29px; flex:0 0 29px; padding:7px; border-radius:9px; }
.org-sidebar-bottom { gap:1px; }
.org-sidebar-bottom .org-nav-item { min-height:34px; }
.org-user { min-height:48px; margin-top:7px; padding:9px 7px 0; }
.org-user .org-avatar { width:34px; height:34px; flex-basis:34px; }
.org-chips button { max-width:155px; min-height:34px; padding:7px 10px; overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.org-calendar-modes button,.org-google-tabs button { max-width:145px; overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }

.org-notebook { min-height:495px; display:flex; flex-direction:column; }
.org-notebook-cover { height:auto; flex:1 1 auto; }
.org-notebook-sharebar { min-height:58px; margin-top:10px; padding:8px 9px 8px 13px; display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid color-mix(in srgb,var(--book) 25%,var(--org-line)); border-radius:17px; background:#fff; box-shadow:0 10px 28px rgba(42,61,94,.08); }
.org-notebook-sharebar>span { min-width:0; display:flex; align-items:center; gap:6px; color:var(--org-muted); }
.org-notebook-sharebar>span .org-svg-icon { width:17px; color:var(--book); }
.org-notebook-sharebar>span b { color:var(--org-text); font-size:13px; }
.org-notebook-sharebar>span small { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.org-notebook-sharebar>button { min-height:40px; padding:9px 13px; display:flex; align-items:center; gap:6px; border:0; border-radius:12px; color:#fff; background:var(--book); font-size:10px; font-weight:800; box-shadow:0 7px 18px color-mix(in srgb,var(--book) 25%,transparent); }
.org-notebook-sharebar>button .org-svg-icon { width:14px; }
.org-collaboration-panel>.org-primary { justify-self:end; white-space:nowrap; }

.org-share-dialog { display:grid; justify-items:center; text-align:center; }
.org-share-dialog-icon { width:62px; height:62px; margin-bottom:13px; display:grid; place-items:center; border-radius:21px; color:#fff; background:linear-gradient(145deg,#5068d8,#8c72eb); box-shadow:0 15px 34px rgba(80,104,216,.28); }
.org-share-dialog-icon .org-svg-icon { width:28px; }
.org-share-dialog h2 { margin:6px 0 8px; font-size:28px; line-height:1.12; }
.org-share-dialog>p { max-width:530px; margin:0 0 18px; color:var(--org-muted); line-height:1.55; }
.org-share-people { width:100%; margin-bottom:17px; padding:12px 15px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-radius:15px; background:var(--org-panel-2); }
.org-share-people strong { font-size:11px; }
.org-share-dialog form { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; text-align:left; }
.org-share-dialog form label { min-width:0; display:grid; gap:6px; color:var(--org-muted); font-size:10px; font-weight:800; }
.org-share-dialog form input,.org-share-created input { width:100%; min-width:0; padding:12px 13px; border:1px solid var(--org-line); border-radius:13px; color:var(--org-text); background:#fff; box-sizing:border-box; }
.org-share-or { width:100%; margin:15px 0; display:flex; align-items:center; color:var(--org-muted); font-size:9px; }
.org-share-or::before,.org-share-or::after { content:""; height:1px; flex:1; background:var(--org-line); }
.org-share-or span { padding:0 11px; }
.org-share-link { width:100%; padding:13px 15px; display:grid; grid-template-columns:35px 1fr; align-items:center; gap:11px; border:1px solid #d4dcfb; border-radius:15px; color:#4058c7; background:#f2f5ff; text-align:left; }
.org-share-link>.org-svg-icon { width:21px; justify-self:center; }
.org-share-link>span { display:grid; }
.org-share-link b { font-size:12px; }
.org-share-link small { margin-top:2px; color:var(--org-muted); font-size:9px; }
#org-share-result { width:100%; }
.org-share-created { margin-top:13px; display:grid; gap:6px; text-align:left; }
.org-share-created span { color:#238058; font-size:10px; font-weight:850; }
.org-share-created small { color:var(--org-muted); font-size:9px; }

.organiza-register { margin-top:20px; padding:0; overflow:hidden; border:1px solid #d9dff2; border-radius:18px; background:rgba(245,247,255,.9); }
.organiza-register summary { padding:14px 16px; display:grid; gap:2px; color:#4058c7; text-align:left; list-style:none; }
.organiza-register summary::-webkit-details-marker { display:none; }
.organiza-register summary span { color:#72798e; font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.organiza-register summary strong { font-size:13px; }
.organiza-register[open] summary { margin:0; border-bottom:1px solid #dfe4f2; background:#eef2ff; }
.organiza-register-intro { padding:14px 16px 3px; display:grid; gap:4px; }
.organiza-register-intro b { font-size:12px; }
.organiza-register-intro small,.organiza-register label small { color:#73798d; font-size:9px; line-height:1.45; }
.organiza-register form { padding:13px 16px 17px; gap:11px; }
.organiza-register input { min-height:47px; border-radius:13px; }

@media(max-height:780px) and (min-width:761px){.org-brand{display:none}.org-sidebar{padding-top:10px}.org-space-switch{margin-bottom:5px}.org-nav-section{margin-top:4px}.org-nav-item{min-height:31px}.org-nav-item>.org-svg-icon{width:25px;height:25px;padding:6px}.org-user{display:none}}
@media(max-width:760px){.org-sidebar{padding-top:calc(18px + env(safe-area-inset-top))}.org-nav-section{margin-top:10px}.org-nav-item{min-height:42px;font-size:12px}.org-nav-item>.org-svg-icon{width:32px;height:32px}.org-notebook{min-height:440px}.org-notebook-sharebar{position:relative;z-index:3;margin-top:8px}.org-collaboration-panel>.org-primary{width:100%;justify-self:stretch}.org-share-dialog form{grid-template-columns:1fr}.org-share-dialog form .org-primary{width:100%}.org-share-dialog h2{font-size:24px}.organiza-login-shell:has(.organiza-register[open]){width:min(100%,520px)}.organiza-login-wrap:has(.organiza-register[open]){align-items:flex-start;overflow:auto}.organiza-register[open]{max-height:none}}

/* 1.13 — high-contrast navigation and expanded user profile */
.org-sidebar { color:#27344c; background:linear-gradient(180deg,#f8fbff 0%,#eaf1f9 100%); border-right:1px solid #d4deeb; box-shadow:9px 0 30px rgba(45,67,102,.08); }
.org-brand strong { color:#1d2940; }
.org-brand small { color:#61708a; }
.org-brand .org-logo { color:#fff; }
.org-space-switch { min-height:42px; margin-bottom:12px; background:#dfe8f3; border-color:#d3dfed; }
.org-space-switch button { color:#44536d; font-size:11px; }
.org-space-switch button.active { color:#314cac; background:#fff; box-shadow:0 4px 13px rgba(52,75,122,.1); }
.org-nav { gap:3px; }
.org-nav-section { margin:9px 11px 3px; color:#566781; font-size:9px; letter-spacing:.14em; }
.org-nav-item,.org-sidebar .org-nav-item:not(.active),.org-sidebar-bottom .org-nav-item { min-height:42px; padding:5px 10px; gap:11px; color:#283750; border-radius:12px; font-size:13px; font-weight:720; }
.org-nav-item > .org-svg-icon { width:31px; height:31px; flex-basis:31px; padding:7px; color:#4058b9; background:#fff; border:1px solid #d8e2ef; }
.org-nav-item:hover { color:#243c91; background:#dce6f7; }
.org-nav-item.active { color:#fff; background:linear-gradient(135deg,var(--org-purple),color-mix(in srgb,var(--org-purple) 74%,#7c5cff)); box-shadow:0 8px 20px color-mix(in srgb,var(--org-purple) 24%,transparent); }
.org-nav-item.active > .org-svg-icon { color:var(--org-purple); background:#fff; border-color:transparent; box-shadow:none; }
.org-sidebar-bottom { margin-top:auto; padding-top:6px; border-top:1px solid #d6e0ec; }
.org-sidebar-bottom .org-nav-item { min-height:39px; font-size:12px; }
.org-user { color:#26344c; border-color:#d2dce8; }
.org-user strong { color:#1e2b42; }
.org-sidebar .org-user small { color:#6a7890; }
.org-primary { background:var(--org-purple); box-shadow:0 8px 22px color-mix(in srgb,var(--org-purple) 24%,transparent); }
.org-primary:hover { background:color-mix(in srgb,var(--org-purple) 84%,#17264e); }
.org-avatar img,.org-profile-avatar img,.org-person-avatar img { width:100%; height:100%; display:block; border-radius:inherit; object-fit:cover; }
.org-person-avatar,.org-collaborator-line .org-person-avatar,.org-collaborator-avatars .org-person-avatar { width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;margin:0 -7px 0 0;border:2px solid #fff;border-radius:50%;overflow:hidden;background:#dfe6ff;color:#4056af;font-style:normal;font-weight:850;box-shadow:0 3px 10px rgba(36,48,85,.1); }
.org-notification-list .notification-avatar { width:44px; height:44px; margin:0!important; border:0; border-radius:14px; }
.org-collaborator-line>span:last-child { min-width:0; margin-left:14px; color:var(--org-muted); font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.org-profile-hero.enhanced { align-items:center; background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--org-purple) 14%,transparent),transparent 34%),linear-gradient(135deg,#f7f9ff,#eef5fb); }
.org-profile-hero.enhanced>div:nth-child(2)>small { display:block; margin-top:7px; color:var(--org-muted); font-size:10px; }
.org-profile-photo { flex:0 0 auto!important; display:grid; grid-template-columns:auto auto; align-items:center; gap:6px; }
.org-profile-photo .org-profile-avatar { grid-column:1/-1; width:92px; height:92px; margin:auto; overflow:hidden; border:4px solid #fff; border-radius:29px; box-shadow:0 13px 30px color-mix(in srgb,var(--org-purple) 20%,transparent); }
.org-photo-action,.org-photo-remove { min-height:31px; padding:7px 9px; display:flex; align-items:center; justify-content:center; gap:5px; border:0; border-radius:10px; font-size:9px; font-weight:800; cursor:pointer; }
.org-photo-action { color:#fff; background:var(--org-purple); }
.org-photo-action .org-svg-icon { width:13px; }
.org-photo-remove { color:#a33f4b; background:#fbeaec; }
.org-profile-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr); gap:18px; align-items:start; }
.org-profile-settings { padding:25px; border:1px solid var(--org-line); border-radius:25px; background:var(--org-panel); box-shadow:0 14px 38px rgba(42,61,94,.06); }
.org-profile-settings .org-section-heading { margin-bottom:20px; }
.org-profile-settings .org-section-heading h2 { margin:4px 0; font-size:25px; }
.org-profile-settings .org-section-heading p { margin:0; color:var(--org-muted); }
.org-profile-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.org-profile-fields label { min-width:0; display:grid; gap:6px; color:#4b5870; font-size:10px; font-weight:800; }
.org-profile-fields input,.org-profile-fields select { width:100%; min-width:0; min-height:45px; padding:10px 12px; border:1px solid var(--org-line); border-radius:12px; color:var(--org-text); background:#fbfcff; box-sizing:border-box; }
.org-profile-toggle { padding:10px 12px; grid-template-columns:auto 1fr!important; align-items:center; border:1px solid var(--org-line); border-radius:12px; background:#fbfcff; }
.org-profile-toggle>span { grid-column:1/-1; }
.org-profile-toggle input { width:18px; min-height:18px; }
.org-profile-toggle b { font-size:11px; }
.org-accent-picker { margin:18px 0; padding:14px; display:flex; flex-wrap:wrap; gap:10px; border:1px solid var(--org-line); border-radius:15px; }
.org-accent-picker legend { padding:0 7px; color:#4b5870; font-size:10px; font-weight:800; }
.org-accent-picker label { cursor:pointer; }
.org-accent-picker input { position:absolute; opacity:0; }
.org-accent-picker span { width:30px; height:30px; display:block; border:4px solid #fff; border-radius:50%; background:var(--accent); box-shadow:0 0 0 1px #d7deeb; }
.org-accent-picker input:checked+span { box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 45%,#fff); transform:scale(1.08); }
.org-profile-side { display:grid; gap:12px; }
.org-profile-side article { padding:18px; display:grid; grid-template-columns:42px minmax(0,1fr); column-gap:12px; border:1px solid var(--org-line); border-radius:19px; background:var(--org-panel); }
.org-profile-side article>span { width:42px; height:42px; grid-row:1/4; display:grid; place-items:center; border-radius:13px; color:var(--org-purple); background:color-mix(in srgb,var(--org-purple) 10%,#fff); }
.org-profile-side small,.org-profile-side strong,.org-profile-side p { grid-column:2; }
.org-profile-side small { color:var(--org-muted); }
.org-profile-side strong { margin:1px 0; font-size:20px; }
.org-profile-side p { margin:0; color:var(--org-muted); font-size:10px; line-height:1.45; }
.org-density-compact .org-main { padding-top:22px; }
.org-density-compact .org-card,.org-density-compact .org-item-card { min-height:unset; }
.org-reduce-motion * { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; scroll-behavior:auto!important; }

@media(max-height:820px) and (min-width:901px){.org-brand{display:none}.org-sidebar{padding-top:9px}.org-space-switch{margin-bottom:5px}.org-nav-section{margin-top:4px}.org-nav-item{min-height:35px;font-size:12px}.org-nav-item>.org-svg-icon{width:27px;height:27px}.org-user{display:none}}
@media(max-width:900px){.org-profile-layout{grid-template-columns:1fr}.org-profile-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.org-sidebar{background:linear-gradient(180deg,#f8fbff,#eaf1f9)}.org-nav-item,.org-sidebar .org-nav-item:not(.active){min-height:47px;font-size:14px}.org-nav-section{font-size:10px}.org-profile-hero.enhanced{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px}.org-profile-hero.enhanced>a{grid-column:1/-1}.org-profile-photo{grid-row:1}.org-profile-photo .org-profile-avatar{width:76px;height:76px;border-radius:24px}.org-photo-action,.org-photo-remove{grid-column:1/-1}.org-profile-fields,.org-profile-side{grid-template-columns:1fr}.org-profile-settings{padding:19px}.org-profile-layout{gap:13px}}

/* 1.14 — compact note gallery and downloadable backups */
.org-note-grid { grid-template-columns:repeat(auto-fill,minmax(min(225px,100%),1fr)); gap:14px; align-items:stretch; }
.org-notebook-pages { grid-template-columns:repeat(auto-fill,minmax(min(235px,100%),1fr)); gap:14px; }
.org-note-card { min-height:0; }
.org-note-paper { min-height:210px; padding:16px 15px 13px 19px; border-radius:18px; background:repeating-linear-gradient(180deg,var(--org-panel) 0,var(--org-panel) 25px,color-mix(in srgb,var(--note) 10%,transparent) 26px); box-shadow:0 9px 25px rgba(30,45,75,.06); }
.org-note-paper::before { width:5px; }
.org-note-paper:hover { transform:translateY(-3px); box-shadow:0 14px 31px rgba(30,45,75,.1); }
.org-note-card-top { min-height:20px; gap:7px; font-size:9px; }
.org-note-card-top em { max-width:54%; }
.org-note-card-top .org-svg-icon { width:12px; height:12px; }
.org-note-paper h2 { margin:9px 0 6px; overflow:hidden; font-size:17px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.org-note-paper>p { min-height:52px; margin:0 0 8px; overflow:hidden; display:-webkit-box; color:#59677d; font-size:11px; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.org-note-paper footer { padding-top:8px; gap:8px; align-items:center; }
.org-note-paper footer>i { font-size:9px; }
.org-note-tags { min-width:0; flex-wrap:nowrap; gap:4px; overflow:hidden; }
.org-note-tags span { max-width:92px; padding:4px 6px; overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.org-note-paper .org-attachment-strip.compact { min-height:38px; margin:0 0 6px; padding:4px; gap:5px; border-radius:11px; }
.org-note-paper .org-attachment-strip.compact img { width:36px; height:30px; border-radius:7px; }
.org-note-paper .org-attachment-strip.compact>span { max-width:105px; min-height:30px; padding:5px 6px; }
.org-note-paper .org-attachment-strip.compact>span .org-svg-icon { width:13px; height:13px; flex-basis:13px; }
.org-note-paper .org-attachment-strip.compact>span b { font-size:8px; }
.org-backup-download { min-height:42px; display:flex; align-items:center; justify-content:center; gap:7px; white-space:nowrap; }
.org-backup-download .org-svg-icon { width:16px; height:16px; }

@media(max-width:760px){
  .org-note-grid,.org-notebook-pages { grid-template-columns:1fr; gap:10px; }
  .org-note-card,.org-note-paper { min-height:176px; }
  .org-note-paper { padding:14px 14px 12px 18px; border-radius:16px; }
  .org-note-paper>p { min-height:35px; -webkit-line-clamp:2; }
  .org-note-paper h2 { margin-top:7px; font-size:16px; }
  .org-setting-card .org-backup-download { width:100%; }
}

/* 1.15 — categorized PDF export */
.org-setting-card.pdf-export {
  border-color:#d9dcff;
  background:linear-gradient(135deg,#fbfbff 0%,#f1f3ff 58%,#eef8ff 100%);
  box-shadow:0 14px 34px rgba(73,88,172,.08);
}
.org-connection-logo.pdf {
  color:#4f5fc4;
  background:linear-gradient(145deg,#e2e5ff,#eef5ff);
  box-shadow:inset 0 0 0 1px rgba(79,95,196,.10);
}
.org-setting-card.pdf-export .org-backup-download {
  color:#fff;
  border-color:#5667d1;
  background:linear-gradient(135deg,#6575db,#4e5ec0);
  box-shadow:0 8px 20px rgba(78,94,192,.20);
}
.org-setting-card.pdf-export .org-backup-download:hover { background:linear-gradient(135deg,#5869ce,#4353b2); }
.org-setting-card.pdf-export .org-backup-download:disabled { opacity:.68; cursor:progress; }

@media(max-width:760px){
  .org-setting-card.pdf-export { align-items:start; }
  .org-setting-card.pdf-export .org-connection-logo { align-self:start; }
}
