.nl-issue {
    width: 100%;
    max-width: none;
    margin: 8px 0 36px;
}
.nl-mast {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 174, 87, 0.45);
    margin-bottom: 22px;
}
.nl-mast p,
.nl-cover > p,
.nl-spread p,
.nl-desk header p,
.nl-remember > span {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-mast h1,
.nl-cover h2,
.nl-desk h2 {
    margin: 0;
    font-family: Cinzel, serif;
    font-weight: 400;
    color: #f6f3ec;
    line-height: 0.95;
}
.nl-mast h1 {
    font-size: clamp(56px, 9vw, 104px);
    letter-spacing: 0.04em;
}
.nl-mast::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 14px;
    background: #d4ae57;
}
.nl-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    font-family: Cinzel, serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c5ced8;
}
.nl-index b { color: #d4ae57; margin-right: 6px; font-weight: 400; }
.nl-mast .btn-outline { margin-top: 14px; }
.nl-cover {
    padding: 8px 0 22px;
    border-bottom: 1px solid rgba(212, 174, 87, 0.28);
}
.nl-cover h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16em; margin-bottom: 10px; }
.nl-cover > strong {
    display: block;
    max-width: 36em;
    margin-bottom: 14px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 18px;
    color: #f2e6c8;
}
.nl-letter p {
    margin: 0;
    max-width: 40em;
    font-family: Merriweather, Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    color: #e7e1d6;
}
.nl-letter p::first-letter {
    float: left;
    margin: 6px 10px 0 0;
    font-family: Cinzel, serif;
    font-size: 58px;
    line-height: 0.8;
    color: #d4ae57;
}
.nl-read {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 174, 87, 0.28);
}
.nl-read h3 {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: #f6f3ec;
}
.nl-read > strong {
    display: block;
    margin-bottom: 10px;
    font-family: Cinzel, serif;
    font-weight: 400;
    color: #f2e6c8;
}
.nl-read .btn-gold { margin-top: 14px; }
.nl-figure { margin: 0 0 18px; }
.nl-figure img,
.nl-preview {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border: 1px solid rgba(212, 174, 87, 0.35);
}
.nl-file-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.nl-file-row span,
.nl-file-row em {
    font-family: Cinzel, serif;
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-file-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.nl-preview { max-height: 220px; margin-top: 4px; }
body.co-calm #viewContainer .nl-figure,
body.co-calm #viewContainer .nl-figure img,
body.co-calm #viewContainer .nl-preview { display: block !important; }
.nl-spread {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 22px 0;
}
.nl-note {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 0;
    text-align: left;
    border: 0;
    border-top: 1px solid rgba(212, 174, 87, 0.28);
    background: transparent;
    color: #f6f3ec;
    cursor: pointer;
    font: inherit;
}
.nl-note em {
    display: block;
    font-family: Cinzel, serif;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-note strong {
    display: block;
    margin-top: 4px;
    font-family: Cinzel, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}
.nl-note small {
    display: block;
    margin-top: 4px;
    font-family: Merriweather, Georgia, serif;
    font-size: 14px;
    color: #c5ced8;
}
.nl-note.is-on strong { color: #f2e6c8; }
.nl-note.is-past { opacity: 0.78; }
.nl-note.is-read { opacity: 0.62; }
.nl-note > span {
    display: block;
    margin-top: 8px;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-note.is-unread em::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 8px 1px 0;
    background: #d4ae57;
    vertical-align: middle;
}
body.co-calm #viewContainer .nl-note > span { display: block !important; }
.nl-quiet,
.nl-remember > span,
.nl-desk > span {
    display: block;
    margin: 0 0 10px;
    font-family: Merriweather, Georgia, serif;
    font-size: 15px;
    line-height: 1.45;
    color: #c5ced8;
}
.nl-remember > span { letter-spacing: 0; text-transform: none; font-size: 14px; }
.nl-desk {
    margin-top: 28px;
    padding: 18px 16px;
    border: 1px solid rgba(212, 174, 87, 0.32);
    background: rgba(0, 0, 0, 0.28);
}
.nl-desk h2 { font-size: 32px; margin-bottom: 8px; }
body.co-adm-space .nl-adm { width: 100%; max-width: none; }
.nl-events { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(212, 174, 87, 0.45); }
.nl-events-head { margin-bottom: 14px; }
.nl-events-head p {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-events-head h2 {
    margin: 0 0 12px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 32px;
}
body.co-adm-space .nl-events-head h2 { color: var(--text-main, #1c2430); }
body.co-calm #viewContainer .nl-events,
body.co-calm #viewContainer .nw-studio,
body.co-calm #viewContainer .gcal,
body.co-calm #viewContainer .gcal-day,
body.co-calm #viewContainer .gcal-card-head { display: block !important; }
body.co-calm #viewContainer .gcal-grid,
body.co-calm #viewContainer .gcal-board,
body.co-calm #viewContainer .gcal-row,
body.co-calm #viewContainer .gcal-card { display: grid !important; }
body.co-calm #viewContainer .gcal-top,
body.co-calm #viewContainer .gcal-nav,
body.co-calm #viewContainer .gcal-actions,
body.co-calm #viewContainer .nl-form-actions { display: flex !important; }
.seg-bill {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(0, 1fr);
    gap: 18px;
    margin: 8px 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(212, 174, 87, 0.45);
    align-items: stretch;
}
.seg-figure { margin: 0; min-height: 220px; }
.seg-figure img,
.seg-cover-empty {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border: 1px solid rgba(212, 174, 87, 0.4);
    border-radius: 12px;
    box-sizing: border-box;
}
.seg-cover-empty {
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background:
        linear-gradient(165deg, rgba(212, 174, 87, 0.16), rgba(0, 0, 0, 0.35)),
        repeating-linear-gradient(135deg, rgba(212, 174, 87, 0.08) 0 12px, transparent 12px 24px);
}
.seg-cover-empty span {
    font-family: Cinzel, serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    color: #f3e6c0;
}
.seg-card {
    padding: 18px 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(212, 174, 87, 0.35);
    background: linear-gradient(180deg, rgba(212, 174, 87, 0.08), rgba(0, 0, 0, 0.22));
    text-align: left;
}
.seg-copy p,
.seg-card p,
.seg-desk header p {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}
.seg-copy h2,
.seg-card h2,
.seg-desk h2 {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    color: #f6f3ec;
}
.seg-copy strong,
.seg-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 16px;
    color: #f2e6c8;
}
.seg-copy span,
.seg-card > span,
.seg-desk > span {
    display: block;
    margin: 0 0 14px;
    max-width: 38em;
    font-family: Merriweather, Georgia, serif;
    font-size: 16px;
    line-height: 1.5;
    color: #e7e1d6;
}
.seg-form {
    display: none;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 174, 87, 0.28);
}
.seg-form.is-on { display: grid; }
.seg-form label {
    display: grid;
    gap: 4px;
    font-family: Oswald, sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d4ae57;
}
.seg-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 10, 18, 0.55);
    color: inherit;
    font-family: Merriweather, Georgia, serif;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
}
.seg-form small {
    color: rgba(231, 225, 214, 0.7);
    font-family: Merriweather, Georgia, serif;
    line-height: 1.4;
}
.seg-ins { margin-top: 16px; text-align: left; }
.seg-ins p {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    color: #d4ae57;
}
.seg-ins ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.seg-ins li {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(212, 174, 87, 0.28);
}
.seg-ins strong, .seg-ins span { display: block; }
.seg-ins span { color: rgba(231, 225, 214, 0.72); font-size: 14px; }
.seg-desk { margin-top: 28px; }
body.co-adm-space .seg-desk h2,
body.co-adm-space .seg-copy h2,
body.co-adm-space .seg-card h2 { color: var(--text-main, #1c2430); }
body.co-calm #viewContainer .seg-desk,
body.co-calm #viewContainer .seg-copy,
body.co-calm #viewContainer .seg-card,
body.co-calm #viewContainer .seg-figure,
body.co-calm #viewContainer .seg-ins { display: block !important; }
body.co-calm #viewContainer .seg-bill,
body.co-calm #viewContainer .seg-form.is-on { display: grid !important; }
body.co-calm #viewContainer .seg-form { display: none !important; }
body.co-calm #viewContainer .seg-form.is-on { display: grid !important; }
body.co-calm #viewContainer .seg-cover-empty { display: flex !important; }
@media (max-width: 800px) {
    .seg-bill,
    body.co-calm #viewContainer .seg-bill { grid-template-columns: 1fr !important; }
}
.gcal { margin-top: 28px; }
.gcal-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.gcal-top > p,
.gcal-card-head p {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}
.gcal-nav { display: flex; align-items: center; gap: 8px; }
.gcal-nav h2 {
    margin: 0;
    min-width: 12em;
    text-align: center;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 28px;
}
.gcal-nav button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 174, 87, 0.45);
    background: transparent;
    color: #d4ae57;
    font-size: 22px;
    cursor: pointer;
}
.gcal-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 16px;
    align-items: start;
}
.gcal-board:not(:has(.gcal-card)) { grid-template-columns: 1fr; }
.gcal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.gcal-head,
.gcal-day {
    font-family: Cinzel, serif;
}
.gcal-head {
    padding: 6px 4px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4ae57;
    text-align: center;
}
.gcal-day {
    min-height: 96px;
    padding: 6px;
    border: 1px solid rgba(212, 174, 87, 0.28);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.gcal-day > b { display: block; font-weight: 400; font-size: 14px; }
.gcal-day.is-out { opacity: 0.38; }
.gcal-day.is-today > b { color: #d4ae57; }
.gcal-day.is-on { border-color: #d4ae57; background: rgba(212, 174, 87, 0.12); }
.gcal-chip {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 2px 4px;
    border: 0;
    border-left: 3px solid #d4ae57;
    background: rgba(212, 174, 87, 0.16);
    color: inherit;
    text-align: left;
    font-family: Merriweather, Georgia, serif;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.gcal-chip em {
    display: none;
}
.gcal-more {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #d4ae57;
}
.gcal-card {
    display: grid;
    gap: 14px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(212, 174, 87, 0.45);
    background: #100e0b;
    color: #f6f3ec;
    color-scheme: dark;
}
.gcal-card-head h3 {
    margin: 6px 0 0;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.15;
    text-transform: capitalize;
    color: #f6f3ec;
}
.gcal-card label,
.gcal-row label {
    display: grid;
    gap: 6px;
    margin: 0;
}
.gcal-card label span {
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
.gcal-card input,
.gcal-card select,
.gcal-card textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid rgba(212, 174, 87, 0.4) !important;
    border-radius: 0;
    background: #1a1612 !important;
    color: #f6f3ec !important;
    font-family: Merriweather, Georgia, serif !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}
.gcal-card input::placeholder,
.gcal-card textarea::placeholder {
    color: rgba(246, 243, 236, 0.42) !important;
    text-transform: none !important;
    opacity: 1;
}
.gcal-card select {
    appearance: none;
    padding-right: 32px;
    background-image:
        linear-gradient(45deg, transparent 50%, #d4ae57 50%),
        linear-gradient(135deg, #d4ae57 50%, transparent 50%),
        linear-gradient(#1a1612, #1a1612) !important;
    background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%, 0 0 !important;
    background-size: 5px 5px, 5px 5px, 100% 100% !important;
    background-repeat: no-repeat !important;
}
.gcal-card textarea { min-height: 96px; resize: vertical; }
.gcal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gcal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
.gcal-actions .btn-gold,
.gcal-actions .btn-outline { flex: 1 1 auto; }
body.co-adm-space .gcal-card,
body.light-mode .gcal-card,
body.hud-skin.light-mode #viewContainer .gcal-card {
    background: #100e0b !important;
    color: #f6f3ec !important;
}
body.co-adm-space .gcal-card h3,
body.light-mode .gcal-card h3,
body.hud-skin.light-mode #viewContainer .gcal-card h3 { color: #f6f3ec !important; }
@media (max-width: 900px) {
    .gcal-board,
    body.co-calm #viewContainer .gcal-board { grid-template-columns: 1fr !important; }
    .gcal-day { min-height: 72px; }
}
.nl-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 10px;
    margin: 18px 0 6px;
}
.nl-ed {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid rgba(212, 174, 87, 0.32);
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.nl-ed.is-on {
    border-color: #d4ae57;
    background: rgba(212, 174, 87, 0.12);
}
.nl-ed em,
.nl-pieces > p,
.nl-pieces-list em {
    display: block;
    font-family: Cinzel, serif;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-ed strong {
    display: block;
    margin-top: 6px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 22px;
}
.nl-ed small {
    display: block;
    margin-top: 4px;
    font-family: Merriweather, Georgia, serif;
    font-size: 13px;
    line-height: 1.35;
    color: #c5ced8;
}
.nl-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-pieces { margin-top: 22px; }
.nl-pieces-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.nl-pieces-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 174, 87, 0.22);
}
.nl-pieces-list strong {
    display: block;
    margin-top: 4px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: 18px;
}
body.co-adm-space .nl-ed strong,
body.co-adm-space .nl-pieces-list strong { color: var(--text-main, #1c2430); }
body.co-adm-space .nl-ed small,
body.co-adm-space .nl-quiet { color: #5c6b7a; }
body.co-calm #viewContainer .nl-shelf,
body.co-calm #viewContainer .nl-form-actions { display: flex !important; }
body.co-calm #viewContainer .nl-shelf { display: grid !important; }
body.co-calm #viewContainer .nl-pieces,
body.co-calm #viewContainer .nl-ed { display: block !important; }
body.co-adm-space .nl-desk h2,
body.co-adm-space .nl-form input,
body.co-adm-space .nl-form textarea { color: var(--text-main, #1c2430); }
.nl-form { display: grid; gap: 10px; margin-top: 12px; }
.nl-form label {
    display: grid;
    gap: 6px;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-form input,
.nl-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(212, 174, 87, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #f6f3ec;
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
}
.nl-form textarea { min-height: 110px; resize: vertical; }
body.co-calm #viewContainer .nl-issue,
body.co-calm #viewContainer .nl-cover,
body.co-calm #viewContainer .nl-desk,
body.co-calm #viewContainer .nl-read,
body.co-calm #viewContainer .nl-letter { display: block !important; }
body.light-mode .nl-read h3 { color: #0c2b5b; }
body.co-calm #viewContainer .nl-spread,
body.co-calm #viewContainer .nl-form { display: grid !important; }
body.light-mode .nl-mast h1,
body.light-mode .nl-cover h2,
body.light-mode .nl-desk h2,
body.light-mode .nl-note,
body.light-mode .nl-note strong { color: #0c2b5b; }
body.light-mode .nl-letter p,
body.light-mode .nl-quiet,
body.light-mode .nl-note small { color: #3d4c5c; }
body.light-mode .nl-desk { background: #fff; }
.nl-issue .nl-cal { margin-top: 8px; }
.nl-issue .bol-cal {
    margin: 0;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid rgba(212, 174, 87, 0.45);
    background: transparent;
}
.nl-issue .bol-cal-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.nl-issue .boletim-kicker,
.nl-issue .bol-cal-nav strong {
    font-family: Cinzel, serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d4ae57;
}
.nl-issue .bol-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 12px;
}
.nl-issue .bol-cal-head,
.nl-issue .bol-cal-day {
    font-family: Cinzel, serif;
    color: #f6f3ec;
    background: transparent;
    border: 1px solid rgba(212, 174, 87, 0.22);
}
.nl-issue .bol-cal-day.has-event,
.nl-issue .bol-cal-day.is-on {
    background: rgba(212, 174, 87, 0.12);
    border-color: #d4ae57;
}
.nl-issue .bol-cal-cap { color: #c5ced8; font-family: Merriweather, Georgia, serif; }
@media (max-width: 800px) {
    .nl-spread { grid-template-columns: 1fr; }
    .nl-mast h1 { font-size: 56px; }
}
