/* Lifecinema on the PEF design system.
   Loaded after PEF's stylesheets: maps Lifecinema's own component classes onto PEF's
   palette and components, and adds the few pieces PEF has no equivalent for. */

/* ------------------------------------------------------------------ Tokens (PEF palette) */
:root{--brand-red:#a20404;--brand-red-hover:#800303;--brand-red-on-dark:#ff7378;--canvas:#f8f9fa;--surface:#fff;--input:#fff;--text:#1f2937;--muted:#5f6570;--line:#dee2e6;--link:#a20404;--primary:#a20404;--primary-text:#fff;--tint:#f6f7f8;--tint-red:rgb(162 4 4 / 7%);--success:#2b3036;--warning:#8a5a00;--danger:#a20404;--info:#176b87;--shadow:0 .2rem .75rem rgb(17 24 39 / 5%);--radius:.85rem;--lc-field-bg:var(--bs-body-bg,#fff)}
[data-bs-theme=dark],[data-site-theme=dark]{--canvas:var(--ws-n-15181d,#15181d);--surface:var(--ws-n-1b1f25,#1b1f25);--input:#22272e;--text:#e3e6ea;--muted:#bec4cc;--line:#3a414b;--link:#ff7378;--primary:#a20404;--primary-text:#fff;--tint:#22272e;--tint-red:rgb(216 58 58 / 14%);--success:#ced4da;--warning:#f3c969;--danger:#ff7378;--info:#8fd3e8;--shadow:0 .35rem 1rem rgb(0 0 0 / 28%);--lc-field-bg:var(--bs-tertiary-bg,#22272e)}
.app-sidebar[data-bs-theme=dark]{--canvas:initial}

/* ------------------------------------------------------------------ Shared controls */
/* Clean addresses (§13.10): a control that changes a page's view (pager, filter chip, tab, edit, export) is a submit button of
   the page's shared view form, standing where a link stood. Zero specificity, so the link's own classes (chips, tabs, pager,
   .button, .btn, .nav-link) style it exactly as before; a bare one reads as a text link. */
:where(button[data-view-link]){appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit;color:inherit;cursor:pointer}
:where(button[data-view-link].lc-link:not([class*=" "])){color:var(--link,#a20404);text-decoration:underline;text-underline-offset:.15em}
:where(button[data-view-link]:hover:not([class*=" "])){text-decoration-thickness:2px}
.sidebar-menu button.nav-link[data-view-link]{width:100%;text-align:start}
.site-control{cursor:pointer}
button.site-control{font-family:inherit}
.lc-footer-link{color:inherit;text-decoration:underline;text-underline-offset:3px}
.lc-footer-link:hover{color:#ff9797}
.public-flash{padding-top:24px}
.public-flash .alert{display:flex;align-items:center;gap:.65rem;margin:0 0 .75rem;border-radius:13px}
.admin-alert .admin-alert__icon{flex:0 0 auto}

/* ------------------------------------------------------------------ Public header CTA (PEF WhatsApp button, as a link) */



/* ------------------------------------------------------------------ Home: casting rail inside PEF's dark client shell */
.home-sponsors__rail .lc-casting-rail{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:18px}
.home-sponsors__rail:has(.lc-casting-rail)::before,.home-sponsors__rail:has(.lc-casting-rail)::after{display:none}
.lc-casting-slide{display:flex;flex-direction:column;gap:6px;min-height:196px;padding:22px;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:#f7f7f5;color:#17191e;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.12);transition:border-color .2s,transform .2s,box-shadow .2s}
.lc-casting-slide:hover,.lc-casting-slide:focus-visible{border-color:#ff7676;color:#17191e;outline:0;transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.24),0 0 0 3px rgba(216,58,58,.17)}
.lc-casting-slide__kind{display:inline-flex;align-items:center;gap:7px;color:var(--brand-red);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.lc-casting-slide strong{font-size:21px;line-height:1.2;letter-spacing:-.01em}
.lc-casting-slide__project{color:#4b5563;font-size:15px}
.lc-casting-slide small{display:flex;align-items:center;gap:6px;margin-top:auto;color:#5f6570;font-size:13px}
.lc-casting-slide em{display:inline-flex;align-items:center;gap:8px;color:var(--brand-red);font-size:14px;font-style:normal;font-weight:700}
.lc-casting-empty{margin:0;padding:28px;border:1px dashed rgba(255,255,255,.22);border-radius:17px;color:#d0d4d9;text-align:center}
.home-sponsors__rail:has(.lc-casting-rail) .home-sponsors__meta{display:flex;justify-content:flex-start}

/* ------------------------------------------------------------------ Home: announcements */
.lc-home-news{padding:clamp(56px,calc(6vw / var(--lc-zoom, 1)),90px) 0 clamp(24px,calc(3vw / var(--lc-zoom, 1)),40px)}
.lc-section-heading{margin-bottom:32px}
.lc-section-heading .heading-1{margin:0}
.lc-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px}
.lc-news-card{padding:26px;border:1px solid #e3e5e8;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgb(18 23 29 / 6%)}
.lc-news-card time{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--brand-red);font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.lc-news-card h3{margin:0 0 10px;color:#17191e;font-size:22px;line-height:1.25}
.lc-news-card p{margin:0;color:#5f6570;font-size:15px;line-height:1.65}
.lc-news-empty{margin:0;padding:28px;border:1px dashed #d4d7dc;border-radius:22px;color:#5f6570;text-align:center}
[data-site-theme=dark] .lc-news-card{border-color:var(--dark-border)!important;background:var(--dark-card)!important}
[data-site-theme=dark] .lc-news-card p,[data-site-theme=dark] .lc-news-empty{color:#c2c7ce!important}
[data-site-theme=dark] .lc-casting-slide__project{color:#4b5563!important}
[data-site-theme=dark] .lc-casting-slide small{color:#5f6570!important}
[data-site-theme=dark] .lc-casting-slide strong{color:#17191e!important}

/* ------------------------------------------------------------------ Home: registration panel (PEF contact form, rescoped from #contactForm) */
.home-contact-form-card .lc-join-form .form-control.input-style-2{font-size:16px;box-shadow:none}
.home-contact-form-card .lc-join-form select.form-control.input-style-2{appearance:auto}
.lc-join-form .input-group>.form-control.input-style-2{border-top-right-radius:0;border-bottom-right-radius:0}
.lc-join-form .lc-peek{border:1px solid var(--home-border,#dedede);border-left:0;border-radius:0 13px 13px 0;background:var(--home-card,#fff);color:var(--brand-red)}
.lc-join-form .lc-peek:hover{background:var(--brand-red);color:#fff}
.lc-field-help{display:block;margin-top:6px;color:var(--home-muted,#5f6570);font-size:12.5px}
.lc-join-signin{color:var(--home-muted,#5f6570);font-size:15px}
.lc-join-signin a{color:var(--brand-red);font-weight:700}
.home-contact-form-card a.btn-submit{display:inline-flex;align-items:center;gap:10px;text-decoration:none}

/* ------------------------------------------------------------------ Casting list & detail (PEF services hub & contact page) */
.lc-hub-empty{grid-template-columns:1fr!important;cursor:default}
.lc-hub-empty:hover{transform:none!important}
.contact-direct .lc-requirements{margin:0 0 18px;color:#d4d7dc;font-size:15px;line-height:1.6}
.contact-direct div.contact-channel{cursor:default}
.lc-application-status{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--tint)}
.lc-application-status strong{display:block;margin-bottom:4px;font-size:17px}
.lc-application-status p{margin:0 0 12px;color:var(--muted)}
.lc-application-status a.contact-send{display:inline-flex;text-decoration:none}
.lc-consent{display:flex;gap:10px;align-items:flex-start;margin:6px 0 18px;color:var(--muted);font-size:14px;line-height:1.5}
.lc-consent input{flex:0 0 auto;width:18px;height:18px;margin-top:2px;accent-color:var(--brand-red)}

/* ------------------------------------------------------------------ Sign-in card */
.login-card--wide{width:min(calc(95vw / var(--lc-zoom, 1)),720px)}
.login-card .stepper{margin:1.25rem 0 1.5rem}
.login-card .form-text{font-size:.8rem}
.login-card .login-card-links a:first-child::before{font-family:"Font Awesome 6 Free";font-weight:900;content:"\f007"}

/* ------------------------------------------------------------------ Workspace shell additions */
.admin-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:0 0 .6rem .35rem;color:var(--bs-secondary-color);font-size:var(--fs-meta,.85rem)}
.admin-breadcrumbs a{color:var(--bs-secondary-color);text-decoration:none}
.admin-breadcrumbs a:hover{color:var(--admin-orange)}
.admin-breadcrumbs i{font-size:.6rem;opacity:.7}
.admin-breadcrumbs span{color:var(--bs-body-color);font-weight:600}
.admin-welcome{flex-wrap:wrap}
.admin-welcome>*{position:relative;z-index:1}
.admin-welcome .kicker{display:block;margin:0 0 .35rem 0;color:var(--admin-orange);font-size:.82rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.admin-welcome h1{margin-top:.35rem}
.admin-welcome>.actions,.admin-welcome>.badge,.admin-welcome>form,.admin-welcome>div:not(:first-child){flex:0 0 auto}
.admin-welcome select{width:auto}
.dashboard-now{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .8rem;border:1px solid var(--bs-border-color);border-radius:999px;background:var(--bs-body-bg);color:var(--bs-secondary-color);font-size:.85rem}
.admin-dock-control.admin-language-toggle{font:inherit}
.admin-dock-notifications .dropdown-item span{color:var(--bs-secondary-color);font-size:.85rem}

/* ------------------------------------------------------------------ Workspace content: Lifecinema components in PEF style */
.admin-page-workspace{color:var(--bs-body-color)}
.admin-page-workspace>*+*{margin-top:0}
.admin-page-workspace h2{font-size:var(--fs-heading,1.15rem);font-weight:700}
.admin-page-workspace h3{font-size:1rem;font-weight:700}
.admin-page-workspace .card:not(.dashboard-workspace):has(> .card-body,> .card-header,> .table-responsive){padding:0;border:1px solid var(--ws-border,var(--bs-border-color));border-radius:var(--ws-r-md,12px);background:var(--ws-surface,var(--bs-body-bg));box-shadow:none}
.admin-page-workspace .card:not(.dashboard-workspace):not(:has(> .card-body,> .card-header,> .table-responsive)){display:block;padding:1.1rem 1.25rem;border:1px solid var(--ws-border,var(--bs-border-color));border-radius:var(--ws-r-md,12px);background:var(--ws-surface,var(--bs-body-bg));box-shadow:none}
.admin-page-workspace .card.card--accent,.admin-page-workspace .card.flow-card,.admin-page-workspace .card.attention-card.is-alert,.admin-page-workspace .card.dashboard-attention.is-alert{border-top:3px solid var(--ws-accent-fill,#a20404)}
.ws-tz-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--ws-border,var(--bs-border-color));border-radius:999px;background:var(--ws-surface-raised,var(--bs-tertiary-bg));color:var(--bs-secondary-color);font-size:var(--fs-micro,12px);font-weight:700}
.lc-guidance{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;padding:12px 16px;border:1px solid var(--ws-border,var(--bs-border-color));border-left:3px solid var(--ws-accent-text,#a20404);border-radius:var(--ws-r-md,12px);background:var(--ws-surface-raised,var(--bs-tertiary-bg));color:var(--bs-body-color)}
.lc-guidance--info{border-left-color:var(--bs-secondary-color,#5f6570)}
.lc-guidance--warning{border-left-color:#d97706}
.lc-guidance__body{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1 1 auto}
.lc-guidance__icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:rgb(162 4 4 / 12%);color:var(--ws-accent-text,#a20404);font-size:14px}
.lc-guidance--info .lc-guidance__icon{background:var(--ws-positive-bg,rgb(108 117 125 / 14%));color:var(--bs-secondary-color,#5f6570)}
.lc-guidance--warning .lc-guidance__icon{background:var(--ws-warn-bg,rgb(245 196 81 / 14%));color:var(--ws-warn-text,#8a5300)}
.lc-guidance__copy{min-width:0}
.lc-guidance__copy strong{display:block;font-size:var(--fs-meta,14px);font-weight:700;line-height:1.35}
.lc-guidance__copy p{margin:2px 0 0;color:var(--bs-secondary-color);font-size:var(--fs-meta,14px);line-height:1.45}
.lc-guidance__actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.lc-field-guidance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin-top:6px;padding:8px 12px;border:1px dashed var(--ws-border-strong,var(--bs-border-color));border-radius:var(--ws-r-sm,8px);background:var(--ws-surface-raised,var(--bs-tertiary-bg));color:var(--bs-secondary-color);font-size:var(--fs-micro,12px)}
.list-controls__chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.lc-filter-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid var(--ws-border-strong,var(--bs-border-color));border-radius:999px;background:var(--ws-surface-raised,var(--bs-tertiary-bg));color:var(--bs-body-color);font-size:var(--fs-micro,12px);font-weight:600;text-decoration:none;cursor:pointer}
.lc-filter-chip:hover,.lc-filter-chip:focus-visible{border-color:var(--ws-accent-text,#a20404);color:var(--ws-accent-text,#a20404)}
.lc-filter-chip--reset{background:transparent;border-style:dashed;color:var(--bs-secondary-color)}
.is-muted-stage{opacity:.55}
.quick-add__inline-trigger{display:inline-flex;align-items:center;gap:4px;font-size:var(--fs-micro,12px);font-weight:600;color:var(--ws-accent-text,#a20404);text-decoration:none}
.quick-add__inline-trigger:hover{text-decoration:underline}
.quick-add__filter{width:100%;margin-bottom:6px;font-size:var(--fs-meta,14px)}
.lc-cascade-hint{display:block;margin-top:4px;color:var(--bs-secondary-color);font-size:var(--fs-micro,12px)}
.field-check-wrap{display:flex;flex-direction:column;gap:4px;margin-bottom:1rem}
.lc-swal-auth-container{z-index:2100!important}
.lc-swal.lc-swal-auth-toast{border:1px solid var(--ws-border-strong,var(--bs-border-color))!important;border-left:4px solid var(--ws-accent-fill,#a20404)!important;border-radius:var(--ws-r-md,12px)!important;background:var(--ws-surface,var(--bs-body-bg))!important;color:var(--bs-body-color)!important;box-shadow:0 12px 32px rgb(0 0 0 / 28%)!important}
.lc-swal.lc-swal-auth-toast.swal2-icon-success{border-left-color:var(--ws-positive,#2b3036)!important}
@media(max-width:767.98px){.lc-guidance{flex-direction:column;align-items:flex-start}}
.admin-page-workspace .card:not(.dashboard-workspace)>h2:first-child,.admin-page-workspace form.card>h2:first-of-type{margin:-.1rem -1.25rem 1rem;padding:0 1.25rem .8rem;border-bottom:1px solid var(--bs-border-color)}
.admin-page-workspace .card h2,.admin-page-workspace .card h3{margin-top:0}
.grid{display:grid;gap:1rem;align-content:start}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.full{grid-column:1/-1}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:0}
.stat{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:.2rem;min-height:5.5rem;padding:.95rem 1rem;border:1px solid var(--bs-border-color);border-left:4px solid var(--admin-orange);border-radius:.75rem;background:var(--bs-body-bg)}
.stat strong{font-size:1.65rem;line-height:1.1}
.stat span{color:var(--bs-secondary-color);font-size:.85rem;font-weight:600}
.button,button.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:.45rem .9rem;border:1px solid #a20404;border-radius:var(--ws-r-sm,8px);background:#a20404;color:#fff;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;transition: background-color .15s,border-color .15s,color .15s, box-shadow .15s ease, translate .15s ease}
.button:hover,.button:focus-visible{border-color:#800303;background:#800303;color:#fff}
.button-secondary,button.button-secondary{border-color:var(--admin-orange,#a20404);background:transparent;color:var(--admin-orange,#a20404)}
.button-secondary:hover,.button-secondary:focus-visible{border-color:#a20404;background:#a20404;color:#fff}
.button-danger,button.button-danger{border-color:#b00005;background:#b00005;color:#fff}
.button-small,button.button-small{min-height:32px;padding:.28rem .65rem!important;font-size:var(--fs-meta,.85rem)}
.link-button{border:0;background:none;color:var(--admin-orange);padding:0}
.actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}
.field label,.admin-page-workspace form>label{font-weight:600;font-size:var(--fs-meta,.92rem)}
.field small{color:var(--bs-secondary-color);font-size:var(--fs-meta,.82rem)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}
/* Low specificity (one class) so component rules such as the screenplay editor still win. */
.admin-page-workspace :where(input:not([type=checkbox],[type=radio],[type=hidden],[type=range],[type=submit],[type=button],[type=file],.form-control),select:not(.form-select),textarea:not(.form-control)){display:block;width:100%;min-height:calc(1.5em + .9rem + 2px);padding:.45rem .75rem;border:1px solid var(--bs-border-color);border-radius:.5rem;background-color:var(--lc-field-bg);color:var(--bs-body-color);font-size:1rem;line-height:1.5;transition:border-color .15s,box-shadow .15s}
.admin-page-workspace :where(textarea:not(.form-control)){min-height:7rem;resize:vertical}
.admin-page-workspace :where(input[type=file]:not(.form-control)){display:block;width:100%;padding:.4rem;border:1px solid var(--bs-border-color);border-radius:.5rem;background:var(--bs-body-bg)}
.admin-page-workspace :where(input,select,textarea):not(.form-control):focus{border-color:var(--admin-orange);outline:0;box-shadow:0 0 0 .25rem var(--bs-focus-ring-color)}
.admin-page-workspace :is(input[type=checkbox],input[type=radio]){accent-color:#a20404}
.table-wrap{overflow:auto;border:1px solid var(--bs-border-color);border-radius:.75rem;background:var(--bs-body-bg)}
.table-wrap .table{margin:0}
.table-wrap .table th{padding:.7rem .85rem;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color);font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.table-wrap .table td{padding:.7rem .85rem;vertical-align:top}
.table-wrap .table tbody tr:last-child td{border-bottom:0}
/* Row hover site-wide: a light red shade (--tint-red, per theme) with a red accent bar on the row's far left.
   Tables: every .table row (the accent sits on the first cell); spec sheets alike. No rounding or transition. */
.table>tbody>tr:is(:hover,[data-dialog-open]:focus-visible)>*{--bs-table-bg-state:var(--tint-red);box-shadow:inset 0 0 0 9999px var(--tint-red)}
.table>tbody>tr:is(:hover,[data-dialog-open]:focus-visible)>:first-child{box-shadow:inset 3px 0 0 var(--danger),inset 0 0 0 9999px var(--tint-red)}
.spec-table>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px var(--tint-red)}
.spec-table>tbody>tr:hover>:first-child{box-shadow:inset 3px 0 0 var(--danger),inset 0 0 0 9999px var(--tint-red)}
.badge{display:inline-flex;align-items:center;gap:.3em;padding:.38em .65em;border-radius:.4rem;font-size:var(--fs-micro,.72rem);font-weight:700;letter-spacing:.02em}
.badge-success{background:var(--ws-n-2b3036,#2b3036);color:#fff}
.badge-danger{background:#a20404;color:#fff}
.badge-warning{background:#ffc107;color:#1f2937}
[data-bs-theme=dark] .badge-warning{background:rgb(245 196 81 / 18%);color:#f5c451;border:1px solid rgb(245 196 81 / 35%)}
[data-bs-theme=dark] .badge-success{background:rgb(206 212 218 / 15%);color:#e3e6ea;border:1px solid rgb(206 212 218 / 28%)}
.badge-muted{background:#6c757d;color:#fff}
.badge-primary{background:#a20404;color:#fff}
.alert-error{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle)}
.empty,.lc-empty,.module-empty,.people-empty,.update-empty,.tk-empty,.guide-empty{padding:28px 20px;border:1px dashed var(--ws-border,var(--bs-border-color,var(--line)));border-radius:var(--ws-r-md,12px);background:var(--ws-surface,var(--bs-body-bg,var(--surface)));color:var(--bs-secondary-color,var(--muted));text-align:center}
.empty h1,.lc-empty h1{color:var(--bs-body-color)}
.empty .button,.lc-empty .button{margin-top:.5rem}
.kicker,.eyebrow{display:block;color:var(--admin-orange,#a20404);font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.meta{display:flex;gap:.75rem;flex-wrap:wrap;color:var(--bs-secondary-color,var(--muted));font-size:.85rem}
.callout{padding:1rem 1.15rem;border:1px solid rgba(162,4,4,.28);border-left:5px solid #a20404;border-radius:var(--ws-r-md,12px);background:linear-gradient(135deg,rgba(162,4,4,.08),rgba(162,4,4,.02))}
.read-only{display:inline-flex;align-items:center;gap:6px;color:var(--warning);font-size:13px;font-weight:700}
.nowrap{white-space:nowrap}
.project-card{display:flex!important;flex-direction:column;gap:.75rem;color:var(--bs-body-color);text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease}
.project-card:hover,.project-card:focus-visible{border-color:var(--ws-accent-text,var(--admin-orange))!important;color:var(--bs-body-color);box-shadow:0 0 0 1px var(--ws-accent-text,var(--admin-orange))}
.project-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.project-card h3{margin:.2rem 0 0;font-size:1.1rem}
.project-card p{margin:0;color:var(--bs-secondary-color)}
.tabs{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:1rem;border-bottom:1px solid var(--bs-border-color)}
.tabs a,.tabs button{padding:.65rem .95rem;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--bs-secondary-color);font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.tabs a:hover,.tabs button:hover{color:var(--admin-orange)}
.tabs .active{border-bottom-color:#a20404;color:var(--admin-orange);font-weight:700}
.stepper{display:flex;list-style:none;margin:0 0 1rem;padding:0;overflow:auto;counter-reset:step}
.stepper li{position:relative;flex:1;min-width:105px;padding-top:34px;color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-micro,.78rem);text-align:center}
.stepper li:before{position:absolute;top:0;left:calc(50% - 13px);display:grid;place-items:center;width:26px;height:26px;border:2px solid var(--bs-border-color,var(--line));border-radius:50%;background:var(--bs-body-bg,var(--surface));content:counter(step);counter-increment:step;font-weight:800}
.stepper li:after{position:absolute;top:12px;right:calc(50% + 13px);left:calc(-50% + 13px);height:2px;background:var(--bs-border-color,var(--line));content:""}
.stepper li:first-child:after{display:none}
.stepper li.done:before,.stepper li.active:before{border-color:#a20404;background:#a20404;color:#fff}
.stepper li.done:after,.stepper li.active:after{background:#a20404}
.stepper li.active{color:var(--bs-body-color,var(--text));font-weight:700}
/* From tablet width the steps share the row and their labels wrap, instead of scrolling; a narrow screen scrolls with a thin bar. */
.stepper{scrollbar-width:thin;scrollbar-color:var(--bs-border-color,var(--line)) transparent}
@media (min-width:768px){.stepper li{min-width:0;padding-inline:4px}}
.progress{height:8px;border-radius:99px;background:var(--bs-border-color);overflow:hidden}
.progress span{display:block;height:100%;background:#a20404}
.qr-box{display:inline-block;padding:20px;border-radius:14px;background:#fff}
.qr-box img,.qr-box svg{display:block;width:260px;height:260px}
.screenplay{min-height:500px;padding:48px;border-radius:8px;background:#fff;color:#111;font-family:"Courier New",monospace;line-height:1.6;white-space:pre-wrap}
.timeline{display:flex;flex-direction:column;margin:0}
/* AdminLTE ships an unrelated .timeline component; neutralise its rail and pseudo-elements. */
.timeline::before,.timeline>.timeline-item::before,.timeline>.timeline-item::after{display:none;content:none}
.timeline>.timeline-item{margin:0}
.timeline-item{display:grid;grid-template-columns:130px 18px 1fr;gap:12px}
.timeline-dot{position:relative}
.timeline-dot:before{position:absolute;top:6px;left:5px;width:9px;height:9px;border-radius:50%;background:#a20404;content:""}
.timeline-dot:after{position:absolute;top:18px;bottom:-10px;left:9px;width:1px;background:var(--bs-border-color);content:""}
.timeline-item:last-child .timeline-dot:after{display:none}
.timeline-item>div:last-child{padding-bottom:24px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.section-head h2{margin:0}
.section-head p{margin:.25rem 0 0;color:var(--bs-secondary-color)}

/* Dashboard pieces PEF's dashboard does not have */
/* All clear: neutral steel rule and charcoal icon tile, so it reads calmer than the red attention state without green. */
.dashboard-attention.is-clear{border-left-color:#8b939c}
.dashboard-attention.is-clear .admin-guide-icon{background:#2b3036;color:#fff}
.dashboard-attention__pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.dashboard-attention__pills a{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border:1px solid rgb(255 255 255 / 22%);border-radius:999px;background:rgb(255 255 255 / 10%);color:#f4f4f2;font-size:12px;font-weight:700;text-decoration:none;transition:border-color .15s ease,background-color .15s ease}
.dashboard-attention__pills a:hover,.dashboard-attention__pills a:focus-visible{border-color:#ff7378;background:rgb(162 4 4 / 35%);color:#fff}
.project-step-mini{display:block;width:100%;max-width:7.5rem;height:4px;margin-top:4px;border-radius:999px;background:var(--bs-border-color);overflow:hidden}
.project-step-mini>span{display:block;height:100%;border-radius:inherit;background:var(--ws-accent-fill,#a20404)}
.lc-more-menu{position:relative;display:inline-block}
.lc-more-menu>summary{list-style:none;cursor:pointer}
.lc-more-menu>summary::-webkit-details-marker{display:none}
.lc-more-menu__list{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:grid;gap:4px;min-width:12.5rem;padding:6px;border:1px solid var(--ws-border-strong,var(--bs-border-color));border-radius:var(--ws-r-sm,8px);background:var(--ws-surface,var(--bs-body-bg));box-shadow:0 .75rem 2rem rgb(0 0 0 / 28%)}
.lc-more-menu__list :is(a,button){width:100%;justify-content:flex-start;text-align:start}
.dashboard-event-list{display:grid;gap:.5rem}
.dashboard-event{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--bs-border-color);border-radius:.75rem;color:var(--bs-body-color);text-decoration:none}
.dashboard-event:hover{border-color:var(--admin-orange);color:var(--bs-body-color)}
.dashboard-event time{display:grid;place-items:center;padding:.35rem 0;border-radius:.55rem;background:rgb(162 4 4 / 10%);color:var(--admin-orange);line-height:1.1}
.dashboard-event time strong{font-size:1.15rem}
.dashboard-event time span{font-size:.68rem;font-weight:800;text-transform:uppercase}
.dashboard-event div strong,.dashboard-event div small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-event div small{color:var(--bs-secondary-color)}
.dashboard-event>span{color:var(--admin-orange);font-size:.85rem;font-weight:700;white-space:nowrap}
.dashboard-projects-pane{padding:1rem}
.dashboard-projects-pane .section-head h3{margin:0}
.dashboard-projects-pane .section-head a:not(.button,.btn){color:var(--admin-orange);font-weight:700;text-decoration:none}
.dashboard-spark-bars span{--bar:0%}

@media(max-width:1180px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991.98px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.grid-2,.grid-3,.grid-4,.stats,.form-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.screenplay{padding:22px}.timeline-item{grid-template-columns:95px 16px 1fr}.admin-welcome>.actions,.admin-welcome>div:not(:first-child){width:100%}.lc-news-grid{grid-template-columns:1fr}}


/* ------------------------------------------------------------------ Screenplay editor, comments, and revision history */
.script-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px;align-items:start}.script-editor{overflow:hidden;margin-bottom:18px;padding:0!important}.script-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,var(--surface),var(--tint))}.script-editor-head h2{margin:3px 0 5px}.script-editor-head p{max-width:650px;margin:0;color:var(--muted);font-size:var(--fs-meta,13px);line-height:1.5}.script-editor-status{display:flex;align-items:center;gap:10px;flex:0 0 auto}.script-editor-status>span{color:var(--muted);font-size:var(--fs-micro,11px);white-space:nowrap}.script-toolbar{display:flex;flex-wrap:wrap;gap:9px 18px;padding:10px 14px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--tint),var(--surface) 45%);scrollbar-width:thin}.script-tool-group{display:flex;align-items:center;gap:5px;flex:0 0 auto}.script-toolbar-label{margin-right:4px;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.script-tool-group button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;font-size:11px;font-weight:700}.script-tool-group button:hover{border-color:var(--primary);background:var(--tint);color:var(--link)}.script-tool-group button>span{display:grid;place-items:center;min-width:18px;height:18px;border-radius:5px;background:var(--tint);color:var(--link);font:800 10px/1 "Courier New",monospace}.script-field{margin:0;padding:18px}.script-field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.script-editor .screenplay{min-height:680px;margin:0;border-color:var(--line);border-radius:10px;box-shadow:inset 0 1px 3px rgba(17,24,39,.045);font-size:13px;line-height:1.75}.script-format-guide{border-top:1px solid var(--line);background:color-mix(in srgb,var(--tint),var(--surface) 55%)}.script-format-guide summary{padding:12px 18px;color:var(--link);cursor:pointer;font-size:12px;font-weight:750}.script-format-guide>div{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 14px;padding:0 18px 16px;color:var(--muted);font-size:var(--fs-micro,11px)}.script-format-guide code{padding:3px 6px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text)}.script-preview{min-height:680px;margin:18px;padding:64px clamp(28px,calc(7vw / var(--lc-zoom, 1)),82px);border:1px solid var(--line);border-radius:10px;background:#fff;color:#111;box-shadow:inset 0 0 0 1px #fff,0 8px 24px rgba(17,24,39,.08);font:12px/1.55 "Courier New",monospace}.script-preview p{margin:0 0 13px}.script-preview-space{height:12px}.script-preview-chapter{margin:28px 0 16px;border-bottom:1px solid #aaa;padding-bottom:5px;font-size:15px;text-transform:uppercase}.script-preview-scene{margin-top:24px!important;font-weight:800;text-transform:uppercase}.script-preview-center{text-align:center}.script-preview-transition{text-align:right;text-transform:uppercase}.script-preview-character{width:52%;margin:18px 0 0 auto!important;text-align:left;text-transform:uppercase}.script-preview-dialogue{width:58%;margin:0 auto 3px!important}.script-preview-parenthetical{width:50%;margin:0 auto!important}.script-preview-indented{margin-left:10%!important}.script-preview strong{font-weight:800}.script-preview u{text-decoration:underline}.script-preview em{font-style:italic}
@media(max-width:900px){.script-layout{grid-template-columns:1fr}}
@media(max-width:720px){.script-editor-head{align-items:stretch;flex-direction:column}.script-editor-status{flex-wrap:wrap;gap:6px 10px;justify-content:space-between;width:100%}.script-toolbar{flex-wrap:nowrap;gap:14px;overflow-x:auto}.script-tool-group{flex-wrap:nowrap}.script-preview{min-height:540px;margin:10px;padding:36px 20px}.script-preview-character,.script-preview-dialogue,.script-preview-parenthetical{width:78%}}
.script-layout>*{min-width:0}.script-editor{min-width:0;max-width:100%}
.script-page-stack{display:grid;gap:18px}.script-page-stack>*{min-width:0}.script-page-stack>.script-comments,.script-page-stack>.revision-history{margin:0}.script-comments-head,.revision-history>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.script-comments-head h2,.revision-history>header h2{margin:3px 0 5px}.script-comments-head p{margin:0;color:var(--muted);font-size:var(--fs-meta,13px)}.script-comments form{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--tint)}.script-comments form .field{margin-bottom:10px}.script-comments textarea{min-height:96px}.script-comment-thread{display:grid;gap:0;margin-top:20px;border-top:1px solid var(--line)}.script-comment{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.script-comment:last-child{border-bottom:0}.script-comment-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--primary),transparent 86%);color:var(--link);font-weight:850}.script-comment header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.script-comment time{color:var(--muted);font-size:11px}.script-comment p{overflow-wrap:anywhere;margin:6px 0 0;line-height:1.55;white-space:normal}.script-comments-empty{padding:24px 0 4px;color:var(--muted);text-align:center}.revision-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.revision-item{min-width:0;padding:15px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--surface),var(--tint) 30%)}.revision-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.revision-item-head strong{font-size:18px}.revision-item p{overflow-wrap:anywhere;margin:9px 0 12px;line-height:1.45}.revision-item .meta{justify-content:space-between}.script-page-stack pre.screenplay{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:640px){.script-comments-head,.revision-history>header{align-items:stretch;flex-direction:column}.script-comment header{align-items:flex-start;flex-direction:column;gap:3px}.revision-list{grid-template-columns:1fr}}

/* PEF home contact-form rules, rescoped from #contactForm (site.js intercepts that id) */
.home-contact-form-card .lc-join-form{padding:0;background:transparent;border-radius:0;box-shadow:none}
.home-contact-form-card .lc-join-form .contact-form-title .heading-1{margin-bottom:12px;color:var(--home-ink);font-size:clamp(31px,calc(3vw / var(--lc-zoom, 1)),42px);line-height:1.14;letter-spacing:-.025em}
.home-contact-form-card .lc-join-form .form-control.input-style-2{height:52px;padding:12px 14px;border:1px solid var(--home-border);border-radius:13px;background:var(--home-card);color:var(--home-ink);font-size:16px;box-shadow:none}
.home-contact-form-card .lc-join-form .form-control.input-style-2::placeholder{color:#737983}
.home-contact-form-card .lc-join-form .form-control.input-style-2:focus{border-color:var(--brand-red);box-shadow:0 0 0 3px rgba(162,4,4,.11)}
.home-contact-form-card .lc-join-form textarea.form-control.input-style-2{height:auto!important;min-height:138px;resize:vertical}
.home-contact-form-card .lc-join-form .sub-btn{margin-top:6px}

/* PEF's watermark is its asterisk logo; the same treatment carries Lifecinema's frame-and-lens mark. */
.app-content::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 460'%3E%3Cg transform='translate(420 322)' fill='none' stroke='%23a20404' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='-170' y='-170' width='340' height='340' rx='88' stroke-width='4' stroke-opacity='.09'/%3E%3Cpath d='M-62-88V66H80' stroke-width='12' stroke-opacity='.075'/%3E%3Ccircle r='112' stroke-width='1' stroke-opacity='.045'/%3E%3Ccircle r='142' stroke-width='1.5' stroke-opacity='.06'/%3E%3Ccircle cx='72' cy='-80' r='13' fill='%23a20404' fill-opacity='.11' stroke='none'/%3E%3C/g%3E%3C/svg%3E")}
[data-bs-theme="dark"] .app-content::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 460'%3E%3Cg transform='translate(420 322)' fill='none' stroke='%23ff7378' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='-170' y='-170' width='340' height='340' rx='88' stroke-width='4' stroke-opacity='.13'/%3E%3Cpath d='M-62-88V66H80' stroke-width='12' stroke-opacity='.1'/%3E%3Ccircle r='112' stroke-width='1' stroke-opacity='.06'/%3E%3Ccircle r='142' stroke-width='1.5' stroke-opacity='.08'/%3E%3Ccircle cx='72' cy='-80' r='13' fill='%23ff7378' fill-opacity='.15' stroke='none'/%3E%3C/g%3E%3C/svg%3E")}
.login-body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 560'%3E%3Cg transform='translate(530 390)' fill='none' stroke='%23ff7378' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='-220' y='-220' width='440' height='440' rx='112' stroke-width='5' stroke-opacity='.14'/%3E%3Cpath d='M-80-114V86H104' stroke-width='16' stroke-opacity='.1'/%3E%3Ccircle r='150' stroke-width='1' stroke-opacity='.06'/%3E%3Ccircle r='186' stroke-width='1.5' stroke-opacity='.09'/%3E%3Ccircle cx='94' cy='-104' r='16' fill='%23ff7378' fill-opacity='.18' stroke='none'/%3E%3C/g%3E%3C/svg%3E")}

/* Home announcement cards link to the post; department links; media library thumbnails. */
a.lc-news-card{display:block;color:inherit;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
a.lc-news-card:hover,a.lc-news-card:focus-visible{border-color:#a20404;color:inherit;transform:translateY(-3px);box-shadow:0 18px 40px rgb(18 23 29 / 10%)}
.lc-news-more{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:#a20404;font-size:14px;font-weight:700}
[data-site-theme=dark] .lc-news-more{color:#ff7378}
.lc-section-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px}
.lc-section-heading .hero-sub-title{flex-basis:100%}
.lc-department-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.lc-media-thumb{display:grid;place-items:center;width:96px;height:64px;border-radius:.5rem;object-fit:cover;background:var(--bs-tertiary-bg)}
/* Text written by people wraps inside its box at any width (HN 06 §5, PEF IR-07). */
.admin-page-workspace,.admin-welcome,.login-card,.lc-news-card,.lc-casting-slide,.service-hub__card,.contact-experience__intro{overflow-wrap:anywhere}
.admin-page-workspace .table{overflow-wrap:break-word}
.admin-page-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%}
form[aria-busy=true] [data-submitting]{cursor:progress;opacity:.72}
.lc-time-hint{margin-top:.35rem;color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-meta,.8rem)}

/* Settings (PEF 04). PEF keys these dark rules on data-theme, which in Lifecinema holds the preference
   (system/light/dark); the resolved workspace theme is data-bs-theme. */
[data-bs-theme=dark] .sales-email-control{background:linear-gradient(135deg,rgba(200,46,46,.19),rgba(200,46,46,.04))}
[data-bs-theme=dark] .sales-email-control__heading strong{color:#f4f5f6}
[data-bs-theme=dark] .sales-email-control .form-control{background:var(--ws-n-20252c,#20252c);color:#f4f5f6}
[data-bs-theme=dark] .sales-email-control__impact{color:#d7ccd0}
/* AdminLTE's clearfix ::after becomes a flex item in a flex card header and pulls the badge to the middle. */
.card-header.d-flex::before,.card-header.d-flex::after{content:none;display:none}

/* Producer dashboard · Add new event: the confirmation line and the just-added event. */
.event-added-status{margin:0 0 1rem;padding:.65rem .85rem;border-radius:.75rem;border:1px solid rgba(43,48,54,.25);border-left:4px solid #2b3036;background:var(--ws-n-2b3036-06,rgba(43,48,54,.06));color:var(--bs-emphasis-color,#1d2126);font-size:.9rem}
.timeline-item.is-new{border-radius:.75rem;background:rgba(162,4,4,.08);box-shadow:0 0 0 1px rgba(162,4,4,.25);animation:lc-new-event 2.4s ease-out 1}
.timeline-item.is-new:focus{outline:2px solid #a20404;outline-offset:2px}
@keyframes lc-new-event{from{background:rgba(162,4,4,.28)}to{background:rgba(162,4,4,.08)}}


/* Palette rule (owner, 24 September 2026): no green. Green clashes with the red and charcoal palette, so positive and
   success states (Bootstrap success utilities and alerts, PEF success notices, status badges, trends) use charcoal
   in light mode and light steel in dark mode; the check icon, not the colour, tells success apart from red errors. */
:root,[data-bs-theme=light]{--bs-success:#2b3036;--bs-success-rgb:43,48,54;--bs-success-text-emphasis:#1d2126;--bs-success-bg-subtle:#eef0f2;--bs-success-border-subtle:#c9ced4}
[data-bs-theme=dark],[data-site-theme=dark]{--bs-success:#ced4da;--bs-success-rgb:206,212,218;--bs-success-text-emphasis:#e9ecef;--bs-success-bg-subtle:var(--ws-n-262b31,#262b31);--bs-success-border-subtle:#454c55}
.admin-alert-stack .alert-success{--alert-accent:#2b3036;--alert-icon-bg:var(--ws-n-2b3036-1,rgba(43,48,54,.1))}
.admin-page-workspace .alert-success{border-left-color:#2b3036}
[data-bs-theme=dark] .admin-alert-stack .alert-success{--alert-accent:#ced4da;--alert-icon-bg:rgba(206,212,218,.12)}
[data-bs-theme=dark] .admin-page-workspace .alert-success{border-left-color:#ced4da}
[data-bs-theme=dark] .badge-success{background:#ced4da;color:#16191d}
[data-bs-theme=dark] .event-added-status{border-color:rgba(206,212,218,.25);border-left-color:#ced4da;background:rgba(206,212,218,.06)}
.dashboard-metric em.is-up{color:#2b3036}
[data-bs-theme=dark] .dashboard-metric em.is-up{color:#ced4da}
.status-badge.status-published{background:var(--ws-n-2b3036-1,rgba(43,48,54,.1));color:#2b3036}
[data-bs-theme=dark] .status-badge.status-published{background:rgba(206,212,218,.12);color:#e9ecef}

/* Attendance QR display and recap (§8.1.1). */
.attendance-qr-display{text-align:center}
.attendance-qr-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;text-align:left}
.attendance-qr-head h2{margin:0}
.attendance-qr-count{white-space:nowrap;font-size:.95rem;color:var(--bs-secondary-color)}
.attendance-qr-count strong{font-size:1.5rem;color:var(--bs-emphasis-color)}
.attendance-qr-instruction{margin:.75rem auto;max-width:34rem;font-weight:600}
.attendance-qr-timer{margin:.75rem 0 0;font-variant-numeric:tabular-nums;color:var(--bs-secondary-color)}
.attendance-qr-state:empty{display:none}
.attendance-qr-actions{justify-content:center;margin:.75rem 0}
.qr-box.is-stopped img{opacity:.08;filter:grayscale(1)}
.attendance-qr-display:fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(4vh / var(--lc-zoom, 1)) calc(4vw / var(--lc-zoom, 1));background:var(--bs-body-bg)}
.attendance-qr-display:fullscreen .qr-box img{width:min(calc(70vh / var(--lc-zoom, 1)),calc(80vw / var(--lc-zoom, 1)));height:min(calc(70vh / var(--lc-zoom, 1)),calc(80vw / var(--lc-zoom, 1)))}
.attendance-qr-display:fullscreen .attendance-qr-head{width:min(calc(70vh / var(--lc-zoom, 1)),calc(80vw / var(--lc-zoom, 1)))}
.attendance-recap-hint{margin-bottom:1rem;border-left:4px solid #a20404}
.attendance-review{display:grid;gap:.35rem;margin-top:.4rem}
.attendance-confirmed{display:block;margin-top:.3rem;color:var(--bs-secondary-color)}
.attendance-review-all{margin-top:1rem}
.attendance-scan{max-width:520px;margin:40px auto}
.attendance-arrival{display:grid;gap:.6rem;margin:1rem 0;padding:1rem;border:1px solid var(--bs-border-color);border-radius:.85rem}
.attendance-arrival legend{float:none;width:auto;margin:0;font-size:1rem;font-weight:700}

/* PEF's public and sign-in Bootstrap is 5.2.1: it has no dark-mode variables and hard-codes a green success alert.
   Apply the no-green palette there too, and keep form text readable on the dark sign-in card. */
.alert-success{--bs-alert-color:#1d2126;--bs-alert-bg:#eef0f2;--bs-alert-border-color:#c9ced4;--bs-alert-link-color:#1d2126}
[data-bs-theme=dark] .alert-success,[data-site-theme=dark] .alert-success{--bs-alert-color:#e9ecef;--bs-alert-bg:var(--ws-n-262b31,#262b31);--bs-alert-border-color:#454c55;--bs-alert-link-color:#e9ecef}
[data-bs-theme=dark] .login-card :is(.form-control,.form-select){color:#e9ecef}
[data-bs-theme=dark] .login-card .form-select option{color:#16191d;background:#fff}
[data-bs-theme=dark] .login-card .form-control::placeholder{color:#8b939c}
/* Phone attendance (§8.1.3). */
.attendance-scan .form-check{display:flex;gap:.55rem;align-items:flex-start;margin:0}
.attendance-scan .attendance-arrival{margin:1rem 0}
.attendance-replaces{padding-left:1.6rem}
.attendance-self{margin:1rem 0;padding:.75rem .9rem;border-radius:.75rem;background:var(--ws-n-2b3036-06,rgba(43,48,54,.06));border:1px solid var(--bs-border-color)}
[data-bs-theme=dark] .attendance-self{background:rgba(206,212,218,.06)}
.attendance-scan textarea{margin-bottom:.25rem}
.attendance-scan [aria-invalid=true]{border-color:#a20404;box-shadow:0 0 0 .15rem rgba(162,4,4,.2)}
.attendance-receipt{text-align:center;padding:1rem 0}
.attendance-receipt:focus{outline:none}
.attendance-receipt-icon{margin:0 auto .75rem;display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;background:#a20404;color:#fff;font-size:1.6rem}
.attendance-member-note{display:block;margin-top:.3rem;color:var(--bs-secondary-color)}
/* Datepicker (flatpickr, assets/js/datepicker.js): every date/time field opens this calendar; Lifecinema colours in both themes. */
.lc-date-input{cursor:pointer;padding-right:2.4rem!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9099' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:1rem}
.lc-date-input[disabled]{cursor:not-allowed}
.modal .flatpickr-wrapper,dialog .flatpickr-wrapper{display:block}
/* A calendar inside a dialog sits in the form (static), so the form's own select and input styles must not reach its month and year. */
.flatpickr-calendar .flatpickr-current-month select.flatpickr-monthDropdown-months,.flatpickr-calendar .flatpickr-current-month input.cur-year{height:auto!important;min-height:0!important;margin:0!important;padding:0 0 0 .5ch!important;border:0!important;border-radius:4px!important;background:transparent none!important;box-shadow:none!important;font-size:inherit!important;line-height:inherit!important;appearance:none;-webkit-appearance:none}
.flatpickr-calendar{border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font-family:inherit;box-shadow:0 14px 36px rgb(17 24 39 / 16%)}
.flatpickr-calendar::before,.flatpickr-calendar::after{display:none}
.flatpickr-months .flatpickr-month,.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{color:var(--text);fill:var(--text)}
.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:var(--link)}
.flatpickr-current-month .flatpickr-monthDropdown-months,.flatpickr-current-month input.cur-year{color:var(--text);font-weight:700}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover,.flatpickr-current-month .numInputWrapper:hover{background:var(--tint)}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background:var(--surface);color:var(--text)}
span.flatpickr-weekday{color:var(--muted);font-weight:700}
.flatpickr-day{color:var(--text)}
.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay{color:var(--muted);opacity:.55}
.flatpickr-day:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{border-color:var(--tint);background:var(--tint);color:var(--text)}
.flatpickr-day.today{border-color:var(--link)}
.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:var(--link);background:var(--tint-red);color:var(--text)}
.flatpickr-day.selected,.flatpickr-day.selected:hover,.flatpickr-day.selected:focus,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected.nextMonthDay{border-color:var(--primary);background:var(--primary);color:var(--primary-text);opacity:1}
.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{border-color:transparent;background:transparent;color:var(--muted);opacity:.35}
.flatpickr-calendar.hasTime .flatpickr-time{border-top:1px solid var(--line)}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{border-top:0}
.flatpickr-time input,.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{color:var(--text)}
.flatpickr-time input:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:var(--tint)}
.numInputWrapper span{border-color:var(--line)}
.numInputWrapper span:hover{background:var(--tint-red)}
.numInputWrapper span.arrowUp::after{border-bottom-color:var(--muted)}
.numInputWrapper span.arrowDown::after{border-top-color:var(--muted)}
/* Project team rows open the person's profile (people/{id}); the name is the link, stretched over the whole row. */
.lc-row-link{position:relative;cursor:pointer}
.lc-person-link{color:inherit;font-weight:600;text-decoration:none}
.lc-person-link::after{content:"";position:absolute;inset:0}
.lc-row-link:hover .lc-person-link,.lc-person-link:focus-visible{color:var(--link);text-decoration:none}
.lc-person-link:focus-visible{outline:none}
.lc-row-link:has(.lc-person-link:focus-visible){outline:2px solid var(--link);outline-offset:-2px}
/* Dropdowns (picklists). The open list follows the page theme instead of the OS (it was dark on light pages).
   Where the browser supports customizable <select> (Chromium 135+), the list itself is restyled with Lifecinema
   tokens: rounded panel, roomy options, red check on the chosen one. Other browsers keep their native list. */
:root,[data-bs-theme=light],[data-site-theme=light]{--lc-select-scheme:light}
[data-bs-theme=dark],[data-site-theme=dark]{--lc-select-scheme:dark}
select{color-scheme:var(--lc-select-scheme,light)}
@supports (appearance:base-select){
  select:not([multiple]):not([size]),::picker(select){appearance:base-select}
  select:not([multiple]):not([size]){display:inline-flex;align-items:center;gap:.5rem}
  select:not([multiple]):not([size])::picker-icon{margin-left:auto;color:var(--bs-secondary-color,var(--muted));transition:rotate .2s}
  select:not([multiple]):not([size]):open::picker-icon{rotate:180deg}
  select.form-select::picker-icon,.lc-phase-select::picker-icon{display:none}
  ::picker(select){margin-top:.35rem;padding:.35rem;border:1px solid var(--bs-border-color,var(--line));border-radius:.85rem;background:var(--bs-body-bg,var(--surface));color:var(--bs-body-color,var(--text));box-shadow:0 18px 40px rgb(17 24 39 / 18%);max-height:min(22rem,calc(60vh / var(--lc-zoom, 1)));opacity:0;translate:0 -4px;transition:opacity .15s,translate .15s,overlay .15s allow-discrete,display .15s allow-discrete}
  select:open::picker(select){opacity:1;translate:0 0}
  @starting-style{select:open::picker(select){opacity:0;translate:0 -4px}}
  select option{display:flex;align-items:center;gap:.6rem;min-height:2.4rem;padding:.5rem .8rem;border-radius:.55rem;font-size:.95rem;cursor:pointer}
  select option:hover,select option:focus-visible{background:var(--tint,rgb(0 0 0 / 5%));outline:none}
  select option:checked{background:var(--tint-red);color:var(--link);font-weight:650}
  select option::checkmark{order:1;margin-left:auto;color:var(--brand-red);font-weight:800}
  select option:disabled{opacity:.45;cursor:not-allowed}
  select optgroup{padding-top:.3rem;border-top:1px solid var(--bs-border-color,var(--line))}
  select optgroup legend{padding:.35rem .8rem .2rem;color:var(--bs-secondary-color,var(--muted));font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  [data-bs-theme=dark] ::picker(select),[data-site-theme=dark] ::picker(select){box-shadow:0 18px 40px rgb(0 0 0 / 45%)}
}
/* Project phase picker in the page header. */
.lc-phase-form{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.3rem .3rem .3rem .85rem;border:1px solid var(--bs-border-color,var(--line));border-radius:999px;background:var(--bs-body-bg,var(--surface))}
.lc-phase-form__label{margin:0;color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-micro,.78rem);font-weight:700;letter-spacing:.04em}
.lc-phase-select{min-width:11rem;height:2.3rem;padding:0 2.2rem 0 .85rem;border:1px solid transparent;border-radius:999px;background:var(--tint-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a20404' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center/.75rem;color:var(--link);font-size:var(--fs-meta,.9rem);font-weight:700;cursor:pointer}
.lc-phase-select:hover{border-color:rgb(162 4 4 / 35%)}
.lc-phase-select:focus-visible{outline:3px solid rgb(162 4 4 / 30%);outline-offset:1px}
.lc-phase-form .button{border-radius:999px}
/* Project workspace (§6.2): every project-bound module is a tab of the project. */
.module-stepper{margin-bottom:1rem}
.module-grid{align-items:start}
.module-records .section-head,.module-form .section-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
/* Stacked on phones, the heading and its actions start at the card's left edge like every other section head. */
@media(max-width:767.98px){.module-records .section-head,.module-form .section-head{align-items:flex-start}}
.module-count{min-width:1.8rem;padding:.1rem .55rem;border-radius:999px;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color);font-size:.8rem;font-weight:700;text-align:center}
.module-table td{vertical-align:top}
.module-table tr.is-editing td{background:var(--tint-red)}
.module-empty{padding:1.25rem!important;color:var(--bs-secondary-color);text-align:center}
.module-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}
.module-actions form{margin:0}
.module-actions .button-danger{background:transparent;color:#b00005}
.module-actions .button-danger:hover,.module-actions .button-danger:focus-visible{background:#b00005;color:#fff}
.module-ops{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0}
.admin-page-workspace .module-ops .module-op-input{width:9rem;min-height:2rem;padding:.25rem .5rem;font-size:.85rem}
.module-form .field small{display:block;margin-top:.25rem;color:var(--bs-secondary-color)}
.field-check{display:flex;align-items:center;gap:.5rem;margin:.25rem 0 1rem;font-weight:600}
.admin-page-workspace .field-check input{width:auto;min-height:auto}
.module-details{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--bs-border-color)}
.module-details summary{color:var(--link);font-weight:600;cursor:pointer}
.module-details form{margin-top:.9rem}
.module-readonly{display:block;margin-top:1rem;padding:.75rem 1rem;border-left:4px solid var(--bs-border-color);border-radius:.5rem;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color)}
.module-choice__go{display:block;margin-top:.75rem;color:var(--link);font-weight:700}
/* Production overview: active projects with shortcuts into their tabs. */
.production-projects__title{margin:0 0 .75rem;font-size:1.1rem}
.production-projects{display:grid;gap:.75rem}
.production-project{margin:0}
.production-project header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.production-project h3{margin:.1rem 0 .6rem;font-size:var(--fs-body,1.05rem)}
.production-project h3 a{color:var(--bs-body-color);text-decoration:none}
.production-project h3 a:hover{color:var(--link)}
.production-project__links{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem}
.production-project__links a{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border:1px solid var(--bs-border-color);border-radius:999px;color:var(--bs-body-color);font-size:var(--fs-meta,.8rem);font-weight:600;text-decoration:none}
.production-project__links a:hover{border-color:var(--brand-red);color:var(--link)}
.production-project__links i{color:var(--bs-secondary-color)}
/* Records need the full width (many columns); the add form sits below them, and above them while editing a row. */
.grid-2.module-grid{grid-template-columns:minmax(0,1fr)}
.module-form .form-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr))}
.module-form .form-grid .full{grid-column:1/-1}
/* Record cards (venues, scouting, catering), news lists (equipment), carousels and upload fields (1.26). */
.record-cards{display:grid;gap:1rem}
.record-card{display:grid;grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:1.25rem;padding:1rem;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg)}
.record-card.is-compact{grid-template-columns:minmax(0,1fr)}
.record-card.is-editing,.is-editing.record-card{border-color:var(--brand-red);box-shadow:0 0 0 3px var(--tint-red)}
.record-card__body{min-width:0}
.record-card__head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.6rem .9rem;margin-bottom:.6rem}
.record-card__head h3{margin:0;font-size:1.1rem;font-weight:750}
.record-card__head>div{flex:1 1 12rem;min-width:0}
.record-card__head small{color:var(--bs-secondary-color)}
.record-address{display:flex;gap:.5rem;margin:.25rem 0 .5rem;color:var(--bs-body-color);font-size:var(--fs-meta,.92rem)}
.record-address i{margin-top:.2rem;color:var(--brand-red)}
.record-contact{display:flex;flex-wrap:wrap;gap:.35rem .9rem;margin-bottom:.6rem;font-size:.88rem}
.record-contact>*{display:inline-flex;align-items:center;gap:.35rem;color:var(--bs-body-color);text-decoration:none}
.record-contact a:hover{color:var(--link)}
.record-contact i{color:var(--bs-secondary-color)}
.record-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.5rem 1rem;margin:0 0 .6rem}
.record-facts dt{color:var(--bs-secondary-color);font-size:var(--fs-micro,.7rem);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.record-facts dd{margin:0;font-size:var(--fs-meta,.9rem);font-weight:600}
.record-facts .full{grid-column:1/-1}
.record-notes{padding:.6rem .8rem;border-left:3px solid var(--bs-border-color);border-radius:.4rem;background:var(--bs-tertiary-bg);font-size:.9rem}
.record-notes p:last-child{margin-bottom:0}
.record-avatar{flex:0 0 auto;width:3rem;height:3rem;border-radius:.75rem;object-fit:cover}
.record-avatar.is-large{width:4.5rem;height:4.5rem}
.record-avatar.is-empty{display:grid;place-items:center;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color)}
.record-card .module-actions{justify-content:flex-start;margin-top:.75rem}
.lc-carousel{position:relative;overflow:hidden;border-radius:.8rem;background:#111;outline:none}
.lc-carousel:focus-visible{box-shadow:0 0 0 3px rgb(162 4 4 / 40%)}
.lc-carousel__slide{margin:0;aspect-ratio:4/3}
.lc-carousel__slide img{display:block;width:100%;height:100%;object-fit:cover}
.lc-carousel__nav{position:absolute;top:50%;display:grid;place-items:center;width:2.3rem;height:2.3rem;border:0;border-radius:50%;background:var(--ws-n-0a0c0f-60,rgb(10 12 15 / 60%));color:#fff;transform:translateY(-50%);cursor:pointer}
.lc-carousel__nav:hover,.lc-carousel__nav:focus-visible{background:var(--brand-red)}
.lc-carousel__nav.is-prev{left:.5rem}.lc-carousel__nav.is-next{right:.5rem}
.lc-carousel__bar{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .7rem;background:linear-gradient(transparent,rgb(0 0 0 / 55%))}
.lc-carousel__dots{display:flex;flex-wrap:wrap;gap:.3rem}
.lc-carousel__dot{width:.55rem;height:.55rem;padding:0;border:0;border-radius:999px;background:rgb(255 255 255 / 55%);cursor:pointer}
.lc-carousel__dot.is-active{width:1.4rem;background:#fff}
.lc-carousel__count{color:#fff;font-size:.78rem;font-weight:700}
.carousel-empty{display:grid;place-content:center;justify-items:center;gap:.4rem;aspect-ratio:4/3;border:1px dashed var(--bs-border-color);border-radius:.8rem;color:var(--bs-secondary-color);font-size:.85rem}
.carousel-empty i{font-size:1.6rem}
.module-groups{display:grid;gap:1rem}
.module-group .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}
.module-group .section-head small{color:var(--bs-secondary-color)}
.news-list{display:grid;gap:.25rem}
.news-item{display:grid;grid-template-columns:9.5rem minmax(0,1fr);gap:1rem;padding:.85rem 0;border-top:1px solid var(--bs-border-color)}
.news-item:first-child{border-top:0}
.news-item__media{aspect-ratio:4/3;overflow:hidden;border-radius:.6rem;background:var(--bs-tertiary-bg)}
.news-item__media img{width:100%;height:100%;object-fit:cover}
.news-item__placeholder{display:grid;place-items:center;height:100%;color:var(--bs-secondary-color);font-size:1.6rem}
.news-item__body header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.25rem}
.news-item__body h4{margin:0;font-size:var(--fs-body,1.02rem);font-weight:750}
.news-item__body p{margin:0 0 .35rem;color:var(--bs-body-color);font-size:var(--fs-meta,.9rem);line-height:1.5}
.news-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;color:var(--bs-secondary-color);font-size:var(--fs-meta,.8rem)}
.news-item__note{display:block;margin-top:.3rem;color:var(--bs-secondary-color)}
.equipment-section-title{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bs-secondary-color);margin:1rem 0 .25rem}
.equipment-section-title:first-child{margin-top:0}
.news-item .module-actions{justify-content:flex-start;margin-top:.5rem}
.menu-block{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--bs-border-color)}
.menu-block__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.4rem}
.menu-block__head h4{margin:0;font-size:.95rem}
.menu-items{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}
.menu-item{padding:.6rem .75rem;border:1px solid var(--bs-border-color);border-radius:.6rem}
.menu-item__head{display:flex;justify-content:space-between;gap:.5rem}
.menu-item p{margin:.2rem 0;font-size:.88rem}
.menu-item__tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.3rem}
.menu-item__note{display:block;margin-top:.3rem;color:var(--bs-secondary-color)}
.menu-list{display:grid;gap:.3rem;margin:0 0 .6rem;padding:0;list-style:none}
.menu-list li{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.9rem}
.menu-list small{color:var(--bs-secondary-color)}
.diet-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.08rem .45rem;border:1px solid var(--bs-border-color);border-radius:999px;background:var(--bs-tertiary-bg);color:var(--bs-body-color);font-size:.72rem;font-weight:700}
.diet-chip.is-halal{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
.diet-chip.is-vegan,.diet-chip.is-gf{border-color:#6c7a89;background:#eef0f2;color:#2b3036}
.diet-chip.is-allergen{border-color:rgb(162 4 4 / 35%);background:var(--tint-red);color:var(--link)}
.diet-chip.is-time{border-color:#e0b000;background:rgb(255 193 7 / 15%);color:#7a5a00}
[data-bs-theme=dark] .diet-chip.is-vegan,[data-bs-theme=dark] .diet-chip.is-gf{background:var(--ws-n-2b3036,#2b3036);color:#e3e6ea}
[data-bs-theme=dark] .diet-chip.is-time{color:#f3c969}
.check-group{margin:0 0 1rem;padding:0;border:0}
.check-group legend{float:none;margin-bottom:.4rem;font-size:1rem;font-weight:600}
.check-group__items{display:flex;flex-wrap:wrap;gap:.4rem}
.check-group__title{flex-basis:100%;margin-top:.3rem;color:var(--bs-secondary-color);font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.check-chip{position:relative;display:inline-flex}
.check-chip input{position:absolute;opacity:0;pointer-events:none}
.check-chip span{padding:.3rem .7rem;border:1px solid var(--bs-border-color);border-radius:999px;background:var(--bs-body-bg);font-size:var(--fs-meta,.85rem);cursor:pointer}
.check-chip input:checked+span{border-color:var(--brand-red);background:var(--tint-red);color:var(--link);font-weight:700}
.check-chip input:focus-visible+span{outline:3px solid rgb(162 4 4 / 35%);outline-offset:1px}
.form-photo{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}
.form-photo img{width:4.5rem;height:4.5rem;border-radius:.6rem;object-fit:cover}
.form-photos{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.5rem}
.form-photos__item{display:grid;gap:.25rem;width:6.5rem;font-size:.78rem}
.form-photos__item img{width:100%;aspect-ratio:4/3;border-radius:.5rem;object-fit:cover}
.admin-page-workspace .form-photos__item input,.admin-page-workspace .form-photo input[type=checkbox]{display:inline;width:auto;min-height:auto}
[data-when][hidden]{display:none!important}
/* Media library: category chips and tags. */
.media-library-head{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.media-filters{display:flex;flex-wrap:wrap;gap:.35rem}
.media-filter{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .65rem;border:1px solid var(--bs-border-color);border-radius:999px;color:var(--bs-body-color);font-size:var(--fs-meta,.82rem);font-weight:600;text-decoration:none}
.media-filter span{color:var(--bs-secondary-color);font-size:.75rem}
.media-filter.is-active{border-color:var(--brand-red);background:var(--brand-red);color:#fff}
.media-filter.is-active span{color:#fff}
.media-search{min-width:14rem;margin-left:auto}
.media-category-badge{display:inline-block;margin:.3rem .4rem 0 0;padding:.05rem .5rem;border-radius:.35rem;background:var(--bs-tertiary-bg);font-size:var(--fs-micro,.72rem);font-weight:700}
.media-tags{display:inline-flex;flex-wrap:wrap;gap:.25rem}
.media-tag{padding:.05rem .45rem;border-radius:999px;background:var(--tint-red);color:var(--link);font-size:var(--fs-micro,.72rem);text-decoration:none}
.media-tag.is-active{background:var(--brand-red);color:#fff}
.media-edit-form{display:grid;gap:.35rem}
.media-edit-form__row{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:.35rem}
.media-library-category select{min-width:11rem}
@media (max-width:991px){.record-card{grid-template-columns:1fr}}
@media (max-width:575px){.news-item{grid-template-columns:6.5rem minmax(0,1fr);gap:.75rem}.media-edit-form__row{grid-template-columns:1fr}}
/* Production overview trackers (1.26). */
.kpi-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.75rem;margin-bottom:1.25rem}
.kpi{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;border:1px solid var(--bs-border-color);border-radius:.9rem;background:var(--bs-body-bg)}
.kpi>i{display:grid;flex:0 0 2.4rem;place-items:center;width:2.4rem;height:2.4rem;border-radius:.7rem;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color)}
.kpi strong{display:block;font-size:var(--fs-number,1.45rem);line-height:1.1}
.kpi strong small{font-size:.75rem;font-weight:600;color:var(--bs-secondary-color)}
.kpi span{color:var(--bs-secondary-color);font-size:var(--fs-meta,.8rem)}
.kpi.is-warn>i{background:rgb(255 193 7 / 18%);color:#8a5a00}
.kpi.is-alert>i{background:var(--tint-red);color:var(--link)}
.tracker-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1rem;align-items:start}
.tracker-col{display:grid;gap:1rem}
.tracker{margin:0}
.tracker .section-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.75rem}
.tracker .section-head h2{margin:0;font-size:var(--fs-heading,1.05rem)}
.tracker .section-head h2 i{color:var(--brand-red)}
.tracker .section-head small{color:var(--bs-secondary-color)}
.attention-list{display:grid;gap:.4rem;margin:0;padding:0;list-style:none}
.attention{display:flex;gap:.7rem;align-items:flex-start;padding:.55rem .7rem;border-left:4px solid var(--bs-border-color);border-radius:.5rem;background:var(--bs-tertiary-bg)}
.attention i{margin-top:.2rem;color:var(--bs-secondary-color)}
.attention a{color:var(--bs-body-color);font-weight:600;text-decoration:none}
.attention small{display:block;color:var(--bs-secondary-color)}
.attention.is-alert{border-left-color:var(--brand-red)}.attention.is-alert i{color:var(--brand-red)}
.attention.is-warn{border-left-color:#ffc107}.attention.is-warn i{color:#b58100}
.attention.is-info{border-left-color:#6c7a89}
.tracker-clear{display:flex;align-items:center;gap:.5rem;margin:0;color:var(--bs-secondary-color)}
.tracker-more{margin:.5rem 0 0;color:var(--bs-secondary-color);font-size:.85rem}
.project-mini{display:grid;grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));gap:.4rem .9rem;margin:.6rem 0 0}
.project-mini dt{color:var(--bs-secondary-color);font-size:var(--fs-micro,.68rem);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.project-mini dd{margin:0;font-size:var(--fs-meta,.88rem);font-weight:600}
.production-project{padding:.85rem 0;border-top:1px solid var(--bs-border-color)}
.production-project:first-child{border-top:0;padding-top:0}
.pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.4rem;margin:0;padding:0;list-style:none;counter-reset:none}
.pipeline li{display:grid;gap:.15rem;padding:.6rem .5rem;border-radius:.6rem;background:var(--bs-tertiary-bg);text-align:center}
.pipeline strong{font-size:var(--fs-lead,1.3rem)}
.pipeline span{color:var(--bs-secondary-color);font-size:var(--fs-micro,.72rem);font-weight:600}
.pipeline li.is-pending{background:var(--tint-red)}.pipeline li.is-pending strong{color:var(--link)}
.tracker-facts{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}
.tracker-facts li{display:grid;grid-template-columns:1.5rem minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.35rem 0;border-top:1px solid var(--bs-border-color);font-size:var(--fs-meta,.9rem)}
.tracker-facts li:first-child{border-top:0}
.tracker-facts i{color:var(--bs-secondary-color)}
.budget-rows,.task-board{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.budget-row__head{display:flex;justify-content:space-between;gap:.5rem;font-size:var(--fs-meta,.88rem)}
.budget-row__head a{font-weight:600;color:var(--bs-body-color);text-decoration:none}
.budget-rows>li.lc-row-link{padding-block:.3rem}
.budget-rows .progress{margin:.3rem 0}
.budget-rows .progress.is-alert span{background:#ffc107}
.budget-rows small{color:var(--bs-secondary-color)}
.task-board li{display:flex;justify-content:space-between;gap:.6rem;padding:.4rem 0;border-top:1px solid var(--bs-border-color)}
.task-board li:first-child{border-top:0}
.task-board a{color:var(--bs-body-color);font-weight:600;text-decoration:none}
.task-board small{display:block;color:var(--bs-secondary-color)}
.task-board li>span{display:grid;justify-items:end;gap:.15rem}
.task-board li.is-overdue small:last-child{color:var(--link);font-weight:700}
.task-board li.empty{display:block;padding:1rem 1.25rem;border-top:1px dashed var(--bs-border-color)}
@media (max-width:1199px){.tracker-grid{grid-template-columns:1fr}}
@media (max-width:575px){.pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}}
.kpi strong span{font-size:var(--fs-number,inherit);color:inherit}
.kpi-row{grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr))}
@media (min-width:1100px){.kpi-row{grid-template-columns:repeat(6,minmax(0,1fr))}.kpi{padding:.75rem .85rem;gap:.65rem}}
/* Bulk photo upload and behind the scenes (1.27) */
.bulk-progress{display:grid;gap:.3rem;margin:.5rem 0 0;padding:0;list-style:none;font-size:.82rem}
.bulk-progress:empty{display:none}
.bulk-progress li{display:flex;justify-content:space-between;gap:.75rem;padding:.35rem .6rem;border:1px solid var(--line);border-radius:.45rem;background:var(--tint)}
.bulk-progress__name{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}
.bulk-progress__state{flex:0 0 auto;color:var(--muted)}
.bulk-progress [data-state=busy] .bulk-progress__state{color:var(--warning)}
.bulk-progress [data-state=done]{color:var(--success)}.bulk-progress [data-state=done] .bulk-progress__state{color:var(--success);font-weight:700}
.bulk-progress [data-state=error]{border-color:var(--brand-red)}.bulk-progress [data-state=error] .bulk-progress__state{color:var(--link);font-weight:700}
.form-photos__item.is-new{position:relative}
.form-photos__item.is-new img{outline:2px solid var(--brand-red);outline-offset:1px}
.form-photos__undo{padding:.1rem .4rem;border:1px solid var(--line);border-radius:.35rem;background:var(--surface);color:var(--text);font-size:.75rem}
.bulk-drop{display:grid;place-items:center;min-height:8rem;padding:1rem;border:2px dashed var(--line);border-radius:var(--radius);background:var(--tint);color:var(--muted);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.bulk-drop:hover,.bulk-drop.is-over,.bulk-drop:focus-within{border-color:var(--brand-red);background:var(--tint-red);color:var(--link)}
.bulk-drop input{position:absolute;width:1px;height:1px;opacity:0}
.bulk-drop i{margin-right:.35rem;font-size:1.2rem}
/* Behind the scenes: "Tampil di website" and the uploader share a row as two equal-height cards (one card takes the
   row alone); each fills its height, the counts sit at the foot and the drop zone grows, so no gap opens below either. */
.bts-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1rem;align-items:stretch;margin-bottom:1rem}
.bts-top>.card{display:flex;flex-direction:column;margin:0}
.bts-top>.card>form{display:flex;flex:1;flex-direction:column}
.bts-top .bulk-drop{flex:1}
.bts-camera:focus-within{outline:2px solid var(--brand-red);outline-offset:3px}
[data-bts-uploader] .bulk-progress li[data-state=error]{display:grid;grid-template-columns:minmax(0,1fr)}
[data-bts-uploader] .bulk-progress__state,[data-bts-uploader] [data-bts-retry]{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.bts-top .bts-counts{margin-top:auto;padding-top:.6rem}
.bts-counts{margin:.6rem 0 0;color:var(--muted);font-size:.85rem}
.bts-top .bts-counts{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
/* Official flyer & trailer (ProjectOfficial), on Behind the scenes and in the public page's project editor. */
.official-fields{display:grid;gap:.85rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid var(--line)}
.official-field{display:grid;gap:.35rem}
.official-field>label{font-weight:700}
.official-field small{color:var(--muted);font-size:.8rem}
.official-field input:not([type=checkbox]){width:100%}
.official-flyer{display:flex;align-items:center;gap:.85rem}
.official-flyer img{width:72px;max-height:108px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#131418}
/* Final videos (ProjectVideos) on the project's Deliverables page. */
.final-video__list{display:grid;gap:.6rem;margin:0 0 .75rem;padding:0;list-style:none}
.final-video__item{display:flex;align-items:center;gap:.85rem;padding:.55rem;border:1px solid var(--line);border-radius:12px}
.final-video__thumb{flex:none;display:grid;place-items:center;width:120px;aspect-ratio:16/9;border-radius:8px;background:#131418;color:#fff;font-size:1.5rem;object-fit:cover}
.final-video__meta{display:grid;flex:1;gap:.25rem;min-width:0}
.final-video__meta input{width:100%;font-weight:700}
.final-video__meta small{color:var(--muted);font-size:.8rem}
.final-video__actions{display:flex;gap:.25rem}
.final-video__save{display:flex;justify-content:flex-end;margin-bottom:1rem}
.final-video__forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}
.final-video__forms form{display:grid;align-content:start;gap:.45rem;padding:.85rem;border:1px solid var(--line);border-radius:12px}
.final-video__forms label{font-weight:700}
.final-video__forms small{color:var(--muted);font-size:.8rem}
.final-video__forms input:not([type=file]){width:100%}
.final-video__row{display:flex;gap:.5rem}
.final-video__row input{flex:1;min-width:0}
.final-video__progress{display:grid;gap:.3rem}
.final-video__progress progress{width:100%;height:.6rem;accent-color:var(--brand,#a20404)}
.final-video__progress span{font-size:.85rem}
.final-video__progress.is-error span{color:var(--danger,#b42318)}
.final-video__full{margin:0;color:var(--muted)}
@media (max-width:575.98px){.final-video__item{flex-wrap:wrap}.final-video__thumb{width:96px}.final-video__actions{width:100%;justify-content:flex-end}}
.bts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:1rem}
.bts-item{display:grid;gap:.45rem;margin:0;padding:.5rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.bts-item.is-public{border-color:var(--brand-red)}
.bts-item__image{position:relative;display:block;overflow:hidden;border-radius:.55rem;border:1px solid transparent;transition:border-color .15s,box-shadow .15s}
.bts-item__image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.bts-item__image:hover,.bts-item__image:focus-visible{border-color:var(--ws-accent-text,#a20404);box-shadow:0 0 0 1px var(--ws-accent-text,#a20404)}
.bts-item__cover{position:absolute;top:.45rem;left:.45rem;padding:.12rem .5rem;border-radius:999px;background:var(--brand-red);color:#fff;font-size:var(--fs-micro,.72rem);font-weight:700}
.bts-item figcaption{display:grid;gap:.4rem;font-size:.85rem}
.bts-item__flags{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;font-size:.82rem}
.bts-item__flags label{display:inline-flex;align-items:center;gap:.3rem;margin:0}
.admin-page-workspace .bts-item__flags input{width:auto;min-height:auto;accent-color:var(--brand-red)}
.bts-item__delete{margin-left:auto;padding:.2rem .45rem;border:1px solid var(--line);border-radius:.4rem;background:transparent;color:var(--muted)}
.bts-item__delete:hover{border-color:var(--brand-red);color:var(--link)}
.trivia-level{display:inline-grid;place-items:center;width:2.1rem;height:2.1rem;border:1px solid #5b6573;border-radius:50%;color:#5b6573;font-size:var(--fs-micro,.8rem);font-weight:800}
.trivia-level[data-level=medium]{border-color:#d18b24;color:#b36c06}.trivia-level[data-level=hard]{border-color:var(--brand-red);color:var(--link)}
[data-bs-theme=dark] .trivia-level[data-level=easy]{border-color:#aab4c0;color:#aab4c0}[data-bs-theme=dark] .trivia-level[data-level=medium]{border-color:#f3c969;color:#f3c969}
/* Sign-in security (1.28): keep me signed in, forgot password, two-step verification */
.login-options{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.login-options .form-check-input{margin-top:.3rem}
.login-options small{font-size:.76rem;line-height:1.35}
.login-forgot{flex:0 0 auto;padding-top:.1rem;font-size:.9rem;font-weight:600}
.otp-input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--fs-lead,1.35rem);letter-spacing:.3em;text-align:center}
.otp-input::placeholder{letter-spacing:.2em;opacity:.45}
/* Profil: Ganti password and Keamanan akun side by side on wide screens, stacked below 1200px. */
.profile-security-pair{display:grid;gap:1.5rem;margin-top:1.5rem;align-items:start}
.profile-security-pair>.card{margin-top:0!important;height:100%}
@media (min-width:1200px){.profile-security-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}
.security-rows{display:grid;gap:0}
.security-row{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1rem 0;border-top:1px solid var(--line)}
.security-row:first-child{padding-top:0;border-top:0}.security-row:last-child{padding-bottom:0}
.security-row h3{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .3rem;font-size:1rem;font-weight:700}
.security-row p{margin:0;color:var(--muted);font-size:var(--fs-meta,.9rem)}
.security-row>form,.security-row>a{flex:0 0 auto}
.security-state{display:inline-flex;align-items:center;padding:.1rem .55rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:var(--fs-micro,.74rem);font-weight:700}
.security-state.is-on{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
[data-bs-theme=dark] .security-state.is-on{border-color:#ced4da;background:#ced4da;color:#15181d}
.twofa-steps{display:grid;gap:1.5rem;margin:0;padding:0;list-style:none;counter-reset:step}
.twofa-steps>li{position:relative;min-width:0;padding-left:3rem;counter-increment:step}
.twofa-steps>li::before{content:counter(step);position:absolute;top:0;left:0;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--brand-red);color:#fff;font-weight:800}
.twofa-steps h2,.twofa-manage h2,.twofa-codes h2{margin:.2rem 0 .35rem;font-size:var(--fs-heading,1.05rem);font-weight:700}
.twofa-steps p,.twofa-manage p{color:var(--muted)}
.twofa-stores{display:flex;flex-wrap:wrap;gap:1rem;font-weight:600}
.twofa-qr{display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem}
.twofa-qr img{width:220px;max-width:100%;height:auto;aspect-ratio:1;padding:10px;border:1px solid var(--line);border-radius:.8rem;background:#fff}
.twofa-key{display:grid;grid-template-columns:auto 1fr;gap:.25rem .9rem;margin:0}
.twofa-key dt{color:var(--muted);font-size:var(--fs-micro,.8rem);font-weight:600}
.twofa-key dd{margin:0;font-weight:600}
.twofa-key code{font-size:var(--fs-body,.95rem);letter-spacing:.06em;color:var(--text);word-break:break-all}
.twofa-confirm{max-width:26rem}
.twofa-status{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.twofa-codes{margin:0 0 1.5rem;padding:1.1rem 1.25rem;border:1px solid var(--brand-red);border-radius:var(--radius);background:var(--tint-red)}
.twofa-codes ol{display:grid;grid-template-columns:repeat(2,minmax(0,12rem));gap:.35rem 1.5rem;margin:.75rem 0;padding-left:1.4rem}
.twofa-codes code{font-size:1rem;letter-spacing:.08em;color:var(--text)}
.twofa-codes__actions{display:flex;gap:.5rem}
.twofa-manage{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.5rem}
.twofa-manage form{padding:1rem 1.1rem;border:1px solid var(--line);border-radius:var(--radius)}
@media (max-width:575px){.security-row{flex-direction:column;align-items:stretch}.login-options{flex-direction:column;gap:.5rem}.twofa-codes ol{grid-template-columns:1fr}}
/* Crew & cast availability on the project Jadwal tab (1.28) */
.availability-events{margin-bottom:.75rem}
.availability-when{margin:.25rem 0 .75rem;color:var(--muted);font-size:.9rem}.availability-when i{color:var(--brand-red)}
.availability-summary{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem;padding:0;list-style:none}
.availability-summary li{padding:.3rem .7rem;border:1px solid var(--line);border-radius:999px;font-size:.82rem;color:var(--muted)}
.availability-summary strong{color:var(--text)}
.availability-list{display:grid;gap:0;margin:0;padding:0;list-style:none}
.availability-row{display:grid;grid-template-columns:minmax(10rem,1fr) minmax(10rem,1.2fr) auto;align-items:start;gap:.5rem 1rem;padding:.75rem 0;border-top:1px solid var(--line)}
.availability-row:first-child{border-top:0}
.availability-row__who,.availability-row__answer{display:grid;gap:.15rem;min-width:0}
.availability-row__who small,.availability-row__answer small{color:var(--muted);font-size:.8rem}
.availability-pill{justify-self:start;padding:.12rem .6rem;border:1px solid var(--line);border-radius:999px;font-size:.78rem;font-weight:700;color:var(--muted)}
[data-answer=confirmed] .availability-pill,.availability-summary [data-answer=confirmed]{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
[data-answer=confirmed] .availability-pill{color:#fff}.availability-summary [data-answer=confirmed] strong{color:#fff}
[data-answer=tentative] .availability-pill,.availability-summary [data-answer=tentative]{border-color:#d18b24;color:var(--warning)}
[data-answer=unavailable] .availability-pill,.availability-summary [data-answer=unavailable]{border-color:var(--brand-red);background:var(--tint-red);color:var(--link)}
[data-bs-theme=dark] [data-answer=confirmed] .availability-pill,[data-bs-theme=dark] .availability-summary [data-answer=confirmed]{border-color:#ced4da;background:#ced4da;color:#15181d}
[data-bs-theme=dark] .availability-summary [data-answer=confirmed] strong{color:#15181d}
.availability-edit summary{cursor:pointer;color:var(--link);font-weight:700;font-size:.88rem;list-style:none}
.availability-edit summary::-webkit-details-marker{display:none}
.availability-edit[open]{grid-column:1/-1}
.availability-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem 1rem;margin-top:.6rem;padding:.8rem;border:1px solid var(--line);border-radius:.7rem;background:var(--tint)}
.availability-form .full{grid-column:1/-1}.availability-form .button{justify-self:start}
@media (max-width:767px){.availability-row{grid-template-columns:1fr}.availability-form{grid-template-columns:1fr}}
.username-status:empty{display:none}
.username-status[data-state=free]{color:var(--success);font-weight:700}
.username-status[data-state=free]::before{content:"\2713  "}
.username-status[data-state=taken]{color:var(--link);font-weight:700}
.username-status[data-state=busy]{color:var(--muted)}
/* Directing tab: director's treatment card (1.28) */
.record-card--text{grid-template-columns:1fr}
.record-card--text .record-card__body p{margin:0 0 .6rem;line-height:1.65}
.record-subhead{margin:.9rem 0 .35rem;color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.record-chip{display:inline-flex;padding:.1rem .5rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.75rem;font-weight:700}
.record-meta{margin:.75rem 0 0;color:var(--muted);font-size:.82rem}
/* Home dashboard: stacked sections instead of tabs (1.28) */
.dashboard-section{margin-top:1.25rem}
.dashboard-section__title{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;font-size:1.1rem;font-weight:800}
.dashboard-section__title i{color:var(--brand-red)}
.dashboard-section .dashboard-section-head{justify-content:flex-end;margin-top:-2.6rem;margin-bottom:1rem}
.trivia-pager{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1rem;color:var(--muted);font-size:var(--fs-meta,.9rem)}
/* Event announcements (1.29): event list, attendance and the Beranda announcement cards */
.org-events{display:grid;gap:.75rem}
.org-event{display:grid;grid-template-columns:4.2rem auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.85rem 1rem;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg)}
.org-event.is-past{opacity:.92}
.org-event__date{display:grid;place-items:center;padding:.4rem;border-radius:.8rem;background:var(--tint-red);color:var(--link);text-align:center;line-height:1.1}
.org-event__date strong{font-size:1.5rem;font-weight:800}.org-event__date span{font-size:.72rem;font-weight:700;text-transform:uppercase}
.org-event__flyer{width:4.5rem;height:4.5rem;border-radius:.6rem;object-fit:cover}
.org-event__body{min-width:0}
.org-event__body header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.org-event__body h3{margin:0;font-size:1.02rem;font-weight:700}.org-event__body h3 a{color:inherit;text-decoration:none}.org-event__body h3 a:hover{color:var(--link)}
.org-event__sub{margin:.2rem 0 0;font-weight:600;font-size:.88rem}
.org-event__meta{display:flex;flex-wrap:wrap;gap:.35rem .6rem;margin:.3rem 0 0;color:var(--muted);font-size:.82rem}
.org-event__meta i{color:var(--brand-red)}
.org-event__actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}
.org-event__actions form{margin:0}
.org-event-summary__grid{display:grid;grid-template-columns:minmax(0,16rem) minmax(0,1fr);gap:1.25rem;align-items:start}
.org-event-summary__grid:not(:has(img)){grid-template-columns:1fr}
.org-event-summary__grid img{width:100%;border-radius:.8rem;object-fit:cover}
.org-att__add{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem;margin-bottom:1rem}
.org-att__form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem;padding:.8rem;border:1px solid var(--line);border-radius:.8rem;background:var(--tint)}
.org-att__form .field{flex:1 1 9rem;margin:0}
.org-att__who strong{display:block}.org-att__who small{color:var(--muted)}
.org-att td{vertical-align:middle}
.admin-page-workspace .org-att select,.admin-page-workspace .org-att input{min-height:auto;padding:.3rem .5rem;font-size:.88rem}
.org-att__actions{display:flex;gap:.35rem;white-space:nowrap}.org-att__actions form{margin:0}
.org-announce-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr));gap:.8rem}
.org-announce{display:grid;grid-template-columns:4rem minmax(0,1fr);gap:.8rem;align-items:center;padding:.75rem;border:1px solid var(--line);border-radius:.9rem;color:inherit;text-decoration:none}
a.org-announce:hover{border-color:var(--brand-red)}
.org-announce img,.org-announce__icon{width:4rem;height:4rem;border-radius:.6rem;object-fit:cover}
.org-announce__icon{display:grid;place-items:center;background:var(--tint-red);color:var(--link);font-size:1.4rem}
.org-announce div{display:grid;gap:.15rem;min-width:0}
.org-announce__kind{color:var(--link);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.org-announce small{color:var(--muted);font-size:.8rem}
@media (max-width:767px){.org-event{grid-template-columns:3.6rem minmax(0,1fr)}.org-event__flyer{display:none}.org-event__actions{grid-column:1/-1;justify-content:flex-start}.org-event-summary__grid{grid-template-columns:1fr}}
/* System connections card for the developer operator (1.31, PEF system-health-card). No green: operational = charcoal/steel. */
.system-health-card{margin-bottom:1.25rem;padding:1.25rem 1.35rem;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg)}
.system-health-card>header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.system-health-card h2{margin:0 0 .25rem;font-size:1.2rem;font-weight:800}
.system-health-card header p{margin:0;color:var(--muted);font-size:.9rem}
.system-health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.9rem}
.system-health-item{display:grid;align-content:start;gap:.35rem;padding:1rem;border:1px solid var(--bs-border-color);border-left:4px solid #2b3036;border-radius:.8rem}
.system-health-item.state-paused,.system-health-item.state-warning{border-left-color:#d18b24}
.system-health-item.state-error{border-left-color:var(--brand-red);background:var(--tint-red)}
.system-health-item__status{display:flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.system-health-item.state-ok .system-health-item__status i{color:var(--success)}
.system-health-item.state-paused .system-health-item__status i,.system-health-item.state-warning .system-health-item__status i{color:var(--warning)}
.system-health-item.state-error .system-health-item__status{color:var(--link)}
.system-health-item h3{display:flex;align-items:center;gap:.5rem;margin:.2rem 0 0;font-size:1rem;font-weight:800}
.system-health-item h3 i{color:var(--brand-red)}
.system-health-item strong{font-size:.95rem}
.system-health-item p{margin:0;color:var(--muted);font-size:.85rem}
.system-health-item__actions{margin-top:.4rem;padding-top:.6rem;border-top:1px dashed var(--bs-border-color);font-size:.85rem}
.system-health-item__actions ol{margin:.35rem 0 .4rem;padding-left:1.2rem}
.system-health-item__actions a{font-weight:700}
/* Log audit and Backup & restore (1.31) */
.audit-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem;margin:0 0 .75rem;padding:.8rem;border:1px solid var(--bs-border-color);border-radius:.8rem;background:var(--tint)}
.audit-filters .field{flex:1 1 11rem;margin:0}
.audit-exports{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.6rem;color:var(--muted);font-size:.85rem}
.audit-table td{vertical-align:middle;font-size:.88rem}
.audit-table code{font-size:.82rem}
.audit-log{display:inline-block;padding:.1rem .5rem;border:1px solid var(--bs-border-color);border-radius:999px;font-size:.74rem;font-weight:700;color:var(--muted)}
.audit-log--security{border-color:var(--brand-red);color:var(--link)}
.audit-log--database,.audit-log--system{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
.audit-log--mail{border-color:#d18b24;color:var(--warning)}
.audit-dialog{width:min(44rem,calc(94vw / var(--lc-zoom, 1)));max-height:calc(86vh / var(--lc-zoom, 1));padding:0;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg);color:var(--bs-body-color)}
.audit-dialog::backdrop{background:var(--ws-n-0a0c0f-55,rgb(10 12 15 / 55%))}
.audit-dialog header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--bs-border-color)}
.audit-dialog h2{margin:0;font-size:1.05rem;font-family:ui-monospace,Consolas,monospace}
.audit-dialog dl{display:grid;gap:.15rem;margin:0;padding:1rem 1.2rem}
.audit-dialog dl div{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:.8rem;padding:.25rem 0;border-bottom:1px dashed var(--bs-border-color)}
.audit-dialog dt{color:var(--muted);font-weight:700;font-size:.85rem}.audit-dialog dd{margin:0;overflow-wrap:anywhere;font-size:.88rem}
.audit-dialog h3{margin:0;padding:0 1.2rem;font-size:.85rem;color:var(--muted)}
.audit-dialog pre{margin:.5rem 1.2rem 1.2rem;padding:.8rem;border-radius:.6rem;background:var(--tint);font-size:.78rem;white-space:pre-wrap;overflow-wrap:anywhere}
.backup-grid{align-items:start}
.backup-facts{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;padding:0;list-style:none}
.backup-facts li{padding:.2rem .6rem;border:1px solid var(--bs-border-color);border-radius:999px;font-size:.82rem}
.backup-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;margin:0 0 1rem}
.backup-summary dt{color:var(--muted);font-size:.8rem;font-weight:700}.backup-summary dd{margin:0;font-weight:700}
/* Profile picture (1.31, PEF My profile) */
.avatar-card__layout{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.5rem}
.avatar-card__controls{flex:1 1 18rem;min-width:0}
.account-avatar{display:inline-grid;flex:0 0 auto;place-items:center;width:8rem;height:8rem;border-radius:16px;object-fit:cover;background:var(--brand-red);color:#fff;font-size:3rem;font-weight:800}
img.admin-navbar-avatar{object-fit:cover}
/* Profile picture inside the Profile card, above name and username (1.31) */
.profile-avatar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.25rem;margin:0 0 1.25rem;padding:0 0 1.25rem;border-bottom:1px solid var(--line)}
.profile-avatar__controls{flex:1 1 18rem;min-width:0}
.profile-avatar__title{margin:.25rem 0 .6rem;font-size:1rem;font-weight:800}
.profile-avatar__picker{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:.35rem}
.profile-avatar__picker .form-control{flex:1 1 14rem;width:auto}
.admin-page-workspace .profile-avatar__picker input[type=file]{display:block}
@media (max-width:575px){.profile-avatar{flex-direction:column;align-items:center;text-align:center}.profile-avatar__picker{justify-content:center}}
.profile-age output{display:flex;align-items:center;min-height:calc(1.5em + .9rem + 2px);padding:.45rem .75rem;border:1px dashed var(--bs-border-color);border-radius:.5rem;color:var(--bs-body-color);font-weight:700}
/* 1.32 QR attendance for organisation events, and the downloadable QR card (PNG/JPG) */
.org-event-qr__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin-bottom:.5rem}
.qr-export{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.qr-export>span{font-size:.9rem;color:var(--bs-secondary-color)}
.qr-export select{width:auto;min-width:10rem}
.qr-export-block{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--bs-border-color)}
.qr-export-block h3{font-size:1rem;margin:0 0 .6rem}
.qr-export-live{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;margin-top:.75rem;border-left:3px solid var(--brand-red,#a20404)}
.org-event-qr .attendance-qr-display{margin-top:1rem;box-shadow:none;border:1px solid var(--bs-border-color)}
/* 1.32 dialogs opened from a button, and script access requests on the script page */
.app-dialog{width:min(34rem,calc(calc(100vw / var(--lc-zoom, 1)) - 32px));max-height:calc(88vh / var(--lc-zoom, 1));padding:0;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg);color:var(--bs-body-color)}
.app-dialog{max-height:calc(88dvh / var(--lc-zoom, 1))}
.app-dialog::backdrop{background:var(--ws-n-0a0c0f-55,rgb(10 12 15 / 55%))}
.app-dialog header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--bs-border-color)}
.app-dialog h2{margin:0;font-size:1.05rem}
.app-dialog form{padding:1rem 1.2rem 1.2rem}
.script-access-pending{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.script-requests h2{display:flex;align-items:center;gap:.5rem;font-size:1.1rem}
.script-request-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.script-request{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.75rem 0 0;border-top:1px solid var(--bs-border-color)}
.script-request p{margin:.25rem 0 0;color:var(--muted);overflow-wrap:anywhere}
/* 1.32 No horizontal scrollbars: tables stack into labelled rows when their container is narrow (labels copied from
   the header by app.js), tab strips wrap instead of scrolling, and the stepper shrinks on phones. */
.table-wrap,.table-responsive{container-type:inline-size}
@container (max-width: 36rem){
  table.is-stackable,table.is-stackable tbody,table.is-stackable tr,table.is-stackable td{display:block;width:100%}
  table.is-stackable{min-width:0!important}
  table.is-stackable thead{display:none}
  table.is-stackable tr{padding:.55rem .85rem;border-bottom:1px solid var(--bs-border-color)}
  table.is-stackable tbody tr:last-child{border-bottom:0}
  /* The column name sits above the value and the value flows as usual, so badges stay capsules. */
  table.is-stackable td{padding:.3rem 0!important;border:0!important;background:transparent!important;overflow-wrap:anywhere}
  table.is-stackable td::before{content:attr(data-label);display:block;margin-bottom:.1rem;color:var(--bs-secondary-color);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
  table.is-stackable td .badge{width:auto;max-width:100%}
  table.is-stackable td:not([data-label])::before,table.is-stackable td[data-label=""]::before{display:none}
  table.is-stackable td :is(input,select,textarea){max-width:100%}
}
/* A table slightly too wide for its container lets its text wrap (app.js adds is-tight); badges and pills keep their shape. */
table.is-tight :is(th,td),table.is-tight :is(th,td) :not(.badge,.people-kind,.people-booked-chip,.status-badge,.price-pill,i,svg,img){white-space:normal!important;min-width:0!important}
table.is-tight :is(th,td){overflow-wrap:break-word;word-break:normal}
/* A table that still does not fit stacks into labelled rows at any width (is-stacked); on a wide container each row is a
   compact card whose fields flow in columns, on a narrow one they run one under another. */
table.is-stacked,table.is-stacked tbody,table.is-stacked tr,table.is-stacked td{display:block;width:100%}
table.is-stacked{min-width:0!important}
table.is-stacked thead{display:none}
table.is-stacked tr{padding:.55rem .85rem;border-bottom:1px solid var(--bs-border-color)}
table.is-stacked tbody tr:last-child{border-bottom:0}
table.is-stacked td{padding:.3rem 0!important;border:0!important;background:transparent!important;overflow-wrap:anywhere}
table.is-stacked td::before{content:attr(data-label);display:block;margin-bottom:.1rem;color:var(--bs-secondary-color);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
table.is-stacked td .badge{width:auto;max-width:100%}
table.is-stacked td:not([data-label])::before,table.is-stacked td[data-label=""]::before{display:none}
table.is-stacked td :is(input,select,textarea){max-width:100%}
table.is-stacked tr.is-picked,table.is-stacked tr:hover{box-shadow:inset 3px 0 0 var(--danger,#a20404)}
/* A stacked row hovers as one card: the shade and the red bar sit on the row itself, never on its separate cells (their
   gaps would show as dark bands between shaded patches, and the bar would hang on the first cell only). */
table.is-stacked>tbody>tr:is(:hover,[data-dialog-open]:focus-visible)>*{box-shadow:none!important}
table.is-stacked>tbody>tr:is(:hover,[data-dialog-open]:focus-visible){background:var(--tint-red);box-shadow:inset 3px 0 0 var(--danger,#a20404)}
@media(max-width:575.98px){
  .stepper{gap:6px}
  .stepper li{min-width:auto;padding-top:30px;font-size:var(--fs-micro,.68rem)}
  .tabs a,.tabs button{padding:.55rem .7rem}
}
/* 1.32 The dock's language button matches its neighbours: same icon-sized weight, a small flag and a quiet code. */
.admin-dock-control.admin-language-toggle{gap:.3rem;font-size:.8rem}
.admin-dock-control .admin-language-code{font-weight:700;font-size:var(--fs-micro,.72rem);line-height:1;letter-spacing:.06em;color:inherit}
/* 1.32 Access requests inbox (Utama) */
.admin-nav-count{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;margin-left:auto;padding:0 .35rem;border-radius:999px;background:var(--brand-red,#a20404);color:#fff;font-size:.7rem;font-weight:800;line-height:1}
.app-sidebar .nav-link p:has(.admin-nav-count){display:flex;align-items:center;gap:.4rem;width:100%}
.inbox-toolbar{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:0 0 .75rem;padding:.6rem .8rem;border:1px solid var(--bs-border-color);border-radius:.8rem;background:var(--bs-tertiary-bg)}
.inbox-toolbar__all{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;cursor:pointer}
.inbox-toolbar__count{color:var(--bs-secondary-color);font-size:.88rem}
.inbox-toolbar__actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-left:auto}
.inbox-list,.inbox-sent__list{list-style:none;margin:0;padding:0}
.inbox-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:start;padding:.8rem .6rem;border-bottom:1px solid var(--bs-border-color);border-left:3px solid transparent;border-radius:.4rem}
.inbox-item:last-child{border-bottom:0}
.inbox-item.is-selected{background:var(--tint-red,rgb(162 4 4 / 6%));border-left-color:var(--brand-red,#a20404)}
.inbox-item>input{margin-top:.3rem}
.inbox-item__body{display:block;cursor:pointer;line-height:1.5}
.inbox-item__kind{display:inline-block;margin-right:.45rem;padding:.1rem .45rem;border-radius:.35rem;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;vertical-align:.1em}
.inbox-item__kind--script{background:rgb(162 4 4 / 10%);color:var(--brand-red,#a20404)}
.inbox-item__ask{color:var(--bs-secondary-color)}
.inbox-item__reason{display:block;margin-top:.2rem;overflow-wrap:anywhere}
.inbox-item__meta{display:block;margin-top:.15rem;color:var(--bs-secondary-color);font-size:.8rem}
.inbox-item__actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}
.inbox-sent__list li{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.55rem 0;border-bottom:1px solid var(--bs-border-color)}
.inbox-sent__list li:last-child{border-bottom:0}
.inbox-sent__list small{margin-left:auto;color:var(--bs-secondary-color)}
.inbox-sent{margin-top:1rem}
@media(max-width:575.98px){.inbox-item{grid-template-columns:auto minmax(0,1fr)}.inbox-item__actions{grid-column:2;justify-content:flex-start}.inbox-toolbar__actions{margin-left:0;width:100%}.inbox-toolbar__actions .button{flex:1 1 auto}}
/* 1.32 List controls: search, filters and sort as one seamless bar; a quiet summary line; a centred pager. */
.list-controls{margin:0 0 1rem}
.list-controls__bar{display:flex;flex-wrap:wrap;align-items:stretch;border:1px solid var(--bs-border-color);border-radius:.9rem;background:var(--bs-body-bg);overflow:hidden}
.list-controls__bar:focus-within{border-color:rgb(162 4 4 / 45%);box-shadow:0 0 0 .2rem rgb(162 4 4 / 10%)}
.list-controls__search{display:flex;flex:1 1 16rem;align-items:center;gap:.55rem;min-width:0;margin:0;padding:0 .9rem;color:var(--bs-secondary-color)}
.list-controls__search input{flex:1;min-width:0;height:2.9rem;padding:0;border:0;background:transparent;color:var(--bs-body-color);outline:0;box-shadow:none}
/* While a list updates in place, what is being replaced dims a little; the toolbar stays as it is. */
.is-refreshing>:not([data-list-controls]){opacity:.55;transition:opacity .15s}
.list-controls__field{position:relative;display:flex;flex:0 1 auto;flex-direction:column;justify-content:center;min-width:9.5rem;margin:0;padding:.35rem 2rem .35rem .9rem;border-left:1px solid var(--bs-border-color);cursor:pointer}
.list-controls__field:hover{background:var(--bs-tertiary-bg)}
.list-controls__label{display:flex;align-items:center;gap:.35rem;color:var(--bs-secondary-color);font-size:var(--fs-micro,.66rem);font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.list-controls__field select{width:100%;padding:0;border:0;background:transparent;color:var(--bs-body-color);font-weight:600;font-size:var(--fs-meta,.9rem);appearance:none;cursor:pointer;outline:0;box-shadow:none}
.list-controls__field::after{position:absolute;right:.85rem;top:50%;width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;color:var(--bs-secondary-color);transform:translateY(-35%) rotate(45deg);content:"";pointer-events:none}
.list-controls__field.is-on{box-shadow:inset 0 -3px 0 var(--brand-red,#a20404)}
.list-controls__field.is-on .list-controls__label{color:var(--brand-red,#a20404)}
.list-controls__sort{margin-left:auto}
.list-controls__apply{margin:.45rem .5rem .45rem .25rem;align-self:center}
.list-controls.js .list-controls__apply{display:none}
.list-controls__summary{margin:.45rem .2rem 0;color:var(--bs-secondary-color);font-size:var(--fs-meta,.84rem)}
.list-controls__summary a{font-weight:600}
.list-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.35rem;margin:1.1rem 0 .2rem}
.list-pager__pages{display:flex;flex-wrap:wrap;gap:.25rem}
.list-pager__page,.list-pager__step{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:2.3rem;height:2.3rem;padding:0 .7rem;border:1px solid var(--bs-border-color);border-radius:.65rem;color:var(--bs-body-color);font-weight:600;font-size:var(--fs-meta,.9rem);text-decoration:none}
.list-pager a:hover,.list-pager button:hover{border-color:rgb(162 4 4 / 45%);color:var(--danger,#a20404)}
.list-pager__page.is-current{border-color:var(--brand-red,#a20404);background:var(--brand-red,#a20404);color:#fff}
.list-pager__step.is-off{opacity:.4}
.list-pager__gap{display:inline-grid;place-items:center;min-width:1.4rem;color:var(--bs-secondary-color)}
/* 1.38 The pager bar: page links (first, previous, numbers, next, last) with the page-size selector beside them. */
.list-pager-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin:1.1rem 0 .2rem}
.list-pager-bar .list-pager{margin:0;justify-content:flex-start;flex:1 1 auto}
.list-pager__size{display:flex;align-items:center;gap:.5rem;margin:0 0 0 auto;color:var(--bs-secondary-color);font-size:var(--fs-meta,.84rem)}
.list-pager__size label{margin:0;white-space:nowrap}
.list-pager__size select{height:2.3rem;min-width:5.2rem;padding:0 2.25rem 0 .8rem;border:1px solid var(--bs-border-color);border-radius:.65rem;background-color:transparent;color:var(--bs-body-color);font:inherit;font-weight:600}
@media(max-width:575.98px){.list-pager-bar{justify-content:center}.list-pager-bar .list-pager{justify-content:center}.list-pager__size{margin:0 auto}}
/* A toolbar in a narrow container (a card column, a phone): the search takes its own row and the filters share the rows
   below in equal cells that fill each row, every cell drawing its own top and left hairline, so no field ever sits inside
   the search box's area or leaves a gap. The outer edges are clipped by the bar's rounded border. */
.list-controls{container-type:inline-size}
@container (max-width: 62rem){
  .list-controls__search{flex-basis:100%}
  .list-controls__field{flex:1 1 10rem;min-width:0;border-left:0;box-shadow:-1px -1px 0 var(--bs-border-color)}
  .list-controls__field.is-on{box-shadow:-1px -1px 0 var(--bs-border-color),inset 0 -3px 0 var(--brand-red,#a20404)}
  .list-controls__range{flex-basis:16rem}
  .list-controls__sort{margin-left:0}
}
@media(max-width:767.98px){
  .list-pager__step span{display:none}
}
/* 1.32 Button text stays readable on hover, focus and press, whatever link rule surrounds it; icons follow the text colour. */
:is(a,button).button:is(:hover,:focus-visible,:active),:is(a,button).button-secondary:is(:hover,:focus-visible,:active),:is(a,button).button-danger:is(:hover,:focus-visible,:active),
a.btn:is(.btn-primary,.btn-danger,.btn-dark,.btn-secondary,.btn-outline-primary,.btn-outline-secondary,.btn-outline-danger,.btn-outline-dark):is(:hover,:focus-visible,:active){color:#fff!important;text-decoration:none}
:is(.button,.btn):is(:hover,:focus-visible,:active) :is(i,svg){color:inherit}
.module-actions .button-danger:is(:hover,:focus-visible){color:#fff!important}
/* 1.32 PEF "Download catalog" button and its preparing overlay (PEF service-gallery.css / site-theme.css). */
.catalog-download{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;box-sizing:border-box;padding:8px 18px;border:1px solid #d5d5d5;border-radius:14px;color:#232323;background:#fff;font-size:var(--fs-body,15px);font-weight:700;line-height:1.2;text-decoration:none}
.catalog-download>i{color:var(--brand-red,#a20404);font-size:20px}
.catalog-download span{display:grid;gap:2px;text-align:left}
.catalog-download small{color:#69707a;font-size:12px;font-weight:500}
.catalog-download:hover,.catalog-download:focus-visible{border-color:var(--brand-red,#a20404);color:var(--brand-red,#a20404)}
[data-bs-theme=dark] .catalog-download{background:var(--ws-n-20252c,#20252c);border-color:#424953;color:#f1f3f5}
[data-bs-theme=dark] .catalog-download small{color:#c7c7c7}
[data-bs-theme=dark] .catalog-download:hover{border-color:var(--brand-red-on-dark,#ff7378);color:var(--brand-red-on-dark,#ff7378)}
.catalog-download-status{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:24px;background:rgb(0 0 0 / .46);backdrop-filter:blur(4px)}
.catalog-download-status[hidden]{display:none}
.catalog-download-status__card{display:grid;justify-items:center;gap:12px;max-width:360px;padding:30px;border:1px solid rgb(255 255 255 / .22);border-radius:22px;background:var(--ws-bg-sidebar,#181b21);color:#fff;text-align:center;box-shadow:0 24px 70px rgb(0 0 0 / .34)}
.catalog-download-status__card strong{font-size:18px}
.catalog-download-status__card p{margin:0;color:#d4d6da;font-size:15px;line-height:1.55}
.catalog-download-status__spinner{width:34px;height:34px;border:3px solid rgb(255 255 255 / .25);border-top-color:#fff;border-radius:50%;animation:catalog-download-spin .75s linear infinite}
@keyframes catalog-download-spin{to{transform:rotate(360deg)}}

/* 1.32 PEF smoke screen while a form is being processed (PEF admin.css .admin-wait-status). */
.admin-wait-status[hidden]{display:none}
.admin-wait-status{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:1rem;background:var(--ws-n-0a0c0f-58,rgb(10 12 15 / 58%));backdrop-filter:blur(4px)}
.admin-wait-status>div{display:flex;align-items:center;gap:1rem;width:min(28rem,calc(92vw / var(--lc-zoom, 1)));padding:1.2rem 1.3rem;border:1px solid #454c55;border-left:4px solid var(--brand-red,#a20404);border-radius:1rem;background:var(--ws-bg-sidebar,#181b21);color:#f3f4f6;box-shadow:0 1rem 3rem rgb(0 0 0 / 32%)}
.admin-wait-status i{color:var(--brand-red-on-dark,#ff7378);font-size:1.4rem}
.admin-wait-status strong,.admin-wait-status small{display:block}
.admin-wait-status small{margin-top:.25rem;color:#c9cdd3;font-size:.78rem}
.admin-wait-status small:empty{display:none}
.admin-wait-status__hide{display:none;margin-top:.7rem;padding:.3rem .8rem;border:1px solid #5a616b;border-radius:999px;background:transparent;color:#e3e6ea;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}
.admin-wait-status__hide:hover,.admin-wait-status__hide:focus-visible{border-color:#ff7378;color:#fff}
.admin-wait-status.is-download .admin-wait-status__hide{display:inline-flex}
/* 1.32 SweetAlert2 in the Lifecinema look; enough room between an icon and its text. */
.lc-swal{border-radius:1rem!important;font-family:inherit!important}
.lc-swal.swal2-toast{border-left:4px solid var(--brand-red,#a20404)!important}
.swal2-container{z-index:2100!important}
.ministry-item dt{display:flex;align-items:center;gap:.55rem}
.ministry-item dt i{width:1.1rem;flex:0 0 1.1rem;text-align:center;color:var(--brand-red,#a20404)}
:is(dt,.card-title,.section-head h2,.record-subhead)>i.fa-solid:first-child{margin-right:.5em}
:is(.btn,.button)>i.fa-solid:first-child:not(:last-child){margin-right:.1em}
/* 1.32 Secondary actions read as secondary: outline buttons stay outlined (PEF fills every admin .btn red),
   so Apply stands out from Reset and Export; export buttons never clip. */
:is(.admin-main,.app-header,.modal,.login-card) :is(.btn-outline-secondary,.btn-outline-primary,.btn-outline-danger,.btn-outline-dark):not(.btn-link):not(.btn-close){--bs-btn-color:var(--admin-orange);--bs-btn-bg:transparent;--bs-btn-border-color:rgb(162 4 4 / 45%);--bs-btn-hover-color:#fff;--bs-btn-hover-bg:var(--admin-fill,#a20404);--bs-btn-hover-border-color:var(--admin-fill,#a20404);--bs-btn-active-color:#fff;--bs-btn-active-bg:var(--admin-fill-hover,#800303)}
.audit-exports .btn{white-space:nowrap}
.audit-filters .btn{align-self:flex-end;min-height:2.6rem}
.audit-card>.card-body{padding:1.1rem 1.25rem}
.admin-page-workspace .card.module-records:has(> .table-responsive):not(:has(> .card-body)){padding:1.1rem 1.25rem}
/* 1.32 File pickers: the "Choose file" button matches the workspace's outline buttons instead of the grey browser default. */
.admin-page-workspace input[type=file],.app-main input[type=file],.login-card input[type=file],.app-dialog input[type=file]{padding:.35rem .45rem;line-height:1.6;cursor:pointer}
input[type=file]::file-selector-button{margin:0 .75rem 0 0;padding:.3rem .85rem;border:1px solid rgb(162 4 4 / 55%);border-radius:.45rem;background:transparent;color:var(--admin-orange,#a20404);font:inherit;font-size:.9rem;font-weight:650;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
input[type=file]:hover::file-selector-button,input[type=file]:focus-visible::file-selector-button{border-color:var(--admin-orange,#a20404);background:var(--admin-orange,#a20404);color:#fff}
[data-bs-theme=dark] input[type=file]::file-selector-button{color:var(--brand-red-on-dark,#ff7378);border-color:rgb(255 115 120 / 55%)}
[data-bs-theme=dark] input[type=file]:hover::file-selector-button,[data-bs-theme=dark] input[type=file]:focus-visible::file-selector-button{border-color:var(--brand-red,#a20404);background:var(--brand-red,#a20404);color:#fff}

/* 1.32 Beranda cards breathe: space under the card header, readable subtitles, roomier rows. */
.dashboard-chart-card{padding:1.15rem 1.25rem}
.dashboard-chart-card header{align-items:center;margin-bottom:1rem}
.dashboard-chart-card h3{font-size:1rem;line-height:1.35}
.dashboard-chart-card header p{margin-top:.3rem;font-size:.8rem;line-height:1.45}
.dashboard-chart-card header>strong{line-height:1}
.dashboard-section__title{margin-bottom:1rem}
.dashboard-event-list{gap:.7rem}
.dashboard-event{padding:.8rem .95rem;gap:.9rem}
.dashboard-event time{padding:.45rem 0}
.dashboard-event div strong{line-height:1.4}
.dashboard-event div small{margin-top:.2rem;line-height:1.45}
.dashboard-publishing-health dl{display:grid;gap:.6rem}
/* 1.32 Change password: Save sits on the same line as the new password field. */
.password-change .field,.password-change .mb-3{margin-bottom:0!important}
.password-change__save{min-height:2.6rem;white-space:nowrap}
/* 1.32 Media library upload: the button keeps its label on one line; the guidance reads like PEF's help line. */
.media-upload-button{white-space:nowrap;min-height:2.6rem}
.image-upload-help{margin-top:.4rem;line-height:1.5}
.image-upload-help [data-selected-dimensions]{display:block;margin-top:.25rem;color:var(--bs-body-color);font-weight:600}
.image-upload-help [data-selected-dimensions]:empty{display:none}
.image-upload-help__formats{display:block;margin-top:.2rem;font-weight:600}
.profile-role-note{margin:0 0 1rem;padding:.65rem .85rem;border-left:3px solid var(--brand-red,#a20404);border-radius:.5rem;background:rgb(162 4 4 / 6%);font-size:.9rem}
/* Project workflow (1.33): initiation wizard, overview flow card, stage gates and recce decisions. Done = charcoal/steel, never green. */
.stepper li a{color:inherit;text-decoration:none}
.flow-form__stepper{position:sticky;top:0;z-index:2;padding-top:.5rem;background:var(--bs-body-bg,var(--canvas))}
.flow-form{display:grid;gap:1rem}
.flow-form__step{scroll-margin-top:5.5rem}
.flow-subhead{margin:1.25rem 0 .35rem;font-size:1rem}
.flow-roles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));gap:.5rem}
.flow-role{display:flex;align-items:center;gap:.5rem;justify-content:space-between;padding:.45rem .6rem;border:1px solid var(--bs-border-color,var(--line));border-radius:.6rem;background:var(--bs-body-bg,var(--surface))}
.flow-role label{display:flex;align-items:center;gap:.45rem;margin:0;font-weight:600;font-size:.92rem}
.admin-page-workspace .flow-role input[type=number]{width:4.75rem;min-height:2rem;padding:.2rem .45rem}
.admin-page-workspace .flow-role--extra input:not([type=number]){flex:1;min-height:2rem;padding:.2rem .5rem}
.flow-timeline small{font-weight:400;color:var(--bs-secondary-color,var(--muted))}
.flow-equipment{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:.5rem}
.flow-equipment__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .7rem;border:1px solid var(--bs-border-color,var(--line));border-radius:.6rem}
.flow-equipment__item label{display:flex;flex-direction:column;margin:0}
.flow-equipment__item small{color:var(--bs-secondary-color,var(--muted))}
.admin-page-workspace .flow-equipment__item input{width:5.5rem;flex:none}
.flow-review{margin:0 0 1rem;padding-left:1.1rem}
.flow-card{margin-bottom:1rem}
.flow-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.5rem 1rem;margin:0}
.flow-people dt{color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-micro,.78rem);font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.flow-people dd{margin:0;font-weight:600}
.flow-edit,.flow-waive{margin-top:.75rem}
.flow-edit summary,.flow-waive summary{cursor:pointer;color:var(--link);font-weight:600}
.flow-edit form{margin-top:.75rem}
.flow-waive form{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}
.flow-waive input{flex:1 1 14rem}
.flow-grid{margin-bottom:1rem}
.flow-grid .flow-card{margin-bottom:0}
tr.is-late td{background:var(--tint-red)}
.flow-late{display:inline-block;margin-left:.3rem;padding:.05rem .45rem;border-radius:999px;background:var(--brand-red);color:#fff;font-size:.72rem;font-weight:700}
.flow-budget{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin:0 0 .75rem;padding:.55rem .75rem;border-radius:.6rem;background:var(--tint)}
.flow-staffing{display:grid;gap:.35rem;margin:0;padding:0;list-style:none}
.flow-staffing li{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;border-bottom:1px solid var(--bs-border-color,var(--line))}
.flow-staffing small{color:var(--bs-secondary-color,var(--muted))}
.is-filled{color:var(--success)}
.is-open{color:var(--warning)}
.flow-logistics{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.flow-logistics>li{display:grid;grid-template-columns:minmax(10rem,1fr) minmax(10rem,1.3fr);gap:.35rem 1rem;align-items:center;padding:.55rem 0;border-bottom:1px solid var(--bs-border-color,var(--line))}
.flow-logistics>li>a{font-weight:600}
.flow-logistics>li>:is(form,details){grid-column:1/-1}
.flow-logistics.is-todo{opacity:.68}
.flow-logistics__state{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.flow-logistics__state small{color:var(--bs-secondary-color,var(--muted))}
.flow-pill{display:inline-block;padding:.1rem .55rem;border:1px solid var(--bs-border-color,var(--line));border-radius:999px;font-size:var(--fs-micro,.8rem);font-weight:700}
.flow-pill.is-done{border-color:var(--success);color:var(--success)}
.flow-pill.is-open{border-color:var(--warning);color:var(--warning)}
.flow-gate{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin:0 0 1rem;padding:.8rem 1rem;border:1px solid var(--bs-border-color,var(--line));border-left:4px solid var(--warning);border-radius:.7rem;background:var(--tint)}
.flow-gate>i{color:var(--warning)}
.flow-gate p{flex:1 1 18rem;margin:0}
.recce-decision{display:inline-block;padding:.12rem .6rem;border-radius:999px;background:var(--tint);font-size:.8rem;font-weight:700}
.recce-card.is-chosen{border-color:var(--brand-red);box-shadow:inset 0 3px 0 var(--brand-red)}
.recce-card.is-chosen .recce-decision{background:var(--brand-red);color:#fff}
.recce-card.is-shortlisted .recce-decision{background:var(--tint-red);color:var(--link)}
.recce-card.is-rejected{opacity:.72}
.recce-decision__by{display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0 0;color:var(--bs-secondary-color,var(--muted));font-size:.85rem}
.recce-decision__by span{flex-basis:100%;color:var(--bs-body-color,var(--text))}
@media (max-width:575.98px){.flow-logistics>li{grid-template-columns:1fr}.flow-form__stepper{position:static}}
/* Venue catalogue (1.35): the picker in a project's Location tab and the venue details page with its history. */
.catalog-picker{margin-bottom:1rem}
.catalog-picker__form{display:grid;grid-template-columns:minmax(min(100%,14rem),2fr) minmax(12rem,1fr) auto;gap:.6rem;align-items:end}
.catalog-search{display:flex;gap:.5rem;margin:0 0 1rem}
.catalog-search input{flex:1}
.venue-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:1.25rem;margin-bottom:1rem}
.venue-detail__price{margin:0 0 .6rem;font-size:var(--fs-heading,1.15rem);font-weight:700}
.venue-history td small{color:var(--bs-secondary-color,var(--muted))}
@media (max-width:767.98px){.venue-detail,.catalog-picker__form{grid-template-columns:1fr}}
/* Technical spec sheet per equipment model (rental catalogue, equipment master, project equipment cards). */
.spec-sheet{margin-top:.5rem;border:1px solid var(--bs-border-color);border-radius:.5rem;padding:.35rem .6rem;font-size:.85rem}
.spec-sheet>summary{cursor:pointer;font-weight:600}
.spec-table{width:100%;margin:.4rem 0;border-collapse:collapse}
.spec-table caption{caption-side:top;font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--bs-secondary-color);padding:.2rem 0}
.spec-table th,.spec-table td{padding:.25rem .4rem;border-top:1px solid var(--bs-border-color);vertical-align:top;text-align:left}
.spec-table th{width:34%;font-weight:600}
.spec-table td:last-child{width:1%;white-space:nowrap}
.spec-note{margin:.3rem 0 0;color:var(--bs-secondary-color);font-size:.8rem}
/* Compatibility check (equipment pickers). */
.compat-check{padding:.5rem .75rem;border:1px dashed var(--bs-border-color);border-radius:.5rem;margin-bottom:.5rem}
.compat-check__status{color:var(--bs-success);font-weight:600}
.flow-equipment__item.is-compatible strong::before{content:"✓ ";color:var(--bs-success)}
/* Katalog rental: provider table; a row opens the vendor's details dialog. */
.provider-table .provider-row{cursor:pointer}
.provider-table .provider-row:focus-visible{outline:2px solid var(--bs-primary);outline-offset:-2px}
.provider-table td{vertical-align:middle}
.provider-name{display:flex;align-items:center;gap:.75rem;min-width:0}
.provider-logo{width:56px;height:36px;object-fit:contain;flex:none;border-radius:.35rem;background:#fff;padding:2px}
.provider-logo.is-empty{display:inline-flex;align-items:center;justify-content:center;background:var(--bs-tertiary-bg);color:var(--bs-secondary-color)}
.provider-logo.is-large{width:96px;height:56px}
.provider-controls{flex-wrap:nowrap;justify-content:flex-end}
.record-dialog{width:min(52rem,calc(calc(100vw / var(--lc-zoom, 1)) - 32px))}
.record-dialog h2{margin:0}
.record-dialog :is(a,small,p,dd,li,label){overflow-wrap:anywhere}
.record-dialog__body{padding:1rem 1.2rem;overflow:auto;max-height:calc(calc(88vh / var(--lc-zoom, 1)) - 9rem)}
.record-dialog__body .record-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem 1.25rem}
.record-dialog footer{padding:.75rem 1.2rem 1rem;border-top:1px solid var(--bs-border-color)}
@media (max-width:640px){.provider-table th:nth-child(5),.provider-table td:nth-child(5){display:none}}
/* Provider dialog: smoke screen behind it, gentle entrance, page scroll locked while open. */
.record-dialog{box-shadow:0 24px 64px rgb(0 0 0 / 55%);border-color:color-mix(in srgb,var(--bs-border-color) 60%,var(--bs-body-color) 40%)}
.record-dialog::backdrop{background:rgb(4 5 7 / 78%);backdrop-filter:blur(5px) saturate(70%);-webkit-backdrop-filter:blur(5px) saturate(70%)}
.record-dialog[open]{animation:record-dialog-in .18s ease-out}
.record-dialog[open]::backdrop{animation:record-backdrop-in .18s ease-out}
@keyframes record-dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes record-backdrop-in{from{opacity:0}to{opacity:1}}

html:has(dialog[open]){overflow:hidden}
dialog{overscroll-behavior:contain}
.record-dialog__body .record-facts .facts-wide{grid-column:1/-1}
.record-dialog__body .contact-list{display:grid;gap:.3rem;margin:0}
.provider-table .contact-list{display:block}
.record-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.record-dialog header{flex:0 1 auto;min-height:0;max-height:44dvh;overflow-y:auto;overflow-wrap:anywhere}
.record-dialog footer{flex:0 1 auto;min-height:0}
@media (max-width:991.98px),(max-height:640px){.record-dialog footer{overflow-y:auto}}
.record-dialog__body{flex:1 1 auto;min-height:0;max-height:none}
.record-dialog footer{flex-wrap:wrap;justify-content:flex-end}
@media (max-width:640px){.record-dialog footer .button{flex:1 1 calc(50% - .5rem);justify-content:center}}
/* A confirm or short form that is one bare <form> (no separate body) scrolls inside the dialog when a small or sideways phone cuts it short, so its buttons stay reachable. */
.record-dialog[open]>form:only-child{min-height:0;overflow-y:auto}
/* Day rate as a bold capsule; roomier lines under it (news-style lists). */
.price-pill{display:inline-flex;align-items:center;padding:.2rem .7rem;border-radius:999px;font-size:var(--fs-meta,.9rem);font-weight:800;letter-spacing:.01em;line-height:1.2;
  color:var(--bs-body-color);background:color-mix(in srgb,var(--bs-primary) 18%,transparent);border:1px solid color-mix(in srgb,var(--bs-primary) 55%,transparent)}
.price-pill.is-empty{font-weight:600;color:var(--bs-secondary-color);background:transparent;border-style:dashed}
.news-item__meta{row-gap:.45rem;margin-top:.15rem}
/* Catalog cards: each detail brings its own "·"; the one starting a line is clipped, so a wrapped row never ends or starts with a stray dot. */
[data-theme-scope=admin] .news-item__meta{margin-left:-.9rem;column-gap:0;clip-path:inset(-6px -6px -6px .9rem)}
[data-theme-scope=admin] .news-item__meta>[aria-hidden="true"]{display:none}
[data-theme-scope=admin] .news-item__meta>:not([aria-hidden]){position:relative;margin-left:.9rem}
[data-theme-scope=admin] .news-item__meta>:not([aria-hidden])::before{position:absolute;left:-.9rem;width:.9rem;color:var(--bs-secondary-color);text-align:center;content:"·"}
.news-item__note{margin-top:.6rem;line-height:1.45}
.news-item__note+.news-item__note{margin-top:.3rem}
.news-item .spec-sheet{margin-top:.7rem}
.news-item .module-actions{margin-top:.85rem}
/* Documents & attachments tab (1.36): supporting files grouped by folder. */
.doc-group{margin-bottom:1rem}
.doc-group h2 i{color:var(--bs-secondary-color,var(--muted))}
.doc-list{display:grid;gap:.35rem;margin:0 0 .75rem;padding:0;list-style:none}
.doc-item{display:flex;align-items:center;gap:.6rem;padding:.4rem .6rem;border:1px solid var(--bs-border-color,var(--line));border-radius:.55rem}
.doc-item>i{color:var(--brand-red);font-size:1.1rem}
.doc-item a{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}
.doc-item small{color:var(--bs-secondary-color,var(--muted));white-space:nowrap}
.doc-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.6rem}
.doc-image{margin:0;border:1px solid var(--bs-border-color,var(--line));border-radius:.55rem;overflow:hidden;background:var(--tint)}
.doc-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.doc-image figcaption{display:flex;align-items:center;gap:.4rem;padding:.3rem .45rem;font-size:.75rem}
.doc-image figcaption span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Clickable record rows (site standard): hover shade, focus ring; a click opens the record's details dialog. */
.news-item__excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.record-dialog__hero{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1rem}
.record-dialog__hero p{margin:0 0 .4rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.record-dialog__photo{width:220px;max-width:40%;aspect-ratio:4/3;object-fit:contain;border-radius:.5rem;background:var(--ws-surface-raised,var(--bs-tertiary-bg));flex:none}
.record-dialog__heading{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bs-secondary-color);margin:1rem 0 .35rem}
.record-dialog__text{font-size:.9rem;line-height:1.55;white-space:normal}
@media (max-width:640px){.record-dialog__hero{flex-direction:column}.record-dialog__photo{width:100%;max-width:none}}
/* Outlined delete buttons stay readable in both themes; dialog footer buttons share one height. */
.module-actions .button-danger:not(:hover):not(:focus-visible){color:var(--bs-danger-text-emphasis,#b00005);border-color:currentColor}
.record-dialog footer{align-items:center}
.record-dialog footer form{display:inline-flex}
/* Clickable rows that are not table rows (record lists, cards opening a dialog): the same light red shade and left
   accent; side padding keeps the accent off the content and stops the row from shifting on hover. */
.news-item.is-clickable,[data-dialog-open]{cursor:pointer}
.news-item.is-clickable{padding:1rem 1.25rem 1rem calc(1.25rem + 3px)}
:is(.news-item.is-clickable,[data-dialog-open]):not(tr):not(button,.button,.btn):is(:hover,:focus-visible){background-color:var(--tint-red);box-shadow:inset 3px 0 0 var(--danger)}
:is(.news-item.is-clickable,[data-dialog-open]):focus-visible{outline:2px solid var(--danger);outline-offset:-2px}
.provider-logo.is-light{background:var(--ws-bg-surface,#1b1f25)}
/* Content sits well inside the hover shade: tables keep 1rem at both ends (header included, so columns stay aligned)
   and room for the 3px accent; spec sheets likewise. */
.table>:is(thead,tbody,tfoot)>tr>:first-child{padding-left:calc(1rem + 3px)}
.table>:is(thead,tbody,tfoot)>tr>:last-child{padding-right:1rem}
.table>tbody>tr>*{padding-top:max(.7rem,var(--lc-row-pad,0rem));padding-bottom:max(.7rem,var(--lc-row-pad,0rem))}
.spec-table th,.spec-table td{padding:.5rem .6rem}
.spec-table tr>:first-child{padding-left:calc(1rem + 3px)}
.spec-table tr>:last-child{padding-right:1rem}
@media (max-width:575px){.news-item.is-clickable{padding:.85rem .85rem .85rem calc(.85rem + 3px)}}
/* Record dialogs: small action forms in the footer take no dialog-form padding; the dialog itself takes focus on open
   (not its first link), without a focus ring. */
.record-dialog footer form{padding:0;margin:0}
.record-dialog:focus{outline:none}
/* Project flow overrides (producer): badge on overridden steps and the override panel. */
.flow-override-badge{display:inline-flex;align-items:center;padding:.05rem .45rem;border-radius:999px;font-size:var(--fs-micro,.7rem);font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:var(--warning,#8a5a00);vertical-align:middle}
.flow-override__list{list-style:none;padding:0;margin:.5rem 0 0;display:grid;gap:.5rem}
.flow-override__list>li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding:.6rem .75rem;border:1px solid var(--bs-border-color);border-radius:.6rem}
.flow-override__list>li>div:first-child{flex:1 1 20rem;min-width:0}
.flow-override__form{display:flex;gap:.4rem;flex:1 1 22rem;max-width:34rem}
.flow-override__form input{flex:1;min-width:0}
.flow-override__active{display:flex;align-items:center;gap:.4rem;flex:1 1 16rem}
/* Project flow as a horizontal step indicator (1.36): numbered markers on a connecting line, text below. Done = charcoal. */
.flow-steps{display:flex;margin:0 0 1rem;padding:.25rem 0 .5rem;list-style:none;overflow-x:auto;scrollbar-width:thin}
.flow-step{position:relative;display:flex;flex:1 1 0;flex-direction:column;align-items:center;min-width:7.25rem;padding:0 .35rem;text-align:center}
.flow-step::before{position:absolute;top:1rem;right:50%;left:-50%;z-index:0;height:2px;background:var(--bs-border-color,var(--line));content:""}
.flow-step:first-child::before{display:none}
.flow-step:is(.is-done,.is-current)::before{background:var(--success)}
.flow-step__marker{position:relative;z-index:1;display:grid;place-items:center;width:2rem;height:2rem;border:2px solid var(--bs-border-color,var(--line));border-radius:50%;background:var(--bs-body-bg,var(--surface));color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-micro,.85rem);font-weight:800}
.flow-step.is-done .flow-step__marker{border-color:var(--success);background:var(--success);color:var(--bs-body-bg,#fff)}
.flow-step.is-current .flow-step__marker{border-color:var(--brand-red);color:var(--brand-red);box-shadow:0 0 0 4px var(--tint-red)}
.flow-step.is-overridden .flow-step__marker{border-style:dashed}
.flow-step__text{margin-top:.5rem}
.flow-step__text strong{display:block;font-size:var(--fs-meta,.88rem);line-height:1.3}
.flow-step.is-current .flow-step__text strong{color:var(--brand-red)}
.flow-step__text small{display:block;margin-top:.15rem;color:var(--bs-secondary-color,var(--muted));font-size:var(--fs-meta,.76rem);line-height:1.35}
.flow-step.is-todo .flow-step__text{opacity:.7}
.flow-step__text strong a{color:inherit}
.project-header .admin-kicker,.project-header h1{overflow-wrap:anywhere}
.flow-seed{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:.25rem;padding:.75rem 1rem;border:1px dashed var(--bs-border-color,var(--line));border-radius:.7rem}.flow-seed p{flex:1 1 18rem;margin:0}
/* IDR amount field (View::moneyInput): "Rp" prefix inside the box, digits grouped with dots. */
.money-input{position:relative;display:block;width:100%}
.money-input>.money-prefix{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--bs-secondary-color);font-weight:600;pointer-events:none}
.money-input>input{padding-left:2.5rem!important;font-variant-numeric:tabular-nums}
td .money-input{display:inline-block;width:auto;min-width:9.5rem;vertical-align:middle}
/* New-project tables with controls (project-create.js): crew roles, extra agenda items, budget lines, master equipment. */
.flow-table-controls{margin:.25rem 0 .75rem}
.flow-table-controls__row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}
.flow-table-controls__row>.list-controls__bar{flex:1 1 22rem}
.flow-table-controls__row>.button{margin-left:auto}
.flow-table-controls .list-controls__summary{margin:.4rem 0 0}
.flow-table__chosen{display:flex;align-items:center;gap:.4rem;padding:0 .9rem;white-space:nowrap;cursor:pointer}
.flow-table__chosen input{width:auto;min-height:0}
.flow-table>tbody>tr.is-filtered{display:none}
.flow-table>tbody>tr>*{vertical-align:middle}
.flow-table th[scope=row]{font-weight:600}
.flow-table th[scope=row] label{margin:0;cursor:pointer}
.flow-table .flow-table__tick{width:2.75rem;text-align:center}
.flow-table .flow-table__num{width:7rem;text-align:right}
.flow-table .flow-table__money{width:11rem;text-align:right;white-space:nowrap}
.flow-table .flow-table__actions{width:3.5rem;text-align:right}
.admin-page-workspace .flow-table .flow-table__num input{width:6rem;margin-left:auto;text-align:right}
.admin-page-workspace .flow-table .flow-table__money .money-input{min-width:10rem}
.flow-table tr.is-chosen>th[scope=row]{color:var(--danger)}
.flow-table__empty td{color:var(--bs-secondary-color);text-align:center;font-style:italic}
.flow-budget-table tfoot th{text-align:right;font-weight:600}
.flow-budget-table tfoot tr[data-budget-left-row].is-over>*{color:var(--danger);font-weight:800;background:var(--tint-red)}
.flow-equipment-row.is-compatible strong::before{content:"✓ ";color:var(--bs-success)}
.flow-equipment-row small{color:var(--bs-secondary-color);font-weight:400}
/* Over budget is allowed but never quiet: a bold red warning (ProjectFlow::overBudgetBox). */
.over-budget{display:flex;gap:.85rem;align-items:flex-start;margin:0 0 1rem;padding:.9rem 1.1rem;border:2px solid var(--danger);border-left-width:6px;border-radius:.75rem;background:var(--tint-red);color:var(--bs-body-color)}
.over-budget[hidden]{display:none}
.over-budget>i{font-size:1.5rem;color:var(--danger);margin-top:.1rem}
.over-budget strong{display:block;color:var(--danger);font-size:1.1rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.over-budget p{margin:.2rem 0 0;font-weight:700}
.over-budget small{display:block;margin-top:.3rem;color:var(--bs-secondary-color)}
.budget-rows .progress.is-over span{background:var(--danger)}
.budget-rows li.is-over .budget-row__head span{color:var(--danger);font-weight:800}
.over-budget-tag{display:inline-block;margin-top:.2rem;color:var(--danger);font-size:.82rem;font-weight:900;letter-spacing:.03em}
@media (max-width:640px){.flow-table-controls__row>.button{margin-left:0}.flow-table .flow-table__money{width:auto}}
.flow-budget-table td>input{min-width:8rem}
.flow-budget-table td:nth-child(2)>input{min-width:14rem}
.flow-table-controls__row>.button:only-child{margin-left:0}
.flow-table__chosen{min-height:3.25rem}
.flow-table__chosen{margin:0;border-left:1px solid var(--bs-border-color);font-size:var(--fs-meta,.9rem);font-weight:600}
.admin-page-workspace .flow-table__chosen input{display:inline-block;width:1rem;height:1rem;margin:0}
.flow-budget-table .flow-table__num{width:5.5rem}
.admin-page-workspace .flow-budget-table .flow-table__num input{width:4.75rem}
.flow-budget-table td>input{min-width:7rem}
.flow-budget-table td:nth-child(2)>input{min-width:11rem}
.admin-page-workspace .flow-budget-table .flow-table__money .money-input{min-width:8.5rem}
.flow-budget-table .flow-table__money{width:auto}
.flow-budget-table>:is(thead,tbody,tfoot)>tr>*{padding-left:.5rem;padding-right:.5rem}
.flow-budget-table>:is(thead,tbody,tfoot)>tr>:first-child{padding-left:calc(.75rem + 3px)}
.flow-budget-table .flow-table__num{width:1%}
.flow-budget-table td:nth-child(2)>input{min-width:14rem}
@media (max-width:575px){
  table.is-stackable.flow-table :is(.flow-table__num,.flow-table__money,.flow-table__actions,.flow-table__tick){width:auto!important;text-align:left}
  table.is-stackable.flow-table .flow-table__num input{margin-left:0}
  table.is-stackable.flow-table tfoot tr{display:flex;justify-content:space-between;align-items:center;gap:1rem}
  table.is-stackable.flow-table tfoot :is(th,td){border:0;background:transparent!important;padding:.25rem 0}
  table.is-stackable.flow-table tfoot td:empty{display:none}
}
/* New project: the system-made project code, previewed live. */
.flow-code-note{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 1rem}
.flow-code-note code{padding:.15rem .55rem;border-radius:.4rem;background:var(--tint-red);color:var(--danger);font-weight:700;letter-spacing:.03em}
/* New project: team needs rows (position, crew from the catalogue, how many). */
.flow-crew-table select{min-width:12rem}
.admin-page-workspace .flow-crew-table td:first-child select{min-width:14rem}
/* Crew positions master. */
.position-table tr.is-inactive td:first-child strong{color:var(--bs-secondary-color);text-decoration:line-through}
/* Photo preview (journal.js lightbox): a modal over a dark smoke screen, like the record dialogs. Full screen on phones. */
@media (min-width:641px){
  :is(.hn-scope,body) .lightbox{width:min(1200px,calc(100% - 112px));height:auto;max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 112px);padding:56px 72px 28px;box-shadow:0 30px 80px rgb(0 0 0/55%)}
  :is(.hn-scope,body) .lightbox figure{height:auto}
  :is(.hn-scope,body) .lightbox figure img{max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 260px)}
}
:is(.hn-scope,body) .lightbox::backdrop{background:rgb(4 5 7/84%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
:is(.hn-scope,body) .lightbox[open]{animation:lightbox-in .18s ease-out}
@keyframes lightbox-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
:is(.hn-scope,body) .lightbox .icon-button[data-lightbox-close]{width:2.5rem;height:2.5rem;font-size:1.4rem;line-height:1}
/* Public pages: hn-journal's blanket ".hn-scope a:hover{color:red}" must not repaint components that set their own
   hover colours, or the text vanishes (red on a red fill, dark red on dark). These win on specificity. */
:is(.hn-scope,body) .tp-keywords a:is(:hover,:focus-visible),
:is(.hn-scope,body) .lc-karya__filters a:is(.is-active,:hover,:focus-visible){color:#fff}
:is(.hn-scope,body) .tp-tiles a:is(:hover,:focus-visible){color:#fff}
:is(.hn-scope,body) .tp-tiles a:is(:hover,:focus-visible) i{color:#ff7378}
:is(.hn-scope,body) .tp-side__btn:is(:hover,:focus-visible){color:#fff}
:is(.hn-scope,body) :is(.tp-known__card,.tp-credit-list a,.tp-cast__link,.tp-news__item,.tp-rail__card):is(:hover,:focus-visible){color:var(--sc-ink)}
:is(.hn-scope,body) :is(.tp-known__card,.tp-credit-list a,.tp-cast__link,.tp-rail__card):is(:hover,:focus-visible) strong{color:var(--sc-red-text)}
[data-site-theme=dark] :is(.hn-scope,body) .lc-news-card time{color:#ff7378}
/* Project phase pills: one colour per phase, readable in light and dark. */
.tp-phase[class*="tp-phase--"]{border-width:1px;border-style:solid;font-weight:700}
.tp-phase--draft,.tp-phase--on_hold,.tp-phase--archived{border-color:#cfd3d9!important;background:#eef0f3;color:#454b54!important}
.tp-phase--pre_production{border-color:#f0cf8a!important;background:#fff4dc;color:#7a4e00!important}
.tp-phase--production{border-color:#f3b0b0!important;background:#fde8e8;color:#a20404!important}
.tp-phase--post_production{border-color:#b9c9f0!important;background:#e8eefc;color:#27449a!important}
.tp-phase--completed{border-color:#2b3038!important;background:var(--ws-n-2b3038,#2b3038);color:#fff!important}
.tp-phase--cancelled{border-color:#e0b4b4!important;background:#f7eaea;color:#7d2a2a!important}
[data-site-theme=dark] .tp-phase--draft,[data-site-theme=dark] .tp-phase--on_hold,[data-site-theme=dark] .tp-phase--archived{border-color:#4a515b!important;background:var(--ws-n-2a2f36,#2a2f36);color:#d3d7dd!important}
[data-site-theme=dark] .tp-phase--pre_production{border-color:#6b5320!important;background:#35290f;color:#f3c969!important}
[data-site-theme=dark] .tp-phase--production{border-color:#6e2a2e!important;background:#3a1b1e;color:#ff9aa0!important}
[data-site-theme=dark] .tp-phase--post_production{border-color:#34467a!important;background:var(--ws-n-1c2540,#1c2540);color:#a9bff5!important}
[data-site-theme=dark] .tp-phase--completed{border-color:#cfd5dd!important;background:#cfd5dd;color:#16191d!important}
[data-site-theme=dark] .tp-phase--cancelled{border-color:#5d3434!important;background:#2e1c1c;color:#e3a3a3!important}
/* The initial on a picture-less avatar stays readable: white on the brand red, not on the light accent. */
span.admin-navbar-avatar,span.admin-profile-avatar{background:var(--brand-red,#a20404)}
/* Cinematic placeholder art for projects without a picture (ProjectArt, 1.37): fills its frame like a cover. */
img.lc-art{display:block;width:100%;height:100%;object-fit:cover;background:var(--ws-n-131418,#131418)}
/* Announcements inside the home join card (1.37, owner request): a compact list in the white panel. */
.lc-home-ann__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lc-home-ann__head .heading-1{margin:0}
.lc-home-ann__list{margin:0 0 28px;padding:0;list-style:none;border-top:1px solid var(--home-line,#e6e8ec)}
.lc-home-ann__item{display:flex;align-items:center;gap:16px;padding:16px 8px;border-bottom:1px solid var(--home-line,#e6e8ec);color:inherit;text-decoration:none;transition:background-color .15s}
.lc-home-ann__item:hover,.lc-home-ann__item:focus-visible{background:#f7f3f3}
.lc-home-ann__icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#fbeaea;color:#a20404;font-size:18px}
.lc-home-ann__text{display:grid;gap:3px;min-width:0;flex:1}
.lc-home-ann__text time{color:#a20404;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.lc-home-ann__text strong{color:var(--home-ink,#16181d);font-size:17px;line-height:1.3}
.lc-home-ann__text small{overflow:hidden;color:#5f6570;font-size:14px;white-space:nowrap;text-overflow:ellipsis}
.lc-home-ann__go{flex:0 0 auto;color:#a20404;transition:transform .15s}
.lc-home-ann__item:hover .lc-home-ann__go,.lc-home-ann__item:focus-visible .lc-home-ann__go{transform:translateX(3px)}
[data-site-theme=dark] .lc-home-ann__item:hover,[data-site-theme=dark] .lc-home-ann__item:focus-visible{background:rgb(255 255 255 / 5%)}
[data-site-theme=dark] .lc-home-ann__icon{background:#3a1b1e;color:#ff9aa0}
[data-site-theme=dark] .lc-home-ann__text strong{color:#f1f2f4}
[data-site-theme=dark] .lc-home-ann__text small{color:#a9b0ba}
/* Dark theme: the announcements rows and the "Masuk" link in the join card must stay readable on hover (they turned
   brand red on the dark card). */
[data-site-theme=dark] :is(.hn-scope,body) .lc-home-ann__item:is(:hover,:focus-visible){color:#f1f2f4!important}
[data-site-theme=dark] :is(.hn-scope,body) .lc-home-ann__item:is(:hover,:focus-visible) .lc-home-ann__go{color:#ff9aa0!important}
[data-site-theme=dark] :is(.hn-scope,body) .lc-join-signin a{color:#ff9aa0!important}
[data-site-theme=dark] :is(.hn-scope,body) .lc-join-signin a:is(:hover,:focus-visible){color:#ffd0d2!important}
[data-site-theme=dark] .lc-home-ann__text time,[data-site-theme=dark] .lc-home-ann__go{color:#ff7378}
/* Behind the scenes: who uploaded each photo, for the credit. */
.bts-item__by{display:flex;align-items:center;gap:.35rem;color:var(--bs-secondary-color,#5f6570);font-size:var(--fs-meta,.78rem)}
/* Pengaturan › Permintaan akses: smart search, the chosen list, the preview and the member's own requests. */
.access-search{position:relative;display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:0 14px;border:1px solid var(--bs-border-color,#dee2e6);border-radius:12px;background:var(--bs-body-bg,#fff)}
.access-search:focus-within{border-color:#a20404;box-shadow:0 0 0 3px rgb(162 4 4 / 15%)}
.access-search input{flex:1;min-width:0;padding:12px 0;border:0;background:transparent;color:inherit;font-size:15px}
.access-search input:focus{outline:none}
.access-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;max-height:360px;margin:0;padding:6px;overflow:auto;list-style:none;border:1px solid var(--bs-border-color,#dee2e6);border-radius:12px;background:var(--bs-body-bg,#fff);box-shadow:0 16px 40px rgb(0 0 0 / 16%)}
.access-suggest__item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;cursor:pointer}
.access-suggest__item:is(:hover,.is-active){background:rgb(162 4 4 / 8%)}
.access-suggest__item.is-unavailable{cursor:default;opacity:.6}
.access-suggest__item.is-unavailable:hover{background:none}
.access-suggest__text{display:flex;flex:1;flex-direction:column;min-width:0}
.access-suggest__text small{color:var(--bs-secondary-color,#6c757d)}
.access-suggest__item em{color:var(--bs-secondary-color,#6c757d);font-size:12px;font-style:normal}
.access-suggest__none{padding:10px;color:var(--bs-secondary-color,#6c757d)}
.access-kind{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;white-space:nowrap}
.access-kind--project{background:rgb(162 4 4 / 10%);color:#a20404}
.access-kind--script{background:var(--ws-n-2b3038-10,rgb(43 48 56 / 10%));color:#2b3038}
[data-bs-theme=dark] .access-kind--project{color:#ff9aa0}[data-bs-theme=dark] .access-kind--script{background:rgb(207 213 221 / 12%);color:#cfd5dd}
.access-table select{padding:6px 8px;border:1px solid var(--bs-border-color,#dee2e6);border-radius:8px;background:var(--bs-body-bg,#fff);color:inherit}
.access-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 14px;color:var(--bs-secondary-color,#6c757d);font-size:14px}
.access-pager{display:flex;flex-wrap:wrap;gap:6px}
.access-pager :is(a,button,span){display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:1px solid var(--bs-border-color,#dee2e6);border-radius:8px;background:var(--bs-body-bg,#fff);color:inherit;font-weight:700;text-decoration:none}
.access-pager .is-current{border-color:#a20404;background:#a20404;color:#fff}
.access-status{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700}
.access-status.is-pending{background:#fff4dc;color:#7a4e00}
.access-status.is-approved{background:var(--ws-n-2b3038,#2b3038);color:#fff}
.access-status.is-denied{background:#fde8e8;color:#a20404}
.access-status.is-cancelled{background:#eef0f3;color:#454b54}
.access-preview__list{margin:0 0 10px;padding-left:18px}
.access-preview__list li{margin-bottom:6px}
.access-preview__reason{padding:10px 12px;border-radius:10px;background:var(--bs-tertiary-bg,#f6f6f6)}
.people-account-state{margin:0 0 16px}
.people-account-state.is-deleted{padding:12px 14px;border-radius:10px;background:var(--bs-tertiary-bg,#f6f6f6)}
/* People in picklists (People::pickerOption): picture, the full name in bold, and Connect Group type · projects · years smaller below. */
.opt-person__sep{display:none}
@supports (appearance:base-select){
  select.select-rich{min-height:3.1rem}
  select.select-rich>button{display:contents}
  select.select-rich selectedcontent{display:flex;align-items:center;gap:.6rem;min-width:0}
  select.select-rich option{min-height:3rem;padding:.4rem .7rem}
  .opt-person__pic{flex:0 0 2.1rem;width:2.1rem;height:2.1rem;border-radius:6px;object-fit:cover;background:var(--tint,#eef0f3)}
  .opt-person__pic.is-initials{display:inline-grid;place-items:center;background:var(--tint-red,#fbeaea);color:var(--brand-red,#a20404);font-size:.72rem;font-weight:800;letter-spacing:.02em}
  .opt-person__text{display:grid;gap:.1rem;min-width:0;line-height:1.2}
  .opt-person__text strong{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .opt-person__text small{color:var(--bs-secondary-color,var(--muted));font-size:.78rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  select option:checked .opt-person__text small{color:inherit;opacity:.8}
}
@supports not (appearance:base-select){.opt-person__sep{display:inline}}
/* Project pages (ProjectModules::layout): the workflow as a vertical step menu in a left lane, the page on the right,
   and "Langkah berikutnya" at the end of the page. */
.project-shell{display:grid;grid-template-columns:236px minmax(0,1fr);gap:1.25rem;align-items:start}
.project-shell__menu{position:sticky;top:1rem;max-height:calc(calc(100vh / var(--lc-zoom, 1)) - 2rem);overflow-y:auto;scrollbar-width:thin;padding:.75rem;border:1px solid var(--bs-border-color);border-radius:1.1rem;background:var(--bs-body-bg)}
.project-shell__details>summary{display:none}
.project-shell__title{display:block;margin:.1rem .45rem .55rem;color:var(--bs-secondary-color);font-size:var(--fs-micro,.72rem);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.project-shell__main{min-width:0}
.project-steps :is(a,button[data-view-link]){width:100%;text-align:start;display:flex;align-items:center;gap:.55rem;padding:.5rem .65rem;border-radius:.7rem;color:var(--bs-body-color);font-size:var(--fs-meta,.88rem);font-weight:600;line-height:1.3;text-decoration:none}
.project-steps :is(a,button[data-view-link])>i{width:1.1rem;color:var(--bs-secondary-color);font-size:.85rem;text-align:center}
.project-steps :is(a,button[data-view-link]):hover{background:var(--bs-tertiary-bg);color:var(--bs-body-color)}
.project-steps :is(a,button[data-view-link]):focus-visible{outline:3px solid rgb(162 4 4 / 35%);outline-offset:1px}
.project-steps :is(a,button[data-view-link]).is-active{background:var(--brand-red);color:#fff}
.project-steps :is(a,button[data-view-link]).is-active>i{color:#fff}
.project-steps__list{position:relative;margin:.5rem 0 0;padding:0;list-style:none}
/* A file-explorer tree: each step a folder (twisty, marker, name), its pages leaves on guide lines off the step line. */
.project-step{--trunk:calc(2.325rem - 1px);position:relative;padding-bottom:.1rem}
.project-step::before{position:absolute;top:.5rem;bottom:-.6rem;left:var(--trunk);width:2px;background:var(--bs-border-color);content:""}
.project-step:last-child::before{display:none}
/* A step with pages ends its line at its last page (└), not on down to the next step; its first page's guide line
   reaches up to the step's marker instead. */
.project-step:has(>.project-step__node[open] .project-step__pages)::before{display:none}
.project-step__pages>li:first-child::before{top:-.7rem}
.project-step.is-done::before{background:var(--success)}
.project-step__head{display:flex;align-items:center;gap:.35rem;padding:.3rem .35rem;border-radius:.7rem;color:var(--bs-body-color);font-size:var(--fs-meta,.88rem);font-weight:700;line-height:1.25;cursor:pointer;list-style:none;user-select:none}
.project-step__head::-webkit-details-marker{display:none}
.project-step__head.is-empty{cursor:default}
summary.project-step__head:hover{background:var(--bs-tertiary-bg)}
summary.project-step__head:focus-visible{outline:3px solid rgb(162 4 4 / 35%);outline-offset:1px}
.project-step__twisty{display:grid;flex:0 0 .9rem;place-items:center;color:var(--bs-secondary-color);font-size:.62rem;transition:transform .15s ease}
.project-step__node[open]>summary .project-step__twisty{transform:rotate(90deg)}
.project-step__head.is-empty .project-step__twisty{visibility:hidden}
.project-step__marker{position:relative;z-index:1;display:grid;flex:0 0 1.45rem;place-items:center;width:1.45rem;height:1.45rem;margin-right:.25rem;border:2px solid var(--bs-border-color);border-radius:50%;background:var(--bs-body-bg);color:var(--bs-secondary-color);font-size:var(--fs-micro,.72rem);font-weight:800}
.project-step.is-done .project-step__marker{border-color:var(--success);background:var(--success);color:var(--bs-body-bg)}
.project-step.is-current .project-step__marker{border-color:var(--link);color:var(--link);box-shadow:0 0 0 3px var(--tint-red)}
.project-step__label{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .4rem;min-width:0}
.project-step__label small{padding:.05rem .45rem;border-radius:999px;background:var(--tint-red);color:var(--link);font-size:var(--fs-micro,.66rem);font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.project-step.is-todo .project-step__label{color:var(--bs-secondary-color)}
.project-step.is-here>.project-step__node>.project-step__head{background:var(--bs-tertiary-bg)}
.project-step__pages{position:relative;margin:.1rem 0 .3rem var(--trunk);padding:0 0 0 1rem;list-style:none}
.project-step__pages>li{position:relative;padding:.08rem 0}
.project-step__pages>li::before{position:absolute;top:0;bottom:0;left:-1rem;width:2px;background:var(--bs-border-color);content:""}
.project-step__pages>li:last-child::before{bottom:50%}
.project-step__pages>li::after{position:absolute;top:calc(50% - 1px);left:-1rem;width:.8rem;height:2px;background:var(--bs-border-color);content:""}
.project-step.is-done .project-step__pages>li::before,.project-step.is-done .project-step__pages>li::after{background:var(--success)}
.project-step__pages :is(a,button[data-view-link]){padding:.4rem .6rem;font-size:var(--fs-meta,.85rem)}
.project-step__pages.is-anytime{margin-left:0;padding-left:0}
.project-step__pages.is-anytime>li::before,.project-step__pages.is-anytime>li::after{display:none}
.project-steps__group{margin:.85rem .45rem .3rem;padding-top:.7rem;border-top:1px solid var(--bs-border-color);color:var(--bs-secondary-color);font-size:var(--fs-micro,.72rem);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
/* Where to go next, at the end of every project page. */
.project-next{margin-top:1.5rem;padding:1rem 1.1rem;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg)}
.project-next__note{margin:0 0 .75rem;color:var(--bs-secondary-color);font-size:var(--fs-meta,.88rem)}
.project-next__note i{color:var(--link)}
.project-next__buttons{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}
.project-next__buttons .project-next__go{margin-left:auto}
@media(max-width:991.98px){
  .project-shell{grid-template-columns:minmax(0,1fr);gap:1rem}
  .project-shell__menu{position:static;max-height:none;overflow:visible;padding:0}
  .project-shell__details>summary{display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;cursor:pointer;list-style:none}
  .project-shell__details>summary::-webkit-details-marker{display:none}
  .project-shell__details>summary::after{margin-left:auto;color:var(--bs-secondary-color);font:var(--fa-font-solid);content:"\f078";transition:transform .2s ease}
  .project-shell__details[open]>summary::after{transform:rotate(180deg)}
  .project-shell__details>summary .project-shell__title{margin:0}
  .project-shell__where{overflow:hidden;font-size:var(--fs-meta,.9rem);font-weight:700;text-overflow:ellipsis;white-space:nowrap}
  .project-shell__details[open]>.project-steps{padding:0 .6rem .7rem}
  .project-next__buttons>*{flex:1 1 100%;justify-content:center;text-align:center}
  .project-next__buttons .project-next__go{order:-1;margin-left:0}
}
/* Home Pengumuman panel: a thumbnail per item (its photo, flyer or cover, else the generated art), the kind as a badge. */
.lc-home-ann__thumb{position:relative;flex:0 0 112px;width:112px;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:var(--ws-n-131418,#131418)}
.lc-home-ann__thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.lc-home-ann__item:is(:hover,:focus-visible) .lc-home-ann__thumb img{transform:scale(1.05)}
.lc-home-ann__badge{position:absolute;left:6px;bottom:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:rgb(162 4 4 / 92%);color:#fff;font-size:11px}
@media(max-width:575.98px){.lc-home-ann__thumb{flex-basis:84px;width:84px}}

/* The shoot-day offer to enter reporting mode (ReportMode). */
.report-offer{width:min(460px,calc(100vw / var(--lc-zoom, 1)) - 24px);padding:22px;border:0;border-radius:22px;background:var(--bs-body-bg,#fff);color:var(--bs-body-color);box-shadow:0 30px 80px rgb(0 0 0 / 35%);text-align:center}
.report-offer::backdrop{background:var(--ws-n-0a0c10-60,rgb(10 12 16 / 60%))}
.report-offer__icon{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:18px;background:var(--brand-red,#a20404);color:#fff;font-size:26px}
.report-offer__eyebrow{margin:14px 0 4px;color:var(--brand-red,#a20404);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.report-offer__eyebrow i{font-size:8px;animation:tk-live 1.4s ease-in-out infinite}
.report-offer h2{margin:0 0 8px;font-size:22px}
.report-offer p{margin:0 0 14px;color:var(--bs-secondary-color)}
.report-offer p strong{color:var(--bs-body-color)}
.report-offer__actions{display:grid;gap:8px}
.report-offer__actions .button{justify-content:center;height:52px;font-size:16px}
.report-offer__list{display:grid;gap:8px;margin:0 0 12px;padding:0;list-style:none;text-align:left}
.report-offer__list a{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--bs-border-color);border-radius:14px;color:inherit;text-decoration:none}
.report-offer__list a:hover{border-color:var(--brand-red,#a20404)}
.report-offer__list span{display:grid;flex:1}
.report-offer__list small{color:var(--bs-secondary-color)}
.report-offer__list i{color:var(--brand-red,#a20404)}
@keyframes tk-live{50%{opacity:.25}}

.lc-home-ann__more{display:flex;justify-content:flex-end;margin:16px 0 0}
/* Unggah dari perangkat (ScriptUploadController): the upload card, and the preview before saving. */
.script-upload{display:grid;gap:12px}
.script-upload header h2{margin:2px 0 4px;font-size:var(--fs-heading,1.1rem)}
.script-upload header p{margin:0;color:var(--bs-secondary-color)}
.script-upload input[type=file]{padding:10px;border:1px dashed var(--bs-border-color);border-radius:12px;background:var(--bs-tertiary-bg)}
.script-upload-facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.script-upload-facts li{display:grid;min-width:110px;padding:8px 12px;border-radius:12px;background:var(--bs-tertiary-bg)}
.script-upload-facts small{color:var(--bs-secondary-color);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.script-upload-facts strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.script-upload-text{max-height:calc(60vh / var(--lc-zoom, 1));margin:0;padding:18px 22px;overflow:auto;border:1px solid var(--bs-border-color);border-radius:12px;background:var(--bs-body-bg);font:13px/1.55 "Courier Prime",Courier,monospace;white-space:pre-wrap}
/* Projects using a crew position (crew-positions.js): contained however long the list grows. */
.position-usage__search{margin-bottom:8px}
.position-usage__list{max-height:300px;margin:0;padding:0 4px 0 0;overflow-y:auto;list-style:none;overscroll-behavior:contain}
.position-usage__list li{display:grid;padding:6px 0;border-bottom:1px solid var(--bs-border-color)}
.position-usage__list li:last-child{border-bottom:0}
.position-usage__list small{color:var(--bs-secondary-color)}
/* Sortable table headers (table-sort.js) */
.th-sort{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
.th-sort__icon{font-size:.8em;opacity:.35}
th[aria-sort=ascending] .th-sort__icon,th[aria-sort=descending] .th-sort__icon{opacity:1;color:var(--brand-red,#a20404)}
.th-sort:focus-visible{outline:2px solid rgb(162 4 4 / 40%);outline-offset:2px;border-radius:4px}
th.text-end .th-sort{flex-direction:row-reverse}

/* A person in a list (Tim proyek): round picture, or initials on the brand tint, beside the name. */
.team-person{display:flex;align-items:center;gap:.65rem;min-width:0}
.person-avatar{flex:0 0 2.25rem;width:2.25rem;height:2.25rem;border-radius:6px;object-fit:cover;background:var(--tint,#eef0f3)}
.person-avatar.is-initials{display:inline-grid;place-items:center;background:var(--tint-red,#fbeaea);color:var(--brand-red,#a20404);font-size:.74rem;font-weight:800;letter-spacing:.02em}
.person-avatar.is-initials::before{content:attr(data-initials)}
[data-bs-theme=dark] .person-avatar.is-initials{background:rgba(162,4,4,.28);color:#ffb3b3}

/* Drawn stand-ins for missing pictures (Placeholder): shaped like the photo they replace. */
img.lc-placeholder{object-fit:cover}
img.lc-placeholder.provider-logo{padding:0;background:none;object-fit:cover}
img.lc-placeholder.admin-navbar-avatar,img.lc-placeholder.admin-list__avatar,img.lc-placeholder.person-avatar,img.lc-placeholder.opt-person__pic{border-radius:6px;background:none}
.carousel-empty{position:relative;overflow:hidden;padding:0;border-style:solid}
.carousel-empty img.carousel-empty__art{position:absolute;inset:0;width:100%;height:100%}
.carousel-empty__note{position:absolute;left:50%;bottom:.7rem;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .65rem;border-radius:999px;background:var(--ws-n-111317-62,rgb(17 19 23 / 62%));color:#f1f3f5;font-size:var(--fs-meta,.78rem);white-space:nowrap}
.carousel-empty__note i{font-size:.85rem}
.module-table td .team-person{min-height:2.25rem}

/* Dark theme: brand-red text uses the light red, readable on dark (§13.1). */
[data-bs-theme=dark] .inbox-item__kind--script{background:rgb(255 115 120 / 14%);color:#ff9a9e}
[data-bs-theme=dark] .flow-step.is-current .flow-step__marker{border-color:#ff7378;color:#ff9a9e}
[data-bs-theme=dark] .flow-step.is-current .flow-step__text strong{color:#ff9a9e}
/* The project flow on a phone: one step per line instead of a strip that scrolls sideways. */
@media (max-width:575.98px){
  .flow-steps{flex-direction:column;gap:.35rem;overflow:visible}
  .flow-step{flex-direction:row;align-items:center;gap:.7rem;min-width:0;padding:0;text-align:left}
  .flow-step::before{display:none}
  .flow-step__marker{flex:0 0 2rem}
  .flow-step__text{margin-top:0}
}
/* A single-photo field: the picture whole (contained, never cropped) beside the file field and one block of guidance. */
.form-photo-field{display:flex;align-items:flex-start;gap:1rem;padding:.75rem;border:1px solid var(--bs-border-color);border-radius:.8rem;background:var(--bs-tertiary-bg)}
.form-photo-field__preview{flex:0 0 9rem;display:grid;place-items:center;height:6rem;overflow:hidden;border-radius:.6rem;background:var(--ws-surface-raised,var(--bs-tertiary-bg))}
.form-photo-field__preview img{width:100%;height:100%;object-fit:contain}
.form-photo-field__preview img.lc-placeholder{object-fit:cover}
.form-photo-field__none{display:grid;place-items:center;width:100%;height:100%;background:var(--bs-body-bg);color:var(--bs-secondary-color);font-size:1.6rem}
.form-photo-field__body{display:grid;gap:.45rem;flex:1;min-width:0}
.form-photo-field__remove{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600}
.form-photo-field__remove input{width:auto;min-height:auto}
.form-photo-field .image-upload-help{margin:0}
@media (max-width:575.98px){.form-photo-field{flex-direction:column}.form-photo-field__preview{flex-basis:auto;width:100%;height:8rem}}

/* Tim proyek: the whole row opens the person's profile (the name is the stretched link); its buttons stay on top. */
.module-table tr:has(.lc-person-link){position:relative;cursor:pointer}
.module-table tr:has(.lc-person-link):hover .lc-person-link{color:var(--link);text-decoration:none}
.module-table tr:has(.lc-person-link) .module-actions{position:relative;z-index:2}

/* Narrow containers: a row whose actions are empty (a read-only or finished project) shows no "Tindakan" label. */
@container (max-width: 36rem){
  table.is-stackable td:has(> .module-actions:empty){display:none}
  /* Tim proyek as compact cards: the person on the first line, then "role · type · status", then the buttons. */
  table.is-stackable.team-table tr{display:flex;flex-wrap:wrap;align-items:center;column-gap:.45rem;row-gap:.2rem;padding:.75rem .9rem .75rem calc(.9rem + 2.9rem)}
  table.is-stackable.team-table td{width:auto;padding:0!important}
  table.is-stackable.team-table td::before{display:none}
  table.is-stackable.team-table td:first-child{width:calc(100% + 2.9rem);margin:0 0 .15rem -2.9rem}
  table.is-stackable.team-table td:nth-child(n+2):nth-child(-n+4){color:var(--bs-secondary-color);font-size:var(--fs-meta,.88rem)}
  table.is-stackable.team-table td:nth-child(n+3):nth-child(-n+4)::before{display:inline;content:"·";margin:0 .45rem 0 0;font-size:inherit;letter-spacing:0;text-transform:none}
  table.is-stackable.team-table td:last-child{width:100%;margin-top:.35rem}
  table.is-stackable.team-table .module-actions{justify-content:flex-start}
  table.is-stackable.team-table tr.is-editing{box-shadow:inset 3px 0 0 var(--brand-red)}
}

/* Tim proyek (table): every cell lines up with the picture and name. */
table.module-table.team-table>tbody>tr>td{vertical-align:middle}
/* A stacked row is one card: its hover (and editing) shade covers the card, with the red edge on its left, never cell by cell. */
@container (max-width: 36rem){
  table.is-stackable>tbody>tr>*,table.is-stackable>tbody>tr:hover>*,table.is-stackable.spec-table>tbody>tr:hover>:first-child{box-shadow:none!important;--bs-table-bg-state:transparent;--bs-table-accent-bg:transparent;background:transparent!important}
  table.is-stackable>tbody>tr:hover,table.is-stackable>tbody>tr.is-editing{background:var(--tint-red);box-shadow:inset 3px 0 0 var(--danger)}
  table.is-stackable tr.is-editing td{background:transparent!important}
}

/* The lock icon leads the sentence; a finished project's note carries the brand edge. */
.module-readonly>i:first-child{margin-right:.4rem}
.module-readonly.module-closed{border-left-color:var(--brand-red,#a20404);color:var(--bs-body-color)}
/* A username stays whole; a table's Ubah and Hapus sit side by side; */
.team-person small{white-space:nowrap}
.module-table .module-actions{flex-wrap:nowrap}
.module-table .module-actions>*{flex:0 0 auto}

/* Toolbar selects draw their own chevron; the browser's picker icon would make two. */
.list-controls__field select::picker-icon{display:none}
/* A field's error message (AdminLTE appends .invalid-feedback to the field's parent) always takes its own line under an
   inline form, so it never squeezes the field or its button. */
form:has(> .invalid-feedback),.flow-override__form{flex-wrap:wrap}
form > .invalid-feedback,.flow-override__form > .invalid-feedback{flex:1 0 100%;order:10;margin-top:.1rem}
.flow-override__form input{flex:1 1 12rem}
/* Edit mode opens as a modal dialog over the list (assets/js/edit-dialog.js). */
dialog.edit-dialog{width:min(980px,calc(calc(100vw / var(--lc-zoom, 1)) - 32px));max-width:none;max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 32px);margin:auto;padding:0;border:0;border-radius:1rem;background:transparent;color:inherit;overflow:visible}
dialog.edit-dialog::backdrop{background:var(--ws-n-0a0c0f-58,rgb(10 12 15 / 58%))}
dialog.edit-dialog>section.module-form{margin:0!important;max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 32px);overflow:auto;box-shadow:0 24px 60px rgb(0 0 0 / 35%)}
dialog.edit-dialog>section.module-form>.section-head{position:sticky;top:0;z-index:2;background:inherit}
@media (max-width:575.98px){dialog.edit-dialog{width:calc(calc(100vw / var(--lc-zoom, 1)) - 16px);max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 16px)}dialog.edit-dialog>section.module-form{max-height:calc(calc(100dvh / var(--lc-zoom, 1)) - 16px)}}

/* Casting candidates (Casting crew / Casting talent): tick box, progress with a step bar, and the confirm bar. */
.casting-pick{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;margin:0;cursor:pointer}
.casting-pick input{width:1.15rem;height:1.15rem;accent-color:var(--brand-red);cursor:pointer}
.casting-pick input:disabled{cursor:not-allowed;opacity:.45}
.casting-pick.is-done input{opacity:1;accent-color:var(--success)}
.casting-progress{display:inline-flex;flex-direction:column;gap:.3rem;min-width:8.5rem}
.casting-progress__label{font-size:.86rem;font-weight:700;white-space:nowrap}
.casting-progress__bar{display:flex;gap:3px}
.casting-progress__bar i{flex:1 1 0;height:5px;border-radius:3px;background:var(--bs-border-color)}
.casting-progress__bar i.is-on{background:var(--brand-red)}
.casting-progress.is-team .casting-progress__bar i.is-on{background:var(--success)}
.casting-progress.is-out .casting-progress__label{color:var(--bs-secondary-color);text-decoration:line-through}
.casting-table tr:has(.casting-pick input:checked:not(:disabled))>td{background:var(--tint-red)}
.casting-confirm{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin-top:.9rem;padding:.8rem 1rem;border:1px dashed var(--bs-border-color);border-radius:.8rem}
.casting-confirm p{flex:1 1 18rem;margin:0;color:var(--bs-secondary-color);font-size:.88rem}
.casting-confirm p i{color:var(--link)}
.casting-confirm__count:empty{display:none}
.casting-confirm__count{display:inline-grid;place-items:center;min-width:1.4rem;height:1.4rem;margin-left:.2rem;padding:0 .35rem;border-radius:999px;background:#fff;color:var(--brand-red);font-size:.75rem;font-weight:800}
/* A candidate row's actions: Ubah and Hapus, with the quick progress update on its own line below. */
.casting-table .module-actions{flex-wrap:wrap;justify-content:flex-end;width:13rem;margin-left:auto}
.casting-table .module-actions>.module-ops{display:flex;flex:1 1 100%;flex-wrap:nowrap;gap:.35rem}
.casting-table .module-actions>.module-ops select{flex:1 1 auto;width:auto;min-width:0}
.casting-note{display:block;max-width:16rem;margin-top:.2rem;color:var(--bs-secondary-color);font-size:.82rem;overflow-wrap:anywhere}
.casting-source{margin-top:.3rem}
.casting-confirm button:disabled{opacity:.55;cursor:not-allowed}
.delete-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.2rem 1rem;margin:.25rem 0 .75rem;padding-left:1.1rem}

/* Proyek list (ProjectController::index): a picture, the title (the row's link, stretched over the row) and the code. */
.lc-stretch-link{color:inherit;font-weight:700;text-decoration:none}
.lc-stretch-link::after{content:"";position:absolute;inset:0}
.lc-row-link:hover .lc-stretch-link,.lc-stretch-link:focus-visible{color:var(--link);text-decoration:none}
.lc-stretch-link:focus-visible{outline:none}
.lc-row-link:has(.lc-stretch-link:focus-visible){outline:2px solid var(--link);outline-offset:-2px}
/* A row whose page is a view of another page (clean addresses, §13.10) stretches a view button the same way. */
.lc-row-link button.lc-stretch-link[data-view-link]{position:static;z-index:auto;text-align:start}
.module-table.project-list td{vertical-align:middle}
.project-list__item{display:flex;align-items:center;gap:.8rem;min-width:15rem}
.project-list__thumb{flex:0 0 96px;width:96px;aspect-ratio:16/10;overflow:hidden;border-radius:.6rem;background:var(--bs-tertiary-bg)}
.project-list__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.project-list__name{min-width:0}
.project-list__name small{display:block;margin-top:.15rem;color:var(--bs-secondary-color);font-size:var(--fs-micro,.76rem);font-weight:700;letter-spacing:.04em}
/* A stacked project row: picture and title across, then the details two by two. */
@container (max-width: 36rem){
  table.is-stackable.project-list tr{display:grid;grid-template-columns:1fr 1fr;column-gap:1rem}
  table.is-stackable.project-list td:first-child{grid-column:1/-1}
  table.is-stackable.project-list td:first-child::before{display:none}
  table.is-stackable.project-list td.text-end{text-align:left!important}
}

/* Clickable rows, the site standard (the same as the dialog rows, [data-dialog-open]): a row, list item or card that opens
   another page carries .lc-row-link, and its title is the link stretched over it (.lc-stretch-link or .lc-person-link).
   Hover or keyboard focus shades it light red with a 3 px red bar on the left and turns the title red; nothing in it is
   ever underlined. Its own buttons, forms and secondary links sit above the stretched link. */
tr.lc-row-link:is(:hover,:has(:focus-visible))>*{box-shadow:inset 0 0 0 9999px var(--tint-red)}
tr.lc-row-link:is(:hover,:has(:focus-visible))>:first-child{box-shadow:inset 3px 0 0 var(--danger),inset 0 0 0 9999px var(--tint-red)}
.lc-row-link:not(tr):is(:hover,:has(:focus-visible)){background-color:var(--tint-red);box-shadow:inset 3px 0 0 var(--danger)}
.lc-row-link a,.lc-row-link a:is(:hover,:focus-visible){text-decoration:none!important}
.lc-row-link :is(a:not(.lc-stretch-link,.lc-person-link),button,form,details,summary,input,select,label,.module-actions){position:relative;z-index:2}
/* An attention item already has its level bar on the left: hover reddens that bar instead of adding a second one. */
.attention.lc-row-link:is(:hover,:has(:focus-visible)){box-shadow:none;border-left-color:var(--danger)}
.tracker-facts .lc-stretch-link{font-weight:inherit}
/* Rows laid out edge to edge get inner room on hover's shade, their content still lined up with the card's other text. */
:is(.production-project,.flow-logistics>li,.tracker-facts>li,.budget-rows>li,.task-board>li).lc-row-link{margin-inline:-.6rem;padding-inline:.6rem}
/* The script inside the project (Naskah page): its title block sits a little apart from the script's own stepper. */
.script-page-head{margin-bottom:1rem}

/* Pengaturan › Struktur, Roadmap & FAQ (PlaybookController): year chips, part tabs, and nested lists of items that
   can be added, removed and reordered. */
.pb-years{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1rem}
.pb-years__list,.pb-years__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pb-year{display:inline-flex;align-items:center;gap:8px;padding:.45rem .8rem;border:1px solid var(--bs-border-color);border-radius:999px;color:var(--bs-body-color);text-decoration:none}
.pb-year.is-active{border-color:var(--brand-red);box-shadow:0 0 0 3px var(--tint-red)}
.pb-year:hover{background:var(--bs-tertiary-bg);color:var(--bs-body-color)}
.pb-tabs{position:sticky;top:68px;z-index:8;display:flex;flex-wrap:wrap;gap:6px;margin-bottom:1rem;padding:.4rem;border:1px solid var(--ws-border,var(--bs-border-color));border-radius:var(--ws-r-md,12px);background:var(--ws-surface,var(--bs-body-bg));box-shadow:0 4px 14px rgb(0 0 0 / 12%)}
.pb-tabs a{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .9rem;border-radius:999px;color:var(--bs-body-color);font-weight:600;text-decoration:none}
.pb-tabs a:hover{background:var(--bs-tertiary-bg);color:var(--bs-body-color)}
.pb-tabs a.is-active{background:var(--brand-red);color:#fff}
.pb-panel h2{margin:1.2rem 0 .6rem;font-size:var(--fs-heading,1.15rem)}
.pb-panel h2:first-child{margin-top:0}
.pb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:.6rem 1rem}
.pb-grid--4{grid-template-columns:2fr 1fr 1fr auto}
.pb-grid--class{grid-template-columns:3fr 1fr}
.pb-grid--event{grid-template-columns:140px 160px 160px minmax(180px,1fr)}
.pb-field{display:flex;flex-direction:column;gap:.25rem;margin:0 0 .5rem;min-width:0}
.pb-field>span{color:var(--bs-secondary-color);font-size:var(--fs-meta,.78rem);font-weight:700}
.pb-field input,.pb-field textarea,.pb-field select{width:100%}
.pb-check{align-self:end;margin-bottom:.9rem}
.pb-photo{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;margin:.5rem 0 1rem}
.pb-photo img,.pb-photo__none{width:180px;aspect-ratio:16/10;border-radius:.7rem;object-fit:cover;background:var(--bs-tertiary-bg)}
.pb-photo__none{display:grid;place-items:center;color:var(--bs-secondary-color);font-size:2rem}
.pb-list{margin:.4rem 0 .8rem;padding:.75rem;border:1px dashed var(--bs-border-color);border-radius:.9rem}
.pb-list__title{margin:0 0 .5rem;font-weight:800;font-size:var(--fs-meta,.9rem)}
.pb-items{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem}
.pb-item{position:relative;min-width:0;padding:.75rem 2.9rem .5rem .8rem;border:1px solid var(--bs-border-color);border-radius:.8rem;background:var(--bs-body-bg)}
.pb-list--compact .pb-item{padding:.5rem 2.9rem .1rem .6rem}
.pb-item__tools{position:absolute;top:.4rem;right:.35rem;display:flex;flex-direction:column;gap:2px}
.pb-tool{display:grid;place-items:center;width:1.9rem;height:1.6rem;padding:0;border:1px solid var(--bs-border-color);border-radius:.45rem;background:var(--bs-body-bg);color:var(--bs-secondary-color);font-size:.72rem}
.pb-tool:hover{background:var(--bs-tertiary-bg);color:var(--bs-body-color)}
.pb-tool--danger:hover{border-color:var(--brand-red);color:var(--brand-red)}
.pb-add{margin-top:.6rem}
.pb-savebar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.7rem 1rem;border:1px solid var(--bs-border-color);border-radius:1rem;background:var(--bs-body-bg);box-shadow:0 -6px 20px rgb(0 0 0 / 6%)}
@media (max-width:767.98px){.pb-grid--4,.pb-grid--class,.pb-grid--event{grid-template-columns:minmax(0,1fr)}}
/* Homepage Roadmap panel (site/home-roadmap): the Pengumuman list's rows, with a date tile in place of the picture. */
.lc-home-road__month{color:#a20404;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
[data-site-theme=dark] .lc-home-road__month{color:#ff7378}
.lc-home-road__date{display:flex;flex:0 0 72px;flex-direction:column;align-items:center;justify-content:center;width:72px;height:64px;border-radius:12px;background:#fbeaea;color:#a20404;line-height:1.05;text-align:center}
.lc-home-road__date strong{font-size:22px;font-weight:800;letter-spacing:-.02em}
.lc-home-road__date small{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.lc-home-road__date i{font-size:20px}
.lc-home-road__date.is-kind{background:#eef0f3;color:#3b424c}
[data-site-theme=dark] .lc-home-road__date{background:#3a1b1e;color:#ff9aa0}
[data-site-theme=dark] .lc-home-road__date.is-kind{background:var(--ws-n-2a3038,#2a3038);color:#ced4da}
.lc-home-road__item.is-past{opacity:.92}
.lc-home-road__item.is-today .lc-home-road__date{background:#a20404;color:#fff}
/* Overview key people: each holder's picture beside the name. */
.flow-people dd{display:flex;flex-wrap:wrap;gap:.35rem .9rem}
.flow-person{display:inline-flex;align-items:center;gap:.5rem;min-width:0}
.flow-person .person-avatar{flex:0 0 32px;width:32px;height:32px;object-fit:cover}
/* The override pill stays readable in both themes: white on dark amber (light theme), dark ink on light amber (dark theme). */
[data-bs-theme=dark] .flow-override-badge,[data-site-theme=dark] .flow-override-badge{background:#f3c969;color:#1a1d21}
/* Personal & ministry details (people/ministry): the facts in as many columns as fit, each value under its label. */
.ministry-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:1rem 1.75rem;margin:0}
.ministry-item{min-width:0}
.ministry-item dt{font-size:var(--fs-micro,.8rem);color:var(--bs-secondary-color)}
.ministry-item dd{margin:.2rem 0 0 1.65rem;font-weight:600;overflow-wrap:anywhere}
.ministry-item.is-empty dd{color:var(--bs-secondary-color);font-weight:400}
.ministry-note{margin:1rem 0 0;color:var(--bs-secondary-color);font-size:var(--fs-meta,.85rem)}
.ministry-item.is-wide{grid-column:span 2}
.ministry-item.is-wide dd{overflow-wrap:normal;word-break:normal}
.ministry-item__sub{display:block;margin-top:.1rem;color:var(--bs-secondary-color);font-size:.85rem;font-weight:500}
@media (max-width:575.98px){.ministry-item.is-wide{grid-column:auto}.ministry-item.is-wide dd{overflow-wrap:anywhere}}
/* Each personal/ministry fact is its own tile, so no value can be read against a neighbouring label. */
.ministry-grid{gap:.75rem}
.ministry-item{padding:.75rem .9rem;border:1px solid var(--bs-border-color);border-radius:.75rem;background:var(--bs-tertiary-bg)}
.ministry-item dd{margin-left:1.65rem}
.ministry-grid{grid-auto-flow:row dense}
/* Project Absensi tab (AttendanceBoard): counts, the results table, and the Generate QR / Catat kehadiran / Ubah modals. */
.attendance-stats{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .9rem;padding:0;list-style:none}
.attendance-stats li{padding:.3rem .75rem;border:1px solid var(--line);border-radius:999px;font-size:var(--fs-meta,.82rem);color:var(--muted)}
.attendance-stats strong{color:var(--text);font-size:var(--fs-body,.95rem)}
.attendance-stats [data-status=present]{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}.attendance-stats [data-status=present] strong{color:#fff}
.attendance-stats [data-status=absent]{border-color:var(--brand-red);background:var(--tint-red);color:var(--link)}
.attendance-person{display:flex;align-items:flex-start;gap:.6rem;min-width:12rem}
.attendance-person__text{display:grid;gap:.1rem;min-width:0}
.attendance-person__text a{color:inherit;text-decoration:none}.attendance-person__text a:hover strong{color:var(--link)}
.attendance-person__text small{color:var(--muted);font-size:.78rem}
.attendance-person__text .badge{justify-self:start;margin-top:.15rem}
.attendance-status{display:inline-block;padding:.12rem .6rem;border:1px solid var(--line);border-radius:999px;font-size:.78rem;font-weight:700;color:var(--muted);white-space:nowrap}
.attendance-status[data-status=present]{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
.attendance-status[data-status=excused]{border-color:#9a5b00;color:#9a5b00}
.attendance-status[data-status=absent]{border-color:var(--brand-red);background:var(--tint-red);color:var(--link)}
[data-bs-theme=dark] .attendance-status[data-status=present],[data-bs-theme=dark] .attendance-stats [data-status=present]{border-color:#e3e6ea;background:#e3e6ea;color:#15181d}
[data-bs-theme=dark] .attendance-stats [data-status=present] strong{color:#15181d}
[data-bs-theme=dark] .attendance-status[data-status=excused]{border-color:#f0b35a;color:#f0b35a}
.attendance-table td{vertical-align:top}
.attendance-table td:nth-child(2){min-width:12rem}.attendance-table td:nth-child(n+3){white-space:nowrap}.attendance-table td.attendance-remark{white-space:normal;min-width:10rem}
.attendance-remark{max-width:18rem;overflow-wrap:anywhere}
.attendance-dialog{width:min(640px,calc(calc(100vw / var(--lc-zoom, 1)) - 32px))}
.attendance-dialog .section-head{gap:.75rem}
.attendance-dialog .section-head h2 i{color:var(--brand-red);margin-right:.25rem}
.attendance-dialog__error{margin:0 0 1rem;padding:.6rem .8rem;border-left:3px solid var(--brand-red);border-radius:.4rem;background:var(--tint-red);color:var(--link);font-weight:600}
.attendance-dialog__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1rem}
.attendance-dialog [aria-invalid=true]{border-color:var(--brand-red)!important;box-shadow:0 0 0 3px rgb(162 4 4 / 14%)}
.attendance-dialog [hidden]{display:none!important}
.attendance-dialog select option{white-space:normal}
.attendance-dialog select hr{margin:.35rem .5rem;border:0;border-top:1px solid var(--line);opacity:1}
.attendance-qr-dialog .qr-export-block{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--line)}
.attendance-qr-dialog .qr-export-block summary{cursor:pointer;font-weight:700}
.attendance-qr-dialog .qr-export-block summary i{margin-right:.35rem;color:var(--muted)}
.attendance-qr-dialog .qr-export{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 .25rem}
.attendance-qr-stage{display:grid;place-items:center}
/* The live QR as a card: a dark red header with the action and event, the code on white, the count and countdown. */
.qr-card{width:min(440px,100%);overflow:hidden;border-radius:1.25rem;background:var(--surface);box-shadow:0 30px 70px rgb(0 0 0 / 40%);text-align:center}
.qr-card__head{padding:1.25rem 1.5rem 1.1rem;background:linear-gradient(135deg,#a20404 0%,#5e0202 55%,#1b1f25 100%);color:#fff}
.qr-card__brand{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .65rem;border:1px solid rgb(255 255 255 / 35%);border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.qr-card__head h2{margin:.7rem 0 .35rem;color:#fff;font-size:1.7rem;font-weight:800;line-height:1.1}
.qr-card__event{display:grid;gap:.1rem;margin:0;font-size:.95rem}
.qr-card__event span{opacity:.8;font-size:.82rem}
.qr-card__when{margin:.55rem 0 0;font-size:.8rem;opacity:.85}
.qr-card__when span{margin-left:.5rem}
.qr-card__code.qr-box{display:block;margin:1.25rem auto .5rem;padding:14px;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;width:fit-content}
.qr-card__code img{width:min(280px,calc(62vw / var(--lc-zoom, 1)));height:auto;aspect-ratio:1}
.qr-card__hint{margin:.25rem 1.5rem .75rem;color:var(--muted);font-size:.85rem}
.qr-card__meta{display:flex;justify-content:space-between;gap:1rem;margin:0 1.5rem;padding:.6rem 0;border-top:1px dashed var(--line);font-size:.85rem;color:var(--muted)}
.qr-card__meta strong{color:var(--text);font-size:1.05rem}
.qr-card__state{min-height:1.2em;margin:.35rem 1.5rem;color:var(--link);font-size:.85rem;font-weight:600}
.qr-card__state:empty{display:none}
.qr-card__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;padding:.75rem 1.25rem 1.25rem}
.qr-card:fullscreen{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border-radius:0}
.qr-card:fullscreen .qr-card__head{width:100%}
.qr-card:fullscreen .qr-card__code img{width:min(calc(70vh / var(--lc-zoom, 1)),calc(80vw / var(--lc-zoom, 1)))}
.attendance-qr-dialog:has(.attendance-qr-stage:not([hidden])){width:min(480px,calc(calc(100vw / var(--lc-zoom, 1)) - 32px))}
@media(max-width:575.98px){.attendance-person{min-width:9rem}.qr-card__head h2{font-size:1.4rem}}

/* Overview › Tim proyek: one compact row per person (picture, name, role; Cast/Crew at the right). */
.overview-team{display:grid;margin:0 0 .75rem;padding:0;list-style:none}
.overview-team__row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .25rem;border-bottom:1px solid var(--line)}
.overview-team__row:last-child{border-bottom:0}
.overview-team__who{display:grid;min-width:0;line-height:1.25}
.overview-team__who strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-team__who small{color:var(--muted);font-size:var(--fs-meta,.8rem)}
.overview-team__who a{color:inherit;text-decoration:none}.overview-team__who a:hover strong{color:var(--link)}
.overview-team__row>.badge{flex:0 0 auto}

/* Overview › Timeline proyek: one compact row per stage (marker, title, date range, status); overdue rows in red. */
.flow-timeline{display:grid;margin:0;padding:0;list-style:none}
.flow-timeline__row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.15rem .75rem;padding:.55rem .25rem;border-bottom:1px solid var(--line)}
.flow-timeline__row:last-child{border-bottom:0}
.flow-timeline__mark{width:.7rem;height:.7rem;border:2px solid var(--muted);border-radius:50%}
.flow-timeline__row[data-status=done] .flow-timeline__mark{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036)}
.flow-timeline__row[data-status=cancelled]{opacity:.6}
.flow-timeline__row.is-late .flow-timeline__mark{border-color:var(--brand-red);background:var(--tint-red)}
[data-bs-theme=dark] .flow-timeline__row[data-status=done] .flow-timeline__mark{border-color:#e3e6ea;background:#e3e6ea}
.flow-timeline__what{display:grid;min-width:0;line-height:1.25}
.flow-timeline__what small{color:var(--muted);font-size:.8rem}
.flow-timeline__when{display:flex;flex-wrap:wrap;gap:0 .5rem;grid-column:2;grid-row:2;font-size:var(--fs-meta,.85rem);color:var(--muted)}
.flow-timeline__row>.badge{grid-column:3;grid-row:1}
.flow-timeline__when .flow-late{font-size:.75rem}

/* Override panel rows: the gate at the left, its state (override, met, or the form) in one right-hand column for every row. */
.flow-override__list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,30rem);align-items:center}
.flow-override__side{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .5rem;min-width:0}
.flow-override__side>small{color:var(--muted);flex:1 1 10rem;min-width:0}
.flow-override__side>.flow-override__form{flex:1 1 16rem;max-width:none}
@media(max-width:767.98px){.flow-override__list>li{grid-template-columns:minmax(0,1fr)}}

/* Project › Naskah with no script yet: two ways to start, side by side (stacked on phones). */
.script-start__options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem}
.script-start__option{display:flex;flex-direction:column;gap:.6rem;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:.8rem;background:var(--tint)}
.script-start__option h3{margin:0;font-size:1.05rem;font-weight:800}
.script-start__option h3 i{color:var(--brand-red);margin-right:.35rem}
.script-start__option p{margin:0;color:var(--muted);font-size:.9rem}
.script-start__option .field{margin:0}
.script-start__option>.button{align-self:flex-start;margin-top:auto}

/* Overview › Periode produksi: the three periods on a line (stacked on phones), the next lock and its undo. */
.period-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0 0 .75rem;padding:0;list-style:none;counter-reset:none}
.period-track__item{position:relative;display:grid;gap:.1rem;padding:.65rem .8rem .65rem 2rem;border:1px solid var(--line);border-radius:.7rem;color:var(--muted)}
.period-track__item strong{color:var(--text)}
.period-track__item small{font-size:var(--fs-meta,.8rem)}
.period-track__dot{position:absolute;left:.75rem;top:.95rem;width:.7rem;height:.7rem;border:2px solid var(--muted);border-radius:50%}
.period-track__item.is-done .period-track__dot{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036)}
.period-track__item.is-now{border-color:var(--brand-red);background:var(--tint-red)}
.period-track__item.is-now .period-track__dot{border-color:var(--brand-red);background:var(--brand-red)}
[data-bs-theme=dark] .period-track__item.is-done .period-track__dot{border-color:#e3e6ea;background:#e3e6ea}
.period-lock__actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.5rem}
.period-lock>summary{list-style:none;cursor:pointer}
.period-lock>summary::-webkit-details-marker{display:none}
.period-lock[open]{flex:1 1 100%}
.period-lock__body{margin-top:.6rem;padding:.8rem 1rem;border:1px solid var(--line);border-radius:.7rem;background:var(--tint)}
.period-lock__body p{margin:0 0 .5rem}
.period-lock__hint{color:var(--muted);font-size:var(--fs-meta,.85rem);font-weight:700}
.period-reminders{display:grid;gap:.25rem;margin:0 0 .75rem;padding:0;list-style:none;font-size:var(--fs-meta,.9rem)}
.period-reminders .is-ok i{color:var(--text)}
.period-reminders .is-open{color:var(--muted)}
.period-lock__form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.5rem}
.period-lock__form .field{flex:1 1 16rem;margin:0}
@media(max-width:575.98px){.period-track{grid-template-columns:minmax(0,1fr)}}

.attendance-period{display:inline-block;margin-top:.2rem;padding:0 .45rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem;font-weight:700}
.attendance-period[data-period=production]{border-color:var(--brand-red);color:var(--link)}

/* Screenplay canvas (§7.1, screenplay-editor.js and Screenplay::html): a white Letter page in Courier 12 pt with the
   standard margins (1.5 in left, 1 in right); the page scales down with its column, keeping the proportions. */
.sp-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;padding:.6rem 1rem;border-bottom:1px solid var(--line);background:var(--tint)}
.sp-toolbar__group{display:flex;align-items:center;gap:.25rem;margin:0}
.sp-toolbar__group>span{color:var(--muted);font-size:.75rem;font-weight:700;margin-right:.25rem;white-space:nowrap}
.sp-toolbar select{width:auto;min-width:9rem;padding:.3rem 2rem .3rem .6rem;font-size:var(--fs-meta,.88rem)}
.sp-tool{display:inline-grid;place-items:center;min-width:2.1rem;height:2.1rem;padding:0 .45rem;border:1px solid transparent;border-radius:.45rem;background:transparent;color:var(--text);cursor:pointer}
.sp-tool:is(:hover,:focus-visible){border-color:var(--line);background:var(--surface);outline:none}
.sp-tool.is-on{border-color:var(--brand-red);color:var(--brand-red);background:var(--surface)}
.sp-toolbar.is-text .sp-toolbar__group:not(.sp-toolbar__spacing){opacity:.4;pointer-events:none}
.sp-canvas{container-type:inline-size;padding:1.25rem;background:#e9ebee;overflow:hidden}
[data-bs-theme=dark] .sp-canvas{background:var(--ws-n-0f1216,#0f1216)}
.sp-page{--in:min(96px,calc((100cqw - 2px) / 8.5));--sp-line:1;box-sizing:border-box;width:calc(var(--in) * 8.5);min-height:calc(var(--in) * 11);margin:0 auto;padding:var(--in) var(--in) var(--in) calc(var(--in) * 1.5);background:#fff;color:#111;box-shadow:0 6px 24px rgb(0 0 0 / 18%);font:max(14px,calc(var(--in) / 6))/calc(var(--sp-line) * 1.2) "Courier Prime","Courier New",Courier,monospace;outline:none;caret-color:#a20404}
.sp-page.is-reading{min-height:0}
.sp-el{margin:0 0 calc(1em * var(--sp-line) * 1.2);min-height:calc(1em * 1.2);white-space:pre-wrap;overflow-wrap:break-word}
.sp-scene{font-weight:700;text-transform:uppercase;margin-top:calc(1em * 1.2)}
.sp-scene:first-child{margin-top:0}
.sp-character{margin:0 0 0 calc(var(--in) * 2.2);text-transform:uppercase}
.sp-parenthetical{margin:0 0 0 calc(var(--in) * 1.6);max-width:calc(var(--in) * 2)}
.sp-dialogue{margin-left:var(--in);max-width:calc(var(--in) * 3.5)}
.sp-transition{text-align:right;text-transform:uppercase}
.sp-centered{text-align:center}
.sp-section{font-weight:700;color:#5b6270}
.sp-section-1{font-size:1.05em}
.sp-note{padding:.1em .35em;border-left:3px solid #c9a227;background:#fbf6e3;color:#6b5a14;font-style:italic}
.sp-spacer{margin-bottom:0}
.sp-page_break{position:relative;height:0;margin:calc(1em * 1.8) calc(var(--in) * -1) calc(1em * 1.8) calc(var(--in) * -1.5);border-top:2px dashed #b9bec6;user-select:none}
.sp-page_break::after{content:attr(data-label);position:absolute;left:50%;top:-.75em;padding:0 .6em;background:#fff;color:#8a9099;font:600 .7em system-ui,sans-serif;transform:translateX(-50%)}
.sp-page.is-reading .sp-page_break::after{content:""}
.sp-action[data-indent="1"]{padding-left:calc(var(--in) * .5)}.sp-action[data-indent="2"]{padding-left:var(--in)}.sp-action[data-indent="3"]{padding-left:calc(var(--in) * 1.5)}.sp-action[data-indent="4"]{padding-left:calc(var(--in) * 2)}.sp-action[data-indent="5"]{padding-left:calc(var(--in) * 2.5)}.sp-action[data-indent="6"]{padding-left:calc(var(--in) * 3)}
.sp-page:focus .sp-el:has(:focus),.sp-page:focus-within{outline:none}
.sp-page .sp-el[data-type]:empty::before{content:""}
.sp-empty{color:#8a9099}
[data-screenplay-editor]:not(.is-ready) [data-sp-canvas]{display:none}
.script-exports{flex-wrap:wrap;align-items:center;gap:.4rem}
.script-exports__label{color:var(--muted);font-size:var(--fs-micro,.8rem);font-weight:700;margin-right:.2rem}
/* On a narrow screen the page keeps its proportions for the margins, but the text stays readable (at least 14 px) and re-flows. */
@media(max-width:575.98px){.sp-canvas{padding:.5rem}.sp-page{min-height:0;padding:calc(var(--in) * .6) calc(var(--in) * .4) calc(var(--in) * .6) calc(var(--in) * .6)}.sp-character{margin-left:calc(var(--in) * 1.6)}.sp-parenthetical{margin-left:var(--in);max-width:none}.sp-dialogue{margin-left:calc(var(--in) * .6);max-width:none}.sp-page_break{margin-left:calc(var(--in) * -.6);margin-right:calc(var(--in) * -.4)}}

/* Counts beside a heading or name: the outlined circle of the public site (title.css .tp-section__head h2>span), everywhere in the workspace. */
.module-count{display:inline-grid;place-items:center;box-sizing:border-box;min-width:1.95em;height:1.95em;padding:0 .5em;margin-left:.3em;border:1.5px solid color-mix(in srgb,var(--muted) 55%,transparent);border-radius:999px;background:transparent;color:var(--muted);font-size:var(--fs-micro,.8rem);font-weight:700;line-height:1;vertical-align:.12em;font-variant-numeric:tabular-nums}
.trivia-actions{flex-wrap:nowrap;align-items:center}.trivia-actions form{margin:0}
/* Dialogs that sit directly in the workspace keep their centring: the workspace's spacing between sections is not for them. */
.admin-page-workspace>dialog{margin:auto!important}
/* Media library › Ubah: the file itself above the form. */
.media-edit-preview{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:1rem;align-items:center;margin-bottom:1rem;padding:.75rem;border:1px solid var(--line);border-radius:.8rem;background:var(--tint)}
.media-edit-preview img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:.5rem;background:var(--ws-surface-raised,var(--bs-tertiary-bg))}
.media-edit-preview audio{width:100%}
.media-edit-preview dl{display:grid;grid-template-columns:auto 1fr;gap:.2rem .75rem;margin:0;font-size:.88rem}
.media-edit-preview dt{color:var(--muted);font-weight:600}
.media-edit-preview dd{margin:0;overflow-wrap:anywhere}
@media(max-width:575.98px){.media-edit-preview{grid-template-columns:minmax(0,1fr)}}

/* Administrasi › History tracker: who (picture and name), what, when, and each field from → to. */
.history-table td{vertical-align:top}
.history-when strong{display:block;white-space:nowrap}.history-when small{color:var(--muted);font-size:var(--fs-meta,.78rem);white-space:nowrap}
.history-who{display:flex;align-items:center;gap:.55rem;min-width:11rem}
.history-who>span:last-child{display:grid;line-height:1.25;min-width:0}
.history-who a{color:inherit;text-decoration:none}.history-who a:hover strong{color:var(--link)}
.history-who small{color:var(--muted);font-size:.75rem}
.history-system{display:inline-grid;place-items:center;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;border-radius:6px;background:var(--tint);color:var(--muted)}
.history-action{display:inline-flex;align-items:center;gap:.3rem;padding:.12rem .55rem;border:1px solid var(--line);border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}
.history-action.is-add{border-color:#2b3036;background:var(--ws-n-2b3036,#2b3036);color:#fff}
.history-action.is-change{border-color:#9a5b00;color:#9a5b00}
.history-action.is-delete{border-color:var(--brand-red);background:var(--tint-red);color:var(--link)}
[data-bs-theme=dark] .history-action.is-add{border-color:#e3e6ea;background:#e3e6ea;color:#15181d}
[data-bs-theme=dark] .history-action.is-change{border-color:#f0b35a;color:#f0b35a}
.history-table-name{color:var(--muted);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.history-data{min-width:12rem;max-width:20rem;overflow-wrap:anywhere}
.history-project{display:block;margin-top:.15rem;font-size:.8rem;color:var(--link);text-decoration:none}
.history-changes{display:grid;gap:.2rem;margin:0;padding:0;list-style:none;font-size:var(--fs-meta,.85rem);min-width:14rem}
.history-changes li{overflow-wrap:anywhere}
.history-field{font-weight:700}
.history-from{color:var(--muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--muted) 60%,transparent)}
.history-changes i{font-size:.7rem;color:var(--muted)}
.history-more summary{cursor:pointer;color:var(--link);font-size:.8rem;margin-top:.2rem}
.history-exports{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 .75rem;font-size:var(--fs-meta,.85rem);color:var(--muted)}
.history-exports span{font-weight:700}
/* ListControls › custom date range: two date fields in one control. */
.list-controls__range{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;min-width:min(15rem,100%);padding-right:.9rem;cursor:default}
.list-controls__range legend{float:none;width:100%;margin:0;padding:0}
.list-controls__range input{flex:1 1 6.5rem;min-width:0;padding:.15rem .35rem;border:1px solid var(--line);border-radius:.4rem;background:transparent;color:inherit;font-size:.85rem}
.list-controls__range{flex-direction:row!important;flex-wrap:wrap!important;align-items:center;gap:.25rem .35rem;padding-right:.9rem!important;border-width:0 0 0 1px}
.list-controls__range::after{display:none!important}
.list-controls__range .lc-date-input{flex:1 1 7.5rem;width:7.5rem;min-width:0;height:2rem!important;min-height:0!important;padding:.2rem 1.9rem .2rem .5rem!important;border:1px solid var(--line)!important;border-radius:.4rem!important;font-size:var(--fs-meta,.85rem)!important;background-position:right .45rem center!important;background-size:1rem!important}
/* List controls: the whole toolbar shows focus (.list-controls__bar:focus-within), so the fields inside it do not add their own
   ring on top (the workspace-wide focus glow would otherwise draw a second box inside the first). */
.list-controls .list-controls__search input:focus,.list-controls .list-controls__search input:focus-visible,.list-controls .list-controls__field select:focus,.list-controls .list-controls__field select:focus-visible{border:0!important;outline:0!important;box-shadow:none!important}
.list-controls .list-controls__range .lc-date-input:focus,.list-controls .list-controls__range .lc-date-input:focus-visible{border-color:var(--brand-red)!important;outline:0!important;box-shadow:none!important}
.list-controls .list-controls__field:has(select:focus-visible){background:var(--tint)}
/* Tick boxes in tables are one size, whatever the font of their cell (the header row is set smaller than the rows). */
.table th .form-check-input[type=checkbox],.table td .form-check-input[type=checkbox]{width:1.1rem;height:1.1rem;margin:0;font-size:1rem;vertical-align:middle;flex:0 0 auto}
/* A tick box in a table is its own tap target on a touch screen: 24 px, the minimum, instead of 17.6 px. */
@media (pointer:coarse){.table th .form-check-input[type=checkbox],.table td .form-check-input[type=checkbox]{width:1.5rem;height:1.5rem;font-size:1.5rem}}
/* Screenplay canvas: the Elemen picklist flashes when Tab / Shift+Tab changes the element type. */
@keyframes sp-flash{0%{border-color:var(--brand-red);box-shadow:0 0 0 .2rem rgb(162 4 4 / 28%)}100%{box-shadow:0 0 0 0 rgb(162 4 4 / 0%)}}
.sp-toolbar select.is-flash{animation:sp-flash .9s ease-out}

/* Script page: the change note and "Simpan revision baru" as one row under the editor, then space before the upload card. */
.script-save{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin:1rem 0 1.5rem}
.script-save .field{flex:1 1 20rem;margin:0}
.script-save .button{flex:0 0 auto;min-height:2.5rem}
.script-save+.script-upload,form:has(> .script-save)+.script-upload{margin-top:1.5rem}
@media(max-width:575.98px){.script-save .button{flex:1 1 100%;justify-content:center}}

/* ---------------------------------------------------------------- Long words (public site and workspace)
   A word longer than its box (a pasted link, a name without spaces, a 100-letter joke) never runs off-screen or under
   its neighbours. Ordinary words are never split: text breaks only at the edge of its box (break-word). Text holding
   an unbroken run of 20+ characters is marked .lc-long-word by theme.js and may break anywhere, so it can no longer
   stretch grid columns, flex rows or table columns either. Single-line UI (pills, badges, chips, breadcrumbs, menu
   items, step labels) and names in lists end in "…" instead; theme.js shows the full text on hover. */
html,body,h1,h2,h3,h4,h5,h6,p,dt,dd,blockquote,figcaption,legend{overflow-wrap:break-word}
.stepper li{overflow-wrap:normal}
/* A heading's action button keeps its label on one line; the description beside it wraps instead. */
.section-head>:is(.button,.btn){flex-shrink:0;white-space:nowrap}
.lc-long-word{overflow-wrap:anywhere!important}
pre,code,kbd,samp{white-space:pre-wrap;overflow-wrap:anywhere}
/* One line, ending in "…". */
.badge,.flow-pill,.user-role,.attendance-status,.history-action,.media-category-badge,.media-tag,.attendance-period,.period-track__item small,
.breadcrumb-item,.app-sidebar .nav-link p,.project-step__label,.project-steps :is(a,button) span,.list-controls__label,.script-switch :is(a,button),.tabs :is(a,button[data-view-link]),.media-filter,.users-bulk__count,
.overview-team__who strong,.overview-team__who small,.opt-person__text strong,.opt-person__text small,.flow-timeline__when{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.badge,.flow-pill,.user-role,.attendance-status,.history-action,.media-category-badge,.media-tag,.attendance-period{display:inline-flex;align-items:center;gap:.35em;vertical-align:middle}
/* Names and titles in lists: at most two lines, then "…". */
.team-person strong,.team-person a,.user-who strong,.history-who strong,.attendance-person__text strong,.flow-timeline__what strong,.flow-people dd a,
.history-data strong,.admin-list__who strong,.project-list .lc-person-link,.people-card h3,.project-card h3,.media-name,.lc-row-link strong,
.tp-credit a,.tp-person-card strong,.lc-card-title,.card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* Bulk actions on tables with controls (src/Bulk.php, assets/js/bulk.js): the bar above the table, the tick column, and
   ticked rows shaded like the hover shade. */
.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .6rem;margin:0 0 .75rem;padding:.55rem .75rem;border:1px solid var(--bs-border-color);border-radius:.7rem;background:var(--bs-tertiary-bg)}
.bulk-bar select{width:auto;min-width:13rem;max-width:100%}
.bulk-bar__count{min-width:6rem;color:var(--bs-secondary-color);font-weight:700;font-size:var(--fs-meta,.85rem)}
.bulk-bar.has-selection .bulk-bar__count{color:var(--bs-body-color)}
.bulk-bar__count.is-error{color:var(--danger,#a20404)}
.table .bulk-cell{width:2.6rem;text-align:center;cursor:pointer}
.table tr.is-picked>td{background:var(--tint-red,rgb(162 4 4 / 7%))}
.confirm-dialog{width:min(28rem,calc(calc(100vw / var(--lc-zoom, 1)) - 32px))}
.confirm-dialog footer{display:flex;justify-content:flex-end;gap:.5rem;padding:.8rem 1.2rem;border-top:1px solid var(--bs-border-color)}
.bulk-bar__field{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-size:.85rem;font-weight:600}
.bulk-bar__field[hidden]{display:none}
.bulk-bar__field select{min-width:14rem}

.bulk-bar__all{display:inline-flex;align-items:center;gap:.4rem;margin:0 .4rem 0 0;font-size:var(--fs-meta,.85rem);font-weight:600;cursor:pointer}
.news-item.bulk-item{position:relative}
.bulk-item__tick{display:flex;align-items:flex-start;padding:.2rem .15rem 0 0;cursor:pointer}
.news-item.is-picked{background:var(--tint-red,rgb(162 4 4 / 7%))}
.news-item.bulk-item{grid-template-columns:auto 9.5rem minmax(0,1fr)}
/* On a phone the tick and a small picture share the first row and the details take the full width below. */
@media (max-width:575px){.news-item.bulk-item{grid-template-columns:auto minmax(0,1fr);row-gap:.6rem}.news-item.bulk-item .news-item__media{grid-column:2;width:8rem}.news-item.bulk-item .news-item__body{grid-column:1/-1}}

/* A bulk bar inline with the section's add button (Katalog rental › Produk rental). */
.section-head__bulk{flex-wrap:wrap;justify-content:flex-end;align-items:center}
.section-head__bulk .bulk-bar{margin:0;padding:.3rem .5rem;border-radius:.6rem}
.section-head__bulk .bulk-bar select{min-width:11rem}
/* Katalog venue: the table (main picture, feature chips), the venue page (main picture, links, specification groups,
   gallery with credits, remarks with their authors) and the grouped edit form. */
.form-group-title{margin:.9rem 0 .1rem;padding-top:.8rem;border-top:1px solid var(--bs-border-color);color:var(--ws-accent-text,var(--brand-red,#a20404));font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.form-grid>.field:first-child .form-group-title,.form-grid>.form-group-title:first-child{margin-top:0;padding-top:0;border-top:0}
.venue-table__media{width:5.5rem}
.venue-table__photo{display:block;width:80px;height:56px;border-radius:8px;object-fit:cover;background:var(--bs-tertiary-bg);cursor:zoom-in}
.venue-chips{display:flex;flex-wrap:wrap;gap:.25rem}
.venue-chips span{padding:.12rem .5rem;border:1px solid var(--bs-border-color);border-radius:999px;font-size:.74rem;font-weight:700;white-space:nowrap}
.venue-dialog{width:min(46rem,calc(calc(100vw / var(--lc-zoom, 1)) - 32px))}
.venue-dialog__photo{object-fit:cover!important;cursor:zoom-in}
.admin-page-workspace section.card.venue-detail.venue-detail{display:grid;padding:1rem}
@media(max-width:767.98px){.admin-page-workspace section.card.venue-detail.venue-detail{grid-template-columns:1fr}}
.venue-detail__main{display:block;width:100%;aspect-ratio:4/3;border-radius:.8rem;object-fit:cover;cursor:zoom-in}
.venue-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.venue-link{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;border:1px solid var(--bs-border-color);border-radius:999px;font-size:.85rem;font-weight:600}
.venue-spec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem 1.5rem}
.venue-spec h3{margin:0 0 .5rem;font-size:var(--fs-body,.95rem)}
.venue-spec .record-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem 1rem}
.venue-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr));gap:.8rem;margin-bottom:1rem}
.venue-photo{margin:0;border:1px solid var(--bs-border-color);border-radius:.7rem;overflow:hidden;background:var(--bs-body-bg)}
.venue-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;cursor:zoom-in}
.venue-photo figcaption{display:grid;gap:.15rem;padding:.45rem .55rem;font-size:.82rem}
.venue-photo figcaption small{color:var(--bs-secondary-color)}
.venue-photo__controls,.venue-note__controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.35rem;margin-top:.3rem}
.venue-photo__edit,.venue-note__edit{flex:1 1 100%}
.venue-photo__edit summary,.venue-note__edit summary{cursor:pointer;color:var(--brand-red,#a20404);font-weight:600;font-size:.8rem}
.venue-photo__edit form,.venue-note__edit form{display:grid;gap:.35rem;margin-top:.35rem}
.venue-upload,.venue-note-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:.75rem;align-items:end;padding-top:.8rem;border-top:1px dashed var(--bs-border-color)}
.venue-note-form{grid-template-columns:minmax(0,1fr) auto;border-top:0;padding-top:0;margin-bottom:1rem}
.venue-note-list{display:grid;gap:.8rem;margin:0;padding:0;list-style:none}
.venue-note{display:flex;gap:.75rem;padding:.75rem;border:1px solid var(--bs-border-color);border-radius:.7rem}
.venue-note__avatar{flex:0 0 auto;width:40px;height:40px;border-radius:6px;object-fit:cover}
.venue-note__body{min-width:0;flex:1}
.venue-note__meta{margin:0 0 .25rem}.venue-note__meta span{color:var(--bs-secondary-color);font-size:.8rem}
.venue-note__text{overflow-wrap:anywhere}
@media(max-width:767.98px){.venue-detail{grid-template-columns:1fr}.venue-upload,.venue-note-form{grid-template-columns:1fr}}
/* Ligatures stay off: a typeface can turn "(1)", "(2)"… into circled digits through its standard ligatures, which rewrote what people typed
   ("Episode (1)" showed as "Episode ①"). Text shows exactly as written; count badges are styled boxes, not glyphs. */
body,input,textarea,select,button{font-variant-ligatures:no-common-ligatures}

/* The accept button of a deletion confirmation is solid red in both confirmation forms (page modal and stacked dialog). */
.confirm-dialog [data-confirm-accept].button-danger,#action-confirmation-modal [data-confirm-accept].btn-danger{border-color:var(--brand-red,#a20404)!important;background:var(--brand-red,#a20404)!important;color:#fff!important}
.confirm-dialog [data-confirm-accept].button-danger:hover,#action-confirmation-modal [data-confirm-accept].btn-danger:hover{border-color:#800303!important;background:#800303!important;color:#fff!important}
/* Venue page summary links stay readable on charcoal. */
[data-bs-theme=dark] :is(.venue-photo__edit,.venue-note__edit) summary{color:var(--brand-red-on-dark,#ff7378)}



@container (min-width: 36rem){
  table.is-stacked tr{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));column-gap:1.25rem;align-items:start}
  table.is-stacked td{width:auto}
  table.is-stacked td:is([data-label=""],:not([data-label])){grid-column:1/-1}
}
table.is-stacked td:not(:last-child){text-align:left!important}
/* A field the form check rejected: its message sits right under it (the dialog lists every such field). */
.lc-field-error{margin-top:.3rem;color:#b3261e;font-size:.84rem;font-weight:600;line-height:1.35}
.lc-field-error--group{flex:1 0 100%;width:100%}
[data-bs-theme=dark] .lc-field-error,[data-site-theme=dark] .lc-field-error{color:#ff8a8e}
/* Type once (auto-translate.js): the other language's field while the translator writes it, a label kept for screen
   readers only, and the one-line note beside the form's buttons. */
.lc-tr-off{display:none!important}
.lc-tr-solo{grid-column:1/-1!important}
.lc-tr-solo[class*="col-"]{flex:0 0 100%!important;width:100%!important;max-width:100%!important}
.lc-tr-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.lc-tr-note{display:flex;gap:.45rem;align-items:flex-start;margin:.5rem 0 .75rem;color:var(--lc-muted,#5f6670);font-size:var(--fs-meta,.84rem);line-height:1.4;overflow-wrap:break-word}
.lc-tr-note i{margin-top:.18rem;color:#a20404}
[data-bs-theme=dark] .lc-tr-note,[data-site-theme=dark] .lc-tr-note{color:#b8bec7}
[data-bs-theme=dark] .lc-tr-note i,[data-site-theme=dark] .lc-tr-note i{color:#ff5a5f}
.language-editor-bar .lc-tr-note{margin:0;flex-basis:100%}
/* Several problems in one notice: a left-aligned list. */
.lc-swal-list{margin:.25rem 0 0;padding-left:1.2rem;text-align:left;font-size:.95rem;line-height:1.45}
.lc-swal-list li+li{margin-top:.35rem}
.admin-alert__content{white-space:pre-line}
/* Stand-alone links keep a finger-sized target (at least 28 px tall) without looking any bigger: the drawer's sign-in
   link, "Lihat …" text links, the sign-in card's footer links and "Lupa password?", and credit names on project cards. */
.mobile-menu-company a,.text-link,.login-card-links a,.login-forgot,.lc-search-group__head>a{display:inline-flex;align-items:center;min-height:28px}
.lc-pcard__credit .tp-person{display:inline-block;padding-block:5px}
.lc-application-status .contact-symbol{width:42px}
/* Public site: every link, button, checkbox and radio shows where keyboard focus is — a white ring edged in brand red,
   visible on light and dark backgrounds alike (mouse clicks do not show it). Text fields keep their own focus style. */
[data-theme-scope=site] :is(a,button,summary,[role=button],input[type=checkbox],input[type=radio],[tabindex]:not([tabindex="-1"]):not(input,select,textarea)):focus-visible{outline:2px solid #fff!important;outline-offset:1px!important;box-shadow:0 0 0 6px #a20404!important}
/* Every screen shows the page at the same scale: nothing zooms by screen size, 1440p and 4K included (--lc-zoom stays 1;
   the rules and scripts that divide by it are unaffected). */
/* Vendor rules sized by the viewport (AdminLTE sidebar and page height, sign-in page, Bootstrap backdrops and utilities). */
.app-sidebar{max-height:calc(100vh / var(--lc-zoom, 1))!important}
.app-main-wrapper{min-height:calc(100vh / var(--lc-zoom, 1))!important}
.login-page,.register-page,.min-vh-100{min-height:calc(100vh / var(--lc-zoom, 1))!important}
.vh-100{height:calc(100vh / var(--lc-zoom, 1))!important}
.modal-backdrop,.offcanvas-backdrop{width:calc(100vw / var(--lc-zoom, 1));height:calc(100vh / var(--lc-zoom, 1))}
.navbar-nav-scroll{max-height:var(--bs-scroll-height,calc(75vh / var(--lc-zoom, 1)))}
/* Registration: the past-projects question and the profile matches; the inbox's registrations & profile claims. */
.register-past{margin:0}.register-past legend{float:none;width:auto;margin-bottom:.5rem;font-size:1rem}
/* The two answers stand on the line of the password box beside them. */
.register-past .form-check-inline{display:inline-flex;align-items:center;gap:.4rem;min-height:calc(1.5em + .75rem + 2px);margin:0 1.25rem 0 0;padding-left:0}
.register-past .form-check-inline .form-check-input{float:none;margin:0}
.register-claim-row:has(> [data-register-claim][hidden]){display:none}
.register-claim-row>.register-claim{margin-top:0}
.register-claim{margin-top:.6rem;padding:.75rem .9rem;border:1px solid var(--bs-border-color);border-radius:.6rem;background:var(--bs-tertiary-bg)}
.register-claim__list{display:grid;gap:.35rem;margin:.4rem 0}
.register-claim__match small,.reg-choice small{color:var(--bs-secondary-color);margin-left:.3rem}
/* A match: radio, picture, then the name over age · Connect Group type · projects · years. */
.register-claim__match{display:flex;align-items:center;gap:.6rem;margin:0;padding:.2rem 0}
.register-claim__match .form-check-input{flex:none;margin:0;float:none}
.register-claim__match .person-avatar{flex:0 0 2.5rem;width:2.5rem;height:2.5rem;object-fit:cover}
.register-claim__who{display:grid;min-width:0;line-height:1.3}
.register-claim__who small{margin:0}
.reg-choice .person-avatar{flex:0 0 2rem;width:2rem;height:2rem;object-fit:cover;vertical-align:middle;margin:0 .35rem}
.profile-claim__item .person-avatar{flex:0 0 2.5rem;width:2.5rem;height:2.5rem;object-fit:cover}
.register-claim__new{margin:.25rem 0 .4rem}
.reg-choices{margin:.6rem 0 .2rem;padding:.5rem .7rem;border:1px dashed var(--bs-border-color);border-radius:.6rem}
.reg-choices legend{float:none;width:auto;margin:0;padding:0 .3rem;font-size:.85rem;font-weight:700}
.reg-choice{display:flex;align-items:flex-start;gap:.45rem;margin:.25rem 0;font-size:.9rem}
.reg-reason{display:block;margin-top:.4rem;font-size:.82rem;color:var(--bs-secondary-color)}
.inbox-item__kind--account{background:rgb(75 85 99 / 14%);color:#374151}
[data-bs-theme=dark] .inbox-item__kind--account{background:rgb(209 213 219 / 14%);color:#e5e7eb}
.profile-claim__search{display:flex;gap:.5rem;margin:.5rem 0 .75rem}
.profile-claim__list{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.profile-claim__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .7rem;border:1px solid var(--bs-border-color);border-radius:.6rem}
.profile-claim__item small{display:block;color:var(--bs-secondary-color)}
/* Shot list: the storyboard frame at the start of each row (16:9), or an empty frame. */
.shot-thumb{display:block;width:5.5rem;aspect-ratio:16/9;padding:0;border:0;border-radius:.4rem;overflow:hidden;background:var(--bs-tertiary-bg);cursor:zoom-in}
.shot-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.shot-thumb--empty{display:grid;place-items:center;color:var(--bs-secondary-color);cursor:default}
/* Hapus permanen (superadmin): a filled dark red, set apart from the outlined Hapus akun beside it. */
:is(.button,.btn).button-purge,.btn.btn-purge{border-color:#650202;background:#650202;color:#fff}
:is(.button,.btn).button-purge:is(:hover,:focus-visible),.btn.btn-purge:is(:hover,:focus-visible){border-color:#3f0101;background:#3f0101;color:#fff!important}
.module-actions .button-purge{background:#650202;color:#fff}
/* A phone number starts a WhatsApp chat (View::phone): it reads as a link, with the WhatsApp mark where asked. */
a.lc-phone{white-space:nowrap}
a.lc-phone .fa-whatsapp{margin-right:.35rem}

/* Type pills (Cast / Crew / Cast & Crew / not decided), the same on every page that names people. */
.people-kind{display:inline-flex;align-items:center;padding:.22rem .65rem;border-radius:999px;color:#fff;font-size:var(--fs-micro,.76rem);font-weight:750;letter-spacing:.01em;white-space:nowrap}
.people-kind--cast{background:var(--brand-red)}
/* Crew wears the orange of the logout button (--admin-logout-orange, white text 5:1); cast the brand red. */
.people-kind--crew{background:#b45309}
.people-kind--both{background:linear-gradient(90deg,var(--brand-red) 0 50%,#b45309 50% 100%)}
.people-kind--none{background:transparent;color:var(--bs-secondary-color);border:1px dashed currentColor}

/* A field of several team members (Forms 'members'): tick boxes with the person's picture, name and jobs, two columns where
   they fit, scrolling inside the field when the team is large. */
.member-picks{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));gap:.25rem .75rem;max-height:18rem;overflow-y:auto;padding:.35rem;border:1px solid var(--line);border-radius:10px;background:var(--input)}
.member-pick{display:flex;align-items:center;gap:.6rem;min-width:0;padding:.35rem .5rem;border-radius:8px;cursor:pointer}
.member-pick:hover,.member-pick:has(input:focus-visible){background:var(--tint-red)}
.member-pick:has(input:checked){background:var(--tint)}
.member-pick>input{flex:none;margin:0}
.member-pick__who{display:flex;align-items:center;gap:.6rem;min-width:0}
.member-pick .opt-person__pic{flex:0 0 2.1rem;width:2.1rem;height:2.1rem;border-radius:6px;object-fit:cover;background:var(--tint,#eef0f3)}
.member-pick .opt-person__sep{display:none}
.member-pick .opt-person__text{display:grid;gap:.1rem;min-width:0;line-height:1.2}
.member-pick .opt-person__text strong{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-pick .opt-person__text small{color:var(--muted);font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Post-production done outside Lifecinema (ProjectFlow::postIndicator). */
.flow-outside{display:flex;align-items:center;gap:.6rem;margin:0;padding:.75rem 1rem;border:1px dashed var(--line);border-radius:.75rem;color:var(--text);font-weight:600}
.flow-outside i{color:var(--link,#a20404)}
.official-fields--synopsis>small{color:var(--muted);font-size:.8rem}
.official-field textarea{width:100%}
/* A profile marked "Jadi administrator saat disetujui" among a registration's choices (approvals inbox). */
.reg-admin-mark{display:inline-flex;align-items:center;gap:.3rem;margin-left:.35rem;padding:.05rem .5rem;border:1px solid currentColor;border-radius:999px;color:var(--danger,#a20404);font-size:.75rem;font-weight:700;white-space:nowrap}
/* Similar names told apart (People::handle): the known-as name and @username beside a person's name in pickers and tiles. */
.opt-person__handle{color:var(--muted);font-size:.85em;font-weight:500}
.people-tile__handle{display:block;overflow:hidden;color:var(--muted);font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}
/* The assignment transfer dialog (AssignmentTransfer). */
.transfer-dialog .record-dialog__body{display:grid;gap:.85rem}
.transfer-from{margin:0}
.transfer-grid{grid-template-columns:1fr!important}
.transfer-scope{display:grid;gap:.35rem;margin:0}
.transfer-scope legend{float:none;width:auto;margin-bottom:.25rem;font-size:.9rem;font-weight:700}
.transfer-scope small{display:block;color:var(--muted)}
.transfer-help{margin:0}
/* Tempel dari clipboard under the catalog profile's main photo (administrators). */
.people-hero__paste{display:flex;align-items:center;justify-content:center;width:100%;margin-top:.5rem}
/* Profil › "Bukan profil kamu?" (ProfileClaims::requestRebind). */
.profile-rebind>summary{cursor:pointer;font-weight:700;list-style:none}
.profile-rebind>summary::-webkit-details-marker{display:none}
.profile-rebind[open]>summary{margin-bottom:.6rem}
.profile-rebind__pick{display:flex;align-items:center;gap:.6rem;width:100%;padding:.3rem 0;cursor:pointer}
.profile-rebind__pick .form-check-input{flex:none;margin:0}
.profile-rebind__pick small{display:block;color:var(--muted)}
.profile-rebind__form .profile-claim__list{margin-bottom:.75rem}
.profile-rebind__note{margin:.5rem 0 0;font-size:.9rem}
/* Tim inti: the core roles stay in the form grid; hidden when one Person in Charge runs the project. */
.kp-core{display:contents}
.kp-core[hidden]{display:none}
.kp-pic small{font-weight:400}
.kp-pic .field-check{align-items:flex-start}
.kp-pic .field-check input{margin-top:.2rem}
/* Foundation Class · Kelas (TrainingClasses): the classes table, the people recorded as passed, and the pass picker. */
.class-table tr.is-muted td{color:var(--muted)}
.class-open{font-weight:700;white-space:nowrap}
.class-recorded__title{margin:1rem 0 .5rem;font-size:1rem}
.class-recorded{display:grid;gap:.4rem;margin:0;padding:0;list-style:none}
.class-recorded li{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.class-pick__filter{margin:.5rem 0}
.class-pick__list{display:grid;gap:.15rem;max-height:18rem;margin-bottom:.75rem;padding:.35rem;overflow:auto;border:1px solid var(--line);border-radius:.6rem}
.class-pick{display:flex;align-items:flex-start;gap:.55rem;padding:.35rem .4rem;border-radius:.45rem;cursor:pointer}
.class-pick:hover{background:var(--tint)}
.class-pick input{margin-top:.25rem}
.class-pick small{color:var(--muted)}
.class-pick[hidden]{display:none}
/* Servolution · Kandidat audisi (Auditions). */
.audition-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.9rem}
.audition-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.audition-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .75rem;border:1px solid var(--line);border-radius:999px;color:var(--text);font-size:.85rem;text-decoration:none}
.audition-chip strong{font-variant-numeric:tabular-nums}
.audition-chip:hover{background:var(--tint)}
.audition-chip.is-on{border-color:var(--brand-red,#a20404);background:var(--tint-red)}
.audition-search{min-width:min(100%,16rem)}
.audition-pic{flex:0 0 2.75rem;width:2.75rem;height:2.75rem;border-radius:.5rem;object-fit:cover}
.audition-result{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.78rem;font-weight:700;white-space:nowrap}
.audition-result--passed{background:var(--brand-red,#a20404);color:#fff}
.audition-result--waitlist{border:1px solid var(--brand-red-on-dark,#ff7378);color:var(--link)}
.audition-result--pending{background:var(--tint);color:var(--muted)}
.audition-result--not_passed{border:1px solid var(--line);color:var(--muted)}
.audition-profile{display:inline-flex;gap:.3rem;align-items:center;margin-left:.5rem;font-size:.82rem;font-weight:600}
.audition-h{margin:1.1rem 0 .5rem;font-size:1rem}
.audition-steps{display:grid;gap:.5rem;margin:0 0 .75rem;padding:0;list-style:none}
.audition-steps li{display:flex;align-items:flex-start;gap:.6rem}
.audition-steps li>div{flex:1}
.app-dialog .audition-steps form,.app-dialog .audition-add-step,.app-dialog .audition-result-form{padding:0}
.audition-steps form{flex:none;margin:0}
.audition-dialog .record-dialog__hero>div:first-child{flex:0 0 min(200px,40%)}
.audition-dialog .lc-thumb-button{display:block;width:100%}
.audition-dialog .record-dialog__photo{display:block;width:100%;max-width:none;aspect-ratio:4/5;object-fit:cover;background:none}
.audition-dialog .record-facts{flex:1;display:grid;grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.6rem 1rem;margin:0}
.audition-dialog .record-facts>div{min-width:0;overflow-wrap:anywhere}
.audition-steps p{margin:.15rem 0 0;color:var(--muted);font-size:.88rem}
.audition-step__dot{flex:none;width:.7rem;height:.7rem;margin-top:.35rem;border-radius:50%;background:var(--muted)}
.audition-step__dot--passed{background:var(--brand-red,#a20404)}
.audition-step__dot--failed{background:transparent;border:2px solid var(--muted)}
.audition-add-step{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.5rem;align-items:center}
.audition-add-step input[name=note]{grid-column:1/-1}
.audition-add-step button{justify-self:start}
.audition-result-form{display:grid;gap:.6rem}
.audition-result-form>label{display:flex;align-items:center;gap:.6rem;font-weight:700;white-space:nowrap}
.audition-result-form>button{justify-self:start}
.audition-result-form:not(:has(option[value=PASSED]:checked)) .audition-profile-choice{display:none}
.audition-result-form select{max-width:14rem}
.audition-profile-choice{display:grid;gap:.3rem;margin:0}
.audition-profile-choice legend{float:none;width:auto;margin-bottom:.2rem;font-size:.9rem;font-weight:700}
.audition-profile-choice small{color:var(--muted)}
@media (max-width:575.98px){.audition-add-step{grid-template-columns:1fr}}

/* "+ Tambah … baru" at the bottom of a picklist (QuickAdd). */
option[data-add-new-option]{font-weight:700;color:var(--link)}
.quick-add__error{margin:.75rem 0 0;color:var(--danger,#c62828);font-weight:600}
.quick-add__matches{margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--line)}
.quick-add__lead{margin:0 0 .6rem;font-weight:600}
.quick-add__list{display:grid;gap:.45rem;margin:0 0 .8rem;padding:0;list-style:none}
.quick-add__list li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.45rem .6rem;border:1px solid var(--line);border-radius:.6rem}
.quick-add__list .opt-person{display:flex;align-items:center;gap:.55rem;min-width:0}
.quick-add__list .opt-person__pic{flex:none;width:2rem;height:2rem;border-radius:50%;object-fit:cover}
.quick-add__list small{color:var(--muted)}

/* Media & Data: card loads (MediaLoads). */
.loads-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-bottom:1rem}
.loads-tiles>div{display:flex;flex-direction:column;gap:.1rem;padding:.7rem .85rem;border:1px solid var(--line);border-radius:.75rem}
.loads-tiles strong{font-size:1.35rem;font-variant-numeric:tabular-nums;line-height:1.2}
.loads-tiles span{color:var(--muted);font-size:.85rem}
.loads-tiles .is-warn{border-color:var(--brand-red,#a20404)}
.loads-tiles .is-warn strong{color:var(--link)}
.loads-table td{vertical-align:middle}
.load-status{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.78rem;font-weight:700;white-space:nowrap}
.load-status--backed_up{background:var(--brand-red,#a20404);color:#fff}
.load-status--not_stored{border:1px solid var(--brand-red-on-dark,#ff7378);color:var(--link)}
@media (max-width:767.98px){.loads-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Master Breakdown (Breakdown). */
.bd-bar .section-head,.bd-day .section-head{align-items:flex-start}
.bd-day__notes{margin:.35rem 0 0;color:var(--muted);font-size:.9rem}
.bd-table{font-size:.88rem}
.bd-table th,.bd-table td{vertical-align:top}
.bd-table .bd-time{white-space:nowrap;font-variant-numeric:tabular-nums}
.bd-table .bd-action{min-width:14rem}
.bd-table .bd-lines span{display:block;white-space:nowrap}
.bd-activity td{background:var(--tint)}
.bd-activity__text{text-align:center;font-weight:700;letter-spacing:.02em;text-transform:uppercase;font-size:.8rem}
.bd-activity__text small{text-transform:none;font-weight:400;letter-spacing:0;color:var(--muted)}
.bd-shots{display:inline-flex;gap:.3rem;align-items:center;margin-top:.2rem;font-size:.78rem;white-space:nowrap}
.bd-editor-head{margin:1rem 0 .5rem;font-size:1rem}
.bd-editor{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}
.bd-editor li{display:flex;justify-content:space-between;gap:.75rem;padding:.6rem .75rem;border:1px dashed var(--line);border-radius:.6rem;cursor:pointer}
.bd-editor li:hover{background:var(--tint)}
.bd-editor p{margin:.2rem 0 0}
.bd-editor small{color:var(--muted)}
.bd-chars{margin:0;padding:0;border:0}
.bd-chars legend{float:none;width:auto;margin-bottom:.35rem;font-size:.9rem;font-weight:700}
.bd-chars ul{display:grid;gap:.4rem;margin:0 0 .5rem;padding:0;list-style:none}
.bd-char{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:.4rem;align-items:center}
.bd-form .app-dialog,.app-dialog.bd-form{width:min(44rem,calc(100vw - 32px))}
@media (max-width:575.98px){.bd-char{grid-template-columns:1fr auto}.bd-char input[name="char_costume[]"]{grid-column:1}}

/* Master Breakdown slots: the time on the left, the scene or activity on the right (reads like a row of the sheet). */
.bd-slots{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:.8rem;overflow:hidden}
.bd-slot{display:grid;grid-template-columns:8.5rem minmax(0,1fr) auto;gap:.9rem;align-items:start;padding:.8rem .95rem;border-top:1px solid var(--line);cursor:pointer}
.bd-slot:first-child{border-top:0}
.bd-slot:hover,.bd-slot:focus-visible{background:var(--tint-red);outline:0;box-shadow:inset 3px 0 0 var(--danger)}
.bd-slot__time{font-variant-numeric:tabular-nums;font-weight:700;font-size:.9rem;white-space:nowrap}
.bd-slot__main{min-width:0}
.bd-slot--activity{background:var(--tint);align-items:center}
.bd-slot--activity .bd-activity{display:block;text-align:center;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase}
.bd-slot--activity small{text-align:center;color:var(--muted)}
.bd-slot__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .75rem;margin:0}
.bd-slot__head span{color:var(--muted);font-size:.9rem}
.bd-slot__action{margin:.3rem 0 0}
.bd-slot__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.5rem 1rem;margin:.55rem 0 0}
.bd-slot__facts dt{color:var(--muted);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.bd-slot__facts dd{margin:0;font-size:.88rem}
.bd-slot__facts dd span{display:block}
@media (max-width:575.98px){.bd-slot{grid-template-columns:1fr auto}.bd-slot__time{grid-column:1/-1}}

/* A label that wraps its control (dialog forms built in code: QuickAdd, Auditions, Breakdown) stacks like .field. */
.field>label:has(>:is(input,select,textarea)){display:flex;flex-direction:column;gap:.4rem}
.field>label>:is(input,select,textarea){width:100%;font-weight:400}
.app-dialog .form-grid>.full{grid-column:1/-1}

/* The event form (Training & Event) in four columns: two on a tablet, one on a phone; 'span' widens a field. */
.event-form .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 1rem;align-items:start}
.event-form .form-grid>.full{grid-column:1/-1}
.event-form .form-grid>.span-2{grid-column:span 2}
.event-form .form-grid>.span-3{grid-column:span 3}
.event-form .form-grid>.field-check{align-self:start;margin-top:2.1rem}
.event-form .form-grid>.field-check.full{margin-top:.25rem}
@media (max-width:991.98px){.event-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-form .form-grid>.span-3{grid-column:1/-1}}
@media (max-width:575.98px){.event-form .form-grid{grid-template-columns:1fr}.event-form .form-grid>:is(.span-2,.span-3){grid-column:1/-1}.event-form .form-grid>.field-check{margin-top:0}}
/* Tim & penanggung jawab (EventCrew). */
.crew-duty{display:inline-block;padding:.12rem .55rem;border:1px solid var(--line);border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap}
.crew-duty--pic{border-color:var(--brand-red,#a20404);background:var(--brand-red,#a20404);color:#fff}
.crew-duty--host,.crew-duty--facilitator{border-color:var(--brand-red-on-dark,#ff7378);color:var(--link)}
/* A venue in a picklist: its picture as a small rounded square, or a blank building (VenueCatalog::pickerOption). */
.opt-venue__pic{border-radius:.4rem!important;object-fit:cover}
.opt-venue__pic--empty{display:inline-flex;align-items:center;justify-content:center;background:var(--tint);color:var(--muted);border:1px solid var(--line)}
.opt-venue__pic--empty i{font-size:.85em}
/* The crew table inside the event edit dialog, under the form. */
.event-form>#crew{margin:1.75rem 0 0;padding:1.25rem 0 0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:none}
.event-form>#crew::before{display:none}

/* Beranda: events the member helps run (EventBts::mine), and the note on an event BTS page. */
.crew-events{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}
.crew-event{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .85rem;border:1px solid var(--line);border-radius:.75rem}
.crew-event>div{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.crew-event small{color:var(--muted)}
.crew-event__duty{color:var(--link)!important;font-weight:600}
.bts-site-note{display:flex;gap:.5rem;align-items:flex-start;margin:.9rem 0 0;color:var(--muted);font-size:.88rem}
.bts-counts-inline{margin-left:.35rem;color:var(--muted);font-size:.8rem;font-weight:600}
@media (max-width:575.98px){.crew-event{flex-direction:column;align-items:stretch}}

/* An event card's facts: each icon stays with its words when the line wraps; a long checkbox label starts at its box. */
.org-event__bit{display:inline-flex;align-items:baseline;gap:.3rem;min-width:0}
.event-form .field-check{align-items:flex-start}
.event-form .field-check input{margin-top:.25rem;flex:none}

/* A table stacked into cards lets its row buttons wrap (they never run past the card's edge). */
table.is-stacked .module-actions{flex-wrap:wrap}
@container (max-width: 36rem){table.is-stackable .module-actions{flex-wrap:wrap}}
/* A card's status badge keeps its whole word beside a long title. */
.project-card header>div{min-width:0}
.project-card header>.badge{flex:0 0 auto;max-width:none}
/* A long workflow stepper (six steps or more) wraps into rows of four on a phone, so its labels never overlap. */
@media (max-width:575.98px){
  .stepper:has(li:nth-child(6)){flex-wrap:wrap;row-gap:.9rem;overflow:visible}
  .stepper:has(li:nth-child(6)) li{flex:0 0 calc(25% - 6px);min-width:0;overflow-wrap:break-word}
  .stepper:has(li:nth-child(6)) li:nth-child(4n+1):after{display:none}
}
/* On the narrowest phones (320 px) four steps a row are too tight for a word like "Kebutuhan": rows of three keep every word whole. */
@media (max-width:359.98px){
  .stepper:has(li:nth-child(6)) li{flex-basis:calc(33.333% - 6px)}
  .stepper:has(li:nth-child(6)) li:nth-child(4n+1):after{display:block}
  .stepper:has(li:nth-child(6)) li:nth-child(3n+1):after{display:none}
}
/* Buttons in a section heading's action group keep their label on one line; the group wraps instead. */
.section-head .module-actions .button{white-space:nowrap}
@media (max-width:359.98px){.section-head .module-actions .button{white-space:normal}}

/* Dark theme contrast (WCAG 1.4.3): secondary text, small counters and brand-red labels reach 4.5:1 on the dark surfaces. */
[data-bs-theme=dark] .text-secondary,[data-bs-theme=dark] .text-muted,[data-bs-theme=dark] .rt__count{color:#a9b2bc!important}
[data-bs-theme=dark] .list-controls__field.is-on .list-controls__label,[data-bs-theme=dark] .people-credit__year{color:var(--brand-red-on-dark,#ff7378)}

/*
 * Button shadow (blueprint §18): every button-styled control carries the same soft two-layer shadow.
 * Tokens: --btn-shadow (rest), --btn-shadow-hover (hover and keyboard focus, lifts 1 px), --btn-shadow-active
 * (pressed, no lift). Disabled controls are flat. The selectors sit in :where() (specificity 0) so a rule
 * that already gives a control its own shadow (a focus ring, a selected-state ring, a coloured glow) wins and
 * is never replaced. The lift uses the individual `translate` property, which composes with the `transform`
 * some controls use for their position (slider arrows centre themselves with translateY(-50%)).
 * Not buttons, so not covered: navigation rows (.nav-link), dropdown items, tabs, accordion headers,
 * .btn-link and other link-styled buttons, .btn-close and surface-less icon or sort controls.
 * Transitions always run; the system motion preference is deliberately not read.
 */
:root { --btn-shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 4px 10px rgb(16 24 40 / 8%); --btn-shadow-hover: 0 2px 4px rgb(16 24 40 / 8%), 0 8px 16px rgb(16 24 40 / 12%); --btn-shadow-active: 0 1px 1px rgb(16 24 40 / 8%); }
html[data-theme="dark"], [data-theme="dark"], [data-bs-theme="dark"], [data-site-theme="dark"], .dark { --btn-shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 4px 10px rgb(0 0 0 / 25%); --btn-shadow-hover: 0 2px 4px rgb(0 0 0 / 40%), 0 8px 16px rgb(0 0 0 / 32%); --btn-shadow-active: 0 1px 1px rgb(0 0 0 / 40%); }
:where(.btn:not(.btn-link, .btn-close, .nav-link, .dropdown-item, [role="tab"], [role="menuitem"]), input:is([type="button"], [type="submit"], [type="reset"]),
    [role="button"]:not(.nav-link, .dropdown-item, .accordion-button), .page-link, .button, .button-danger, .button-dark, .button-light, .button-outline, .button-red,
    .button-secondary, .button-small, .button-purge, .icon-button, .admin-dock-control, .admin-wait-status__hide, .history-action, .sp-tool, .lc-carousel__nav, .lc-cta,
    .pe-btn, .rt__btn, .tk-quick__btn, .tk-filter, .tk-chip, .tk-res, .tk-rolling, .tk-confirm__yes, .tk-confirm__no, .tp-cta, .tp-side__btn, .tp-lightbox__btn, .tp-rail__nav,
    .tp-film__edge-btn, .trivia-next, .dept-half__cta, .home-sponsors__page, .lc-viewer__step, .lc-crop__primary, .lc-crop__secondary, .lc-crop__skip, .lc-crop__x,
    .lc-crop__ratios button, .lc-crop__actions button, .guide-btn, .guide-btn-primary, .guide-btn-icon, button.guide-chip, .profile-page-cta__action, .people-booked__toggle,
    .people-gallery__pick, .hero-sldr .swiper-button-next, .hero-sldr .swiper-button-prev, .language-tab, .list-controls__apply, .lc-shop__apply, .contact-send,
    .password-change__save, .public-alert-confirm, .media-upload-button, .media-library-pick, .media-library-more, .pb-add, .pb-tool, .login-preferences .site-control,
    .login-card-preferences .site-control, .lc-dock .navbar-toggler) {
    box-shadow: var(--btn-shadow);
    transition-property: color, background-color, border-color, box-shadow, translate;
    transition-duration: .15s; transition-timing-function: ease;
}
:where(.btn:not(.btn-link, .btn-close, .nav-link, .dropdown-item), input:is([type="button"], [type="submit"], [type="reset"])) { transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease, translate .15s ease; }
input[type="file"]::file-selector-button { box-shadow: var(--btn-shadow); transition: box-shadow .15s ease, translate .15s ease; }
input[type="file"]:hover::file-selector-button { box-shadow: var(--btn-shadow-hover); translate: 0 -1px; }
/* Hover and keyboard focus: deeper shadow and a 1 px lift. A focus ring stays: Bootstrap's ring is layered over the shadow. */
:where(.btn:not(.btn-link, .btn-close, .nav-link, .dropdown-item, [role="tab"], [role="menuitem"]), input:is([type="button"], [type="submit"], [type="reset"]),
    [role="button"]:not(.nav-link, .dropdown-item, .accordion-button), .page-link, .button, .button-danger, .button-dark, .button-light, .button-outline, .button-red,
    .button-secondary, .button-small, .button-purge, .icon-button, .admin-dock-control, .admin-wait-status__hide, .history-action, .sp-tool, .lc-carousel__nav, .lc-cta,
    .pe-btn, .rt__btn, .tk-quick__btn, .tk-filter, .tk-chip, .tk-res, .tk-rolling, .tk-confirm__yes, .tk-confirm__no, .tp-cta, .tp-side__btn, .tp-lightbox__btn, .tp-rail__nav,
    .tp-film__edge-btn, .trivia-next, .dept-half__cta, .home-sponsors__page, .lc-viewer__step, .lc-crop__primary, .lc-crop__secondary, .lc-crop__skip, .lc-crop__x,
    .lc-crop__ratios button, .lc-crop__actions button, .guide-btn, .guide-btn-primary, .guide-btn-icon, button.guide-chip, .profile-page-cta__action, .people-booked__toggle,
    .people-gallery__pick, .hero-sldr .swiper-button-next, .hero-sldr .swiper-button-prev, .language-tab, .list-controls__apply, .lc-shop__apply, .contact-send,
    .password-change__save, .public-alert-confirm, .media-upload-button, .media-library-pick, .media-library-more, .pb-add, .pb-tool, .login-preferences .site-control,
    .login-card-preferences .site-control, .lc-dock .navbar-toggler):is(:hover, :focus-visible) {
    box-shadow: var(--btn-shadow-hover); translate: 0 -1px;
}
.btn:not(.btn-link, .btn-close, .nav-link, .dropdown-item):focus-visible, .btn-check:focus-visible + .btn:not(.btn-link) { box-shadow: var(--btn-shadow-hover), var(--bs-btn-focus-box-shadow, 0 0 0 .25rem rgb(13 110 253 / 50%)); }
.page-link:focus { box-shadow: var(--btn-shadow-hover), var(--bs-pagination-focus-box-shadow, 0 0 0 .25rem rgb(13 110 253 / 25%)); }
:where(.btn, input:is([type="button"], [type="submit"], [type="reset"]), [role="button"], .page-link, .button, .button-danger, .button-dark, .button-light, .button-outline,
    .button-red, .button-secondary, .button-small, .button-purge, .icon-button, .admin-dock-control, .admin-wait-status__hide, .history-action, .sp-tool, .lc-carousel__nav,
    .lc-cta, .pe-btn, .rt__btn, .tk-quick__btn, .tk-filter, .tk-chip, .tk-res, .tk-rolling, .tk-confirm__yes, .tk-confirm__no, .tp-cta, .tp-side__btn, .tp-lightbox__btn,
    .tp-rail__nav, .tp-film__edge-btn, .trivia-next, .dept-half__cta, .home-sponsors__page, .lc-viewer__step, .lc-crop__primary, .lc-crop__secondary, .lc-crop__skip,
    .lc-crop__x, .lc-crop__ratios button, .lc-crop__actions button, .guide-btn, .guide-btn-primary, .guide-btn-icon, button.guide-chip, .profile-page-cta__action,
    .people-booked__toggle, .people-gallery__pick, .hero-sldr .swiper-button-next, .hero-sldr .swiper-button-prev, .language-tab, .list-controls__apply, .lc-shop__apply,
    .contact-send, .password-change__save, .public-alert-confirm, .media-upload-button, .media-library-pick, .media-library-more, .pb-add, .pb-tool,
    .login-preferences .site-control, .login-card-preferences .site-control, .lc-dock .navbar-toggler):active { box-shadow: var(--btn-shadow-active); translate: none; }
/* Disabled: no shadow, no lift (the :not(#id) term keeps this above every other shadow rule). */
:where(.btn, input:is([type="button"], [type="submit"], [type="reset"]), [role="button"], .page-link, button):is(:disabled, [disabled], .disabled, [aria-disabled="true"]):not(#btn-shadow-off) { box-shadow: none; translate: none; }
input[type="file"]:disabled::file-selector-button { box-shadow: none; translate: none; }
