/* =============================================================================================================
   Dimensi WHT: the Dimensi family shell (sibling of Dimensi HRIS). Loaded after Filament's own CSS on every
   panel (App\Filament\Support\TeraTheme). Plain CSS on purpose: deploys have no Node build.
   Brief: .impeccable/surfaces/public-css-tera-theme-css.md. Colours for buttons, links and badges come from
   Filament's variables (TeraTheme::PRIMARY = Dimensi logo blue); this file owns the shell, ground and marks.
   ============================================================================================================= */

:root {
    --tera-navy-950: #071a31;
    --tera-navy-900: #0a2342;
    --tera-navy-800: #0e3a6b;
    --tera-orange: #ff9300;
    --tera-orange-deep: #d97a00;
    --tera-blue: #0461ad;

    --tera-ground: #f2f4f8;
    --tera-sheet: #ffffff;
    --tera-line: #d9e0ea;
    --tera-line-soft: #e8edf3;
    --tera-head: #f5f7fa;
    --tera-ink: #0f1e33;
    --tera-ink-2: #33435a;
    --tera-muted: #5a6a82;
    --tera-select: #cfe3f7;
    --tera-shadow: 0 1px 2px rgba(10, 35, 66, .06), 0 2px 6px -2px rgba(10, 35, 66, .06);

    /* masa states (Dasbor, Tabel, badges): waiting, computed, reviewed, sealed, late */
    --tera-st-wait: #94a3b8;
    --tera-st-computed: #0461ad;
    --tera-st-reviewed: #7c3aed;
    --tera-st-sealed: #15803d;
    --tera-st-late: #dc2626;
}

