@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #16252b;
  --ink-soft: #52636a;
  --paper: #f4f6f1;
  --white: #ffffff;
  --navy: #183b4a;
  --navy-deep: #102c38;
  --mint: #d8efcf;
  --lime: #cdeea8;
  --sky: #c9e8f3;
  --peach: #f9ddca;
  --line: rgba(22, 37, 43, .13);
  --shadow: 0 28px 70px rgba(24, 59, 74, .14);
  --display: 'Space Grotesk', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --body: 'DM Sans', 'Avenir Next', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-shell { width: min(1400px, 100%); margin: 0 auto; padding: 0 50px; overflow: hidden; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; color: var(--navy); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font: 700 20px/1 var(--display); letter-spacing: -.05em; }
.brand-name span { color: #5eaa6b; }

.top-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.top-nav a { transition: color .2s ease; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--navy); }

.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 0 21px; border-radius: 7px; font-weight: 700; font-size: 14px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .vote-option:focus-visible, .sso-button:focus-visible, .modal-close:focus-visible, .password-toggle:focus-visible, .forgot-link:focus-visible { outline: 3px solid rgba(95, 170, 107, .45); outline-offset: 3px; }
.button-dark { background: var(--navy); color: white; box-shadow: 0 8px 16px rgba(24, 59, 74, .14); }
.button-dark:hover { background: var(--navy-deep); box-shadow: 0 12px 22px rgba(24, 59, 74, .2); }
.button-light { background: white; color: var(--navy); }
.button-large { min-height: 56px; padding: 0 23px; font-size: 15px; }
.button-arrow { font-size: 20px; line-height: 0; font-weight: 400; }

