:root {
    --ink: #181727;
    --muted: #716f7e;
    --paper: #f7f4ee;
    --surface: rgba(255,255,255,.82);
    --line: rgba(24,23,39,.11);
    --coral: #ff665a;
    --coral-dark: #e94e45;
    --mint: #a9ead0;
    --violet: #7770d8;
    --night: #151426;
    --shadow: 0 24px 60px rgba(32,26,47,.10);
    --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(119,112,216,.3); outline-offset: 2px; }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ambient { position: fixed; border-radius: 999px; filter: blur(2px); opacity: .45; z-index: -1; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: #ffd5c6; top: -180px; right: -120px; }
.ambient-two { width: 360px; height: 360px; background: #d4f4e6; left: -180px; top: 520px; }

.app-header {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
    background: var(--night); color: var(--mint); font-size: 28px; transform: rotate(-4deg);
    box-shadow: 0 8px 18px rgba(21,20,38,.18);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.personal-entry-button { min-height: 42px; border: 0; border-radius: 14px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--night); color: white; font-weight: 800; }
.personal-entry-button span:first-child { color: var(--mint); font-size: 18px; }
.personal-entry-button:hover { background: var(--violet); }
.chef-messages-indicator { min-height: 46px; padding: 5px 10px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.78); color: var(--ink); text-align: left; }
.chef-messages-indicator:hover { background: white; transform: translateY(-1px); }
.chef-message-icon { grid-row: 1 / 3; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #ece9fb; color: var(--violet); font-size: 15px; }
.chef-message-label { font-size: 11px; font-weight: 850; line-height: 1.1; }
.chef-message-counters { display: flex; gap: 5px; }
.message-counter { padding: 2px 5px; border-radius: 6px; color: var(--muted); background: #eeebf1; font-size: 9px; line-height: 1.3; white-space: nowrap; }
.message-counter strong { font-size: 10px; }
.message-counter.new.has-messages { background: #fff0d5; color: #9a4a1e; }
.chef-messages-indicator.has-new { border-color: rgba(255,102,90,.4); box-shadow: 0 0 0 3px rgba(255,102,90,.08); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 13px; background: rgba(255,255,255,.74); border: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.status-dot { width: 8px; height: 8px; background: #e5ad42; border-radius: 50%; box-shadow: 0 0 0 4px rgba(229,173,66,.14); }
.status-pill.online .status-dot { background: #40b87c; box-shadow: 0 0 0 4px rgba(64,184,124,.14); }
.status-pill.offline .status-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255,102,90,.14); }
.icon-button { border: 1px solid var(--line); background: rgba(255,255,255,.76); width: 42px; height: 42px; border-radius: 14px; color: var(--ink); font-size: 19px; display: grid; place-items: center; }
.icon-button:hover { background: white; transform: translateY(-1px); }

.app-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto 120px; }
.hero {
    min-height: 485px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
    gap: 34px;
    align-items: center;
    background: var(--night);
    color: white;
    border-radius: 38px;
    padding: clamp(34px, 6vw, 74px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(21,20,38,.18);
}
.hero::before { content: "♪"; position: absolute; color: rgba(255,255,255,.035); font-size: 420px; line-height: 1; right: 4%; top: -50px; transform: rotate(12deg); }
.hero::after { content: ""; position: absolute; width: 250px; height: 250px; background: var(--coral); opacity: .14; border-radius: 50%; right: -80px; bottom: -100px; filter: blur(8px); }
.hero-copy, .readiness-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 9px; color: var(--coral); font-size: 12px; text-transform: uppercase; font-weight: 850; letter-spacing: .14em; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.065em; }
.accent { color: var(--coral); }
.hero-copy > p:not(.eyebrow) { margin: 20px 0 30px; color: rgba(255,255,255,.67); font-size: clamp(17px, 2vw, 21px); }
.search-box {
    max-width: 690px; min-height: 62px; padding: 0 18px; border-radius: 19px; background: white; color: var(--ink);
    display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 35px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s;
}
.search-box:focus-within { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(0,0,0,.28); }
.search-box > span { font-size: 29px; color: var(--violet); line-height: 1; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-box kbd { padding: 4px 8px; border: 1px solid #ddd9e5; border-radius: 7px; background: #f6f3f8; color: #85818d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.primary-button, .secondary-button, .ghost-button, .danger-button, .text-button, .chip-button {
    border: 0; border-radius: 14px; min-height: 44px; padding: 11px 17px; font-weight: 800; transition: transform .18s, background .18s, box-shadow .18s;
}
.primary-button { background: var(--coral); color: white; box-shadow: 0 10px 25px rgba(255,102,90,.24); }
.primary-button:hover { background: var(--coral-dark); transform: translateY(-2px); }
.secondary-button { background: #eeebf2; color: var(--ink); }
.secondary-button:hover { background: #e3dfea; transform: translateY(-1px); }
.hero .secondary-button { color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.ghost-button { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.danger-button { background: #fff0ee; color: #bc3e36; }
.text-button { padding: 0; min-height: 32px; background: transparent; color: var(--coral); }
.full-width { width: 100%; margin-top: 9px; }
.readiness-card {
    border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.07); backdrop-filter: blur(10px);
    border-radius: 28px; padding: 27px; display: grid; justify-items: start; gap: 22px;
}
.progress-ring {
    --value: calc(var(--progress) * 3.6deg);
    width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--mint) var(--value), rgba(255,255,255,.12) 0);
    position: relative;
}
.progress-ring::before { content: ""; width: 88px; height: 88px; border-radius: 50%; background: #252339; position: absolute; }
.progress-ring span { position: relative; font-size: 25px; font-weight: 900; }
.readiness-card h2 { margin: 0 0 7px; font-size: 20px; }
.readiness-card p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }

.resume-section, .library-section, .shared-resources-section { margin-top: 68px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(29px, 4vw, 42px); letter-spacing: -.045em; line-height: 1.05; }
.count-badge { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; vertical-align: middle; border-radius: 10px; background: #e7e2ea; font-size: 15px; letter-spacing: 0; }
.resume-card {
    background: linear-gradient(130deg, #7069cf, #8d86e6); color: white; border-radius: var(--radius); padding: 25px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.resume-card::after { content: "♫"; position: absolute; font-size: 150px; opacity: .08; right: 12%; top: -42px; }
.resume-card-info { min-width: 0; position: relative; z-index: 1; }
.resume-card h3 { margin: 3px 0; font-size: 24px; }
.resume-card p { margin: 0; color: rgba(255,255,255,.7); }
.resume-card .primary-button { flex-shrink: 0; }
.library-heading { align-items: center; }
.view-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip-button { min-height: 38px; padding: 8px 13px; background: white; color: var(--muted); border: 1px solid var(--line); font-size: 13px; }
.chip-button.active, .chip-button[aria-pressed="true"] { background: var(--night); color: white; }
.segmented-control { display: flex; border: 1px solid var(--line); background: white; padding: 3px; border-radius: 12px; }
.segmented-control button { border: 0; width: 35px; height: 31px; border-radius: 9px; background: transparent; color: var(--muted); }
.segmented-control button.active { background: var(--night); color: white; }
.instrument-chips { display: flex; gap: 9px; overflow-x: auto; padding: 3px 2px 18px; scrollbar-width: none; }
.instrument-chips::-webkit-scrollbar { display: none; }
.instrument-chip { border: 1px solid var(--line); background: rgba(255,255,255,.72); color: var(--ink); border-radius: 999px; padding: 9px 15px; white-space: nowrap; font-weight: 750; }
.instrument-chip.active { background: var(--mint); border-color: transparent; }
.filters-panel { background: rgba(255,255,255,.68); border: 1px solid var(--line); padding: 18px; border-radius: 20px; margin-bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.filters-panel label span { display: block; color: var(--muted); font-size: 12px; font-weight: 750; margin-bottom: 6px; }
.filters-panel select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 0 12px; color: var(--ink); }
.partitions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.partitions-grid.list-view { grid-template-columns: 1fr; }
.partition-card {
    --instrument-color: var(--violet);
    position: relative; min-width: 0; background: var(--surface); border: 1px solid rgba(255,255,255,.78); border-radius: var(--radius);
    padding: 21px; box-shadow: 0 14px 35px rgba(37,29,48,.07); transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex; flex-direction: column; min-height: 265px; overflow: hidden;
}
.partition-card::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; right: -35px; top: -40px; background: var(--instrument-color); opacity: .16; }
.partition-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(37,29,48,.12); border-color: rgba(119,112,216,.25); }
.partition-card.selected { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,102,90,.16), var(--shadow); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.card-top-actions { display: flex; gap: 6px; }
.instrument-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; background: color-mix(in srgb, var(--instrument-color) 16%, white); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.instrument-badge::before { content: "♪"; color: var(--instrument-color); font-size: 15px; }
.favorite-button, .card-menu { width: 36px; height: 36px; border-radius: 12px; border: 0; background: rgba(255,255,255,.8); color: #aaa5b0; display: grid; place-items: center; font-size: 20px; }
.favorite-button.active { color: #f2a93b; background: #fff5d9; }
.partition-card h3 { margin: 20px 0 6px; font-size: 22px; line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.morceau-name { margin: 0; color: var(--muted); font-size: 14px; }
.partition-resource-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.partition-resource-button { border: 0; border-radius: 10px; padding: 7px 10px; background: #eeeafd; color: var(--violet); font-size: 12px; font-weight: 850; }
.partition-resource-button.audio { background: #dcf4e7; color: #237b58; }
.partition-resource-button.midi { background: #e3efff; color: #245da8; }
.partition-resource-button:hover { filter: brightness(.96); transform: translateY(-1px); }
.card-details { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.detail-pill { background: #f0edf2; color: #6e6975; padding: 5px 8px; border-radius: 8px; font-size: 11px; }
.card-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; }
.play-button { flex: 1; border: 0; border-radius: 13px; background: var(--night); color: white; min-height: 45px; font-weight: 850; }
.play-button:hover { background: var(--instrument-color); }
.offline-badge { color: var(--muted); font-size: 11px; white-space: nowrap; }
.offline-badge.ready { color: #23855b; font-weight: 750; }
.partition-checkbox { position: absolute; left: 18px; top: 18px; width: 23px; height: 23px; opacity: 0; pointer-events: none; z-index: 4; accent-color: var(--coral); }
.selection-mode .partition-checkbox { opacity: 1; pointer-events: auto; }
.selection-mode .partition-card .card-top { padding-left: 32px; }
.partitions-grid.list-view .partition-card { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 25px; }
.partitions-grid.list-view .card-top, .partitions-grid.list-view .card-content { grid-column: 1; }
.partitions-grid.list-view .card-bottom { grid-column: 2; grid-row: 1 / span 2; padding: 0; min-width: 190px; align-self: center; }
.empty-state { text-align: center; padding: 75px 20px; color: var(--muted); }
.empty-state > span { display: block; color: var(--violet); font-size: 40px; margin-bottom: 12px; }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 24px; }
.empty-state p { margin: 8px auto 20px; max-width: 440px; }
.shared-resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shared-piece-card { overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 22px; background: var(--surface); box-shadow: 0 10px 28px rgba(37,29,48,.06); }
.shared-piece-card > header { display: flex; align-items: center; gap: 13px; padding: 18px 18px 14px; background: linear-gradient(135deg, rgba(111,91,211,.12), rgba(255,128,112,.08)); }
.shared-piece-card > header small { display: block; margin-bottom: 2px; color: var(--coral-dark); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.shared-piece-card > header h3 { margin: 0; color: var(--ink); font-size: 19px; line-height: 1.2; }
.shared-piece-icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--night); color: white; font-size: 22px; }
.shared-piece-actions { display: grid; gap: 1px; padding: 4px 12px 12px; }
.shared-resource-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid rgba(37,29,48,.07); }
.shared-resource-item:last-child { border-bottom: 0; }
.shared-resource-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #eae7fb; color: var(--violet); font-size: 21px; }
.shared-resource-item.audio .shared-resource-icon { background: #dcf4e7; color: #23805a; }
.shared-resource-info { min-width: 0; }
.shared-resource-info strong, .shared-resource-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-resource-info small { color: var(--muted); }
.shared-resource-item button { border: 0; border-radius: 11px; padding: 9px 12px; background: var(--night); color: white; font-weight: 800; }
.shared-resource-viewer { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; background: rgba(21,20,38,.72); backdrop-filter: blur(7px); }
.shared-resource-card { width: min(680px, 100%); max-height: min(760px, calc(100dvh - 40px)); overflow: auto; padding: 26px; border-radius: 26px; background: #faf8f3; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.shared-resource-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.shared-resource-card h2 { margin: 0; font-size: 30px; }
.shared-resource-card audio { width: 100%; }
.shared-text-content { margin: 0; padding: 20px; border-radius: 16px; background: white; color: var(--ink); font: inherit; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.shared-resource-loading { padding: 35px; text-align: center; color: var(--muted); }
.loading-notes { animation: floatNotes 1.1s ease-in-out infinite alternate; letter-spacing: 8px; }
@keyframes floatNotes { to { transform: translateY(-7px); opacity: .55; } }

.selection-bar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: 22px; width: min(760px, calc(100% - 24px)); background: var(--night); color: white; border-radius: 20px; padding: 11px 13px; display: flex; align-items: center; gap: 14px; box-shadow: 0 25px 60px rgba(21,20,38,.34); }
.selection-bar .icon-button { background: rgba(255,255,255,.1); color: white; border: 0; }
.selection-actions { margin-left: auto; display: flex; gap: 6px; }
.selection-actions button { border: 0; border-radius: 10px; padding: 9px 12px; background: rgba(255,255,255,.1); color: white; font-weight: 750; }
.selection-actions .danger-action { background: rgba(255,102,90,.2); color: #ffb7b1; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(21,20,38,.4); backdrop-filter: blur(4px); z-index: 39; }
.settings-drawer { position: fixed; z-index: 40; right: 0; top: 0; height: 100dvh; width: min(430px, 100%); overflow-y: auto; background: #faf8f3; padding: 28px; transform: translateX(105%); transition: transform .3s ease; box-shadow: -30px 0 70px rgba(21,20,38,.16); }
.settings-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-header h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.profile-card { display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: 18px; background: var(--night); color: white; }
.profile-card > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--coral); font-weight: 900; font-size: 19px; }
.profile-card > span img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.profile-card > span b { font:inherit; }
.avatar-form { display:grid; gap:10px; }
.avatar-form input { width:100%; padding:10px; border:1px dashed var(--line); border-radius:12px; background:white; }
.profile-card strong, .profile-card small { display: block; }
.profile-card small { color: rgba(255,255,255,.6); margin-top: 2px; }
.settings-section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.settings-section h3 { margin: 0 0 11px; }
.settings-hint { margin: -3px 0 12px; color: var(--muted); font-size: 12px; }
.admin-settings-link { min-height: 48px; padding: 0 14px; border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--night); color: white; text-decoration: none; font-weight: 800; font-size: 13px; }
.admin-settings-link:hover { background: var(--violet); }
.settings-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chef-updates-list { display: grid; gap: 10px; }
.chef-updates-bulk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.chef-updates-bulk-actions button { min-height: 40px; padding: 8px 10px; font-size: 12px; }
.chef-update { border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: 13px; background: white; padding: 13px; }
.chef-update.urgent { border-left-color: var(--coral); }
.chef-update.sobre { border-left-color: var(--muted); }
.chef-update h4 { margin: 0 0 5px; font-size: 14px; }
.chef-update p { margin: 0 0 9px; white-space: pre-line; color: var(--muted); font-size: 12px; }
.chef-update-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.chef-update-actions { display: flex; gap: 6px; }
.chef-update button { border: 0; background: var(--mint); color: var(--ink); border-radius: 9px; padding: 7px 10px; font-weight: 800; font-size: 11px; }
.chef-update button.archive-button { background: #e8e4ed; color: var(--muted); }
.mini-status { font-size: 11px; font-weight: 800; background: #e8e4ed; padding: 5px 8px; border-radius: 7px; }
.mini-status.ready { color: #227b57; background: #dcf4e7; }
.mini-status.attention { color: #a14d20; background: #fff0d5; }
.sync-message { font-size: 13px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.sync-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.sync-stats div { background: white; padding: 11px; border-radius: 12px; }
.sync-stats div:last-child { grid-column: 1 / -1; }
.sync-stats dt { color: var(--muted); font-size: 10px; text-transform: uppercase; font-weight: 850; letter-spacing: .05em; }
.sync-stats dd { margin: 3px 0 0; font-weight: 850; }
.quiet-zone { border-bottom: 0; }

.rehearsal-modal { position: fixed; inset: 0; z-index: 60; background: #0d0c16; color: white; display: flex; flex-direction: column; }
.rehearsal-header { min-height: 74px; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); gap: 18px; }
.rehearsal-header small { color: #7fd9b2; font-weight: 900; letter-spacing: .14em; font-size: 9px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7fd9b2; margin-right: 7px; box-shadow: 0 0 0 4px rgba(127,217,178,.12); }
.rehearsal-header h2 { margin: 3px 0 0; font-size: 18px; max-width: 65vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rehearsal-actions { display: flex; gap: 7px; }
.rehearsal-button { width: 42px; height: 42px; border-radius: 13px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.07); color: white; font-size: 19px; }
.rehearsal-button.active { background: #2d7558; }
.show-pdf-controls { display: none; position: fixed; z-index: 8; right: 14px; top: 14px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(13,12,22,.72); color: white; font-size: 20px; backdrop-filter: blur(8px); }
.rehearsal-modal.controls-hidden .rehearsal-header,
.rehearsal-modal.controls-hidden .rehearsal-toolbar,
.rehearsal-modal.controls-hidden .practice-tools,
.rehearsal-modal.controls-hidden .page-hit { display: none; }
.rehearsal-modal.controls-hidden .show-pdf-controls { display: block; }
.rehearsal-modal.controls-hidden .pdf-stage { padding: 0; align-items: center; }
.pdf-stage { flex: 1; min-height: 0; position: relative; overflow: auto; padding: 22px 66px; display: flex; align-items: flex-start; justify-content: flex-start; background: radial-gradient(circle at center, #282636 0, #11101b 72%); overscroll-behavior: contain; }
.pdf-page-stack { position: relative; flex: 0 0 auto; margin: 0 auto; box-shadow: 0 20px 55px rgba(0,0,0,.45); transform-origin: center center; }
#pdf-canvas { display: block; max-width: none; height: auto; background: white; transform-origin: center center; touch-action: none; }
#annotation-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; touch-action: none; }
#annotation-canvas.drawing { pointer-events: auto; cursor: crosshair; }
.page-hit { position: fixed; z-index: 3; top: 50%; transform: translateY(-50%); width: 45px; height: 75px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(0,0,0,.28); color: white; font-size: 38px; }
.page-hit-left { left: 10px; }
.page-hit-right { right: 10px; }
.page-hit:disabled { opacity: .18; cursor: not-allowed; }
.pdf-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13,12,22,.84); font-weight: 800; }
.rehearsal-toolbar { min-height: 64px; padding: 10px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.rehearsal-toolbar button { border: 0; background: rgba(255,255,255,.08); color: white; width: 38px; height: 36px; border-radius: 10px; }
.zoom-controls { display: flex; gap: 6px; }
.practice-tools-toggle { display: none; }
.rehearsal-toolbar > span { font-weight: 800; font-size: 13px; }
.viewer-status { display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; font-size: 12px; }
.viewer-status span + span { color: var(--mint); padding-left: 9px; border-left: 1px solid rgba(255,255,255,.16); }
.rehearsal-toolbar > small { color: rgba(255,255,255,.4); text-align: right; }
.practice-tools { border-top: 1px solid rgba(255,255,255,.1); background: #191827; padding: 8px 14px 12px; }
.practice-tabs, .practice-panel { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.practice-tabs { margin-bottom: 8px; }
.practice-tools button, .practice-tools select, .audio-file-button { min-height: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.07); color: white; padding: 6px 10px; font-weight: 750; }
.practice-tools button.active { background: var(--violet); }
.practice-panel label { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.practice-panel input[type="range"] { width: 90px; }
.practice-panel input[type="color"] { width: 30px; height: 28px; border: 0; padding: 0; background: none; }
.record-button.recording { background: #b92f35; animation: recordPulse 1.2s infinite; }
.recordings-list { width:100%; display:grid; gap:7px; }
.recordings-empty { margin:0; color:rgba(255,255,255,.58); font-size:12px; }
.recording-item { display:grid; grid-template-columns:auto auto minmax(160px,1fr) auto auto; align-items:center; gap:7px; padding:7px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:rgba(255,255,255,.04); }
.recording-format { padding:3px 6px; border-radius:999px; background:rgba(255,255,255,.1); color:rgba(255,255,255,.7); font-size:10px; font-weight:800; }
.recording-item audio { width: 190px; height: 32px; }
@media (max-width: 700px) { .recording-item { grid-template-columns:auto auto 1fr auto; } .recording-item audio { grid-column:1 / -1; grid-row:2; width:100%; } }
.audio-file-button { cursor: pointer; }
.audio-file-button input { display: none; }
.audio-tools audio { width: min(330px, 100%); height: 34px; }
.audio-tools output, #record-time { min-width: 42px; font-variant-numeric: tabular-nums; font-weight: 800; }
@keyframes recordPulse { 50% { box-shadow: 0 0 0 5px rgba(229,57,53,.22); } }

.toast-region { position: fixed; z-index: 90; top: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 9px; width: min(390px, calc(100% - 28px)); pointer-events: none; }
.toast { background: var(--night); color: white; padding: 13px 16px; border-radius: 14px; box-shadow: 0 14px 35px rgba(21,20,38,.25); animation: toastIn .25s ease; font-weight: 700; font-size: 13px; }
.toast.success { border-left: 4px solid var(--mint); }
.toast.error { border-left: 4px solid var(--coral); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }
.confirm-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(21,20,38,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.confirm-card { width: min(420px, 100%); text-align: center; background: white; border-radius: 25px; padding: 30px; box-shadow: var(--shadow); }
.confirm-icon { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; margin: 0 auto 15px; background: #fff0ee; color: var(--coral); font-weight: 900; font-size: 22px; }
.confirm-card h2 { margin: 0; }
.confirm-card p { color: var(--muted); white-space: pre-line; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }

.personal-space {
    position: fixed; inset: 0; z-index: 50; overflow-y: auto; background:
        radial-gradient(circle at 85% 5%, rgba(169,234,208,.5), transparent 28%),
        radial-gradient(circle at 8% 80%, rgba(255,102,90,.18), transparent 24%), var(--paper);
    padding: 34px max(24px, calc((100vw - 1240px) / 2)) 80px;
}
.personal-space-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 34px; border-radius: 30px; background: var(--night); color: white; box-shadow: var(--shadow); }
.personal-space-header h1 { margin: 0; font-size: clamp(38px, 6vw, 65px); line-height: 1; letter-spacing: -.055em; }
.personal-space-header p:last-child { max-width: 650px; margin: 14px 0 0; color: rgba(255,255,255,.64); }
.personal-header-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.personal-header-actions .icon-button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.13); color: white; }
.personal-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, auto) auto; align-items: center; gap: 12px; margin: 28px 0 22px; }
.personal-search { min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: white; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(32,26,47,.05); }
.personal-search span { color: var(--violet); font-size: 24px; }
.personal-search input { width: 100%; border: 0; outline: 0; }
.personal-toolbar select { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; background: white; color: var(--ink); }
.personal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.personal-card { --personal-color: var(--violet); display: flex; flex-direction: column; min-height: 285px; overflow: hidden; position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.85); border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: 0 14px 38px rgba(32,26,47,.08); }
.personal-card::after { content: ""; position: absolute; width: 105px; height: 105px; right: -35px; top: -42px; border-radius: 50%; background: var(--personal-color); opacity: .15; }
.personal-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.personal-type { padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--personal-color) 14%, white); color: var(--ink); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.personal-card-actions { display: flex; gap: 6px; }
.personal-card-actions button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 11px; background: #f2eef4; color: var(--muted); font-size: 17px; }
.personal-card-actions button:last-child:hover { background: #fff0ee; color: #b33b34; }
.personal-card h3 { margin: 24px 0 5px; font-size: 23px; line-height: 1.1; overflow-wrap: anywhere; }
.personal-card-subtitle { margin: 0; color: var(--muted); }
.personal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.personal-tags span { padding: 5px 8px; border-radius: 8px; background: #efebf2; color: #696574; font-size: 11px; }
.personal-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 20px; }
.personal-card-bottom button { flex: 1; min-height: 43px; border: 0; border-radius: 12px; background: var(--night); color: white; font-weight: 850; }
.personal-card-bottom small { color: #31815e; font-weight: 750; }
.personal-empty { text-align: center; padding: 80px 22px; border: 1px dashed rgba(119,112,216,.28); border-radius: 26px; background: rgba(255,255,255,.48); }
.personal-empty > span { display: block; color: var(--violet); font-size: 50px; }
.personal-empty h2 { margin: 8px 0 0; font-size: 26px; }
.personal-empty p { max-width: 540px; margin: 9px auto 20px; color: var(--muted); }

.personal-editor-backdrop { position: fixed; inset: 0; z-index: 70; overflow-y: auto; display: grid; place-items: start center; padding: 24px; background: rgba(21,20,38,.68); backdrop-filter: blur(6px); }
.personal-editor-card { width: min(760px, 100%); margin: auto; padding: 28px; border-radius: 28px; background: #fcfaf6; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.personal-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.personal-editor-heading h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.source-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.source-option { min-height: 112px; padding: 18px; border: 2px dashed rgba(119,112,216,.28); border-radius: 18px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 12px; background: white; cursor: pointer; transition: border-color .18s, transform .18s; }
.source-option:hover { border-color: var(--violet); transform: translateY(-2px); }
.source-option > span { grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #ebe8fa; color: var(--violet); font-size: 24px; }
.source-option strong, .source-option small { display: block; }
.source-option small { color: var(--muted); }
.camera-option > span { background: #dcf5e9; color: #287d5a; }
.personal-file-preview { margin: 12px 0 20px; padding: 11px 13px; border-radius: 12px; background: #efecf2; color: var(--muted); font-size: 13px; }
.personal-file-preview.ready { background: #daf3e6; color: #257653; font-weight: 750; }
.personal-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.personal-form-grid label > span, .field-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 800; }
.personal-form-grid input, .personal-form-grid select, .personal-form-grid textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: white; color: var(--ink); resize: vertical; }
.personal-form-grid label > small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.wide-field { grid-column: 1 / -1; }
.tag-suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-suggestions button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; background: white; color: var(--muted); font-size: 12px; }
.tag-suggestions button.active { border-color: var(--violet); background: #ece9fb; color: #4e48a8; }
.personal-editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }

.personal-image-viewer { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; background: #0d0c16; color: white; }
.personal-image-viewer header { min-height: 70px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.personal-image-viewer h2 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.personal-image-viewer > div { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: start center; padding: 20px; background: radial-gradient(circle at center, #282636 0, #11101b 72%); }
.personal-image-viewer img { display: block; max-width: min(100%, 1100px); height: auto; background: white; box-shadow: 0 20px 55px rgba(0,0,0,.45); touch-action: pinch-zoom; }

/* Chat styles */
.chat-modal { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #fcfaf6; color: var(--ink); }
.chat-header { min-height: 70px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: white; }
.chat-header h2 { margin: 0; }
.chat-header-actions { display: flex; align-items: center; gap: 8px; }
.chat-status { color: var(--muted); font-size: 11px; }
.chat-status.error { color: var(--coral); }
.chat-unread { display: inline-grid; min-width: 22px; height: 22px; place-items: center; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: white; font-size: 11px; vertical-align: middle; }
.chat-character-count { align-self: center; min-width: 42px; color: var(--muted); font-size: 11px; text-align: right; }
.chat-character-count.limit { color: var(--coral); font-weight: 800; }
.chat-filters { display: flex; gap: 10px; padding: 12px 20px; background: white; border-bottom: 1px solid var(--line); }
.chat-filters select { flex: 1; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-message { background: white; border-radius: 12px; padding: 12px 16px; border: 1px solid var(--line); }
.chat-message-header { display: flex; justify-content: space-between; align-items: center; gap:10px; margin-bottom: 8px; }
.chat-message-author { display:flex; align-items:center; gap:9px; min-width:0; }
.chat-message-author strong { display:block; }
.chat-avatar { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; overflow:hidden; border-radius:50%; background:var(--night); color:var(--mint); font-weight:850; }
.chat-avatar img { width:100%; height:100%; object-fit:cover; }
.chat-message-header small { color: var(--muted); font-size: 11px; }
.chat-instrument-tag { display: inline-block; padding: 4px 8px; background: #ece9fb; color: #4e48a8; border-radius: 6px; font-size: 11px; margin-right: 6px; }
.chat-channel-tag { display: inline-block; padding: 4px 8px; background: #ffe8e6; color: #ff665a; border-radius: 6px; font-size: 11px; }
.chat-message-content { margin: 8px 0 0 0; white-space: pre-line; line-height: 1.5; }
.chat-form { display: flex; gap: 10px; padding: 16px 20px; background: white; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 46px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
.chat-form button { min-height: 46px; padding: 12px 20px; }

.play-button.midi { background: var(--violet); }
.midi-modal { position: fixed; inset: 0; z-index: 120; overflow: hidden; padding: 24px; background: rgba(21,20,38,.82); backdrop-filter: blur(8px); }
.midi-modal-card { width: min(1500px, 100%); height: calc(100dvh - 48px); margin: 0 auto; overflow: hidden; display:flex; flex-direction:column; border-radius: 28px; background: #eeece7; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.midi-modal-header { min-height: 104px; padding: 20px 25px; flex:0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: white; }
.midi-modal-header h2, .midi-modal-header p { margin: 0; }
.midi-modal-header h2 { font-size: clamp(25px,4vw,40px); }
.midi-modal-header .rehearsal-button { color: white; background: var(--night); }
.midi-modal .midi-player { flex:1 1 auto; min-height:0; overflow-y:auto; border-radius: 0; box-shadow: none; }

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .readiness-card { grid-template-columns: auto 1fr; align-items: center; }
    .partitions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filters-panel { grid-template-columns: 1fr 1fr; }
    .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shared-resources-grid { grid-template-columns: 1fr; }
    .chef-message-label, .message-counter { font-size: 0; }
    .message-counter strong { font-size: 10px; }
    .message-counter.new strong::after { content: " nouv."; font-size: 9px; font-weight: 700; }
    .message-counter.read strong::after { content: " lus"; font-size: 9px; font-weight: 700; }
}
@media (max-width: 680px) {
    .app-header, .app-shell { width: min(100% - 24px, 1240px); }
    .app-header { min-height: 76px; }
    .brand small, .status-label { display: none; }
    .personal-entry-button { width: 42px; padding: 0; justify-content: center; }
    .personal-entry-button span:last-child { display: none; }
    .chef-messages-indicator { width: 50px; min-height: 42px; padding: 4px; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; place-items: center; position: relative; }
    .chef-message-icon { grid-row: auto; width: 32px; height: 32px; }
    .chef-message-label, .chef-message-counters .message-counter.read { display: none; }
    .chef-message-counters { position: absolute; right: -5px; top: -6px; }
    .chef-message-counters .message-counter.new { min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--coral); color: white; box-shadow: 0 3px 8px rgba(255,102,90,.3); }
    .message-counter.new strong::after { content: ""; }
    .hero { border-radius: 28px; padding: 32px 21px; }
    .hero h1 { font-size: 47px; }
    .search-box { min-height: 56px; padding: 0 13px; }
    .search-box kbd { display: none; }
    .readiness-card { grid-template-columns: 1fr; }
    .progress-ring { width: 94px; height: 94px; }
    .progress-ring::before { width: 70px; height: 70px; }
    .progress-ring span { font-size: 20px; }
    .resume-section, .library-section, .shared-resources-section { margin-top: 48px; }
    .library-heading { align-items: flex-start; flex-direction: column; }
    .view-controls { width: 100%; justify-content: flex-start; }
    .partitions-grid { grid-template-columns: 1fr; }
    .filters-panel { grid-template-columns: 1fr; }
    .resume-card { align-items: flex-start; flex-direction: column; }
    .resume-card .primary-button { width: 100%; }
    .partitions-grid.list-view .partition-card { display: flex; }
    .partitions-grid.list-view .card-bottom { min-width: 0; }
    .selection-bar { align-items: flex-start; flex-wrap: wrap; }
    .selection-actions { order: 3; width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
    .selection-actions button { padding: 9px 5px; font-size: 12px; }
    .settings-drawer { padding: 22px; }
    .pdf-stage { padding: 12px 40px; }
    .page-hit { width: 35px; height: 62px; }
    .rehearsal-toolbar { min-height: 54px; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); grid-template-columns: auto 1fr auto; gap: 9px; }
    .rehearsal-toolbar > small { display: none; }
    .rehearsal-toolbar .practice-tools-toggle { display: inline-flex; width: auto; min-width: 72px; padding: 0 9px; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 800; }
    .rehearsal-modal.practice-tools-collapsed .practice-tools { display: none; }
    .practice-tools { max-height: 42dvh; overflow-y: auto; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
    .personal-space { padding: 12px 12px 60px; }
    .personal-space-header { padding: 24px 19px; border-radius: 25px; flex-direction: column; }
    .personal-space-header h1 { font-size: 42px; }
    .personal-header-actions { width: 100%; }
    .personal-header-actions .primary-button { flex: 1; }
    .personal-toolbar { grid-template-columns: 1fr auto; }
    .personal-toolbar .personal-search { grid-column: 1 / -1; }
    .personal-grid { grid-template-columns: 1fr; }
    .personal-editor-backdrop { padding: 0; align-items: stretch; }
    .personal-editor-card { min-height: 100dvh; border-radius: 0; padding: 22px 18px; }
    .source-picker, .personal-form-grid { grid-template-columns: 1fr; }
    .wide-field { grid-column: auto; }
    .personal-editor-actions { position: sticky; bottom: -22px; margin: 24px -18px -22px; padding: 13px 18px max(13px, env(safe-area-inset-bottom)); background: rgba(252,250,246,.94); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
    .personal-editor-actions button { flex: 1; }
    .personal-image-viewer > div { padding: 10px; }
    .shared-resource-viewer { padding: 0; align-items: end; }
    .shared-resource-card { max-height: 92dvh; border-radius: 26px 26px 0 0; padding: 22px 17px max(22px, env(safe-area-inset-bottom)); }
    .shared-resource-item { grid-template-columns: 44px minmax(0, 1fr); }
    .shared-resource-item button { grid-column: 1 / -1; }
    .midi-modal { padding: 0; }
    .midi-modal-card { height: 100dvh; border-radius: 0; }
    .midi-modal-header { padding: 15px; }
}

/* Un téléphone reste en interface compacte lorsqu'il passe en paysage. */
@media (max-height: 680px) and (pointer: coarse) {
    .rehearsal-toolbar { min-height: 54px; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); grid-template-columns: auto 1fr auto; gap: 9px; }
    .rehearsal-toolbar > small { display: none; }
    .rehearsal-toolbar .practice-tools-toggle { display: inline-flex; width: auto; min-width: 72px; padding: 0 9px; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 800; }
    .rehearsal-modal.practice-tools-collapsed .practice-tools { display: none; }
    .practice-tools { max-height: 42dvh; overflow-y: auto; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
