:root {
  --ink: #0D1320; --blueprint: #243447; --blueprint-dark: #0D1320; --paper: #F2F4F7;
  --mineral: #dce4e8; --muted: #5c6e78; --validation: #3f8f80; --critical: #a43e35;
  --white: #fff; --brand-mist: #9FB7C4; --brand-mint: #5DB6A6;
  --shadow: 0 22px 60px rgba(13,19,32,.13), 0 2px 8px rgba(13,19,32,.07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper);
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: linear-gradient(118deg, #eef1f2 0 32%, var(--paper) 32% 100%); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: -80px; padding: 12px 16px; color: white; background: var(--ink); }
.skip-link:focus { top: 16px; }
.account-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(245px, 30vw) 1fr; }
aside { position: relative; overflow: hidden; display: flex; min-height: 100vh; flex-direction: column; padding: clamp(28px, 5vw, 72px); color: white; background: var(--ink); }
aside::after { content: ""; position: absolute; width: 360px; height: 360px; right: -230px; bottom: 12%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 52px rgba(255,255,255,.025), 0 0 0 104px rgba(255,255,255,.018); pointer-events: none; }
.brand { display: inline-flex; align-items: center; color: white; text-decoration: none; }
.galen-lockup { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.galen-symbol { display: block; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 11px; background: url('/brand/galen-symbol.png') center / cover no-repeat; }
.galen-wordmark { display: block; width: 112px; height: 20px; background: currentColor; -webkit-mask: url('/brand/galen-wordmark.svg') center / contain no-repeat; mask: url('/brand/galen-wordmark.svg') center / contain no-repeat; }
.rail-label { margin: clamp(54px, 10vh, 110px) 0 22px; color: rgba(255,255,255,.56); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.progress-rail { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.progress-rail::before { content: ""; position: absolute; left: 14px; top: 18px; bottom: 18px; width: 1px; background: rgba(255,255,255,.15); }
.progress-rail li { position: relative; display: flex; min-height: 54px; align-items: center; gap: 16px; color: rgba(255,255,255,.58); font-size: 14px; }
.progress-rail span { z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; }
.progress-rail .current { color: white; font-weight: 650; }
.progress-rail .current span { border-color: #8fb1ff; background: var(--blueprint); box-shadow: 0 0 0 5px rgba(31,83,190,.25); }
.progress-rail .done { color: rgba(255,255,255,.72); }
.progress-rail .done span { border-color: #6bb598; background: var(--validation); }
.rail-note { position: relative; z-index: 1; margin: auto 0 0; max-width: 240px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; text-wrap: pretty; }
main { display: grid; place-items: center; min-width: 0; padding: clamp(28px, 6vw, 92px); }
.opening-card { width: min(100%, 610px); padding: clamp(30px, 6vw, 66px); background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 22px; color: var(--blueprint); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 520px; margin: 0; font-family: ui-serif, Georgia, serif; font-size: clamp(36px, 5vw, 62px); font-weight: 520; line-height: .99; letter-spacing: -.05em; text-wrap: balance; }
.intro { max-width: 510px; margin: 24px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
form { display: grid; gap: 10px; }
label { margin-top: 8px; color: var(--ink); font-size: 12px; font-weight: 680; }
input, select { width: 100%; min-height: 48px; border: 1px solid #cbd1d2; border-radius: 5px; padding: 0 14px; color: var(--ink); background: white; transition: border-color 160ms ease, box-shadow 160ms ease; }
input:focus, select:focus { border-color: var(--blueprint); outline: none; box-shadow: 0 0 0 3px rgba(31,83,190,.16); }
button { min-height: 48px; border: 0; border-radius: 5px; padding: 0 20px; color: white; background: var(--blueprint); font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(31,83,190,.2); transition: background-color 160ms ease, transform 100ms ease, box-shadow 160ms ease; }
button:hover { background: var(--blueprint-dark); box-shadow: 0 10px 24px rgba(31,83,190,.25); }
button:active { transform: scale(.96); }
button:focus-visible, a:focus-visible { outline: 3px solid #7da4ff; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .62; }
form button { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .secondary { color: var(--ink); background: var(--mineral); box-shadow: none; }
.provider-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; color: var(--muted); font-size: 12px; }
.provider-divider::before, .provider-divider::after { content: ""; height: 1px; flex: 1; background: var(--mineral); }
.provider-actions { display: grid; gap: 8px; }
.provider-button { width: 100%; margin: 0; color: var(--ink); background: white; border: 1px solid var(--mineral); box-shadow: none; }
.organization-choice { display: flex; align-items: center; gap: 12px; margin: 0; border: 1px solid var(--mineral); padding: 14px 16px; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.organization-choice:has(input:checked) { border-color: var(--blueprint); background: #f2f6ff; }
.organization-choice input { width: auto; min-height: auto; margin: 0; }
.organization-choice span { font-weight: 680; }
.switch { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
a { color: var(--blueprint); text-underline-offset: 3px; }
.status { min-height: 22px; margin-top: 18px; color: var(--validation); font-size: 13px; line-height: 1.5; }
.status.error { color: var(--critical); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 42px 0 0; background: var(--mineral); }
.trust div { min-width: 0; padding: 18px; background: white; }
.trust dt { margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 750; }
.trust dd { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.registration-shell main { position: relative; overflow: hidden; align-items: center; padding: clamp(28px, 4.5vw, 72px); }
.registration-shell main::before { position: absolute; z-index: 0; width: min(54vw, 760px); height: min(54vw, 760px); border: 1px solid rgba(36,52,71,.08); border-radius: 50%; content: ''; box-shadow: 0 0 0 76px rgba(36,52,71,.025), 0 0 0 152px rgba(36,52,71,.018); pointer-events: none; }
.register-experience { position: relative; z-index: 1; display: grid; width: min(100%, 1080px); grid-template-columns: minmax(360px, 1.04fr) minmax(330px, .96fr); gap: clamp(16px, 2.2vw, 28px); align-items: center; }
.register-panel { min-width: 0; border: 1px solid rgba(255,255,255,.86); border-radius: 28px; padding: clamp(30px, 4vw, 54px); background: rgba(255,255,255,.9); box-shadow: 0 32px 88px rgba(13,19,32,.13), 0 2px 9px rgba(13,19,32,.06), inset 0 1px 0 rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.register-panel .eyebrow { margin-bottom: 11px; }
.register-step { margin: 0 0 26px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .035em; }
.register-panel h1 { max-width: 460px; font-size: clamp(42px, 4.7vw, 66px); }
.register-panel .intro { margin: 22px 0 30px; font-size: 15px; }
.register-form { gap: 0; }
.register-field { display: grid; gap: 8px; }
.register-field label { margin: 0; font-size: 13px; }
.email-control { display: grid; grid-template-columns: 43px minmax(0, 1fr); min-height: 54px; overflow: hidden; border: 1px solid #bfc9ce; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(13,19,32,.035); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.email-control:focus-within { border-color: var(--blueprint); box-shadow: 0 0 0 4px rgba(36,52,71,.12), 0 8px 24px rgba(13,19,32,.08); transform: translateY(-1px); }
.email-control > span { display: grid; place-items: center; border-right: 1px solid #e0e6e9; color: var(--blueprint); background: #f5f7f8; font: 720 15px ui-monospace, SFMono-Regular, Menlo, monospace; }
.email-control input { min-height: 52px; border: 0; border-radius: 0; padding-inline: 14px; box-shadow: none; }
.email-control input:focus { outline: none; box-shadow: none; }
.email-control:has(input[aria-invalid="true"]) { border-color: var(--critical); box-shadow: 0 0 0 4px rgba(164,62,53,.1); }
.register-field > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.register-form button { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 54px; margin-top: 18px; border-radius: 12px; padding-inline: 19px 16px; text-align: left; box-shadow: 0 12px 28px rgba(36,52,71,.22), inset 0 1px 0 rgba(255,255,255,.13); }
.register-form button > span:last-child { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--brand-mint); font-size: 17px; transition: transform 160ms cubic-bezier(.2,0,0,1); }
.register-form button:hover > span:last-child { transform: translateX(2px); }
.register-form button[aria-busy="true"] > span { opacity: 0; }
.register-form button[aria-busy="true"]::after { position: absolute; left: 19px; content: 'Envoi du lien…'; }
.register-privacy { display: flex; gap: 9px; align-items: center; margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.register-privacy > span { width: 8px; height: 8px; flex: 0 0 auto; border: 2px solid #dff2ec; border-radius: 50%; background: var(--validation); box-shadow: 0 0 0 1px var(--validation); }
.register-panel .status { margin-top: 8px; }
.register-panel .switch { margin-top: 16px; }
.dossier-preview { min-width: 0; overflow: hidden; border: 1px solid rgba(13,19,32,.14); border-radius: 22px; color: var(--ink); background: rgba(247,249,250,.94); box-shadow: 0 26px 64px rgba(13,19,32,.16), 0 2px 6px rgba(13,19,32,.08); transform: rotate(1.1deg); transition: transform 240ms cubic-bezier(.2,0,0,1), box-shadow 240ms ease; }
.dossier-preview:hover { box-shadow: 0 32px 72px rgba(13,19,32,.19), 0 2px 6px rgba(13,19,32,.08); transform: rotate(0deg) translateY(-2px); }
.preview-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; min-height: 43px; border-bottom: 1px solid #d9e0e4; padding: 0 14px; color: var(--muted); background: rgba(232,236,239,.9); font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.window-controls { display: flex; gap: 6px; }
.window-controls i { width: 9px; height: 9px; border: 1px solid rgba(13,19,32,.1); border-radius: 50%; background: #cbd3d7; }
.window-controls i:first-child { background: #9fb7c4; }
.window-controls i:last-child { background: var(--brand-mint); }
.preview-state { justify-self: end; border-radius: 999px; padding: 5px 8px; color: #4d606b; background: rgba(255,255,255,.72); font-size: 9px; text-transform: uppercase; }
.preview-sheet { padding: clamp(24px, 3vw, 34px); }
.preview-kicker { margin: 0 0 10px; color: #27685d; font: 740 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.preview-sheet h2 { max-width: 390px; margin: 0; font: 520 clamp(27px, 3vw, 39px) ui-serif, Georgia, serif; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.preview-operation { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 27px 0 13px; border: 1px solid #dbe2e5; border-radius: 13px; padding: 12px; background: #fff; box-shadow: 0 7px 18px rgba(13,19,32,.045); }
.operation-mark { display: grid; width: 36px; height: 36px; grid-template-columns: repeat(2, 1fr); gap: 3px; border-radius: 9px; padding: 7px; background: var(--ink); }
.operation-mark span { border-radius: 2px; background: var(--brand-mist); }
.operation-mark span:last-child { background: var(--brand-mint); }
.preview-operation > div:nth-child(2) { display: grid; min-width: 0; gap: 4px; }
.preview-operation small { color: var(--muted); font-size: 9px; }
.preview-operation strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.validation-chip { border-radius: 999px; padding: 6px 8px; color: #27685d; background: #e1f1ec; font-size: 9px; font-weight: 760; white-space: nowrap; }
.preview-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid #dbe2e5; border-radius: 12px; background: #dbe2e5; }
.preview-specs div { display: grid; min-width: 0; gap: 5px; padding: 11px; background: rgba(255,255,255,.82); }
.preview-specs dt { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.preview-specs dd { overflow: hidden; margin: 0; font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.preview-flow { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.preview-flow li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 11px; min-height: 51px; color: var(--muted); }
.preview-flow li:not(:last-child)::after { position: absolute; top: 24px; bottom: 0; left: 11px; width: 1px; content: ''; background: #d4dcdf; }
.preview-flow li > span { z-index: 1; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #c9d2d6; border-radius: 50%; background: #f7f9fa; font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.preview-flow li.active > span { border-color: var(--validation); color: white; background: var(--validation); box-shadow: 0 0 0 4px rgba(63,143,128,.1); }
.preview-flow li > div { display: grid; align-content: start; gap: 3px; padding-top: 2px; }
.preview-flow b { color: var(--ink); font-size: 10px; }
.preview-flow small { font-size: 9px; }
.preview-footnote { margin: 2px 0 0; border-top: 1px solid #dce3e6; padding-top: 14px; color: var(--muted); font-size: 9px; line-height: 1.55; text-wrap: pretty; }
.busy-mark { width: 44px; height: 44px; border: 2px solid var(--mineral); border-top-color: var(--blueprint); border-radius: 50%; animation: spin 800ms linear infinite; }
.pending-seal { display: grid; width: 56px; height: 56px; margin: 28px 0 8px; place-items: center; border: 1px solid color-mix(in srgb, var(--blueprint) 35%, var(--mineral)); border-radius: 50%; color: var(--blueprint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 24px; }
.invite-summary { display: grid; gap: 1px; margin: 0 0 20px; background: var(--mineral); }
.invite-summary div { display: grid; grid-template-columns: minmax(105px, .7fr) 1fr; gap: 14px; padding: 12px 14px; background: white; }
.invite-summary dt { color: var(--muted); font-size: 11px; }
.invite-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; font-weight: 680; }
.onboarding-card h1 { margin-bottom: 28px; }
.onboarding-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 28px; padding: 0; background: var(--mineral); list-style: none; }
.onboarding-progress li { display: grid; min-width: 0; gap: 7px; padding: 12px; color: var(--muted); background: white; font-size: 10px; text-transform: capitalize; }
.onboarding-progress span { color: var(--blueprint); font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.onboarding-progress .completed, .onboarding-progress .skipped { color: var(--ink); }
fieldset { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; }
legend { margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.choice { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 0; border: 1px solid var(--mineral); padding: 12px; cursor: pointer; }
.choice input { min-height: auto; margin: 3px 0 0; }
.choice span, .choice small { display: block; }
.choice small { margin-top: 4px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.session-shell aside { padding-right: clamp(28px, 4vw, 56px); }
.account-nav { display: grid; gap: 5px; }
.account-nav a { border-left: 2px solid transparent; padding: 12px 14px; color: rgba(255,255,255,.64); text-decoration: none; font-size: 14px; font-weight: 650; }
.account-nav a[aria-current="page"] { border-left-color: #8fb1ff; color: white; background: rgba(255,255,255,.07); }
.nav-count { display: inline-grid; min-width: 22px; min-height: 22px; margin-left: 6px; place-items: center; border-radius: 999px; padding: 2px 6px; color: #12233d; background: #dce7ff; font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; vertical-align: middle; }
.session-shell main { display: block; padding: clamp(26px, 5vw, 72px); }
.account-settings-page { width: min(100%, 1120px); margin: 0 auto; }
.account-settings-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--mineral); padding-bottom: 30px; }
.account-settings-heading h1 { font-size: clamp(42px, 6vw, 72px); }
.account-settings-heading > div > p:last-child { max-width: 620px; margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.settings-mark { display: grid; width: 74px; height: 74px; place-items: center; border: 1px solid rgba(36,52,71,.24); color: var(--validation); background: #e8f2ee; font: 500 42px ui-serif, Georgia, serif; }
.account-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.settings-panel { border-top: 3px solid var(--blueprint); padding: 22px 22px 24px; background: rgba(255,255,255,.8); box-shadow: 0 10px 30px rgba(23,37,53,.05); }
.settings-panel header { margin-bottom: 18px; }
.settings-panel header .eyebrow { margin-bottom: 8px; }
.settings-panel h2 { margin: 0; font: 520 clamp(24px, 3vw, 35px) ui-serif, Georgia, serif; letter-spacing: -.03em; }
.settings-panel form { gap: 8px; }
.settings-panel form button { margin-top: 12px; }
.readonly-field { display: flex; min-height: 48px; align-items: center; margin-top: 6px; border: 1px solid var(--mineral); padding: 0 14px; color: var(--muted); background: #f5f7f8; font-size: 13px; }
.field-help { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.settings-sessions { margin-top: 14px; border-top-color: var(--validation); }
.settings-sessions > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.settings-sessions > header p:last-child { max-width: 560px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.account-session-list { display: grid; gap: 1px; margin: 22px 0 0; padding: 0; list-style: none; background: var(--mineral); }
.account-session-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; background: white; }
.account-session-row > div { display: grid; gap: 5px; }
.account-session-row span { color: var(--muted); font-size: 11px; }
.session-badge { border-radius: 999px; padding: 6px 9px; color: var(--blueprint); background: #e7edff; font-size: 10px !important; font-weight: 760; white-space: nowrap; }
.account-session-row.current { box-shadow: inset 3px 0 0 var(--validation); }
.account-settings-page > .status { margin-top: 14px; }
@media (max-width: 780px) { .account-settings-grid { grid-template-columns: 1fr; } .account-settings-heading, .settings-sessions > header { align-items: start; flex-direction: column; } .settings-mark { width: 54px; height: 54px; font-size: 30px; } }
.billing-page { width: min(100%, 1120px); margin: 0 auto; }
.billing-page h1 { font-size: clamp(42px, 6vw, 72px); }
.billing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--mineral); padding-bottom: 28px; }
.billing-heading > div:first-child > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.billing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.billing-capability-hint { max-width: 330px; margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: right; }
.billing-actions .secondary, .back-link, .text-action { color: var(--ink); background: var(--mineral); box-shadow: none; }
.billing-notice { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin: 30px 0; border-left: 4px solid var(--validation); padding: 22px 24px; background: white; box-shadow: 0 8px 28px rgba(23,37,53,.06); }
.billing-notice--attention { border-left-color: #b36b16; }
.billing-notice--critical { border-left-color: var(--critical); }
.billing-notice h2, .capacity-section h2, .billing-panel h2 { margin: 0; font: 520 clamp(24px, 3vw, 35px) ui-serif, Georgia, serif; letter-spacing: -.03em; }
.billing-notice p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.billing-deadline { display: grid; gap: 5px; min-width: 160px; border-left: 1px solid var(--mineral); padding-left: 22px; }
.billing-deadline span, .billing-period span { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.billing-period { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 46px; background: var(--mineral); }
.billing-period div { display: grid; gap: 8px; padding: 17px 20px; background: rgba(255,255,255,.8); }
.capacity-section > header, .billing-panel > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.capacity-section > header > p, .billing-panel > header > span { margin: 0; color: var(--muted); font-size: 12px; }
.quota-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quota-card { border: 1px solid var(--mineral); padding: 18px; background: rgba(255,255,255,.82); }
.quota-card header { display: flex; justify-content: space-between; gap: 12px; }
.quota-card h3 { margin: 0; font-size: 14px; }
.quota-card header p, .quota-card > p, .quota-card small { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.quota-card header > b { color: var(--blueprint); font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.quota-card--blocked header > b { color: var(--critical); }
.quota-track { height: 5px; margin: 18px 0 12px; overflow: hidden; background: var(--mineral); }
.quota-track i { display: block; width: var(--quota); height: 100%; background: var(--blueprint); }
.quota-card--blocked .quota-track i { background: var(--critical); }
.quota-card > p strong { color: var(--ink); font-size: 13px; }
.billing-panel { margin-top: 46px; border-top: 1px solid var(--mineral); padding-top: 28px; }
.invoice-list { border-top: 1px solid var(--mineral); }
.invoice-list article { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border-bottom: 1px solid var(--mineral); padding: 17px 4px; }
.invoice-list article > div { display: grid; gap: 5px; }
.invoice-list article > div:last-child { text-align: right; }
.invoice-list span, .empty-state { color: var(--muted); font-size: 12px; }
.inline-error { border-left: 4px solid var(--critical); padding: 18px 20px; color: var(--critical); background: white; }
.inline-error h1 { color: var(--ink); }
.loading-lines { display: grid; gap: 14px; margin-top: 44px; }
.loading-lines i { width: 100%; height: 72px; background: linear-gradient(100deg, var(--mineral), white, var(--mineral)); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.imports-page { width: min(100%, 1260px); margin: 0 auto; }
.imports-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: clamp(28px, 5vw, 72px); align-items: end; border-bottom: 1px solid var(--mineral); padding-bottom: 30px; }
.imports-heading h1 { font-size: clamp(40px, 5.6vw, 70px); }
.imports-heading > div > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.compact-error { margin: 18px 0 0; }
.import-create { border-left: 3px solid var(--blueprint); padding: 18px 0 18px 20px; background: linear-gradient(90deg, rgba(31,83,190,.05), transparent); }
.import-create > div { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 8px; }
.import-create button { grid-column: 1 / -1; margin-top: 2px; }
.export-create { display: grid; gap: 9px; border-left: 3px solid var(--validation); padding: 18px 0 18px 20px; background: linear-gradient(90deg, rgba(31,109,82,.06), transparent); }
.export-create button { margin: 0; }
.export-create small, .export-safety { color: var(--muted); font-size: 10px; line-height: 1.5; }
.exports-page .import-workbench { margin-top: 34px; }
.restores-page .import-workbench { margin-top: 34px; }
.restore-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 28px 0; padding: 0; list-style: none; }
.restore-rail li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); text-align: center; font-size: 11px; }
.restore-rail li::before { content: ''; position: absolute; z-index: 0; top: 14px; right: 50%; width: 100%; height: 1px; background: var(--mineral); }
.restore-rail li:first-child::before { display: none; }
.restore-rail i { position: relative; z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--mineral); border-radius: 50%; background: var(--paper); font-style: normal; }
.restore-rail .done i { border-color: var(--validation); background: var(--validation); color: #fff; }
.restore-rail .current { color: var(--ink); font-weight: 700; }
.restore-rail .current i { border-color: var(--blueprint); color: var(--blueprint); box-shadow: 0 0 0 4px rgba(31,83,190,.1); }
.restore-upload { display: grid; gap: 10px; margin-top: 24px; padding: 20px; border: 1px solid var(--mineral); background: #f8fafc; }
.restore-upload small { color: var(--muted); }
.upload-progress { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.upload-progress i { grid-column: 1 / -1; height: 5px; overflow: hidden; background: var(--mineral); }
.upload-progress i::after { content: ''; display: block; width: var(--progress); height: 100%; background: var(--blueprint); }
.restore-errors { margin-top: 30px; border-top: 1px solid var(--mineral); padding-top: 24px; }
.restore-errors h3 { margin: 4px 0 16px; }
.export-detail .source-proof { grid-template-columns: minmax(0, 1fr) auto auto; }
.export-safety { margin: 16px 0 0; }
.template-shelf { margin: 34px 0; }
.template-shelf > header, .import-register > header, .import-errors > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.template-shelf h2, .import-register h2 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.template-shelf > header span, .import-errors > header span { color: var(--muted); font-size: 11px; }
.template-shelf > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--mineral); }
.template-card { display: grid; gap: 15px; align-content: space-between; min-height: 150px; padding: 17px; background: rgba(255,255,255,.84); }
.template-card h3 { margin: 6px 0; font-size: 14px; }
.template-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.template-card .template-code { color: var(--blueprint); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.template-card button { min-height: 34px; justify-self: start; padding: 0 10px; font-size: 11px; }
.import-workbench { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.7fr); min-height: 560px; border: 1px solid var(--mineral); background: rgba(255,255,255,.7); box-shadow: 0 18px 48px rgba(23,37,53,.06); }
.import-register { min-width: 0; border-right: 1px solid var(--mineral); padding: 18px 12px; background: rgba(246,247,245,.74); }
.import-register > header { padding: 0 5px; }
.import-register .text-action { min-height: 32px; padding: 0 9px; font-size: 11px; }
.import-row { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; align-items: center; border: 1px solid transparent; border-radius: 0; padding: 13px 12px; color: var(--ink); background: transparent; box-shadow: none; text-align: left; }
.import-row:hover { border-color: #cbd1d2; background: white; box-shadow: none; }
.import-row.selected { border-color: var(--blueprint); background: white; box-shadow: inset 3px 0 0 var(--blueprint); }
.import-row > span:first-child { display: grid; min-width: 0; gap: 4px; }
.import-row b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.import-row small, .row-count { color: var(--muted); font-size: 10px; }
.row-count { grid-column: 1 / -1; }
.import-state { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; padding: 5px 8px; color: var(--muted); background: var(--mineral); font-size: 10px; font-weight: 750; white-space: nowrap; }
.import-state--active { color: var(--blueprint-dark); background: #e6edff; }
.import-state--success { color: var(--validation); background: #e2f1ea; }
.import-state--critical { color: var(--critical); background: #f8e7e5; }
.import-state--muted { color: #667078; background: #eceeed; }
.import-detail, .import-empty { min-width: 0; padding: clamp(22px, 4vw, 46px); }
.import-empty { display: grid; align-content: center; min-height: 430px; }
.import-empty h2, .import-detail h2 { margin: 0; font: 520 clamp(27px, 3vw, 40px) ui-serif, Georgia, serif; letter-spacing: -.035em; }
.import-empty > p:last-child, .import-detail > header p { max-width: 600px; color: var(--muted); line-height: 1.6; }
.import-detail > header { display: flex; align-items: start; justify-content: space-between; gap: 22px; }
.import-meter { margin: 30px 0 20px; }
.meter-copy { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.meter-copy b { color: var(--blueprint); }
.meter-track { height: 7px; overflow: hidden; background: var(--mineral); }
.meter-track i { display: block; width: var(--progress); height: 100%; background: var(--blueprint); transition: width 180ms ease; }
.import-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 24px; background: var(--mineral); }
.import-counts div { display: grid; gap: 6px; padding: 14px; background: white; }
.import-counts dt { color: var(--muted); font-size: 10px; }
.import-counts dd { margin: 0; font: 700 17px ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-proof { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1px; margin: 22px 0; background: var(--mineral); }
.source-proof > div { display: grid; min-width: 0; gap: 6px; padding: 13px; background: rgba(255,255,255,.9); }
.source-proof span { color: var(--muted); font-size: 10px; }
.source-proof code { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.source-proof b { font-size: 11px; }
.import-upload { margin-top: 24px; border: 1px dashed #aeb8bc; padding: 18px; background: rgba(246,247,245,.6); }
.import-upload input[type="file"] { min-height: auto; padding: 11px; }
.import-upload p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.import-upload button { justify-self: start; }
.import-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.danger-secondary { color: var(--critical); background: #f4e9e7; box-shadow: none; }
.danger-secondary:hover { color: white; background: var(--critical); box-shadow: none; }
.import-errors { margin-top: 34px; border-top: 1px solid var(--mineral); padding-top: 25px; }
.import-errors h3 { margin: 0; font: 520 24px ui-serif, Georgia, serif; }
.error-table { border-top: 1px solid var(--mineral); }
.error-table-head, .error-table article { display: grid; grid-template-columns: minmax(105px, .55fr) minmax(180px, 1.3fr) minmax(150px, 1fr); gap: 16px; border-bottom: 1px solid var(--mineral); padding: 12px 5px; }
.error-table-head { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.error-table article p { display: grid; align-content: start; gap: 5px; min-width: 0; margin: 0; font-size: 11px; line-height: 1.45; }
.error-table article span { color: var(--muted); overflow-wrap: anywhere; }
.error-table code { width: max-content; max-width: 100%; overflow: hidden; color: var(--critical); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.load-errors { margin-top: 14px; }
.publication-panel { margin-top: 34px; border: 1px solid #cad2d8; border-top: 4px solid var(--blueprint); padding: clamp(20px, 3vw, 30px); background: rgba(255,255,255,.88); }
.publication-panel > header, .document-staging > header, .staging-card > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.publication-panel h3, .document-staging h3 { margin: 0; font: 520 clamp(23px, 2.5vw, 32px) ui-serif, Georgia, serif; letter-spacing: -.03em; }
.publication-panel > header p:last-child { max-width: 620px; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.publication-ready form { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(220px, 1fr); gap: 8px 12px; align-items: end; margin-top: 20px; }
.publication-ready form label { grid-column: 1 / -1; }
.publication-ready form button { margin: 0; }
.publication-meter { margin: 24px 0 18px; }
.publication-meter > div { height: 8px; overflow: hidden; background: var(--mineral); }
.publication-meter i { display: block; width: var(--progress); height: 100%; background: var(--validation); transition: width 180ms ease; }
.publication-meter p { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.publication-meter strong { color: var(--ink); }
.publication-proof { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 1px; margin: 0; background: var(--mineral); }
.publication-proof div { display: grid; gap: 6px; min-width: 0; padding: 13px; background: white; }
.publication-proof dt { color: var(--muted); font-size: 10px; }
.publication-proof dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.document-staging { margin-top: 30px; border-top: 1px solid var(--mineral); padding-top: 24px; }
.document-staging > header > span { color: var(--muted); font-size: 11px; }
.staging-list { display: grid; gap: 10px; margin-top: 14px; }
.staging-card { border: 1px solid var(--mineral); padding: 16px; background: var(--paper); }
.staging-card > header > div { display: grid; min-width: 0; gap: 5px; }
.staging-card > header b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.staging-card > header div span, .staging-card > p { color: var(--muted); font-size: 10px; }
.staging-card > p { margin: 10px 0; line-height: 1.5; }
.staging-card dl { display: grid; grid-template-columns: .7fr .8fr 1.5fr; gap: 1px; margin: 0; background: var(--mineral); }
.staging-card dl div { display: grid; min-width: 0; gap: 5px; padding: 9px; background: white; }
.staging-card dt { color: var(--muted); font-size: 9px; }
.staging-card dd { min-width: 0; margin: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.staging-card form { margin-top: 13px; }
.staging-card form button { justify-self: start; }
.staging-error { color: var(--critical) !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.activity-page { width: min(100%, 1280px); margin: 0 auto; }
.activity-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: end; border-bottom: 1px solid var(--mineral); padding-bottom: 28px; }
.activity-heading h1 { font-size: clamp(42px, 6vw, 74px); }
.activity-heading > div > p:last-child { max-width: 680px; margin: 17px 0 0; color: var(--muted); line-height: 1.6; }
.activity-total { display: grid; min-width: 180px; gap: 7px; margin: 0; border-left: 3px solid var(--blueprint); padding: 10px 0 10px 18px; }
.activity-total span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.activity-total b { overflow-wrap: anywhere; font: 700 clamp(20px, 3vw, 30px) ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-filters { display: grid; grid-template-columns: repeat(2, minmax(180px, 280px)) auto; gap: 12px; align-items: end; margin: 26px 0 12px; }
.activity-filters label { margin: 0; }
.activity-filters select { margin-top: 7px; }
.activity-filters button { min-height: 48px; margin: 0; }
.activity-live { min-height: 20px; color: var(--muted); font-size: 11px; }
.activity-partial { margin: 8px 0 0; border-left: 3px solid #b36b16; padding: 10px 12px; color: var(--muted); background: rgba(255,255,255,.72); font-size: 12px; }
.activity-partial button { min-height: auto; padding: 5px 8px; }
.activity-workbench { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(340px, 1.1fr); min-height: 540px; margin-top: 12px; border: 1px solid var(--mineral); background: rgba(255,255,255,.72); box-shadow: 0 18px 48px rgba(23,37,53,.06); }
.activity-ledger { position: relative; min-width: 0; border-right: 1px solid var(--mineral); padding: 16px 12px 28px; }
.activity-ledger::before { content: ''; position: absolute; top: 34px; bottom: 34px; left: 27px; width: 1px; background: #bdc8d0; }
.activity-row { position: relative; display: grid; width: 100%; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 82px; border: 1px solid transparent; border-radius: 0; padding: 12px 13px 12px 7px; color: var(--ink); background: transparent; box-shadow: none; text-align: left; }
.activity-row:hover { border-color: #cbd1d2; background: white; box-shadow: none; }
.activity-row.selected { border-color: var(--blueprint); background: white; box-shadow: inset 3px 0 0 var(--blueprint); }
.activity-node { z-index: 1; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--blueprint); box-shadow: 0 0 0 1px #9aabb8; }
.activity-copy { display: grid; min-width: 0; gap: 5px; }
.activity-copy b { font-size: 13px; line-height: 1.35; }
.activity-copy small, .activity-meta { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.activity-meta { color: var(--blueprint-dark); font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.activity-more { width: calc(100% - 30px); margin: 16px 15px 0; color: var(--ink); background: var(--mineral); box-shadow: none; }
.activity-detail { min-width: 0; padding: clamp(28px, 5vw, 64px); }
.activity-detail h2 { max-width: 540px; margin: 0; font: 520 clamp(28px, 4vw, 46px) ui-serif, Georgia, serif; line-height: 1.05; letter-spacing: -.04em; }
.activity-detail > p:last-of-type { max-width: 560px; color: var(--muted); line-height: 1.6; }
.activity-open { display: inline-flex; min-height: 48px; align-items: center; margin-top: 16px; padding: 0 19px; color: white; background: var(--blueprint); font-weight: 700; text-decoration: none; }
.activity-empty { display: grid; align-content: center; }
.activity-revoked { border-top: 4px solid var(--critical); background: rgba(164,62,53,.035); }
.activity-zero { position: relative; z-index: 1; padding: 34px 22px; background: var(--paper); }
.activity-zero p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.inbox-page { width: min(100%, 1120px); margin: 0 auto; }
.inbox-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(30px, 6vw, 84px); align-items: end; border-bottom: 1px solid var(--mineral); padding-bottom: 28px; }
.inbox-heading h1 { font-size: clamp(42px, 6vw, 74px); }
.inbox-heading > div > p:last-child { max-width: 650px; margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.inbox-heading dl { display: grid; grid-template-columns: repeat(2, minmax(112px, 1fr)); gap: 1px; margin: 0; background: var(--mineral); }
.inbox-heading dl div { display: grid; gap: 7px; padding: 15px 18px; background: white; }
.inbox-heading dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.inbox-heading dd { max-width: 200px; margin: 0; overflow-wrap: anywhere; color: var(--blueprint); font: 750 19px ui-monospace, SFMono-Regular, Menlo, monospace; }
.inbox-filters { display: grid; grid-template-columns: minmax(160px, .45fr) minmax(260px, 1fr) auto; gap: 12px; align-items: end; margin: 26px 0 14px; }
.inbox-filters label { margin: 0; }
.inbox-filters select, .inbox-filters input { margin-top: 7px; }
.inbox-filters button { min-height: 48px; margin: 0; }
.inbox-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 45px; border-bottom: 1px solid var(--mineral); }
.inbox-toolbar p { margin: 0; color: var(--muted); font-size: 11px; }
.inbox-toolbar button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.inbox-list { display: grid; }
.inbox-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 16px; align-items: start; border-bottom: 1px solid var(--mineral); padding: 20px 6px; }
.inbox-row--archived { opacity: .68; }
.inbox-state { width: 9px; height: 9px; margin-top: 7px; border: 1px solid #87939c; border-radius: 50%; background: white; }
.inbox-row--unread .inbox-state { border-color: var(--blueprint); background: var(--blueprint); box-shadow: 0 0 0 4px rgba(31,83,190,.1); }
.inbox-row--archived .inbox-state { background: var(--mineral); }
.inbox-row h2 { margin: 3px 0 5px; font-size: 15px; letter-spacing: -.015em; }
.inbox-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.inbox-row .inbox-meta { color: var(--blueprint-dark); font-size: 9px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.inbox-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.inbox-row-actions button { min-height: 32px; padding: 0 9px; font-size: 10px; }
.inbox-zero { padding: 52px 24px; text-align: center; background: rgba(255,255,255,.45); }
.inbox-zero p, .inbox-partial { color: var(--muted); font-size: 12px; line-height: 1.5; }
.inbox-partial { margin: 12px 0 0; border-left: 3px solid #b36b16; padding: 10px 12px; background: rgba(255,255,255,.72); }
.activity-object { width: min(100%, 900px); margin: 0 auto; border-top: 4px solid var(--blueprint); padding: clamp(28px, 6vw, 74px); background: rgba(255,255,255,.76); box-shadow: 0 24px 70px rgba(23,37,53,.08); }
.activity-object > header { margin-top: clamp(42px, 8vw, 92px); }
.activity-object h1 { max-width: 680px; font-size: clamp(46px, 8vw, 88px); }
.activity-object > header > p:last-child { max-width: 650px; color: var(--muted); line-height: 1.7; }
.activity-object-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 42px 0 0; border-top: 1px solid var(--mineral); border-left: 1px solid var(--mineral); }
.activity-object-proof div { min-width: 0; border-right: 1px solid var(--mineral); border-bottom: 1px solid var(--mineral); padding: 18px; }
.activity-object-proof dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.activity-object-proof dd { overflow-wrap: anywhere; margin: 8px 0 0; font: 650 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.activity-object-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.activity-object-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.activity-object-actions a { color: var(--ink); font-weight: 700; }
.activity-object--revoked { border-top-color: var(--critical); }
.activity-object--loading { min-height: 480px; display: grid; align-content: center; }
.assignments-panel { margin-top: 42px; border-top: 1px solid var(--mineral); padding-top: 30px; }
.assignments-panel > header { display: flex; gap: 24px; align-items: start; justify-content: space-between; }
.assignments-panel h2 { margin: 5px 0 8px; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.045em; }
.assignments-panel > header p:last-child { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.55; }
.assignments-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.assignment-card { display: grid; align-content: start; border: 1px solid var(--mineral); border-top: 3px solid var(--blueprint); padding: 16px; background: rgba(255,255,255,.68); }
.assignment-card--cancelled { border-top-color: #9aa2a8; opacity: .72; }
.assignment-card > header { display: flex; justify-content: space-between; gap: 14px; }
.assignment-card header div { display: grid; min-width: 0; gap: 4px; }
.assignment-card header b { overflow-wrap: anywhere; font-size: 13px; }
.assignment-card header small, .assignment-card header > span { color: var(--muted); font-size: 10px; }
.assignment-card header > span { color: var(--blueprint-dark); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.assignment-card > footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.assignment-card > footer button { min-height: 34px; padding: 0 10px; font-size: 10px; }
.assignment-delivery { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.assignment-create, .assignment-reassign { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 16px; padding: 17px; border-left: 3px solid var(--validation); background: rgba(31,109,82,.05); }
.assignment-create label, .assignment-reassign label { margin: 0; }
.assignment-create select, .assignment-reassign select { margin-top: 7px; }
.assignment-create button, .assignment-reassign button { min-height: 48px; margin: 0; }
.assignment-reassign { grid-template-columns: 1fr; border-left-color: var(--blueprint); }
.collaboration-panel { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--mineral); }
.collaboration-panel > header { display: flex; gap: 24px; align-items: start; justify-content: space-between; }
.collaboration-panel h2 { margin: 5px 0 8px; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.045em; }
.collaboration-panel > header p:last-child { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.55; }
.collaboration-list { display: grid; gap: 12px; margin-top: 28px; }
.collaboration-empty { margin: 0; padding: 20px; border: 1px dashed var(--mineral); color: var(--muted); line-height: 1.55; }
.collaboration-comment { padding: 18px; border: 1px solid var(--mineral); background: rgba(255,255,255,.62); }
.collaboration-comment--tombstoned { background: rgba(96,106,113,.06); color: var(--muted); }
.collaboration-comment header, .collaboration-comment footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.collaboration-comment > p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; line-height: 1.6; }
.collaboration-comment-actions { display: flex; gap: 10px; }
.collaboration-attachments { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--mineral); }
.collaboration-attachments > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.collaboration-attachments ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.collaboration-attachments li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px; background: rgba(23,37,53,.035); }
.collaboration-attachments li b, .collaboration-attachments li small { display: block; overflow-wrap: anywhere; }
.collaboration-attachments li small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.collaboration-attachment-empty { display: block !important; color: var(--muted); font-size: 11px; }
.scan-state { font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.scan-state--clean { color: #19755f; }.scan-state--quarantined { color: #a56806; }.scan-state--infected, .scan-state--failed { color: var(--critical); }
.collaboration-upload { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 12px; }
.collaboration-upload label { display: grid; gap: 5px; flex: 1 1 260px; color: var(--muted); font-size: 11px; font-weight: 700; }
.collaboration-upload input { max-width: 100%; padding: 8px; border: 1px solid var(--mineral); background: white; }
.collaboration-composer { display: grid; gap: 12px; margin-top: 30px; padding: 20px; border-left: 3px solid var(--blueprint); background: rgba(29,88,153,.045); }
.collaboration-composer > label { font-weight: 800; }
.collaboration-composer textarea { min-height: 120px; resize: vertical; padding: 12px; border: 1px solid var(--mineral); background: #fff; color: var(--ink); font: inherit; line-height: 1.55; }
.mention-summary { min-height: 18px; color: var(--muted); font-size: 11px; }
.mention-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.mention-candidate { display: grid; gap: 2px; min-width: 132px; padding: 9px 11px; border: 1px solid var(--mineral); border-radius: 0; background: #fff; color: var(--ink); text-align: left; box-shadow: none; }
.mention-candidate small { color: var(--muted); font-size: 10px; }.mention-candidate.selected { border-color: var(--blueprint); background: var(--blueprint); color: #fff; }.mention-candidate.selected small { color: rgba(255,255,255,.78); }
.collaboration-composer-actions { display: flex; flex-wrap: wrap; gap: 10px; }.collaboration-notice { margin: 16px 0 0; padding: 11px 13px; border-left: 3px solid var(--critical); background: rgba(185,55,55,.08); color: var(--ink); }
.collaboration-read-only { margin-top: 30px; padding: 16px 18px; border-left: 3px solid var(--mineral); background: rgba(96,106,113,.06); }
.collaboration-read-only b { display: block; font-size: 13px; }.collaboration-read-only p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.preferences-page { width: min(100%, 1180px); margin: 0 auto; }
.preferences-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(30px, 6vw, 86px); align-items: end; border-bottom: 1px solid var(--mineral); padding-bottom: 28px; }
.preferences-heading h1 { font-size: clamp(42px, 6vw, 74px); }
.preferences-heading > div > p:last-child { max-width: 680px; margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.preferences-heading dl { display: grid; min-width: 240px; gap: 1px; margin: 0; background: var(--mineral); }
.preferences-heading dl div { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 12px 14px; background: white; }
.preferences-heading dt { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.preferences-heading dd { margin: 0; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.preference-scope { display: grid; grid-template-columns: minmax(280px, 520px) auto; gap: 11px; align-items: end; margin: 25px 0 8px; }
.preference-scope label { margin: 0; }
.preference-scope input { margin-top: 7px; }
.preference-scope button { min-height: 48px; margin: 0; }
.preferences-live { min-height: 35px; padding: 10px 0; color: var(--muted); font-size: 11px; }
.preferences-read-only { min-height: auto; margin: 18px 0 4px; border-left: 3px solid #87939c; padding: 13px 16px; color: var(--ink); background: rgba(96,106,113,.06); }
.preferences-read-only p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.preferences-matrix { display: grid; border-top: 1px solid var(--mineral); }
.preference-row { position: relative; display: grid; grid-template-columns: minmax(230px, .9fr) minmax(420px, 1.25fr); gap: 18px 34px; padding: 22px 5px 20px; border-bottom: 1px solid var(--mineral); }
.preference-row::before { position: absolute; top: 0; bottom: 0; left: -10px; width: 2px; content: ''; background: transparent; }
.preference-row:has(.preference-source--project)::before { background: var(--blueprint); }
.preference-row > header { display: flex; min-width: 0; gap: 16px; align-items: start; justify-content: space-between; }
.preference-row h2 { margin: 5px 0 0; font-size: 15px; line-height: 1.35; }
.preference-code { margin: 0; overflow-wrap: anywhere; color: var(--muted); font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.preference-source { flex: 0 0 auto; padding: 5px 7px; color: #59646b; background: #e9ecec; font-size: 9px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.preference-source--project { color: var(--blueprint-dark); background: #e3eaff; }
.preference-source--global { color: var(--validation); background: #e2f1ea; }
.preference-channels { display: grid; grid-template-columns: repeat(3, minmax(112px, 1fr)); gap: 1px; background: var(--mineral); }
.pref-channel { display: grid; grid-template-columns: 16px 1fr; gap: 2px 9px; align-content: center; min-height: 60px; border: 0; border-radius: 0; padding: 10px 12px; color: var(--ink); background: rgba(255,255,255,.88); box-shadow: none; text-align: left; }
.pref-channel > span { grid-row: 1 / 3; align-self: center; width: 15px; height: 28px; border: 1px solid #a9b2b7; border-radius: 999px; background: #dce1e2; box-shadow: inset 0 0 0 3px white; }
.pref-channel.enabled > span { border-color: var(--blueprint); background: var(--blueprint); }
.pref-channel b { font-size: 10px; }.pref-channel small { color: var(--muted); font-size: 9px; }
.pref-channel:hover:not(:disabled) { color: var(--ink); background: white; box-shadow: inset 0 -3px 0 var(--blueprint); transform: none; }
.pref-channel:focus-visible { position: relative; z-index: 1; outline: 3px solid #e1a829; outline-offset: 2px; }
.pref-channel:disabled { cursor: not-allowed; opacity: .65; box-shadow: none; }
.pref-channel:disabled small { color: #59646b; }
.preference-row > footer { grid-column: 1 / -1; display: flex; min-height: 30px; gap: 15px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.critical-proof { border-left: 3px solid var(--critical); padding: 6px 9px; color: var(--critical); background: rgba(164,62,53,.055); font-weight: 750; }
.pref-reset-one { min-height: 30px; padding: 0 9px; font-size: 10px; }
.preferences-actions { position: sticky; z-index: 3; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 -10px; border-top: 1px solid #c7cecf; padding: 14px 10px; background: rgba(246,247,245,.96); backdrop-filter: blur(10px); }
.preferences-actions button { margin: 0; }
.support-page { width: min(100%, 1240px); margin: 0 auto; }
.support-heading { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(34px, 6vw, 86px); align-items: start; border-bottom: 1px solid var(--mineral); padding-bottom: 32px; }
.support-heading h1 { font-size: clamp(48px, 7vw, 82px); }
.support-heading > div > p:last-child { max-width: 520px; margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.support-create { border-left: 3px solid var(--blueprint); padding: 5px 0 5px 22px; }
.support-create .eyebrow { margin-bottom: 8px; }
.support-create h2 { margin: 0 0 14px; font: 520 clamp(23px, 3vw, 33px) ui-serif, Georgia, serif; letter-spacing: -.035em; }
.support-create textarea { min-height: 128px; resize: vertical; border: 1px solid #cbd1d2; border-radius: 5px; padding: 12px 14px; color: var(--ink); background: white; font: inherit; line-height: 1.55; transition: border-color 160ms ease, box-shadow 160ms ease; }
.support-create textarea:focus { border-color: var(--blueprint); outline: none; box-shadow: 0 0 0 3px rgba(31,83,190,.16); }
.support-message-label { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; }
.support-message-label label { margin-bottom: 0; }
.support-message-label span { color: var(--muted); font: 650 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.support-live { min-height: 20px; margin: 2px 0 0; color: var(--validation); font-size: 11px; line-height: 1.5; }
.support-live--error { color: var(--critical); }
.support-catalog-proof { display: flex; gap: 16px 24px; align-items: center; margin: 19px 0; color: var(--muted); font-size: 10px; }
.support-catalog-proof > span { flex: 0 0 auto; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.support-catalog-proof ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.support-catalog-proof li { display: flex; gap: 6px; align-items: center; border: 1px solid var(--mineral); padding: 5px 7px; background: rgba(255,255,255,.72); font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.support-catalog-proof small { color: var(--validation); font: 800 8px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.support-workbench { display: grid; grid-template-columns: minmax(265px, .7fr) minmax(0, 1.5fr); min-height: 520px; border: 1px solid var(--mineral); background: rgba(255,255,255,.7); box-shadow: 0 18px 48px rgba(23,37,53,.06); }
.support-register { min-width: 0; border-right: 1px solid var(--mineral); padding: 18px 12px; background: rgba(246,247,245,.74); }
.support-register > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 0 5px; }
.support-register h2 { margin: 0; font-size: 14px; }
.support-register .text-action, .support-more { min-height: 32px; padding: 0 9px; font-size: 10px; }
.support-row { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; border: 1px solid transparent; border-radius: 0; padding: 14px 12px; color: var(--ink); background: transparent; box-shadow: none; text-align: left; }
.support-row:hover { border-color: #cbd1d2; background: white; box-shadow: none; }
.support-row.selected { border-color: var(--blueprint); background: white; box-shadow: inset 3px 0 0 var(--blueprint); }
.support-row > span:first-child { display: grid; min-width: 0; gap: 4px; }
.support-row b { overflow: hidden; font: 720 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.support-row small, .support-row time { color: var(--muted); font-size: 10px; }
.support-row time { grid-column: 1 / -1; }
.support-state { display: inline-flex; align-items: center; width: max-content; padding: 5px 8px; color: var(--blueprint-dark); background: #e6edff; font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.support-state--terminal { color: var(--validation); background: #e2f1ea; }
.support-zero { padding: 48px 18px; color: var(--muted); text-align: center; }
.support-zero b { color: var(--ink); font-size: 13px; }
.support-zero p { margin: 7px 0 0; font-size: 11px; line-height: 1.5; }
.support-detail { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.support-detail > header { display: flex; gap: 22px; align-items: start; justify-content: space-between; }
.support-detail h2 { margin: 0; font: 520 clamp(28px, 4vw, 42px) ui-serif, Georgia, serif; letter-spacing: -.04em; }
.support-detail--empty, .support-detail--loading { display: grid; align-content: center; }
.support-detail--empty p:last-child { max-width: 540px; color: var(--muted); line-height: 1.6; }
.support-receipt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; margin: 28px 0; border-left: 4px solid var(--blueprint); padding: 15px 17px; background: rgba(31,83,190,.045); }
.support-receipt span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.support-receipt b { overflow-wrap: anywhere; font: 760 13px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .045em; }
.support-receipt button { min-height: 32px; margin: 0; padding: 0 9px; font-size: 10px; }
.support-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 28px; padding: 0; background: var(--mineral); list-style: none; }
.support-timeline li { display: grid; gap: 6px; border-top: 3px solid transparent; padding: 13px 15px; background: white; }
.support-timeline .current { border-top-color: var(--blueprint); }
.support-timeline span { font: 740 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.support-timeline time { color: var(--muted); font-size: 10px; }
.support-thread { display: grid; gap: 12px; }
.support-message { border: 1px solid var(--mineral); padding: 17px; background: rgba(255,255,255,.74); }
.support-message header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; }
.support-message h3 { margin: 15px 0 0; font-size: 14px; }
.support-message > p { margin: 11px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1180px) and (min-width: 761px) {
  .register-experience { width: min(100%, 660px); grid-template-columns: 1fr; }
  .dossier-preview { transform: rotate(.5deg); }
}
@media (max-width: 760px) {
  body { background: var(--paper); }
  .account-shell { grid-template-columns: 1fr; }
  aside { min-height: auto; padding: 20px 22px; }
  .rail-label, .rail-note { display: none; }
  .progress-rail { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
  .progress-rail::before { left: 12%; right: 12%; top: 14px; bottom: auto; width: auto; height: 1px; }
  .progress-rail li { min-height: 40px; flex-direction: column; gap: 7px; font-size: 9px; text-align: center; }
  main { padding: 24px 16px 46px; }
  .opening-card { padding: 30px 22px; box-shadow: 0 14px 35px rgba(23,37,53,.09); }
  h1 { font-size: clamp(34px, 12vw, 48px); }
  .trust { grid-template-columns: 1fr; }
  .registration-shell main { overflow: visible; padding: 20px max(14px, env(safe-area-inset-right)) max(42px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .registration-shell main::before { display: none; }
  .register-experience { grid-template-columns: 1fr; gap: 16px; }
  .register-panel { border-radius: 22px; padding: 28px 20px; }
  .register-panel h1 { font-size: clamp(39px, 13vw, 54px); }
  .register-panel .intro { font-size: 14px; }
  .register-form button { min-height: 56px; }
  .dossier-preview { border-radius: 19px; transform: none; }
  .dossier-preview:hover { transform: none; }
  .preview-sheet { padding: 24px 19px; }
  .preview-operation { grid-template-columns: 36px minmax(0, 1fr); }
  .validation-chip { grid-column: 2; justify-self: start; }
  .preview-specs { grid-template-columns: 1fr; }
  .session-shell aside { min-height: auto; }
  .session-shell .rail-label { display: block; margin: 20px 0 10px; }
  .account-nav { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
  .account-nav a { border-left: 0; border-bottom: 2px solid transparent; text-align: center; }
  .account-nav a[aria-current="page"] { border-bottom-color: #8fb1ff; }
  .session-shell main { padding: 28px 16px 46px; }
  .billing-heading, .capacity-section > header, .billing-panel > header { align-items: stretch; flex-direction: column; }
  .billing-actions { justify-content: stretch; }
  .billing-capability-hint { max-width: none; text-align: left; }
  .billing-actions button { flex: 1; }
  .billing-notice { grid-template-columns: 1fr; }
  .billing-deadline { border-left: 0; border-top: 1px solid var(--mineral); padding: 14px 0 0; }
  .billing-period, .quota-grid { grid-template-columns: 1fr; }
  .invoice-list article { grid-template-columns: 1fr; gap: 8px; }
  .invoice-list article > div:last-child { text-align: left; }
  .imports-heading { grid-template-columns: 1fr; }
  .restore-rail { grid-template-columns: 1fr; gap: 10px; }
  .restore-rail li { grid-template-columns: 32px 1fr; justify-items: start; align-items: center; text-align: left; }
  .restore-rail li::before { top: -10px; left: 14px; width: 1px; height: 20px; }
  .template-shelf > div { grid-template-columns: 1fr; }
  .import-workbench { grid-template-columns: 1fr; }
  .import-register { border-right: 0; border-bottom: 1px solid var(--mineral); }
  .import-counts { grid-template-columns: repeat(2, 1fr); }
  .source-proof { grid-template-columns: 1fr; }
  .export-detail .source-proof { grid-template-columns: 1fr; }
  .error-table-head { display: none; }
  .error-table article { grid-template-columns: 1fr; gap: 10px; }
  .publication-ready form, .publication-proof, .staging-card dl { grid-template-columns: 1fr; }
  .publication-panel > header, .document-staging > header { align-items: stretch; flex-direction: column; }
  .activity-heading, .inbox-heading { grid-template-columns: 1fr; }
  .activity-total { border-top: 1px solid var(--mineral); border-left: 0; padding: 15px 0 0; }
  .activity-filters, .activity-workbench, .inbox-filters { grid-template-columns: 1fr; }
  .activity-ledger { border-right: 0; border-bottom: 1px solid var(--mineral); }
  .activity-detail { min-height: 300px; }
  .activity-object { padding: 26px 20px 38px; }
  .activity-object-proof { grid-template-columns: 1fr; }
  .collaboration-panel > header, .assignments-panel > header { display: grid; gap: 14px; }
  .assignments-list, .assignment-create { grid-template-columns: 1fr; }
  .inbox-toolbar, .inbox-row { align-items: stretch; }
  .inbox-toolbar { flex-direction: column; padding: 12px 0; }
  .inbox-row { grid-template-columns: 12px minmax(0, 1fr); }
  .inbox-row-actions { grid-column: 2; justify-content: flex-start; }
  .collaboration-attachments li { grid-template-columns: 1fr; gap: 6px; }
  .collaboration-upload { align-items: stretch; }
  .preferences-heading, .preference-row { grid-template-columns: 1fr; }
  .preferences-heading dl { min-width: 0; }
  .preference-scope { grid-template-columns: 1fr; }
  .preference-channels { grid-template-columns: 1fr; }
  .preference-row { gap: 16px; padding: 20px 0; }
  .preference-row::before { left: -7px; }
  .preference-row > footer { grid-column: 1; align-items: start; flex-direction: column; }
  .preferences-actions { margin: 0; }
  .support-heading, .support-workbench { grid-template-columns: 1fr; }
  .support-create { margin-top: 8px; padding-left: 16px; }
  .support-catalog-proof { align-items: flex-start; flex-direction: column; }
  .support-register { border-right: 0; border-bottom: 1px solid var(--mineral); }
  .support-detail { min-height: 340px; }
  .support-receipt { grid-template-columns: 1fr; align-items: start; }
  .support-receipt button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (prefers-contrast: more) { input { border-color: var(--ink); } .progress-rail li { color: white; } }

/* Visites : même rail GALEN, lecture et feuille à largeur utile. */
.visits-workspace { width: 100%; min-width: 0; }
.visits-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.visits-header h1 { font-family: inherit; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; letter-spacing: -.035em; }
.visits-header p { max-width: 66ch; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.visits-header > button { flex-shrink: 0; }
.visits-project { display: flex; align-items: end; gap: 12px; margin-bottom: 12px; }
.visits-project label { display: grid; gap: 8px; flex: 1; max-width: 620px; font-size: 13px; }
.visits-status { min-height: 24px; margin: 14px 0; line-height: 1.6; color: var(--validation); }
.visits-status:empty { display: none; }
.visits-status.error { padding: 16px; border-left: 3px solid var(--critical); background: #fff4f1; color: var(--critical); }
.visits-status button { margin-left: 10px; }
.visits-workspace button.secondary { color: var(--ink); background: var(--mineral); box-shadow: none; }
.visits-columns { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.5fr); gap: 24px; align-items: start; }
.visits-workspace h2 { font-size: 21px; line-height: 1.35; margin: 0 0 16px; }
.visits-workspace h3 { font-size: 16px; line-height: 1.4; margin: 22px 0 12px; }
.visits-list { min-width: 0; }
.visits-list > ul, .visits-people { list-style: none; margin: 0; padding: 0; }
.visits-list > ul { display: grid; gap: 10px; }
.visits-meeting { width: 100%; display: grid; gap: 8px; text-align: left; padding: 18px; border: 1px solid var(--mineral); background: var(--white); color: var(--ink); box-shadow: none; }
.visits-meeting:hover { background: #eaf0f4; box-shadow: none; }
.visits-meeting.selected { border-color: var(--blueprint); box-shadow: inset 3px 0 var(--blueprint); }
.visits-meeting strong { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.visits-meeting > span:last-child, .visits-meeting-meta { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 500; }
.visits-detail, .visits-create { min-width: 0; padding: clamp(20px, 2.5vw, 32px); background: var(--white); border: 1px solid var(--mineral); border-radius: 8px; }
.visits-detail > header { padding-bottom: 20px; border-bottom: 1px solid var(--mineral); }
.visits-detail > header h2 { margin: 10px 0; font-size: 26px; overflow-wrap: anywhere; }
.visits-detail p, .visits-create p { color: var(--muted); line-height: 1.6; }
.visits-people li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--mineral); }
.visits-people strong { font-size: 14px; overflow-wrap: anywhere; }
.visits-people small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.4; }
.visits-person-state { font-size: 12px; line-height: 1.5; }
.visits-count { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.visits-empty, .visits-readonly { padding: 18px 0; color: var(--muted); line-height: 1.6; }
.visits-participant-actions { display: grid; gap: 20px; }
.visits-participant-actions form { border-top: 1px solid var(--mineral); padding-top: 6px; }
.visits-workspace label { display: grid; gap: 8px; }
.visits-confirm { padding: 18px; background: #edf5f3; border: 1px solid #adc9c2; border-radius: 6px; }
.visits-confirm h3 { margin-top: 0; }
.visits-create { margin-bottom: 24px; }
.visits-section-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.visits-section-title h2 { margin: 0; }
.visits-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visits-create form > button { justify-self: start; }
.visits-workspace input:disabled, .visits-workspace select:disabled { opacity: .75; cursor: not-allowed; }
@media (max-width: 1050px) { .visits-columns { grid-template-columns: 1fr; } .visits-list > ul { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
@media (max-width: 600px) { .visits-header, .visits-project { flex-direction: column; align-items: stretch; } .visits-field-row { grid-template-columns: 1fr; gap: 6px; } .visits-header > button, .visits-create form > button { width: 100%; } .visits-status button { width: 100%; margin: 12px 0 0; } }
