@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');

@font-face {
    font-family: 'Lemands';
    font-weight: 600;
    font-display: swap;
    src: url('https://plutinogroup.com/wp-content/uploads/2024/04/Massimo-Semibold.woff') format('woff'),
         url('https://plutinogroup.com/wp-content/uploads/2024/04/Lemands-Semibold.ttf') format('truetype');
}

:root {
    --bg: #efeee9;
    --surface: #ffffff;
    --surface-soft: #f7f6f2;
    --line: #dddcd7;
    --line-strong: #c4c3be;
    --text: #000000;
    --muted: #888888;
    --muted-strong: #444444;
    --accent: #000000;
    --accent-soft: #efeee9;
    --button-dark: #000000;
    --button-light: #efeee9;
    --display-font: 'Lemands', 'Barlow Condensed', Impact, sans-serif;
    --plutino-image-radius: 14px;
    --plutino-image-radius-tablet: 13px;
    --plutino-image-radius-mobile: 10px;
    --plutino-card-aspect: 3 / 4;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Barlow', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    background: var(--bg);
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.app-shell {
    min-height: 100vh;
    background: var(--bg);
}

.shell {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.shell-client {
    max-width: 1180px;
}

/* ── Topbar: three-column editorial header ── */
.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 0 14px;
    border-bottom: 2px solid var(--text);
    margin-bottom: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

/* ── Logo / Brand ── */
.brand-logo {
    text-align: center;
    line-height: 1;
    user-select: none;
}

.brand-logo img {
    display: block;
    margin: 0 auto;
    height: 22px;
    width: auto;
}

.brand-logo .brand-sub {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

/* Keep legacy .brand for portal/client views */
.brand {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-inline {
    font-size: 30px;
    line-height: 1;
}

.brand span {
    color: var(--text);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-name {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Pipe-separated nav — matches plutinogroup.com nav style ── */
.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
}

.nav a {
    padding: 2px 18px;
    border-right: 1px solid var(--line-strong);
    white-space: nowrap;
    transition: color 0.15s;
}

.nav a:first-child {
    border-left: 1px solid var(--line-strong);
}

.nav a:hover {
    color: var(--text);
}

.nav a.active {
    color: var(--text);
}

.nav a.active::after {
    content: none;
}

.btn,
button,
input[type=submit] {
    appearance: none;
    border: 0;
    border-radius: 0;
    padding: 10px 20px;
    background: var(--button-dark);
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn:hover,
button:hover,
input[type=submit]:hover {
    opacity: 0.82;
}

.btn.secondary,
.ghost-btn {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn.secondary:hover,
.ghost-btn:hover {
    background: var(--surface-soft);
    opacity: 1;
}

.btn.accent {
    background: var(--text);
    color: #ffffff;
}

.btn.danger {
    background: transparent;
    color: #9f3022;
    border: 1px solid #9f3022;
}

.btn.danger:hover {
    background: #9f3022;
    color: #ffffff;
    opacity: 1;
}

.btn.small {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.09em;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.flash-list,
.grid,
.selected-summary,
.actions,
.badges,
.portal-top-actions {
    display: grid;
    gap: 10px;
}

.flash-list {
    margin: 14px 0 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 28px 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.page-header h1 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-header p {
    display: none;
}

.grid {
    display: grid;
}

.grid.cards {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 24px;
}

.card,
.form-card,
.hero {
    padding: 18px;
}

.meta,
.note {
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.55;
}

.field-note {
    color: var(--muted-strong);
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-top: 6px;
    text-transform: uppercase;
}

.actions,
.badges,
.portal-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat {
    padding: 16px 18px;
}

.table-wrap {
    overflow: auto;
}

.eps-history-page {
    padding-top: 34px;
}

.eps-history-page .client-headline {
    margin-bottom: 24px;
}

.eps-history-page .client-title-block h1 {
    max-width: 920px;
}

.eps-history-page .client-subject {
    letter-spacing: 0.08em;
}

.eps-history-wrap {
    overflow: hidden;
}

.eps-history-table {
    table-layout: fixed;
}

.history-col-date {
    width: 13%;
}

.history-col-jobsheet {
    width: 30%;
}

.history-col-status {
    width: 8%;
}

.history-col-recipient {
    width: 15%;
}

.history-col-talent {
    width: 23%;
}

.history-col-package {
    width: 11%;
}

.eps-history-table th,
.eps-history-table td {
    overflow-wrap: anywhere;
}

.eps-history-table td {
    line-height: 1.4;
}

.history-jobsheet-title {
    font-weight: 500;
}

.history-value {
    min-width: 0;
}

.eps-history-table .status {
    width: fit-content;
}

.history-package-link {
    display: inline-flex;
    justify-content: center;
    min-width: 104px;
    padding: 8px 12px;
    white-space: nowrap;
}

.history-summary {
    margin-top: 12px;
}

.filemaker-history {
    min-width: 0;
    margin: 0;
    background: #ffffff;
    color: #202020;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.filemaker-history-pane {
    min-width: 0;
    width: 100%;
}

.filemaker-history-toolbar {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    border-bottom: 1px solid #dddddd;
    color: #555555;
    font-size: 10px;
}

.filemaker-history-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.filemaker-history-pagination a {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #555555;
    text-decoration: none;
}

.filemaker-history-list {
    width: 100%;
}

.filemaker-history-row {
    display: grid;
    grid-template-columns: 46px 44px minmax(0, 1fr) 26px 12px 32px;
    min-height: 52px;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-bottom: 1px solid #dddddd;
    background: #ffffff;
}

.filemaker-history-thumbnail {
    width: 40px;
    height: 34px;
    object-fit: cover;
    border: 1px solid #d2d2d2;
    background: #eeeeee;
}

.filemaker-history-row:nth-child(even) {
    background: #f3f3f3;
}

.filemaker-history-date {
    display: grid;
    color: #333333;
    font-size: 9px;
    line-height: 1.05;
    text-decoration: none;
}

.filemaker-history-date strong {
    font-size: 10px;
}

.filemaker-history-details {
    display: grid;
    min-width: 0;
    gap: 2px;
    line-height: 1.25;
}

.filemaker-history-details strong,
.filemaker-history-details span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.filemaker-history-details strong {
    font-size: 10px;
    font-weight: 500;
}

.filemaker-history-details span {
    color: #555555;
    font-size: 9px;
}

.filemaker-history-initials {
    color: #555555;
    font-size: 9px;
    text-align: center;
}

.filemaker-history-status {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888888;
}

.filemaker-history-status.sent {
    background: #0b9b34;
}

.filemaker-history-status.scheduled {
    background: #c88a00;
}

.filemaker-history-view {
    color: #222222;
    font-size: 9px;
    text-align: right;
    text-decoration: none;
}

.filemaker-history-view:hover {
    text-decoration: underline;
}

.filemaker-history-empty {
    padding: 18px 10px;
    color: #666666;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: var(--surface-soft);
    color: var(--muted);
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status,
.badge,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status.opened,
.status.not-opened {
    color: var(--muted-strong);
    background: transparent;
}

.status.scheduled,
.status.draft {
    color: var(--muted-strong);
    background: transparent;
    border: 1px solid var(--line-strong);
}

.status.sent,
.badge.accent {
    color: #ffffff;
    background: var(--text);
}

.status.send_failed {
    color: #ffffff;
    background: #9f3022;
}

.pill,
.badge {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted-strong);
}

.split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.split h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.95fr);
    gap: 22px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-span {
    grid-column: 1 / -1;
}

.recipient-composer {
    padding: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.recipient-composer-header,
.recipient-row,
.filemaker-addressbook-header,
.filemaker-contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.recipient-composer-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.recipient-composer-help,
.recipient-source,
.recipient-entry-status,
.filemaker-lookup-status {
    color: var(--muted-strong);
    font-size: 12px;
    line-height: 1.45;
}

.recipient-composer-help {
    margin-top: 3px;
}

.recipient-count {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.recipient-list {
    margin-top: 14px;
    border-top: 1px solid var(--line);
}

.recipient-row {
    min-height: 48px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.recipient-row strong {
    color: var(--text);
    font-size: 13px;
}

.recipient-row.invalid {
    padding-right: 10px;
    padding-left: 10px;
    border: 1px solid #d84545;
    background: #fff4f4;
}

.recipient-source {
    margin-top: 2px;
}

.recipient-source.error,
.recipient-entry-status.error {
    color: #b42318;
    font-weight: 700;
}

.recipient-empty {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted-strong);
    font-size: 13px;
}

.manual-recipient-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 14px;
}

.manual-recipient-row .btn {
    min-height: 38px;
}

.recipient-entry-status {
    min-height: 18px;
    margin-top: 6px;
}

.filemaker-addressbook {
    padding: 16px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
}

.filemaker-addressbook-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.filemaker-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 16px;
}

.filemaker-search-row .btn {
    min-height: 38px;
}

.filemaker-lookup-status {
    min-height: 17px;
    margin: 10px 0 0;
}

.filemaker-company-results,
.filemaker-contact-results {
    margin-top: 14px;
    border-top: 1px solid var(--line);
}

.filemaker-results-title {
    padding: 10px 0 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.filemaker-company-result {
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-align: left;
}

.filemaker-company-result:hover,
.filemaker-company-result.active {
    background: var(--surface-soft);
}

.filemaker-contact-row {
    padding: 11px 0;
    border-top: 1px solid var(--line);
}

.sender-signature-field textarea {
    min-height: 88px;
}

.brand-switcher {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.brand-option {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: all 0.15s;
}

.brand-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.brand-option.active {
    border-color: var(--text);
    background: var(--text);
    color: #ffffff;
}

.brand-preview {
    padding: 16px 18px 8px;
    border: 1px solid var(--line);
    background: #fbfbfb;
}

label {
    display: block;
    color: var(--muted);
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=date],
input[type=datetime-local],
input[type=url],
input[type=file],
textarea,
select {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface-soft);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 400;
    transition: border-color 0.15s;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--text);
    background: #ffffff;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.talent-picker {
    display: grid;
    gap: 14px;
    max-height: none;
}

.talent-row {
    display: grid;
    grid-template-columns: 26px 156px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 10px 0 18px;
    border-bottom: 1px solid var(--line);
}

.talent-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.talent-row img {
    width: 156px;
    height: 176px;
    object-fit: cover;
    border-radius: var(--plutino-image-radius);
    overflow: clip;
}

.summary-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row input {
    margin-right: 8px;
}

.talent-builder {
    display: grid;
    gap: 18px;
}

.talent-builder-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fafafa;
}

.selected-talents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.selected-talent-card {
    position: relative;
    border: 1px solid var(--line);
    background: #ffffff;
}

.selected-talent-media {
    display: grid;
    place-items: center;
    height: 360px;
    min-height: 0;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    border-radius: var(--plutino-image-radius) var(--plutino-image-radius) 0 0;
    overflow: hidden;
}

.selected-talent-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: var(--plutino-image-radius);
}

.selected-talent-body {
    padding: 12px;
}

.selected-talent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.selected-talent-order-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-btn {
    display: inline-grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.lead-talent-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 700;
}

.lead-talent-control input {
    width: auto;
}

.talent-image-picker {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
}

.talent-image-picker legend {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
}

.talent-image-options {
    display: flex;
    gap: 7px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.talent-image-option {
    position: relative;
    display: block;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    cursor: pointer;
}

.talent-image-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.talent-image-option img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 2px solid transparent;
    background: var(--surface-soft);
}

.talent-image-option input:checked + img {
    border-color: var(--accent);
}

.picker-card-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    border: 1px solid #d0d0d0;
    font-size: 16px;
    line-height: 1;
}

.empty-selected-state {
    padding: 16px;
    border: 1px dashed var(--line-strong);
    color: var(--muted);
    font-size: 13px;
}

.talent-picker-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: grid;
    place-items: center;
    z-index: 40;
    padding: 24px;
}

.talent-picker-modal[hidden] {
    display: none !important;
}

.talent-picker-dialog {
    width: min(1180px, 100%);
    max-height: calc(100vh - 80px);
    overflow: auto;
    padding: 16px 20px;
}

.talent-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}

.talent-picker-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    text-transform: uppercase;
}

.talent-picker-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.picker-close {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
}

.picker-filter-rows {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.picker-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.picker-chip {
    padding: 7px 14px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted-strong);
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all 0.15s;
}

.picker-chip.active {
    background: var(--text);
    border-color: var(--text);
    color: #ffffff;
}

.picker-search-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.picker-search-field {
    flex: 1;
    max-width: 420px;
}

.picker-transfer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.picker-column {
    min-width: 0;
}

.picker-column-title {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted-strong);
}

.picker-column select {
    min-height: 220px;
    height: 220px;
    margin-top: 0;
    background: #ffffff;
    border: 1px solid var(--line-strong);
}

.picker-transfer-buttons {
    display: grid;
    gap: 10px;
}

.picker-transfer-buttons .btn {
    width: 100%;
    justify-content: center;
}

.picker-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    position: sticky;
    bottom: 0;
    background: #ffffff;
}