.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr); gap: 65px; align-items: center; padding: 77px 0 88px; min-height: 700px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 15px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #57935e; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ca972; box-shadow: 0 0 0 5px rgba(108, 169, 114, .12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.062em; }
h1 { max-width: 700px; margin-bottom: 25px; font-size: clamp(3.8rem, 5.3vw, 5.7rem); line-height: .97; font-weight: 600; }
h1 em, h2 em { color: #64a66b; font-style: normal; }
.hero-description { max-width: 460px; margin-bottom: 31px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.text-link span { display: inline-block; font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(3px); }
.hero-proof { display: flex; align-items: center; gap: 15px; margin-top: 59px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 13px; }
.hero-proof > div:last-child > span { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.avatar-stack { display: flex; padding-left: 8px; }
.mini-avatar { display: grid; width: 31px; height: 31px; margin-left: -8px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; color: var(--navy); font: 700 11px var(--display); }
.avatar-blue { background: #afd8e9; }
.avatar-coral { background: #f4bfa9; }
.avatar-lilac { background: #cdc7ee; }
.avatar-cream { background: #e9d09f; }
.more-avatar { background: var(--navy); color: white; font-size: 10px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; }
.hero-visual::before { content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%; background: var(--mint); opacity: .82; }
.visual-orbit { position: absolute; border: 1px solid rgba(96, 158, 101, .24); border-radius: 50%; }
.orbit-one { width: 610px; height: 338px; transform: rotate(-29deg); }
.orbit-two { width: 475px; height: 625px; transform: rotate(39deg); }
.meeting-card { position: relative; z-index: 2; width: min(100%, 525px); overflow: hidden; border: 1px solid rgba(22, 37, 43, .1); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.meeting-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 25px 27px 17px; }
.card-kicker { display: block; color: #6c7c7e; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.meeting-topbar h2 { margin: 3px 0 0; font-size: 23px; line-height: 1.1; font-weight: 600; letter-spacing: -.05em; }
.live-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 4px; background: #e9f5e6; color: #57935e; font-size: 10px; font-weight: 700; white-space: nowrap; }
.live-status span { width: 6px; height: 6px; border-radius: 50%; background: #72b978; }
.meeting-meta { display: flex; flex-wrap: wrap; gap: 15px; padding: 0 27px 18px; color: var(--ink-soft); font-size: 11px; }
.meeting-meta span { display: inline-flex; align-items: center; gap: 5px; }
.meeting-meta svg { width: 14px; height: 14px; fill: none; stroke: #80a288; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.attendees-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 27px; border-top: 1px solid #edf0ec; border-bottom: 1px solid #edf0ec; color: var(--ink-soft); font-size: 11px; }
.attendees-row strong { color: var(--ink); }
.large-stack .mini-avatar { width: 26px; height: 26px; }
.agenda-block { padding: 19px 27px 15px; }
.agenda-heading { display: flex; justify-content: space-between; margin-bottom: 9px; color: #9aa5a4; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.agenda-item { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; min-height: 31px; color: #7b8989; font-size: 11px; }
.agenda-item.active { color: var(--ink); font-weight: 700; }
.agenda-check, .agenda-number { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; font-size: 9px; }
.agenda-check { background: #e7f3df; color: #65a36d; font-weight: 700; }
.agenda-number { background: #eff2ef; color: var(--ink-soft); }
.item-state { padding: 3px 6px; border-radius: 3px; background: #eef2ef; color: #6a7a79; font-size: 9px; font-weight: 600; }
.item-state-active { background: #e2f1d8; color: #589661; }
.muted-number, .muted-copy { opacity: .55; }
.vote-block { margin: 0 18px 18px; padding: 19px 20px 17px; border-radius: 8px; background: #f4f7f1; }
.vote-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vote-title-row h3 { margin: 3px 0 0; font: 600 16px/1.15 var(--display); letter-spacing: -.04em; }
.timer-badge { padding: 5px 7px; border: 1px solid #dfebe0; border-radius: 4px; color: #72947a; font-size: 10px; font-weight: 700; }
.vote-bars { display: grid; gap: 8px; margin-bottom: 17px; }
.vote-bar-line { display: grid; grid-template-columns: 72px 22px 1fr; align-items: center; gap: 7px; font-size: 10px; }
.vote-bar-line strong { color: var(--ink); font-size: 10px; }
.bar-track { height: 5px; overflow: hidden; border-radius: 999px; background: #e2e9df; }
.bar-fill { display: block; height: 100%; border-radius: inherit; transition: width .35s ease; }
.fill-yes { background: #77b77b; }
.fill-no { background: #d98676; }
.fill-abstain { background: #ddb76a; }
.vote-actions { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 6px; }
.vote-option { min-height: 33px; border: 1px solid #dae5d9; border-radius: 4px; background: white; color: var(--ink-soft); font-size: 10px; font-weight: 700; transition: .2s ease; }
.vote-option:hover, .vote-option.selected { border-color: #74aa78; background: #e1f0da; color: #437a4b; }
.vote-option span { margin-right: 3px; font-size: 13px; }
.no-option:hover, .no-option.selected { border-color: #df9d91; background: #faece7; color: #aa5d50; }
.abstain-option:hover, .abstain-option.selected { border-color: #ddbd7b; background: #fbf2dd; color: #a2772c; }
.vote-feedback { min-height: 16px; margin: 10px 0 0; color: #6a8070; font-size: 10px; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgba(22, 37, 43, .08); border-radius: 7px; background: rgba(255, 255, 255, .94); box-shadow: 0 13px 27px rgba(24, 59, 74, .13); }
.floating-note > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #ddf0d6; color: #5a9a62; font-weight: 700; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { color: var(--ink); font: 700 10px var(--body); }
.floating-note small { margin-top: 2px; color: #81908d; font-size: 9px; }
.note-check { top: 58px; right: 0; }
.note-lock { bottom: 67px; left: 0; }
.note-lock > span { background: #e2edf5; color: #4e85a0; font-size: 16px; }

.logo-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 95px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip > span { color: #899593; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.role-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 37px; color: #667572; font: 600 12px var(--display); letter-spacing: .04em; }
.role-list span { display: flex; align-items: center; gap: 7px; }
.role-list span:first-child { color: #6e9b76; }

.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding: 125px 0 54px; }
.section-intro .eyebrow { margin-bottom: 16px; }
.section-intro h2, .closing-banner h2 { margin: 0; font-size: clamp(2.8rem, 4.4vw, 4.35rem); line-height: .99; font-weight: 600; }
.section-intro > p { max-width: 455px; margin: 0 0 4px auto; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 126px; }
.feature-card { position: relative; min-height: 330px; padding: 28px 28px 26px; border-radius: 8px; overflow: hidden; }
.feature-card-lime { background: var(--lime); }
.feature-card-sky { background: var(--sky); }
.feature-card-peach { background: var(--peach); }
.feature-number { position: absolute; top: 25px; right: 28px; color: rgba(22, 37, 43, .42); font: 600 12px var(--display); }
.feature-icon { display: grid; width: 53px; height: 53px; place-items: center; margin: 54px 0 26px; border-radius: 50%; }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.icon-calendar { background: rgba(255,255,255,.4); }
.icon-vote { background: rgba(255,255,255,.43); }
.icon-shield { background: rgba(255,255,255,.45); }
.feature-card h3 { margin: 0 0 10px; font: 600 24px/1.1 var(--display); letter-spacing: -.05em; }
.feature-card p { max-width: 285px; margin: 0; color: rgba(22, 37, 43, .68); font-size: 14px; line-height: 1.6; }
.closing-banner { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin: 0 -50px; padding: 78px 50px 85px; background: var(--navy); color: white; }
.closing-banner .eyebrow { color: #a9d5a9; }
.closing-banner .eyebrow-dot { background: #a9d5a9; box-shadow: 0 0 0 5px rgba(169, 213, 169, .14); }
.closing-banner h2 em { color: #a9d5a9; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 91px; color: #7b8987; font-size: 12px; }
.footer-brand { color: var(--navy); }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand .brand-mark { width: 29px; height: 29px; }

/* Area riservata */
.site-shell.is-hidden { display: none; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); background: #f3f6f2; color: var(--ink); }
.app-shell[hidden] { display: none; }
.app-sidebar { display: flex; flex-direction: column; height: 100vh; min-height: 0; overflow: hidden; padding: 26px 16px 20px; border-right: 1px solid #dfe8e1; background: #fbfdf9; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; }
.sidebar-head .brand-mark { width: 31px; height: 31px; }
.sidebar-head .brand-name { font-size: 18px; }
.sidebar-toggle { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #dce7df; border-radius: 6px; background: white; color: #72907a; font-size: 17px; line-height: 1; }
.school-switcher { display: flex; align-items: center; gap: 10px; margin: 38px 0 28px; padding: 11px 9px; border: 1px solid #e1eae3; border-radius: 8px; background: white; }
.school-symbol { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: var(--navy); color: white; font: 700 10px var(--display); }
.school-switcher > span:nth-child(2) { min-width: 0; }
.school-switcher strong, .school-switcher small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-switcher strong { color: var(--ink); font-size: 11px; }
.school-switcher small { margin-top: 2px; color: #8b9994; font-size: 9px; }
.chevron { margin-left: auto; color: #8c9b94; font-size: 16px; line-height: 1; }
.app-nav { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; gap: 3px; overflow-y: auto; scrollbar-color: #c8d8ca transparent; scrollbar-width: thin; }
.nav-label { display: block; margin: 0 11px 9px; color: #9aa8a0; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 30px; }
.app-nav-link { display: flex; align-items: center; gap: 12px; min-height: 43px; width: 100%; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: #6b7a75; text-align: left; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.app-nav-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.app-nav-link:hover { background: #eef5ed; color: var(--navy); }
.app-nav-link.active { background: #e4f1df; color: #4f8d58; }
.nav-count { display: grid; min-width: 20px; height: 20px; margin-left: auto; place-items: center; border-radius: 50%; background: #d3ecc8; color: #4d8957; font-size: 10px; }
.sidebar-bottom { flex: 0 0 auto; margin-top: auto; padding-top: 16px; background: #fbfdf9; }
.support-card { display: flex; align-items: center; gap: 9px; padding: 11px 9px; border: 1px solid #e0e9e1; border-radius: 7px; background: #f3f8ef; }
.support-icon { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #d8efcf; color: #57945f; font: 700 12px var(--display); }
.support-card strong, .support-card small { display: block; }
.support-card strong { font-size: 10px; }
.support-card small { margin-top: 2px; color: #7e9185; font-size: 9px; }
.support-arrow { margin-left: auto; color: #6aa170; font-size: 17px; }
.logout-link { display: inline-flex; align-items: center; gap: 10px; width: 100%; margin-top: 22px; padding: 6px 9px; border: 0; background: transparent; color: #86938e; font-size: 11px; text-align: left; }
.logout-link:hover { color: #b26053; }
.logout-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.app-main { min-width: 0; }

@media (min-width: 761px) {
  .app-shell { transition: grid-template-columns .25s ease; }
  .app-sidebar { overflow-x: hidden; transition: padding .25s ease; }
  .app-shell.sidebar-collapsed { grid-template-columns: 78px minmax(0, 1fr); }
  .app-shell.sidebar-collapsed .app-sidebar { padding-right: 10px; padding-left: 10px; }
  .app-shell.sidebar-collapsed .sidebar-head { flex-direction: column; gap: 17px; padding: 0; }
  .app-shell.sidebar-collapsed .sidebar-head .brand { justify-content: center; }
  .app-shell.sidebar-collapsed .brand-name,
  .app-shell.sidebar-collapsed .school-switcher,
  .app-shell.sidebar-collapsed .nav-label,
  .app-shell.sidebar-collapsed .app-nav-link span,
  .app-shell.sidebar-collapsed .nav-count,
  .app-shell.sidebar-collapsed .support-card > div,
  .app-shell.sidebar-collapsed .support-arrow,
  .app-shell.sidebar-collapsed .logout-link > span { display: none; }
  .app-shell.sidebar-collapsed .app-nav { align-items: center; margin-top: 36px; }
  .app-shell.sidebar-collapsed .app-nav-link { justify-content: center; gap: 0; padding-right: 0; padding-left: 0; }
  .app-shell.sidebar-collapsed .support-card { justify-content: center; padding-right: 10px; padding-left: 10px; }
  .app-shell.sidebar-collapsed .logout-link { justify-content: center; gap: 0; padding-right: 0; padding-left: 0; }
}

.app-topbar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 46px; border-bottom: 1px solid #e0e8e1; background: rgba(251, 253, 249, .78); }
.page-context h1 { margin: 2px 0 0; font: 600 20px/1.1 var(--display); letter-spacing: -.04em; }
.context-date { color: #889791; font-size: 11px; }
.top-actions { display: flex; align-items: center; gap: 17px; }
.notification-wrap { position: relative; }
.top-icon-button { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e0e8e1; border-radius: 7px; background: white; color: #60746c; }
.top-icon-button:hover { border-color: #b9ceb9; color: #4f8d58; }
.top-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: #d47768; }
.top-divider { height: 28px; width: 1px; background: #dfe8e1; }
.user-menu { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; text-align: left; }
.user-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #cdeea8; color: #487550; font: 700 13px var(--display); }
.user-details strong, .user-details small { display: block; }
.user-details strong { color: var(--ink); font-size: 12px; }
.user-details small { margin-top: 2px; color: #899791; font-size: 10px; }
.user-menu .chevron { margin-left: 3px; }
.user-menu[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.account-menu-wrap { position: relative; }
.account-popover { position: absolute; z-index: 10; top: calc(100% + 12px); right: 0; width: 236px; padding: 9px; border: 1px solid #dfe8e1; border-radius: 9px; background: white; box-shadow: 0 20px 42px rgba(24, 59, 74, .15); }
.account-popover[hidden] { display: none; }
.account-popover-heading { padding: 7px 9px 10px; border-bottom: 1px solid #edf1ed; }
.account-popover-heading strong { display: block; margin-top: 4px; color: var(--ink); font-size: 11px; }
.account-popover-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 38px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #62746b; font-size: 11px; font-weight: 700; text-align: left; }
.account-popover-item:hover { background: #f1f7ef; color: #4f8d58; }
.account-popover-item svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.account-popover-item b { margin-left: auto; font-size: 15px; font-weight: 400; }
.account-popover-logout { color: #a5655a; }
.account-popover-logout:hover { background: #fff3ef; color: #a65348; }
.mobile-app-brand { display: none; }
.notification-popover { position: absolute; z-index: 8; top: 51px; right: -15px; width: 320px; padding: 17px; border: 1px solid #dfe8e1; border-radius: 9px; background: #fff; box-shadow: 0 20px 42px rgba(24, 59, 74, .15); }
.notification-popover[hidden] { display: none; }
.popover-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
.popover-heading h2 { margin: 3px 0 0; font-size: 18px; line-height: 1; }
.unread-count { padding: 4px 6px; border-radius: 4px; background: #f8e8e2; color: #af6557; font-size: 9px; font-weight: 700; }
.notification-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 4px; border: 0; border-top: 1px solid #edf1ed; background: transparent; text-align: left; }
.notification-item:hover { background: #f7faf6; }
.notification-bullet { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-weight: 700; }
.bullet-green { background: #e3f1dd; color: #5b9964; }
.bullet-blue { background: #e0eff6; color: #4f89a5; }
.bullet-amber { background: #f8edd3; color: #a67b30; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { color: var(--ink); font-size: 11px; }
.notification-item small { margin-top: 2px; color: #899690; font-size: 10px; }
.app-content { max-width: 1280px; margin: 0 auto; padding: 48px 46px 70px; }
.app-view { display: none; }
.app-view.active { display: block; animation: view-in .22s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.view-heading .eyebrow { margin-bottom: 12px; }
.view-heading h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.65rem); line-height: .98; }
.view-subtitle { max-width: 555px; margin: 13px 0 0; color: #6f8079; font-size: 14px; line-height: 1.55; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 19px; }
.summary-card { position: relative; min-height: 171px; padding: 20px 22px; border: 1px solid #e0e9e1; border-radius: 9px; background: #fff; overflow: hidden; }
.summary-card-main { border-color: transparent; background: #ddefd6; }
.summary-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.summary-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; }
.summary-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.summary-icon-calendar { background: rgba(255,255,255,.55); color: #548d5d; }
.summary-icon-check { background: #e9f5e4; color: #659c69; }
.summary-icon-violet { background: #eeeafd; color: #7669ad; }
.summary-trend, .summary-status { font-size: 10px; font-weight: 700; }
.summary-trend { color: #629466; }
.summary-status { color: #8b9992; }
.summary-card > strong { display: block; margin-top: 21px; color: var(--ink); font: 600 36px/1 var(--display); letter-spacing: -.06em; }
.summary-card > span:not(.summary-status) { display: block; margin-top: 4px; color: #6e8078; font-size: 12px; }
.summary-card-main > span { color: #5a8b5f !important; }
.summary-time { font-size: 30px !important; }
.summary-date { color: #9b7d75 !important; font-size: 10px !important; }
.summary-link { position: absolute; right: 22px; bottom: 21px; color: #5a9562; font-size: 11px; font-weight: 700; }
.summary-link span { margin-left: 4px; font-size: 15px; font-weight: 400; }
.summary-mini-bars { position: absolute; right: 23px; bottom: 24px; display: flex; align-items: end; gap: 4px; height: 24px; }
.summary-mini-bars i { display: block; width: 5px; border-radius: 2px 2px 0 0; background: #82b77d; opacity: .7; }
.summary-mini-bars i:nth-child(1) { height: 10px; }.summary-mini-bars i:nth-child(2) { height: 15px; }.summary-mini-bars i:nth-child(3) { height: 12px; }.summary-mini-bars i:nth-child(4) { height: 21px; }.summary-mini-bars i:nth-child(5) { height: 16px; }.summary-mini-bars i:nth-child(6) { height: 23px; }.summary-mini-bars i:nth-child(7) { height: 19px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 19px; margin-bottom: 19px; }
.panel { border: 1px solid #e0e9e1; border-radius: 9px; background: #fff; }
.tasks-panel, .next-meeting-panel, .recent-panel { padding: 22px 23px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.panel-heading h3 { margin: 4px 0 0; font: 600 20px/1.1 var(--display); letter-spacing: -.05em; }
.panel-count { padding-top: 3px; color: #889791; font-size: 10px; }
.task-list { border-top: 1px solid #edf1ed; }
.task-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 11px; width: 100%; min-height: 66px; padding: 9px 0; border: 0; border-bottom: 1px solid #edf1ed; background: transparent; color: var(--ink); text-align: left; }
.task-row:hover strong { color: #57945f; }
.task-check { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #c4d7c5; border-radius: 50%; }
.task-check-open { background: #f6fbf3; }
.task-check-done { border-color: #80b480; background: #d9efcf; color: #4c8a55; font-size: 10px; font-weight: 700; }
.task-row strong, .task-row small { display: block; }
.task-row strong { font-size: 12px; }
.task-row small { margin-top: 3px; color: #8a9892; font-size: 10px; }
.task-meta { color: #bd786b; font-size: 10px; white-space: nowrap; }
.task-meta b { margin-left: 4px; font-size: 14px; font-weight: 400; }
.task-complete { color: #77a27a; }
.task-row-done strong, .task-row-done small { color: #94a09a; }
.panel-more { width: 28px; height: 28px; border: 0; border-radius: 5px; background: transparent; color: #91a09a; font-weight: 700; letter-spacing: 2px; }
.panel-more:hover { background: #eff5ed; color: #4f8d58; }
.next-meeting-panel { background: #f0f6ed; }
.next-meeting-date { display: flex; align-items: center; gap: 10px; margin: 7px 0 16px; }
.next-meeting-date > span { color: #57945f; font: 600 47px/.8 var(--display); letter-spacing: -.08em; }
.next-meeting-date div { padding-left: 10px; border-left: 1px solid #cbdcc8; }
.next-meeting-date strong, .next-meeting-date small { display: block; }
.next-meeting-date strong { color: #6a9870; font: 700 11px var(--display); letter-spacing: .1em; }
.next-meeting-date small { margin-top: 3px; color: #8a9b8d; font-size: 10px; }
.next-meeting-panel h4 { margin: 0 0 8px; font: 600 24px/1.1 var(--display); letter-spacing: -.05em; }
.next-meeting-description { max-width: 350px; margin-bottom: 19px; color: #708278; font-size: 11px; line-height: 1.55; }
.next-meeting-info { display: flex; flex-wrap: wrap; gap: 11px 17px; padding: 13px 0; border-top: 1px solid #dce8d9; border-bottom: 1px solid #dce8d9; color: #708278; font-size: 10px; }
.next-meeting-info span { display: inline-flex; align-items: center; gap: 5px; }
.next-meeting-info svg { width: 14px; height: 14px; fill: none; stroke: #70a276; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.next-meeting-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 15px; }
.button-small { min-height: 33px; padding: 0 12px; gap: 8px; border-radius: 5px; font-size: 10px; }
.button-small span { font-size: 15px; font-weight: 400; }
.button-outline { border: 1px solid #d0dfd3; background: white; color: #5d7d67; box-shadow: none; }
.button-outline:hover { border-color: #8cb38e; background: #f7fbf6; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.event-create-control[hidden] { display: none; }
.meeting-create-control[hidden] { display: none; }
.recent-panel { padding-bottom: 11px; }
.recent-panel .panel-heading { margin-bottom: 13px; }
.quiet-link { border: 0; padding: 3px 0; background: transparent; color: #63936a; font-size: 10px; font-weight: 700; }
.quiet-link span { margin-left: 3px; font-size: 14px; font-weight: 400; }
.decision-table { overflow: hidden; }
.decision-row { display: grid; grid-template-columns: 1.45fr 1fr .7fr .65fr; align-items: center; gap: 18px; min-height: 50px; border-top: 1px solid #edf1ed; color: #82908b; font-size: 10px; }
.decision-header { min-height: 29px; border-top: 0; color: #a0aaa6; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.decision-row strong { color: var(--ink); font-size: 11px; }
.result-chip { justify-self: start; padding: 4px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; }
.result-approved { background: #e2f1db; color: #5f9966; }

/* Vista riunioni */
.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.view-tabs { display: flex; align-items: center; gap: 8px; }
.view-tab { min-height: 33px; padding: 0 11px; border: 0; border-radius: 5px; background: transparent; color: #899791; font-size: 11px; font-weight: 600; }
.view-tab span { margin-left: 3px; color: #a4afaa; }
.view-tab:hover, .view-tab.active { background: #e3f0dd; color: #548e5d; }
.view-tab.active span { color: #70a274; }
.filter-button { display: inline-flex; align-items: center; gap: 7px; min-height: 33px; padding: 0 10px; border: 1px solid #dce6dd; border-radius: 5px; background: white; color: #788a81; font-size: 10px; font-weight: 700; }
.filter-button:hover { border-color: #9fbea2; color: #548e5d; }
.filter-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.meeting-list { display: grid; gap: 10px; }
.meeting-list-card { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 23px; min-height: 160px; padding: 20px 21px; border: 1px solid #e0e9e1; border-radius: 9px; background: white; }
.meeting-list-card-featured { border-color: #cbe2c9; background: #f2f8ef; }
.meeting-list-date { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #e3ebe3; }
.meeting-list-date strong { color: #57945f; font: 600 38px/.8 var(--display); letter-spacing: -.08em; }
.meeting-list-date span { margin-top: 8px; color: #7c9b7d; font: 700 10px var(--display); letter-spacing: .12em; }
.meeting-list-date small { margin-top: 13px; color: #a2aba5; font-size: 10px; }
.meeting-list-content { min-width: 0; }
.meeting-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.meeting-list-heading h3 { margin: 7px 0 7px; font: 600 22px/1 var(--display); letter-spacing: -.05em; }
.meeting-list-content > p { max-width: 510px; margin-bottom: 17px; color: #82908a; font-size: 11px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 4px; background: #f0f3f0; color: #83918b; font-size: 9px; font-weight: 700; }
.status-live { background: #e2f1dc; color: #5e9966; }
.status-live > span { width: 5px; height: 5px; border-radius: 50%; background: #70b375; }
.status-school { background: #e5f1f7; color: #5b8ca1; }
.meeting-list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; color: #87958e; font-size: 10px; }
.meeting-list-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.meeting-list-meta svg { width: 14px; height: 14px; fill: none; stroke: #80a58a; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.meeting-list-meta .avatar-stack { margin-left: auto; }
.meeting-list-meta .mini-avatar { width: 25px; height: 25px; }
.meeting-open-button { align-self: center; white-space: nowrap; }
.data-loading, .data-empty, .data-error { padding: 34px 20px; border: 1px dashed #d5e2d6; border-radius: 8px; background: #fbfdfb; color: #84928b; font-size: 12px; text-align: center; }
.data-error { border-color: #efd2c9; background: #fffaf8; color: #a36d61; }
.meeting-list .data-empty, .meeting-list .data-error { grid-column: 1 / -1; }
.meeting-source { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 4px; background: #eef4ee; color: #6d8c73; font-size: 9px; font-weight: 700; }
.meeting-source-google { background: #f8efe4; color: #a77a49; }
.meeting-source-microsoft { background: #e6eff7; color: #5b819d; }
.meeting-online-link { color: #5f9568; font-weight: 700; text-decoration: none; }
.meeting-online-link:hover { text-decoration: underline; }
.meeting-list-content > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Vista calendario */
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 19px; }
.calendar-panel, .agenda-panel { padding: 26px; }
.calendar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.calendar-top h3 { margin: 4px 0 0; font: 600 25px/1 var(--display); letter-spacing: -.06em; }
.calendar-arrow { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #dce6dd; border-radius: 5px; background: white; color: #73937a; font-size: 16px; }
.calendar-arrow:hover { border-color: #9fbea2; background: #f3f9f1; color: #4f8d58; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { padding-bottom: 11px; color: #a0aaa5; font-size: 9px; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-grid { border-top: 1px solid #edf1ed; border-left: 1px solid #edf1ed; }
.calendar-day { position: relative; display: grid; height: 58px; place-items: center; border-right: 1px solid #edf1ed; border-bottom: 1px solid #edf1ed; color: #647670; font-size: 12px; }
.calendar-day.muted { color: #bcc5bf; }
.calendar-day.event-day { color: #548e5d; font-weight: 700; }
.calendar-day.event-day::before { content: ''; position: absolute; top: 9px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: #78b37b; }
.calendar-day.today { place-items: center; background: #ddefd6; color: #4f8d58; font-weight: 700; }
.calendar-day.today::before { content: ''; position: absolute; top: 8px; right: 9px; width: 5px; height: 5px; border-radius: 50%; background: #d47768; }
.calendar-day i { display: none; }
.calendar-day.has-events::before { content: ''; position: absolute; top: 9px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: #78b37b; }
.calendar-day.has-online::after { content: ''; position: absolute; bottom: 8px; width: 4px; height: 4px; border-radius: 50%; background: #6a9db4; }
.calendar-day.selected { box-shadow: inset 0 0 0 2px #7caf7d; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 19px; color: #87958e; font-size: 10px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-green { background: #78b37b; }.legend-blue { background: #7eb3c7; }.legend-today { background: #d47768; }
.agenda-panel { background: #fff; }
.agenda-panel .panel-heading { margin-bottom: 11px; }
.agenda-event { display: grid; grid-template-columns: 45px 1fr; gap: 11px; padding: 17px 0; border-top: 1px solid #edf1ed; }
.agenda-event-time { color: #5b9463; font: 600 15px var(--display); }
.agenda-event strong, .agenda-event small { display: block; }
.agenda-event strong { margin-top: 8px; font: 600 15px/1.1 var(--display); letter-spacing: -.03em; }
.agenda-event small { margin-top: 5px; color: #8a9892; font-size: 10px; }
.agenda-event-blue .agenda-event-time { color: #5e8fa4; }
.agenda-all-link { margin-top: 11px; }

/* Vista account */
.account-layout { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(300px, .83fr); gap: 19px; }
.profile-panel { overflow: hidden; }
.profile-cover { height: 108px; background: var(--navy); background-image: radial-gradient(circle at 84% 22%, rgba(174, 222, 164, .4) 0 1px, transparent 2px), radial-gradient(circle at 79% 55%, rgba(174, 222, 164, .26) 0 1px, transparent 2px); background-size: 30px 30px, 24px 24px; }
.profile-main { display: flex; align-items: center; gap: 15px; padding: 0 26px 25px; border-bottom: 1px solid #edf1ed; }
.profile-avatar-large { display: grid; width: 73px; height: 73px; margin-top: -27px; place-items: center; border: 5px solid white; border-radius: 50%; background: #cdeea8; color: #487550; font: 600 29px var(--display); }
.profile-identity { min-width: 0; }
.profile-identity h3 { margin: 3px 0 5px; font: 600 22px/1 var(--display); letter-spacing: -.05em; }
.profile-identity span { color: #84928b; font-size: 10px; }
.profile-main .button { margin-left: auto; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 15px; padding: 25px 26px 29px; }
.field-group label { display: block; margin-bottom: 7px; color: #5e7168; font-size: 10px; font-weight: 700; }
.field-group input { width: 100%; height: 42px; border: 1px solid #dbe5dc; border-radius: 5px; padding: 0 11px; outline: none; background: #fbfdfb; color: var(--ink); font-size: 12px; }
.field-group input:focus { border-color: #87b28a; box-shadow: 0 0 0 3px rgba(135,178,138,.14); }
.field-group input[readonly] { background: #f1f5f1; color: #718078; cursor: default; }
.field-group input[readonly]:focus { border-color: #dbe5dc; box-shadow: none; }
.account-side { display: grid; align-content: start; gap: 19px; }
.account-info-card { padding: 23px; }
.account-info-card .panel-heading { margin-bottom: 7px; }
.preference-row, .security-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 69px; border-top: 1px solid #edf1ed; }
.preference-row strong, .preference-row small, .security-row strong, .security-row small { display: block; }
.preference-row strong, .security-row strong { color: var(--ink); font-size: 11px; }
.preference-row small, .security-row small { margin-top: 4px; color: #8a9892; font-size: 10px; }
.toggle-switch { position: relative; width: 36px; height: 21px; flex: 0 0 auto; border: 0; border-radius: 999px; background: #d5dfd7; }
.toggle-switch i { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: white; transition: transform .2s; }
.toggle-switch.on { background: #77ae79; }
.toggle-switch.on i { transform: translateX(15px); }
.security-card { background: #f0f6ed; }
.security-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #d8efcf; color: #55945e; font-size: 11px; font-weight: 700; }
.verified-chip { padding: 4px 7px; border-radius: 4px; background: #dcefd7; color: #629966; font-size: 9px; font-weight: 700; }
.account-connection-panel { margin-bottom: 19px; padding: 23px; background: #f7fbf5; }
.account-connection-panel .panel-heading { align-items: center; margin-bottom: 8px; }
.connection-description { max-width: 650px; margin: 0; color: #718279; font-size: 11px; line-height: 1.55; }
.connection-status-chip { padding: 5px 8px; border-radius: 4px; background: #edf2ee; color: #84918b; font-size: 9px; font-weight: 700; white-space: nowrap; }
.connection-status-chip.is-connected { background: #dcefd7; color: #5c9463; }
.connection-status-chip.is-warning { background: #faead8; color: #a87339; }
.connection-body { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e2ebe1; }
.connection-placeholder { color: #8a9891; font-size: 11px; }
.connection-account { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 11px; }
.connection-account strong { font-size: 12px; }
.connection-account small { color: #87958e; }
.connection-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.connection-actions .button { min-height: 35px; font-size: 10px; }
.connection-provider-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 7px; background: white; border: 1px solid #dfe8df; font-weight: 800; }
.connection-note { width: 100%; margin: 0; color: #9a6f3a; font-size: 10px; }
.calendar-event-button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.calendar-event-button:hover strong { color: #57945f; }
.agenda-event .status-pill { width: fit-content; }
.agenda-event .event-provider { margin-top: 7px; color: #9aa49f; font-size: 9px; }

/* Vista super amministratore */
.super-admin-only { display: none; }
.super-admin-only.visible { display: flex; }
.admin-access-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border-radius: 5px; background: #e2f1dc; color: #578f5d; font-size: 10px; font-weight: 700; }
.admin-access-badge span { width: 6px; height: 6px; border-radius: 50%; background: #71ae75; }
.admin-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 19px; }
.admin-summary-card { min-height: 126px; padding: 18px 18px 15px; border-radius: 8px; }
.admin-summary-card span, .admin-summary-card small { display: block; }
.admin-summary-card span { font-size: 10px; font-weight: 700; }
.admin-summary-card strong { display: block; margin: 16px 0 2px; font: 600 31px/1 var(--display); letter-spacing: -.07em; }
.admin-summary-card small { font-size: 9px; opacity: .73; }
.admin-summary-green { background: #ddefd6; color: #4e8757; }.admin-summary-blue { background: #dceef5; color: #53859a; }.admin-summary-violet { background: #e8e4f8; color: #756ca6; }.admin-summary-peach { background: #f9e2d5; color: #a66b5d; }
.admin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-bottom: 19px; }
.admin-form-panel { padding: 22px 23px 24px; }
.school-admin-mode #view-admin .admin-layout > .admin-form-panel:first-child { display: none; }
.school-admin-mode #view-admin .admin-layout { grid-template-columns: minmax(0, 1fr); }
.school-admin-mode #school-modal .school-details-form { display: none; }
.school-admin-mode #school-modal .school-modal-grid { grid-template-columns: minmax(0, 1fr); }
.form-step { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #eef4ec; color: #77a07b; font: 700 10px var(--display); }
.admin-form { display: grid; gap: 11px; }
.admin-form .field-group { display: grid; gap: 6px; }
.admin-form label { color: #5e7168; font-size: 10px; font-weight: 700; }
.admin-form input, .admin-form select { width: 100%; height: 40px; border: 1px solid #dbe5dc; border-radius: 5px; padding: 0 10px; outline: none; background: #fbfdfb; color: var(--ink); font-size: 12px; }
.admin-form input:focus, .admin-form select:focus { border-color: #87b28a; box-shadow: 0 0 0 3px rgba(135,178,138,.14); }
.admin-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #78947e 50%), linear-gradient(135deg, #78947e 50%, transparent 50%); background-position: calc(100% - 14px) 17px, calc(100% - 10px) 17px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.field-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11px; }
.form-note { margin: 1px 0 7px; color: #83918a; font-size: 10px; line-height: 1.45; }
.admin-form .button { justify-self: start; margin-top: 2px; }
.admin-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(285px, .6fr); gap: 19px; }
.schools-admin-panel, .roles-panel { padding: 22px 23px 12px; }
.school-admin-table { overflow-x: auto; }
.school-admin-row { display: grid; grid-template-columns: minmax(230px, 1.45fr) .35fr .45fr .75fr; align-items: center; gap: 15px; min-height: 59px; border-top: 1px solid #edf1ed; color: #82908a; font-size: 10px; }
.school-admin-header { min-height: 28px; border-top: 0; color: #a0aaa6; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.school-name-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.school-table-symbol { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 6px; background: #ddefd6; color: #5b9763; font: 700 9px var(--display); }
.school-table-blue { background: #dceef5; color: #568ba0; }.school-table-peach { background: #f9e2d5; color: #a56c5e; }
.school-name-cell strong, .school-name-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-name-cell strong { color: var(--ink); font-size: 11px; }.school-name-cell small { margin-top: 2px; color: #9ba7a0; font-size: 9px; font-weight: 400; }
.active-status { justify-self: start; padding: 4px 6px; border-radius: 4px; background: #e2f1dc; color: #5f9865; font-size: 9px; font-weight: 700; }
.support-link { border: 0; padding: 4px 0; background: transparent; color: #63936a; font-size: 10px; font-weight: 700; text-align: left; white-space: nowrap; }
.support-link span { margin-left: 3px; font-size: 14px; font-weight: 400; }.support-link:hover { color: #3f7748; }
.roles-panel { background: #f0f6ed; }
.role-permission-list > div { display: flex; align-items: center; gap: 10px; min-height: 55px; border-top: 1px solid #dce8d9; }
.role-dot { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; font: 700 10px var(--display); }
.role-dot-dirigente { background: #d9efcf; color: #548d5b; }.role-dot-docente { background: #d8eaf3; color: #56879d; }.role-dot-ata { background: #f8e3d6; color: #a56c5e; }.role-dot-student { background: #e5e0f6; color: #766da3; }
.role-permission-list strong, .role-permission-list small { display: block; }.role-permission-list strong { color: var(--ink); font-size: 11px; }.role-permission-list small { margin-top: 3px; color: #829089; font-size: 10px; }
.admin-list-toolbar { display: flex; align-items: center; gap: 13px; margin: -5px 0 12px; }
.admin-search { display: flex; align-items: center; flex: 1; gap: 8px; min-height: 37px; padding: 0 10px; border: 1px solid #dbe5dc; border-radius: 5px; background: #fbfdfb; }
.admin-search svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #78947e; stroke-width: 1.7; }
.admin-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.admin-search input::placeholder { color: #9ba7a0; }
.admin-list-count { flex: 0 0 auto; color: #82908a; font-size: 10px; white-space: nowrap; }
.school-status-suspended { background: #f9e2d5; color: #a56c5e; }
.meeting-modal-panel { position: relative; width: min(800px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 31px; border-radius: 12px; background: #f8faf6; box-shadow: 0 30px 80px rgba(16, 44, 56, .3); animation: modal-in .25s ease both; }
.meeting-wizard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 3px 0 0; padding: 16px 0 0; border-top: 1px solid #e0e8e0; list-style: none; }
.meeting-wizard-steps li { display: flex; align-items: center; gap: 7px; min-width: 0; color: #a0aaa3; font-size: 10px; }
.meeting-wizard-steps li span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e6eee5; color: #82938a; font-size: 9px; font-weight: 700; }
.meeting-wizard-steps li strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.meeting-wizard-steps li.active { color: #3f7950; }
.meeting-wizard-steps li.active span { background: #d8edd1; color: #4e8957; }
.meeting-form { display: grid; gap: 21px; min-width: 0; padding-top: 22px; }
.meeting-wizard-page { display: grid; gap: 17px; min-width: 0; min-height: 290px; }
.meeting-wizard-page[hidden] { display: none !important; }
.meeting-step-heading { min-width: 0; padding-bottom: 2px; }
.meeting-step-heading h3 { margin: 5px 0 6px; color: var(--ink); font: 600 22px/1.05 var(--display); letter-spacing: -.05em; }
.meeting-step-heading p { width: 100%; max-width: 620px; margin: 0; color: #82908a; font-size: 11px; line-height: 1.45; }
.meeting-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; min-width: 0; }
.meeting-form-grid .field-group, .meeting-user-form .field-group { display: grid; min-width: 0; gap: 6px; }
.meeting-form-grid .field-group label { color: #5e7168; font-size: 10px; font-weight: 700; }
.meeting-form-grid input, .meeting-form-grid select, .meeting-form-grid textarea { width: 100%; border: 1px solid #dbe5dc; border-radius: 5px; outline: none; padding: 0 10px; background: #fbfdfb; color: var(--ink); font-size: 12px; }
.meeting-form-grid input, .meeting-form-grid select { height: 40px; }
.meeting-form-grid textarea { min-height: 82px; padding-top: 10px; resize: vertical; }
.meeting-form-grid input:focus, .meeting-form-grid select:focus, .meeting-form-grid textarea:focus { border-color: #87b28a; box-shadow: 0 0 0 3px rgba(135,178,138,.14); }
.meeting-form-grid input[readonly] { background: #eef5ed; color: #63786a; }
.generated-link-note { min-height: 40px; display: flex; align-items: center; padding: 0 10px; border: 1px dashed #b9cfba; border-radius: 5px; background: #f1f7ef; color: #6f8375; font-size: 11px; line-height: 1.35; }
.field-help { color: #8a9890; font-size: 10px; line-height: 1.35; }
.meeting-form-grid select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #78947e 50%), linear-gradient(135deg, #78947e 50%, transparent 50%); background-position: calc(100% - 14px) 17px, calc(100% - 10px) 17px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.meeting-school-field, .meeting-title-field, .meeting-description-field, .meeting-type-field, .meeting-platform-field { grid-column: 1 / -1; }
.meeting-school-field[hidden] { display: none; }
.meeting-type-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.meeting-type-card, .meeting-option-card, .meeting-document-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #dfe8df; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.meeting-type-card:hover, .meeting-option-card:hover, .meeting-document-option:hover { border-color: #a7c8a8; background: #fbfefb; }
.meeting-type-card input, .meeting-option-card input, .meeting-document-option input, .meeting-inline-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #57935e; }
.meeting-type-card > span, .meeting-option-card > span, .meeting-document-option > span { min-width: 0; }
.meeting-type-card strong, .meeting-option-card strong, .meeting-document-option strong { display: block; color: var(--ink); font-size: 11px; }
.meeting-type-card small, .meeting-option-card small, .meeting-document-option small { display: block; margin-top: 3px; color: #84928a; font-size: 9px; line-height: 1.4; }
.meeting-type-card:has(input:checked), .meeting-option-card:has(input:checked), .meeting-document-option:has(input:checked) { border-color: #8cbb8d; background: #f1f8ef; box-shadow: 0 0 0 2px rgba(135, 178, 138, .1); }
.meeting-document-option:has(input:disabled) { cursor: not-allowed; opacity: .52; }
.meeting-recording-block { padding: 12px; border: 1px solid #dfe9df; border-radius: 7px; background: #eef6ec; }
.meeting-recording-block[hidden], .meeting-voting-options[hidden] { display: none; }
.meeting-voting-options { display: grid; gap: 13px; padding: 15px; border: 1px solid #dfe9df; border-radius: 7px; background: #f1f7ef; }
.meeting-questions-block { display: grid; gap: 8px; min-width: 0; }
.meeting-questions-list { display: grid; gap: 8px; }
.meeting-question-card { display: grid; gap: 7px; padding: 10px; border: 1px solid #dbe7dc; border-radius: 6px; background: #fbfdfb; }
.meeting-question-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.meeting-question-heading strong { color: var(--ink); font-size: 10px; }
.meeting-question-heading .quiet-link { color: #a5655a; font-size: 9px; }
.meeting-question-heading .quiet-link:hover { color: #a65348; }
.meeting-question-heading .quiet-link:disabled { cursor: not-allowed; opacity: .45; }
.meeting-add-question { justify-self: start; }
.meeting-voting-options .field-group { display: grid; gap: 6px; }
.meeting-voting-options label, .meeting-voting-options .field-group label { color: #5e7168; font-size: 10px; font-weight: 700; }
.meeting-voting-options textarea, .meeting-voting-options input[type="number"], .meeting-voting-options select { width: 100%; border: 1px solid #dbe5dc; border-radius: 5px; outline: none; padding: 0 10px; background: #fbfdfb; color: var(--ink); font-size: 12px; }
.meeting-voting-options textarea { min-height: 72px; padding-top: 10px; resize: vertical; }
.meeting-voting-options input[type="number"], .meeting-voting-options select { height: 38px; }
.meeting-voting-options textarea:focus, .meeting-voting-options input:focus, .meeting-voting-options select:focus { border-color: #87b28a; box-shadow: 0 0 0 3px rgba(135,178,138,.14); }
.meeting-inline-option { display: inline-flex; align-items: center; gap: 8px; color: #526a5b !important; font-size: 10px !important; font-weight: 500 !important; }
.meeting-inline-option input { margin: 0; }
.meeting-subsection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; margin-bottom: 8px; }
.meeting-subsection-heading strong { color: var(--ink); font-size: 11px; }
.meeting-subsection-heading small { min-width: 0; color: #87948c; font-size: 9px; }
.meeting-group-list { display: grid; gap: 6px; }
.meeting-group-list .meeting-participant { min-height: 38px; }
.meeting-participant:has(input:disabled) { cursor: not-allowed; opacity: .52; }
.meeting-export-block { padding-top: 2px; }
.meeting-export-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meeting-document-option { padding: 10px; }
.meeting-summary { padding: 13px 15px; border-radius: 7px; background: #e7f1e4; color: #59715e; font-size: 10px; line-height: 1.5; }
.meeting-summary:empty { display: none; }
.meeting-summary strong { color: #315d3e; }
.meeting-wizard-error { min-height: 0; margin: -7px 0 0; color: #ad675d; font-size: 10px; }
.meeting-participants-block { padding: 18px; border: 1px solid #dfe9df; border-radius: 8px; background: #f1f7ef; }
.meeting-participants-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.meeting-participants-heading h3 { margin: 4px 0 5px; font: 600 19px/1.1 var(--display); letter-spacing: -.05em; }
.meeting-participants-heading p { margin: 0; color: #82908a; font-size: 10px; }
.meeting-participants-heading .quiet-link { flex: 0 0 auto; }
.meeting-participants { display: grid; gap: 7px; }
.meeting-participant { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 7px 9px; border: 1px solid #e0e9e0; border-radius: 6px; background: white; }
.meeting-participant input { width: 16px; height: 16px; accent-color: #57935e; }
.meeting-participant > span { min-width: 0; }
.meeting-participant strong, .meeting-participant small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meeting-participant strong { color: var(--ink); font-size: 11px; }
.meeting-participant small { margin-top: 2px; color: #89958e; font-size: 9px; }
.meeting-form-footer, .meeting-form-footer .form-note, .meeting-form-actions, .meeting-export-block, .meeting-voting-options, .meeting-voter-groups { min-width: 0; }
.meeting-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.meeting-form-footer .form-note { max-width: 425px; margin: 0; }
.meeting-form-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.meeting-form-actions .button { min-height: 40px; font-size: 11px; }
.school-modal-panel { position: relative; width: min(1060px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 31px; border-radius: 12px; background: #f8faf6; box-shadow: 0 30px 80px rgba(16, 44, 56, .3); animation: modal-in .25s ease both; }
.school-modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding: 4px 41px 24px 1px; border-bottom: 1px solid #e0e8e0; }
.school-modal-heading .eyebrow { margin-bottom: 8px; font-size: 10px; }
.school-modal-heading h2 { margin: 0 0 7px; font-size: 31px; line-height: 1; }
.school-modal-heading p:last-child { margin: 0; color: #7d8b84; font-size: 11px; }
.school-detail-status { margin-top: 9px; }
.school-modal-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 19px; padding-top: 20px; }
.school-details-form, .school-accounts-panel { min-width: 0; padding: 22px 23px 24px; }
.school-details-form { display: grid; align-content: start; gap: 12px; }
.school-details-form .panel-heading, .school-accounts-panel .panel-heading { margin-bottom: 3px; }
.school-details-form .field-group, .school-user-form .field-group { display: grid; gap: 6px; }
.school-details-form .field-group label, .school-user-form .field-group label { color: #5e7168; font-size: 10px; font-weight: 700; }
.school-details-form input, .school-details-form select, .school-user-form input, .school-user-form select { width: 100%; height: 40px; border: 1px solid #dbe5dc; border-radius: 5px; padding: 0 10px; outline: none; background: #fbfdfb; color: var(--ink); font-size: 12px; }
.school-details-form input:focus, .school-details-form select:focus, .school-user-form input:focus, .school-user-form select:focus { border-color: #87b28a; box-shadow: 0 0 0 3px rgba(135,178,138,.14); }
.school-details-form select, .school-user-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #78947e 50%), linear-gradient(135deg, #78947e 50%, transparent 50%); background-position: calc(100% - 14px) 17px, calc(100% - 10px) 17px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.school-details-form .button { justify-self: start; margin-top: 3px; }
.school-accounts-panel .panel-heading { align-items: center; }
.school-accounts-panel .panel-heading .button { flex: 0 0 auto; }
.school-user-form-wrap { margin: 0 0 13px; padding: 15px; border: 1px solid #dce7dc; border-radius: 7px; background: #f4f8f2; }
.school-user-form { display: grid; gap: 10px; }
.school-user-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.school-user-form-heading strong { font: 600 15px/1 var(--display); letter-spacing: -.04em; }
.school-user-form .field-row { grid-template-columns: 1fr 1fr; }
.school-user-form .button { justify-self: start; margin-top: 2px; }
.school-users-table { overflow-x: auto; }
.school-user-row { display: grid; grid-template-columns: minmax(145px, 1.3fr) minmax(100px, .85fr) minmax(75px, .7fr) minmax(72px, .65fr) auto; align-items: center; gap: 11px; min-height: 58px; border-top: 1px solid #edf1ed; color: #82908a; font-size: 10px; }
.school-user-header { min-height: 28px; border-top: 0; color: #a0aaa6; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.school-user-row strong, .school-user-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.school-user-row strong { color: var(--ink); font-size: 11px; }
.school-user-row small { margin-top: 2px; color: #9ba7a0; font-size: 9px; }
.school-user-provider { color: #728b79; font-size: 9px; }
.school-user-status { justify-self: start; padding: 4px 6px; border-radius: 4px; background: #e2f1dc; color: #5f9865; font-size: 9px; font-weight: 700; }
.school-user-status.is-invited { background: #e5f1f7; color: #5b8ca1; }
.school-user-status.is-suspended { background: #f9e2d5; color: #a56c5e; }
.school-user-edit { border: 0; padding: 4px 0; background: transparent; color: #63936a; font-size: 10px; font-weight: 700; white-space: nowrap; }
.school-user-edit:hover { color: #3f7748; }
.meeting-detail-panel { position: relative; width: min(900px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: 31px; border-radius: 12px; background: #f8faf6; box-shadow: 0 30px 80px rgba(16, 44, 56, .3); animation: modal-in .25s ease both; }
.meeting-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 4px 42px 22px 1px; border-bottom: 1px solid #e0e8e0; }
.meeting-detail-heading h2 { margin: 0 0 8px; font-size: 31px; line-height: 1.05; }
.meeting-detail-heading p:last-child { margin: 0; color: #7d8b84; font-size: 11px; }
.meeting-detail-status { flex: 0 0 auto; margin-top: 7px; }
.meeting-detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 19px 0; border-bottom: 1px solid #e8eee8; }
.meeting-detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 0; }
.meeting-detail-meta-card { padding: 13px 15px; border: 1px solid #e0e9e1; border-radius: 8px; background: white; }
.meeting-detail-meta-card span, .meeting-detail-meta-card strong { display: block; }
.meeting-detail-meta-card span { color: #8a9892; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.meeting-detail-meta-card strong { margin-top: 6px; color: var(--ink); font: 600 15px/1.15 var(--display); }
.meeting-detail-section { margin-top: 8px; }
.meeting-detail-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.meeting-detail-section-heading h3 { margin: 0; font: 600 20px/1.1 var(--display); letter-spacing: -.04em; }
.meeting-detail-section-heading small { color: #8a9892; font-size: 10px; }
.meeting-agenda-list { display: grid; gap: 10px; }
.meeting-agenda-card { padding: 16px; border: 1px solid #dfe9e0; border-radius: 8px; background: white; }
.meeting-agenda-card.is-active { border-color: #a6c9a7; background: #f1f8ef; }
.meeting-agenda-card.is-final { background: #fbfdfb; }
.meeting-agenda-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.meeting-agenda-title { display: flex; gap: 10px; min-width: 0; }
.meeting-agenda-number { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf4ed; color: #5b9463; font-size: 10px; font-weight: 800; }
.meeting-agenda-title h4 { margin: 3px 0 0; color: var(--ink); font: 600 16px/1.2 var(--display); }
.meeting-agenda-state { flex: 0 0 auto; }
.meeting-agenda-card > p { margin: 12px 0 0; color: #7d8b84; font-size: 11px; line-height: 1.5; }
.meeting-vote-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.meeting-vote-controls .vote-option { min-height: 37px; padding: 0 13px; font-size: 11px; }
.meeting-vote-controls .vote-option.no-option:hover, .meeting-vote-controls .vote-option.no-option.selected { border-color: #d99d90; background: #fff0ed; color: #a8564a; }
.meeting-vote-controls .vote-option.abstain-option:hover, .meeting-vote-controls .vote-option.abstain-option.selected { border-color: #d9bd72; background: #fff8e1; color: #9b7622; }
.meeting-vote-note { margin: 10px 0 0; color: #6a8070; font-size: 10px; }
.meeting-vote-results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.meeting-vote-result { padding: 9px 7px; border-radius: 6px; background: #f3f7f3; text-align: center; }
.meeting-vote-result strong, .meeting-vote-result small { display: block; }
.meeting-vote-result strong { color: var(--ink); font: 600 18px var(--display); }
.meeting-vote-result small { margin-top: 3px; color: #89968f; font-size: 8px; text-transform: uppercase; }
.meeting-vote-result.result-approved { background: #e8f4e4; }
.meeting-vote-result.result-rejected { background: #fff0ed; }
.meeting-presence-note { margin: 0; color: #6d8175; font-size: 11px; }
.meeting-participant-list { display: grid; gap: 7px; max-height: 230px; overflow: auto; }
.meeting-participant-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e6eee6; border-radius: 6px; background: white; }
.meeting-participant-row strong, .meeting-participant-row small { display: block; }
.meeting-participant-row strong { color: var(--ink); font-size: 11px; }
.meeting-participant-row small { margin-top: 3px; color: #8a9892; font-size: 9px; }
.meeting-attendance-chip { padding: 4px 7px; border-radius: 4px; background: #f0f3f0; color: #83918b; font-size: 9px; font-weight: 700; }
.meeting-attendance-chip.is-present { background: #e5f3e0; color: #4d8757; }
.meeting-detail-note { margin-top: 16px; padding: 12px 14px; border-left: 3px solid #9abd9c; background: #f0f7ee; color: #5f7665; font-size: 10px; line-height: 1.5; }
.meeting-detail-empty { padding: 18px; border: 1px dashed #d5e2d6; border-radius: 8px; color: #84928b; font-size: 11px; text-align: center; }

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .app-topbar { padding: 0 30px; }
  .app-content { padding-right: 30px; padding-left: 30px; }
  .home-grid, .account-layout, .calendar-layout, .admin-bottom-grid { grid-template-columns: 1fr; }
  .admin-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .account-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .app-sidebar { position: sticky; z-index: 6; top: 0; min-height: 0; height: auto; padding: 13px 15px; border-right: 0; border-bottom: 1px solid #dfe8e1; }
  .sidebar-head { padding: 0; }
  .sidebar-toggle, .school-switcher { display: none; }
  .app-nav { flex-direction: row; gap: 2px; margin-top: 11px; overflow-x: auto; }
  .nav-label { display: none; }
  .app-nav-link { justify-content: center; min-height: 36px; min-width: 82px; gap: 7px; padding: 0 8px; font-size: 11px; }
  .app-nav-link svg { width: 15px; height: 15px; }
  .nav-count { display: none; }
  .sidebar-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding-top: 10px; }
  .support-card { min-width: 0; padding: 8px; }
  .support-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logout-link { width: auto; margin-top: 0; padding: 6px 3px; }
  .logout-link > span { display: none; }
  .app-topbar { min-height: 77px; padding: 0 18px; }
  .mobile-app-brand { display: flex; align-items: center; gap: 7px; }
  .mobile-app-brand .brand-mark { width: 26px; height: 26px; }
  .mobile-app-brand .brand-name { font-size: 15px; }
  .page-context { display: none; }
  .top-actions { margin-left: auto; }
  .user-details, .top-divider { display: none; }
  .user-menu .chevron { display: inline; margin-left: 0; }
  .account-popover { position: fixed; top: 69px; right: 14px; width: min(236px, calc(100vw - 28px)); }
  .app-content { padding: 36px 18px 52px; }
  .view-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 25px; }
  .view-heading .button { width: 100%; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card { min-height: 148px; }
  .home-grid { grid-template-columns: 1fr; }
  .account-side, .admin-layout, .admin-summary-grid { grid-template-columns: 1fr; }
  .decision-table { overflow-x: auto; }
  .decision-row { min-width: 590px; }
  .view-toolbar { align-items: flex-start; flex-direction: column; }
  .view-tabs { width: 100%; overflow-x: auto; }
  .view-tab { white-space: nowrap; }
  .meeting-list-card { grid-template-columns: 58px 1fr; gap: 15px; }
  .meeting-open-button { grid-column: 2; justify-self: start; }
  .meeting-list-date strong { font-size: 29px; }
  .meeting-list-heading h3 { font-size: 18px; }
  .meeting-list-meta .avatar-stack { margin-left: 0; }
  .calendar-panel, .agenda-panel { padding: 18px; }
  .calendar-day { height: 44px; font-size: 11px; }
  .profile-main { align-items: flex-start; flex-wrap: wrap; padding-right: 18px; padding-left: 18px; }
  .profile-main .button { margin-left: 0; }
  .profile-fields { grid-template-columns: 1fr; padding-right: 18px; padding-left: 18px; }
  .notification-popover { position: fixed; top: 69px; right: 14px; left: 14px; width: auto; }
  .field-row { grid-template-columns: 1fr; }
  .school-admin-row { min-width: 650px; }
  .admin-list-toolbar { align-items: stretch; flex-direction: column; }
  .meeting-modal-panel { padding: 24px 18px; }
  .meeting-wizard-steps { gap: 4px; }
  .meeting-wizard-steps li { display: block; text-align: center; }
  .meeting-wizard-steps li span { margin: 0 auto 4px; }
  .meeting-wizard-steps li strong { display: block; font-size: 8px; }
  .meeting-form-grid { grid-template-columns: 1fr; }
  .meeting-school-field, .meeting-title-field, .meeting-description-field, .meeting-type-field, .meeting-platform-field { grid-column: auto; }
  .meeting-type-options, .meeting-export-options { grid-template-columns: 1fr; }
  .meeting-subsection-heading { align-items: flex-start; flex-wrap: wrap; }
  .meeting-subsection-heading small { flex: 1 1 180px; }
  .meeting-form-footer { align-items: stretch; flex-direction: column; }
  .meeting-form-actions { justify-content: flex-end; }
  .school-modal-heading { flex-direction: column; gap: 12px; }
  .meeting-detail-panel { padding: 24px 18px; }
  .meeting-detail-meta { grid-template-columns: 1fr; }
  .meeting-detail-heading { flex-direction: column; gap: 12px; }
  .meeting-vote-results { grid-template-columns: repeat(3, 1fr); }
  .school-user-row { min-width: 650px; }
}

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(16, 44, 56, .52); backdrop-filter: blur(7px); }
.modal-backdrop[hidden] { display: none; }
.login-modal { position: relative; width: min(100%, 445px); max-height: calc(100vh - 44px); overflow: auto; padding: 39px 45px 34px; border-radius: 12px; background: #f8faf6; box-shadow: 0 30px 80px rgba(16, 44, 56, .3); animation: modal-in .25s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 17px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: transparent; color: #7b8987; font-size: 25px; line-height: 1; }
.modal-close:hover { background: #e8eeea; color: var(--ink); }
.modal-heading { text-align: center; }
.modal-mark { display: grid; width: 45px; height: 45px; margin: 0 auto 17px; place-items: center; border-radius: 13px; background: var(--mint); color: var(--navy); }
.modal-mark svg { width: 29px; height: 29px; }
.modal-heading .eyebrow { justify-content: center; margin-bottom: 10px; font-size: 10px; }
.modal-heading h2 { margin: 0 0 12px; font-size: 32px; line-height: 1; }
.modal-heading > p:last-child { margin-bottom: 27px; color: var(--ink-soft); font-size: 13px; }
.login-form { display: grid; gap: 8px; }
.login-form label { color: var(--ink); font-size: 12px; font-weight: 700; }
.login-form input { width: 100%; height: 46px; border: 1px solid #d5dfd7; border-radius: 6px; outline: 0; padding: 0 13px; background: white; color: var(--ink); font-size: 14px; transition: border .2s, box-shadow .2s; }
.login-form input::placeholder { color: #a0aaa7; }
.login-form input:focus { border-color: #78ac7b; box-shadow: 0 0 0 3px rgba(120, 172, 123, .17); }
.label-with-action { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.forgot-link { border: 0; padding: 0; background: transparent; color: #5c9564; font-size: 11px; }
.forgot-link:hover { text-decoration: underline; }
.password-field { position: relative; }
.password-field input { padding-right: 43px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 43px; height: 46px; border: 0; background: transparent; color: #7d9089; font-size: 14px; }
.submit-button { width: 100%; margin-top: 4px; }
.login-error { min-height: 18px; margin: 0; color: #b15d50; text-align: center; font-size: 12px; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 12px 0 17px; color: #98a39f; font-size: 10px; }
.or-divider::before, .or-divider::after { content: ''; height: 1px; flex: 1; background: #dce3dc; }
.sso-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sso-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #d5dfd7; border-radius: 6px; background: white; color: var(--ink); font-size: 12px; font-weight: 700; transition: background .2s, border .2s, transform .2s; }
.sso-button:hover { transform: translateY(-1px); border-color: #b7c9bb; background: #fbfffb; }
.google-symbol { color: #4285f4; font: 700 19px Arial, sans-serif; }
.microsoft-symbol { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; }
.microsoft-symbol i { display: block; width: 8px; height: 8px; background: #f25022; }
.microsoft-symbol i:nth-child(2) { background: #7fba00; }
.microsoft-symbol i:nth-child(3) { background: #00a4ef; }
.microsoft-symbol i:nth-child(4) { background: #ffb900; }
.modal-footnote { margin: 21px 0 0; color: #98a39f; text-align: center; font-size: 10px; line-height: 1.5; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 48px)); padding: 13px 17px; transform: translateY(16px); border-radius: 6px; background: var(--navy); color: white; box-shadow: 0 12px 27px rgba(16, 44, 56, .22); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-shell { padding: 0 30px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 61px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 550px; }
  .logo-strip, .section-intro { gap: 30px; }
  .closing-banner { margin: 0 -30px; padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 680px) {
  .site-shell { padding: 0 18px; }
  .site-header { min-height: 74px; gap: 12px; }
  .top-nav { display: none; }
  .header-login { min-height: 40px; padding: 0 13px; font-size: 12px; }
  .header-login .button-arrow { display: none; }
  h1 { font-size: clamp(3rem, 14vw, 4.1rem); }
  .hero { min-height: auto; padding: 55px 0 70px; }
  .hero-description { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .button-large { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-proof { margin-top: 41px; }
  .hero-visual { min-height: 475px; margin: 6px -8px 0; }
  .hero-visual::before { width: 370px; height: 370px; }
  .orbit-one { width: 390px; height: 250px; }
  .orbit-two { width: 340px; height: 460px; }
  .meeting-card { width: calc(100% - 30px); }
  .meeting-topbar, .meeting-meta, .attendees-row, .agenda-block { padding-left: 18px; padding-right: 18px; }
  .meeting-topbar h2 { font-size: 19px; }
  .meeting-meta { gap: 8px; font-size: 10px; }
  .agenda-item { grid-template-columns: 22px 1fr; font-size: 10px; }
  .agenda-item .item-state { display: none; }
  .vote-block { margin-right: 12px; margin-left: 12px; padding: 16px 13px 14px; }
  .vote-actions { grid-template-columns: 1fr; }
  .vote-option { min-height: 32px; }
  .floating-note { transform: scale(.8); transform-origin: center; }
  .note-check { top: 14px; right: -9px; }
  .note-lock { bottom: 20px; left: -10px; }
  .logo-strip { align-items: flex-start; flex-direction: column; padding: 23px 0; }
  .role-list { justify-content: flex-start; gap: 16px 22px; }
  .section-intro { grid-template-columns: 1fr; gap: 25px; padding: 85px 0 40px; }
  .section-intro > p { margin: 0; }
  .feature-grid { grid-template-columns: 1fr; padding-bottom: 85px; }
  .feature-card { min-height: 280px; }
  .closing-banner { align-items: flex-start; flex-direction: column; margin: 0 -18px; padding: 57px 18px 62px; }
  .closing-banner h2 { font-size: 3rem; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 27px 0; }
  .login-modal { padding: 35px 23px 27px; }
  .sso-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
