:root {
    --ink: #2d2b28;
    --ink-soft: #716d66;
    --paper: #fbf9f3;
    --paper-deep: #eee9de;
    --line: rgba(45, 43, 40, 0.16);
    --wine: #7b293d;
    --wine-dark: #541b2b;
    --gold: #c69e58;
    --cream: #f2f0eb;
    --shadow: rgba(31, 29, 25, 0.28);
    --font-ui: "Segoe UI Variable Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --cover-front-start: #2b3d57;
    --cover-front-mid: #182a43;
    --cover-front-end: #09172a;
    --cover-back-start: #1c2d43;
    --cover-back-end: #09131f;
    --cover-border: rgba(3, 11, 22, 0.9);
    --cover-highlight: rgba(255, 255, 255, 0.055);
    --cover-shade: rgba(0, 0, 0, 0.24);
    --cover-gutter: rgba(255, 239, 209, 0.16);
    --planner-editor-font-size: clamp(14px, 1.15vw, 17px);
    --planner-editor-font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

:root[data-editor-text-size="small"] {
    --planner-editor-font-size: clamp(13px, 1vw, 15px);
}

:root[data-editor-text-size="normal"] {
    --planner-editor-font-size: clamp(14px, 1.15vw, 17px);
}

:root[data-editor-text-size="large"] {
    --planner-editor-font-size: clamp(17px, 1.38vw, 21px);
}

:root[data-editor-font="handwritten"] {
    --planner-editor-font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

:root[data-editor-font="script"] {
    --planner-editor-font-family: "Segoe Script", "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
}

:root[data-editor-font="serif"] {
    --planner-editor-font-family: Georgia, "Times New Roman", serif;
}

:root[data-editor-font="mono"] {
    --planner-editor-font-family: "Courier New", Courier, monospace;
}

:root[data-cover-color="black"] {
    --cover-front-start: #303030;
    --cover-front-mid: #1e1e1e;
    --cover-front-end: #0f0f0f;
    --cover-back-start: #262523;
    --cover-back-end: #11110f;
    --cover-border: rgba(0, 0, 0, 0.88);
}

:root[data-cover-color="white"] {
    --cover-front-start: #fbfaf6;
    --cover-front-mid: #e9e5dc;
    --cover-front-end: #d1cbc0;
    --cover-back-start: #ded9cf;
    --cover-back-end: #aaa398;
    --cover-border: rgba(45, 43, 40, 0.62);
    --cover-highlight: rgba(255, 255, 255, 0.72);
    --cover-shade: rgba(45, 43, 40, 0.13);
    --cover-gutter: rgba(45, 43, 40, 0.18);
}

:root[data-cover-color="navy"] {
    --cover-front-start: #2b3d57;
    --cover-front-mid: #182a43;
    --cover-front-end: #09172a;
    --cover-back-start: #1c2d43;
    --cover-back-end: #09131f;
    --cover-border: rgba(3, 11, 22, 0.9);
}

:root[data-cover-color="wine"] {
    --cover-front-start: #713149;
    --cover-front-mid: #511d31;
    --cover-front-end: #280b18;
    --cover-back-start: #451725;
    --cover-back-end: #210810;
    --cover-border: rgba(30, 5, 13, 0.9);
}

:root[data-cover-color="green"] {
    --cover-front-start: #3f5e4a;
    --cover-front-mid: #294535;
    --cover-front-end: #14291e;
    --cover-back-start: #293f32;
    --cover-back-end: #122218;
    --cover-border: rgba(7, 24, 15, 0.9);
}

:root[data-cover-color="mustard"] {
    --cover-front-start: #9b7628;
    --cover-front-mid: #755416;
    --cover-front-end: #432d08;
    --cover-back-start: #674914;
    --cover-back-end: #352306;
    --cover-border: rgba(51, 34, 3, 0.9);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    background: #e9e3d5;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100svh;
    overflow: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--font-ui);
    font-optical-sizing: auto;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

button,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(45, 43, 40, 0.48);
    outline-offset: 3px;
}

.workspace {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 30px clamp(24px, 5vw, 76px) 24px;
    overflow: hidden;
    color: #2d2b28;
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 245, 240, 0.84) 48%, rgba(232, 230, 225, 0.92) 100%),
        #f2f0eb;
}

.workspace::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    opacity: 0.14;
    pointer-events: none;
    background-image: radial-gradient(rgba(55, 53, 49, 0.18) 0.58px, transparent 0.68px);
    background-size: 10px 10px;
}

.workspace::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 38%;
    background:
        radial-gradient(rgba(55, 53, 49, 0.1) 0.55px, transparent 0.65px) 0 0 / 12px 12px,
        linear-gradient(150deg, rgba(185, 182, 175, 0.24), rgba(117, 115, 109, 0.18));
    clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
    content: "";
    pointer-events: none;
}

.site-header,
.site-footer,
.welcome {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.login-monogram img {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.site-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(45, 43, 40, 0.28);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.1em;
}

.site-language a {
    position: relative;
    padding: 5px 1px;
    border: 0;
    color: rgba(45, 43, 40, 0.48);
    font: inherit;
    letter-spacing: inherit;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-language a:hover,
.site-language a:focus-visible,
.site-language a[aria-current="page"] {
    color: #2d2b28;
}

.site-language a[aria-current="page"]::after {
    position: absolute;
    right: calc(0.16em + 1px);
    bottom: 1px;
    left: 1px;
    height: 1px;
    background: currentColor;
    content: "";
}

.site-language a[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.55;
}

.welcome {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: center;
    width: min(1180px, 100%);
    margin: auto;
}

.welcome-copy {
    position: relative;
    padding: 34px 0 34px clamp(36px, 3.5vw, 56px);
}

.welcome-copy::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: rgba(45, 43, 40, 0.18);
    content: "";
}

.welcome-copy::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 1px;
    background: rgba(45, 43, 40, 0.18);
    content: "";
}

.welcome h1 {
    margin: 0;
    max-width: 720px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.4vw, 72px);
    font-weight: 400;
    color: #292825;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.intro {
    max-width: 520px;
    margin: 30px 0 0;
    color: #716d66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.65;
}

.welcome-actions {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 27px;
    flex-direction: column;
}

.welcome-about-link {
    display: inline-flex;
    gap: 24px;
    align-items: center;
    margin-top: 0;
    padding: 9px 2px 8px;
    border-bottom: 1px solid rgba(45, 43, 40, 0.38);
    color: #3a3834;
    text-decoration: none;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease;
}

.welcome-about-link span:last-child {
    font-size: 14px;
    transition: transform 160ms ease;
}

.welcome-about-link:hover,
.welcome-about-link:focus-visible {
    border-color: rgba(45, 43, 40, 0.76);
    color: #1f1e1c;
}

.welcome-about-link:hover span:last-child,
.welcome-about-link:focus-visible span:last-child {
    transform: translateX(3px);
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.app-store-badge,
.google-play-badge {
    display: block;
    line-height: 0;
}

.app-store-badge {
    width: 144px;
}

.google-play-badge {
    width: 166px;
    margin: -8px -11px;
}

.app-store-badge img,
.google-play-badge img {
    display: block;
    width: 100%;
    height: auto;
}

.app-store-badge:focus-visible,
.google-play-badge:focus-visible {
    border-radius: 9px;
    outline: 2px solid rgba(45, 43, 40, 0.68);
    outline-offset: 4px;
}

.planner-cover-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.planner-cover-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px 6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.planner-cover {
    position: relative;
    z-index: 1;
    display: block;
    width: clamp(218px, 18vw, 264px);
    aspect-ratio: 0.72;
    transform: rotateZ(2.4deg) rotateY(-5deg);
    transform-origin: center;
    transition: transform 220ms ease;
}

.planner-cover-front,
.planner-cover-back,
.planner-cover-pages {
    position: absolute;
    display: block;
}

.planner-cover-front {
    inset: 0;
    z-index: 3;
    padding: 19px 18px 23px 27px;
    border: 1px solid var(--cover-border);
    border-radius: 7px 10px 10px 7px;
    background:
        linear-gradient(90deg, var(--cover-highlight), transparent 13%, transparent 86%, var(--cover-shade)),
        linear-gradient(145deg, var(--cover-front-start), var(--cover-front-mid) 58%, var(--cover-front-end));
    box-shadow:
        -9px 17px 25px rgba(31, 25, 20, 0.14),
        18px 28px 42px rgba(31, 25, 20, 0.22),
        inset 2px 0 rgba(255, 255, 255, 0.08);
    transition: box-shadow 220ms ease;
}

.planner-cover-front::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 13px;
    width: 1px;
    background: var(--cover-gutter);
    box-shadow: 4px 0 8px rgba(24, 6, 13, 0.2);
    content: "";
}