.portal-grid {
    display: grid;
    gap: 56px 24px;
}

.roster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-card {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.portal-card-division {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.portal-card.selected {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
    border-radius: var(--plutino-image-radius);
}

.portal-card img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--plutino-card-aspect);
    object-fit: cover;
    object-position: center top;
    background: #ffffff;
    display: block;
    border-radius: var(--plutino-image-radius);
    overflow: clip;
}

.portal-card-media-link,
.portal-card-title-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.portal-card-media-link img {
    transition: opacity 0.15s ease;
}

.portal-card-media-link:hover img {
    opacity: 0.88;
}

.portal-card-title-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.portal-card .body {
    padding: 12px 0 0;
}

.portal-card .body h3 {
    margin: 0 0 4px;
    font-family: var(--display-font);
    font-size: clamp(25px, 2.35vw, 34px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.portal-card .xmark {
    display: none;
}

.portal-select {
    display: none;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background: var(--bg);
}

.login-card {
    width: min(380px, 100%);
    padding: 40px 32px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
}

.login-brand {
    margin-bottom: 32px;
}

.login-brand img {
    display: block;
    margin: 0 auto;
    height: 28px;
    width: auto;
}

.login-brand .brand-sub {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

.login-note {
    display: none;
}

.login-card h1 {
    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
}

.login-card .form-grid {
    text-align: left;
}

.login-card .btn {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
}

.login-card .note {
    margin-top: 22px;
    font-size: 11px;
    color: var(--muted);
}

.client-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 8px 0 10px;
}

.portal-top-actions a {
    font-size: 12px;
    font-weight: 700;
    color: #ababab;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal-top-actions a:last-child {
    color: var(--accent);
}

.client-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
}

.client-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0 9px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.client-back span {
    font-family: 'Barlow', sans-serif;
    font-size: 0.78em;
    line-height: 1;
}

.client-back:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.public-package-headline {
    justify-content: flex-start;
}

.client-title-block {
    flex: 1;
}

.client-title-block h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0;
}