.dark {
    --tera-ground: var(--gray-950, #020617);
    --tera-sheet: var(--gray-900, #0f172a);
    --tera-line: rgba(255, 255, 255, .1);
    --tera-line-soft: rgba(255, 255, 255, .06);
    --tera-head: rgba(255, 255, 255, .03);
    --tera-ink: #e6edf6;
    --tera-ink-2: #c3cfdd;
    --tera-muted: #94a3b8;
    --tera-select: rgba(71, 144, 212, .35);
    --tera-shadow: none;
    --tera-st-computed: #4790d4;
    --tera-st-reviewed: #a78bfa;
    --tera-st-sealed: #22c55e;
}

/* ---- 1. Type, ground and the browser's own surfaces ------------------------------------------------------- */

/* 17px root: senior reviewers read rupiah on 22"+ monitors for hours (PRODUCT.md). Everything in Filament is rem. */
html { font-size: 106.25%; }

.fi-body { background-color: var(--tera-ground); color: var(--tera-ink); }
::selection { background: var(--tera-select); color: inherit; }
html { scrollbar-color: #b6c2d2 transparent; }
.dark { scrollbar-color: #3b4a60 transparent; }

/* Every figure lines up in its column, as in the workbook. */
.fi-ta-cell, .fi-ta-text, .fi-in-text, .fi-wi-stats-overview-stat-value, .fi-badge, .tabulator { font-variant-numeric: tabular-nums; }

/* Status words are read, not decoration: no smaller than the body's small size for senior reviewers. */
.fi-badge, .fi-badge .fi-badge-label { font-size: .875rem; line-height: 1.25rem; }

/* Lockup and status side by side (masa list, Tabel toolbar). */
.tera-period-status { display: inline-flex; align-items: center; gap: .45rem; }
.tera-period-status-note { display: block; margin-top: .25rem; font-size: .8125rem; color: var(--tera-muted); }

/* ---- 2. The lockup: D mark, DIMENSI, W H T -------------------------------------------------------------- */

.tera-brand { display: inline-flex; align-items: center; gap: .625rem; height: 100%; color: var(--tera-blue); line-height: 1; }
.tera-brand-mark { height: 100%; width: auto; aspect-ratio: 1; object-fit: contain; }
.tera-brand-type { display: flex; flex-direction: column; gap: .3rem; }
.tera-brand-maker { font-weight: 800; font-size: 1.125rem; letter-spacing: .015em; text-transform: uppercase; }
.tera-brand-product { font-weight: 500; font-size: .6875rem; letter-spacing: .42em; text-transform: uppercase; }
.tera-brand-area { letter-spacing: .18em; opacity: .8; }

/* On the navy rail the official white version of the mark (Dimensi's logo-putih). */
.fi-sidebar .tera-brand { color: #fff; }
.fi-sidebar .tera-brand-mark { filter: brightness(0) invert(1); }
.dark .tera-brand { color: #e6edf6; }
.dark .tera-brand-mark { filter: brightness(0) invert(1); }

/* ---- 3. The rail: Dimensi navy, labels always readable --------------------------------------------------- */

.fi-sidebar,
.fi-sidebar.fi-main-sidebar {
    background: linear-gradient(180deg, var(--tera-navy-900) 0%, var(--tera-navy-800) 100%);
    border-inline-end: 0;
    box-shadow: none;
}
.dark .fi-sidebar, .dark .fi-sidebar.fi-main-sidebar { background: linear-gradient(180deg, #06162b 0%, #0a2647 100%); }

.fi-sidebar-header,
.fi-sidebar .fi-sidebar-header-ctn {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.fi-sidebar-header { min-height: 4.5rem; }
.fi-sidebar-header .fi-logo { height: 2.5rem; }
.fi-sidebar-nav { background: transparent; }

/* Search under the lockup: a white field on the navy, readable at a glance. */
.fi-sidebar-header-controls { padding-top: .75rem; }
.fi-sidebar-header-controls .fi-input-wrp { background-color: #fff; box-shadow: none; }

/* The user menu at the rail's foot: the name stays written next to the avatar. */
.fi-sidebar-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.fi-sidebar .fi-user-menu-trigger,
.fi-sidebar .fi-user-menu-trigger-text,
.fi-sidebar-footer button,
.fi-sidebar-footer .fi-sidebar-item-label { color: rgba(235, 241, 248, .92); }
.fi-sidebar .fi-user-menu-trigger-text { font-weight: 600; }
.fi-sidebar .fi-user-menu-trigger .fi-icon,
.fi-sidebar-footer .fi-icon { color: rgba(235, 241, 248, .7); }
.fi-sidebar .fi-user-menu-trigger:hover,
.fi-sidebar .fi-user-menu-trigger:focus-visible { background-color: rgba(255, 255, 255, .07); border-radius: .5rem; }

.fi-sidebar-group-label { color: rgba(205, 218, 236, .62); text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; font-weight: 700; }
.fi-sidebar-group-btn .fi-icon, .fi-sidebar-group-collapse-btn { color: rgba(205, 218, 236, .62); }

.fi-sidebar .fi-sidebar-item-btn { border-radius: .5rem; transition: background-color .15s ease; }
.fi-sidebar .fi-sidebar-item-btn .fi-sidebar-item-label { color: rgba(235, 241, 248, .86); font-weight: 500; }
.fi-sidebar .fi-sidebar-item-btn > .fi-icon { color: rgba(235, 241, 248, .62); }
.fi-sidebar .fi-sidebar-item-btn:hover,
.fi-sidebar .fi-sidebar-item-btn:focus-visible { background-color: rgba(255, 255, 255, .07); }
.fi-sidebar .fi-sidebar-item-btn:hover .fi-sidebar-item-label,
.fi-sidebar .fi-sidebar-item-btn:hover > .fi-icon { color: #fff; }

/* Active: a lit row, white bold label, the Dimensi orange on its icon (the family's accent on navy). */
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn { background-color: rgba(255, 255, 255, .13); }
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-label { color: #fff; font-weight: 700; }
.fi-sidebar .fi-sidebar-item.fi-active > .fi-sidebar-item-btn > .fi-icon { color: var(--tera-orange); }

.fi-sidebar .fi-icon-btn { color: rgba(235, 241, 248, .8); }
.fi-sidebar .fi-icon-btn:hover, .fi-sidebar .fi-icon-btn:focus-visible { color: #fff; background-color: rgba(255, 255, 255, .08); }
.fi-sidebar :focus-visible { outline: 2px solid var(--tera-orange); outline-offset: 2px; }
.fi-sidebar .fi-sidebar-item-badge-ctn .fi-badge { box-shadow: none; }

/* Below 1024px the rail hides behind the menu button: a navy bar carries the lockup, the button sits on it. */
.tera-mobile-bar { display: none; }
@media (max-width: 1023.98px) {
    .tera-mobile-bar {
        position: absolute; inset: 0 0 auto 0; z-index: 0; height: 4.25rem;
        display: flex; align-items: center; padding-inline-start: 4.25rem; text-decoration: none;
        background: linear-gradient(160deg, var(--tera-navy-950) 0%, var(--tera-navy-900) 50%, var(--tera-navy-800) 100%);
    }
    .tera-mobile-bar .tera-brand { height: 2.25rem; color: #fff; }
    .tera-mobile-bar .tera-brand-mark { filter: brightness(0) invert(1); }
    .fi-layout-sidebar-toggle-btn-ctn { position: relative; z-index: 1; height: 4.25rem; padding: 0 0 0 .875rem; display: flex; align-items: center; }
    .fi-layout-sidebar-toggle-btn-ctn .fi-icon-btn { color: #fff; }
    .fi-layout-sidebar-toggle-btn-ctn .fi-icon-btn:hover, .fi-layout-sidebar-toggle-btn-ctn .fi-icon-btn:focus-visible { background-color: rgba(255, 255, 255, .1); }
}

/* ---- 4. Topbar and page header ------------------------------------------------------------------------- */

.fi-topbar, .fi-topbar-ctn > nav, .fi-topbar > nav {
    background-color: var(--tera-sheet);
    box-shadow: none;
    border-bottom: 1px solid var(--tera-line);
}

.fi-header-heading { color: var(--tera-ink); font-weight: 750; letter-spacing: -.018em; }
.fi-header-subheading { color: var(--tera-muted); }
.fi-breadcrumbs { color: var(--tera-muted); }

/* ---- 5. Sheets: sections, tables, tabs ------------------------------------------------------------------ */

.fi-section:not(.fi-section-not-contained),
.fi-ta-ctn,
.fi-tabs:not(.fi-contained) {
    background-color: var(--tera-sheet);
    border-radius: .625rem;
    box-shadow: 0 0 0 1px var(--tera-line), var(--tera-shadow);
}

.fi-ta-header-cell { background-color: var(--tera-head); }
.fi-ta-header-cell, .fi-ta-header-cell-label { color: var(--tera-ink-2); font-weight: 650; }
.fi-ta-row { border-color: var(--tera-line-soft); }

/* ---- 6. Masa state marks and the tanda tera seal (Dasbor, legends) --------------------------------------- */

.tera-st { display: inline-block; width: .7rem; height: .7rem; border-radius: 999px; vertical-align: middle; flex: none; }
.tera-st-wait { background: transparent; box-shadow: inset 0 0 0 2px var(--tera-st-wait); }
.tera-st-computed { background: var(--tera-st-computed); }
.tera-st-reviewed { background: var(--tera-st-reviewed); }
.tera-st-late { background: var(--tera-st-late); box-shadow: 0 0 0 3px rgba(220, 38, 38, .18); }

.tera-seal { display: inline-block; vertical-align: middle; flex: none; }
.tera-seal-rim { stroke: var(--tera-orange-deep); }
.tera-seal-core { fill: var(--tera-st-sealed); }
.tera-seal-check { stroke: #fff; }
.dark .tera-seal-check { stroke: #052e16; }

/* ---- 7. Sign-in and two-factor screens -------------------------------------------------------------------- */

.fi-simple-layout {
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(71, 144, 212, .28), transparent 60%),
        linear-gradient(160deg, var(--tera-navy-950) 0%, var(--tera-navy-900) 45%, var(--tera-navy-800) 100%);
}
.fi-simple-main {
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(3, 12, 26, .6);
}
.fi-simple-header .fi-logo { height: 3rem !important; }
.fi-simple-header-heading { color: var(--tera-ink); font-weight: 750; letter-spacing: -.015em; }
.tera-simple-foot {
    position: fixed; inset-inline: 0; bottom: 1.25rem; margin: 0; text-align: center;
    font-size: .8125rem; color: rgba(214, 225, 240, .7); letter-spacing: .02em; pointer-events: none;
}
@media (max-height: 640px) { .tera-simple-foot { display: none; } }

/* ---- 8. Motion: none beyond hover fades; respect reduced motion ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .fi-sidebar .fi-sidebar-item-btn { transition: none; }
}

/* ---- 9. Company pages: the Perusahaan list (panel home) and a company's Ringkasan ------------------------- */

.tc-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tc-card { border-radius: .625rem; background: var(--tera-sheet); box-shadow: 0 0 0 1px var(--tera-line), var(--tera-shadow); padding: 1rem 1.125rem; }
.tc-card.tc-warn { box-shadow: 0 0 0 1px #b3d2f0, var(--tera-shadow); background: #eef5fc; }
.tc-label { font-size: .875rem; font-weight: 600; color: var(--tera-ink-2); }
.tc-big { margin-top: .3rem; font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; color: var(--tera-ink); }
.tc-muted { font-size: .875rem; color: var(--tera-ink-2); }
.tc-late { font-size: .875rem; color: #b91c1c; font-weight: 700; }
.tc-note { font-size: .875rem; color: var(--tera-muted); }

/* Search, Lanjutkan and the year on one line above the list. */
.tc-bar { display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; }
.tc-search { flex: 1 1 20rem; max-width: 30rem; }
.tc-resume {
    display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .8rem; border-radius: .5rem; text-decoration: none;
    background: #eef5fc; color: var(--tera-blue); box-shadow: inset 0 0 0 1px #b3d2f0; max-width: 100%;
}
.tc-resume:hover { background: #d9e9f8; }
.tc-resume:focus-visible { outline: 2px solid var(--tera-blue); outline-offset: 2px; }
.tc-resume-label { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tc-resume-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-resume-icon { width: 1rem; height: 1rem; flex: none; }
.tc-yearswitch { display: inline-flex; align-items: center; gap: .25rem; margin-left: auto; }
.tc-year { font-size: 1.25rem; font-weight: 750; color: var(--tera-ink); font-variant-numeric: tabular-nums; }
.tc-legend { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; font-size: .875rem; color: var(--tera-ink-2); }
.tc-legend > span { display: inline-flex; align-items: center; gap: .4rem; }

.tc-wrap { overflow-x: auto; border-radius: .625rem; background: var(--tera-sheet); box-shadow: 0 0 0 1px var(--tera-line), var(--tera-shadow); }
.tc-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tc-table th { background: var(--tera-head); color: var(--tera-ink-2); font-size: .875rem; font-weight: 650; padding: .6rem .5rem; text-align: center; border-bottom: 1px solid var(--tera-line); }
.tc-table th:first-child, .tc-table td:first-child { text-align: left; position: sticky; left: 0; padding-left: 1rem; min-width: 240px; }
.tc-table td:first-child { background: var(--tera-sheet); }
.tc-table td { border-top: 1px solid var(--tera-line-soft); padding: .55rem .5rem; text-align: center; background: var(--tera-sheet); }
.tc-table tbody tr:hover td { background: #f6f9fd; }
.tc-ledger { table-layout: fixed; min-width: 74rem; }
.tc-ledger th:first-child, .tc-ledger td:first-child { width: 17rem; }
.tc-ledger th + th, .tc-ledger td + td { border-left: 1px solid var(--tera-line-soft); }
.tc-ledger .tc-step-head, .tc-ledger .tc-step { width: 11rem; text-align: left; padding-left: .85rem; }
.tc-step a { color: var(--tera-blue); font-weight: 600; text-decoration: none; }
.tc-step a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-noyear { color: var(--tera-muted); }
.tc-remind th, .tc-remind td { text-align: left; }

.tc-cell { display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; text-decoration: none; color: inherit; border-radius: .375rem; padding: .15rem .35rem; }
.tc-cell:hover { background: #e8f1fb; }
.tc-cell:focus-visible { outline: 2px solid var(--tera-blue); outline-offset: 1px; }
.tc-amt { font-size: .875rem; color: var(--tera-ink-2); font-variant-numeric: tabular-nums; }
.tc-client { font-weight: 650; color: var(--tera-ink); text-decoration: none; }
.tc-client:hover { color: var(--tera-blue); text-decoration: underline; text-underline-offset: 3px; }
.tc-npwp { display: block; margin-top: .1rem; font-size: .8125rem; color: var(--tera-muted); font-variant-numeric: tabular-nums; }

.dark .tc-card.tc-warn { background: rgba(4, 97, 173, .18); }
.dark .tc-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.dark .tc-cell:hover { background: rgba(71, 144, 212, .18); }
.dark .tc-resume { background: rgba(4, 97, 173, .18); color: #b3d2f0; box-shadow: inset 0 0 0 1px rgba(71, 144, 212, .4); }

/* Ringkasan: PPh 21 on the left (the work), contact and the coming tax types on the right. */
.tera-ov { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
@media (max-width: 1199.98px) { .tera-ov { grid-template-columns: minmax(0, 1fr); } }
.tera-ov-main { padding: 1.25rem 1.5rem 1.5rem; }
.tera-ov-side { display: flex; flex-direction: column; gap: 1.25rem; }
.tera-ov-head { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tera-ov-head .tc-yearswitch { margin-left: 0; }
.tera-ov-title { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; font-weight: 750; letter-spacing: -.01em; color: var(--tera-ink); }
.tera-ov-years { display: flex; gap: .35rem; flex-wrap: wrap; margin-left: auto; }
.tera-ov-yearchip {
    font-size: .8125rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; font-variant-numeric: tabular-nums;
    color: var(--tera-ink-2); background: var(--tera-sheet); box-shadow: inset 0 0 0 1px var(--tera-line);
}
.tera-ov-yearchip:hover { color: var(--tera-blue); box-shadow: inset 0 0 0 1px #7fb2e4; }
.tera-ov-yearchip.is-on { background: var(--tera-blue); color: #fff; box-shadow: none; }

.tera-ov-marks {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .25rem; padding: .4rem;
    border-radius: .5rem; background: var(--tera-head); box-shadow: inset 0 0 0 1px var(--tera-line-soft);
}
@media (max-width: 767.98px) { .tera-ov-marks { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tera-ov-mark { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem 0 .2rem; border-radius: .4rem; }
.tera-ov-mark.is-focus { background: var(--tera-sheet); box-shadow: 0 0 0 2px var(--tera-blue); }
.tera-ov-mon { font-size: .8125rem; font-weight: 650; color: var(--tera-ink-2); }

.tera-ov-next {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--tera-line-soft);
}
.tera-ov-next-text { flex: 1 1 18rem; max-width: 42rem; }
.tera-ov-step { margin: .15rem 0 .25rem; font-size: 1.5rem; font-weight: 750; letter-spacing: -.015em; color: var(--tera-ink); }
.tera-ov-next-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.tera-ov-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 0; }
@media (max-width: 639.98px) { .tera-ov-facts { grid-template-columns: minmax(0, 1fr); } }
.tera-ov-facts > div { border-radius: .5rem; background: var(--tera-head); padding: .65rem .85rem; }
.tera-ov-facts dt { font-size: .8125rem; font-weight: 600; color: var(--tera-muted); }
.tera-ov-facts dd { margin: .1rem 0 0; font-size: 1.375rem; font-weight: 750; color: var(--tera-ink); font-variant-numeric: tabular-nums; }
.tera-ov-facts dd a { color: inherit; text-decoration: none; }
.tera-ov-facts dd a:hover { color: var(--tera-blue); text-decoration: underline; text-underline-offset: 3px; }
.tera-ov-facts dd a.is-warn { color: #b45309; }

.tera-ov-open { display: flex; align-items: center; gap: .5rem .85rem; flex-wrap: wrap; margin-top: 1.25rem; }
.tera-ov-empty { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; max-width: 42rem; padding: .5rem 0 .25rem; }
.tera-ov-empty-title { font-size: 1.125rem; font-weight: 700; color: var(--tera-ink); }

.tera-ov-contact { display: flex; flex-direction: column; gap: .6rem; margin: .6rem 0 .85rem; }
.tera-ov-contact dt { font-size: .8125rem; font-weight: 600; color: var(--tera-muted); }
.tera-ov-contact dd { margin: 0; color: var(--tera-ink); overflow-wrap: anywhere; }

/* A tax type that is coming: a quieter sheet and a small "segera" tag (the rail's badge word too). */
.tera-ov-soon { background: var(--tera-head); }
.tera-ov-soon p { margin-top: .4rem; }
.tera-soon {
    font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1rem .5rem; border-radius: 999px;
    color: var(--tera-muted); background: var(--tera-sheet); box-shadow: inset 0 0 0 1px var(--tera-line);
}
.tera-soon-page { max-width: 46rem; padding: 1.25rem 1.5rem; }
.tera-soon-page p, .tera-soon-page li { color: var(--tera-ink-2); }
.tera-soon-page p { margin-top: .6rem; }
.tera-soon-page ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0; }

.tera-yearlink { color: var(--tera-blue); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.tera-yearlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- 10. The rail's company block (App\Livewire\CompanySwitcher) --------------------------------------------- */

.tera-co { display: flex; flex-direction: column; gap: .5rem; }
.tera-co-block { border-radius: .625rem; padding: .7rem .8rem .65rem; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tera-co-kicker { color: rgba(205, 218, 236, .62); text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; font-weight: 700; }
.tera-co-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .3rem;
    color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none;
}
.tera-co-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.tera-co-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.tera-co-npwp { margin-top: .2rem; color: rgba(235, 241, 248, .7); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.tera-co-switch, .tera-co-pick {
    display: inline-flex; align-items: center; gap: .25rem; flex: none; color: #fff; font-weight: 600; font-size: .8125rem;
    border-radius: 999px; padding: .2rem .45rem .2rem .65rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.tera-co-pick { width: 100%; justify-content: space-between; margin-top: .4rem; padding: .45rem .55rem .45rem .75rem; border-radius: .5rem; font-size: .9375rem; }
.tera-co-switch:hover, .tera-co-pick:hover { background: rgba(255, 255, 255, .1); }
.tera-co-chev { width: 1rem; height: 1rem; transition: transform .15s ease; }
.tera-co-chev.is-open { transform: rotate(180deg); }
.tera-co-initial {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-inline: auto; border-radius: .5rem;
    color: #fff; font-weight: 750; font-size: .875rem; text-decoration: none; letter-spacing: .02em;
    background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -2px 0 var(--tera-orange);
}
.tera-co-initial:hover { background: rgba(255, 255, 255, .16); }

.tera-co-panel { border-radius: .625rem; padding: .5rem; background: rgba(7, 26, 49, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tera-co-search { width: 100%; border: 0; border-radius: .5rem; padding: .45rem .65rem; font-size: .875rem; background: #fff; color: var(--tera-ink); }
.tera-co-search::placeholder { color: var(--tera-muted); }
.tera-co-items { margin: .4rem 0 0; padding: 0; list-style: none; max-height: 18rem; overflow-y: auto; }
.tera-co-items.is-loading { opacity: .6; }
.tera-co-item { display: block; padding: .4rem .55rem; border-radius: .4rem; text-decoration: none; }
.tera-co-item:hover, .tera-co-item:focus-visible { background: rgba(255, 255, 255, .09); }
.tera-co-item-name { display: block; color: rgba(235, 241, 248, .95); font-weight: 600; font-size: .875rem; line-height: 1.3; }
.tera-co-item-npwp { display: block; color: rgba(235, 241, 248, .6); font-size: .75rem; font-variant-numeric: tabular-nums; }
.tera-co-nothing { padding: .45rem .55rem; color: rgba(235, 241, 248, .7); font-size: .8125rem; }
.tera-co-all {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .35rem; padding: .45rem .55rem .2rem;
    border-top: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .8125rem; text-decoration: none;
}
.tera-co-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.tera-co-all-icon { width: 1rem; height: 1rem; }
@media (prefers-reduced-motion: reduce) { .tera-co-chev { transition: none; } }
