:root {
    --green: #278d24;
    --green-2: #6fbe32;
    --green-dark: #0d4d23;
    --leaf: #eaf5df;
    --leaf-2: #f6fbf0;
    --line: #dce8d6;
    --text: #223028;
    --muted: #657466;
    --bg: #f2f6f0;
    --paper: #fffdfa;
    --danger: #a83232;
    --shadow: 0 24px 70px rgba(23, 71, 35, .14);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(111, 190, 50, .14), transparent 28rem),
        linear-gradient(180deg, #fbfdf8 0%, var(--bg) 100%);
    color: var(--text);
}

a { color: var(--green-dark); text-decoration: none; }

.topbar {
    min-height: 76px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar > div {
    display: flex;
    gap: 12px;
    align-items: center;
}

.topbar-title strong {
    display: block;
    font-size: 18px;
    letter-spacing: 0;
}

.topbar-title span {
    color: var(--muted);
    font-size: 13px;
}

.topbar nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.topbar nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 13px;
}

.topbar nav a:hover { background: var(--leaf); }

.brand-mark-small,
.brand-mark {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    background: radial-gradient(circle at 35% 30%, #c7f062 0 13%, var(--green-2) 36%, var(--green) 68%, var(--green-dark) 100%);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, .55), 0 8px 20px rgba(39, 141, 36, .18);
}

.brand-mark-small {
    width: 42px;
    height: 42px;
    border-radius: 42% 48% 44% 50%;
}

.brand-mark {
    width: 78px;
    height: 78px;
    border-radius: 42% 50% 45% 52%;
}

.brand-mark-small::before,
.brand-mark-small::after,
.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
}

.brand-mark-small::before { width: 7px; height: 25px; }
.brand-mark-small::after { width: 24px; height: 7px; }
.brand-mark::before { width: 11px; height: 47px; }
.brand-mark::after { width: 45px; height: 11px; }

.shell {
    width: min(1240px, calc(100vw - 32px));
    margin: 30px auto 54px;
}

.workspace-hero {
    min-height: 210px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    padding: 34px;
    margin-bottom: 26px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(239, 248, 231, .92)),
        radial-gradient(circle at 96% 20%, rgba(39, 141, 36, .16), transparent 18rem);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.workspace-hero h1 {
    max-width: 680px;
    font-size: clamp(32px, 4vw, 54px);
    margin: 6px 0 10px;
    color: var(--green-dark);
}

.workspace-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.eyebrow {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
}

.page-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

h1, h2, h3 { margin: 0 0 8px; line-height: 1.12; }
p { line-height: 1.5; }

.panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 12px 40px rgba(23, 71, 35, .06);
}

.narrow {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.stack { display: grid; gap: 14px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }

label {
    display: grid;
    gap: 7px;
    font-weight: 800;
    font-size: 13px;
    color: var(--green-dark);
}

input, select, textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #ccdcc7;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(111, 190, 50, .22);
    border-color: var(--green);
}

button, .button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 6px;
    padding: 10px 16px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(39, 141, 36, .16);
}

.button.secondary, button.secondary {
    background: #fff;
    color: var(--green-dark);
    box-shadow: none;
}

button.danger { background: var(--danger); border-color: var(--danger); }
.danger-zone { border-left: 3px solid var(--danger); padding-left: 14px; }
.link-button { background: transparent; border: 0; color: var(--danger); padding: 0; min-height: 0; box-shadow: none; }

.notice {
    background: var(--leaf);
    border: 1px solid #bfddaf;
    border-radius: 8px;
    padding: 13px 15px;
    margin-bottom: 18px;
}