.planner-cover-back {
    z-index: 0;
    top: 6px;
    right: -12px;
    bottom: -7px;
    left: 0;
    border: 1px solid var(--cover-border);
    border-radius: 7px 12px 12px 7px;
    background: linear-gradient(145deg, var(--cover-back-start), var(--cover-back-end) 70%);
    box-shadow: 8px 10px 18px rgba(27, 25, 18, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%, 0 calc(100% - 7px));
}

.planner-cover-pages {
    z-index: 1;
    top: 10px;
    right: -8px;
    bottom: 7px;
    left: 12px;
    border-radius: 3px 8px 8px 3px;
    background: repeating-linear-gradient(90deg, #eee7d8 0 2px, #d8cfbd 2px 3px);
    box-shadow: 3px 3px 7px rgba(27, 25, 18, 0.12);
}

.planner-cover-inner {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 78px 22px 35px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(242, 222, 180, 0.3);
    border-radius: 3px 8px 8px 3px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.planner-cover-logo {
    display: block;
    width: 88%;
    aspect-ratio: 1707 / 765;
    background: linear-gradient(105deg, #b7883f 0%, #e6c77e 45%, #f1dda5 57%, #c2964c 100%);
    -webkit-mask: url("../images/cesca-wordmark.png?v=1") center / contain no-repeat;
    mask: url("../images/cesca-wordmark.png?v=1") center / contain no-repeat;
    filter: none;
}

.planner-cover-type {
    margin-top: 7px;
    color: #d7b66d;
    font-family: Inter, Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1;
    text-shadow: 0 1px rgba(0, 0, 0, 0.22);
}

.planner-cover-rule {
    width: 34px;
    height: 1px;
    margin-top: auto;
    margin-bottom: 22px;
    background: rgba(242, 222, 180, 0.52);
}

.planner-cover-year {
    color: transparent;
    background: linear-gradient(105deg, #b7883f 0%, #efd89a 50%, #c2964c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 400;
    letter-spacing: 0.13em;
    line-height: 1;
    text-shadow: 0 1px rgba(0, 0, 0, 0.18);
}

.planner-cover-ribbon {
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: -24px;
    left: 19px;
    width: 14px;
    height: 30px;
    background: linear-gradient(90deg, #b98b40, #d2ad63 58%, #b98b40);
    box-shadow: 1px 2px 3px rgba(22, 18, 14, 0.16);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    opacity: 0.92;
}

.planner-cover-cta {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    margin-top: 31px;
    padding: 0 2px 7px;
    border-bottom: 1px solid rgba(45, 43, 40, 0.34);
    color: #34322f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    transition: color 180ms ease, border-color 180ms ease;
}

.planner-cover-arrow {
    font-size: 14px;
    transition: transform 180ms ease;
}

.planner-cover-button:hover .planner-cover {
    transform: translateY(-5px) rotateZ(1.8deg) rotateY(-3deg);
}

.planner-cover-button:hover .planner-cover-front {
    box-shadow:
        -10px 19px 28px rgba(31, 25, 20, 0.15),
        22px 34px 52px rgba(31, 25, 20, 0.26),
        inset 2px 0 rgba(255, 255, 255, 0.08);
}

.planner-cover-button:hover .planner-cover-cta {
    border-color: rgba(45, 43, 40, 0.74);
    color: #1f1e1c;
}

.planner-cover-button:hover .planner-cover-arrow {
    transform: translate(2px, -2px);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(45, 43, 40, 0.58);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.footer-motto,
.footer-legal {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-instagram {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 1px solid rgba(45, 43, 40, 0.18);
    border-radius: 50%;
    color: rgba(45, 43, 40, 0.42);
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-instagram svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.footer-instagram svg circle:last-child {
    fill: currentColor;
    stroke: none;
}

.footer-instagram:hover,
.footer-instagram:focus-visible {
    border-color: rgba(45, 43, 40, 0.38);
    color: #2d2b28;
    transform: translateY(-1px);
}

.footer-legal {
    gap: 16px;
    letter-spacing: 0.08em;
}

.footer-legal a {
    color: rgba(45, 43, 40, 0.46);
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-legal a:hover {
    color: #2d2b28;
}

.footer-line {
    width: 60px;
    height: 1px;
    background: rgba(45, 43, 40, 0.24);
}

.workspace button:focus-visible,
.workspace a:focus-visible {
    outline-color: rgba(45, 43, 40, 0.52);
}

.planner-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: clamp(10px, 2.4vw, 34px);
    opacity: 0;
    visibility: hidden;
    background: rgba(18, 31, 29, 0.5);
    backdrop-filter: blur(13px) saturate(0.72);
    transition: opacity 260ms ease, visibility 260ms ease;
}

.planner-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.planner-overlay[hidden] {
    display: none;
}

.planner-dialog {
    display: flex;
    flex-direction: column;
    width: min(1420px, 100%);
    height: min(900px, calc(100svh - clamp(20px, 4.8vw, 68px)));
    min-height: 600px;
    padding: 16px 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: rgba(24, 35, 33, 0.74);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
    transform: translateY(18px) scale(0.985);
    transition: transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.is-visible .planner-dialog {
    transform: translateY(0) scale(1);
}

.planner-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 8px 10px;
    color: rgba(255, 255, 255, 0.9);
}

.planner-nav {
    display: flex;
    gap: 3px;
    align-items: center;
}

.planner-nav-group {
    position: relative;
}

.planner-nav-icon,
.planner-section-button {
    height: 36px;
    border: 0;
    color: rgba(255, 255, 255, 0.66);
    background: transparent;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.planner-nav-icon:hover,
.planner-nav-icon:focus-visible,
.planner-section-button:hover,
.planner-section-button:focus-visible,
.planner-section-button[aria-expanded="true"] {
    color: rgba(255, 255, 255, 0.96);
    outline: 0;
    background: rgba(255, 255, 255, 0.075);
}

.planner-nav-icon {
    display: grid;
    place-items: center;
    width: 36px;
    border-radius: 50%;
}

.planner-nav-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.planner-home-button {
    margin-right: 4px;
}

.planner-section-button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.planner-section-button svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    transition: transform 160ms ease;
}

.planner-section-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.planner-nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 45;
    width: max-content;
    min-width: 170px;
    padding: 6px;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 8px;
    color: var(--ink);
    background:
        radial-gradient(rgba(55, 53, 49, 0.07) 0.58px, transparent 0.68px) 0 0 / 10px 10px,
        #f6f4ee;
    box-shadow: 0 18px 42px rgba(18, 17, 15, 0.3);
}

.planner-nav-menu[hidden] {
    display: none;
}

.planner-nav-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 5px;
    color: rgba(45, 43, 40, 0.72);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-align: left;
}

.planner-nav-menu button:hover,
.planner-nav-menu button:focus-visible {
    color: #292825;
    outline: 0;
    background: rgba(45, 43, 40, 0.07);
}

.planner-nav-menu button:disabled {
    color: rgba(45, 43, 40, 0.3);
    cursor: default;
    background: transparent;
}

.save-state {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.save-state i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8fc7a8;
    box-shadow: 0 0 0 3px rgba(143, 199, 168, 0.12);
}

.save-state.is-pending i {
    background: #e9c476;
}

.save-state.is-error i {
    background: #e67c87;
}

.save-state-retry {
    padding: 2px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.save-state-retry:hover,
.save-state-retry:focus-visible {
    color: #fff;
    border-bottom-color: #fff;
    outline: 0;
}

.save-state-retry:disabled {
    opacity: 0.45;
    cursor: wait;
}

.date-jump {
    position: relative;
}

.date-popover {
    position: absolute;
    top: calc(100% + 11px);
    left: 0;
    z-index: 40;
    width: 270px;
    padding: 17px;
    border: 1px solid rgba(23, 59, 51, 0.15);
    border-radius: 10px;
    color: var(--ink);
    background:
        radial-gradient(rgba(27, 58, 50, 0.07) 0.6px, transparent 0.7px) 0 0 / 9px 9px,
        #fbf7ed;
    box-shadow: 0 18px 42px rgba(8, 18, 15, 0.28);
}

.date-popover[hidden] {
    display: none;
}

.date-popover::before {
    position: absolute;
    top: -6px;
    left: 102px;
    width: 11px;
    height: 11px;
    content: "";
    border-top: 1px solid rgba(23, 59, 51, 0.15);
    border-left: 1px solid rgba(23, 59, 51, 0.15);
    background: #fbf7ed;
    transform: rotate(45deg);
}

.date-popover > label {
    display: block;
    margin-bottom: 10px;
    color: rgba(23, 59, 51, 0.65);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.date-popover > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 7px;
}

.date-popover input,
.date-popover select {
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(23, 59, 51, 0.2);
    border-radius: 6px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.date-popover select {
    appearance: none;
    padding-right: 28px;
    background-image: linear-gradient(45deg, transparent 50%, rgba(23, 59, 51, 0.62) 50%), linear-gradient(135deg, rgba(23, 59, 51, 0.62) 50%, transparent 50%);
    background-position: calc(100% - 14px) 17px, calc(100% - 9px) 17px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.date-popover input:focus,
.date-popover select:focus {
    border-color: rgba(23, 59, 51, 0.52);
    box-shadow: 0 0 0 3px rgba(23, 59, 51, 0.07);
}

.date-popover button {
    border: 0;
    border-radius: 6px;
    color: #fffdf7;
    background: var(--ink);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.date-popover small {
    display: block;
    margin-top: 9px;
    color: rgba(23, 59, 51, 0.45);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
}


.book-stage {
    display: flex;
    flex: 1 1 auto;
    gap: 20px;
    align-items: center;
    width: 100%;
    min-height: 0;
    perspective: 2200px;
}

.book {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    min-width: 0;
    transform-style: preserve-3d;
    filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.26));
    touch-action: pan-y;
}

.book::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    border-radius: 7px 13px 13px 7px;
    background:
        linear-gradient(90deg, rgba(8, 8, 7, 0.5), transparent 5%, transparent 95%, rgba(8, 8, 7, 0.34)),
        linear-gradient(145deg, var(--cover-front-start), var(--cover-front-mid) 58%, var(--cover-front-end));
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.045),
        inset 0 0 0 7px rgba(10, 10, 9, 0.24);
}

.paper,
.flip-face {
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 18% 22%, rgba(123, 91, 49, 0.035) 0 1px, transparent 1.2px),
        radial-gradient(circle at 76% 71%, rgba(55, 53, 49, 0.028) 0 0.8px, transparent 1px);
    background-size: 15px 15px, 12px 12px;
}

.paper {
    position: absolute;
    top: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 0;
    padding: clamp(28px, 3.2vh, 46px) clamp(28px, 3.4vw, 58px) 22px;
    overflow: hidden;
}

.page-left {
    left: 16px;
    width: calc(50% - 16px);
    border-radius: 4px 0 0 4px;
    box-shadow:
        inset -28px 0 38px -36px rgba(49, 37, 25, 0.7),
        -5px 3px 0 var(--paper-deep),
        -8px 5px 0 rgba(225, 216, 198, 0.9);
}

.page-right {
    right: 16px;
    width: calc(50% - 16px);
    border-radius: 0 4px 4px 0;
    box-shadow:
        inset 28px 0 38px -36px rgba(49, 37, 25, 0.7),
        5px 3px 0 var(--paper-deep),
        8px 5px 0 rgba(225, 216, 198, 0.9);
}

.date-block {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: max-content;
    min-width: 150px;
    padding-bottom: clamp(18px, 2.4vh, 28px);
    border-bottom: 1px solid rgba(23, 59, 51, 0.5);
}

.date-line {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.page-month {
    margin-bottom: 6px;
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1;
}

.page-day {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.1vw, 64px);
    font-weight: 400;
    letter-spacing: -0.08em;
    line-height: 0.82;
}

.page-weekday {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.page-odd .date-block {
    align-self: flex-start;
    text-align: left;
}

.page-odd .date-line {
    flex-direction: row;
}

.page-odd .page-month {
    align-self: flex-start;
}

.page-even .date-block {
    align-self: flex-end;
    text-align: right;
}

.page-even .date-line {
    flex-direction: row-reverse;
}

.page-even .page-month {
    align-self: flex-end;
}

.editor-shell {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(22px, 3vh, 34px);
}

.editor-toolbar {
    position: absolute;
    top: calc(clamp(28px, 3.2vh, 46px) + 52px);
    z-index: 3;
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(23, 59, 51, 0.1);
    border-radius: 9px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    background: rgba(251, 247, 237, 0.88);
    box-shadow: 0 5px 14px rgba(37, 50, 43, 0.06);
    transition:
        visibility 0s linear 160ms,
        opacity 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.page-odd > .editor-toolbar {
    right: clamp(28px, 3.4vw, 58px);
}

.page-even > .editor-toolbar {
    left: clamp(28px, 3.4vw, 58px);
}

.paper:focus-within > .editor-toolbar,
.paper.is-time-picker-open > .editor-toolbar {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 7px 18px rgba(37, 50, 43, 0.1);
    transition-delay: 0s;
}

.editor-toolbar button {
    display: grid;
    width: 29px;
    height: 27px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: rgba(23, 59, 51, 0.72);
    background: transparent;
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    transition: color 140ms ease, background 140ms ease;
}

.editor-toolbar button:hover,
.editor-toolbar button:focus-visible,
.editor-toolbar button.is-active {
    color: var(--ink);
    background: rgba(23, 59, 51, 0.09);
}

.editor-toolbar button.is-active {
    box-shadow: inset 0 0 0 1px rgba(23, 59, 51, 0.08);
}

.editor-toolbar .editor-urgent-action.is-active {
    color: #9a2139;
    background: rgba(154, 33, 57, 0.11);
    box-shadow: inset 0 0 0 1px rgba(154, 33, 57, 0.16);
}

.editor-toolbar button:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.editor-toolbar .editor-share-action {
    position: relative;
    margin-left: 5px;
}

.editor-toolbar .editor-share-action::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: -5px;
    width: 1px;
    content: "";
    background: rgba(45, 43, 40, 0.12);
}

.notes,
.snapshot-notes {
    width: 100%;
    min-height: 0;
    color: #244b42;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 33px,
        var(--line) 34px
    );
    background-attachment: local;
    font-family: var(--planner-editor-font-family, "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive);
    font-size: var(--planner-editor-font-size, clamp(14px, 1.15vw, 17px));
    line-height: 34px;
}

.notes {
    height: 100%;
    padding: 0 4px;
    border: 0;
    outline: 0;
    overflow: auto;
    background-color: transparent;
    caret-color: var(--wine);
    scrollbar-color: rgba(23, 59, 51, 0.22) transparent;
    scrollbar-width: thin;
}

.notes:empty::before {
    content: attr(data-placeholder);
    color: rgba(23, 59, 51, 0.28);
    pointer-events: none;
}

.notes:focus-visible {
    outline: 0;
}

.paper.is-entry-loading .editor-toolbar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.notes[aria-busy="true"] {
    cursor: progress;
}

.notes p,
.notes div,
.notes ul,
.notes li {
    margin-top: 0;
    margin-bottom: 0;
}

.notes ul {
    padding-left: 24px;
}

.notes li::marker {
    color: var(--wine);
}

.notes font,
.snapshot-notes font {
    font-size: inherit;
}

.entry-time {
    display: inline-flex;
    min-height: 20px;
    margin-right: 7px;
    padding: 0 7px;
    align-items: center;
    border: 1px solid rgba(128, 38, 62, 0.18);
    border-radius: 999px;
    color: var(--wine);
    background: rgba(128, 38, 62, 0.055);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.035em;
    line-height: 18px;
    vertical-align: 2px;
    white-space: nowrap;
}

.checklist-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 34px;
}

.checklist-item input[type="checkbox"] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 9px 0 0;
    accent-color: var(--wine);
    cursor: pointer;
}

.checklist-text {
    min-width: 1px;
    transition: color 150ms ease, opacity 150ms ease;
}

.checklist-item.is-checked .checklist-text,
.checklist-item:has(input:checked) .checklist-text {
    color: rgba(36, 75, 66, 0.48);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.urgent-entry::after {
    display: inline-flex;
    min-height: 16px;
    margin-left: 8px;
    padding: 0 6px;
    align-items: center;
    border-radius: 999px;
    color: #fffaf7;
    background: #a92841;
    content: "URGENTE";
    font-family: var(--font-ui);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 16px;
    text-decoration: none;
    vertical-align: 2px;
    white-space: nowrap;
}

html[lang="en"] .urgent-entry::after {
    content: "URGENT";
}

.checklist-item.urgent-entry::after {
    flex: 0 0 auto;
    align-self: center;
    margin-bottom: 2px;
}

.line-move-button {
    position: absolute;
    left: -31px;
    z-index: 5;
    display: grid;
    width: 30px;
    height: 27px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 7px;
    opacity: 0;
    color: rgba(23, 59, 51, 0.64);
    background: transparent;
    cursor: grab;
    pointer-events: none;
    touch-action: none;
    transform: translateX(3px) scale(0.94);
    transition: opacity 130ms ease, color 130ms ease, background 130ms ease, transform 130ms ease;
}

.line-move-button.is-visible {
    opacity: 0.62;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.line-move-button:hover,
.line-move-button:focus-visible {
    opacity: 1;
    color: var(--ink);
    background: rgba(23, 59, 51, 0.07);
}

.line-move-button.is-dragging {
    opacity: 1;
    cursor: grabbing;
    color: var(--ink);
    background: rgba(251, 249, 243, 0.96);
    box-shadow: 0 4px 12px rgba(45, 43, 40, 0.14);
}

.line-move-button svg {
    width: 24px;
    height: 14px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-move-button svg circle {
    fill: currentColor;
    stroke: none;
}

.is-line-dragging {
    opacity: 0.24;
}

.line-drag-ghost {
    position: fixed;
    z-index: 140;
    width: min(360px, calc(100vw - 36px));
    max-height: 46px;
    padding: 7px 12px;
    overflow: hidden;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 8px;
    color: #3f3c37;
    background:
        radial-gradient(rgba(55, 53, 49, 0.07) 0.55px, transparent 0.65px) 0 0 / 9px 9px,
        rgba(251, 249, 243, 0.98);
    box-shadow: 0 13px 28px rgba(31, 29, 25, 0.22);
    font-family: var(--planner-editor-font-family, "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive);
    font-size: 14px;
    line-height: 30px;
    pointer-events: none;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.is-reordering-line,
body.is-reordering-line * {
    cursor: grabbing !important;
    user-select: none !important;
}

.snapshot-notes {
    margin-top: clamp(22px, 3vh, 34px);
    padding: 0 4px;
    pointer-events: none;
}

.page-footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    margin-top: 12px;
    color: rgba(23, 59, 51, 0.36);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.1em;
}

.page-brand-mark {
    display: block;
    width: 42px;
    height: auto;
    object-fit: contain;
    opacity: 0.24;
}

.page-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.book-spine {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    z-index: 6;
    width: 24px;
    pointer-events: none;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(55, 42, 28, 0.13) 45%, rgba(255, 255, 255, 0.2) 51%, rgba(55, 42, 28, 0.13) 57%, transparent);
    mix-blend-mode: multiply;
}

.page-control {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.065);
    cursor: pointer;
    font-size: 19px;
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.page-control:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.13);
    transform: scale(1.05);
}

.page-control:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.page-control > span {
    position: relative;
    top: -1.5px;
    display: block;
    line-height: 1;
}

.flip-page {
    position: absolute;
    top: 10px;
    bottom: 10px;
    z-index: 12;
    display: none;
    width: calc(50% - 16px);
    transform-style: preserve-3d;
}

.flip-page.is-next {
    left: 50%;
    display: block;
    transform-origin: left center;
    animation: flip-next 700ms cubic-bezier(0.44, 0.02, 0.29, 1) forwards;
}

.flip-page.is-prev {
    left: 16px;
    display: block;
    transform-origin: right center;
    animation: flip-prev 700ms cubic-bezier(0.44, 0.02, 0.29, 1) forwards;
}

.flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.2vh, 46px) clamp(28px, 3.4vw, 58px) 22px;
    overflow: hidden;
    backface-visibility: hidden;
}

.flip-front {
    border-radius: 0 4px 4px 0;
    box-shadow: inset 24px 0 38px -36px rgba(49, 37, 25, 0.7);
}

.flip-back {
    border-radius: 4px 0 0 4px;
    box-shadow: inset -24px 0 38px -36px rgba(49, 37, 25, 0.7);
    transform: rotateY(180deg);
}

.snapshot-notes {
    flex: 1 1 auto;
    padding: 0 4px;
    overflow: hidden;
    white-space: pre-wrap;
}

.paper.is-empty::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    content: "FIN";
    color: rgba(23, 59, 51, 0.17);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    letter-spacing: 0.3em;
}

.paper.is-empty > * {
    visibility: hidden;
}

.planner-hint {
    flex: 0 0 auto;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 550;
    letter-spacing: 0.04em;
    text-align: center;
}

.line-move-popover,
.time-insert-popover {
    position: fixed;
    z-index: 70;
    width: min(292px, calc(100vw - 24px));
    padding: 17px;
    border: 1px solid rgba(23, 59, 51, 0.15);
    border-radius: 11px;
    color: var(--ink);
    background:
        radial-gradient(rgba(27, 58, 50, 0.065) 0.6px, transparent 0.7px) 0 0 / 9px 9px,
        #fbf7ed;
    box-shadow: 0 20px 52px rgba(8, 18, 15, 0.3);
}

.line-move-popover[hidden],
.time-insert-popover[hidden] {
    display: none;
}

.line-move-popover form,
.time-insert-popover form {
    display: grid;
    gap: 10px;
}

.line-move-popover strong,
.line-move-popover label,
.time-insert-popover strong,
.time-insert-popover label {
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.line-move-preview {
    max-height: 46px;
    margin: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    line-height: 1.45;
}

.line-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.line-order-actions button {
    display: inline-flex;
    min-height: 38px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 5px;
    color: rgba(45, 43, 40, 0.78);
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.07em;
}

.line-order-actions button:hover,
.line-order-actions button:focus-visible {
    border-color: rgba(45, 43, 40, 0.3);
    color: var(--ink);
    background: rgba(45, 43, 40, 0.06);
}

.line-order-actions button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.line-order-actions span {
    font-size: 15px;
    font-weight: 450;
    line-height: 1;
}

.line-move-date-section {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(45, 43, 40, 0.12);
}

.line-move-popover input,
.time-insert-popover input {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(23, 59, 51, 0.2);
    border-radius: 6px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.line-move-popover input:focus,
.time-insert-popover input:focus {
    border-color: rgba(23, 59, 51, 0.52);
    box-shadow: 0 0 0 3px rgba(23, 59, 51, 0.07);
}

.line-move-error {
    min-height: 15px;
    margin: -3px 0 0;
    color: var(--wine);
    font-size: 10px;
    line-height: 1.4;
}

.line-move-actions,
.time-insert-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.line-move-actions button,
.time-insert-actions button {
    min-height: 38px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.line-move-cancel,
.time-insert-cancel {
    border: 1px solid rgba(23, 59, 51, 0.17);
    color: rgba(23, 59, 51, 0.65);
    background: transparent;
}

.line-move-submit,
.time-insert-submit {
    border: 0;
    color: #fffdf7;
    background: var(--ink);
}

.line-move-actions button:disabled,
.time-insert-actions button:disabled {
    opacity: 0.52;
    cursor: wait;
}

.share-overlay {
    position: fixed;
    inset: 0;
    z-index: 96;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    background: rgba(32, 31, 29, 0.66);
    backdrop-filter: blur(14px) saturate(0.72);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.share-overlay[hidden] {
    display: none;
}

.share-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.share-dialog {
    position: relative;
    width: min(470px, 100%);
    max-height: calc(100svh - 34px);
    padding: 25px;
    overflow-y: auto;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 10px;
    color: #2d2b27;
    background:
        radial-gradient(rgba(55, 53, 49, 0.07) 0.58px, transparent 0.68px) 0 0 / 10px 10px,
        #f7f4ed;
    box-shadow: 0 32px 100px rgba(18, 17, 15, 0.42);
    transform: translateY(14px) scale(0.985);
    transition: transform 240ms cubic-bezier(0.2, 0.85, 0.2, 1);
    scrollbar-color: rgba(45, 43, 40, 0.24) transparent;
    scrollbar-width: thin;
}

.share-overlay.is-visible .share-dialog {
    transform: translateY(0) scale(1);
}

.share-close {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 1;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0 0 2px;
    place-items: center;
    border: 1px solid rgba(45, 43, 40, 0.11);
    border-radius: 50%;
    color: rgba(45, 43, 40, 0.62);
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 21px;
}

.share-close:hover,
.share-close:focus-visible {
    color: #2d2b27;
    background: rgba(45, 43, 40, 0.08);
}

.share-header {
    padding: 0 40px 16px 0;
}

.share-header > span {
    color: #a37d32;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.share-header h2 {
    margin: 5px 0 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.share-header p {
    min-height: 14px;
    margin: 0;
    color: rgba(45, 43, 40, 0.54);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.share-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 18px;
    border-bottom: 1px solid rgba(45, 43, 40, 0.14);
}

.share-mode-tabs button {
    position: relative;
    display: flex;
    min-height: 41px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 0;
    color: rgba(45, 43, 40, 0.48);
    background: transparent;
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.share-mode-tabs button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    content: "";
    background: transparent;
}

.share-mode-tabs button:hover,
.share-mode-tabs button:focus-visible,
.share-mode-tabs button[aria-selected="true"] {
    color: #2d2b27;
}

.share-mode-tabs button[aria-selected="true"]::after {
    background: #2d2b27;
}

.share-mode-panel[hidden],
.share-link-ready[hidden],
.share-link-loading[hidden],
.share-link-create[hidden] {
    display: none;
}

.share-preview-stage {
    display: grid;
    width: min(404px, 100%);
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    margin: 0 auto;
}

.share-preview-frame {
    position: relative;
    display: grid;
    grid-column: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(45, 43, 40, 0.14);
    border-radius: 6px;
    background: #efede7;
    box-shadow: 0 18px 42px rgba(31, 29, 25, 0.16);
}

.share-preview-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    border: 6px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.share-preview-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-preview-frame img[hidden],
.share-page-nav[hidden],
.share-page-count[hidden],
.share-actions button[hidden] {
    display: none;
}

.share-page-nav {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(45, 43, 40, 0.18);
    border-radius: 50%;
    color: rgba(45, 43, 40, 0.75);
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.share-page-previous {
    grid-column: 1;
}

.share-page-next {
    grid-column: 3;
}

.share-page-nav:hover:not(:disabled),
.share-page-nav:focus-visible:not(:disabled) {
    color: #2d2b27;
    background: rgba(45, 43, 40, 0.08);
    transform: translateY(-1px);
}

.share-page-nav:disabled {
    opacity: 0.24;
    cursor: default;
}

.share-page-count {
    min-height: 13px;
    margin: 10px 0 0;
    color: rgba(45, 43, 40, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
}

.share-loading {
    color: rgba(45, 43, 40, 0.52);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.share-loading::before {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    content: "";
    border: 2px solid rgba(45, 43, 40, 0.16);
    border-top-color: #a37d32;
    border-radius: 50%;
    animation: share-spin 800ms linear infinite;
}

.share-privacy {
    margin: 15px auto 0;
    color: rgba(45, 43, 40, 0.58);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.share-error {
    margin: 10px 0 0;
    color: #7d273d;
    font-size: 11px;
    text-align: center;
}

.share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px;
}

.share-actions button {
    display: flex;
    min-height: 44px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.share-native {
    border: 1px solid #2d2b27;
    color: #fffdf8;
    background: #2d2b27;
}

.share-download {
    border: 1px solid rgba(45, 43, 40, 0.2);
    color: #2d2b27;
    background: rgba(255, 255, 255, 0.35);
}

.share-actions button:hover:not(:disabled),
.share-actions button:focus-visible:not(:disabled) {
    transform: translateY(-1px);
}

.share-actions button:disabled {
    opacity: 0.42;
    cursor: wait;
}

.share-link-panel {
    min-height: 440px;
    padding: 35px 8px 10px;
    text-align: center;
}

.share-link-mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin: 0 auto 19px;
    border: 1px solid rgba(45, 43, 40, 0.14);
    border-radius: 50%;
    color: #a37d32;
    background: rgba(255, 255, 255, 0.28);
}

.share-link-panel h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.share-link-explanation {
    max-width: 350px;
    margin: 11px auto 24px;
    color: rgba(45, 43, 40, 0.62);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    line-height: 1.55;
}

.share-link-loading {
    margin-top: 40px;
    color: rgba(45, 43, 40, 0.47);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.share-link-loading::before {
    display: block;
    width: 23px;
    height: 23px;
    margin: 0 auto 12px;
    content: "";
    border: 2px solid rgba(45, 43, 40, 0.14);
    border-top-color: #a37d32;
    border-radius: 50%;
    animation: share-spin 800ms linear infinite;
}

.share-link-create {
    display: flex;
    width: min(330px, 100%);
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    margin: 32px auto 0;
    padding: 0 18px;
    border: 1px solid #2d2b27;
    border-radius: 5px;
    color: #fffdf8;
    background: #2d2b27;
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.share-link-create:hover,
.share-link-create:focus-visible {
    transform: translateY(-1px);
}

.share-link-create:disabled {
    opacity: 0.52;
    cursor: wait;
}

.share-link-ready {
    width: min(360px, 100%);
    margin: 28px auto 0;
    text-align: left;
}

.share-link-ready > label {
    display: block;
    margin-bottom: 8px;
    color: rgba(45, 43, 40, 0.58);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.share-link-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(45, 43, 40, 0.18);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
}

.share-link-field input {
    min-width: 0;
    height: 45px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: rgba(45, 43, 40, 0.7);
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.share-link-field button {
    min-width: 76px;
    border: 0;
    color: #fffdf8;
    background: #2d2b27;
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.share-link-field button:disabled,
.share-link-revoke:disabled {
    opacity: 0.52;
    cursor: wait;
}

.share-link-meta {
    min-height: 15px;
    margin: 9px 0 0;
    color: rgba(45, 43, 40, 0.5);
    font: 11px/1.35 Georgia, "Times New Roman", serif;
}

.share-link-revoke {
    margin: 16px 0 0;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid rgba(125, 39, 61, 0.36);
    color: #7d273d;
    background: transparent;
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.share-link-feedback {
    min-height: 17px;
    margin: 15px 0 0;
    color: #2d6e55;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.share-link-feedback.is-error {
    color: #7d273d;
}

@keyframes share-spin {
    to {
        transform: rotate(360deg);
    }
}

.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    background: rgba(20, 39, 34, 0.38);
    backdrop-filter: blur(9px) saturate(0.82);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.login-overlay[hidden] {
    display: none;
}

.login-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.login-dialog {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100svh - 30px);
    padding: 38px 40px 40px;
    border: 1px solid rgba(23, 59, 51, 0.14);
    border-radius: 4px;
    color: var(--ink);
    background:
        radial-gradient(rgba(27, 58, 50, 0.08) 0.65px, transparent 0.7px) 0 0 / 9px 9px,
        #fbf7ed;
    box-shadow: 0 28px 80px rgba(16, 30, 26, 0.3);
    transform: translateY(12px) scale(0.985);
    transition: transform 240ms cubic-bezier(0.2, 0.85, 0.2, 1);
    overflow-y: auto;
}

.login-overlay.is-visible .login-dialog {
    transform: translateY(0) scale(1);
}

.login-dialog::after {
    position: absolute;
    inset: 8px;
    z-index: -1;
    content: "";
    border: 1px solid rgba(23, 59, 51, 0.07);
    pointer-events: none;
}

.login-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0 0 2px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(23, 59, 51, 0.58);
    background: transparent;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 22px;
}

.login-close:hover {
    background: rgba(23, 59, 51, 0.07);
}

.login-monogram {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(23, 59, 51, 0.34);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-style: italic;
}

.login-logo {
    display: block;
    width: 150px;
    height: auto;
    margin: -2px 0 20px;
}

.login-dialog h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 20px 0 8px;
    border-bottom: 1px solid rgba(23, 59, 51, 0.14);
}

.auth-tabs button {
    position: relative;
    padding: 12px 6px;
    border: 0;
    color: rgba(23, 59, 51, 0.45);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.auth-tabs button[aria-selected="true"] {
    color: var(--ink);
}

.auth-tabs button[aria-selected="true"]::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--wine);
}

.auth-panel[hidden] {
    display: none;
}

.auth-message {
    min-height: 18px;
    margin: 10px 0 0;
    color: #8a2d42;
    font-size: 11px;
    line-height: 1.45;
}

.auth-message.is-success {
    color: #326850;
}

.auth-message a {
    color: inherit;
    font-weight: 700;
}

.auth-confirmation {
    padding: 28px 16px 4px;
    text-align: center;
}

.auth-confirmation-mark {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid rgba(45, 43, 40, 0.26);
    border-radius: 50%;
    color: #3f684f;
    background: rgba(255, 255, 255, 0.45);
    font-size: 21px;
}

.auth-confirmation-kicker {
    margin: 0 0 15px;
    color: rgba(45, 43, 40, 0.56);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.auth-confirmation-copy,
.auth-confirmation-note {
    margin: 0;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.55;
}

.auth-confirmation-email {
    display: block;
    margin: 5px 0 15px;
    color: var(--ink);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.auth-confirmation-local-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    text-underline-offset: 3px;
}

.auth-confirmation .login-submit {
    width: 100%;
    margin-top: 24px;
}

.auth-confirmation-login {
    margin: 14px auto 0;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin: 14px 0 7px;
    color: rgba(23, 59, 51, 0.68);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.login-form input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid rgba(23, 59, 51, 0.18);
    border-radius: 2px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.48);
    font-size: 15px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-form input:focus {
    border-color: rgba(23, 59, 51, 0.52);
    box-shadow: 0 0 0 3px rgba(23, 59, 51, 0.07);
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-field-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.password-hint {
    margin: 7px 0 0;
    color: var(--wine);
    font-size: 10px;
}

.login-form .legal-consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 14px 0 0;
    color: rgba(23, 59, 51, 0.68);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    cursor: pointer;
}

.login-form .legal-consent input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--ink);
    cursor: pointer;
}

.legal-consent a {
    color: var(--ink);
    text-underline-offset: 2px;
}

.auth-link {
    align-self: flex-start;
    margin: 10px 0 0;
    padding: 2px 0;
    border: 0;
    color: rgba(23, 59, 51, 0.62);
    background: transparent;
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resend-link {
    color: var(--wine);
}

.auth-back {
    margin-top: 15px;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    border-radius: 2px;
    color: #fffdf7;
    background: var(--ink);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    transition: transform 150ms ease, opacity 150ms ease;
    margin-top: 18px;
}

.login-submit:hover:not(:disabled) {
    transform: translateY(-1px);
}

.login-submit:disabled {
    opacity: 0.62;
    cursor: wait;
}

.account-overlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    background: rgba(12, 25, 22, 0.5);
    backdrop-filter: blur(10px) saturate(0.8);
    transition: opacity 220ms ease, visibility 220ms ease;
}

.account-overlay[hidden] {
    display: none;
}

.account-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.account-dialog {
    width: min(940px, 100%);
    max-height: min(760px, calc(100svh - 44px));
    padding: 28px 30px 30px;
    overflow-y: auto;
    border: 1px solid rgba(23, 59, 51, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background:
        radial-gradient(rgba(27, 58, 50, 0.07) 0.65px, transparent 0.7px) 0 0 / 9px 9px,
        #fbf7ed;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
    transform: translateY(12px) scale(0.985);
    transition: transform 240ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.account-overlay.is-visible .account-dialog {
    transform: translateY(0) scale(1);
}

.account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 59, 51, 0.12);
}

.account-header span {
    color: #8b6b34;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.account-header h2 {
    margin: 4px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
}

.account-close {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0 0 2px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(23, 59, 51, 0.6);
    background: rgba(23, 59, 51, 0.05);
    cursor: pointer;
    font-size: 22px;
}

.account-message {
    min-height: 18px;
    margin: 12px 0 0;
    color: #326850;
    font-size: 11px;
}

.account-message.is-error {
    color: var(--wine);
}

.account-content {
    display: grid;
    grid-template-columns: 1fr 1fr 0.82fr;
    gap: 18px;
    margin-top: 12px;
}

.account-section {
    min-width: 0;
    padding: 19px;
    border: 1px solid rgba(23, 59, 51, 0.11);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.28);
}

.account-section h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
}

.account-section > p,
.delete-account-form p {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.5;
}

.account-agendas-section {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 24px;
    align-items: center;
}

.account-agendas-copy p {
    max-width: 420px;
    margin: 0;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.5;
}

.account-agendas-form > label {
    margin-top: 0;
}

.account-agendas-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 8px;
}

.account-agendas-control > button {
    min-height: 39px;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: var(--ink);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.account-agendas-form small {
    margin-top: 7px;
    color: rgba(23, 59, 51, 0.5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
}

.account-form {
    display: flex;
    flex-direction: column;
}

.account-form label,
.account-label-row label {
    margin: 11px 0 6px;
    color: rgba(23, 59, 51, 0.62);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.account-form input,
.account-form select {
    width: 100%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid rgba(23, 59, 51, 0.17);
    border-radius: 4px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.account-form select {
    appearance: none;
    padding-right: 30px;
    background-image: linear-gradient(45deg, transparent 50%, rgba(23, 59, 51, 0.6) 50%), linear-gradient(135deg, rgba(23, 59, 51, 0.6) 50%, transparent 50%);
    background-position: calc(100% - 14px) 16px, calc(100% - 9px) 16px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.account-form input:focus,
.account-form select:focus {
    border-color: rgba(23, 59, 51, 0.48);
    box-shadow: 0 0 0 3px rgba(23, 59, 51, 0.06);
}

.cover-color-fieldset,
.text-size-fieldset,
.font-style-fieldset {
    min-width: 0;
    margin: 15px 0 1px;
    padding: 0;
    border: 0;
}

.account-section[hidden] {
    display: none;
}

.cover-color-fieldset legend,
.text-size-fieldset legend,
.font-style-fieldset legend {
    margin: 0 0 10px;
    padding: 0;
    color: rgba(45, 43, 40, 0.64);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.text-size-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.account-form .text-size-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.account-form .text-size-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.text-size-option > span {
    display: flex;
    min-height: 54px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 5px;
    color: rgba(45, 43, 40, 0.68);
    background: rgba(255, 255, 255, 0.38);
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.text-size-option small {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.text-size-preview {
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-weight: 400;
    line-height: 1;
}

.text-size-preview.is-small { font-size: 13px; }
.text-size-preview.is-normal { font-size: 16px; }
.text-size-preview.is-large { font-size: 20px; }

.text-size-option:hover > span {
    border-color: rgba(45, 43, 40, 0.3);
    transform: translateY(-1px);
}

.text-size-option input:checked + span {
    border-color: #2d2b28;
    color: #2d2b28;
    background: rgba(45, 43, 40, 0.055);
    box-shadow: inset 0 0 0 1px #2d2b28;
}

.text-size-option input:focus-visible + span {
    outline: 3px solid rgba(45, 43, 40, 0.24);
    outline-offset: 2px;
}

.font-style-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.account-form .font-style-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.account-form .font-style-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.font-style-option > span {
    display: flex;
    min-height: 64px;
    padding: 8px 10px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 43, 40, 0.15);
    border-radius: 5px;
    color: rgba(45, 43, 40, 0.68);
    background: rgba(255, 255, 255, 0.38);
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.font-style-preview {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.05;
}

.font-style-preview.is-handwritten {
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

.font-style-preview.is-script {
    font-family: "Segoe Script", "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
}

.font-style-preview.is-serif {
    font-family: Georgia, "Times New Roman", serif;
}

.font-style-preview.is-mono {
    font-family: "Courier New", Courier, monospace;
}

.font-style-option small {
    font-family: var(--font-ui);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.font-style-option:hover > span {
    border-color: rgba(45, 43, 40, 0.3);
    transform: translateY(-1px);
}

.font-style-option input:checked + span {
    border-color: #2d2b28;
    color: #2d2b28;
    background: rgba(45, 43, 40, 0.055);
    box-shadow: inset 0 0 0 1px #2d2b28;
}

.font-style-option input:focus-visible + span {
    outline: 3px solid rgba(45, 43, 40, 0.24);
    outline-offset: 2px;
}

.cover-color-picker {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 34px;
    padding: 2px 3px;
}

.account-form .cover-color-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.account-form .cover-color-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.cover-color-swatch {
    display: block;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(45, 43, 40, 0.2);
    border-radius: 50%;
    background: #242321;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 2px 5px rgba(31, 29, 25, 0.1);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.cover-color-swatch[data-color="white"] {
    background: #eeeae1;
}

.cover-color-swatch[data-color="navy"] {
    background: #182a43;
}

.cover-color-swatch[data-color="wine"] {
    background: #64273f;
}

.cover-color-swatch[data-color="green"] {
    background: #31513e;
}

.cover-color-swatch[data-color="mustard"] {
    background: #9b7628;
}

.cover-color-option:hover .cover-color-swatch {
    transform: translateY(-2px);
}

.cover-color-option input:checked + .cover-color-swatch {
    box-shadow:
        0 0 0 2px #f6f4ee,
        0 0 0 4px #2d2b28,
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 3px 7px rgba(31, 29, 25, 0.14);
    transform: translateY(-1px);
}

.cover-color-option input:focus-visible + .cover-color-swatch {
    outline: 3px solid rgba(45, 43, 40, 0.4);
    outline-offset: 4px;
}

.account-form > button,
.account-secondary-button {
    display: grid;
    min-height: 40px;
    margin-top: 15px;
    padding: 0 13px;
    place-items: center;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: var(--ink);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-align: center;
    text-decoration: none;
}

.account-install-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    padding: 0 13px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(45, 43, 40, 0.24);
    border-radius: 4px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.account-install-button:hover {
    border-color: rgba(45, 43, 40, 0.46);
    background: rgba(45, 43, 40, 0.035);
}

.account-install-button:focus-visible {
    outline: 2px solid rgba(45, 43, 40, 0.48);
    outline-offset: 3px;
}

.account-install-button[hidden] {
    display: none;
}

.account-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verification-badge {
    margin-top: 11px;
    color: #8b6b34;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.verification-badge.is-verified {
    color: #326850;
}

.account-danger-link {
    margin-top: 16px;
    padding: 0;
    border: 0;
    color: var(--wine);
    background: transparent;
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.delete-account-form[hidden] {
    display: none;
}

.delete-account-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(123, 41, 61, 0.16);
}

.account-form > .danger-button {
    background: var(--wine);
}

@keyframes flip-next {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: rotateY(0deg);
    }
    48% {
        box-shadow: -22px 12px 28px rgba(0, 0, 0, 0.22);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: rotateY(-180deg);
    }
}

@keyframes flip-prev {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: rotateY(0deg);
    }
    48% {
        box-shadow: 22px 12px 28px rgba(0, 0, 0, 0.22);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: rotateY(180deg);
    }
}

.conflict-overlay {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    background: rgba(20, 39, 34, 0.48);
    backdrop-filter: blur(10px) saturate(0.8);
    transition: opacity 200ms ease, visibility 200ms ease;
}

.conflict-overlay[hidden] {
    display: none;
}

.conflict-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.conflict-dialog {
    width: min(720px, 100%);
    max-height: calc(100svh - 30px);
    padding: 32px;
    border: 1px solid rgba(23, 59, 51, 0.15);
    border-radius: 6px;
    color: var(--ink);
    background:
        radial-gradient(rgba(27, 58, 50, 0.08) 0.65px, transparent 0.7px) 0 0 / 9px 9px,
        #fbf7ed;
    box-shadow: 0 30px 90px rgba(10, 25, 21, 0.36);
    transform: translateY(10px) scale(0.985);
    transition: transform 220ms ease;
    overflow-y: auto;
}

.conflict-overlay.is-visible .conflict-dialog {
    transform: translateY(0) scale(1);
}

.conflict-dialog .login-monogram {
    width: 42px;
    height: 42px;
    font-size: 22px;
}

.conflict-dialog h2 {
    margin: 18px 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
}

.conflict-dialog > p {
    margin: 0;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.5;
}

.conflict-versions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.conflict-versions section {
    min-width: 0;
}

.conflict-versions h3 {
    margin: 0 0 7px;
    color: rgba(23, 59, 51, 0.58);
    font-size: 9px;
    letter-spacing: 0.09em;
}

.conflict-preview {
    min-height: 130px;
    max-height: 230px;
    padding: 14px;
    border: 1px solid rgba(23, 59, 51, 0.13);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.42);
    overflow: auto;
}

.conflict-preview:empty::before {
    content: attr(data-empty-label);
    color: rgba(23, 59, 51, 0.38);
}

.conflict-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 18px;
}

.conflict-actions button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.conflict-secondary {
    border: 1px solid rgba(23, 59, 51, 0.2);
    color: var(--ink);
    background: transparent;
}

.conflict-primary {
    border: 1px solid var(--ink);
    color: #fff;
    background: var(--ink);
}

/* Unified neutral editorial language outside the black-and-gold cover. */
.planner-overlay,
.login-overlay,
.account-overlay,
.conflict-overlay {
    background: rgba(38, 37, 34, 0.46);
    backdrop-filter: blur(12px) saturate(0.68);
}

.planner-dialog {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(42, 41, 38, 0.84);
    box-shadow: 0 36px 100px rgba(18, 17, 15, 0.42);
}

.date-popover,
.line-move-popover,
.time-insert-popover,
.login-dialog,
.account-dialog,
.conflict-dialog {
    border-color: rgba(45, 43, 40, 0.16);
    color: var(--ink);
    background:
        radial-gradient(rgba(55, 53, 49, 0.08) 0.58px, transparent 0.68px) 0 0 / 10px 10px,
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(246, 244, 238, 0.82)),
        #f6f4ee;
}

.date-popover,
.line-move-popover,
.time-insert-popover {
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(31, 29, 25, 0.22);
}

.date-popover::before {
    border-color: rgba(45, 43, 40, 0.16);
    background: #f6f4ee;
}

.date-popover > label,
.line-move-popover strong,
.line-move-popover label,
.time-insert-popover strong,
.time-insert-popover label,
.login-form label,
.account-form label,
.account-label-row label,
.conflict-versions h3 {
    color: rgba(45, 43, 40, 0.64);
}

.date-popover input,
.date-popover select,
.line-move-popover input,
.time-insert-popover input,
.login-form input,
.account-form input,
.account-form select {
    border-color: rgba(45, 43, 40, 0.18);
    border-radius: 4px;
    color: var(--ink);
    background-color: rgba(255, 255, 255, 0.64);
}

.date-popover select,
.account-form select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(45, 43, 40, 0.58) 50%),
        linear-gradient(135deg, rgba(45, 43, 40, 0.58) 50%, transparent 50%);
}

.date-popover input:focus,
.date-popover select:focus,
.line-move-popover input:focus,
.time-insert-popover input:focus,
.login-form input:focus,
.account-form input:focus,
.account-form select:focus {
    border-color: rgba(45, 43, 40, 0.56);
    box-shadow: 0 0 0 3px rgba(45, 43, 40, 0.07);
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.account-form input:-webkit-autofill,
.account-form input:-webkit-autofill:hover,
.account-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #2d2b28;
    box-shadow: 0 0 0 1000px #f6f4ee inset;
    caret-color: #2d2b28;
}

.date-popover button,
.line-move-submit,
.time-insert-submit,
.login-submit,
.account-agendas-control > button,
.account-form > button,
.account-secondary-button,
.conflict-primary {
    color: #f8f6f0;
    background: #2d2b28;
}

.account-form > button.is-busy {
    color: rgba(248, 246, 240, 0.78);
    background: #44413d;
    cursor: wait;
}

.account-form > button.is-success {
    color: #fff;
    background: #3f684f;
}

.account-form > button.is-error {
    color: #fff;
    background: #7b293d;
}

.line-move-cancel,
.time-insert-cancel,
.conflict-secondary {
    border-color: rgba(45, 43, 40, 0.2);
    color: rgba(45, 43, 40, 0.72);
}

.date-popover small,
.line-move-preview,
.auth-link,
.account-section > p,
.account-agendas-copy p,
.account-agendas-form small,
.conflict-dialog > p {
    color: var(--ink-soft);
}

.login-dialog {
    width: min(470px, 100%);
    padding: 34px 44px 40px;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(31, 29, 25, 0.28);
}

.login-dialog::after {
    inset: 10px;
    border-color: rgba(45, 43, 40, 0.08);
    border-radius: 5px;
}

.login-close,
.account-close {
    color: rgba(45, 43, 40, 0.58);
    background: transparent;
}

.login-close:hover,
.account-close:hover {
    background: rgba(45, 43, 40, 0.06);
}

.login-logo {
    width: 102px;
    margin: 0 0 8px;
    opacity: 0.68;
}

.login-dialog h2 {
    padding: 0;
    color: #292825;
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.auth-header {
    display: flex;
    padding: 4px 36px 2px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.account-header > div::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: rgba(45, 43, 40, 0.18);
    content: "";
}

.account-header > div::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: rgba(45, 43, 40, 0.18);
    content: "";
}

.auth-tabs {
    margin-top: 16px;
    border-bottom-color: rgba(45, 43, 40, 0.14);
}

.auth-tabs button {
    color: rgba(45, 43, 40, 0.42);
}

.auth-tabs button[aria-selected="true"] {
    color: #292825;
}

.auth-tabs button[aria-selected="true"]::after {
    height: 1px;
    background: #292825;
}

.login-form input {
    height: 48px;
}

.login-submit {
    min-height: 50px;
    border-radius: 3px;
}

.login-monogram {
    border-color: rgba(45, 43, 40, 0.28);
}

.account-dialog {
    width: min(980px, 100%);
    border-radius: 10px;
    box-shadow: 0 32px 96px rgba(31, 29, 25, 0.34);
}

.account-header {
    border-bottom-color: rgba(45, 43, 40, 0.12);
}

.account-header > div {
    position: relative;
    padding: 10px 0 8px 24px;
}

.account-header h2 {
    margin: 0;
    color: #292825;
}

.account-content {
    gap: 16px;
}

.account-section {
    border-color: rgba(45, 43, 40, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.34);
}

.account-section h3 {
    color: #292825;
}

.account-close {
    border: 1px solid rgba(45, 43, 40, 0.12);
}

.verification-badge {
    color: rgba(45, 43, 40, 0.58);
}

.conflict-dialog {
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(31, 29, 25, 0.3);
}

.conflict-preview {
    border-color: rgba(45, 43, 40, 0.13);
    background-color: rgba(255, 255, 255, 0.48);
}

.conflict-preview:empty::before {
    color: rgba(45, 43, 40, 0.38);
}

.date-block {
    border-bottom-color: rgba(45, 43, 40, 0.48);
}

.editor-toolbar {
    border-color: rgba(45, 43, 40, 0.1);
    background: rgba(251, 249, 243, 0.9);
    box-shadow: 0 5px 14px rgba(45, 43, 40, 0.06);
}

.editor-toolbar button,
.line-move-button {
    color: rgba(45, 43, 40, 0.7);
}

.editor-toolbar button:hover,
.editor-toolbar button:focus-visible,
.editor-toolbar button.is-active,
.line-move-button:hover,
.line-move-button:focus-visible {
    background: rgba(45, 43, 40, 0.08);
}

.editor-toolbar button.is-active {
    box-shadow: inset 0 0 0 1px rgba(45, 43, 40, 0.08);
}

.paper:focus-within > .editor-toolbar,
.paper.is-time-picker-open > .editor-toolbar {
    box-shadow: 0 7px 18px rgba(45, 43, 40, 0.1);
}

.account-dialog[data-view="planners"] {
    width: min(760px, 100%);
}

.account-dialog[data-view="preferences"] {
    width: min(540px, 100%);
}

.account-dialog[data-view="account"] {
    width: min(800px, 100%);
}

.account-dialog[data-view="planners"] .account-content,
.account-dialog[data-view="preferences"] .account-content {
    grid-template-columns: minmax(0, 1fr);
}

.account-dialog[data-view="account"] .account-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-dialog[data-view="account"] .account-data-section {
    grid-column: 1 / -1;
}

.notes,
.snapshot-notes {
    color: #3f3c37;
}

.notes {
    scrollbar-color: rgba(45, 43, 40, 0.22) transparent;
}

.notes:empty::before {
    color: rgba(45, 43, 40, 0.28);
}

.checklist-item.is-checked .checklist-text,
.checklist-item:has(input:checked) .checklist-text {
    color: rgba(45, 43, 40, 0.46);
}

.page-footer,
.paper.is-empty::after {
    color: rgba(45, 43, 40, 0.32);
}

.login-dialog,
.account-dialog,
.conflict-dialog {
    scrollbar-color: rgba(45, 43, 40, 0.28) transparent;
    scrollbar-width: thin;
}

.login-dialog::-webkit-scrollbar,
.account-dialog::-webkit-scrollbar,
.conflict-dialog::-webkit-scrollbar {
    width: 8px;
}

.login-dialog::-webkit-scrollbar-track,
.account-dialog::-webkit-scrollbar-track,
.conflict-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.login-dialog::-webkit-scrollbar-thumb,
.account-dialog::-webkit-scrollbar-thumb,
.conflict-dialog::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(45, 43, 40, 0.28);
    background-clip: padding-box;
}

@media (max-width: 980px) {
    .paper,
    .flip-face {
        padding-inline: 30px;
    }

    .book-stage {
        gap: 11px;
    }

    .page-control {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .account-content {
        grid-template-columns: 1fr 1fr;
    }

    .account-data-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .workspace {
        height: 100svh;
        padding: 22px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .workspace::after {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 430px;
        background:
            radial-gradient(rgba(55, 53, 49, 0.1) 0.55px, transparent 0.65px) 0 0 / 12px 12px,
            linear-gradient(150deg, rgba(185, 182, 175, 0.26), rgba(117, 115, 109, 0.2));
        clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
    }

    .site-footer {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .welcome {
        grid-template-columns: 1fr;
        gap: 34px;
        width: 100%;
        min-width: 0;
        margin: 30px auto 38px;
    }

    .welcome-copy {
        width: 100%;
        min-width: 0;
        padding: 30px 0 0;
    }

    .welcome-copy::before {
        right: auto;
        bottom: auto;
        width: 52px;
        height: 1px;
    }

    .welcome-copy::after {
        display: none;
    }

    .welcome h1 {
        max-width: 100%;
        font-size: clamp(36px, 9vw, 40px);
        letter-spacing: -0.045em;
        line-height: 0.98;
        text-wrap: balance;
    }

    .intro {
        max-width: 100%;
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.55;
        text-wrap: pretty;
    }

    .planner-cover-stage {
        justify-content: flex-start;
        padding-left: clamp(6px, 10vw, 72px);
    }

    .planner-cover {
        width: 190px;
    }

    .planner-cover-inner {
        padding: 54px 18px 27px;
    }

    .planner-cover-year {
        font-size: 24px;
    }

    .planner-cover-type {
        font-size: 7px;
    }

    .planner-overlay {
        padding: 0;
    }

    .share-overlay {
        padding: 10px;
        align-items: end;
    }

    .share-dialog {
        width: 100%;
        max-height: calc(100svh - 20px);
        padding: 22px 18px 18px;
        border-radius: 14px;
    }

    .share-header h2 {
        font-size: 25px;
    }

    .share-preview-stage {
        grid-template-columns: 30px minmax(0, 1fr) 30px;
        gap: 6px;
    }

    .share-preview-frame {
        max-height: 55svh;
    }

    .share-page-nav {
        width: 30px;
        height: 30px;
    }

    .share-privacy {
        max-width: 310px;
    }

    .planner-dialog {
        width: 100%;
        height: 100svh;
        min-height: 0;
        padding: 10px 8px 8px;
        border: 0;
        border-radius: 0;
        background: rgba(24, 35, 33, 0.9);
    }

    .planner-toolbar {
        padding-inline: 6px;
    }

    .save-state > span {
        display: none;
    }

    .save-state {
        margin-right: 1px;
    }

    .date-popover {
        width: min(270px, calc(100vw - 24px));
    }

    .account-overlay {
        padding: 0;
    }

    .account-dialog {
        width: 100%;
        max-height: 100svh;
        min-height: 100svh;
        padding: 22px 18px 28px;
        border: 0;
        border-radius: 0;
    }

    .account-content {
        grid-template-columns: 1fr;
    }

    .account-dialog[data-view] .account-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-dialog[data-view="account"] .account-data-section {
        grid-column: auto;
    }

    .account-agendas-section,
    .account-data-section {
        grid-column: auto;
    }

    .account-agendas-section {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .conflict-overlay {
        padding: 0;
    }

    .conflict-dialog {
        width: 100%;
        max-height: 100svh;
        min-height: 100svh;
        padding: 24px 18px;
        border: 0;
        border-radius: 0;
    }

    .conflict-versions {
        grid-template-columns: 1fr;
    }

    .conflict-preview {
        min-height: 90px;
        max-height: 145px;
    }

    .book-stage {
        position: relative;
        display: block;
        padding: 0 8px 60px;
    }

    .book {
        width: 100%;
        height: 100%;
    }

    .paper {
        width: calc(100% - 24px);
    }

    .page-left {
        right: 12px;
        left: 12px;
        width: calc(100% - 24px);
        border-radius: 4px;
        box-shadow:
            -4px 4px 0 var(--paper-deep),
            4px 5px 0 rgba(225, 216, 198, 0.9);
    }

    .page-right,
    .book-spine {
        display: none;
    }

    .page-control {
        position: absolute;
        bottom: 6px;
        z-index: 20;
    }

    .page-control-prev {
        left: calc(50% - 58px);
    }

    .page-control-next {
        right: calc(50% - 58px);
    }

    .flip-page,
    .flip-page.is-next,
    .flip-page.is-prev {
        right: 12px;
        left: 12px;
        width: calc(100% - 24px);
    }

    .flip-page.is-next {
        transform-origin: left center;
    }

    .flip-page.is-prev {
        transform-origin: right center;
    }

    .flip-face {
        border-radius: 4px;
    }

    .planner-hint {
        display: none;
    }

    .line-move-button {
        left: -28px;
        width: 32px;
        height: 36px;
        border-radius: 8px;
        background: rgba(251, 247, 237, 0.72);
        touch-action: none;
    }

    .line-move-button.is-visible {
        opacity: 0.9;
        background: rgba(251, 247, 237, 0.94);
        box-shadow: 0 2px 8px rgba(45, 43, 40, 0.1);
    }

    .line-move-button svg {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .workspace {
        padding-inline: 18px;
    }

    .welcome {
        gap: 28px;
        margin-top: 22px;
    }

    .planner-cover-stage {
        justify-content: center;
        padding-left: 0;
    }

    .planner-cover {
        width: 180px;
    }

    .conflict-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .conflict-actions button {
        width: 100%;
    }

    .planner-nav {
        gap: 1px;
    }

    .planner-nav-icon {
        width: 34px;
        height: 34px;
    }

    .planner-section-button {
        gap: 6px;
        height: 34px;
        padding: 0 8px;
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .account-agendas-control {
        grid-template-columns: 1fr;
    }

    .login-dialog {
        padding: 30px 26px 30px;
    }

    .share-actions {
        grid-template-columns: 1fr;
    }

    .login-logo {
        width: 94px;
        margin-bottom: 7px;
    }

    .login-dialog h2 {
        font-size: 32px;
    }

    .auth-header {
        padding-inline: 28px;
    }

    .auth-tabs {
        margin-top: 14px;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .paper,
    .flip-face {
        padding: 28px 24px 18px 34px;
    }

    .date-block {
        min-width: 138px;
    }

    .page-day {
        font-size: 48px;
    }
}

@media (max-height: 680px) and (min-width: 781px) {
    .planner-dialog {
        min-height: 520px;
    }

    .paper,
    .flip-face {
        padding-top: 25px;
        padding-bottom: 16px;
    }

}

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