:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #1e293b; background: #f6f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #275dad; }
h1, h2, h3 { color: #172033; }
h1 { margin-top: 0; }
.app-header { position: fixed; z-index: 25; inset: 0 0 auto; background: #172033; color: #fff; }
.app-header__inner { display: flex; width: calc(100% - 2rem); min-height: 64px; gap: 1.25rem; align-items: center; margin: 0 auto; }
.app-sidebar { position: fixed; z-index: 20; inset: 64px auto 0 0; width: 260px; padding: 1rem; overflow-y: auto; background: #172033; color: #fff; box-shadow: 2px 0 12px #0f172a1f; transition: width .2s ease, transform .2s ease; }
.sidebar-header { display: flex; justify-content: flex-end; min-height: 2.55rem; margin-bottom: .35rem; }
.sidebar-collapse-toggle, .sidebar-menu-toggle { display: inline-flex; width: 2.55rem; min-height: 2.55rem; padding: .55rem; border: 1px solid #52627d; background: #26344d; color: #dbeafe; }
.sidebar-collapse-toggle:hover, .sidebar-menu-toggle:hover { background: #334155; }
.sidebar-collapse-toggle svg, .sidebar-menu-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-menu-toggle__icon--close { display: none; }
body.sidebar-open .sidebar-menu-toggle__icon--menu { display: none; }
body.sidebar-open .sidebar-menu-toggle__icon--close { display: block; }
.sidebar-menu-toggle, .sidebar-overlay { display: none; }
.app-brand { color: #fff; font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.app-organization { min-width: 0; flex: 1; overflow: hidden; color: #bfdbfe; font-size: .9rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.organization-slug { display: grid; gap: .3rem; margin-bottom: 1rem; padding: .8rem; border-radius: .4rem; background: #f8fafc; }
.organization-slug span { color: #475569; font-size: .9rem; font-weight: 650; }
.organization-slug small { color: #64748b; }
.app-nav { display: grid; gap: .3rem; }
.app-nav a { display: flex; align-items: center; gap: .7rem; padding: .72rem .8rem; border-radius: .45rem; color: #dbeafe; font-weight: 600; line-height: 1.25; text-decoration: none; }
.app-nav .nav-icon { width: 1.25rem; height: 1.25rem; flex: 0 0 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-nav .nav-icon path:first-child { fill: none; }
.app-nav a:hover { background: #26344d; color: #fff; }
.app-nav a[aria-current='page'] { background: #275dad; color: #fff; }
.app-user { display: grid; gap: .1rem; max-width: 260px; color: #dbeafe; font-size: .82rem; overflow-wrap: anywhere; }
.app-user small { color: #94a3b8; }
.logout-form { display: block; }
.logout-form button { background: #26344d; }
.logout-form button:hover { background: #334155; }
.notification-center { position: relative; flex: 0 0 auto; }
.notification-center > summary { position: relative; display: flex; min-height: 2.5rem; gap: .65rem; align-items: center; padding: .6rem .8rem; border-radius: .45rem; background: #26344d; cursor: pointer; font-weight: 600; list-style: none; }
.notification-center > summary::-webkit-details-marker { display: none; }
.notification-badge { position: absolute; top: -.3rem; right: -.35rem; display: grid; min-width: 1.25rem; height: 1.25rem; padding: 0 .25rem; border: 2px solid #172033; border-radius: 999px; background: #dc2626; color: #fff; font-size: .68rem; font-weight: 800; place-items: center; }
.notification-badge.is-hidden { display: none; }
.notification-dropdown { position: absolute; z-index: 30; top: calc(100% + .7rem); right: 0; width: min(380px, calc(100vw - 2rem)); max-height: 70vh; overflow-y: auto; border: 1px solid #cbd5e1; border-radius: .65rem; background: #fff; box-shadow: 0 15px 40px #0f172a33; color: #1e293b; }
.notification-dropdown__header { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid #e2e8f0; background: #fff; }
.notification-item { margin: 0; border-bottom: 1px solid #e2e8f0; }
.notification-item--unread { background: #eff6ff; box-shadow: inset 3px 0 #2563eb; }
.notification-item__button { display: grid; width: 100%; min-height: 0; gap: .25rem; padding: .8rem 1rem; border: 0; border-radius: 0; background: transparent; color: #1e293b; font-weight: 400; text-align: left; }
.notification-item__button:hover { background: #f8fafc; color: #1e293b; }
.notification-item__button strong { font-size: .9rem; }
.notification-item__button span { overflow-wrap: anywhere; color: #475569; font-size: .84rem; }
.notification-item__button time { color: #64748b; font-size: .75rem; }
.notification-empty { padding: 1rem; color: #64748b; text-align: center; }
.notification-page-list { display: grid; gap: .5rem; }
.notification-page-list .notification-item { overflow: hidden; border: 1px solid #e2e8f0; border-radius: .5rem; }
.notification-toast { position: fixed; z-index: 50; right: 1rem; bottom: 1rem; width: min(360px, calc(100vw - 2rem)); padding: .9rem 1rem; border-radius: .55rem; background: #172033; box-shadow: 0 10px 30px #0f172a55; color: #fff; }
.app-main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1.5rem 0 3rem; }
.app-main--authenticated { width: auto; max-width: 1212px; margin-left: 260px; padding: 5.5rem 1rem 3rem; transition: margin-left .2s ease; }
body.sidebar-collapsed .app-sidebar { width: 72px; padding-inline: .75rem; }
body.sidebar-collapsed .app-main--authenticated { margin-left: 72px; }
body.sidebar-collapsed .sidebar-collapse-toggle svg { transform: rotate(180deg); }
body.sidebar-collapsed .app-nav a { justify-content: center; padding-inline: .5rem; }
body.sidebar-collapsed .app-nav a span { display: none; }
.flash { padding: .75rem 1rem; margin: 0 0 1rem; border-radius: .4rem; background: #dbeafe; }
.flash-success { background: #dcfce7; }
.flash-error { background: #fee2e2; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.button, button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.55rem; border: 1px solid transparent; border-radius: .45rem; padding: .58rem .9rem; background: #275dad; color: white; font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; }
.button:hover, button:hover { background: #1f4b8f; }
.button-secondary { border-color: #cbd5e1; background: #fff; color: #334155; }
.button-secondary:hover { background: #f1f5f9; }
.button-danger { border-color: #fecaca; background: #fff; color: #b91c1c; }
.button-danger:hover { background: #fef2f2; }
.button-small { min-height: 2.1rem; padding: .4rem .65rem; font-size: .875rem; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; padding: 1rem; margin: 1rem 0; background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem; }
.filters label:first-child { grid-column: span 2; }
.filters label { display: grid; gap: .25rem; font-size: .85rem; }
.filter-actions { display: flex; grid-column: span 2; flex-wrap: wrap; gap: .5rem; align-items: end; }
.issue-filters .filter-actions { flex-wrap: nowrap; }
.issue-filters .filter-actions > * { padding-inline: .65rem; font-size: .9rem; white-space: nowrap; }
input, select, textarea { width: 100%; padding: .55rem; border: 1px solid #cbd5e1; border-radius: .3rem; background: #fff; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: .5rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid #e2e8f0; text-align: left; white-space: nowrap; }
.status { display: inline-block; padding: .25rem .5rem; border-radius: 999px; background: #e2e8f0; font-size: .82rem; }
.status-ready { background: #dbeafe; }.status-scheduled { background: #fef3c7; }.status-published { background: #dcfce7; }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.pagination a, .pagination span { padding: .4rem .65rem; border: 1px solid #cbd5e1; border-radius: .3rem; background: #fff; }
.pagination .current { background: #275dad; color: #fff; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { padding: 1rem; border: 1px solid #e2e8f0; background: #fff; border-radius: .5rem; box-shadow: 0 1px 3px #0001; color: #334155; text-decoration: none; transition: border-color .15s, transform .15s; }
.stat-card:hover { border-color: #93b4df; transform: translateY(-1px); }
.stat-card strong { display: block; font-size: 2rem; }
.page-heading { margin-bottom: 1.25rem; }
.page-heading h1 { margin-bottom: .35rem; }
.page-heading p, .page-header p { margin: 0; color: #64748b; }
.breadcrumbs { display: flex; gap: .45rem; margin-bottom: 1rem; color: #64748b; overflow: hidden; white-space: nowrap; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.panel { padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: .65rem; background: #fff; box-shadow: 0 1px 2px #0f172a0a; }
.panel-title { margin: 0 0 1rem; font-size: 1.05rem; }
.article-page-header { margin-bottom: 1.25rem; align-items: flex-start; }
.article-page-header h1 { max-width: 850px; margin: .5rem 0 0; line-height: 1.15; }
.article-view-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem; align-items: start; }
.article-view-main, .article-view-sidebar { display: grid; gap: 1.25rem; min-width: 0; }
.article-view-sidebar { position: sticky; top: 1rem; }
.article-meta { display: grid; gap: .9rem; margin: 0; }
.article-meta div { display: grid; gap: .2rem; padding-bottom: .8rem; border-bottom: 1px solid #e2e8f0; }
.article-meta div:last-child { padding-bottom: 0; border-bottom: 0; }
.article-meta dt { color: #64748b; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.article-meta dd { margin: 0; font-weight: 550; }
.article-body-panel { min-width: 0; min-height: 320px; }
.article-content { max-width: 100%; min-width: 0; color: #273449; font: 17px/1.72 Georgia, 'Times New Roman', serif; overflow-wrap: anywhere; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-content > :first-child { margin-top: 0; }
.article-content > :last-child { margin-bottom: 0; }
.article-actions { display: grid; gap: .6rem; }
.article-actions > *, .article-actions form > button, .article-actions > a { width: 100%; margin: 0; }
.article-actions .danger-action { margin-top: .45rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.assign-issue-form { margin-top: .45rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.assign-issue-form > div { margin-bottom: .6rem; }
.assign-issue-form label { display: block; margin-bottom: .3rem; color: #64748b; font-size: .85rem; }
.section-heading h2 { margin: 0; }
.section-heading p { margin: .35rem 0 0; color: #64748b; }
.inline-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; margin: 1rem 0 1.25rem; padding: 1rem; border-radius: .5rem; background: #f8fafc; }
.inline-upload-form > div { margin: 0; }
.inline-upload-form label { display: block; margin-bottom: .35rem; color: #475569; font-size: .85rem; font-weight: 600; }
.article-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.article-image-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: .55rem; background: #f8fafc; }
.article-image-card > img { display: block; width: 100%; height: 220px; object-fit: contain; background: #eef2f7; }
.article-image-card__body { display: grid; gap: .35rem; padding: .85rem; }
.article-image-card__body > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-image-card__body > span { color: #64748b; font-size: .85rem; }
.compact-actions { display: flex; gap: .5rem; margin-top: .45rem; }
.compact-actions form { margin: 0; }
.file-button { position: relative; min-height: 2.1rem; padding: .4rem .65rem; overflow: hidden; font-size: .875rem; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.image-order-form { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.image-order-form h3 { margin-top: 0; }
.image-order-fields { display: grid; gap: .5rem; margin-bottom: .75rem; }
.image-order-fields label { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; align-items: center; gap: 1rem; }
.table-actions { display: flex; gap: .4rem; }
.article-list-table { table-layout: fixed; font-size: .9rem; }
.article-list-table th, .article-list-table td { white-space: normal; overflow-wrap: anywhere; }
.article-list-table th:nth-child(1) { width: 23%; }
.article-list-table th:nth-child(2) { width: 12%; }
.article-list-table th:nth-child(3) { width: 13%; }
.article-list-table th:nth-child(4) { width: 15%; }
.article-list-table th:nth-child(5) { width: 6%; }
.article-list-table th:nth-child(6), .article-list-table th:nth-child(7) { width: 11%; }
.article-list-table th:nth-child(8) { width: 9%; }
.article-list-table .table-actions { flex-wrap: wrap; }
.table-action { display: inline-flex; padding: .3rem .5rem; border-radius: .3rem; background: #eff6ff; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.role-list { display: flex; flex-wrap: wrap; gap: .3rem; }
.role-badge, .state-badge { display: inline-flex; align-items: center; padding: .22rem .48rem; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.role-badge { background: #eef2ff; color: #4338ca; }
.state-active { background: #dcfce7; color: #166534; }
.state-blocked { background: #fee2e2; color: #991b1b; }
.form-card { width: min(100%, 720px); }
.form-card form > div { margin-bottom: 1rem; }
.form-card form > div > label:not(.required), .form-card form > div > label.required { display: block; margin-bottom: .35rem; color: #475569; font-size: .9rem; font-weight: 650; }
.form-card form > div > div > div { display: flex; align-items: center; gap: .5rem; margin: .45rem 0; }
.form-card input[type='checkbox'] { width: auto; }
.form-card input[type='checkbox'] + label { margin: 0; }
.form-card .form-actions { display: inline-flex; gap: .5rem; margin-left: .5rem; padding-top: .25rem; vertical-align: top; }
.login-shell { display: grid; min-height: calc(100vh - 7rem); place-items: center; }
.login-card { width: min(100%, 430px); padding: 2rem; }
.login-brand { color: #275dad; font-weight: 800; }
.login-card h1 { margin: .65rem 0 .35rem; }
.login-card > p { margin-top: 0; color: #64748b; }
.stacked-form { display: grid; gap: .45rem; margin-top: 1.5rem; }
.stacked-form input { margin-bottom: .65rem; }
.stacked-form button { margin-top: .35rem; }
.form-alert { padding: .75rem; border-radius: .4rem; background: #fee2e2; color: #991b1b !important; }
.user-page-header h1 { margin: .5rem 0 .25rem; }
.user-view-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem; align-items: start; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.detail-list div { min-width: 0; }
.detail-list dt { margin-bottom: .25rem; color: #64748b; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
.user-articles-panel { margin-top: 1.25rem; }
.user-articles-panel .table-wrap { margin-top: 1rem; border: 1px solid #e2e8f0; }
.status-draft { background: #e2e8f0; color: #334155; }
.issue-page-header { margin-bottom: 1.25rem; }
.issue-page-header h1 { margin: .5rem 0 .3rem; }
.issue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem; align-items: start; }
.issue-sidebar { display: grid; gap: 1.25rem; position: sticky; top: 1rem; }
.issue-articles-panel { min-width: 0; }
.issue-articles-panel .table-wrap { max-width: 100%; margin-top: 1rem; }
.issue-articles-table { table-layout: fixed; font-size: .9rem; }
.issue-articles-table th, .issue-articles-table td { white-space: normal; overflow-wrap: anywhere; }
.issue-articles-table th:nth-child(1) { width: 8%; }.issue-articles-table th:nth-child(2) { width: 24%; }.issue-articles-table th:nth-child(3) { width: 14%; }.issue-articles-table th:nth-child(4) { width: 15%; }.issue-articles-table th:nth-child(5) { width: 7%; }.issue-articles-table th:nth-child(6) { width: 14%; }.issue-articles-table th:nth-child(7) { width: 18%; }
.issue-row-actions { display: flex; flex-wrap: wrap; gap: .3rem; }
.issue-row-actions form { margin: 0; }
.icon-button { min-width: 2.1rem; min-height: 2.1rem; padding: .3rem; }
.icon-button:disabled { opacity: .4; cursor: not-allowed; }
.empty-state { margin-top: 1rem; padding: 2rem; border: 1px dashed #cbd5e1; border-radius: .5rem; color: #64748b; text-align: center; }
.muted { color: #64748b; }
.article-create-header { align-items: flex-start; margin-bottom: 1.25rem; }
.article-create-header h1 { margin-bottom: .35rem; }
.import-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 1fr); gap: 1.25rem; align-items: start; }
.import-card { width: 100%; }
.import-note p { line-height: 1.55; }
.review-alert { padding: 1.2rem 1.3rem; border: 1px solid #f59e0b; border-left-width: 5px; border-radius: .65rem; background: #fffbeb; }
.review-alert h2 { margin: .15rem 0 .85rem; font-size: 1.2rem; }
.review-alert__eyebrow { color: #92400e; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.review-comment, .review-item p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-meta { margin: .85rem 0 0; color: #78716c; font-size: .85rem; }
.review-list { display: grid; gap: .8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.review-item { padding: 1rem; border: 1px solid #e2e8f0; border-radius: .5rem; background: #f8fafc; }
.review-item__header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; margin-bottom: .65rem; }
.review-item__header time { color: #64748b; font-size: .85rem; }
.review-form-card textarea { width: 100%; min-height: 11rem; resize: vertical; }
.review-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.page-actions, .calendar-toolbar__next { display: flex; flex-wrap: wrap; gap: .5rem; }
.calendar-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); gap: 1rem; align-items: center; margin: 1.25rem 0; }
.calendar-heading { text-align: center; }
.calendar-heading h2 { margin: 0; text-transform: capitalize; }
.calendar-heading span { color: #64748b; font-size: .875rem; }
.calendar-toolbar__next { justify-content: flex-end; }
.empty-note { padding: .75rem 1rem; border-radius: .45rem; background: #f8fafc; color: #64748b; }
.calendar-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #cbd5e1; border-radius: .65rem; background: #fff; }
.article-calendar { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); min-width: 840px; }
.calendar-weekday { padding: .6rem; border-right: 1px solid #e2e8f0; background: #f1f5f9; color: #475569; font-size: .8rem; font-weight: 750; text-align: center; }
.calendar-day { min-height: 145px; padding: .5rem; overflow: hidden; border-top: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; background: #fff; }
.calendar-day:nth-child(7n), .calendar-weekday:nth-child(7) { border-right: 0; }
.calendar-day--muted { background: #f8fafc; color: #94a3b8; }
.calendar-day--today { background: #eff6ff; box-shadow: inset 0 0 0 2px #3b82f6; }
.calendar-day__header { display: flex; min-height: 1.65rem; align-items: center; justify-content: space-between; gap: .35rem; margin-bottom: .35rem; }
.calendar-day__number { display: inline-grid; min-width: 1.65rem; min-height: 1.65rem; margin-bottom: .35rem; border-radius: 50%; place-items: center; font-size: .82rem; font-weight: 700; }
.calendar-day__header .calendar-day__number { margin-bottom: 0; }
.calendar-day__more { display: inline-grid; min-width: 1.45rem; min-height: 1.45rem; padding: 0 .3rem; border-radius: 999px; background: #475569; color: #fff; font-size: .7rem; font-weight: 750; line-height: 1; place-items: center; }
.calendar-day--today .calendar-day__number { background: #2563eb; color: #fff; }
.calendar-day__articles { display: grid; max-height: 105px; gap: .4rem; overflow-y: auto; }
.calendar-article { display: grid; gap: .2rem; min-width: 0; padding: .35rem; border-radius: .35rem; background: #f8fafc; }
.calendar-article a { overflow: hidden; font-size: .84rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.calendar-article .status { width: fit-content; max-width: 100%; padding: .15rem .38rem; overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.billing-banner { display: grid; gap: .3rem; padding: 1rem 1.2rem; margin: 1rem 0; border: 1px solid #93c5fd; border-left-width: 5px; border-radius: .55rem; background: #eff6ff; }
.billing-banner--danger { border-color: #fca5a5; background: #fef2f2; }
.billing-summary { margin: 1rem 0 1.5rem; }.billing-summary h2 { margin-top: 0; }
.usage-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; }.usage-grid span { display: grid; gap: .25rem; padding: .8rem; border-radius: .45rem; background: #f8fafc; }.usage-grid strong { font-size: 1.15rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1rem; }.plan-card { display: flex; flex-direction: column; }.plan-card form { margin-top: auto; }.plan-price { display: block; margin: 1rem 0; font-size: 1.25rem; }
@media (max-width: 900px) { .app-header { position: static; }.app-header__inner { flex-wrap: wrap; padding: .75rem 0; }.sidebar-menu-toggle { position: relative; z-index: 45; display: inline-flex; }.app-organization { flex-basis: calc(100% - 180px); }.app-user { display: none; }.app-sidebar, body.sidebar-collapsed .app-sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); min-height: 100%; padding: 1rem; transform: translateX(-105%); transition: transform .2s ease; }.sidebar-header { margin-top: 0; }.app-nav { grid-template-columns: 1fr; }.app-nav a, body.sidebar-collapsed .app-nav a { justify-content: flex-start; padding-inline: .8rem; }.app-nav a span, body.sidebar-collapsed .app-nav a span { display: inline; }.app-main--authenticated, body.sidebar-collapsed .app-main--authenticated { width: min(100% - 2rem, 1180px); margin-inline: auto; padding: 1.5rem 0 3rem; }.sidebar-collapse-toggle { display: none; }.sidebar-overlay { position: fixed; z-index: 35; inset: 0; width: 100%; min-height: 100%; border: 0; border-radius: 0; background: #0f172a88; }.sidebar-open .app-sidebar { z-index: 40; transform: translateX(0); }.sidebar-open .sidebar-overlay { display: block; }.sidebar-open { overflow: hidden; }.filters { grid-template-columns: 1fr 1fr; }.dashboard-grid { grid-template-columns: 1fr 1fr; }.article-view-layout, .user-view-grid, .issue-layout, .import-layout { grid-template-columns: 1fr; }.article-view-sidebar { position: static; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }.issue-sidebar { position: static; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }.article-list-table, .issue-articles-table { min-width: 980px; } }
@media (max-width: 600px) { .app-header__inner { gap: .75rem; }.app-brand { flex: 1; }.app-organization { order: 3; flex-basis: 100%; white-space: normal; }.notification-center > summary span:nth-child(2) { display: none; }.app-nav { grid-template-columns: 1fr; }.filters, .dashboard-grid, .article-meta, .detail-list { grid-template-columns: 1fr; }.filters label:first-child { grid-column: auto; }.filter-actions { grid-column: 1; }.page-header { align-items: stretch; flex-direction: column; }.article-view-sidebar, .issue-sidebar { grid-template-columns: 1fr; }.inline-upload-form, .article-image-grid { grid-template-columns: 1fr; }.article-image-card > img { height: 180px; }.login-card { padding: 1.25rem; }.calendar-toolbar { grid-template-columns: 1fr; }.calendar-heading { grid-row: 1; }.calendar-toolbar > .button { width: 100%; }.calendar-toolbar__next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.calendar-toolbar__next .button { width: 100%; }.calendar-day { min-height: 125px; } }
@media (max-width: 600px) { .notification-dropdown { position: fixed; top: 1rem; right: 1rem; bottom: auto; left: 1rem; width: auto; max-height: calc(100vh - 2rem); } }
@media (max-width: 600px) { .usage-grid { grid-template-columns: 1fr; } }