table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); padding: 13px 9px; text-align: left; vertical-align: top; }
th { color: var(--green-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status { background: var(--leaf); color: var(--green-dark); padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.media-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 12px;
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--leaf);
}

.media-card strong, .media-card span, .media-card p {
    display: block;
    margin: 8px 12px 0;
}

.media-card span, .media-card p { color: var(--muted); font-size: 13px; }

.preview-wrap {
    overflow: auto;
    padding: 28px;
    background: linear-gradient(135deg, #dce8dd, #edf3e9);
    border-radius: 8px;
}

.bulletin-book {
    min-width: 1120px;
    display: grid;
    grid-template-columns: repeat(4, 260px);
    gap: 26px;
    justify-content: center;
}

.bulletin-page {
    position: relative;
    aspect-ratio: 148 / 210;
    overflow: hidden;
    background: var(--paper);
    color: #253027;
    border-radius: 2px;
    box-shadow: 0 16px 36px rgba(34, 48, 40, .18);
    padding: 22px;
}

.bulletin-page::before,
.bulletin-page::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.cover-page {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px 26px;
}

.cover-ribbon {
    position: absolute;
    left: -12px;
    width: 112%;
    height: 88px;
    background: linear-gradient(135deg, rgba(111, 190, 50, .25), rgba(39, 141, 36, .86));
    clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 76%);
}

.cover-ribbon.top {
    top: -34px;
    transform: rotate(-7deg);
    opacity: .55;
}

.cover-ribbon.bottom {
    bottom: -24px;
    transform: rotate(-5deg);
}

.brand-lockup {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.brand-lockup div span {
    display: block;
    font-size: 18px;
}

.brand-lockup div strong {
    display: block;
    font-size: 42px;
    line-height: .9;
    color: #272827;
}

.cover-title {
    display: grid;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: .32em;
    color: #26352c;
    font-size: 12px;
}

.cover-title strong {
    color: var(--green-dark);
    font-size: 13px;
}

.cover-page > p {
    text-transform: uppercase;
    letter-spacing: .42em;
    color: #8b948d;
    font-size: 10px;
}

.open-bible {
    width: 94px;
    height: 48px;
    border-bottom: 2px solid #b8d391;
    position: relative;
}

.open-bible::before,
.open-bible::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 48px;
    height: 28px;
    border: 2px solid #b8d391;
    border-top: 0;
}

.open-bible::before {
    left: 0;
    border-radius: 0 0 0 32px;
    transform: skewY(-10deg);
}

.open-bible::after {
    right: 0;
    border-radius: 0 0 32px 0;
    transform: skewY(10deg);
}

.content-page h2,
.reflection-page h2 {
    color: var(--green-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 2px solid #b8d391;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.memory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.memory-grid figure {
    margin: 0;
}

.memory-grid figure span {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    background:
        linear-gradient(135deg, rgba(13, 77, 35, .22), rgba(111, 190, 50, .1)),
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, .95), transparent 14%),
        linear-gradient(135deg, #253a2c, #8bbd6b);
}

.memory-grid figcaption {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 800;
}

.editorial-block {
    margin-top: 12px;
}

.editorial-block h3,
.offering-box h3,
.contact-box h3,
.council-box h3,
.official-box h3 {
    color: var(--green-dark);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.editorial-block p,
.editorial-block li,
.schedule-list p,
.offering-box p,
.contact-box p,
.council-box p,
.official-box p,
.reflection-copy,
.note-box {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
}

.editorial-block ul {
    margin: 6px 0 0;
    padding-left: 16px;
}

.birthday-columns {
    column-count: 2;
    column-gap: 12px;
}

.birthday-columns p {
    margin: 0 0 3px;
    break-inside: avoid;
    font-size: 9px;
}

.prayer-strip {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.prayer-strip span {
    min-height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #c9e0bd;
    border-radius: 6px;
    font-size: 8px;
    color: var(--green-dark);
    font-weight: 800;
}

.schedule-list {
    display: grid;
    gap: 3px;
    margin-bottom: 10px;
}

.schedule-list p {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    background: #f7fbf1;
    border: 1px solid #e1edd8;
    border-radius: 5px;
}

.schedule-list span {
    text-align: right;
    color: var(--muted);
}

.offering-box,
.contact-box,
.council-box,
.official-box {
    border: 1px solid #c8dfbc;
    border-radius: 7px;
    padding: 10px;
    margin-top: 9px;
}

.offering-box {
    min-height: 92px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 8px;
    align-items: center;
}

.offering-box h3 {
    grid-column: 1 / -1;
    margin: 0;
}

.qr-placeholder {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: end center;
    padding-bottom: 3px;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    background:
        linear-gradient(90deg, #111 8px, transparent 8px 14px, #111 14px 22px, transparent 22px 30px, #111 30px),
        linear-gradient(#111 8px, transparent 8px 14px, #111 14px 22px, transparent 22px 30px, #111 30px),
        var(--green);
    border: 5px solid #f8fbf4;
    box-shadow: 0 0 0 1px #cadfbd;
}

.council-box,
.official-box {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    border: 0;
}

.council-box h3,
.official-box h3 { color: #fff; }

.reflection-page {
    padding: 28px;
}

.reflection-page h1 {
    margin: 18px 0 16px;
    font-size: 34px;
    color: var(--green-dark);
    line-height: .98;
}

.reflection-copy {
    font-size: 11px;
}

blockquote {
    margin: 18px 0 0;
    padding: 12px;
    border: 1px solid #cfe2c4;
    border-radius: 8px;
    color: #425043;
    font-size: 11px;
    line-height: 1.45;
}

blockquote cite {
    display: block;
    margin-top: 8px;
    color: var(--green);
    font-style: normal;
    font-weight: 900;
}

.signature {
    margin: 18px 0;
    color: #6a756a;
    font-size: 18px;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    text-align: center;
}

.note-box {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 10px;
    border-radius: 6px;
    background: #eef8dc;
    border: 1px solid #d1e5b6;
    color: #536250;
}

@media (max-width: 900px) {
    .topbar, .page-head, .workspace-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .grid.two, .grid.four { grid-template-columns: 1fr; }
    .actions { width: 100%; }
    .button, button { width: 100%; }
    table { display: block; overflow-x: auto; }
    .preview-wrap { padding: 18px; }
    .bulletin-book { justify-content: start; }
}

/* V2.61.0 - App screens aligned to the approved UI mockups */
.authenticated.screen-dashboard,
.authenticated.screen-edit_bulletin {
    background: #fff;
}

.authenticated.screen-dashboard .topbar,
.authenticated.screen-edit_bulletin .topbar,
.authenticated.screen-preview .topbar {
    display: none;
}

.authenticated.screen-dashboard .shell,
.authenticated.screen-edit_bulletin .shell,
.authenticated.screen-preview .shell {
    width: 100%;
    margin: 0;
}

.dashboard-app,
.editor-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background: #fff;
}

.app-sidebar {
    min-height: 100vh;
    padding: 26px 14px;
    border-right: 1px solid #dfe5dd;
    background: linear-gradient(180deg, #fff 0%, #fbfdf9 100%);
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 24px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 20px;
}

.sidebar-brand div span {
    display: block;
    font-size: 14px;
}

.sidebar-brand div strong {
    display: block;
    color: var(--green-dark);
    font-size: 29px;
    line-height: .9;
}

.app-sidebar nav {
    display: grid;
    align-content: start;
    gap: 10px;
}

.app-sidebar nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 18px;
    color: #1f2d25;
    border-radius: 6px;
    font-weight: 700;
}

.app-sidebar nav a span {
    width: 22px;
    display: inline-grid;
    place-items: center;
    color: var(--green-dark);
    font-size: 18px;
}

.app-sidebar nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--green-dark), #0a5a28);
    box-shadow: 0 12px 24px rgba(13, 77, 35, .2);
}

.app-sidebar nav a.active span {
    color: #fff;
}

.sidebar-card,
.sidebar-user {
    margin: 0 6px;
    padding: 16px;
    border: 1px solid #c9deb9;
    border-radius: 8px;
    background: linear-gradient(135deg, #fbfff8, #eef8e9);
}

.sidebar-card strong,
.sidebar-card span,
.sidebar-user strong,
.sidebar-user small {
    display: block;
}

.sidebar-card strong,
.sidebar-user strong {
    color: var(--green-dark);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sidebar-user > span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dcefd3;
    color: var(--green-dark);
}

.dashboard-main,
.editor-main {
    min-width: 0;
}

.dashboard-header,
.editor-header {
    min-height: 126px;
    padding: 34px 44px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e1e6df;
}

.dashboard-header h1,
.editor-header h1 {
    color: var(--green-dark);
    font-size: 32px;
    margin: 0 0 8px;
}

.dashboard-header p,
.editor-header p {
    color: var(--muted);
    margin: 0;
}

.editor-header p span {
    margin-left: 34px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-dot {
    color: var(--green-dark);
    font-size: 26px;
}

.bulletin-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    min-height: calc(100vh - 126px);
}

.bulletin-list-panel {
    padding: 24px 0 26px 0;
}

.filters-row {
    display: grid;
    grid-template-columns: 152px 160px 160px minmax(220px, 1fr);
    gap: 34px;
    padding: 0 44px 22px;
    align-items: end;
}

.filters-row label {
    color: #536150;
    font-weight: 600;
}

.filters-row input,
.filters-row select {
    height: 42px;
}

.bulletin-table {
    border-top: 1px solid #edf1ec;
}

.bulletin-table th {
    height: 54px;
    padding: 0 16px;
    color: #536150;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.bulletin-table td {
    padding: 16px;
    border-bottom: 1px solid #edf1ec;
    vertical-align: middle;
}

.bulletin-table td strong,
.bulletin-table td span {
    display: block;
}

.bulletin-table td strong {
    color: var(--green-dark);
}

.bulletin-table td span {
    color: var(--muted);
    font-size: 13px;
}

.bulletin-table tr.selected-row {
    background: linear-gradient(90deg, rgba(232, 245, 223, .9), rgba(246, 251, 240, .72));
    outline: 1px solid #9dcc7d;
    outline-offset: -1px;
}

.radio-dot {
    width: 16px;
    height: 16px;
    border: 1px solid #bac6bc;
    border-radius: 50%;
    display: inline-block;
}

.radio-dot.active {
    border: 5px solid var(--green-dark);
}

.status.published {
    background: #dff2d7;
    color: var(--green-dark);
    border-radius: 6px;
    width: max-content;
}

.status.draft {
    background: #fff2c9;
    color: #7d5b00;
    border-radius: 6px;
    width: max-content;
}

.row-actions {
    white-space: nowrap;
}

.row-actions a {
    display: inline-flex;
    margin-right: 16px;
    color: #111;
    font-size: 12px;
    font-weight: 700;
}

.table-footer {
    padding: 18px 44px;
    color: var(--muted);
}

.selected-panel {
    padding: 24px 18px;
    border-left: 1px solid #dfe5dd;
    background: #fff;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    color: var(--green-dark);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
}

.selected-summary {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.cover-thumb {
    height: 240px;
    border: 1px solid #dfe6dd;
    border-radius: 6px;
    padding: 8px;
}

.mini-cover {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    background: #fffdf9;
}

.mini-cover strong {
    color: var(--green-dark);
    font-size: 14px;
    line-height: 1.05;
}

.mini-cover small {
    color: var(--green-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.mini-cover .cover-ribbon {
    height: 40px;
    width: 130%;
}

.checklist,
.history-list,
.quick-duplicate {
    border-top: 1px solid #dfe5dd;
    padding-top: 14px;
    margin-top: 18px;
}

.checklist h3,
.history-list h3,
.quick-duplicate h3 {
    font-size: 14px;
    color: var(--green-dark);
}

.checklist p {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    margin: 9px 0;
    font-size: 13px;
}

.checklist strong {
    color: var(--green-dark);
    font-size: 12px;
}

.history-list p,
.quick-duplicate p {
    font-size: 13px;
}

.history-list span {
    color: var(--muted);
}

.editor-grid {
    padding: 28px 24px;
    display: grid;
    grid-template-columns: minmax(460px, 1fr) minmax(420px, .9fr);
    gap: 20px;
}

.editor-form {
    min-width: 0;
}

.timeline-form {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 14px;
}

.timeline-form::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 24px;
    bottom: 120px;
    width: 1px;
    background: #dfe8db;
}

.step-dot {
    width: 26px;
    height: 26px;
    margin-top: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-dark);
    color: #fff;
    font-weight: 800;
    z-index: 1;
}

.editor-section {
    margin-bottom: 0;
    padding: 18px 22px;
    border: 1px solid #dfe5dd;
    border-radius: 8px;
    background: #fff;
}

.editor-section + .step-dot {
    margin-top: 18px;
}

.editor-section header,
.editor-section summary {
    list-style: none;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.editor-section summary::-webkit-details-marker {
    display: none;
}

.editor-section h2 {
    font-size: 20px;
}

.editor-section p {
    margin: 0;
    color: var(--muted);
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #f0f5ec;
    color: var(--green-dark);
    font-size: 23px;
}

.editor-section .grid {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e4e9e1;
}

.add-section-box {
    grid-column: 2;
    min-height: 138px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed #cddbc8;
    border-radius: 8px;
    color: var(--green-dark);
    background: #fff;
}

.add-section-box strong {
    font-size: 34px;
    font-weight: 300;
}

.add-section-box small {
    color: var(--muted);
}

.editor-preview-panel {
    border: 1px solid #dfe5dd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    align-self: start;
}

.editor-preview-panel > header {
    min-height: 58px;
    padding: 12px 18px;
    border-bottom: 1px solid #dfe5dd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-preview-panel .button {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
}

.preview-note {
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid #dfe5dd;
    color: var(--muted);
    font-size: 13px;
}

.collage-preview {
    margin: 20px;
    border: 1px solid #dfe5dd;
    display: grid;
    grid-template-columns: 45% 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: #fffdf9;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.collage-cover {
    grid-row: span 2;
    min-height: 420px;
}

.collage-page,
.collage-bottom {
    min-height: 180px;
    padding: 12px;
    border-left: 1px solid #e5ebe3;
}

.collage-page h4,
.collage-bottom h4 {
    margin: 0 0 8px;
    color: var(--green-dark);
    text-transform: uppercase;
    font-size: 11px;
    border-bottom: 1px solid #bad49d;
    padding-bottom: 5px;
}

.collage-page h3 {
    color: var(--green-dark);
    font-size: 27px;
    line-height: .96;
}

.collage-page p,
.collage-bottom p {
    margin: 4px 0;
    font-size: 10px;
}

.collage-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.collage-photo-grid span {
    height: 46px;
    border-radius: 4px;
    background: linear-gradient(135deg, #25482d, #79a84d);
}

.collage-footer {
    grid-column: 1 / -1;
    padding: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hidden-legacy-actions {
    display: none;
}

@media (max-width: 1120px) {
    .dashboard-app,
    .editor-app {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        min-height: auto;
        grid-template-rows: auto;
    }

    .app-sidebar nav {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .bulletin-workspace,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .selected-panel {
        border-left: 0;
        border-top: 1px solid #dfe5dd;
    }
}

.preview-studio {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 60px 255px minmax(620px, 1fr) 340px;
    grid-template-rows: 1fr 72px;
    background: #fff;
}

.studio-rail {
    grid-row: 1 / -1;
    display: grid;
    grid-template-rows: 70px repeat(6, 52px) 1fr;
    justify-items: center;
    background: linear-gradient(180deg, #0e662c, #003f22);
}

.studio-rail .brand-mark-small {
    margin-top: 18px;
}

.studio-rail a {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 21px;
    border-left: 4px solid transparent;
}

.studio-rail a.active {
    background: rgba(255,255,255,.1);
    border-left-color: #fff;
}

.studio-sections {
    grid-row: 1 / -1;
    border-right: 1px solid #e0e5df;
    background: #fff;
    padding: 0 12px;
}

.studio-sections header {
    height: 72px;
    display: grid;
    align-content: center;
    border-bottom: 1px solid #e0e5df;
}

.studio-sections header strong {
    font-size: 22px;
    color: var(--green-dark);
}

.studio-sections header span {
    color: var(--muted);
    font-size: 13px;
}

.studio-sections h3 {
    margin: 28px 8px 16px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .04em;
}

.studio-sections a {
    min-height: 62px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 6px;
    color: #1f2d25;
}

.studio-sections a.selected {
    background: linear-gradient(90deg, #eaf4e1, #f4faee);
    border-left: 4px solid var(--green);
}

.studio-sections a span {
    color: var(--green-dark);
    font-weight: 900;
}

.studio-sections a strong,
.studio-sections a small {
    display: block;
}

.studio-sections a small {
    color: var(--muted);
}

.ghost-add {
    width: calc(100% - 24px);
    margin: 12px;
    background: #fff;
    color: var(--green-dark);
    border: 1px dashed #ccd9c7;
    box-shadow: none;
}

.studio-main {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    background: #fbfcfb;
}

.studio-topbar {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 24px;
    border-bottom: 1px solid #e0e5df;
    background: #fff;
}

.studio-topbar div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-topbar strong {
    color: var(--green-dark);
    font-size: 18px;
}

.studio-topbar span {
    border: 1px solid #bcd2ac;
    background: #eff8e7;
    color: var(--green-dark);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 13px;
}

.studio-topbar small {
    color: var(--muted);
}

.studio-topbar nav {
    display: flex;
    gap: 10px;
}

.studio-preview {
    padding: 30px 22px 18px;
}

.studio-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.studio-preview-head h1 {
    font-size: 16px;
    text-transform: uppercase;
}

.studio-preview-head span {
    color: #48534c;
}

.spread-preview {
    display: grid;
    grid-template-columns: minmax(260px, 350px) minmax(260px, 350px);
    gap: 10px;
    justify-content: center;
}

.spread-preview .bulletin-page {
    width: 100%;
    min-height: 520px;
    aspect-ratio: 148 / 210;
}

.thumb-strip {
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 90px);
    gap: 16px;
    justify-content: center;
    align-items: end;
}

.thumb-strip span {
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #1f2d25;
    font-size: 12px;
}

.thumb-strip em {
    width: 72px;
    height: 96px;
    border: 1px solid #d8e2d5;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(39,141,36,.18), transparent 36%),
        #fffdf9;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.thumb-strip span.active em {
    outline: 2px solid var(--green);
}

.studio-inspector {
    grid-column: 4;
    grid-row: 1 / -1;
    border-left: 1px solid #e0e5df;
    background: #fff;
    padding: 28px 18px;
    overflow: auto;
}

.studio-inspector h3 {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
}

.studio-inspector > strong {
    display: block;
    color: var(--green-dark);
    font-size: 16px;
    margin-bottom: 18px;
}

.studio-inspector label {
    margin-bottom: 16px;
}

.studio-inspector textarea {
    line-height: 1.45;
}

.limit-ok,
.tip-box {
    padding: 10px 12px;
    border-radius: 6px;
    background: #edf7e5;
    color: var(--green-dark);
    font-size: 12px;
    margin: -10px 0 16px;
}

.tip-box {
    margin-top: 4px;
    color: #4d5b4e;
}

.studio-bottom {
    grid-column: 3 / 4;
    border-top: 1px solid #e0e5df;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px;
}

.studio-bottom .button {
    min-height: 42px;
}

@media (max-width: 1280px) {
    .preview-studio {
        grid-template-columns: 60px 220px minmax(620px, 1fr);
    }

    .studio-inspector {
        display: none;
    }

    .studio-bottom {
        grid-column: 3 / 4;
    }
}

@media (max-width: 980px) {
    .preview-studio {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .studio-rail,
    .studio-sections,
    .studio-inspector,
    .studio-bottom {
        display: none;
    }

    .spread-preview,
    .thumb-strip {
        grid-template-columns: 1fr;
    }
}
