:root {
  --forest: #173f36;
  --forest-deep: #0f3029;
  --forest-mid: #28584a;
  --forest-soft: #e8f0eb;
  --cream: #f5f3ed;
  --paper: #fffefa;
  --ink: #20302c;
  --muted: #70807a;
  --line: #e3e8e4;
  --terracotta: #d16443;
  --terracotta-soft: #faebe5;
  --gold: #c99a48;
  --gold-soft: #f7f0df;
  --danger: #b84e3b;
  --shadow: 0 16px 46px rgba(34, 55, 48, .09);
}

* { box-sizing: border-box; }
html { background: var(--cream); color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
input, select, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: #9ca9a4; }
[hidden] { display: none !important; }
.app-shell { min-height: 100vh; }

.ui-icon { width: 26px; height: 26px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 9px; font-size: 15px; font-style: normal; font-weight: 700; line-height: 1; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 22px; color: #fff; }
.brand-mark { position: relative; width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.26); border-radius: 16px 16px 16px 5px; background: linear-gradient(145deg,#346c59,#1e4d40); box-shadow: inset 0 1px rgba(255,255,255,.16); }
.brand-mark b { font-size: 12px; letter-spacing: .06em; }
.brand-mark i { position: absolute; right: 5px; bottom: 5px; width: 10px; height: 10px; border-radius: 10px 0 10px 0; background: #ddb367; transform: rotate(-7deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: #a9beb6; font-size: 9px; letter-spacing: .075em; text-transform: uppercase; }
.brand-light { padding: 0; }
.brand-light .brand-mark { background: rgba(255,255,255,.1); }
.brand-light small { color: rgba(255,255,255,.6); }

.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 278px; display: flex; flex-direction: column; padding: 25px 19px 18px; overflow-y: auto; color: #fff; background: var(--forest-deep); }
.residence-chip { display: flex; align-items: center; gap: 10px; margin: 0 2px 23px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.residence-chip > span { color: #e5c07b; background: rgba(229,192,123,.1); }
.residence-chip strong, .residence-chip small { display: block; }
.residence-chip strong { font-size: 12px; }
.residence-chip small { margin-top: 2px; color: #9ab0a8; font-size: 10px; }
.main-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-eyebrow { display: block; padding: 0 11px 7px; color: #7f9a90; font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.bureau-eyebrow { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.main-nav a { position: relative; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 6px 11px; border-radius: 12px; color: #b9c9c3; font-size: 12px; transition: color .2s, background .2s, transform .2s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(2px); }
.main-nav a.active { color: #fff; background: #234f42; box-shadow: inset 3px 0 #d9ae63; }
.main-nav a .ui-icon { color: #91aba1; }
.main-nav a.active .ui-icon { color: #f2c879; background: rgba(242,200,121,.09); }
.main-nav em { width: 20px; height: 20px; display: grid; place-items: center; margin-left: auto; border-radius: 50%; color: #fff; background: var(--terracotta); font-size: 9px; font-style: normal; }
.avenues-card { position: relative; min-height: 96px; margin: auto 2px 12px; padding: 17px 13px; overflow: hidden; border-radius: 15px; background: linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.035)); }
.avenues-card strong { font-size: 11px; }
.avenues-card p { position: relative; z-index: 1; margin: 5px 0 0; color: #9fb4ac; font-size: 10px; line-height: 1.65; }
.avenues-art { position: absolute; right: -4px; bottom: -19px; width: 105px; height: 100px; opacity: .17; transform: rotate(9deg); }
.avenues-art i { position: absolute; bottom: 0; left: 48px; width: 4px; height: 91px; border-radius: 9px; background: #e5c07b; transform-origin: bottom; }
.avenues-art i:nth-child(1) { transform: rotate(-37deg); }.avenues-art i:nth-child(2) { transform: rotate(0); }.avenues-art i:nth-child(3) { transform: rotate(35deg); }
.sidebar-logout { display: flex; align-items: center; gap: 9px; padding: 12px; border-top: 1px solid rgba(255,255,255,.09); color: #9fb4ac; font-size: 10px; }
.sidebar-logout:hover { color: #fff; }

.main-panel { min-height: 100vh; margin-left: 278px; }
.topbar { position: sticky; z-index: 35; top: 0; height: 73px; display: flex; justify-content: flex-end; align-items: center; padding: 0 42px; border-bottom: 1px solid rgba(220,226,221,.8); background: rgba(250,249,245,.9); backdrop-filter: blur(14px); }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.notification-button { position: relative; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: #60726b; background: #fff; }
.notification-button i { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--terracotta); }
.profile-button { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#2f6453,#153f35); font-size: 11px; font-weight: 750; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy strong { font-size: 11px; }.profile-copy small { margin-top: 3px; color: #8a9893; font-size: 9px; }
.mobile-menu, .mobile-brand, .mobile-bottom-nav, .menu-scrim { display: none; }
.content-wrap { max-width: 1420px; margin: 0 auto; padding: 35px 42px 105px; }

.page-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.page-kicker span { width: 18px; height: 1px; background: var(--gold); }
.page-kicker p { margin: 0; color: #82908b; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.welcome-row, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.welcome-row h1, .section-heading h1 { margin: 0; color: #1b332d; font-size: clamp(27px, 3vw, 34px); line-height: 1.08; letter-spacing: -.045em; }
.welcome-row > div > p:last-child, .section-heading > div > p:last-child { max-width: 700px; margin: 8px 0 0; color: #788681; font-size: 12px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; border-radius: 12px; font-size: 10px; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--forest); box-shadow: 0 10px 24px rgba(23,63,54,.16); }
.button.accent { color: #fff; background: var(--terracotta); box-shadow: 0 10px 24px rgba(209,100,67,.2); }
.button.secondary { border-color: var(--line); color: var(--forest); background: #fff; }
.button.wide { width: 100%; }

.urgent-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #f0d5cb; border-radius: 17px; background: linear-gradient(90deg,#fff7f3,#fffaf6); }
.urgent-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--terracotta); background: var(--terracotta-soft); font-weight: 800; }
.urgent-banner small { display: block; margin-bottom: 3px; color: var(--terracotta); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.urgent-banner strong { font-size: 11px; }.urgent-banner p { margin: 4px 0 0; color: #806f69; font-size: 9px; }.urgent-banner a { color: var(--terracotta); font-size: 9px; font-weight: 750; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.summary-card, .panel, .standard-panel { border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: 0 7px 25px rgba(45,68,60,.035); }
.summary-card { min-width: 0; padding: 17px 18px 14px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.soft-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: var(--forest); background: var(--forest-soft); }
.soft-icon.gold { color: #9f752e; background: var(--gold-soft); }.soft-icon.terracotta { color: var(--terracotta); background: var(--terracotta-soft); }
.status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 750; white-space: nowrap; }
.status.success { color: #2e705c; background: #e8f3ed; }.status.warning { color: #a36e22; background: #f8eed8; }.status.danger { color: #af4e39; background: #fbe8e3; }.status.neutral { color: #65736f; background: #edf1ef; }
.summary-card > small { display: block; color: #7a8983; font-size: 9px; }
.amount-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 5px; }.amount-row strong { font-size: 24px; letter-spacing: -.05em; }.amount-row span { color: #9a7468; font-size: 8px; text-align: right; }
.summary-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 10px; border-top: 1px solid #edf0ee; color: #36584f; font-size: 9px; font-weight: 700; }
.date-lockup { display: flex; align-items: center; gap: 10px; margin-top: 6px; }.date-lockup > strong { color: #9b742f; font-size: 27px; line-height: 1; }.date-lockup span { padding-left: 10px; border-left: 1px solid #e8e3d6; }.date-lockup b, .date-lockup small { display: block; }.date-lockup b { font-size: 10px; }.date-lockup small { max-width: 190px; margin-top: 4px; color: #8b9792; font-size: 8px; }
.document-count { display: flex; align-items: center; gap: 12px; margin-top: 5px; }.document-count strong { font-size: 28px; }.document-count span { color: var(--muted); font-size: 9px; line-height: 1.4; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(285px,.8fr); gap: 16px; margin-top: 16px; }
.panel-title, .standard-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px 13px; }
.panel-title span, .standard-panel-head span, .table-toolbar > div > span { display: block; margin-bottom: 3px; color: #9a7a40; font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.panel-title h2, .standard-panel-head h2, .table-toolbar h2 { margin: 0; font-size: 13px; }.panel-title a { color: #547068; font-size: 8px; font-weight: 700; }
.notice-list { padding: 0 10px 9px; }.notice-list article { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 11px 9px; border-top: 1px solid #edf0ee; }
.notice-thumb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #39715e; background: #e4f0ea; }.notice-thumb.urgent, .notice-thumb.securite { color: var(--terracotta); background: var(--terracotta-soft); }.notice-thumb.travaux { color: #9c742f; background: var(--gold-soft); }
.notice-meta { display: flex; gap: 9px; }.notice-meta span { color: #3d7160; font-size: 7px; font-weight: 800; text-transform: uppercase; }.notice-meta time { color: #98a39f; font-size: 7px; }
.notice-list h3 { margin: 4px 0 3px; font-size: 10px; }.notice-list p { margin: 0; color: #778680; font-size: 8px; line-height: 1.5; }
.timeline { padding: 2px 17px 14px; }.timeline > div { display: grid; grid-template-columns: 32px 13px 1fr; gap: 9px; min-height: 58px; }.timeline time { display: flex; flex-direction: column; align-items: center; color: #9c7631; font-size: 7px; font-weight: 750; }.timeline time b { font-size: 15px; }.timeline i { position: relative; width: 1px; height: 100%; background: #dfe6e2; }.timeline i:before { content: ""; position: absolute; top: 4px; left: -3px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #6f9889; box-shadow: 0 0 0 1px #6f9889; }.timeline p { margin: 0; }.timeline strong, .timeline small { display: block; }.timeline strong { font-size: 9px; }.timeline small { margin-top: 4px; color: #8b9893; font-size: 8px; }
.bureau-pulse { display: grid; grid-template-columns: minmax(230px,1fr) repeat(3,130px); gap: 10px; align-items: center; margin-top: 16px; padding: 15px 18px; border-radius: 18px; color: #fff; background: linear-gradient(120deg,var(--forest-deep),var(--forest-mid)); }.bureau-pulse > div span { color: #c9d9d3; font-size: 8px; text-transform: uppercase; }.bureau-pulse h2 { margin: 4px 0 0; font-size: 14px; }.bureau-pulse > a { min-height: 55px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid rgba(255,255,255,.13); }.bureau-pulse a strong { font-size: 17px; }.bureau-pulse a small { color: #bdd0c8; font-size: 8px; }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.news-card { min-height: 220px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }.news-card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 13px; color: var(--forest); background: var(--forest-soft); }.news-card-icon.urgent, .news-card-icon.securite { color: var(--terracotta); background: var(--terracotta-soft); }.news-card-icon.travaux { color: #9c742f; background: var(--gold-soft); }.news-meta { display: flex; gap: 9px; }.news-meta span { color: #477966; font-size: 7px; font-weight: 800; text-transform: uppercase; }.news-meta time { color: #9aa5a1; font-size: 7px; }.news-card h2 { margin: 8px 0; font-size: 15px; line-height: 1.25; }.news-card p { color: #6e7e78; font-size: 10px; line-height: 1.65; }.news-card > small { color: #9ba6a2; font-size: 8px; }
.dues-stack { display: grid; gap: 14px; margin-bottom: 16px; }.due-card { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }.due-card > div:first-child > small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; }.due-card h2 { margin: 4px 0 3px; font-size: 25px; }.due-card p { margin: 0; color: var(--muted); font-size: 9px; }.due-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; }.due-progress span { color: var(--muted); font-size: 8px; }.due-progress span b { display: block; color: var(--ink); font-size: 12px; }.due-progress progress { grid-column: 1/-1; width: 100%; height: 6px; border: 0; border-radius: 6px; overflow: hidden; background: #e8ece9; }.due-progress progress::-webkit-progress-bar { background: #e8ece9; }.due-progress progress::-webkit-progress-value { background: var(--forest-mid); }.due-progress progress::-moz-progress-bar { background: var(--forest-mid); }.due-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }.due-card dt { color: var(--muted); font-size: 7px; text-transform: uppercase; }.due-card dd { margin: 3px 0 0; font-size: 9px; }
.notification-list { padding: 0 18px 16px; }.notification-list article { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }.notification-list article > span { color: var(--forest); background: var(--forest-soft); }.notification-list strong { font-size: 10px; }.notification-list p { margin: 4px 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.notification-list small { color: #96a09c; font-size: 8px; }
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.event-list, .document-list { padding: 0 16px 16px; }.event-list article { display: grid; grid-template-columns: 52px 1fr; gap: 13px; padding: 14px 2px; border-top: 1px solid var(--line); }.event-list time { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; border-radius: 13px; color: #9b742f; background: var(--gold-soft); }.event-list time b { font-size: 18px; }.event-list time span { font-size: 7px; }.event-list h3 { margin: 0 0 4px; font-size: 11px; }.event-list p { margin: 0 0 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }.event-list small { color: #8c9894; font-size: 8px; }.document-list a { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 11px; padding: 13px 2px; border-top: 1px solid var(--line); }.document-list a > span { color: var(--forest); background: var(--forest-soft); }.document-list strong, .document-list small { display: block; }.document-list strong { font-size: 10px; }.document-list small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.safety-callout { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; padding: 15px 17px; border: 1px solid #f0d5cb; border-radius: 16px; background: #fff7f3; }.safety-callout > span { width: 62px; min-height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--terracotta); font-weight: 800; }.safety-callout strong { font-size: 10px; }.safety-callout p { margin: 4px 0 0; color: #806f69; font-size: 9px; }.report-list { padding: 0 18px 16px; }.report-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }.report-symbol { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--terracotta); background: var(--terracotta-soft); }.report-meta { display: flex; gap: 10px; }.report-meta span { color: var(--terracotta); font-size: 7px; font-weight: 800; text-transform: uppercase; }.report-meta time { color: #98a39f; font-size: 7px; }.report-list p { margin: 5px 0; font-size: 10px; }.report-list small { color: var(--muted); font-size: 8px; }
.push-enrollment { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; margin-bottom: 16px; padding: 18px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 10% 20%,#2d6655 0,transparent 35%), linear-gradient(135deg,#12372f,#1c4d40); box-shadow: 0 16px 36px rgba(18,55,47,.16); }.push-phone { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; color: #173f36; background: #e0bb72; }.push-phone .ui-icon { font-size: 15px; }.push-copy small { color: #ddbd7c; font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.push-copy h2 { margin: 4px 0; color: #fff; font-size: 15px; }.push-copy > p { margin: 0; color: #bfd0ca; font-size: 9px; line-height: 1.5; }.push-copy .push-status { margin-top: 6px; color: #fff; font-weight: 700; }.push-status[data-state="success"] { color: #9de1bf; }.push-status[data-state="warning"] { color: #f4cd82; }.push-status[data-state="error"] { color: #ffb9a5; }.push-copy .ios-push-hint { margin-top: 8px; padding: 8px 10px; border-radius: 9px; color: #f7e5bd; background: rgba(255,255,255,.08); }.push-actions { display: flex; flex-direction: column; gap: 7px; }.push-actions .button { min-width: 154px; }.push-enrollment .button.primary { color: #173f36; background: #e0bb72; }.push-enrollment .button.secondary { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.07); }
.shared-alert-panel { margin-bottom: 16px; }.standard-panel-head .live-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 9px; border-radius: 99px; color: #a74732; background: #fff0eb; font-size: 7px; letter-spacing: .04em; }.live-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 4px rgba(192,91,66,.13); }.shared-alert-list { padding: 0 18px 16px; }.shared-alert-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }.shared-alert-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--terracotta); }.shared-alert-list p { margin: 5px 0; font-size: 10px; line-height: 1.55; }.shared-alert-list small { color: var(--muted); font-size: 8px; }
.share-alert-option { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; padding: 12px; border: 1px solid #d4e4dc; border-radius: 13px; background: var(--forest-soft); }.share-alert-option input { width: 18px !important; height: 18px; margin-top: 1px; accent-color: var(--forest); }.share-alert-option span { display: grid; gap: 3px; }.share-alert-option strong { color: var(--forest); font-size: 10px; }.share-alert-option small { color: #5e746c !important; font-size: 8px !important; }
.profile-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; }.profile-hero { display: flex; align-items: center; gap: 17px; padding: 24px; border-radius: 20px; color: #fff; background: linear-gradient(140deg,var(--forest-deep),#2d6655); }.profile-avatar { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.1); font-size: 19px; font-weight: 800; }.profile-hero small { color: #b7cdc4; font-size: 8px; text-transform: uppercase; }.profile-hero h2 { margin: 5px 0 9px; font-size: 20px; }.profile-details { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }.profile-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 20px; }.profile-details dt { color: var(--muted); font-size: 8px; text-transform: uppercase; }.profile-details dd { margin: 4px 0 0; font-size: 10px; font-weight: 650; }.profile-details p { margin: 15px 0 0; color: var(--muted); font-size: 9px; }.narrow-panel { width: min(620px,100%); padding: 24px; }

.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-bottom: 16px; }.mini-stats article { display: flex; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }.mini-stats article > span { color: var(--forest); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }.mini-stats p { margin: 0; font-size: 10px; font-weight: 700; }.mini-stats small { color: var(--muted); font-size: 8px; font-weight: 500; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 19px; }.search-field { display: flex; align-items: center; gap: 5px; min-width: 260px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }.search-field input { width: 100%; padding: 9px 0; border: 0; outline: 0; background: transparent; font-size: 9px; }.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }table { width: 100%; border-collapse: collapse; }th { padding: 11px 13px; color: #83918c; background: #fafbf9; font-size: 7px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }td { padding: 12px 13px; border-top: 1px solid #edf0ee; font-size: 9px; white-space: nowrap; }tbody tr:hover { background: #fbfcfa; }.cell-stack, .cell-stack small { display: block; }.cell-stack small { margin-top: 3px; color: var(--muted); }.table-actions { display: flex; gap: 5px; }.tiny-button { min-height: 30px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--forest); background: #fff; font-size: 8px; font-weight: 700; cursor: pointer; }.tiny-button:hover { border-color: #b7c8c1; background: var(--forest-soft); }
.admin-action-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-bottom: 16px; }.admin-action-grid button { display: grid; grid-template-columns: 43px 1fr 28px; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); text-align: left; cursor: pointer; }.admin-action-grid button:hover { border-color: #bdcbc6; transform: translateY(-2px); }.admin-action-grid button > .ui-icon:first-child { width: 43px; height: 43px; color: var(--forest); background: var(--forest-soft); }.admin-action-grid strong, .admin-action-grid small { display: block; }.admin-action-grid strong { font-size: 10px; }.admin-action-grid small { margin-top: 4px; color: var(--muted); font-size: 8px; }.content-admin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }.compact-list { padding: 0 16px 15px; }.compact-list article { display: flex; align-items: center; gap: 10px; padding: 12px 1px; border-top: 1px solid var(--line); }.compact-list article > div { min-width: 0; }.compact-list strong, .compact-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.compact-list strong { font-size: 9px; }.compact-list small { margin-top: 4px; color: var(--muted); font-size: 7px; }.date-chip { min-width: 36px; color: #9b742f; font-size: 9px; font-weight: 800; }
.compact-list article > form { margin-left: auto; }.delete-content-button { width: 29px; height: 29px; border: 1px solid #f0cec5; border-radius: 9px; color: var(--danger); background: #fff7f4; font-size: 17px; line-height: 1; cursor: pointer; }.delete-content-button:hover { color: #fff; background: var(--danger); transform: translateY(-1px); }
.reminder-note { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; padding: 14px 16px; border: 1px solid #ded8c8; border-radius: 16px; background: #fffaf0; }.reminder-note > span { color: #9b742f; background: var(--gold-soft); }.reminder-note p { margin: 0; color: #746c5e; font-size: 9px; line-height: 1.55; }.reminder-note code { padding: 2px 5px; border-radius: 5px; background: #eee6d5; font-size: 8px; }.rule-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 16px; }.rule-grid article { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }.rule-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--forest); background: var(--forest-soft); }.rule-grid strong, .rule-grid small { display: block; }.rule-grid strong { font-size: 10px; }.rule-grid small { margin-top: 4px; color: var(--muted); font-size: 8px; }.switch { position: relative; display: block; width: 38px; height: 22px; }.switch input { position: absolute; opacity: 0; }.switch span { position: absolute; inset: 0; border-radius: 20px; background: #d4dad7; cursor: pointer; }.switch span:after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: transform .2s; }.switch input:checked + span { background: var(--forest-mid); }.switch input:checked + span:after { transform: translateX(16px); }
.report-admin-grid { display: grid; gap: 13px; }.report-admin-grid > article { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }.report-admin-head { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }.report-admin-head small { color: var(--muted); font-size: 7px; }.report-admin-head h2 { margin: 4px 0 0; font-size: 12px; }.report-admin-grid > article > p { margin: 14px 0; color: #53655f; font-size: 10px; line-height: 1.6; }.report-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 12px; border-top: 1px solid var(--line); }.report-foot > span { color: var(--muted); font-size: 8px; }.report-foot form { display: flex; align-items: center; gap: 6px; }.report-foot select { padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 8px; }

.form-stack { display: flex; flex-direction: column; gap: 13px; }.form-stack fieldset { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }.form-stack legend { padding: 0 8px; color: var(--forest); font-size: 9px; font-weight: 800; }.form-stack label { display: flex; flex-direction: column; gap: 6px; color: #3f514b; font-size: 9px; font-weight: 700; }.form-stack input, .form-stack select, .form-stack textarea { width: 100%; padding: 10px 11px; border: 1px solid #dfe5e1; border-radius: 10px; outline: none; background: #fbfcfa; font-size: 10px; }.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: #739588; box-shadow: 0 0 0 3px rgba(58,112,92,.09); }.form-stack textarea { resize: vertical; }.form-stack label small { color: var(--muted); font-size: 7px; font-weight: 500; line-height: 1.45; }.form-grid { display: grid; gap: 10px; }.form-grid.two { grid-template-columns: 1fr 1fr; }.form-grid.three { grid-template-columns: repeat(3,1fr); }
.modal { width: min(540px,calc(100% - 28px)); max-height: calc(100vh - 34px); padding: 27px; border: 0; border-radius: 23px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(9,34,27,.34); }.modal-wide { width: min(780px,calc(100% - 28px)); }.modal::backdrop { background: rgba(14,39,32,.58); backdrop-filter: blur(5px); }.modal-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }.modal-kicker { color: var(--terracotta); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.modal h2 { margin: 6px 0 7px; font-size: 22px; letter-spacing: -.035em; }.modal > p { margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.flash { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 0 0 15px; padding: 12px 42px 12px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); transition: opacity .4s; }.flash > span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 11px; font-weight: 800; }.flash p { margin: 3px 0 0; font-size: 9px; line-height: 1.45; }.flash button { position: absolute; top: 8px; right: 9px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }.flash.success { border-color: #cde3d7; }.flash.success > span { color: #2e705c; background: #e8f3ed; }.flash.danger { border-color: #f0ccc2; }.flash.danger > span { color: var(--danger); background: var(--terracotta-soft); }.flash.warning { border-color: #ead9b7; }.flash.warning > span { color: #9b742f; background: var(--gold-soft); }.flash-fade { opacity: .35; }
.empty-state { margin: 0; padding: 24px; color: var(--muted); font-size: 10px; text-align: center; }.empty-copy { color: var(--muted); font-size: 9px; }

.login-body, .install-body { min-height: 100vh; background: #eef1ed; }.login-shell, .installer-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px,.9fr) minmax(520px,1.1fr); }.login-visual, .installer-intro { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 44px clamp(35px,5vw,75px); overflow: hidden; color: #fff; background: radial-gradient(circle at 15% 80%,#28594b 0,transparent 36%), linear-gradient(145deg,#0e3028,#173f36 65%,#225244); }.login-message, .installer-intro > div:nth-child(2) { position: relative; z-index: 2; max-width: 570px; }.eyebrow { display: inline-block; color: #e2bb72; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.login-message h1, .installer-intro h1 { max-width: 620px; margin: 12px 0 16px; font-size: clamp(34px,4.1vw,58px); line-height: 1.02; letter-spacing: -.055em; }.login-message p, .installer-intro > div:nth-child(2) > p { max-width: 520px; color: #b7cbc3; font-size: 13px; line-height: 1.7; }.avenues-list { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }.avenues-list span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #bbcec7; background: rgba(255,255,255,.05); font-size: 8px; }.leaf-art { position: absolute; right: -70px; bottom: -85px; width: 450px; height: 450px; opacity: .12; }.leaf-art i { position: absolute; bottom: 30px; left: 210px; width: 9px; height: 400px; border-radius: 10px; background: #edc578; transform-origin: bottom; }.leaf-art i:nth-child(1){transform:rotate(-55deg)}.leaf-art i:nth-child(2){transform:rotate(-23deg)}.leaf-art i:nth-child(3){transform:rotate(18deg)}.leaf-art i:nth-child(4){transform:rotate(52deg)}
.login-card-wrap { display: grid; place-items: center; padding: 40px; }.login-card { width: min(440px,100%); padding: 32px; border: 1px solid rgba(220,226,221,.9); border-radius: 26px; background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(32,55,46,.12); }.login-heading span, .installer-heading > span { color: #a07938; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.login-heading h2, .installer-heading h2 { margin: 7px 0; font-size: 27px; letter-spacing: -.045em; }.login-heading p, .installer-heading p { margin: 0 0 23px; color: var(--muted); font-size: 10px; line-height: 1.55; }.password-field { position: relative; display: block; }.password-field input { padding-right: 64px; }.password-field button { position: absolute; top: 50%; right: 8px; padding: 5px; border: 0; color: var(--forest); background: transparent; font-size: 8px; font-weight: 750; transform: translateY(-50%); cursor: pointer; }.login-help { display: flex; gap: 10px; margin-top: 17px; padding: 13px; border-radius: 13px; background: var(--forest-soft); }.login-help > span { color: var(--forest); }.login-help p { margin: 0; color: #5c7069; font-size: 8px; line-height: 1.55; }.login-help strong { color: var(--forest); }
.installer-shell { grid-template-columns: minmax(390px,.8fr) minmax(650px,1.2fr); }.installer-intro { position: sticky; top: 0; align-self: start; }.installer-points { position: relative; z-index: 2; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }.installer-points li { display: flex; align-items: center; gap: 9px; color: #c3d4cd; font-size: 10px; }.installer-points li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #173f36; background: #dfbd77; font-weight: 800; }.installer-card { width: min(780px,calc(100% - 50px)); align-self: center; justify-self: center; margin: 35px 0; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }.alert { margin-bottom: 17px; padding: 13px 15px; border-radius: 12px; font-size: 9px; line-height: 1.5; }.alert.danger { color: #874132; background: var(--terracotta-soft); }.alert ul { margin: 6px 0 0; padding-left: 18px; }.success-lockup { display: flex; align-items: center; gap: 14px; }.success-lockup > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--forest); font-size: 20px; }.success-lockup small { color: #a07938; font-size: 8px; text-transform: uppercase; }.success-lockup h2 { margin: 5px 0 0; font-size: 24px; }.installer-card > p { color: var(--muted); font-size: 10px; line-height: 1.6; }

@media (max-width: 1120px) {
  .summary-grid, .news-grid, .content-admin-grid { grid-template-columns: repeat(2,1fr); }
  .summary-card:last-child { grid-column: 1/-1; }
  .admin-action-grid { grid-template-columns: 1fr; }
  .due-card { grid-template-columns: 1fr 1fr; }.due-card dl { grid-column: 1/-1; }
  .bureau-pulse { grid-template-columns: 1fr repeat(3,100px); }
  .login-shell, .installer-shell { grid-template-columns: minmax(340px,.8fr) minmax(480px,1.2fr); }
}

@media (max-width: 900px) {
  body { padding-bottom: 70px; }
  .sidebar { width: min(310px,86vw); transform: translateX(-105%); transition: transform .25s ease; }.menu-open .sidebar { transform: translateX(0); }
  .menu-scrim { position: fixed; z-index: 44; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(8,26,21,.5); transition: opacity .2s,visibility .2s; }.menu-open .menu-scrim { visibility: visible; opacity: 1; }
  .main-panel { margin-left: 0; }.topbar { justify-content: space-between; height: 64px; padding: 0 18px; }.mobile-menu { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }.mobile-brand { display: inline-flex; flex-direction: column; margin-right: auto; margin-left: 12px; color: var(--forest); font-size: 10px; font-weight: 850; }.mobile-brand span { color: var(--muted); font-size: 7px; font-weight: 600; }.profile-copy { display: none; }.content-wrap { padding: 25px 18px 90px; }
  .mobile-bottom-nav { position: fixed; z-index: 40; right: 10px; bottom: 9px; left: 10px; height: 60px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(220,226,221,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 13px 35px rgba(24,55,45,.17); backdrop-filter: blur(12px); }.mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #788681; font-size: 7px; }.mobile-bottom-nav a .ui-icon { width: 25px; height: 25px; }.mobile-bottom-nav a.active { color: var(--forest); }.mobile-bottom-nav a.active .ui-icon { color: var(--forest); background: var(--forest-soft); }
  .login-shell, .installer-shell { grid-template-columns: 1fr; }.login-visual, .installer-intro { min-height: 360px; padding: 30px; }.login-message h1, .installer-intro h1 { font-size: 40px; }.login-card-wrap { padding: 25px; }.installer-intro { position: relative; min-height: 430px; }.installer-card { width: calc(100% - 32px); }
}

@media (max-width: 700px) {
  .welcome-row, .section-heading { align-items: flex-start; flex-direction: column; }.welcome-row .button, .section-heading > .button, .section-heading > form, .section-heading > form .button { width: 100%; }
  .summary-grid, .dashboard-grid, .two-col-layout, .news-grid, .profile-layout, .mini-stats, .rule-grid, .content-admin-grid { grid-template-columns: 1fr; }.summary-card:last-child { grid-column: auto; }
  .bureau-pulse { grid-template-columns: 1fr 1fr 1fr; }.bureau-pulse > div { grid-column: 1/-1; }.bureau-pulse > a { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .due-card { grid-template-columns: 1fr; }.due-card dl { grid-column: auto; }.profile-details dl { grid-template-columns: 1fr; }
  .table-toolbar { align-items: stretch; flex-direction: column; }.search-field { min-width: 0; width: 100%; }
  .admin-action-grid { grid-template-columns: 1fr; }.report-foot { align-items: flex-start; flex-direction: column; }.report-foot form { width: 100%; }.report-foot select { flex: 1; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }.modal { padding: 23px 19px; }
  .push-enrollment { grid-template-columns: 48px 1fr; }.push-actions { grid-column: 1/-1; flex-direction: row; }.push-actions .button { flex: 1; min-width: 0; }.shared-alert-list article { grid-template-columns: 40px 1fr; }.shared-alert-list article > .status { grid-column: 2; justify-self: start; }
  .installer-card { padding: 22px 18px; }.login-card { padding: 25px 20px; }.login-message h1, .installer-intro h1 { font-size: 34px; }
}

@media (max-width: 480px) {
  .content-wrap { padding-right: 13px; padding-left: 13px; }.topbar { padding: 0 13px; }.notification-button { display: none; }
  .urgent-banner { grid-template-columns: auto 1fr; }.urgent-banner a { grid-column: 2; }.safety-callout { align-items: flex-start; }
  .report-list article, .report-admin-head { grid-template-columns: 40px 1fr; }.report-list article > .status, .report-admin-head > .status { grid-column: 2; justify-self: start; }
  .profile-hero { align-items: flex-start; flex-direction: column; }.due-card dl { grid-template-columns: 1fr; }
}

/* Lisibilité renforcée : texte courant confortable et commandes faciles à toucher. */
body { font-size: 16px; line-height: 1.55; }
.brand strong { font-size: 18px; }
.brand small, .profile-copy small, .mobile-brand span { font-size: 12px; }
.residence-chip strong, .profile-copy strong { font-size: 15px; }
.residence-chip small { font-size: 13px; }
.nav-eyebrow { font-size: 12px; }
.main-nav a { min-height: 48px; font-size: 15px; }
.main-nav em { width: 24px; height: 24px; font-size: 12px; }
.sidebar-logout { min-height: 48px; margin-top: auto; font-size: 15px; }
.avenues-card { min-height: 118px; margin: 12px 2px 0; padding: 16px 13px; }
.avenues-card strong { font-size: 15px; }
.avenues-card p { font-size: 13px; line-height: 1.65; }
.avatar { font-size: 13px; }
.page-kicker p, .eyebrow { font-size: 13px; }
.welcome-row > div > p:last-child, .section-heading > div > p:last-child { font-size: 16px; }
.button { min-height: 48px; padding: 12px 17px; font-size: 15px; }
.urgent-banner small, .summary-card > small, .modal-kicker { font-size: 12px; }
.urgent-banner strong { font-size: 16px; }
.urgent-banner p, .urgent-banner a { font-size: 14px; }
.status { font-size: 12px; }
.amount-row span, .summary-card > a, .date-lockup small, .document-count span { font-size: 13px; }
.date-lockup b { font-size: 15px; }
.panel-title span, .standard-panel-head span, .table-toolbar > div > span { font-size: 12px; }
.panel-title h2, .standard-panel-head h2, .table-toolbar h2 { font-size: 18px; }
.panel-title a { font-size: 14px; }
.notice-meta span, .notice-meta time, .news-meta span, .news-meta time, .report-meta span, .report-meta time { font-size: 12px; }
.notice-list h3, .event-list h3, .document-list strong { font-size: 16px; }
.notice-list p, .news-card p, .event-list p { font-size: 15px; }
.timeline time, .event-list time span { font-size: 12px; }
.timeline strong { font-size: 15px; }
.timeline small, .news-card > small, .event-list small, .document-list small { font-size: 13px; }
.bureau-pulse > div span { font-size: 12px; }
.bureau-pulse h2 { font-size: 18px; }
.bureau-pulse a small { font-size: 13px; }
.news-card h2 { font-size: 19px; }
.due-card > div:first-child > small, .due-card p { font-size: 14px; }
.due-progress span, .due-card dt { font-size: 13px; }
.due-progress span b, .due-card dd { font-size: 15px; }
.notification-list strong { font-size: 15px; }
.notification-list p { font-size: 14px; }
.notification-list small { font-size: 13px; }
.safety-callout strong { font-size: 16px; }
.safety-callout p { font-size: 14px; }
.report-list p, .shared-alert-list p { font-size: 15px; }
.report-list small, .shared-alert-list small { font-size: 13px; }
.push-copy small, .standard-panel-head .live-chip { font-size: 12px; }
.push-copy h2 { font-size: 20px; }
.push-copy > p { font-size: 15px; }
.share-alert-option strong { font-size: 15px; }
.share-alert-option small { font-size: 13px !important; }
.profile-hero small, .profile-details dt { font-size: 13px; }
.profile-details dd { font-size: 15px; }
.profile-details p { font-size: 14px; }
.mini-stats p { font-size: 15px; }
.mini-stats small { font-size: 13px; }
.search-field input { min-height: 46px; font-size: 16px; }
th { font-size: 13px; }
td { font-size: 14px; }
.tiny-button { min-height: 44px; padding: 9px 12px; font-size: 14px; }
.admin-action-grid strong, .rule-grid strong { font-size: 15px; }
.admin-action-grid small, .rule-grid small { font-size: 13px; }
.compact-list strong { font-size: 14px; }
.compact-list small { font-size: 12px; }
.date-chip { font-size: 13px; }
.delete-content-button { width: 44px; height: 44px; }
.reminder-note p { font-size: 14px; }
.reminder-note code { font-size: 13px; }
.report-admin-head small { font-size: 13px; }
.report-admin-head h2 { font-size: 19px; }
.report-admin-grid > article > p { font-size: 15px; }
.reporter-trace { display: grid; gap: 3px; margin-top: 14px; padding: 13px 15px; border: 1px solid #d7e4de; border-radius: 13px; background: var(--forest-soft); }
.reporter-trace strong { color: var(--forest); font-size: 16px; }
.reporter-trace span { color: #536b62; font-size: 14px; overflow-wrap: anywhere; }
.report-foot > span { font-size: 14px; }
.report-foot select { min-height: 44px; font-size: 15px; }
.form-stack legend { font-size: 14px; }
.form-stack label { font-size: 15px; }
.form-stack input, .form-stack select, .form-stack textarea { min-height: 48px; padding: 12px 13px; font-size: 16px; }
.form-stack label small { font-size: 13px; }
.modal-close { width: 44px; height: 44px; font-size: 22px; }
.modal > p { font-size: 15px; }
.flash p { font-size: 14px; }
.empty-state, .empty-copy { font-size: 15px; }
.avenues-list span { font-size: 14px; }
.login-heading span, .installer-heading > span { font-size: 13px; }
.login-heading p, .installer-heading p, .installer-card > p { font-size: 15px; }
.password-field button { min-height: 40px; font-size: 14px; }
.login-help p { font-size: 14px; }
.installer-points li { font-size: 15px; }
.alert { font-size: 14px; }
.success-lockup small { font-size: 13px; }
.mobile-brand { font-size: 14px; }

@media (max-width: 900px) {
  body { padding-bottom: 84px; }
  .mobile-menu, .notification-button { width: 44px; height: 44px; }
  .mobile-bottom-nav { height: 72px; }
  .mobile-bottom-nav a { gap: 3px; font-size: 12px; }
  .content-wrap { padding-bottom: 104px; }
}

/* Invitations personnelles, activation et installation de l’application. */
.login-body, .install-body { padding-bottom: 0; }
.invitation-card { width: min(560px,100%); }
.invitation-heading { margin-bottom: 18px; }
.invitation-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px; border: 1px solid #d7e4de; border-radius: 15px; background: var(--forest-soft); }
.invitation-identity > span { color: var(--forest); background: #fff; }
.invitation-identity strong, .invitation-identity small { display: block; }
.invitation-identity strong { font-size: 16px; }
.invitation-identity small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.invitation-activate-button { margin-top: 4px; }
.activation-install-status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.activation-install-status[data-state="success"], [data-install-status][data-state="success"] { color: #2e705c; }
.activation-install-status[data-state="warning"], [data-install-status][data-state="warning"] { color: #98671f; }
.invitation-expiry { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.invitation-state { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.invitation-state > span { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; color: #fff; background: var(--danger); font-size: 22px; font-weight: 800; }
.invitation-state.warning > span { background: #b77b27; }
.invitation-state small { color: var(--muted); font-size: 13px; text-transform: uppercase; }
.invitation-state h2 { margin: 4px 0 0; font-size: 23px; }
.invitation-explanation { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.invitation-share-panel { margin-bottom: 17px; padding: 20px; border: 1px solid #cfe0d8; border-radius: 19px; background: linear-gradient(135deg,#edf5f0,#fffdf8); box-shadow: 0 12px 30px rgba(31,73,59,.07); }
.invitation-share-heading { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; margin-bottom: 15px; }
.invitation-share-heading small { color: #8c713f; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.invitation-share-heading h2 { margin: 3px 0 0; font-size: 20px; }
.invitation-share-heading p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.invitation-share-panel > label { display: grid; gap: 7px; color: var(--forest); font-size: 14px; font-weight: 750; }
.invitation-share-panel input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfdcd6; border-radius: 11px; outline: none; background: #fff; font-size: 15px; }
.invitation-share-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.invitation-share-panel > p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.invitation-button { border-color: #b8d2c7; color: #245a49; background: #edf5f0; }
.edit-member-button { border-color: #d8c9aa; color: #7c5d28; background: #fffaf0; }
.table-actions { flex-wrap: wrap; min-width: 390px; }
.form-submit-row { display: flex; flex-wrap: wrap; gap: 9px; }

.install-onboarding { overflow: hidden; border: 1px solid #d8e2dc; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.install-onboarding-hero { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 19px; padding: 24px; color: #fff; background: radial-gradient(circle at 12% 35%,#36735f 0,transparent 28%), linear-gradient(135deg,#11362e,#1f5142); }
.install-app-icon { width: 78px; height: 78px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.install-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.onboarding-kicker { color: #e5c17c; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.install-onboarding-hero h2 { margin: 5px 0 7px; color: #fff; font-size: 24px; }
.install-onboarding-hero p { margin: 0; color: #c1d2cc; font-size: 15px; line-height: 1.55; }
.onboarding-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 22px; }
.onboarding-steps article { display: grid; grid-template-columns: 42px 1fr; align-content: start; gap: 12px; min-height: 220px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.onboarding-steps article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--forest); font-size: 17px; font-weight: 800; }
.onboarding-steps article.done > span { color: var(--forest); background: #dcece4; }
.onboarding-steps strong { font-size: 17px; }
.onboarding-steps p { min-height: 70px; margin: 6px 0 15px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.onboarding-steps .button { grid-column: 1/-1; width: 100%; }
.ios-install-guide, .browser-install-guide { margin: 0 22px 22px; padding: 17px 19px; border: 1px solid #ead9b7; border-radius: 16px; color: #665d4e; background: #fffaf0; }
.ios-install-guide strong, .browser-install-guide strong { color: #805f27; font-size: 16px; }
.ios-install-guide ol { margin: 9px 0 0; padding-left: 23px; }
.ios-install-guide li, .browser-install-guide p { margin: 6px 0; font-size: 15px; line-height: 1.55; }
.profile-password-note { margin-top: 4px; padding: 16px; border: 1px solid #d4e3dc; border-radius: 15px; background: var(--forest-soft); }
.profile-password-note strong { color: var(--forest); font-size: 16px; }
.profile-password-note p { margin: 5px 0 13px; }

@media (max-width: 900px) {
  .invitation-body { padding-bottom: 0; }
  .invitation-shell { grid-template-columns: 1fr; }
  .invitation-visual { min-height: 330px; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .onboarding-steps article { min-height: 0; }
  .onboarding-steps p { min-height: 0; }
}

@media (max-width: 600px) {
  .invitation-card-wrap { padding: 18px 14px; }
  .invitation-card { padding: 24px 18px; }
  .invitation-share-heading, .install-onboarding-hero { grid-template-columns: 58px 1fr; }
  .invitation-share-heading > .status, .install-onboarding-hero > .status { grid-column: 2; justify-self: start; }
  .invitation-share-actions, .form-submit-row { flex-direction: column; }
  .invitation-share-actions .button, .form-submit-row .button { width: 100%; }
  .install-app-icon { width: 58px; height: 58px; border-radius: 17px; }
  .install-onboarding-hero { padding: 19px; }
  .install-onboarding-hero h2 { font-size: 21px; }
  .onboarding-steps { padding: 14px; }
  .ios-install-guide, .browser-install-guide { margin: 0 14px 14px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