.client-subject {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.client-message {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client-request {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--surface-soft);
    font-size: 13px;
    line-height: 1.55;
}

.client-request strong {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    text-transform: uppercase;
}

.client-contact {
    font-size: 12px;
    line-height: 1.45;
}

.client-copy {
    min-height: 88px;
    background: #f3f3f3;
    padding: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.client-section {
    padding: 24px 0 10px;
    border-bottom: 1px solid var(--line);
}

.client-section h2 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.package-attachments {
    border-top: 1px solid var(--line);
}

.package-attachment {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    min-height: 64px;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.package-attachment.is-video {
    grid-template-columns: 176px minmax(0, 1fr) auto;
    min-height: 208px;
    padding: 16px 0;
}

.package-attachment-type {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: #171717;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.package-video-preview {
    position: relative;
    display: block;
    width: 176px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #d9d9d4;
    background: #efefeb;
    color: #ffffff;
    text-decoration: none;
}

.package-video-preview-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 0;
    transition: opacity 180ms ease;
}

.package-video-preview.is-ready .package-video-preview-media {
    opacity: 1;
}

.package-video-preview-fallback {
    position: absolute;
    top: 9px;
    left: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.package-video-preview.is-ready .package-video-preview-fallback {
    display: none;
}

.package-video-preview-play {
    position: absolute;
    top: 50%;
    left: var(--video-content-center-x, 50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.52);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%);
    transition: background 160ms ease, transform 160ms ease;
}

.package-video-preview-play::after {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #ffffff;
    content: "";
    transform: translate(-40%, -50%);
}

.package-video-preview:hover .package-video-preview-play {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.06);
}

.package-attachment-details {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.package-attachment-name {
    min-width: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

a.package-attachment-name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.package-attachment-details span {
    color: var(--muted-strong);
    font-size: 11px;
}

.package-attachment-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.package-attachment-actions a {
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.package-attachment-actions a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.video-lightbox-open {
    overflow: hidden;
}

.video-lightbox[hidden] {
    display: none;
}

.video-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
}

.video-lightbox-dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1180px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: #111111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
    color: #ffffff;
    outline: none;
}

.video-lightbox-header {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 9px 12px 9px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.video-lightbox-heading {
    min-width: 0;
}

.video-lightbox-count {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-lightbox-heading h2 {
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.video-lightbox-close,
.video-lightbox-nav {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    opacity: 0.82;
    transition: color 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.video-lightbox-close {
    width: 42px;
    height: 42px;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible,
.video-lightbox-nav:hover,
.video-lightbox-nav:focus-visible {
    background: transparent;
    color: #ffffff;
    opacity: 1;
}

.video-lightbox-close:hover {
    transform: scale(1.08);
}

.video-lightbox-close:focus-visible,
.video-lightbox-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

.video-lightbox-stage {
    position: relative;
    display: grid;
    min-height: min(66vh, 720px);
    place-items: center;
    overflow: hidden;
    background: #000000;
}

.video-lightbox-media {
    display: block;
    width: 100%;
    max-height: calc(100vh - 158px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000000;
}

.video-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 56px;
    height: 72px;
    font-family: Arial, sans-serif;
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
}

.video-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.08);
}

.video-lightbox-nav.is-previous {
    left: 16px;
}

.video-lightbox-nav.is-next {
    right: 16px;
}

.video-lightbox-nav:disabled {
    display: none;
}

.video-lightbox-footer {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.video-lightbox-filename {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-lightbox-download {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.video-lightbox-download:hover,
.video-lightbox-download:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 720px) {
    .package-attachment {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }

    .package-attachment.is-video {
        grid-template-columns: minmax(0, 1fr);
    }

    .package-video-preview {
        width: min(100%, 280px);
    }

    .package-attachment.is-video .package-attachment-details,
    .package-attachment.is-video .package-attachment-actions {
        grid-column: 1;
    }

    .package-attachment-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .video-lightbox {
        padding: 0;
    }

    .video-lightbox-dialog {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .video-lightbox-header {
        min-height: 54px;
        padding: 10px 10px 10px 14px;
    }

    .video-lightbox-heading h2 {
        max-width: calc(100vw - 86px);
        font-size: 12px;
    }

    .video-lightbox-stage {
        min-height: 0;
    }

    .video-lightbox-media {
        max-height: calc(100vh - 112px);
        max-height: calc(100dvh - 112px);
    }

    .video-lightbox-nav {
        top: auto;
        bottom: 14px;
        width: 44px;
        height: 48px;
        font-size: 40px;
        transform: none;
    }

    .video-lightbox-nav:hover {
        transform: scale(1.08);
    }

    .video-lightbox-nav.is-previous {
        left: 12px;
    }

    .video-lightbox-nav.is-next {
        right: 12px;
    }

    .video-lightbox-footer {
        min-height: 50px;
        padding: 9px 14px;
    }
}

.client-footer {
    padding: 22px 0 10px;
}

.client-footer .brand-inline {
    font-size: 20px;
    margin-bottom: 8px;
}

.client-footer .meta {
    max-width: 380px;
    font-size: 12px;
}

.route-dashboard .card,
.route-users .card {
    padding: 22px 18px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--line);
}

.route-dashboard .card .actions,
.route-users .card .actions {
    margin-top: 16px;
}

.route-dashboard .card .actions {
    gap: 8px;
    margin-top: 12px;
}

.route-dashboard .card .actions .btn.small {
    padding: 6px 11px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.8px;
}

.route-dashboard .jobsheet-card-meta {
    display: grid;
    gap: 2px;
    margin-top: 8px;
}

.route-dashboard .jobsheet-card-meta .meta-separator {
    padding: 0 5px;
    color: var(--muted);
}

.route-dashboard .stats {
    margin-bottom: 26px;
}

.route-history table tr:nth-child(-n+8) .status.scheduled {
    color: var(--accent);
}

.route-builder .form-card > h2,
.route-files .form-card > h2,
.route-users .form-card > h2 {
    margin: 0 0 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

/* ── Drag-and-drop upload zone ── */
.drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 20px;
    border: 1.5px dashed var(--line-strong);
    background: var(--surface-soft);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 12px;
    user-select: none;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: var(--text);
    background: #f0efe9;
}

.drop-zone.has-file {
    border-style: solid;
    border-color: var(--text);
}

.drop-zone-icon {
    color: var(--muted);
    margin-bottom: 4px;
    transition: color 0.15s;
}

.drop-zone:hover .drop-zone-icon,
.drop-zone.drag-over .drop-zone-icon {
    color: var(--text);
}

.drop-zone-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.drop-zone-sub {
    font-size: 12px;
    color: var(--muted);
}

.drop-zone-browse {
    background: none;
    border: none;
    padding: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
}

.drop-zone-filename {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    padding: 4px 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#upload-submit {
    width: 100%;
}

#upload-submit:disabled {
    opacity: 0.35;
    cursor: default;
}

.route-builder .page-header {
    margin-bottom: 20px;
}

.route-builder .panel,
.route-files .panel,
.route-history .panel,
.route-users .panel,
.route-dashboard .panel {
    background: #ffffff;
}

/* Stat cards */
.stat .label {
    color: var(--muted);
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.stat .value {
    margin-top: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
}

/* Private activity viewer */
.activity-stats .stat {
    background: var(--surface);
    border: 1px solid var(--line);
}

.activity-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
}

.activity-filters label {
    min-width: 0;
}

.activity-filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.activity-table {
    min-width: 1120px;
    table-layout: auto;
}

.activity-table th:nth-child(1) {
    width: 180px;
}

.activity-table th:nth-child(2),
.activity-table th:nth-child(3) {
    width: 210px;
}

.activity-table th:nth-child(4) {
    width: 170px;
}

.activity-table td small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    overflow-wrap: anywhere;
}

.activity-table code {
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.audit-outcome {
    display: inline-flex;
    padding: 3px 7px;
    border: 1px solid var(--line-strong);
    color: var(--muted-strong);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.audit-outcome.outcome-failed,
.audit-outcome.outcome-blocked,
.audit-outcome.outcome-not_found {
    border-color: #9f3022;
    color: #9f3022;
}

.audit-outcome.outcome-success {
    border-color: #28724f;
    color: #28724f;
}

.activity-table details summary {
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}

.audit-details {
    display: grid;
    grid-template-columns: minmax(90px, auto) minmax(130px, 1fr);
    gap: 5px 10px;
    margin: 10px 0 0;
    min-width: 280px;
    font-size: 11px;
}

.audit-details dt {
    color: var(--muted);
    font-weight: 600;
}

.audit-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* Flash messages */
.flash {
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--muted-strong);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.flash.success,
.flash.error {
    background: var(--surface-soft);
    color: var(--text);
    border-color: var(--line-strong);
}

@media (max-width: 980px) {
    :root {
        --plutino-image-radius: var(--plutino-image-radius-tablet);
    }

    .form-shell,
    .client-message {
        grid-template-columns: 1fr;
    }

    .roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    :root {
        --plutino-image-radius: var(--plutino-image-radius-mobile);
    }

    .shell {
        padding: 14px 16px 28px;
    }

    .topbar,
    .client-topline,
    .client-headline,
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        justify-content: stretch;
        padding: 8px 0;
    }

    .nav a,
    .nav a:first-child {
        min-width: 0;
        padding: 9px 8px;
        border: 1px solid var(--line);
        white-space: normal;
        text-align: center;
    }

    .selected-talent-media {
        height: 280px;
    }

    .selected-talent-media img {
        max-height: 280px;
    }

    .nav a.active::after {
        bottom: -6px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .filemaker-search-row {
        grid-template-columns: 1fr;
    }

    .manual-recipient-row {
        grid-template-columns: 1fr;
    }

    .recipient-composer-header {
        align-items: flex-start;
    }

    .talent-row {
        grid-template-columns: 26px 1fr;
    }

    .talent-row img {
        width: 100%;
        height: auto;
    }

    .roster-grid {
        grid-template-columns: 1fr;
    }

    .client-title-block h1 {
        font-size: 34px;
    }

    .client-back {
        font-size: 24px;
    }

    .eps-history-page {
        padding-top: 20px;
    }

    .eps-history-page .client-headline {
        margin-bottom: 18px;
    }

    .eps-history-page .client-title-block h1 {
        font-size: 36px;
        line-height: 0.92;
    }

    .eps-history-page .client-subject {
        margin-top: 12px;
    }

    .eps-history-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .eps-history-table,
    .eps-history-table tbody {
        display: block;
        width: 100%;
    }

    .eps-history-table colgroup,
    .eps-history-table thead {
        display: none;
    }

    .eps-history-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--line);
        background: var(--surface);
    }

    .eps-history-table td {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        padding: 10px 12px;
        border-bottom: 1px solid var(--line);
        overflow-wrap: anywhere;
    }

    .eps-history-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .eps-history-table td:last-child {
        border-bottom: 0;
    }

    .eps-history-table td[data-label="Date"] {
        display: block;
    }

    .eps-history-table td[data-label="Date"]::before {
        display: block;
        margin-bottom: 6px;
    }

    .eps-history-table td[data-label="Date"] time {
        display: block;
        white-space: nowrap;
    }

    .eps-history-table td[data-label="Package"] {
        display: block;
    }

    .eps-history-table td[data-label="Package"]::before {
        display: block;
        margin-bottom: 8px;
    }

    .history-package-link {
        width: 100%;
        min-width: 0;
        padding: 10px 14px;
    }

    .eps-history-table .history-empty-row td {
        display: block;
    }

    .eps-history-table .history-empty-row td::before {
        content: none;
    }

    .history-summary {
        margin-top: 4px;
        padding-bottom: 8px;
    }

    .talent-builder-toolbar,
    .picker-search-row,
    .picker-transfer-layout,
    .picker-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .picker-transfer-layout {
        grid-template-columns: 1fr;
    }

    .picker-transfer-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-filters {
        grid-template-columns: 1fr;
    }
}
