:root {
    --nl-bg: #fbf8f5;
    --nl-card: #fffefd;
    --nl-ink: #2e2729;
    --nl-muted: #5f575a;
    --nl-sage: #8b4a58;
    --nl-sage-dark: #6f3846;
    --nl-sage-soft: #ead6da;
    --nl-blush: #efdde1;
    --nl-line: #e3d9d9;
    --nl-success: #356044;
    --nl-success-bg: #e4efe6;
    --nl-error: #7d302d;
    --nl-error-bg: #f8e1dc;
    --nl-shadow: 0 20px 58px rgba(72, 43, 50, .11);
    --nl-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --nl-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
.site-main:has(.nl-app), .site-main:has(.nl-auth) { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.nl-app, .nl-auth {
    min-height: 100vh;
    background: var(--nl-bg);
    color: var(--nl-ink);
    font-family: var(--nl-sans);
    line-height: 1.5;
}
.nl-app *, .nl-auth * { box-sizing: border-box; }
.nl-app h1, .nl-app h2, .nl-auth h1, .nl-auth h2 { font-family: var(--nl-serif); font-weight: 700; letter-spacing: -.025em; }
.nl-app img, .nl-auth img { max-width: 100%; }
.nl-app :where(a, button, input, textarea, select, summary):focus-visible,
.nl-auth :where(a, button, input, textarea, select, summary):focus-visible {
    outline: 3px solid var(--nl-sage);
    outline-offset: 3px;
}
.nl-brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--nl-ink);
    font: 500 28px/1 var(--nl-serif);
    letter-spacing: -.035em;
    text-decoration: none;
}
.nl-brand::before {
    content: "";
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: url("icons/nossa-lista-mark.svg?ver=1.6.13") center / contain no-repeat;
}
.nl-brand span { color: var(--nl-sage); }
.nl-eyebrow {
    margin: 0 0 10px;
    color: var(--nl-sage-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nl-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    padding: 34px 20px;
    background:
        radial-gradient(circle at 13% 15%, rgba(229, 235, 230, .9), transparent 33%),
        radial-gradient(circle at 89% 86%, rgba(234, 214, 218, .92), transparent 31%),
        var(--nl-bg);
}
.nl-auth > .nl-brand { margin-bottom: 24px; text-align: center; }
.nl-auth-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(139, 74, 88, .15);
    border-radius: 24px;
    background: rgba(255, 254, 253, .94);
    box-shadow: var(--nl-shadow);
    padding: 38px;
}
.nl-auth-card > .nl-brand { display: inline-flex; margin-bottom: 24px; }
.nl-auth-card h1 { margin: 0 0 26px; font-size: 42px; line-height: 1.05; }
.nl-auth-card > p { color: var(--nl-muted); }
.nl-auth-foot { margin: 20px 0 0; color: var(--nl-muted); font-size: 13px; text-align: center; }
.nl-auth-intro { margin: -7px 0 24px; color: var(--nl-muted); font-size: 15px; line-height: 1.65; }
.nl-selected-plan {
    display: grid;
    gap: 3px;
    margin: -5px 0 21px;
    border: 1px solid rgba(139, 74, 88, .25);
    border-radius: 14px;
    background: var(--nl-sage-soft);
    padding: 13px 15px;
}
.nl-selected-plan span { color: var(--nl-sage-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.nl-selected-plan strong { color: var(--nl-ink); font-size: 14px; }
.nl-selected-plan small { color: var(--nl-muted); font-size: 11px; }

.nl-form { display: grid; gap: 17px; }
.nl-form--register { gap: 14px; }
.nl-form label { display: grid; gap: 7px; color: var(--nl-ink); font-size: 13px; font-weight: 700; }
.nl-form-field { display: grid; gap: 7px; }
.nl-form input, .nl-form textarea, .nl-form select, .nl-inline-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfc3c5;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--nl-ink);
    padding: 12px 14px;
    font: 400 16px/1.35 var(--nl-sans);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.nl-form textarea { min-height: 104px; resize: vertical; }
.nl-category-field { display: grid; gap: 7px; }
.nl-category-field > label, .nl-category-custom > label { color: var(--nl-ink); font-size: 13px; font-weight: 700; }
.nl-category-custom { display: grid; gap: 7px; border-left: 3px solid var(--nl-sage-soft); padding: 3px 0 1px 12px; }
.nl-category-custom[hidden] { display: none; }
.nl-form input::placeholder, .nl-form textarea::placeholder, .nl-inline-form input::placeholder { color: #756d70; opacity: 1; }
.nl-form input:focus, .nl-form textarea:focus, .nl-form select:focus, .nl-inline-form input:focus {
    border-color: var(--nl-sage-dark);
    box-shadow: 0 0 0 3px rgba(139, 74, 88, .16);
}
.nl-password-field { position: relative; display: block; }
.nl-password-field > input { padding-right: 54px; }
.nl-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--nl-muted);
    cursor: pointer;
}
.nl-password-toggle:hover { background: var(--nl-sage-soft); color: var(--nl-sage-dark); }
.nl-password-toggle svg { width: 20px; height: 20px; overflow: visible; }
.nl-password-toggle path, .nl-password-toggle circle { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nl-password-toggle .nl-eye-open { display: none; }
.nl-password-toggle[aria-pressed="true"] .nl-eye-open { display: block; }
.nl-password-toggle[aria-pressed="true"] .nl-eye-closed { display: none; }
.nl-field-help { margin: -4px 0 0; color: var(--nl-muted); font-size: 12px; line-height: 1.55; }
.nl-password-match { margin: 0; color: var(--nl-muted); font-size: 12px; font-weight: 600; line-height: 1.4; }
.nl-password-match.is-success { color: var(--nl-success); }
.nl-password-match.is-error { color: var(--nl-error); }
.nl-reset-invalid { display: grid; gap: 18px; }
.nl-reset-invalid p { margin: 0; color: var(--nl-muted); line-height: 1.65; }
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
.nl-form-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; }
.nl-form-row > label, .nl-form-row input { min-width: 0; }
.nl-form-row--date-time { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nl-check { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.45; }
.nl-check input { flex: 0 0 auto; width: 20px !important; min-height: 20px; height: 20px; margin-top: 1px; accent-color: var(--nl-sage-dark); }
.nl-check a { color: var(--nl-sage-dark); font-weight: 700; text-underline-offset: 3px; }
.nl-check--optional { color: var(--nl-muted) !important; font-size: 11px !important; }
.nl-check--optional em { font-style: normal; font-weight: 800; }

.nl-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nl-sage-dark);
    border-radius: 12px;
    background: transparent;
    color: var(--nl-sage-dark);
    padding: 10px 18px;
    cursor: pointer;
    font: 700 14px/1.25 var(--nl-sans);
    text-align: center;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.nl-btn:hover { background: var(--nl-sage-soft); }
