:root {
    --ink: #2d2730;
    --muted: #817985;
    --line: #eae3e7;
    --paper: #fffdfc;
    --rose: #ed6f8d;
    --rose-dark: #cf4f6e;
    --rose-soft: #fff0f3;
    --plum: #694f69;
    --shadow: 0 18px 50px rgba(76, 43, 63, .08);
}

* { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
html { min-height: 100%; background: #f7f3f4; }
body { min-height: 100vh; margin: 0; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: linear-gradient(120deg, #faf7f5, #f8f4f6); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
body.modal-open { overflow: hidden; }

/* Авторизация */
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 1.05fr) minmax(430px, .95fr); }
.auth-showcase { position: relative; overflow: hidden; padding: 54px 6vw; color: white; background: radial-gradient(circle at 72% 32%, rgba(255,190,208,.25), transparent 27%), linear-gradient(145deg, #785b76, #5b405b); display: flex; flex-direction: column; }
.auth-showcase::before, .auth-showcase::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.auth-showcase::before { width: 520px; height: 520px; right: -260px; top: -150px; }
.auth-showcase::after { width: 420px; height: 420px; left: -260px; bottom: -240px; }
.auth-brand, .auth-logo { display: flex; align-items: center; gap: 12px; font-size: 23px; letter-spacing: -.04em; }
.auth-brand > span, .auth-logo > span, .brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px 12px 17px 12px; color: white; font-weight: 760; background: linear-gradient(145deg, #f58ba2, #d94f72); box-shadow: 0 8px 20px rgba(223,72,108,.28); }
.showcase-copy { position: relative; z-index: 2; max-width: 590px; margin: auto 0; }
.eyebrow { display: block; color: #a295a0; font-size: 10px; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.6); }
.showcase-copy h1 { margin: 17px 0 22px; font-size: clamp(44px, 6vw, 75px); line-height: .98; letter-spacing: -.065em; font-weight: 650; }
.showcase-copy p { max-width: 540px; margin: 0; color: rgba(255,255,255,.67); font-size: 16px; line-height: 1.75; }
.showcase-orbit { position: absolute; right: 7vw; bottom: 12vh; width: 185px; height: 185px; border-radius: 50%; background: conic-gradient(#f58ca5 0 180deg, rgba(255,255,255,.12) 180deg); display: grid; place-items: center; }
.showcase-orbit::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #654965; }
.showcase-orbit > div { position: relative; z-index: 1; display: flex; flex-direction: column; text-align: center; }
.showcase-orbit strong { font-size: 41px; }.showcase-orbit small { color: rgba(255,255,255,.6); font-size: 10px; margin-top: 4px; }
.showcase-orbit i { position: absolute; z-index: 2; left: 12px; top: 47px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: #f58ca5; }
.privacy-pill { position: relative; z-index: 2; align-self: flex-start; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); font-size: 11px; backdrop-filter: blur(10px); }
.auth-panel { padding: 45px 7vw; background: rgba(255,253,252,.92); display: grid; place-items: center; }
.auth-form-wrap { width: min(420px, 100%); }
.auth-logo { margin-bottom: 70px; }
.auth-form-wrap h2, .installer-card h1 { margin: 8px 0 9px; font-size: 33px; letter-spacing: -.045em; }
.auth-form-wrap > p, .installer-card > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-tabs { margin: 25px 0 20px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; background: #f5eff2; }
.auth-tabs button, .modal-tabs button { padding: 11px; border: 0; border-radius: 11px; background: transparent; color: #8c838c; font-size: 11px; font-weight: 680; cursor: pointer; }
.auth-tabs button.active, .modal-tabs button.active { color: var(--ink); background: white; box-shadow: 0 4px 14px rgba(63,38,55,.08); }
.auth-form, .install-form { display: grid; gap: 14px; }
.auth-form label, .install-form label, .modal form label { display: grid; gap: 7px; color: #6f6772; font-size: 10px; font-weight: 670; }
.auth-form input, .install-form input, .install-form select, .modal input { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #e4dce1; border-radius: 12px; background: white; color: var(--ink); outline: none; }
.auth-form input:focus, .install-form input:focus, .install-form select:focus, .modal input:focus { border-color: #e2879d; box-shadow: 0 0 0 3px #fff0f3; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 84px; }
.password-field button { position: absolute; right: 7px; top: 7px; bottom: 7px; padding: 0 9px; border: 0; border-radius: 8px; color: var(--rose-dark); background: var(--rose-soft); font-size: 9px; cursor: pointer; }
.primary-button, .primary-link { border: 0; border-radius: 12px; padding: 13px 19px; color: white; background: linear-gradient(135deg, #f17c96, #db5174); box-shadow: 0 10px 24px rgba(221,78,111,.2); font-size: 11px; font-weight: 720; cursor: pointer; text-align: center; text-decoration: none; transition: .15s ease; }
.primary-button:hover, .primary-link:hover { transform: translateY(-1px); }
.primary-button:disabled { opacity: .62; cursor: wait; transform: none; }
.primary-button.wide { width: 100%; }
.auth-submit { margin-top: 5px; padding: 15px; }
.auth-note { margin: 19px 0 0 !important; color: #aaa1aa !important; font-size: 9px !important; text-align: center; }
.form-alert { margin: 0 0 15px; padding: 12px 14px; border-radius: 11px; font-size: 10px; line-height: 1.5; }
.form-alert.error { color: #a83f59; background: #fff0f3; border: 1px solid #f3ced7; }

/* Установщик */
.installer-page { padding: 45px 20px; }
.installer-shell { max-width: 650px; margin: 0 auto; }
.installer-card { padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.installer-card .auth-logo { margin-bottom: 42px; }
.install-form { margin-top: 25px; }
.form-grid.two, .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.install-result { width: 58px; height: 58px; display: grid; place-items: center; margin: 5px 0 20px; border-radius: 50%; background: #eaf8ee; color: #5b986e; font-size: 26px; }
.installer-card .primary-link { display: inline-block; margin: 16px 0; }
.installer-card > small { display: block; color: #968e97; font-size: 9px; }

/* Оболочка приложения */
.app-shell { min-height: 100vh; display: flex; }
.side-rail { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 252px; padding: 31px 22px 25px; border-right: 1px solid rgba(226,218,224,.85); background: rgba(255,253,251,.92); backdrop-filter: blur(18px); display: flex; flex-direction: column; }
.brand, .mobile-brand { padding: 0 9px; border: 0; background: none; display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 740; letter-spacing: -.04em; cursor: pointer; }
.brand-mark { width: 34px; height: 34px; font-size: 18px; }
.desktop-nav { display: grid; gap: 5px; margin-top: 48px; }
.nav-button { width: 100%; padding: 12px 13px; border: 0; border-radius: 13px; background: transparent; color: #756e78; display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 570; cursor: pointer; text-align: left; }
.nav-button:hover { color: var(--ink); background: #faf5f6; }
.nav-button.active { color: var(--rose-dark); background: var(--rose-soft); }
.nav-icon { width: 20px; text-align: center; font-size: 18px; }
.rail-card { margin-top: auto; padding: 20px; border-radius: 20px; color: white; background: linear-gradient(150deg, #775c75, #5b405b); box-shadow: 0 14px 30px rgba(67,44,65,.18); }
.rail-heart { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 21px; }
.rail-card strong { font-size: 14px; }
.rail-card p { margin: 7px 0 15px; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.55; }
.rail-card button { padding: 9px 13px; border: 0; border-radius: 9px; color: #5e445e; background: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.user-mini { margin-top: 22px; padding: 0 7px; display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar { width: 35px; height: 35px; flex: 0 0 auto; border: 0; border-radius: 50%; color: white; background: linear-gradient(145deg, #f6bfcb, #d86e88); display: grid; place-items: center; font-weight: 720; text-transform: uppercase; }
.user-mini > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.user-mini strong, .user-mini small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-mini strong { font-size: 12px; }.user-mini small { margin-top: 2px; color: #9c949d; font-size: 8px; }
.main-panel { width: calc(100% - 252px); min-height: 100vh; margin-left: 252px; }
.topbar { height: 78px; padding: 0 4.5vw; position: sticky; top: 0; z-index: 15; border-bottom: 1px solid rgba(226,218,224,.75); background: rgba(251,249,248,.78); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-between; }
.date-heading { display: flex; flex-direction: column; }.date-heading span { color: #9a929d; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }.date-heading strong { margin-top: 3px; font-size: 13px; }
.top-actions { position: relative; display: flex; gap: 9px; align-items: center; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.82); color: #706a74; cursor: pointer; }
.avatar.small { width: 32px; height: 32px; cursor: pointer; }
.profile-menu { position: absolute; right: 0; top: 43px; width: 220px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 18px 45px rgba(48,27,42,.15); }
.profile-menu strong, .profile-menu small { display: block; overflow: hidden; text-overflow: ellipsis; }.profile-menu strong { font-size: 12px; }.profile-menu small { margin-top: 3px; color: #918991; font-size: 9px; }
.profile-menu form { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }.profile-menu button { padding: 0; border: 0; color: #c24865; background: none; font-size: 10px; cursor: pointer; }
.mobile-brand, .mobile-nav { display: none; }
.app-view { display: none; }.app-view.active { display: block; }
.content-grid { max-width: 1170px; margin: 0 auto; padding: 42px 4.5vw 60px; display: grid; grid-template-columns: minmax(0,1.75fr) minmax(250px,.78fr); gap: 32px; }
.primary-column { min-width: 0; }
.welcome-row { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; }
.welcome-row h1, .page-intro h1 { margin: 6px 0 0; font-size: clamp(24px,3vw,34px); font-weight: 650; letter-spacing: -.045em; }
.private-note { padding-bottom: 6px; color: #aaa2ab; font-size: 9px; }

/* Главная */
.cycle-card { min-height: 278px; padding: 32px 38px; border-radius: 28px; overflow: hidden; color: white; background: radial-gradient(circle at 82% 30%,rgba(255,209,220,.22),transparent 32%),linear-gradient(130deg,#7f607c,#6b4d6a 52%,#5a405b); box-shadow: 0 25px 55px rgba(70,44,68,.2); display: flex; align-items: center; justify-content: space-between; }
.cycle-status { color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }.cycle-status i { width: 6px; height: 6px; margin-right: 8px; display: inline-block; border-radius: 50%; background: #f69aaf; box-shadow: 0 0 0 5px rgba(246,154,175,.12); }
.cycle-copy h2 { margin: 20px 0 5px; display: flex; flex-direction: column; }.cycle-copy h2 strong { font-size: 67px; line-height: .95; font-weight: 620; letter-spacing: -.06em; }.cycle-copy h2 span { margin-top: 6px; color: rgba(255,255,255,.82); font-size: 14px; }
.cycle-copy > p { margin: 13px 0 18px; color: rgba(255,255,255,.65); font-size: 11px; }.cycle-meta { display: flex; gap: 30px; }.cycle-meta > span { display: flex; flex-direction: column; gap: 3px; }.cycle-meta small { color: rgba(255,255,255,.48); font-size: 8px; }.cycle-meta b { font-size: 11px; }
.cycle-edit { margin-top: 16px; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.75); background: none; font-size: 9px; cursor: pointer; }
.cycle-orbit { width: 185px; height: 185px; position: relative; border-radius: 50%; background: conic-gradient(from 175deg,#f58ca5 0 178deg,rgba(255,255,255,.12) 178deg); display: grid; place-items: center; }.cycle-orbit::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #654965; }.cycle-orbit > div { position: relative; display: flex; flex-direction: column; align-items: center; }.cycle-orbit strong { font-size: 37px; }.cycle-orbit small { color: rgba(255,255,255,.55); font-size: 9px; }.orbit-dot { width: 12px; height: 12px; position: absolute; left: 12px; top: 48px; z-index: 2; border: 3px solid white; border-radius: 50%; background: #f58ca5; box-sizing: content-box; }
.week-strip { margin: 22px 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 8px 30px rgba(73,44,63,.035); display: grid; grid-template-columns: repeat(7,1fr); }.week-strip button { padding: 9px 4px 12px; position: relative; border: 0; border-radius: 13px; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 5px; }.week-strip span { color: #aaa1aa; font-size: 8px; }.week-strip strong { font-size: 12px; }.week-strip button.selected { color: var(--rose-dark); background: var(--rose-soft); }.week-strip i { position: absolute; bottom: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--rose); }
.checkin-card, .calendar-card, .chart-card { border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); }.checkin-card { padding: 27px 30px; }.section-title { padding-bottom: 21px; border-bottom: 1px solid #f0ebee; display: flex; align-items: flex-start; justify-content: space-between; }.section-title h2, .chart-card h2 { margin: 5px 0 0; font-size: 19px; }.completion { padding: 7px 9px; border-radius: 10px; color: var(--rose-dark); background: var(--rose-soft); font-size: 9px; font-weight: 700; }
.checkin-group { padding: 21px 0 2px; }.checkin-group h3 { margin: 0 0 12px; font-size: 11px; }.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }.chip { padding: 9px 12px; border: 1px solid #e8e2e6; border-radius: 12px; background: white; color: #7a727c; font-size: 10px; cursor: pointer; }.chip.selected { color: #c54e6a; border-color: #f1a4b5; background: #fff4f6; }.chip span { margin-left: 6px; font-weight: 800; }
.note-label { margin-top: 20px; display: grid; gap: 8px; color: #6f6872; font-size: 10px; font-weight: 650; }.note-label textarea { min-height: 78px; padding: 12px; resize: vertical; border: 1px solid #e7e0e4; border-radius: 12px; outline: none; }.note-label textarea:focus { border-color: #e58ca1; }
.checkin-footer { margin-top: 23px; padding-top: 20px; border-top: 1px solid #f0ebee; display: flex; align-items: center; justify-content: space-between; gap: 15px; }.checkin-footer p { margin: 0; color: #9e969f; font-size: 9px; }
.right-column { padding-top: 68px; display: flex; flex-direction: column; gap: 17px; }.insight-card, .partner-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: 0 14px 40px rgba(74,45,62,.06); }.insight-icon { width: 35px; height: 35px; margin-bottom: 20px; border-radius: 12px; color: #856484; background: #f2eaf4; display: grid; place-items: center; }.insight-card h3, .partner-card h3 { margin: 8px 0 9px; font-size: 16px; }.insight-card p, .partner-card p { margin: 0; color: #8b838d; font-size: 10px; line-height: 1.7; }.insight-card button { padding: 16px 0 0; border: 0; color: var(--rose-dark); background: none; font-size: 10px; font-weight: 700; cursor: pointer; }
.partner-card { text-align: center; background: linear-gradient(150deg,#fff8f9,#fffdfc); }.partner-visual { height: 69px; display: flex; align-items: center; justify-content: center; }.partner-visual span { width: 43px; height: 43px; border: 4px solid white; border-radius: 50%; color: white; background: linear-gradient(145deg,#ef99aa,#cf647f); display: grid; place-items: center; font-weight: 700; }.partner-visual .muted-avatar { margin-left: -7px; color: #a5879c; background: #eee4ed; }.partner-visual i { width: 24px; height: 24px; margin-right: -7px; z-index: 2; border-radius: 50%; color: var(--rose); background: white; box-shadow: 0 3px 8px rgba(80,50,70,.12); display: grid; place-items: center; font-style: normal; }.partner-card button { width: 100%; margin-top: 18px; padding: 10px; border: 1px solid #ecc6cf; border-radius: 11px; color: #ce5a75; background: white; font-size: 10px; font-weight: 700; cursor: pointer; }.health-note { margin: 4px 7px; color: #a099a2; font-size: 8px; line-height: 1.55; }

/* Внутренние экраны */
.single-view { max-width: 1050px; margin: 0 auto; padding: 55px 5vw 100px; }.page-intro { margin-bottom: 30px; }.page-intro p { color: var(--muted); font-size: 13px; }
.calendar-card { max-width: 780px; padding: 30px; }.calendar-head { margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; }.calendar-head h2 { margin: 0; font-size: 18px; text-transform: capitalize; }.calendar-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; }.weekdays span { padding: 7px 0; color: #aaa1aa; font-size: 9px; text-align: center; }.days button { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; font-size: 12px; }.days button.period { color: #c94f6e; background: #ffedf1; }.days button.fertile { color: #725477; background: #eee5f0; }.days button.today { color: white; background: var(--rose); box-shadow: 0 5px 12px rgba(225,82,114,.22); }.calendar-legend { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); color: #8c858f; display: flex; gap: 18px; font-size: 9px; }.calendar-legend span { display: flex; align-items: center; gap: 7px; }.calendar-legend i { width: 8px; height: 8px; border-radius: 50%; }.period-dot { background: #f5a7b7; }.fertile-dot { background: #b7a1bd; }.today-dot { background: var(--rose); }
.stats-grid, .share-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.stats-grid article, .share-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); }.stats-grid article > span { color: #99919a; font-size: 10px; }.stats-grid strong { display: block; margin: 13px 0 8px; font-size: 27px; }.stats-grid strong small { color: #9c949d; font-size: 11px; }.stats-grid p, .share-grid p { margin: 0; color: #8d858e; font-size: 9px; line-height: 1.6; }.chart-card { margin-top: 18px; padding: 27px; }.bars { height: 190px; margin-top: 30px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; gap: 12px; }.bars i { flex: 1; min-width: 6px; border-radius: 7px 7px 2px 2px; background: linear-gradient(#ef829b,#f8c6d1); }
.partner-view { padding-top: 80px; }.partner-hero { max-width: 650px; margin: 0 auto 45px; text-align: center; }.partner-hero h1 { margin: 13px 0 18px; font-size: clamp(34px,5vw,55px); line-height: 1.05; letter-spacing: -.055em; }.partner-hero p { color: #837a85; font-size: 14px; line-height: 1.65; }.partner-hero .primary-button { margin-top: 14px; }.share-grid > article > span { color: var(--rose); font-size: 22px; }.share-grid h3 { margin: 17px 0 8px; font-size: 14px; }
.partner-dashboard { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }.partner-summary, .sharing-panel { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); }.partner-profile-row { padding-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }.partner-avatar { width: 46px; height: 46px; }.partner-profile-row h2 { margin: 3px 0 0; font-size: 18px; }.sync-badge { margin-left: auto; padding: 8px 10px; border-radius: 10px; color: #6d8e79; background: #edf8f1; display: flex; align-items: center; gap: 7px; font-size: 9px; }.sync-badge i { width: 6px; height: 6px; border-radius: 50%; background: #61a477; }.partner-data-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.partner-data-grid article { padding: 19px; border-radius: 17px; background: #faf6f8; }.partner-data-grid small, .partner-data-grid span { display: block; color: #948b95; font-size: 9px; }.partner-data-grid strong { display: block; margin: 10px 0 5px; font-size: 19px; }
.sharing-panel h2 { margin: 5px 0 17px; font-size: 18px; }.share-toggle { position: relative; padding: 15px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }.share-toggle > span { display: flex; flex-direction: column; }.share-toggle b { font-size: 11px; }.share-toggle small { margin-top: 4px; color: #99909a; font-size: 8px; }.share-toggle input { position: absolute; opacity: 0; }.share-toggle > i { width: 36px; height: 21px; padding: 3px; flex: 0 0 auto; border-radius: 20px; background: #ddd6dc; transition: .2s; }.share-toggle > i::after { content: ""; width: 15px; height: 15px; display: block; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(40,20,35,.18); transition: .2s; }.share-toggle input:checked + i { background: var(--rose); }.share-toggle input:checked + i::after { transform: translateX(15px); }.sharing-panel > p { color: #9d949e; font-size: 8px; }.danger-link { margin-top: 17px; padding: 0; border: 0; color: #c34b66; background: none; font-size: 9px; cursor: pointer; }

/* Модальные окна */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 20px; background: rgba(46,33,44,.4); backdrop-filter: blur(6px); display: grid; place-items: center; }.modal { width: min(430px,100%); position: relative; padding: 35px; border-radius: 26px; background: #fffdfc; box-shadow: 0 30px 80px rgba(42,25,37,.25); }.modal-close { position: absolute; right: 16px; top: 14px; border: 0; color: #968d96; background: none; font-size: 25px; cursor: pointer; }.modal-icon { width: 48px; height: 48px; margin-bottom: 15px; border-radius: 50%; color: #d55574; background: var(--rose-soft); display: grid; place-items: center; font-size: 22px; }.modal h2 { margin: 0; font-size: 22px; }.modal > p { color: #817983; font-size: 11px; line-height: 1.6; }.modal form { display: grid; gap: 14px; margin-top: 19px; }.modal-tabs { margin: 20px 0; padding: 4px; border-radius: 12px; background: #f6f1f3; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }.invite-code { margin: 6px 0 12px; padding: 18px; border: 1px dashed #e8a8b7; border-radius: 15px; color: #bd4965; background: #fff5f7; font-size: 25px; font-weight: 760; letter-spacing: .1em; text-align: center; }.code-input { text-transform: uppercase; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 80; max-width: 330px; padding: 13px 17px; border-radius: 13px; color: white; background: #5e795f; box-shadow: 0 15px 40px rgba(30,20,28,.22); font-size: 10px; }.toast.error { background: #b84c66; }

@media (max-width: 1020px) {
    .auth-layout { grid-template-columns: .8fr 1fr; }.showcase-orbit { right: 3vw; opacity: .65; }
    .side-rail { width: 205px; padding-inline: 14px; }.main-panel { width: calc(100% - 205px); margin-left: 205px; }
    .content-grid { grid-template-columns: 1fr; }.right-column { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; }.health-note { grid-column: 1/-1; }
}

@media (max-width: 760px) {
    .auth-layout { display: block; }.auth-showcase { min-height: 300px; padding: 30px 25px; }.showcase-copy { margin: 70px 0 40px; }.showcase-copy h1 { font-size: 42px; }.showcase-copy p { font-size: 13px; }.showcase-orbit { width: 120px; height: 120px; right: 20px; bottom: 25px; }.showcase-orbit strong { font-size: 27px; }.privacy-pill { display: none; }.auth-panel { padding: 38px 20px 55px; }.auth-logo { margin-bottom: 42px; }
    .side-rail { display: none; }.main-panel { width: 100%; margin-left: 0; padding-bottom: 74px; }.topbar { height: 67px; padding: 0 17px; }.mobile-brand { padding: 0; display: flex; font-size: 19px; }.mobile-brand .brand-mark { width: 30px; height: 30px; font-size: 15px; }.date-heading { display: none; }
    .content-grid { padding: 27px 15px 40px; gap: 20px; }.welcome-row h1 { font-size: 25px; }.private-note { padding-top: 8px; }.cycle-card { min-height: 250px; padding: 28px 25px; }.cycle-copy h2 strong { font-size: 56px; }.cycle-orbit { width: 132px; height: 132px; margin-right: -6px; }.cycle-orbit strong { font-size: 29px; }.orbit-dot { left: 7px; top: 32px; }.cycle-meta { gap: 16px; }
    .week-strip { padding: 7px; border-radius: 17px; }.checkin-card { padding: 23px 20px; }.checkin-footer { align-items: stretch; flex-direction: column; }.checkin-footer .primary-button { width: 100%; }.right-column { grid-template-columns: 1fr; }.health-note { grid-column: auto; }
    .mobile-nav { position: fixed; inset: auto 0 0; z-index: 30; height: 70px; padding: 7px 12px max(7px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,252,.94); backdrop-filter: blur(18px); display: grid; grid-template-columns: repeat(4,1fr); }.mobile-nav .nav-button { justify-content: center; flex-direction: column; gap: 3px; padding: 3px; font-size: 18px; }.mobile-nav .nav-button small { font-size: 8px; }
    .single-view { padding: 34px 16px 100px; }.calendar-card { padding: 19px 14px; }.stats-grid, .share-grid, .partner-dashboard, .partner-data-grid { grid-template-columns: 1fr; }.bars { height: 150px; gap: 6px; }.partner-view { padding-top: 52px; }.partner-profile-row { align-items: flex-start; flex-wrap: wrap; }.sync-badge { margin-left: 0; }.modal { padding: 32px 22px 25px; }
}

@media (max-width: 430px) {
    .showcase-copy h1 { font-size: 36px; }.auth-form-wrap h2 { font-size: 29px; }.installer-card { padding: 27px 20px; }.form-grid.two, .field-pair { grid-template-columns: 1fr; }
    .cycle-card { position: relative; min-height: 278px; align-items: flex-start; }.cycle-orbit { position: absolute; right: 18px; top: 34px; width: 118px; height: 118px; opacity: .92; }.cycle-meta { position: absolute; left: 25px; bottom: 40px; }.cycle-edit { position: absolute; left: 25px; bottom: 17px; }.week-strip button:first-child, .week-strip button:last-child { display: none; }.week-strip { grid-template-columns: repeat(5,1fr); }
    .calendar-grid { gap: 4px; }.toast { right: 13px; left: 13px; bottom: 84px; max-width: none; }
}

/* Административная панель */
.admin-page { background: #f7f3f5; }.admin-shell { min-height: 100vh; }.admin-header { min-height: 72px; padding: 14px 5vw; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: space-between; gap: 20px; }.admin-header .brand { text-decoration: none; }.admin-header > div { display: flex; align-items: center; gap: 13px; font-size: 9px; }.admin-header > div > span { color: #9a919a; }.admin-header > div > a { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: #735e6f; text-decoration: none; }.admin-content { max-width: 1280px; margin: 0 auto; padding: 46px 5vw 80px; }.admin-stats { display: grid; grid-template-columns: repeat(6,1fr); gap: 11px; }.admin-stats article { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }.admin-stats span { color: #99909a; font-size: 8px; }.admin-stats strong { display: block; margin-top: 10px; font-size: 25px; }.admin-section { margin-top: 20px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }.admin-section-head { margin-bottom: 21px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }.admin-section-head h2 { margin: 5px 0 0; }.admin-grid { display: grid; grid-template-columns: minmax(320px,.75fr) minmax(0,1.25fr); gap: 20px; }.admin-editor { padding: 20px; border-radius: 18px; background: #faf7f9; display: grid; gap: 12px; }.admin-editor label { color: #756c76; display: grid; gap: 6px; font-size: 8px; font-weight: 650; }.admin-editor input,.admin-editor select,.admin-editor textarea { width: 100%; padding: 10px; border: 1px solid #e5dce1; border-radius: 10px; background: white; outline: none; }.admin-editor textarea { min-height: 70px; resize: vertical; }.admin-editor .large-textarea { min-height: 190px; }.admin-list { max-height: 700px; overflow-y: auto; }.admin-list article { padding: 14px 3px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }.admin-list article > div:first-child { min-width: 0; }.admin-list strong,.admin-list small { display: block; }.admin-list strong { margin: 7px 0 4px; font-size: 11px; }.admin-list small { overflow: hidden; color: #988f99; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.admin-list button { padding: 7px 8px; border: 1px solid #e8dfe4; border-radius: 8px; background: white; font-size: 8px; cursor: pointer; }.admin-list .danger-link { margin: 0 0 0 5px; color: #bf4d67; }.status-badge { padding: 5px 7px; border-radius: 8px; font-size: 7px; }.status-badge.published { color: #5a8468; background: #eaf6ed; }.status-badge.draft { color: #927047; background: #fff4e7; }.admin-table-wrap { overflow-x: auto; }.admin-table { width: 100%; border-collapse: collapse; font-size: 9px; }.admin-table th { padding: 10px; color: #9c939d; border-bottom: 1px solid var(--line); text-align: left; }.admin-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); }.admin-table td strong,.admin-table td small { display: block; }.admin-table td small { margin-top: 3px; color: #9b929c; }.admin-role-toggle { display: flex; align-items: center; gap: 7px; cursor: pointer; }.admin-role-toggle input { accent-color: var(--rose); }.admin-log { max-height: 340px; overflow-y: auto; }.admin-log article { padding: 12px 0; border-top: 1px solid var(--line); }.admin-log span { color: #a097a1; font-size: 8px; }.admin-log strong { display: block; margin: 5px 0; font-size: 10px; }.admin-log p { margin: 0; color: #887f89; font-size: 8px; }

@media (max-width: 1020px) { .admin-stats { grid-template-columns: repeat(3,1fr); }.admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .admin-header > div > span,.admin-header > div > strong { display: none; }.admin-content { padding: 30px 15px 60px; }.admin-stats { grid-template-columns: repeat(2,1fr); }.admin-section { padding: 20px 15px; }.admin-list article { align-items: flex-start; flex-direction: column; } }

/* Luna v3 */
.desktop-nav { margin-top: 28px; gap: 2px; }.desktop-nav .nav-button { padding-block: 9px; }.rail-card { padding: 16px; }.rail-card p { margin-bottom: 10px; }
.notification-button { width: 36px; height: 36px; position: relative; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }.notification-button b { min-width: 16px; height: 16px; padding: 0 4px; position: absolute; right: -4px; top: -4px; border: 2px solid white; border-radius: 10px; color: white; background: var(--rose); display: grid; place-items: center; font-size: 7px; }.profile-admin-link { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: #755f72; display: block; font-size: 10px; text-decoration: none; }
.forecast-strip { margin-top: 18px; padding: 16px 20px; border: 1px solid #e8dfe4; border-radius: 18px; background: rgba(255,255,255,.86); display: flex; align-items: center; justify-content: space-between; gap: 20px; }.forecast-strip > div { display: flex; align-items: center; gap: 12px; }.forecast-score { width: 45px; height: 45px; flex: 0 0 auto; border-radius: 50%; color: white; background: linear-gradient(145deg,#ef839c,#c75270); display: grid; place-items: center; font-size: 11px; font-weight: 800; }.forecast-strip strong,.forecast-strip small { display: block; }.forecast-strip strong { font-size: 11px; }.forecast-strip small { margin-top: 4px; color: #938a94; font-size: 8px; }.forecast-strip p { margin: 0; color: #9b929c; font-size: 8px; text-align: right; }
.pregnancy-dashboard { margin: 18px 0 0; padding: 26px; border-radius: 25px; color: white; background: radial-gradient(circle at 85% 20%,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,#ad7290,#785778); box-shadow: 0 18px 42px rgba(105,70,102,.17); display: flex; align-items: center; gap: 22px; }.pregnancy-week { width: 100px; height: 100px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-direction: column; }.pregnancy-week span { font-size: 35px; font-weight: 700; }.pregnancy-week small { color: rgba(255,255,255,.7); font-size: 8px; }.pregnancy-copy { flex: 1; }.pregnancy-copy .eyebrow { color: rgba(255,255,255,.6); }.pregnancy-copy h2 { margin: 6px 0 8px; font-size: 18px; }.pregnancy-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.6; }.pregnancy-meta { margin-top: 12px; display: flex; gap: 18px; color: rgba(255,255,255,.65); font-size: 8px; }.pregnancy-meta b { color: white; }.pregnancy-dashboard > button { padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: white; background: rgba(255,255,255,.12); font-size: 9px; cursor: pointer; }
.extended-diary { margin-top: 22px; border: 1px solid #ece3e8; border-radius: 16px; background: #fcfafb; }.extended-diary summary { padding: 15px 17px; cursor: pointer; list-style: none; }.extended-diary summary::-webkit-details-marker { display: none; }.extended-diary summary span,.extended-diary summary small { display: block; }.extended-diary summary span { font-size: 11px; font-weight: 700; }.extended-diary summary small { margin-top: 4px; color: #9a919b; font-size: 8px; }.health-fields-grid { padding: 4px 17px 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.health-fields-grid label { color: #746b75; display: grid; gap: 6px; font-size: 8px; font-weight: 650; }.health-fields-grid input,.health-fields-grid select { width: 100%; min-width: 0; padding: 10px; border: 1px solid #e4dbe0; border-radius: 10px; background: white; outline: none; }.health-fields-grid .health-check { min-height: 38px; padding: 10px; border: 1px solid #e4dbe0; border-radius: 10px; background: white; display: flex; align-items: center; gap: 8px; }.health-check input { width: 15px; height: 15px; accent-color: var(--rose); }
.materials-view { max-width: 1080px; }.material-search { width: min(300px,100%); padding: 12px 14px; border: 1px solid #e7dde3; border-radius: 12px; outline: none; background: white; }.materials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }.material-card { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }.material-card.personal { border-color: #efb7c4; background: linear-gradient(145deg,#fff6f8,#fffdfc); }.material-category,.personal-badge { display: inline-block; padding: 6px 8px; border-radius: 9px; color: #856f80; background: #f5eef2; font-size: 8px; }.personal-badge { margin-left: 5px; color: #b24964; background: #ffebf0; }.material-card h2 { margin: 17px 0 9px; font-size: 18px; }.material-card > p { min-height: 45px; margin: 0; color: #8c838d; font-size: 9px; line-height: 1.65; }.material-card details { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }.material-card summary { color: var(--rose-dark); font-size: 9px; font-weight: 700; cursor: pointer; }.article-body { margin-top: 13px; color: #6f6871; font-size: 10px; line-height: 1.75; }.materials-disclaimer { margin: 18px 4px 0; color: #a198a2; font-size: 8px; }
.reminder-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }.reminder-settings,.notification-center { padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }.reminder-settings h2,.notification-head h2 { margin: 5px 0 17px; font-size: 18px; }.reminder-field { padding: 10px 0; color: #756c76; display: grid; gap: 6px; font-size: 8px; font-weight: 650; }.reminder-field input { width: 100%; padding: 10px; border: 1px solid #e4dbe0; border-radius: 10px; outline: none; }.reminder-settings .primary-button { margin-top: 15px; }.notification-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }.notification-head button { padding: 8px 10px; border: 1px solid #e7dbe1; border-radius: 9px; color: #8b657e; background: white; font-size: 8px; cursor: pointer; }.notification-item { padding: 16px 4px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; }.notification-item.unread { background: linear-gradient(90deg,#fff5f7,transparent); }.notification-type { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; color: var(--rose-dark); background: var(--rose-soft); display: grid; place-items: center; }.notification-item > div { flex: 1; }.notification-item strong { font-size: 11px; }.notification-item p { margin: 5px 0; color: #867d87; font-size: 9px; line-height: 1.5; }.notification-item small { color: #aaa1aa; font-size: 7px; }.notification-item > button { width: 25px; height: 25px; border: 0; border-radius: 50%; color: #64866f; background: #eaf6ee; cursor: pointer; }
.partner-daily-tip { margin: 18px 0; padding: 21px 24px; border-radius: 20px; color: white; background: linear-gradient(135deg,#795b78,#5d445e); }.partner-daily-tip span,.partner-daily-tip strong,.partner-daily-tip small { display: block; }.partner-daily-tip span { color: rgba(255,255,255,.6); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.partner-daily-tip strong { margin: 10px 0 7px; font-size: 13px; line-height: 1.55; }.partner-daily-tip small { color: rgba(255,255,255,.5); font-size: 8px; }.partner-events-panel { margin-top: 18px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }.partner-events-panel form { margin: 18px 0; display: grid; grid-template-columns: 1.2fr .7fr .7fr auto; gap: 9px; }.partner-events-panel form input,.partner-events-panel form select { min-width: 0; padding: 10px; border: 1px solid #e5dce1; border-radius: 10px; background: white; }.partner-event-list article { padding: 13px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 11px; }.partner-event-list article > span { width: 31px; height: 31px; border-radius: 10px; color: var(--rose-dark); background: var(--rose-soft); display: grid; place-items: center; }.partner-event-list article > div { flex: 1; }.partner-event-list strong,.partner-event-list small { display: block; }.partner-event-list strong { font-size: 10px; }.partner-event-list small { margin-top: 3px; color: #99909a; font-size: 8px; }.partner-event-list button { border: 0; color: #bd4e68; background: none; font-size: 18px; cursor: pointer; }.empty-inline { color: #9a919a; font-size: 9px; }

@media (max-width: 1020px) {
    .side-rail { overflow-y: auto; }.desktop-nav { margin-bottom: 15px; }
    .health-fields-grid { grid-template-columns: repeat(2,1fr); }.reminder-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .mobile-nav { grid-template-columns: repeat(8,minmax(64px,1fr)); }
    .forecast-strip,.pregnancy-dashboard { align-items: stretch; flex-direction: column; }.forecast-strip p { text-align: left; }.pregnancy-week { width: 84px; height: 84px; }.pregnancy-dashboard > button { width: 100%; }
    .materials-grid { grid-template-columns: 1fr; }.material-search { width: 100%; }.health-fields-grid { grid-template-columns: 1fr 1fr; }
    .partner-events-panel form { grid-template-columns: 1fr 1fr; }.partner-events-panel form input:first-child { grid-column: 1/-1; }.partner-events-panel form .primary-button { width: 100%; }
}

@media (max-width: 430px) {
    .health-fields-grid,.partner-events-panel form { grid-template-columns: 1fr; }.partner-events-panel form input:first-child { grid-column: auto; }.pregnancy-meta { flex-direction: column; gap: 5px; }
}

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

/* Luna v2: история, режимы, партнёр и конфиденциальность */
.consent-check, .confirm-check { display: flex !important; align-items: flex-start; gap: 10px; color: #817985; font-size: 9px; line-height: 1.55; font-weight: 500; }
.consent-check input, .confirm-check input { width: 17px !important; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--rose); }
.mode-pill { padding: 8px 12px; border: 1px solid #eadde3; border-radius: 20px; color: #a14d65; background: #fff5f7; font-size: 9px; font-weight: 700; cursor: pointer; }
.profile-menu > button { margin-top: 13px; padding: 11px 0 0; width: 100%; border-top: 1px solid var(--line); color: #755f72; text-align: left; }
.mode-summary-card { margin: 20px 0 0; padding: 21px 24px; border: 1px solid #eadfe5; border-radius: 20px; background: linear-gradient(135deg,#fffdfc,#fff4f7); display: flex; align-items: center; justify-content: space-between; gap: 22px; box-shadow: 0 10px 30px rgba(76,43,63,.045); }
.mode-summary-card h2 { margin: 5px 0 4px; font-size: 20px; }.mode-summary-card p { margin: 0; color: #8c818c; font-size: 10px; line-height: 1.55; }.mode-summary-card button { flex: 0 0 auto; padding: 10px 13px; border: 1px solid #edc8d1; border-radius: 11px; color: var(--rose-dark); background: white; font-size: 9px; font-weight: 700; cursor: pointer; }
.support-received { padding: 22px; border-radius: 22px; color: white; background: linear-gradient(145deg,#d96582,#b64d6b); box-shadow: 0 14px 35px rgba(174,66,94,.18); }.support-received span,.support-received strong,.support-received small { display: block; }.support-received span { color: rgba(255,255,255,.7); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.support-received strong { margin: 12px 0 8px; font-size: 14px; line-height: 1.5; }.support-received small { color: rgba(255,255,255,.6); font-size: 8px; }
.intro-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.intro-actions .primary-button { flex: 0 0 auto; }
.history-stats { margin-bottom: 18px; }.history-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }.history-row { position: relative; padding: 22px 24px 22px 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; }.history-row:last-child { border-bottom: 0; }.history-marker { width: 10px; height: 10px; position: absolute; left: 20px; top: 29px; border: 3px solid #ffd6df; border-radius: 50%; background: var(--rose); box-sizing: content-box; }.history-main { min-width: 0; flex: 1; }.history-main small { color: #a49aa4; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.history-main strong { display: block; margin: 5px 0 6px; font-size: 14px; }.history-main p { margin: 0; overflow: hidden; color: #8d838e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.history-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 13px; }.history-actions button { padding: 8px 10px; border: 1px solid #eadfe4; border-radius: 10px; color: #756a75; background: white; font-size: 9px; cursor: pointer; }.history-actions .danger-link { margin: 0; border-color: #f1d5db; color: #c34b66; }
.empty-state { padding: 55px 25px; text-align: center; }.empty-state > span { font-size: 35px; color: var(--rose); }.empty-state h2 { margin: 15px 0 8px; }.empty-state p { color: var(--muted); font-size: 10px; }.empty-state .primary-button { margin-top: 12px; }
.forecast-note { margin: 18px 0 0; color: #a198a2; font-size: 8px; }
.modal select, .modal textarea { width: 100%; padding: 12px; border: 1px solid #e2d9de; border-radius: 11px; outline: none; background: white; font: inherit; }.modal textarea { min-height: 78px; resize: vertical; }.modal select:focus,.modal textarea:focus { border-color: #e58ca1; box-shadow: 0 0 0 3px #fff0f3; }
.mode-modal { width: min(560px,100%); max-height: calc(100vh - 40px); overflow-y: auto; }.mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.mode-options label { position: relative; cursor: pointer; }.mode-options input { position: absolute; opacity: 0; }.mode-options span { min-height: 94px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; display: flex; flex-direction: column; }.mode-options b { font-size: 11px; }.mode-options small { margin-top: 7px; color: #938a94; font-size: 8px; line-height: 1.5; }.mode-options input:checked + span { border-color: #ee9eb0; background: #fff4f6; box-shadow: inset 0 0 0 1px #ee9eb0; }.mode-modal #mode-date-field > small { display: block; margin-top: 6px; color: #9a919b; font-size: 8px; }
.sync-badge.paused { color: #a77349; background: #fff4e9; }.sync-badge.paused i { background: #d69a62; }.small-strong { font-size: 12px !important; line-height: 1.45; }.partner-history { margin-top: 16px; padding: 17px; border-radius: 16px; background: #faf6f8; }.partner-history small,.partner-history span { display: block; }.partner-history small { margin-bottom: 9px; color: #968d97; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }.partner-history span { padding: 6px 0; border-top: 1px solid #eee4e9; font-size: 9px; }.pause-toggle { margin-bottom: 3px; padding-inline: 10px; border-radius: 12px; background: #fff8f1; }.sharing-panel.is-paused .share-toggle:not(.pause-toggle) { opacity: .48; }.partner-message-banner { max-width: 700px; margin: -18px auto 22px; padding: 15px 18px; border: 1px solid #f0ccd5; border-radius: 17px; background: #fff5f7; display: flex; align-items: center; gap: 13px; }.partner-message-banner > span { width: 35px; height: 35px; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--rose); display: grid; place-items: center; }.partner-message-banner small,.partner-message-banner strong { display: block; }.partner-message-banner small { color: #a28f99; font-size: 8px; }.partner-message-banner strong { margin-top: 4px; font-size: 11px; }
.support-panel { margin-top: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }.support-panel h2 { margin: 5px 0 7px; font-size: 19px; }.support-panel p { margin: 0; color: #8d838d; font-size: 9px; }.support-actions { margin: 20px 0 13px; display: flex; flex-wrap: wrap; gap: 9px; }.support-actions button { padding: 10px 13px; border: 1px solid #ebc9d2; border-radius: 12px; color: #b44d68; background: #fff7f9; font-size: 9px; font-weight: 700; cursor: pointer; }.support-panel form { display: flex; gap: 9px; }.support-panel input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #e6dde2; border-radius: 11px; outline: none; }.support-panel form .primary-button { flex: 0 0 auto; }
.privacy-view { max-width: 980px; }.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.privacy-card { min-height: 200px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }.privacy-icon { width: 39px; height: 39px; margin-bottom: 17px; border-radius: 13px; color: var(--rose-dark); background: var(--rose-soft); display: grid; place-items: center; font-size: 18px; }.privacy-card h2 { margin: 0 0 8px; font-size: 16px; }.privacy-card p { margin: 0; color: #8d848e; font-size: 9px; line-height: 1.65; }.privacy-card .secondary-button { margin-top: auto; }.secondary-button { display: inline-block; padding: 10px 13px; border: 1px solid #e7dce2; border-radius: 10px; color: #785c72; background: white; font-size: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }.secondary-button:disabled { opacity: .45; cursor: not-allowed; }
.data-summary { margin-top: 17px; padding: 27px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }.data-summary h2 { margin: 5px 0 20px; }.data-summary ul { margin: 0; padding: 0; list-style: none; }.data-summary li { padding: 13px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 9px; }.data-summary li span { color: #9c929d; }.data-summary li strong { text-align: right; }
.danger-zone { margin-top: 17px; padding: 27px; border: 1px solid #f0cbd4; border-radius: 23px; background: #fff7f8; display: flex; align-items: center; justify-content: space-between; gap: 24px; }.danger-zone h2 { margin: 5px 0 7px; }.danger-zone p { max-width: 610px; margin: 0; color: #8f7980; font-size: 9px; line-height: 1.6; }.danger-zone > button,.delete-button { padding: 11px 14px; border: 0; border-radius: 10px; color: white; background: #c84f6b; font-size: 9px; font-weight: 700; cursor: pointer; }.delete-button.wide { width: 100%; }.danger-modal .modal-icon { color: white; background: #c84f6b; }.privacy-disclaimer { margin: 18px 3px 0; color: #a39aa4; font-size: 8px; line-height: 1.55; }

@media (max-width: 760px) {
    .mobile-nav { grid-template-columns: repeat(6,minmax(64px,1fr)); overflow-x: auto; }.mobile-nav .nav-button { min-width: 64px; }
    .mode-pill { max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mode-summary-card,.intro-actions,.danger-zone { align-items: stretch; flex-direction: column; }.mode-summary-card button,.intro-actions .primary-button,.danger-zone > button { width: 100%; }
    .history-actions { align-items: stretch; flex-direction: column; gap: 5px; }.history-row { align-items: flex-start; }.history-main p { white-space: normal; }
    .mode-options,.privacy-grid { grid-template-columns: 1fr; }.mode-options span { min-height: 0; }
    .support-panel form { flex-direction: column; }.support-panel form .primary-button { width: 100%; }
    .data-summary li { align-items: flex-start; flex-direction: column; gap: 5px; }.data-summary li strong { text-align: left; }
}

@media (max-width: 430px) {
    .history-row { padding: 20px 16px 20px 34px; }.history-marker { left: 16px; top: 26px; }.history-actions button { padding: 7px; }
    .support-actions { display: grid; grid-template-columns: 1fr; }.support-actions button { text-align: left; }
}

/* Luna v4 — мобильный интерфейс в духе современных cycle-tracker приложений */
:root {
    --ink: #21182b;
    --muted: #766d79;
    --line: #f0e4e8;
    --paper: #fffefe;
    --rose: #f34f7d;
    --rose-dark: #d72f61;
    --rose-soft: #fff0f4;
    --peach: #fff1ec;
    --lavender: #f1ecff;
    --shadow: 0 16px 48px rgba(81, 43, 62, .08);
}

html { background: #fff8f8; scroll-behavior: smooth; }
body { background: radial-gradient(circle at 84% 8%, #fff0f2 0, transparent 24%), linear-gradient(180deg, #fffafa 0, #fff7f8 100%); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(243,79,125,.22); outline-offset: 2px; }
.primary-button, .primary-link { border-radius: 999px; background: linear-gradient(135deg,#ff6a91,#ea3e73); box-shadow: 0 10px 25px rgba(232,55,108,.2); font-size: 12px; }
.brand-mark, .auth-brand > span, .auth-logo > span { border-radius: 50% 50% 50% 15%; background: linear-gradient(145deg,#ff7699,#e9346c); }
.eyebrow { color: #a18e98; font-size: 10px; letter-spacing: .12em; }

/* Авторизация: оригинальный экран Luna с привычным циклическим виджетом */
.auth-showcase { color: var(--ink); background: radial-gradient(circle at 16% 15%,rgba(255,255,255,.82),transparent 26%), radial-gradient(circle at 92% 86%,#ffc8d5,transparent 38%), linear-gradient(145deg,#fff0ec,#ffe5ed); }
.auth-showcase::before, .auth-showcase::after { border-color: rgba(226,72,112,.1); }
.auth-brand { position: relative; z-index: 3; }
.showcase-copy { width: 58%; }
.showcase-copy .eyebrow.light { color: #c55b78; }
.showcase-copy h1 { color: #25172b; font-weight: 720; }
.showcase-copy p { color: #765e6c; }
.auth-preview { width: min(290px,34vw); min-height: 405px; position: absolute; right: 6vw; top: 50%; z-index: 2; padding: 22px 18px; border: 8px solid rgba(255,255,255,.72); border-radius: 42px; background: rgba(255,255,255,.92); box-shadow: 0 35px 75px rgba(114,55,78,.19); transform: translateY(-46%) rotate(3deg); }
.auth-preview::before { content: ""; width: 76px; height: 18px; position: absolute; left: 50%; top: 6px; border-radius: 0 0 14px 14px; background: #f7e9ed; transform: translateX(-50%); }
.auth-preview-week { margin: 20px 0 16px; display: grid; grid-template-columns: repeat(5,1fr); color: #b0a0a7; font-size: 9px; text-align: center; }
.auth-preview-week span { height: 30px; display: grid; place-items: center; }
.auth-preview-week .active { border-radius: 50%; color: white; background: var(--rose); }
.auth-preview-ring { width: 210px; height: 210px; margin: 0 auto; position: relative; border-radius: 50%; background: conic-gradient(var(--rose) 0 52%, #f7dbe3 52% 100%); display: grid; place-items: center; }
.auth-preview-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: linear-gradient(145deg,#fff,#fff7f9); }
.auth-preview-ring > div { position: relative; display: flex; align-items: center; flex-direction: column; }
.auth-preview-ring small { color: #9a8791; font-size: 10px; }.auth-preview-ring strong { margin: 3px 0; color: #2c1b30; font-size: 60px; line-height: 1; }.auth-preview-ring span { color: #b44b69; font-size: 9px; }
.auth-preview-action { margin: 20px 8px 0; padding: 13px; border-radius: 999px; color: white; background: linear-gradient(135deg,#ff6c93,#eb3e73); font-size: 11px; font-weight: 750; text-align: center; }
.privacy-pill { color: #815467; border-color: rgba(204,66,104,.15); background: rgba(255,255,255,.62); }
.auth-panel { background: rgba(255,255,255,.92); }
.auth-form-wrap h2 { font-size: 38px; }.auth-form-wrap > p { font-size: 14px; }
.auth-tabs { border-radius: 999px; background: #fff0f4; }.auth-tabs button { border-radius: 999px; font-size: 12px; }
.auth-form label { font-size: 11px; }.auth-form input { min-height: 48px; border-radius: 15px; font-size: 14px; }
.auth-submit { min-height: 50px; font-size: 13px; }

/* Оболочка и навигация */
.side-rail { width: 238px; padding: 28px 18px 22px; border-color: #f2e8eb; background: rgba(255,255,255,.91); }
.main-panel { width: calc(100% - 238px); margin-left: 238px; }
.desktop-nav .nav-button { border-radius: 15px; font-size: 13px; }.desktop-nav .nav-button.active { color: var(--rose-dark); background: #fff0f4; }
.rail-card { color: #402033; background: radial-gradient(circle at 85% 18%,#ffc1d0,transparent 29%),linear-gradient(145deg,#fff0ec,#ffdfe9); box-shadow: 0 14px 35px rgba(154,65,94,.12); }
.rail-heart { color: white; background: var(--rose); }.rail-card p { color: #8b6272; }.rail-card button { color: white; background: var(--rose); border-radius: 999px; }
.topbar { height: 72px; border-color: rgba(238,225,231,.8); background: rgba(255,251,251,.83); }
.notification-button, .avatar.small { width: 38px; height: 38px; }.mode-pill { min-height: 38px; padding: 8px 15px; border: 0; background: white; box-shadow: 0 5px 20px rgba(93,48,70,.08); }
.content-grid { max-width: 1200px; padding-top: 32px; grid-template-columns: minmax(0,1.62fr) minmax(270px,.72fr); gap: 25px; }
.welcome-row { margin-bottom: 8px; }.welcome-row h1 { font-size: clamp(25px,2.5vw,34px); }.private-note { border-radius: 999px; padding: 8px 11px; background: rgba(255,255,255,.72); }

/* Главный экран */
.week-strip { margin: 15px 0 13px; padding: 7px 8px; border: 0; border-radius: 20px; background: rgba(255,255,255,.62); box-shadow: none; }
.week-strip button { min-height: 54px; border-radius: 16px; cursor: pointer; }.week-strip span { font-size: 9px; }.week-strip strong { font-size: 14px; }.week-strip button.selected { color: white; background: var(--rose); box-shadow: 0 8px 20px rgba(238,62,112,.2); }.week-strip button.selected span { color: rgba(255,255,255,.76); }.week-strip button.selected i { background: white; }
.cycle-card.cycle-dashboard { min-height: 0; padding: 18px 22px 20px; border: 1px solid rgba(244,210,220,.72); border-radius: 32px; color: var(--ink); background: radial-gradient(circle at 15% 10%,rgba(255,255,255,.92),transparent 32%), radial-gradient(circle at 86% 85%,#ffd7e0,transparent 35%), linear-gradient(145deg,#fff6f5,#ffe8ee); box-shadow: 0 24px 55px rgba(151,60,90,.13); display: block; }
.cycle-card-top { display: flex; align-items: center; justify-content: space-between; color: #a57889; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cycle-card-top button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #a5687c; background: rgba(255,255,255,.68); cursor: pointer; }
.cycle-stage { display: flex; align-items: center; flex-direction: column; text-align: center; }
.cycle-dashboard .cycle-orbit { width: 220px; height: 220px; margin: 3px auto 10px; position: relative; border-radius: 50%; background: conic-gradient(from -35deg,var(--rose) 0 var(--cycle-progress),rgba(255,255,255,.78) var(--cycle-progress) 100%); box-shadow: 0 16px 35px rgba(226,65,107,.12); display: grid; place-items: center; }
.cycle-dashboard .cycle-orbit::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 25%,#fff,#fff7f8 70%); box-shadow: inset 0 0 0 1px rgba(244,218,225,.7); }
.cycle-dashboard .cycle-orbit > div { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; }.cycle-dashboard .cycle-orbit small { color: #9c7f8b; font-size: 10px; }.cycle-dashboard .cycle-orbit strong { margin: 1px 0; color: #291829; font-size: 70px; line-height: .95; font-weight: 760; letter-spacing: -.07em; }.cycle-dashboard .cycle-orbit span { color: #b695a1; font-size: 9px; }.cycle-dashboard .orbit-dot { display: none; }
.cycle-stage h2 { margin: 2px 0 6px; font-size: 22px; letter-spacing: -.035em; }.cycle-stage > p { margin: 0; color: #8e6e7b; font-size: 11px; }
.cycle-actions { margin-top: 17px; display: flex; gap: 9px; }.cycle-actions button { min-width: 145px; padding: 12px 16px; border: 1px solid rgba(227,64,108,.2); border-radius: 999px; color: var(--rose-dark); background: rgba(255,255,255,.78); font-size: 10px; font-weight: 760; cursor: pointer; }.cycle-actions button:first-child { color: white; border-color: transparent; background: linear-gradient(135deg,#ff6b91,#ea3e73); box-shadow: 0 9px 22px rgba(225,55,103,.18); }
.cycle-card-footer { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(223,129,153,.16); display: flex; align-items: center; justify-content: space-between; }.cycle-card-footer span { display: flex; align-items: center; gap: 7px; color: #8f6675; font-size: 9px; }.cycle-card-footer i { width: 7px; height: 7px; border-radius: 50%; background: #64b88d; box-shadow: 0 0 0 5px rgba(100,184,141,.1); }.cycle-card-footer button { border: 0; color: var(--rose-dark); background: none; font-size: 9px; font-weight: 720; cursor: pointer; }
.home-shortcuts { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.home-shortcuts > button { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 10px 30px rgba(90,45,65,.05); display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; }.home-shortcuts > button > span { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 13px; color: white; background: var(--rose); display: grid; place-items: center; font-size: 18px; }.home-shortcuts > button:last-child > span { color: #6f58a2; background: var(--lavender); }.home-shortcuts strong,.home-shortcuts small { display: block; }.home-shortcuts strong { font-size: 11px; }.home-shortcuts small { margin-top: 4px; color: #9a8991; font-size: 8px; }
.forecast-strip { margin-top: 13px; border: 0; border-radius: 20px; box-shadow: 0 10px 30px rgba(90,45,65,.04); }.forecast-score { background: linear-gradient(145deg,#ff789a,#e73e72); }
.mode-summary-card { margin-top: 13px; border: 0; border-radius: 22px; background: linear-gradient(135deg,#fff,#fff3f6); }
#daily-checkin { scroll-margin-top: 88px; }
.checkin-card, .calendar-card, .chart-card, .history-card, .privacy-card, .data-summary, .support-panel, .partner-events-panel, .reminder-settings, .notification-center { border-color: rgba(237,224,230,.9); border-radius: 28px; background: rgba(255,255,255,.9); }
.checkin-card { margin-top: 13px; }.chip { border-radius: 999px; font-size: 11px; }.chip.selected { color: white; border-color: var(--rose); background: var(--rose); }
.right-column { padding-top: 62px; }.insight-card, .partner-card { border: 0; border-radius: 26px; }.insight-card { position: relative; overflow: hidden; padding-top: 120px; background: linear-gradient(145deg,#f1ecff,#fff); }.insight-card::before { content: ""; width: 165px; height: 165px; position: absolute; right: -28px; top: -76px; border: 32px solid rgba(112,82,174,.12); border-radius: 50%; }.insight-card::after { content: "✦"; position: absolute; right: 45px; top: 38px; color: #7f62b0; font-size: 30px; }.insight-card .insight-icon { display: none; }
.partner-card { background: radial-gradient(circle at 80% 5%,#ffd5df,transparent 35%),linear-gradient(145deg,#fff2f3,#fff); }
.material-card { position: relative; overflow: hidden; padding-top: 120px; border: 0; border-radius: 28px; }.material-card::before { content: ""; height: 96px; position: absolute; inset: 0 0 auto; background: radial-gradient(circle at 75% 30%,rgba(255,255,255,.55),transparent 22%),linear-gradient(135deg,#ffd9e1,#fff0ed); }.material-card:nth-child(3n+2)::before { background: radial-gradient(circle at 25% 50%,rgba(255,255,255,.55),transparent 20%),linear-gradient(135deg,#e5ddff,#f5f1ff); }.material-card:nth-child(3n)::before { background: radial-gradient(circle at 75% 40%,rgba(255,255,255,.65),transparent 19%),linear-gradient(135deg,#dff6ec,#f0fbf7); }.material-card::after { content: "L"; position: absolute; right: 25px; top: 24px; color: rgba(255,255,255,.82); font-size: 42px; font-weight: 800; }

/* Меню «Ещё» */
.more-modal { width: min(540px,100%); }.more-handle { display: none; }.more-modal > h2 { margin-top: 7px; }
.more-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.more-grid button,.more-grid a { min-height: 100px; padding: 14px 9px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff9fa; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; font-size: 10px; text-decoration: none; cursor: pointer; }.more-grid span { width: 38px; height: 38px; border-radius: 13px; color: var(--rose-dark); background: var(--rose-soft); display: grid; place-items: center; font-size: 17px; }.more-grid b { font-size: 10px; }

@media (max-width: 1120px) {
    .side-rail { width: 210px; }.main-panel { width: calc(100% - 210px); margin-left: 210px; }.content-grid { grid-template-columns: 1fr; }.right-column { padding-top: 0; grid-template-columns: 1fr 1fr; }.health-note { grid-column: 1/-1; }
    .showcase-copy { width: 55%; }.auth-preview { right: 3vw; }
}

@media (max-width: 760px) {
    .auth-showcase { min-height: 535px; padding: 27px 22px; }.showcase-copy { width: 100%; margin: 55px 0 0; }.showcase-copy h1 { max-width: 520px; font-size: 40px; }.showcase-copy p { max-width: 440px; }.auth-preview { width: 210px; min-height: 278px; right: 19px; top: auto; bottom: 20px; padding: 15px 12px; border-width: 5px; border-radius: 31px; transform: rotate(3deg); }.auth-preview::before { width: 54px; height: 12px; top: 4px; }.auth-preview-week { margin: 13px 0 9px; }.auth-preview-week span { height: 22px; }.auth-preview-ring { width: 148px; height: 148px; }.auth-preview-ring::before { inset: 7px; }.auth-preview-ring strong { font-size: 42px; }.auth-preview-action { margin-top: 12px; padding: 9px; font-size: 8px; }.privacy-pill { display: flex; max-width: calc(100% - 230px); }
    .side-rail { display: none; }.main-panel { width: 100%; margin-left: 0; padding-bottom: 84px; }.topbar { height: 64px; padding: 0 16px; }.mobile-brand { display: flex; }.date-heading { display: none; }.top-actions { gap: 6px; }.mode-pill { max-width: 105px; min-height: 34px; padding: 7px 10px; }.notification-button,.avatar.small { width: 34px; height: 34px; }
    .content-grid { padding: 20px 14px 35px; gap: 14px; }.welcome-row { align-items: flex-start; }.welcome-row h1 { font-size: 24px; line-height: 1.08; }.private-note { display: none; }
    .week-strip { margin-top: 15px; }.week-strip button { min-height: 50px; }
    .cycle-card.cycle-dashboard { padding: 15px 15px 17px; border-radius: 29px; }.cycle-dashboard .cycle-orbit { width: 194px; height: 194px; margin-top: 0; position: relative; right: auto; top: auto; opacity: 1; }.cycle-dashboard .cycle-orbit strong { font-size: 62px; }.cycle-stage h2 { font-size: 20px; }.cycle-actions { width: 100%; }.cycle-actions button { min-width: 0; flex: 1; padding-inline: 9px; }.cycle-card-footer { gap: 10px; }
    .home-shortcuts { grid-template-columns: 1fr; }.forecast-strip { align-items: stretch; flex-direction: column; }.forecast-strip p { text-align: left; }.mode-summary-card { align-items: stretch; flex-direction: column; }.mode-summary-card button { width: 100%; }.checkin-card { padding: 23px 18px; }
    .right-column { grid-template-columns: 1fr; }.health-note { grid-column: auto; }.insight-card { padding-top: 105px; }
    .mobile-nav { height: calc(76px + env(safe-area-inset-bottom)); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); border-color: #f1e2e7; background: rgba(255,255,255,.96); display: grid; grid-template-columns: repeat(5,1fr); overflow: visible; box-shadow: 0 -8px 30px rgba(84,39,59,.06); }.mobile-nav .nav-button { min-width: 0; justify-content: center; flex-direction: column; gap: 3px; padding: 3px; border-radius: 0; color: #91848c; background: transparent; font-size: 19px; }.mobile-nav .nav-button.active { color: var(--rose-dark); background: transparent; }.mobile-nav .nav-button small { font-size: 8px; font-weight: 650; }.mobile-nav .quick-log { width: 54px; height: 54px; place-self: center; border: 5px solid white; border-radius: 50%; color: white; background: linear-gradient(145deg,#ff6f95,#e9366d); box-shadow: 0 8px 23px rgba(222,48,99,.3); display: grid; place-items: center; font-size: 27px; cursor: pointer; transform: translateY(-12px); }
    .single-view { padding-top: 30px; }.materials-grid { grid-template-columns: 1fr; }
    .more-backdrop { padding: 0; place-items: end center; }.more-modal { width: 100%; max-height: 86vh; overflow-y: auto; padding: 27px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; }.more-handle { width: 44px; height: 5px; margin: -15px auto 20px; border-radius: 4px; background: #e1d4da; display: block; }.more-grid { grid-template-columns: repeat(3,1fr); }.more-grid button,.more-grid a { min-height: 92px; }
}

@media (max-width: 430px) {
    .auth-showcase { min-height: 570px; }.showcase-copy h1 { font-size: 34px; }.showcase-copy p { font-size: 12px; }.privacy-pill { max-width: 135px; padding: 10px; font-size: 9px; }.auth-preview { right: 13px; }
    .week-strip button:first-child,.week-strip button:last-child { display: flex; }.week-strip { grid-template-columns: repeat(7,1fr); padding-inline: 3px; }.week-strip button { min-height: 46px; padding-inline: 1px; }.week-strip span { font-size: 8px; }.week-strip strong { font-size: 12px; }
    .cycle-dashboard .cycle-orbit { width: 180px; height: 180px; }.cycle-dashboard .cycle-orbit strong { font-size: 57px; }.cycle-actions { flex-direction: column; }.cycle-actions button { width: 100%; }.cycle-card-footer { align-items: flex-start; flex-direction: column; }.home-shortcuts > button { padding: 12px; }
    .more-grid { grid-template-columns: repeat(2,1fr); }
}