.nl-btn--primary { border-color: var(--nl-sage-dark); background: var(--nl-sage-dark); color: #fff; }
.nl-btn--primary:hover { border-color: #5d2d3a; background: #5d2d3a; color: #fff; }
.nl-switch { color: var(--nl-muted); font-size: 14px; line-height: 1.8; text-align: center; }
.nl-switch a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 4px; color: var(--nl-sage-dark); font-weight: 800; text-underline-offset: 3px; }
.nl-details { margin-top: 20px; border-top: 1px solid var(--nl-line); padding-top: 16px; color: var(--nl-muted); font-size: 13px; }
.nl-details summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--nl-sage-dark); font-weight: 700; }
.nl-inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.nl-alert { margin: 0 0 20px; border-radius: 12px; padding: 13px 14px; font-size: 14px; }
.nl-alert--success { background: var(--nl-success-bg); color: var(--nl-success); }
.nl-alert--error { background: var(--nl-error-bg); color: var(--nl-error); }

.nl-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--nl-line);
    background: rgba(255, 254, 253, .9);
    padding: 0 30px;
    backdrop-filter: blur(14px);
}
.nl-top-actions { display: flex; align-items: center; gap: 10px; }
.nl-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--nl-blush); color: var(--nl-sage-dark); font-weight: 800; }
.nl-logout { min-height: 44px; display: inline-flex; align-items: center; border-radius: 9px; color: var(--nl-muted); padding: 8px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.nl-layout { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.nl-sidebar { border-right: 1px solid var(--nl-line); background: #f8f3f1; padding: 34px 18px; }
.nl-couple-label { margin: 0 11px 4px; color: var(--nl-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nl-sidebar > strong { display: block; margin: 0 11px 28px; font: 700 21px/1.25 var(--nl-serif); }
.nl-sidebar nav { display: grid; gap: 5px; }
.nl-sidebar nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 11px;
    color: var(--nl-muted);
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.nl-sidebar-nav__icon { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; }
.nl-nav-icon { width: 22px; height: 22px; display: block; overflow: visible; }
.nl-sidebar .nl-nav-icon { width: 20px; height: 20px; }
.nl-sidebar nav a:hover, .nl-sidebar nav a.is-active, .nl-sidebar nav a[aria-current="page"] { background: var(--nl-sage-soft); color: var(--nl-sage-dark); }
.nl-main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 52px clamp(24px, 5vw, 72px) 90px; }
.nl-welcome h1, .nl-page-head h1 { margin: 0 0 11px; font-size: clamp(40px, 5vw, 62px); line-height: 1; }
.nl-welcome > p:last-child, .nl-page-head > div > p:last-child { margin: 0; color: var(--nl-muted); font-size: 17px; }

.nl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 38px 0; }
.nl-stats a {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--nl-line);
    border-radius: 18px;
    background: var(--nl-card);
    box-shadow: 0 8px 25px rgba(72, 43, 50, .04);
    color: var(--nl-ink);
    padding: 24px;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nl-stats a:hover { border-color: #cdb7bc; box-shadow: var(--nl-shadow); transform: translateY(-2px); }
.nl-stats a > span { color: var(--nl-sage-dark); font: 700 40px/1 var(--nl-serif); }
.nl-stats h3 { margin: 8px 0 3px; font-size: 18px; }
.nl-stats p { margin: 0 0 17px; color: var(--nl-muted); font-size: 13px; }
.nl-stats small { color: var(--nl-sage-dark); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nl-quote {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--nl-sage-dark), #945d69);
    color: #fff;
    padding: 28px 31px;
}
.nl-quote span { opacity: .54; font: 700 52px/.7 var(--nl-serif); }
.nl-quote p { max-width: 650px; margin: 0; font: 700 23px/1.35 var(--nl-serif); }

.nl-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.nl-subnav .nl-btn { min-height: 44px; padding: 9px 15px; }

.nl-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.nl-add { position: relative; }
.nl-add > summary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    background: var(--nl-sage-dark);
    color: #fff;
    padding: 11px 17px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    list-style: none;
    white-space: nowrap;
}
.nl-add > summary::-webkit-details-marker { display: none; }
.nl-add[open] { width: min(100%, 430px); }
.nl-add[open] > summary { width: 100%; justify-content: center; margin-bottom: 12px; }
.nl-add .nl-form { border: 1px solid var(--nl-line); border-radius: 17px; background: var(--nl-card); box-shadow: var(--nl-shadow); padding: 21px; }
.nl-list { display: grid; gap: 11px; }
.nl-list--grouped { gap: 28px; }
.nl-category-group { min-width: 0; display: grid; gap: 11px; }
.nl-category-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 0 2px; }
.nl-category-head p { margin: 0 0 3px; color: var(--nl-muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nl-category-head h2 { margin: 0; font: 700 25px/1.15 var(--nl-serif); }
.nl-category-head strong { flex: 0 0 auto; color: var(--nl-sage-dark); font-size: 12px; }
.nl-category-progress { overflow: hidden; height: 6px; border-radius: 99px; background: #eadfe1; }
.nl-category-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nl-sage-dark), #a56d78); }
.nl-category-items { display: grid; gap: 9px; }
.nl-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 13px;
    border: 1px solid var(--nl-line);
    border-left: 4px solid var(--nl-item-color, var(--nl-sage-dark));
    border-radius: 15px;
    background: var(--nl-card);
    padding: 16px;
}
.nl-round, .nl-icon-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
}
.nl-round { border: 1.5px solid var(--nl-sage-dark); background: transparent; color: #fff; font-size: 17px; }
.nl-round:hover { background: var(--nl-sage-soft); }
.nl-item.is-done .nl-round { background: var(--nl-sage-dark); }
.nl-item.is-done h3 { color: var(--nl-muted); text-decoration: line-through; }
.nl-item-body { min-width: 0; padding-top: 8px; }
.nl-item-body h3 { overflow-wrap: anywhere; margin: 0 0 5px; font-size: 16px; }
.nl-place-link, .nl-address-link, .nl-day-item a { color: inherit; text-underline-offset: 3px; }
.nl-place-link { text-decoration-thickness: 1px; }
.nl-place-link:hover, .nl-address-link:hover, .nl-day-item a:hover { color: var(--nl-sage-dark); }
.nl-item-body > p { margin: 0 0 10px; color: var(--nl-muted); font-size: 14px; white-space: pre-line; }
.nl-item-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.nl-item-meta span, .nl-item-meta a { border-radius: 20px; background: var(--nl-sage-soft); color: var(--nl-sage-dark); padding: 5px 9px; font-size: 11px; font-weight: 650; text-decoration: none; }
.nl-item-meta .nl-color-dot { width: 12px; height: 12px; align-self: center; border: 2px solid var(--nl-card); background: var(--nl-dot-color); box-shadow: 0 0 0 1px rgba(46, 39, 41, .18); padding: 0; }
.nl-calendar-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.nl-calendar-actions a, .nl-day-edit-link { min-height: 34px; display: inline-flex; align-items: center; border: 1px solid var(--nl-line); border-radius: 9px; background: #fbf7f6; color: var(--nl-sage-dark); padding: 6px 9px; font-size: 11px; font-weight: 750; text-decoration: none; }
.nl-calendar-actions a:hover, .nl-day-edit-link:hover { border-color: #cdb7bc; background: var(--nl-sage-soft); }
.nl-icon-btn { border: 0; background: transparent; color: #70676a; font-size: 25px; }
.nl-icon-btn:hover { background: #f2e9eb; color: var(--nl-error); }
.nl-empty { border: 1px dashed #bdaeb1; border-radius: 18px; color: var(--nl-muted); padding: 64px 20px; text-align: center; }
.nl-empty span { color: var(--nl-sage); font-size: 38px; }
.nl-empty h2 { margin: 10px 0 4px; color: var(--nl-ink); font-size: 29px; }
.nl-empty p { margin: 0; }

.nl-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.nl-ideas article { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--nl-line); border-radius: 18px; background: var(--nl-card); padding: 21px; }
.nl-ideas article > span { color: var(--nl-sage-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nl-ideas h3 { margin: 11px 0 5px; font-size: 19px; overflow-wrap: anywhere; }
.nl-ideas p { color: var(--nl-muted); font-size: 13px; }
.nl-ideas .nl-idea-address { margin: 0 0 12px; font-weight: 650; }
.nl-ideas .nl-idea-note { margin: 0 0 18px; line-height: 1.55; }
.nl-idea-actions { display: grid; gap: 10px; margin-top: auto; }
.nl-source-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--nl-sage-soft); color: var(--nl-sage-dark); padding: 9px 12px; font-size: 12px; font-weight: 800; text-decoration: none; }
.nl-source-link:hover { background: #e3d2d6; }
.nl-ideas .nl-btn { width: 100%; }
.nl-attribution { margin-top: 18px; color: var(--nl-muted); font-size: 12px; }
.nl-profile-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; }
.nl-panel { border: 1px solid var(--nl-line); border-radius: 18px; background: var(--nl-card); padding: 25px; }
.nl-panel h2 { margin: 0 0 19px; font-size: 28px; }
.nl-panel > p { color: var(--nl-muted); font-size: 14px; }
.nl-privacy-note { margin: 0; color: var(--nl-muted); font-size: 12px; }
.nl-together { border-radius: 12px; background: var(--nl-sage-soft); color: var(--nl-sage-dark) !important; padding: 14px; font-weight: 700; }

.nl-calendar-section { margin-bottom: 48px; }
.nl-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.nl-calendar-month-nav { display: flex; align-items: center; gap: 13px; }
.nl-calendar-month-nav h2 { min-width: 235px; margin: 0; font-size: 28px; text-align: center; }
.nl-calendar-month-nav a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--nl-line); border-radius: 50%; background: var(--nl-card); color: var(--nl-sage-dark); font-size: 29px; line-height: 1; text-decoration: none; }
.nl-calendar-month-nav a:hover { border-color: #cdb7bc; background: var(--nl-sage-soft); }
.nl-calendar-export { display: grid; justify-items: end; gap: 5px; }
.nl-calendar-export small { color: var(--nl-muted); font-size: 10px; }
.nl-calendar-legend { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.nl-calendar-legend li { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--nl-line); border-radius: 999px; background: var(--nl-card); color: var(--nl-muted); padding: 6px 10px; font-size: 11px; font-weight: 750; }
.nl-calendar-legend li > span { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--nl-legend-color); box-shadow: 0 0 0 1px rgba(46, 39, 41, .13); }
.nl-calendar-status-legend { display: flex; align-items: center; gap: 14px; margin: -4px 0 14px; padding: 0 2px; color: var(--nl-muted); font-size: 10px; font-weight: 750; list-style: none; }
.nl-calendar-status-legend li { display: inline-flex; align-items: center; gap: 6px; }
.nl-calendar-status-legend span { flex: 0 0 auto; }
.nl-calendar-status-legend .is-open { width: 8px; height: 8px; border-radius: 50%; background: var(--nl-sage-dark); }
.nl-calendar-status-legend .is-done { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: var(--nl-sage-dark); color: #fff; font-size: 10px; font-weight: 900; line-height: 1; }
.nl-calendar { overflow: hidden; border: 1px solid var(--nl-line); border-radius: 18px; background: var(--nl-card); }
.nl-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.nl-calendar-weekdays { border-bottom: 1px solid var(--nl-line); background: #f7f1f0; }
.nl-calendar-weekdays span { min-width: 0; padding: 10px 4px; color: var(--nl-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.nl-calendar-days > * { position: relative; min-width: 0; min-height: 88px; border: 0; border-right: 1px solid var(--nl-line); border-bottom: 1px solid var(--nl-line); background: transparent; padding: 9px; color: var(--nl-ink); font: 700 13px var(--nl-sans); text-align: left; }
.nl-calendar-days > *:nth-child(7n) { border-right: 0; }
.nl-calendar-days > *:nth-last-child(-n + 7) { border-bottom: 0; }
button.nl-calendar-day { cursor: pointer; }
button.nl-calendar-day:hover { background: #f8f1f2; }
.nl-calendar-day time { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.nl-calendar-day.is-today time { background: var(--nl-sage-dark); color: #fff; }
.nl-calendar-dots { position: absolute; inset: auto 8px 8px; min-height: 15px; display: flex; align-items: center; gap: 4px; }
.nl-calendar-marker { flex: 0 0 auto; border-radius: 50%; background: var(--nl-dot-color); font-style: normal; }
.nl-calendar-marker.is-open { width: 9px; height: 9px; }
.nl-calendar-marker.is-done { width: 15px; height: 15px; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 1px rgba(46, 39, 41, .12); font-size: 9px; font-weight: 900; line-height: 1; }
.nl-calendar-dots small { color: var(--nl-muted); font-size: 9px; }
.nl-calendar-blank { background: #fcf9f8 !important; }
.nl-day-dialog { width: min(620px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 40px)); overflow: auto; border: 0; border-radius: 21px; background: var(--nl-card); box-shadow: 0 30px 90px rgba(46, 24, 31, .28); color: var(--nl-ink); padding: 0; }
.nl-day-dialog::backdrop { background: rgba(39, 27, 31, .48); backdrop-filter: blur(3px); }
.nl-day-dialog-inner { padding: 24px; }
.nl-day-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--nl-line); padding-bottom: 17px; }
.nl-day-dialog header p { margin: 0 0 3px; color: var(--nl-sage-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nl-day-dialog header h2 { margin: 0; font-size: 30px; }
.nl-day-dialog header button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--nl-sage-soft); color: var(--nl-sage-dark); cursor: pointer; font-size: 25px; }
.nl-day-dialog ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.nl-day-item { display: grid; grid-template-columns: 13px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--nl-line); padding: 18px 0; }
.nl-day-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nl-day-item-dot { width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: var(--nl-item-color); }
.nl-day-item-kicker { margin: 0 0 5px !important; color: var(--nl-sage-dark) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nl-day-item h3 { margin: 0 0 6px; font-size: 18px; }
.nl-day-item p { margin: 0 0 9px; color: var(--nl-muted); font-size: 13px; line-height: 1.5; white-space: pre-line; }
.nl-day-item.is-done h3 { color: var(--nl-muted); text-decoration: line-through; }
.nl-day-item-address { font-weight: 650; }
.nl-day-edit-link { margin-top: 8px; }
.nl-commitments { margin-top: 8px; }
.nl-section-head { margin-bottom: 17px; }
.nl-section-head h2 { margin: 0; font-size: 31px; }
.nl-empty--compact { padding: 35px 18px; }
.nl-empty--compact h2 { font-size: 24px; }

.nl-install-page { max-width: 980px; }
.nl-install-page > .nl-page-head { max-width: 720px; }
.nl-install-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto);
    align-items: center;
    gap: 22px;
    overflow: hidden;
    border: 1px solid rgba(111, 56, 70, .15);
    border-radius: 22px;
    background:
        radial-gradient(circle at 7% 0%, rgba(255, 255, 255, .72), transparent 31%),
        linear-gradient(135deg, #f7e8eb, #eee5df);
    padding: 28px;
}
.nl-install-hero > img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 13px 32px rgba(80, 38, 49, .18); }
.nl-install-hero__copy > span { display: inline-flex; margin-bottom: 5px; color: var(--nl-sage-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.nl-install-hero__copy h2 { margin: 0 0 6px; font-size: 27px; }
.nl-install-hero__copy p { max-width: 520px; margin: 0; color: var(--nl-muted); font-size: 14px; }
.nl-install-hero__action { display: grid; justify-items: stretch; gap: 8px; }
.nl-install-hero__action .nl-btn { width: 100%; white-space: nowrap; }
.nl-install-hero__action p { max-width: 220px; margin: 0; color: var(--nl-muted); font-size: 11px; line-height: 1.45; text-align: center; }
.nl-install-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.nl-install-guide { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.nl-install-guide.is-recommended { border-color: rgba(111, 56, 70, .45); box-shadow: 0 15px 38px rgba(72, 43, 50, .09); transform: translateY(-2px); }
.nl-install-guide header { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.nl-install-guide header > div { min-width: 0; }
.nl-install-guide header p { margin: 0 0 1px; color: var(--nl-muted); font-size: 11px; font-weight: 750; }
.nl-install-guide header h2 { margin: 0; font-size: 25px; }
.nl-install-guide header small { margin-left: auto; border-radius: 999px; background: var(--nl-sage-soft); color: var(--nl-sage-dark); padding: 5px 8px; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.nl-install-platform { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--nl-sage-dark); color: #fff; font-size: 17px; font-weight: 850; }
.nl-install-platform--apple { background: var(--nl-ink); font: italic 800 20px/1 Georgia, serif; }
.nl-install-guide ol { counter-reset: nl-install-step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.nl-install-guide li { counter-increment: nl-install-step; min-height: 31px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; color: var(--nl-muted); font-size: 14px; line-height: 1.55; }
.nl-install-guide li::before { content: counter(nl-install-step); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--nl-sage-soft); color: var(--nl-sage-dark); font-size: 11px; font-weight: 850; }
.nl-install-guide li strong { color: var(--nl-ink); }
.nl-install-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 17px; border-radius: 15px; background: #f2ece8; padding: 16px 18px; }
.nl-install-note span { color: var(--nl-sage-dark); font: 700 25px/1 var(--nl-serif); }
.nl-install-note p { margin: 0; color: var(--nl-muted); font-size: 12px; line-height: 1.6; }

.nl-mobile-nav { display: none; }

@media (max-width: 1100px) {
    .nl-install-hero { grid-template-columns: auto minmax(0, 1fr); }
    .nl-install-hero__action { grid-column: 1 / -1; }
    .nl-install-hero__action p { max-width: none; }
    .nl-install-guides { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nl-auth { padding: 22px 14px; }
    .nl-auth-card { border-radius: 20px; padding: 28px 22px; }
    .nl-auth-card h1 { font-size: 36px; }
    .nl-inline-form { grid-template-columns: 1fr; }
    .nl-inline-form .nl-btn { width: 100%; }
    .nl-topbar { height: 64px; padding: 0 16px; }
    .nl-topbar .nl-brand { font-size: 24px; }
    .nl-layout { display: block; min-height: calc(100vh - 64px); }
    .nl-sidebar { display: none; }
    .nl-main { padding: 33px 18px calc(96px + env(safe-area-inset-bottom)); }
    .nl-welcome h1, .nl-page-head h1 { font-size: clamp(39px, 11vw, 48px); }
    .nl-stats { grid-template-columns: 1fr; gap: 10px; margin: 27px 0; }
    .nl-stats a { padding: 19px; }
    .nl-stats a > span { font-size: 34px; }
    .nl-page-head { display: block; }
    .nl-add { margin-top: 20px; }
    .nl-add[open] { width: 100%; }
    .nl-ideas, .nl-profile-grid { grid-template-columns: 1fr; }
    .nl-mobile-nav {
        position: fixed;
        inset: auto 0 0;
        z-index: 30;
        min-height: calc(72px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        border-top: 1px solid var(--nl-line);
        background: rgba(255, 254, 253, .97);
        padding: 0 5px env(safe-area-inset-bottom);
        backdrop-filter: blur(14px);
    }
    .nl-mobile-nav a {
        min-width: 0;
        min-height: 72px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 9px;
        color: var(--nl-muted);
        padding: 6px 1px;
        font-size: 9.5px;
        line-height: 1.05;
        text-align: center;
        text-decoration: none;
    }
    .nl-mobile-nav__icon { width: 34px; height: 29px; display: grid; place-items: center; border-radius: 10px; transition: background-color .16s ease, transform .16s ease; }
    .nl-mobile-nav .nl-nav-icon { width: 21px; height: 21px; }
    .nl-mobile-nav__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .nl-mobile-nav a.is-active, .nl-mobile-nav a[aria-current="page"] { color: var(--nl-sage-dark); font-weight: 800; }
    .nl-mobile-nav a.is-active .nl-mobile-nav__icon, .nl-mobile-nav a[aria-current="page"] .nl-mobile-nav__icon { background: var(--nl-sage-soft); transform: translateY(-1px); }
    .nl-quote { padding: 23px; }
    .nl-quote p { font-size: 20px; }
    .nl-form-row { grid-template-columns: minmax(0, 1fr) 92px; }
    .nl-form-row--date-time { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nl-item-body .nl-form-row { grid-template-columns: 1fr; }
    .nl-category-head h2 { font-size: 23px; }
    .nl-list--grouped { gap: 24px; }
    .nl-calendar-toolbar { align-items: stretch; flex-direction: column; }
    .nl-calendar-month-nav { justify-content: space-between; }
    .nl-calendar-month-nav h2 { min-width: 0; font-size: 24px; }
    .nl-calendar-export { justify-items: stretch; }
    .nl-calendar-export .nl-btn { width: 100%; }
    .nl-calendar-export small { text-align: center; }
    .nl-calendar-weekdays span { padding-inline: 1px; font-size: 9px; letter-spacing: 0; }
    .nl-calendar-days > * { min-height: 58px; padding: 5px; font-size: 11px; }
    .nl-calendar-day time { width: 25px; height: 25px; }
    .nl-calendar-dots { inset: auto 4px 5px; min-height: 12px; gap: 3px; }
    .nl-calendar-marker.is-open { width: 7px; height: 7px; }
    .nl-calendar-marker.is-done { width: 12px; height: 12px; font-size: 8px; }
    .nl-calendar-dots small { font-size: 8px; }
    .nl-day-dialog-inner { padding: 20px 18px; }
    .nl-day-dialog header h2 { font-size: 27px; }
    .nl-install-hero { grid-template-columns: auto minmax(0, 1fr); gap: 17px; padding: 22px 20px; }
    .nl-install-hero > img { width: 72px; height: 72px; border-radius: 18px; }
    .nl-install-hero__copy h2 { font-size: 24px; }
    .nl-install-hero__action { grid-column: 1 / -1; }
    .nl-install-hero__action p { max-width: none; }
    .nl-install-guides { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .nl-form-row--date-time { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .nl-main { padding-inline: 14px; }
    .nl-auth { padding: 18px 11px; }
    .nl-auth-card { padding: 24px 18px; }
    .nl-item { gap: 8px; padding: 13px 10px; }
    .nl-round, .nl-icon-btn { width: 44px; height: 44px; }
    .nl-mobile-nav a { font-size: 8.8px; }
    .nl-mobile-nav .nl-nav-icon { width: 20px; height: 20px; }
    .nl-install-hero { grid-template-columns: 1fr; padding: 20px 16px; text-align: center; }
    .nl-install-hero > img { margin: 0 auto; }
    .nl-install-hero__action { grid-column: auto; }
    .nl-form-row { grid-template-columns: 1fr; }
}

@media (display-mode: standalone) {
    .nl-app { min-height: 100dvh; }
    .nl-topbar { height: calc(74px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
    .nl-layout { min-height: calc(100dvh - 74px - env(safe-area-inset-top)); }
}

@media (display-mode: standalone) and (max-width: 820px) {
    .nl-topbar { height: calc(64px + env(safe-area-inset-top)); }
    .nl-layout { min-height: calc(100dvh - 64px - env(safe-area-inset-top)); }
}

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