[x-cloak] { display: none !important; }

/* Moving between pages: a short cross-fade to the new page, the menu standing still (no white
   flash, no reload look). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 140ms; }
#sidebar { view-transition-name: sidebar; }

/* A thin bar at the top while a page from the menu takes a moment (public/js/nav.js). */
#nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; background: hsl(var(--primary)); transform-origin: left; transform: scaleX(0); opacity: 0; }
#nav-progress.on { opacity: 1; transform: scaleX(0.7); transition: transform 2s cubic-bezier(0.1, 0.6, 0.2, 1); }
#nav-progress.done { opacity: 0; transform: scaleX(1); transition: transform 0.15s ease, opacity 0.25s ease 0.1s; }

/* Icons keep their place before they are drawn (nothing jumps when they appear). */
i[data-lucide] { display: inline-block; }

.htmx-request .htmx-indicator { opacity: 1; }
.htmx-indicator { opacity: 0; transition: opacity 150ms ease-in; }

/* ------------------------------------------------------------------ tokens
   Light by default: an off-white page (#F7F8F6), white surfaces with hairline borders (#E7EBE7)
   and almost no shadow, one teal accent — RobotVideo's (#167D70; hover #12685E; its soft teal
   #E6F3EF) — the other colours say something: green done, amber waiting on someone, red
   failed, blue at work. Dark when chosen (Pengaturan → Tampilan, or the sidebar). Every colour of a
   page comes from here.
   The rest of the system, used by every rule below (no one-off values):
   - type: Inter; sizes 11 / 12 / 13 / 14 / 15 / 16 / 18 / 20 / 22 / 24 / 28 px; weights 400 text, 500 labels,
     buttons, badges and the menu, 600 titles and numbers (700: the brand's name only);
   - corners: --radius-xs 6 px (small things inside others), --radius-sm 8 px (buttons, fields, tiles),
     --radius 10 px (menus, pickers, the account card), --radius-card 12 px (cards, panels, dialogs);
     pills and dots stay round;
   - depth: a border first; a shadow only for what lies over the page (menus, dialogs, toasts). */
@layer base {
  :root {
    --background: 90 13% 96.9%;
    --foreground: 153 12% 14.3%;
    --card: 0 0% 100%;
    --card-foreground: 153 12% 14.3%;
    --popover: 0 0% 100%;
    --popover-foreground: 153 12% 14.3%;
    --primary: 172 70% 28.8%;
    --primary-hover: 173 70% 23.9%;
    --primary-foreground: 0 0% 100%;
    --primary-text: 172 72% 25%;
    --primary-2: 170 56% 36%; /* a lighter teal (the sign-in page's side) */
    --primary-soft: 162 35% 92.7%; /* the soft teal behind what is chosen (the menu, an icon's tile) */
    --secondary: 120 10% 94.5%;
    --secondary-foreground: 153 12% 14.3%;
    --muted: 120 10% 94.5%;
    --muted-foreground: 140 5% 40%; /* #747D77 darker: small grey text keeps its contrast (≈ 6:1 on white, 5.6:1 on the page) */
    --accent: 172 70% 28.8%;
    --accent-foreground: 0 0% 100%;
    --destructive: 357 66% 59%;
    --destructive-solid: 357 62% 49%; /* behind white words (a "Hapus" button) */
    --destructive-foreground: 0 0% 100%;
    --success: 142 64% 38%;
    --warning: 39 70% 50%;
    --info: 213 80% 55%;
    --next: 243 62% 62%; /* "scheduled": its own colour (indigo) — the brand's teal sits too close to the green of "done" */
    --next-text: 243 48% 47%;
    --success-text: 142 72% 27%;
    --warning-text: 36 82% 30%;
    --info-text: 214 74% 42%;
    --danger-text: 357 60% 44%;
    --border: 120 9% 91.4%;
    --input: 130 8% 82%;
    --ring: 172 70% 28.8%;
    --radius: 0.625rem;
    --radius-xs: 0.375rem;
    --radius-sm: 0.5rem;
    --radius-card: 0.75rem;

    --shadow-xs: 0 1px 2px 0 hsl(150 12% 16% / 0.04);
    --shadow-card: 0 1px 2px 0 hsl(150 12% 16% / 0.03);
    --shadow-brand: 0 0 #0000;
    --shadow-sm: 0 1px 2px 0 hsl(150 12% 16% / 0.05);
    --shadow-md: 0 4px 12px -4px hsl(150 12% 16% / 0.12);
    --shadow-lg: 0 8px 24px -6px hsl(150 12% 16% / 0.13), 0 2px 4px -2px hsl(150 12% 16% / 0.04);
    --shadow-xl: 0 16px 40px -12px hsl(150 12% 16% / 0.2);
  }
  .dark {
    color-scheme: dark; /* the browser's own controls (tick boxes, lists) dark too */
    --background: 160 7% 7.5%;
    --foreground: 150 6% 93%;
    --card: 160 6% 10.5%;
    --card-foreground: 150 6% 93%;
    --popover: 160 6% 12.5%;
    --popover-foreground: 150 6% 93%;
    --primary: 171 66% 32%;
    --primary-hover: 171 66% 27%;
    --primary-foreground: 0 0% 100%;
    --primary-text: 168 52% 62%;
    --primary-2: 170 50% 44%;
    --primary-soft: 171 42% 14%;
    --secondary: 160 5% 15.5%;
    --secondary-foreground: 150 6% 93%;
    --muted: 160 5% 15.5%;
    --muted-foreground: 150 5% 63%;
    --accent: 171 66% 32%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 72% 60%;
    --destructive-solid: 0 66% 50%;
    --destructive-foreground: 0 0% 98%;
    --success: 142 55% 47%;
    --warning: 38 90% 56%;
    --info: 214 90% 64%;
    --next: 243 82% 74%;
    --next-text: 243 90% 82%;
    --success-text: 142 55% 60%;
    --warning-text: 38 90% 64%;
    --info-text: 214 90% 74%;
    --danger-text: 0 80% 72%;
    --border: 160 5% 18.5%;
    --input: 160 5% 25%;
    --ring: 171 62% 45%;

    --shadow-xs: 0 1px 2px 0 hsl(0 0% 0% / 0.3);
    --shadow-card: 0 0 #0000; /* (a shadow, not "none": it is also used in lists of shadows) */
    --shadow-brand: 0 0 #0000;
    --shadow-sm: 0 1px 3px 0 hsl(0 0% 0% / 0.35);
    --shadow-md: 0 4px 14px -2px hsl(0 0% 0% / 0.45);
    --shadow-lg: 0 12px 32px -8px hsl(0 0% 0% / 0.55);
    --shadow-xl: 0 24px 56px -12px hsl(0 0% 0% / 0.65);
  }
}

html, body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-feature-settings: "rlig" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
}
/* A fieldset is as wide as its content by default: on a phone it pushed the forms past the screen. */
fieldset { min-width: 0; }

/* ------------------------------------------------------------------ layout */
.page { max-width: 76rem; margin-inline: auto; }
.page-narrow { max-width: 62rem; margin-inline: auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.page-head > :first-child { flex: 1 1 18rem; min-width: 0; } /* a long line under the title wraps; the buttons stay at the right */
.page-title { font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
@media (max-width: 639px) { .page-title { font-size: 1.375rem; } }
.page-eyebrow { font-size: .75rem; font-weight: 600; color: hsl(var(--muted-foreground)); margin-bottom: .25rem; }
.page-sub { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.back-link { display: inline-flex; align-items: center; gap: .25rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-bottom: .5rem; }
.back-link:hover { color: hsl(var(--foreground)); }

/* A page as tall as the window, on a computer: <div class="page fit" data-fit>. public/js/upl.js
   (UPL.fit) measures --fit-h, the room from the page's top to the window's bottom, and sets
   .fit-on while the window is wide enough for it (1024 px, or what data-fit asks for). The page's
   own parts keep their height; the one marked .fit-grow takes the room left; .fit-col shares its
   height among its own parts the same way; and what is long scrolls inside its panel
   (.fit-scroll) — the page itself doesn't. Such a page uses the window's whole width too. On a
   narrower window (a phone) a page is as it was: its parts follow each other and it scrolls. */
.fit { max-width: none; }
.fit-on { display: flex; flex-direction: column; height: var(--fit-h, calc(100dvh - 3.5rem)); min-height: 24rem; }
.fit-on > *, .fit-on .fit-col > * { flex-shrink: 0; }
.fit-on .fit-col { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.fit-on .fit-grow { flex: 1 1 0; min-height: 0; }
.fit-on .fit-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.fit-on .fit-rows { grid-template-rows: minmax(0, 1fr); align-items: stretch; } /* a grid of columns, each the whole height */
.fit-on .fit-scroll.fit-snug { flex: 0 1 auto; } /* as tall as what is in it (what follows sits right under it), scrolling only when that is too much */
.fit-on .card.fit-col { overflow: hidden; }
/* The head: one line — the page's name, what it is (as far as it fits), its buttons. */
.fit-on > .page-head { margin-bottom: .875rem; align-items: center; }
.fit-on > .page-head .page-title { font-size: 1.375rem; }
.fit-on .head-line { display: flex; align-items: baseline; gap: .75rem; min-width: 0; }
.fit-on .head-line > .page-title, .fit-on .head-line > div { flex-shrink: 0; }
.fit-on .head-line > .back-link { margin-bottom: 0; align-self: center; flex-shrink: 0; }
.fit-on .head-line > .page-sub { margin-top: 0; min-width: 0; font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fit-on > .back-link { margin-bottom: .25rem; }
/* Rows a little lower, so more of them show. */
.fit-on .tbl-row { padding-block: .4375rem; }
.fit-on .tbl-row .thumb, .fit-on .tbl-row .thumb-empty { height: 2.375rem; width: auto; }
/* The small numbers above a list: one line each. */
.fit-on .stats-line { margin-bottom: .875rem; }
.fit-on .stats-line .stat { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .5rem .9375rem; }
.fit-on .stats-line .stat-value { margin-top: 0; font-size: 1.25rem; }
/* Konten's cards scroll inside the page (room around them for their shadow). An empty list fills the room. */
.fit-on .grid.fit-scroll { align-content: start; grid-auto-rows: max-content; padding: .25rem; margin: -.25rem; } /* cards that scroll inside: room for their shadow */
.fit-on .vgrid.fit-scroll { align-content: start; grid-auto-rows: max-content; padding: .25rem; margin: -.25rem; } /* (max-content: a card clips its inside, so a row would shrink to the box) */
.fit-on .empty.fit-grow { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Kalender: the weeks share the card's height. */
.fit-on .cal-grid { grid-auto-rows: minmax(0, 1fr); }
.fit-on .cal-grid .cal-cell { min-height: 0; overflow: hidden; }
/* Laporan: the chart, the phones' table, why posts failed. Beside each other where the page fits the window
   (a low window: three columns; a tall one: the chart at the left, the two lists one above the other). */
.fit-on .rep-board { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.fit-on .rep-board > .rep-chart { grid-column: 1; grid-row: 1 / span 2; }
@media (max-height: 800px) {
  .fit-on .rep-board { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: minmax(0, 1fr); }
  .fit-on .rep-board > .rep-chart { grid-row: 1; }
}
.fit-on .stats { margin-bottom: .875rem; }
.fit-on .card-head { padding-block: .6875rem; }
/* Admin -> one customer: its phones over its payments | its posts | the account, the note, the subscription. */
.fit-on .cust-board { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 1rem; }
.fit-on .cust-left { display: contents; }
.page.fit-on .cust-board .cust-left > * { margin-top: 0; }
.fit-on .cust-phones { grid-column: 1; grid-row: 1; }
.fit-on .cust-pay { grid-column: 1; grid-row: 2; }
.fit-on .cust-posts { grid-column: 2; grid-row: 1 / span 2; }
.fit-on .cust-side { grid-column: 3; grid-row: 1 / span 2; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
/* Tambah / Edit Konten: where it posts beside its label; the foot's bar close to the form; on a low window the
   preview without its recap (the form is beside it). */
.fit-on .form-platform { display: grid; grid-template-columns: 14rem minmax(0, 1fr); align-items: center; gap: 1rem; margin-bottom: .875rem; }
.fit-on .form-platform > :first-child { display: block; margin-bottom: 0; }
.fit-on .form-save { margin-top: .75rem; }
.fit-on .form-cols section { padding: 1rem 1.25rem 1.125rem; }
.fit-on .form-cols section > :first-child { margin-bottom: .75rem; }
.fit-on .form-drop { padding-block: 1rem; }
@media (max-height: 800px) { .fit-on .form-recap { display: none; } }
/* Layar HP / Flow Builder: the phone's screen fills what is left of the page. */
.fit-on .screen-frame { height: auto; min-height: 16rem; }
/* A table's head stays while its rows scroll. */
.fit-on .fit-scroll thead th { position: sticky; top: 0; z-index: 1; background: linear-gradient(hsl(var(--secondary) / 0.5), hsl(var(--secondary) / 0.5)), hsl(var(--card)); }
.section-title { font-size: .9375rem; font-weight: 600; }
.eyebrow { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* ------------------------------------------------------------------ surfaces */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9375rem 1.25rem; border-bottom: 1px solid hsl(var(--border) / 0.8); }
.card-title { font-size: .9375rem; font-weight: 600; letter-spacing: -0.005em; }
.card-sub { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.card-body { padding: 1.25rem; }
/* Old pages (Resep, Layar HP) keep their look through these until they are redone. */
.card-premium { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-card); }
.icon-tile { width: 2.5rem; height: 2.5rem; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: hsl(var(--primary-soft)); color: hsl(var(--primary)); }
.icon-tile :where(svg) { width: 1.25rem; height: 1.25rem; }
.icon-tile-sm { width: 1.75rem; height: 1.75rem; border-radius: var(--radius-sm); }
.icon-tile-sm :where(svg) { width: .9375rem; height: .9375rem; }
/* The logo (public/favicon.svg: the robot's head, white on the teal tile — replace that one file to change it). */
.logo-tile { width: 2.375rem; height: 2.375rem; flex-shrink: 0; display: block; }

/* The numbers at the top of a page: a small card each (one is the filter in use: .is-on). */
.stats { display: grid; gap: .75rem; }
.stat { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: .875rem 1.125rem; text-align: left; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; min-width: 0; }
a.stat:hover, button.stat:hover { border-color: hsl(var(--primary) / 0.35); }
.stat.is-on { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.04); box-shadow: 0 0 0 1px hsl(var(--primary)), var(--shadow-card); }
.stat-label { display: flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-value { margin-top: .125rem; font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
/* Two to a row on a phone: an odd last one takes the whole row (no empty grey cell). */
@media (max-width: 767px) { .stats.grid-cols-2 > .stat:last-child:nth-child(odd of .stat) { grid-column: span 2; } }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.25rem; padding: 0 .9375rem; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: .875rem; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; user-select: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
:where(.btn) svg, :where(.btn) i[data-lucide] { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: hsl(var(--primary-hover)); }
.btn-secondary { background: hsl(var(--card)); border-color: hsl(var(--input)); color: hsl(var(--foreground)); }
.btn-secondary:hover { background: hsl(var(--secondary)); }
.btn-secondary.is-on { border-color: hsl(var(--primary) / 0.5); background: hsl(var(--primary) / 0.06); color: hsl(var(--primary-text)); }
.btn-ghost { color: hsl(var(--muted-foreground)); }
.btn-ghost:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.btn-danger { background: hsl(var(--destructive-solid)); color: hsl(var(--destructive-foreground)); }
.btn-danger:hover { filter: brightness(.94); }
.btn-danger-ghost { color: hsl(var(--danger-text)); }
.btn-danger-ghost:hover { background: hsl(var(--destructive) / 0.08); }
.btn-sm { height: 2rem; padding: 0 .625rem; font-size: .8125rem; gap: .375rem; }
.btn-xs { height: 1.75rem; padding: 0 .5rem; font-size: .75rem; gap: .25rem; border-radius: var(--radius-xs); }
.btn-icon { width: 2.25rem; padding: 0; }
.btn-sm.btn-icon { width: 2rem; }
.btn-xs.btn-icon { width: 1.75rem; }
/* Old names, same looks. */
.btn-primary-glow { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-brand); transition: background-color .15s ease; }
.btn-primary-glow:hover:not(:disabled) { background: hsl(var(--primary-hover)); }
.btn-soft { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); transition: background-color .15s ease; }
.btn-soft:hover:not(:disabled) { background: hsl(var(--secondary)); }

/* ------------------------------------------------------------------ forms */
.field { width: 100%; height: 2.25rem; padding: 0 .75rem; font-size: .875rem; border: 1px solid hsl(var(--input)); background: hsl(var(--card)); color: hsl(var(--foreground)); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease; }
:where(textarea).field { height: auto; padding: .5rem .75rem; line-height: 1.5; resize: vertical; }
:where(select).field { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; background-size: 1rem; }
.field::placeholder { color: hsl(var(--muted-foreground) / 0.8); }
.field:focus { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.14); }
.field:disabled { opacity: .6; cursor: not-allowed; }
.field[aria-invalid="true"] { border-color: hsl(var(--destructive)); }
.field[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px hsl(var(--destructive) / 0.14); }
.label { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: .375rem; }
.label-opt { font-weight: 400; color: hsl(var(--muted-foreground)); }
.help { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .375rem; }
.error-text { font-size: .75rem; color: hsl(var(--danger-text)); margin-top: .375rem; }
input[type="checkbox"], input[type="radio"] { accent-color: hsl(var(--primary)); }

/* An on/off switch: <label class="switch"><input type="checkbox"><span class="switch-track"></span></label> */
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { width: 2.25rem; height: 1.25rem; border-radius: 999px; background: hsl(var(--input)); transition: background-color .15s ease; position: relative; }
.switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 1rem; height: 1rem; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px hsl(0 0% 0% / 0.2); transition: transform .15s ease; }
.switch input:checked + .switch-track { background: hsl(var(--primary)); }
.switch input:checked + .switch-track::after { transform: translateX(1rem); }
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.switch input:disabled + .switch-track { opacity: .5; }

/* A choice tile (a radio / checkbox inside): phones, "Posting sekarang / Jadwalkan", the theme. */
.choice { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .875rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); background: hsl(var(--card)); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.choice:hover { border-color: hsl(var(--input)); background: hsl(var(--secondary) / 0.4); }
.choice.is-on, .choice:has(input:checked) { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.04); box-shadow: 0 0 0 1px hsl(var(--primary)); }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.choice-title { font-size: .875rem; font-weight: 500; }
.choice-text { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }

/* Segmented control and chips */
.segmented { display: inline-flex; gap: 2px; padding: 3px; background: hsl(var(--secondary)); border-radius: var(--radius-sm); max-width: 100%; overflow-x: auto; }
.segmented > * { height: 1.875rem; padding: 0 .75rem; border-radius: var(--radius-xs); font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.segmented > *:hover { color: hsl(var(--foreground)); }
.segmented > .is-on, .segmented > [aria-current="page"], .segmented > [aria-pressed="true"], .segmented > label:has(input:checked) { background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: var(--shadow-xs); }
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented > template { display: none; } /* an Alpine x-for's template is not a button */
/* Rows that scroll sideways on a phone (tabs, section links): swiped, no scrollbar line under them. */
.segmented, .no-scrollbar { scrollbar-width: none; }
.segmented::-webkit-scrollbar, .no-scrollbar::-webkit-scrollbar { display: none; }
.segmented :where(svg) { width: .9375rem; height: .9375rem; }
.chip { display: inline-flex; align-items: center; gap: .25rem; height: 1.75rem; padding: 0 .625rem; border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--foreground)); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
/* The phones to pick from (components/device-picker, devices-picker): as many in a row as fit the place they are in
   — a column of a form, a dialog —, each at least 15rem wide: by the place, not by the window. */
.pick-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
/* A chip's words stay in it: one line, never wider than its place — a name longer than that is cut with "…"
   (.chip-text, the whole of it in the chip's title), not broken over two lines and out of the chip. */
.chip { max-width: 100%; white-space: nowrap; overflow: hidden; }
.chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.chip-mark { flex: none; }
/* … and the account open on the phone has a dot after its name (never cut off: the name gives way). */
.acc-name { flex: 1 1 0%; width: auto; min-width: 7.5rem; } /* an account's username field on the HP page: never squeezed by the mark beside it */
.acc-open { display: inline-flex; align-items: center; gap: .3125rem; font-size: .75rem; white-space: nowrap; color: hsl(var(--success-text)); } /* "● terbuka" beside an account on the HP page */
.chip-open { flex: none; width: .4375rem; height: .4375rem; border-radius: 999px; background: hsl(var(--success)); box-shadow: 0 0 0 2px hsl(var(--success) / 0.18); margin-left: .125rem; }
.chip:hover { background: hsl(var(--secondary)); }
.chip.is-on { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.08); color: hsl(var(--primary-text)); }
.chip:disabled { opacity: .45; pointer-events: none; }

/* Underline tabs */
.tabs { display: flex; gap: 1.25rem; border-bottom: 1px solid hsl(var(--border)); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: .375rem; padding: .625rem 0; font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); white-space: nowrap; transition: color .15s ease; }
.tab:hover { color: hsl(var(--foreground)); }
.tab.is-on { color: hsl(var(--foreground)); }
.tab.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: hsl(var(--primary)); }
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.25rem; height: 1.125rem; padding: 0 .375rem; border-radius: 999px; font-size: .6875rem; font-weight: 600; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.tab.is-on .tab-count { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary-text)); }

/* ------------------------------------------------------------------ tables */
.tbl-head { font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); padding: .5rem 1rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.5); }
.tbl-row { padding: .625rem 1rem; border-bottom: 1px solid hsl(var(--border)); transition: background-color .1s ease; }
.tbl-row:last-child { border-bottom: 0; }
.tbl-row:hover { background: hsl(var(--secondary) / 0.45); }
.tbl-row.is-selected { background: hsl(var(--primary) / 0.04); }
.tbl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .625rem 1rem; border-top: 1px solid hsl(var(--border)); font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th { text-align: left; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); padding: .5rem 1rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.5); white-space: nowrap; }
.data-table td { padding: .625rem 1rem; border-bottom: 1px solid hsl(var(--border)); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: hsl(var(--secondary) / 0.35); }
/* Laporan's board (see .fit-on .rep-board): one column on a phone; the chart above the two lists on a tablet. */
.rep-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 1024px) { .rep-board { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .rep-board > .rep-chart { grid-column: 1 / -1; } }
/* The phones' table in a narrow card: without how many posts in all and the average time (the bar and the rate say it). */
.rep-devices { container-type: inline-size; }
@container (max-width: 30rem) { .rep-devices th:nth-child(2), .rep-devices td:nth-child(2), .rep-devices th:nth-child(6), .rep-devices td:nth-child(6) { display: none; } .rep-devices th, .rep-devices td { padding-inline: .5rem; } .rep-devices th:first-child, .rep-devices td:first-child { padding-left: 1rem; } }
@container (max-width: 23.5rem) { .rep-devices th:nth-child(4), .rep-devices td:nth-child(4) { display: none; } }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.thumb { aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-xs); background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); flex-shrink: 0; display: block; }
.thumb-empty { aspect-ratio: 9 / 16; border-radius: var(--radius-xs); background: hsl(var(--secondary)); border: 1px dashed hsl(var(--input)); color: hsl(var(--muted-foreground)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ------------------------------------------------------------------ status */
.badge { display: inline-flex; align-items: center; gap: .375rem; height: 1.5rem; padding: 0 .5625rem; border-radius: 999px; font-size: .75rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.badge-dot { width: .375rem; height: .375rem; border-radius: 999px; background: currentColor; flex-shrink: 0; }
.badge .spin { width: .75rem; height: .75rem; flex-shrink: 0; }
/* A small ring that turns (no icon: lists that refresh don't redraw it). */
.spinner { display: inline-block; width: .625rem; height: .625rem; border-radius: 999px; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex-shrink: 0; }
.spinner-lg { width: 1rem; height: 1rem; border-width: 2px; }
.tone-ok { background: hsl(var(--success) / 0.12); color: hsl(var(--success-text)); }
.tone-bad { background: hsl(var(--destructive) / 0.1); color: hsl(var(--danger-text)); }
.tone-warn { background: hsl(var(--warning) / 0.15); color: hsl(var(--warning-text)); }
.tone-info { background: hsl(var(--info) / 0.12); color: hsl(var(--info-text)); }
.tone-next { background: hsl(var(--next) / 0.12); color: hsl(var(--next-text)); }
.tone-muted { background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.tt-ok { color: hsl(var(--success-text)); }
.tt-bad { color: hsl(var(--danger-text)); }
.tt-warn { color: hsl(var(--warning-text)); }
.tt-info { color: hsl(var(--info-text)); }
.tt-next { color: hsl(var(--next-text)); }
.tt-muted { color: hsl(var(--muted-foreground)); }

/* A phone's state: online (green), at work (blue), offline (an empty ring). */
.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 999px; flex-shrink: 0; }
.dot-online { background: hsl(var(--success)); box-shadow: 0 0 0 3px hsl(var(--success) / 0.15); }
.dot-busy { background: hsl(var(--info)); box-shadow: 0 0 0 3px hsl(var(--info) / 0.18); }
.dot-offline { background: transparent; border: 1.5px solid hsl(var(--muted-foreground) / 0.55); }

/* Where a Konten posts (Tambah Konten, Upload Banyak): a card per platform with its flag (components/platform-picker). */
.pick-card { display: flex; align-items: center; gap: .75rem; width: 100%; min-width: 0; padding: .6875rem .875rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.pick-card:hover:not(:disabled) { border-color: hsl(var(--input)); }
.pick-card.is-on { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.05); box-shadow: 0 0 0 1px hsl(var(--primary)); }
.pick-card:disabled { opacity: .45; cursor: not-allowed; }
.pick-card:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.pick-flag { width: 2.25rem; height: 1.5rem; border-radius: .3125rem; overflow: hidden; flex-shrink: 0; display: flex; box-shadow: 0 0 0 1px hsl(240 10% 10% / 0.12); }
.pick-flag svg, .flag-sm svg { width: 100%; height: 100%; display: block; }
.pick-check { width: 1.25rem; height: 1.25rem; border-radius: 999px; border: 1.5px solid hsl(var(--input)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: transparent; transition: background-color .15s ease, border-color .15s ease; }
.pick-check svg { width: .75rem; height: .75rem; }
.pick-card.is-on .pick-check { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
/* A small flag in a button (the Konten list's country tabs). */
/* A place to post to in Admin → Layanan posting: its first letter on its colour (a built-in one: plain), the colours to choose from */
.svc-tile { display: inline-grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0; border-radius: var(--radius-xs); color: #fff; font-size: .875rem; font-weight: 600; }
.svc-tile.is-built { background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.svc-color { width: 1.5rem; height: 1.5rem; border-radius: 999px; box-shadow: 0 0 0 1px hsl(240 10% 10% / 0.12); cursor: pointer; }
.svc-color.is-on { box-shadow: 0 0 0 2px hsl(var(--card)), 0 0 0 4px hsl(var(--foreground)); }
.flag-sm { display: inline-flex; width: 1.125rem; height: .75rem; border-radius: .1875rem; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px hsl(240 10% 10% / 0.12); }

/* A Konten's platform when not Shopee Indonesia: "MY" (Shopee Malaysia), "TikTok" — UPL.tag(platform). */
.ptag { display: inline-flex; align-items: center; height: 1rem; padding: 0 .375rem; margin-right: .375rem; border-radius: .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .02em; line-height: 1; vertical-align: 1px; color: #fff; background: hsl(240 6% 12%); }
.ptag-shopee { background: hsl(11 82% 48%); } /* Shopee Indonesia: "ID" */
.ptag-shopee_my { background: hsl(214 84% 45%); }
.ptag-shopee_sg { background: hsl(350 72% 42%); } /* Shopee Singapura: "SG" — deeper than Indonesia's orange-red */
.ptag-ai, .dark .ptag-ai { background: hsl(var(--primary)); } /* a Konten marked "dibuat dengan AI" */
.dark .ptag { background: hsl(240 4% 30%); }
.dark .ptag-shopee { background: hsl(11 78% 50%); }
.dark .ptag-shopee_my { background: hsl(214 80% 48%); }
.dark .ptag-shopee_sg { background: hsl(350 68% 48%); }

/* A Konten's post on one phone (Konten list): the phone's name with its post's status colour. */
.phone-pill { display: inline-flex; align-items: center; gap: .3125rem; max-width: 100%; height: 1.25rem; padding: 0 .4375rem; border-radius: 999px; font-size: .6875rem; font-weight: 500; background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.phone-pill > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Jadwal → Kalender: a day of the month and its posts */
.cal-cell { min-height: 6.5rem; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: .125rem; padding: .375rem .25rem; text-align: left; border-right: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); transition: background-color .1s ease; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell:hover { background: hsl(var(--secondary) / 0.45); }
.cal-cell.is-out { background: hsl(var(--secondary) / 0.35); color: hsl(var(--muted-foreground) / 0.7); }
.cal-cell.is-picked { box-shadow: inset 0 0 0 2px hsl(var(--primary)); }
.cal-day { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-day.is-today { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.cal-entry { align-items: center; gap: .25rem; min-width: 0; padding: .0625rem .25rem; border-radius: .25rem; font-size: .6875rem; line-height: 1.3; }
@media (max-width: 639px) { .cal-cell { min-height: 3.75rem; padding: .25rem .125rem; } }
.pd { width: .4375rem; height: .4375rem; border-radius: 999px; flex-shrink: 0; box-sizing: border-box; }
.pd-ok { background: hsl(var(--success)); }
.pd-bad { background: hsl(var(--destructive)); }
.pd-warn { background: hsl(var(--warning)); }
.pd-info { background: hsl(var(--info)); }
.pd-next { background: hsl(var(--next)); }
.pd-muted { background: transparent; border: 1.5px solid hsl(var(--muted-foreground) / 0.55); }

.progress { height: .375rem; border-radius: 999px; background: hsl(var(--secondary)); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: hsl(var(--primary)); transition: width .4s ease; }
.progress-lg { height: .5rem; }
/* Konten: the videos' room on the server — how full (amber from 80%, red when full). */
.store { display: inline-flex; align-items: center; gap: .4375rem; height: 2.25rem; padding: 0 .75rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); background: hsl(var(--card)); font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); white-space: nowrap; }
.store :where(svg) { width: .875rem; height: .875rem; flex-shrink: 0; }
.store.is-near { color: hsl(var(--warning-text)); } .store.is-near .progress > span { background: hsl(var(--warning)); }
.store.is-full { color: hsl(var(--danger-text)); border-color: hsl(var(--destructive) / 0.4); } .store.is-full .progress > span { background: hsl(var(--destructive)); }

/* Beranda's short steps: Video ✓ Upload ✓ Caption ● Produk ○ Posting ○ */
.steps-mini { display: flex; flex-wrap: wrap; gap: .25rem .875rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.steps-mini > span { display: inline-flex; align-items: center; gap: .3125rem; }
.steps-mini > span::before { content: ''; width: .5rem; height: .5rem; border-radius: 999px; border: 1.5px solid hsl(var(--muted-foreground) / 0.5); box-sizing: border-box; }
.steps-mini > [data-state="done"] { color: hsl(var(--foreground)); }
.steps-mini > [data-state="done"]::before { background: hsl(var(--success)); border-color: hsl(var(--success)); }
.steps-mini > [data-state="current"] { color: hsl(var(--primary-text)); font-weight: 500; }
.steps-mini > [data-state="current"]::before { background: hsl(var(--primary)); border-color: hsl(var(--primary)); animation: pulse-ring 1.6s ease-out infinite; }
.steps-mini > [data-state="failed"] { color: hsl(var(--danger-text)); }
.steps-mini > [data-state="failed"]::before { background: hsl(var(--destructive)); border-color: hsl(var(--destructive)); }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0.45); } 80%, 100% { box-shadow: 0 0 0 5px hsl(var(--primary) / 0); } }

/* A post's timeline (Detail perangkat): ✓ done, ● now, ○ to come, ✕ stopped. */
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; display: flex; gap: .75rem; padding-bottom: .875rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: .6875rem; top: 1.5rem; bottom: .125rem; width: 2px; border-radius: 2px; background: hsl(var(--border)); }
.tl-item:last-child::before { display: none; }
.tl-item[data-state="done"]::before { background: hsl(var(--success) / 0.45); }
.tl-dot { width: 1.375rem; height: 1.375rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1.5px solid hsl(var(--input)); background: hsl(var(--card)); color: hsl(var(--muted-foreground)); }
.tl-dot svg { width: .75rem; height: .75rem; stroke-width: 3; }
.tl-item[data-state="done"] .tl-dot { background: hsl(var(--success)); border-color: hsl(var(--success)); color: #fff; }
.tl-item[data-state="current"] .tl-dot { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); animation: pulse-ring 1.6s ease-out infinite; }
.tl-item[data-state="failed"] .tl-dot { background: hsl(var(--destructive)); border-color: hsl(var(--destructive)); color: #fff; }
.tl-label { font-size: .875rem; line-height: 1.375rem; flex: 1; min-width: 0; }
.tl-item[data-state="todo"] .tl-label { color: hsl(var(--muted-foreground)); }
.tl-item[data-state="current"] .tl-label { font-weight: 600; color: hsl(var(--primary-text)); }
.tl-item[data-state="failed"] .tl-label { font-weight: 600; color: hsl(var(--danger-text)); }
.tl-time { font-size: .75rem; line-height: 1.375rem; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Beranda
   The pieces are for any page: .section-head (a panel's title, its line, what it leads to), .stat-card
   (a number with what it means), .trend, .spark, .skeleton, .empty-inline, .feed, .live-chip. */

/* Today's posts: the one teal surface of the page (flat: no gradient, nothing drawn behind the words). */
.today { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.125rem; border-radius: var(--radius-card); padding: 1.375rem 1.5rem; color: #fff; background: hsl(var(--primary)); }
.dark .today { background: hsl(171 62% 24%); }
.today-main { min-width: 0; flex: 1; }
.today-eyebrow { font-size: .6875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; opacity: .82; }
.today-title { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-top: .25rem; }
.today-text { font-size: .8125rem; line-height: 1.5; opacity: .9; margin-top: .375rem; max-width: 30rem; }
/* How today's posts stand: one bar, a part each (gone out, on a phone, to come, failed). */
.today-meter { display: flex; gap: 3px; height: .5rem; margin-top: .875rem; max-width: 30rem; border-radius: 999px; overflow: hidden; background: hsl(0 0% 100% / 0.16); }
.today-meter > span { display: block; height: 100%; min-width: 0; flex-basis: 0; transition: flex-grow .4s ease; }
.today-meter > .is-done { background: #fff; }
.today-meter > .is-run { background: hsl(0 0% 100% / 0.62); }
.today-meter > .is-wait { background: hsl(0 0% 100% / 0.3); }
.today-meter > .is-fail { background: hsl(357 100% 82%); }
.today-legend { display: flex; flex-wrap: wrap; gap: .25rem 1.125rem; margin-top: .625rem; font-size: .8125rem; }
.today-legend > li { display: inline-flex; align-items: center; gap: .4375rem; opacity: .92; }
.today-legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.today-legend i { width: .5rem; height: .5rem; border-radius: 999px; flex-shrink: 0; }
.today-legend .is-done { background: #fff; } .today-legend .is-run { background: hsl(0 0% 100% / 0.62); } .today-legend .is-wait { background: hsl(0 0% 100% / 0.32); } .today-legend .is-fail { background: hsl(357 100% 82%); }
.today-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.today .btn-light { background: #fff; color: hsl(173 70% 23.9%); box-shadow: none; }
.today .btn-light:hover { background: hsl(0 0% 100% / 0.92); }
.today .btn-glass { background: hsl(0 0% 100% / 0.14); color: #fff; border-color: hsl(0 0% 100% / 0.24); }
.today .btn-glass:hover { background: hsl(0 0% 100% / 0.22); }
.today .btn:focus-visible { box-shadow: 0 0 0 3px hsl(0 0% 100% / 0.45); }
/* The post that is next (or going out now). */
.today-next { display: block; min-width: 0; background: hsl(0 0% 100% / 0.13); border: 1px solid hsl(0 0% 100% / 0.22); border-radius: var(--radius); padding: .8125rem .9375rem; transition: background-color .18s ease; }
a.today-next:hover { background: hsl(0 0% 100% / 0.2); }
a.today-next:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(0 0% 100% / 0.45); }
@media (min-width: 768px) { .today { flex-direction: row; align-items: center; gap: 1.75rem; padding: 1.5rem 1.75rem; } .today-next { width: 18.5rem; flex-shrink: 0; } }

/* A panel's head: its name, a line under it, what it leads to (or its controls) at the right. */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .5rem .875rem; padding: 1rem 1.25rem .875rem; }
.section-head > :first-child { min-width: 0; flex: 1 1 8rem; }
.section-sub { font-size: .8125rem; line-height: 1.45; color: hsl(var(--muted-foreground)); margin-top: .125rem; }
.section-link { display: inline-flex; align-items: center; gap: .25rem; height: 1.75rem; padding: 0 .5rem; margin-right: -.5rem; border-radius: var(--radius-xs); font-size: .8125rem; font-weight: 600; color: hsl(var(--primary-text)); white-space: nowrap; transition: background-color .18s ease; }
.section-link:hover { background: hsl(var(--primary-soft)); }
.section-link:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.section-link :where(svg) { width: .875rem; height: .875rem; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem 1.25rem; border-top: 1px solid hsl(var(--border) / 0.8); font-size: .8125rem; color: hsl(var(--muted-foreground)); }

/* A number with what it means: the icon in a small soft tile, the name, the number, one line under it. */
.stat-card { display: flex; flex-direction: column; min-width: 0; padding: 1rem 1.125rem 1.0625rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a.stat-card:hover { border-color: hsl(var(--primary) / 0.4); }
a.stat-card:focus-visible { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--ring) / 0.28); }
.stat-card-top { display: flex; align-items: center; gap: .5625rem; min-width: 0; }
.stat-card-top .icon-tile { width: 1.875rem; height: 1.875rem; border-radius: var(--radius-sm); }
.stat-card-top .icon-tile :where(svg) { width: 1rem; height: 1rem; }
.stat-card-label { flex: 1; min-width: 0; font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card-go { width: .9375rem; height: .9375rem; flex-shrink: 0; color: hsl(var(--muted-foreground) / 0.55); transition: color .18s ease, transform .18s ease; }
a.stat-card:hover .stat-card-go { color: hsl(var(--primary)); }
.stat-card-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-top: .75rem; min-width: 0; }
.stat-card-value { font-size: 1.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-card-value > small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: hsl(var(--muted-foreground)); margin-left: .1875rem; }
.stat-card-value.is-money { font-size: 1.5rem; }
.stat-card-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-top: .5rem; font-size: .75rem; line-height: 1.4; color: hsl(var(--muted-foreground)); min-width: 0; }
@media (max-width: 639px) { /* a phone: the name on two lines when it needs them, no arrow, no small line */
  .stat-card { padding: .875rem .875rem .9375rem; } .stat-card-value { font-size: 1.5rem; } .stat-card-value.is-money { font-size: 1.125rem; }
  .stat-card-label { white-space: normal; line-height: 1.25; font-size: .8125rem; } .stat-card-go, .stat-card .spark { display: none; }
}
/* Against the period before: an arrow and the figure, in the text's own colour (a number isn't good or bad by itself). */
.trend { display: inline-flex; align-items: center; gap: .1875rem; height: 1.25rem; padding: 0 .375rem; border-radius: .375rem; background: hsl(var(--secondary)); color: hsl(var(--foreground) / 0.8); font-size: .6875rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend :where(svg) { width: .75rem; height: .75rem; }
/* A week in a small line (only when there is something to draw). */
.spark { width: 4.75rem; height: 1.875rem; flex-shrink: 0; overflow: visible; }
.spark path { fill: none; stroke: hsl(var(--primary)); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark path.is-area { stroke: none; fill: hsl(var(--primary) / 0.12); }

/* "Performa Posting": the posts per day. The lines are an SVG stretched to the box, the words around it plain text. */
.chart-figures { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding: 0 1.25rem; }
.chart-figure { min-width: 0; }
.chart-figure > span { display: flex; align-items: center; gap: .4375rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.chart-figure > b { display: block; font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart-key { width: .625rem; height: .625rem; border-radius: .1875rem; flex-shrink: 0; }
.chart-key.is-done { background: hsl(var(--primary)); } .chart-key.is-failed { background: hsl(var(--destructive)); }
.chart { position: relative; margin: 1rem 1.25rem .25rem; padding-left: 1.875rem; outline: none; }
.chart-plot { position: relative; height: 13.5rem; }
.chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-grid { position: absolute; left: 0; right: 0; height: 1px; background: hsl(var(--border) / 0.9); }
.chart-grid.is-base { background: hsl(var(--input)); }
.chart-y { position: absolute; left: -1.875rem; width: 1.5rem; transform: translateY(-50%); text-align: right; font-size: .6875rem; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.chart-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-line.is-done { stroke: hsl(var(--primary)); } .chart-line.is-failed { stroke: hsl(var(--destructive)); stroke-dasharray: 4 3; }
.chart-area { fill: hsl(var(--primary) / 0.1); stroke: none; }
.chart-x { position: relative; height: 1.5rem; margin-top: .375rem; }
.chart-x > span { position: absolute; top: 0; transform: translateX(-50%); font-size: .6875rem; color: hsl(var(--muted-foreground)); white-space: nowrap; }
.chart-x > .is-first { transform: none; } .chart-x > .is-last { transform: translateX(-100%); }
/* A narrow chart: every other date (the chart's own width decides, not the window's). */
.chart { container-type: inline-size; }
@container (max-width: 26rem) { .chart-x > .is-minor { display: none; } }
/* The chart's card measures itself too: a narrow one says "Semua" for "Semua pelanggan" (its head stays one row). */
.perf-card { container: perf / inline-size; }
.perf-short { display: none; }
@container perf (max-width: 31rem) { .perf-long { display: none; } .perf-short { display: inline; } }
.chart-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: hsl(var(--primary) / 0.35); pointer-events: none; }
.chart-dot { position: absolute; width: .5625rem; height: .5625rem; margin: -.28125rem 0 0 -.28125rem; border-radius: 999px; border: 2px solid hsl(var(--card)); pointer-events: none; }
.chart-dot.is-done { background: hsl(var(--primary)); } .chart-dot.is-failed { background: hsl(var(--destructive)); }
.chart-tip { position: absolute; z-index: 5; top: .25rem; min-width: 9.5rem; padding: .5rem .625rem; border-radius: var(--radius-sm); background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-lg); font-size: .75rem; pointer-events: none; }
.chart-tip > b { display: block; font-weight: 600; margin-bottom: .25rem; }
.chart-tip > span { display: flex; align-items: center; gap: .4375rem; color: hsl(var(--muted-foreground)); }
.chart-tip > span > em { margin-left: auto; padding-left: .75rem; font-style: normal; font-weight: 600; color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.chart:focus-visible .chart-plot { box-shadow: 0 0 0 3px hsl(var(--ring) / 0.25); border-radius: var(--radius-xs); }
@media (max-width: 639px) { .chart-plot { height: 11rem; } .chart { margin-inline: 1rem; } .chart-figures { padding-inline: 1rem; gap: .5rem 1.25rem; } }

/* While a part of a page is fetched: its shape in soft grey. */
.skeleton { display: block; border-radius: var(--radius-xs); background: linear-gradient(90deg, hsl(var(--secondary)) 0%, hsl(var(--secondary) / 0.45) 50%, hsl(var(--secondary)) 100%); background-size: 200% 100%; animation: skeleton 1.4s ease-in-out infinite; }
@keyframes skeleton { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Nothing there yet, inside a panel: a small icon, a line, what to do. */
.empty-inline { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; padding: 1.75rem 1.25rem 1.875rem; }
.empty-inline .icon-tile { background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); margin-bottom: .375rem; }
.empty-inline-title { font-size: .875rem; font-weight: 600; }
.empty-inline-text { font-size: .8125rem; line-height: 1.5; color: hsl(var(--muted-foreground)); max-width: 22rem; }
.empty-inline .btn { margin-top: .625rem; }

/* What happened, newest first: a line down the icons. */
.feed { list-style: none; margin: 0; padding: .25rem 1.25rem .5rem; }
.feed > li { position: relative; display: flex; gap: .75rem; padding: .625rem 0; min-width: 0; }
.feed > li::before { content: ''; position: absolute; left: .84375rem; top: 2.5rem; bottom: -.375rem; width: 1px; background: hsl(var(--border)); }
.feed > li:last-child::before { display: none; }
.feed .icon-tile { position: relative; z-index: 1; }
.feed-title { font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.feed-text { font-size: .75rem; line-height: 1.45; color: hsl(var(--muted-foreground)); margin-top: .0625rem; overflow-wrap: anywhere; }
.feed-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed-row { display: flex; gap: .75rem; flex: 1; min-width: 0; margin: -.25rem -.5rem; padding: .25rem .5rem; border-radius: var(--radius-sm); transition: background-color .18s ease; }
.feed-row[href]:hover { background: hsl(var(--secondary) / 0.7); }
.feed-row[href]:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }

/* A row of a list in a panel that opens something (a phone, a post). */
.list-row { display: block; padding: .8125rem 1.25rem; transition: background-color .18s ease; }
a.list-row:hover { background: hsl(var(--secondary) / 0.55); }
a.list-row:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring) / 0.45); }
.list-row + .list-row { border-top: 1px solid hsl(var(--border) / 0.8); }

/* The page refreshes itself: a small sign that it does — and when it can't reach the server. */
.live-chip { display: inline-flex; align-items: center; gap: .4375rem; height: 1.75rem; padding: 0 .625rem; border-radius: 999px; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); white-space: nowrap; }
.live-chip > i { width: .4375rem; height: .4375rem; border-radius: 999px; background: hsl(var(--success)); box-shadow: 0 0 0 3px hsl(var(--success) / 0.16); }
.live-chip.is-stale { color: hsl(var(--warning-text)); border-color: hsl(var(--warning) / 0.4); background: hsl(var(--warning) / 0.08); }
.live-chip.is-stale > i { background: hsl(var(--warning)); box-shadow: 0 0 0 3px hsl(var(--warning) / 0.2); }

/* Beranda's frame. A page that uses the window's whole width (.page-wide). Top: today's posts and the
   four numbers (.dash-summary). Under it the board (.dash-board): what is going out and the chart,
   the phones, what is next and what happened. On a phone these follow each other and the page
   scrolls; on a tablet they pair up (it scrolls less). On a computer (.dash, 1280 px and wider) the page is exactly
   as tall as the window — --fit-h, measured by the page (modules/home) — so nothing is below the
   fold: the summary is one row, the board three columns sharing the height left, and a long list
   scrolls inside its own panel (.panel-body). */
.page-wide { max-width: none; }
.dash-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.dash-summary > .today { grid-column: 1 / -1; }
.dash-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.dash-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; align-content: start; }
.dash-col > .card { container-name: panel; }
.dash-col > .perf-card { container: perf panel / inline-size; }
/* A tablet, a narrow computer window: the four numbers in one row; the board two columns — the chart beside the
   phones, then what is next beside what happened. */
@media (min-width: 768px) and (max-width: 1279px) {
  .dash-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dash-summary .stat-card { padding: .8125rem .9375rem .875rem; }
  .dash-summary .stat-card-label { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .dash-summary .stat-card-go { display: none; }
  .dash-summary .stat-card-mid { margin-top: .5rem; }
  .dash-summary .stat-card-value { font-size: 1.5rem; }
  .dash-summary .stat-card-value.is-money { font-size: 1.125rem; }
  .dash-summary .spark { width: 3.25rem; height: 1.5rem; }
  .dash-board { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .dash-board > .dash-col.is-pair { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (min-width: 1280px) {
  .dash > .page-head { margin-bottom: .875rem; align-items: center; }
  .dash .page-title { font-size: 1.375rem; }
  .dash .page-eyebrow { margin-bottom: .125rem; }
  /* One row: today's posts, then the four numbers. */
  .dash-summary { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: .75rem; margin-bottom: .875rem; }
  .dash-summary.is-plain { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* no post yet at all: the numbers alone */
  .dash-summary > .today { grid-column: auto; flex-direction: column; align-items: stretch; gap: 0; padding: .875rem 1.125rem .9375rem; border-radius: var(--radius-card); }
  .dash-summary .today-title { font-size: 1.125rem; line-height: 1.3; margin-top: .125rem; }
  .dash-summary .today-text { font-size: .75rem; line-height: 1.45; margin-top: .25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dash-summary .today-meter { height: .4375rem; margin-top: .5625rem; }
  .dash-summary .today-legend { gap: .125rem .75rem; margin-top: .4375rem; font-size: .75rem; }
  .dash-summary .today-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .dash-summary .today-main { position: relative; }
  .dash-summary .today-eyebrow { white-space: nowrap; }
  .dash-summary .today-actions { position: absolute; top: -.1875rem; right: -.25rem; margin: 0; }
  .dash-summary .today-actions .btn { height: 1.625rem; padding: 0 .5rem; font-size: .75rem; gap: .25rem; }
  .dash-summary .today-actions .btn :where(svg) { width: .8125rem; height: .8125rem; }
  .dash-summary .today-actions .btn-glass { display: none; } /* the failed ones: the alert above and Riwayat say so */
  .dash-summary .today-next { display: none; } /* what is next has its own panel on the same screen */
  .dash-summary .stat-card { padding: .8125rem .9375rem .875rem; }
  .dash-summary .stat-card-label { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .dash-summary .stat-card-mid { margin-top: .5rem; }
  .dash-summary .stat-card-value { font-size: 1.5rem; }
  .dash-summary .stat-card-value.is-money { font-size: 1.25rem; }
  .dash-summary .stat-card-sub { margin-top: .375rem; }
  .dash-summary .spark { width: 3.75rem; height: 1.5rem; }
  /* Three columns. */
  .dash-board { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: .875rem; align-items: start; }
  .dash-col { gap: .875rem; }
  .dash .section-head { padding: .75rem 1rem .5rem; }
  .dash .list-row { padding: .625rem 1rem; }
  .dash .feed { padding: 0 1rem .375rem; }
  .dash .panel-foot { padding: .4375rem 1rem; }
  .dash .chart-figures { padding: 0 1rem; gap: .25rem 1.5rem; }
  .dash .chart-figure > b { font-size: 1.125rem; }
  .dash .chart { margin: .625rem 1rem .125rem; }
  .dash .empty-inline { padding: 1rem 1rem 1.125rem; }
  .dash .segmented > * { height: 1.625rem; padding: 0 .5625rem; font-size: .75rem; }
}
@media (min-width: 1280px) {
  .dash { display: flex; flex-direction: column; height: var(--fit-h, calc(100dvh - 3.5rem)); min-height: 28rem; }
  .dash > * { flex-shrink: 0; }
  .dash > .dash-board { flex: 1 1 0; min-height: 20rem; align-items: stretch; grid-template-rows: minmax(0, 1fr); }
  .dash .dash-col { display: flex; flex-direction: column; min-height: 0; }
  /* A column's panels share its height; one that only says a little (what is going out now) takes what it needs. */
  .dash .dash-col > .card { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .dash .dash-col > .card.is-brief { flex: 0 1 auto; max-height: 42%; }
  .dash .dash-col > .card.is-brief > .panel-body { flex: 0 1 auto; }
  /* A panel's height is given here (not its content's), so it can be asked: see the @container rules below. */
  .dash .dash-col > .card:not(.is-brief) { container-type: size; }
  .dash .panel-body { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .dash .panel-foot { flex-shrink: 0; }
  .dash .empty-inline { flex: 1; justify-content: center; }
  /* The chart takes the room there is. */
  .dash .perf-body { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .dash .perf-body > .chart { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .dash .perf-body .chart-plot { flex: 1 1 0; height: auto; min-height: 4.5rem; }
  .dash .perf-body .chart-x { flex-shrink: 0; }
  .dash .perf-body > .empty-inline { flex: 1 1 0; min-height: 0; overflow: hidden; }
}
/* A very wide but low window: four columns — what is next and what happened each get the board's whole height instead of half of it. */
@media (min-width: 1536px) and (max-height: 900px) {
  .dash > .dash-board { grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); }
  .dash .dash-col.is-pair { display: contents; }
  .dash .section-sub { display: none; }
}
@media (min-width: 1280px) and (max-width: 1535px) { .dash-summary .stat-card-go { display: none; } }
/* A low window (a small laptop): the lines under the panels' names, and an empty panel's second line, make room. */
@media (min-width: 1280px) and (max-height: 860px) {
  .dash .section-sub, .dash .empty-inline-text, .dash .dash-col > .card.is-brief { display: none; }
  .dash .section-head { padding-bottom: .375rem; }
  .dash .empty-inline { padding: .5rem 1rem .75rem; gap: .125rem; }
  .dash .empty-inline .icon-tile { width: 2rem; height: 2rem; border-radius: var(--radius-sm); margin-bottom: .25rem; }
  .dash .empty-inline .icon-tile :where(svg) { width: 1rem; height: 1rem; }
  .dash .empty-inline .btn { margin-top: .375rem; height: 1.75rem; font-size: .75rem; }
}
/* A panel that came out short drops what it can do without (its list keeps the room): the line at its foot,
   the videos' small pictures. The chart: its figures on one line, then the line under it. */
@container panel (max-height: 12.5rem) {
  .dash .panel-foot, .dash .list-row .thumb, .dash .list-row .thumb-empty { display: none; }
  .dash .list-row { padding-block: .4375rem; }
  .dash .feed > li { padding-block: .4375rem; }
}
@container perf (max-height: 26rem) { .dash .perf-card .section-sub { display: none; } }
@container perf (max-height: 23rem) {
  .dash .chart-figures { gap: .125rem 1.125rem; }
  .dash .chart-figure { display: flex; align-items: baseline; gap: .375rem; }
  .dash .chart-figure > b { font-size: .9375rem; line-height: 1.35; }
  .dash .chart { margin-top: .375rem; }
}
@container perf (max-height: 19rem) { .dash .perf-body > .panel-foot { display: none; } }
/* A very low window (a 1366x768 laptop's browser): the head, the summary and the gaps in their lowest form. */
@media (min-width: 1280px) and (max-height: 700px) {
  .dash > .page-head { margin-bottom: .625rem; }
  .dash .page-title { font-size: 1.25rem; }
  .dash-summary { gap: .625rem; margin-bottom: .625rem; }
  .dash-summary > .today { padding: .6875rem 1rem .75rem; }
  .dash-summary .today-title { font-size: 1rem; }
  .dash-summary .today-meter { margin-top: .4375rem; }
  .dash-summary .today-legend { margin-top: .375rem; font-size: .6875rem; gap: .125rem .625rem; }
  .dash-summary .stat-card { padding: .6875rem .875rem .75rem; }
  .dash-summary .stat-card-top { gap: .4375rem; }
  .dash-summary .stat-card-top .icon-tile { width: 1.375rem; height: 1.375rem; border-radius: var(--radius-xs); }
  .dash-summary .stat-card-top .icon-tile :where(svg) { width: .8125rem; height: .8125rem; }
  .dash-summary .stat-card-label { font-size: .8125rem; }
  .dash-summary .stat-card-mid { margin-top: .25rem; }
  .dash-summary .stat-card-value { font-size: 1.375rem; }
  .dash-summary .stat-card-value.is-money { font-size: 1.125rem; }
  .dash-summary .stat-card-sub { margin-top: .25rem; }
  .dash-summary .trend { display: none; } /* the line beside it says the same in words */
  .dash-board, .dash-col { gap: .625rem; }
  .dash > .dash-board { min-height: 17.5rem; }
  /* … and the first steps' strip (a new account) lower, so the page still fits: its rows, its gap, the board's least height */
  .dash-steps { margin-bottom: .625rem; }
  .dash-steps li { padding-block: .5rem; }
  .dash:has(.dash-steps) > .dash-board { min-height: 16.5rem; }
  .dash .section-head { padding: .5625rem .875rem .3125rem; }
  .dash .list-row { padding-inline: .875rem; }
}

/* A phone that needs someone: a red dot. */
.dot-problem { background: hsl(var(--destructive)); box-shadow: 0 0 0 3px hsl(var(--destructive) / 0.16); }

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  a.stat-card:hover { transform: none; }
  .today-meter > span, .progress > span { transition: none; }
}

/* A phone's battery: a small bar */
.batt { display: inline-block; position: relative; width: 1.5rem; height: .625rem; border: 1.5px solid hsl(var(--muted-foreground) / 0.6); border-radius: .1875rem; vertical-align: -1px; }
.batt::after { content: ''; position: absolute; right: -.25rem; top: .125rem; width: .125rem; height: .25rem; border-radius: 0 1px 1px 0; background: hsl(var(--muted-foreground) / 0.6); }
.batt > span { position: absolute; left: 1px; top: 1px; bottom: 1px; border-radius: 1px; background: hsl(var(--success)); }
.batt.is-low > span { background: hsl(var(--destructive)); }

/* ------------------------------------------------------------------ Konten (the cards) */
/* The status filters with their counts */
.pill-tabs { display: flex; gap: .375rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pill-tabs::-webkit-scrollbar { display: none; }
.pill-tab { height: 2.125rem; padding: 0 .8125rem; border-radius: 999px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: .8125rem; font-weight: 500; color: hsl(var(--foreground) / 0.75); display: inline-flex; align-items: center; gap: .4375rem; white-space: nowrap; flex-shrink: 0; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pill-tab:hover { border-color: hsl(var(--input)); color: hsl(var(--foreground)); }
.pill-tab > small { font-size: .6875rem; font-weight: 600; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.pill-tab.is-on { background: hsl(var(--foreground)); border-color: hsl(var(--foreground)); color: hsl(var(--background)); }
.pill-tab.is-on > small { color: hsl(var(--background) / 0.7); }
.vgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
@media (max-width: 639px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; } }
.vcard { position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.vcard:hover { border-color: hsl(var(--primary) / 0.35); }
.vcard.is-selected { border-color: hsl(var(--primary)); box-shadow: 0 0 0 1px hsl(var(--primary)), var(--shadow-card); }
.vcard-cover { position: relative; aspect-ratio: 4 / 5; background: hsl(var(--secondary)); overflow: hidden; color: hsl(var(--muted-foreground)); display: flex; align-items: center; justify-content: center; }
.vcard-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard-cover.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(0 0% 0% / 0.22), transparent 26%, transparent 70%, hsl(0 0% 0% / 0.32)); pointer-events: none; }
.vcard-status { position: absolute; left: .5625rem; top: .5625rem; z-index: 2; max-width: calc(100% - 3rem); }
.vcard-status .badge { background-color: hsl(var(--card) / 0.95); box-shadow: 0 1px 3px hsl(0 0% 0% / 0.18); max-width: 100%; }
.vcard-status .badge > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.vcard-check { position: absolute; right: .5625rem; top: .5625rem; z-index: 2; width: 1.5rem; height: 1.5rem; border-radius: var(--radius-xs); background: hsl(var(--card) / 0.95); box-shadow: 0 1px 3px hsl(0 0% 0% / 0.18); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s ease; }
.vcard:hover .vcard-check, .vcard.is-selected .vcard-check, .vgrid.is-picking .vcard-check, .vcard-check:focus-within { opacity: 1; }
@media (hover: none) { .vcard-check { opacity: 1; } }
.vcard-check input { margin: 0; width: .9375rem; height: .9375rem; cursor: pointer; }
.vcard-dur { position: absolute; right: .5625rem; bottom: .5625rem; z-index: 2; background: hsl(0 0% 0% / 0.62); color: #fff; font-size: .6875rem; font-weight: 600; padding: .1875rem .4375rem; border-radius: var(--radius-xs); font-variant-numeric: tabular-nums; }
.vcard-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border-radius: 999px; background: hsl(0 0% 0% / 0.3); backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .15s ease, background-color .15s ease; }
.vcard-play:hover { background: hsl(0 0% 0% / 0.45); }
.vcard-play svg { width: 1.125rem; height: 1.125rem; fill: currentColor; margin-left: 2px; }
.vcard-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: .25rem; background: hsl(0 0% 100% / 0.3); }
.vcard-progress > span { display: block; height: 100%; background: hsl(var(--info)); transition: width .4s ease; }
.vcard-body { padding: .6875rem .8125rem .75rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.vcard-info { flex: 1; min-width: 0; }
.vcard-title { font-size: .875rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.vcard-line { display: flex; align-items: center; gap: .3125rem; margin-top: .3125rem; font-size: .75rem; color: hsl(var(--muted-foreground)); min-width: 0; }
.vcard-line > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vcard-line :where(svg) { width: .8125rem; height: .8125rem; flex-shrink: 0; }
.vcard-foot { display: flex; align-items: center; gap: .375rem; margin-top: .625rem; padding-top: .5rem; border-top: 1px solid hsl(var(--border) / 0.8); min-width: 0; }
.vcard-foot .phone-pill { flex-shrink: 1; min-width: 0; }
.vcard-state { display: none; }
.screen-frame { height: calc(100vh - 150px); min-height: 480px; } /* (a phone / tablet: most of the window) */
/* The Konten form's parts: one under the other; two columns on a wide window (video + link + caption | phones +
   schedule), three on a very wide one (video + link | caption | phones + schedule). */
.form-cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.form-cols > * + * { border-top: 1px solid hsl(var(--border)); }
@media (min-width: 1280px) {
  .form-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-cols > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; border-top: 0; border-left: 1px solid hsl(var(--border)); }
}
@media (min-width: 1700px) {
  .form-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-cols > :nth-child(2) { border-top: 0; border-left: 1px solid hsl(var(--border)); }
  .form-cols > :nth-child(3) { grid-column: auto; grid-row: auto; }
}
/* A low window on a computer (a laptop): the cards lie down — the picture (the whole 9:16) at the left, the words
   beside it — so three times as many show at once. */
@media (max-height: 820px) {
  .fit-on .vgrid { grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); gap: .75rem; }
  .fit-on .vcard { flex-direction: row; }
  .fit-on .vcard-cover { width: 4.75rem; aspect-ratio: auto; min-height: 8.4375rem; flex-shrink: 0; }
  .fit-on .vcard-cover > .vcard-status { display: none; }
  .fit-on .vcard-state { display: block; margin-bottom: .3125rem; }
  .fit-on .vcard-check { left: .3125rem; right: auto; top: .3125rem; width: 1.375rem; height: 1.375rem; }
  .fit-on .vcard-play { width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; }
  .fit-on .vcard-play svg { width: .875rem; height: .875rem; }
  .fit-on .vcard-dur { right: .25rem; bottom: .25rem; font-size: .6875rem; padding: .125rem .3125rem; }
  .fit-on .vcard-body { padding: .5625rem .75rem .4375rem; }
  .fit-on .vcard-line.is-link { display: none; }
  .fit-on .vcard-foot { margin-top: .4375rem; padding-top: .375rem; }
}

/* ------------------------------------------------------------------ messages */
.callout { display: flex; align-items: flex-start; gap: .625rem; padding: .625rem .875rem; border-radius: var(--radius-sm); border: 1px solid; font-size: .8125rem; line-height: 1.45; }
.callout :where(svg) { width: 1rem; height: 1rem; margin-top: .0625rem; flex-shrink: 0; }
.callout-warn { background: hsl(var(--warning) / 0.08); border-color: hsl(var(--warning) / 0.28); color: hsl(var(--warning-text)); }
.callout-bad { background: hsl(var(--destructive) / 0.06); border-color: hsl(var(--destructive) / 0.24); color: hsl(var(--danger-text)); }
.callout-info { background: hsl(var(--info) / 0.07); border-color: hsl(var(--info) / 0.24); color: hsl(var(--info-text)); }
.callout-ok { background: hsl(var(--success) / 0.07); border-color: hsl(var(--success) / 0.24); color: hsl(var(--success-text)); }
.callout-muted { background: hsl(var(--secondary) / 0.6); border-color: hsl(var(--border)); color: hsl(var(--muted-foreground)); }
/* A phone in one sentence (HP Saya: its card and its page — UPL.phoneNow, 2026-10-19): its state big, in its tone,
   with the way to fix it; what else needs the person under it (.phone-more); its technical details folded (.tech-details). */
.phone-now { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem .875rem; border-radius: var(--radius); border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.5); }
.phone-now[data-tone="ok"] { background: hsl(var(--success) / 0.07); border-color: hsl(var(--success) / 0.24); }
.phone-now[data-tone="warn"] { background: hsl(var(--warning) / 0.08); border-color: hsl(var(--warning) / 0.3); }
.phone-now[data-tone="bad"] { background: hsl(var(--destructive) / 0.06); border-color: hsl(var(--destructive) / 0.26); }
.phone-now-icon { width: 2rem; height: 2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.phone-now-icon svg { width: 1.125rem; height: 1.125rem; }
.phone-now[data-tone="ok"] .phone-now-icon { background: hsl(var(--success) / 0.14); color: hsl(var(--success-text)); }
.phone-now[data-tone="warn"] .phone-now-icon { background: hsl(var(--warning) / 0.18); color: hsl(var(--warning-text)); }
.phone-now[data-tone="bad"] .phone-now-icon { background: hsl(var(--destructive) / 0.12); color: hsl(var(--danger-text)); }
.phone-now-title { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: hsl(var(--foreground) / 0.85); }
.phone-now[data-tone="ok"] .phone-now-title { color: hsl(var(--success-text)); }
.phone-now[data-tone="warn"] .phone-now-title { color: hsl(var(--warning-text)); }
.phone-now[data-tone="bad"] .phone-now-title { color: hsl(var(--danger-text)); }
.phone-now-text { font-size: .8125rem; line-height: 1.4; color: hsl(var(--foreground) / 0.75); margin-top: .125rem; overflow-wrap: anywhere; }
.phone-more { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; line-height: 1.4; }
.phone-more::before { content: ''; flex: none; width: .375rem; height: .375rem; margin-top: .375rem; border-radius: 999px; background: currentColor; }
.tech-details > summary { display: inline-flex; align-items: center; gap: .3125rem; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); border-radius: var(--radius-xs); }
.tech-details > summary::-webkit-details-marker { display: none; }
.tech-details > summary::before { content: ''; width: .375rem; height: .375rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; margin-right: .125rem; }
.tech-details[open] > summary::before { transform: rotate(45deg); }
.tech-details > summary:hover { color: hsl(var(--foreground)); }
.tech-details > summary:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.tech-details dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .875rem; margin-top: .5rem; font-size: .75rem; }
.tech-details dt { color: hsl(var(--muted-foreground)); white-space: nowrap; }
.tech-details dd { min-width: 0; overflow-wrap: anywhere; }
/* Admin → Gagal posting → "Lihat layar HP": the phone's screen when a step failed, its elements as boxes where they
   were (the tappable ones outlined in teal), and its words in a list. */
.fs-phone { position: relative; width: 100%; max-width: 15rem; border-radius: 1rem; border: 6px solid hsl(var(--foreground) / 0.85); background: hsl(var(--card)); overflow: hidden; }
.fs-node { position: absolute; border: 1px solid hsl(var(--border)); border-radius: 2px; overflow: hidden; font-size: 7px; line-height: 1.15; color: hsl(var(--foreground) / 0.8); background: hsl(var(--secondary) / 0.25); }
.fs-node > span { display: block; padding: 1px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-node.is-tap { border-color: hsl(var(--primary) / 0.7); }
.fs-words { max-height: 22rem; overflow-y: auto; display: flex; flex-direction: column; gap: .25rem; margin-top: .375rem; }
.fs-words li { display: flex; align-items: baseline; gap: .5rem; font-size: .8125rem; overflow-wrap: anywhere; }
.fs-words li small { flex-shrink: 0; font-size: .6875rem; color: hsl(var(--primary-text)); }
/* "?" beside a short text: its whole explanation, in Bantuan. */
.ask-help { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; height: 1.125rem; margin-left: .25rem; border-radius: 999px; border: 1px solid hsl(var(--border)); font-size: .6875rem; font-weight: 600; line-height: 1; color: hsl(var(--muted-foreground)); vertical-align: -.1875rem; transition: color .15s ease, border-color .15s ease; }
.ask-help:hover { color: hsl(var(--primary-text)); border-color: hsl(var(--primary) / 0.5); }
.ask-help:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }

.empty { text-align: center; padding: 2.75rem 1.5rem; }
.empty-icon { width: 2.75rem; height: 2.75rem; margin: 0 auto .75rem; border-radius: var(--radius); background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); display: flex; align-items: center; justify-content: center; }
.empty-icon svg { width: 1.25rem; height: 1.25rem; }
.empty-title { font-size: .9375rem; font-weight: 600; }
.empty-text { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin: .25rem auto 0; max-width: 28rem; }

/* ------------------------------------------------------------------ overlays */
.menu { background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .3125rem; min-width: 11rem; }
.menu-item { display: flex; width: 100%; align-items: center; gap: .5rem; padding: .4375rem .625rem; border-radius: var(--radius-xs); font-size: .8125rem; color: hsl(var(--foreground)); text-align: left; white-space: nowrap; cursor: pointer; }
.menu-item:hover { background: hsl(var(--secondary)); }
.menu-item :where(svg) { width: .9375rem; height: .9375rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.menu-item.danger { color: hsl(var(--danger-text)); }
.menu-item.danger :where(svg) { color: inherit; }
.menu-sep { height: 1px; background: hsl(var(--border)); margin: .25rem 0; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 4rem 1rem 1rem; overflow-y: auto; background: hsl(150 12% 6% / 0.45); }
@media (max-width: 639px) { .modal-backdrop { padding: 1rem .75rem; } } /* a phone: the whole height for the dialog */
.modal { position: relative; width: 100%; max-width: 28rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-card); box-shadow: var(--shadow-xl); }
.modal-sm { max-width: 24rem; }
.modal-lg { max-width: 44rem; }
.modal-head { padding: 1.125rem 3rem .25rem 1.25rem; }
.modal-title { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.modal-sub { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }
.modal-body { padding: .875rem 1.25rem 1.125rem; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem; border-top: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.4); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.modal-close { position: absolute; right: .75rem; top: .75rem; }
.confirm-layer { z-index: 65; }

/* ------------------------------------------------------------------ navigation */
/* A row with an icon and a name (Pengaturan's own parts on a phone, the menu's light / dark before signing in). */
.nav-item { display: flex; align-items: center; gap: .75rem; height: 2.375rem; padding: 0 .75rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; color: hsl(var(--foreground) / 0.75); transition: background-color .15s ease, color .15s ease; }
.nav-item:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.nav-item:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.nav-item :where(svg), .nav-item :where(i[data-lucide]) { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: hsl(var(--muted-foreground)); transition: color .15s ease; }
.nav-item[aria-current="page"] { background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); font-weight: 600; }
.nav-item[aria-current="page"] :where(svg) { color: hsl(var(--primary)); }
/* The menu (2026-10-19, the owner's choice from the preview): a tile per place — its icon above, its name under
   it, three to a row —, the place open tinted. A group's name over its tiles only when there are two (the staff's
   Admin). */
.tile-group-head { padding: .25rem .25rem .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4375rem; min-width: 0; min-height: 4.75rem; padding: .625rem .125rem .5rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); color: hsl(var(--foreground) / 0.82); font-size: .75rem; font-weight: 500; line-height: 1.2; text-align: center; overflow-wrap: anywhere; transition: background-color .18s ease, border-color .18s ease, color .18s ease, min-height .28s cubic-bezier(.22, .8, .3, 1), gap .28s cubic-bezier(.22, .8, .3, 1); }
.tile svg, .tile i[data-lucide] { width: 1.375rem; height: 1.375rem; flex-shrink: 0; color: hsl(var(--primary)); stroke-width: 1.75; transition: width .28s ease, height .28s ease; }
.tile:hover { border-color: hsl(var(--primary) / 0.45); background: hsl(var(--primary-soft) / 0.45); color: hsl(var(--foreground)); }
.tile:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.tile[aria-current="page"] { background: hsl(var(--primary-soft)); border-color: hsl(var(--primary)); color: hsl(var(--primary-text)); font-weight: 600; }
.tile-label { display: block; max-width: 100%; }
/* A tile's number in its corner: Jadwal's posts waiting, HP Saya's phones offline, Gagal posting's failures that
   spike; "!" on Langganan before a plan is paid for. */
.tile-badge { position: absolute; top: .3125rem; right: .3125rem; min-width: 1.125rem; height: 1.125rem; padding: 0 .3125rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.tile-badge.is-warn { background: hsl(var(--warning)); color: hsl(36 80% 12%); }
.tile-badge.is-bad { background: hsl(var(--destructive-solid)); color: hsl(var(--destructive-foreground)); }
/* The pages of the place open (Posting Video, Video Saya, Jadwal, HP Saya, Pengaturan, Layanan & harga): a list
   under its group's tiles, shown while its tile is the marked one (partials/sidebar.ejs adds the rule per place:
   display var(--tile-sub-open), block — a list that wraps when the menu is made tighter, step 4 below). */
/* Plain (the owner, 2026-10-19): no box, no name over it, nothing beside the one open — a line above the list, and the
   part open tinted as its tile is. */
.tile-sub { display: none; flex-wrap: wrap; gap: 2px; margin-top: .75rem; padding-top: .625rem; border-top: 1px solid hsl(var(--border)); animation: soft-in .2s ease-out; }
.tile-sub > li + li { margin-top: 2px; }
.nav-sub-item { display: flex; align-items: center; height: 2.25rem; padding: 0 .875rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; color: hsl(var(--foreground) / 0.75); white-space: nowrap; transition: background-color .22s ease, color .22s ease, height .28s cubic-bezier(.22, .8, .3, 1); }
.nav-sub-item:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.nav-sub-item:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.nav-sub-item[aria-current="page"] { background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); font-weight: 600; }
#sidebar > a:first-child { transition: height .28s cubic-bezier(.22, .8, .3, 1); }
/* Chat CS (customers, while the service's WhatsApp is set): above the account card, WhatsApp's green. */
.cs-chat { display: flex; align-items: center; gap: .625rem; min-width: 0; padding: .5rem .625rem; border: 1px solid #BFE8CD; border-radius: var(--radius); background: #EAF8EF; color: #14532D; transition: background-color .18s ease, border-color .18s ease; }
.cs-chat:hover { background: #DDF3E5; border-color: #9ADBB2; }
.cs-chat:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(31 168 85 / 0.3); }
.cs-chat > svg:first-child { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: #1FA855; }
.cs-chat b { display: block; font-size: .8125rem; font-weight: 650; line-height: 1.2; }
.cs-chat span span { display: block; font-size: .6875rem; line-height: 1.25; color: #3F6B50; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-chat-go { width: .875rem; height: .875rem; flex-shrink: 0; color: #3F6B50; }
.dark .cs-chat { background: rgb(31 168 85 / 0.12); border-color: rgb(31 168 85 / 0.35); color: #CFF3DC; }
.dark .cs-chat span span, .dark .cs-chat-go { color: #9FD9B5; }
#sidebar[data-tight~="3"] .cs-chat { padding-block: .3125rem; } #sidebar[data-tight~="3"] .cs-chat span span { display: none; }
/* Who is signed in, at the menu's foot: the account (opens its settings), light / dark, Keluar. */
.user-card { border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); }
.user-card-main { display: flex; align-items: center; gap: .625rem; min-width: 0; padding: .5625rem .625rem; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; transition: background-color .18s ease; }
.user-card-main:hover { background: hsl(var(--secondary) / 0.7); }
.user-card-main:focus-visible, .user-card-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring) / 0.45); }
.user-avatar { width: 2rem; height: 2rem; border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); }
.user-card-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid hsl(var(--border) / 0.8); }
.user-card-btn { display: inline-flex; align-items: center; justify-content: center; gap: .375rem; height: 2.125rem; width: 100%; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.user-card-btn:hover { background: hsl(var(--secondary) / 0.7); color: hsl(var(--foreground)); }
.user-card-foot > :first-child { border-right: 1px solid hsl(var(--border) / 0.8); border-radius: 0 0 0 calc(var(--radius) - 1px); }
.user-card-foot > :last-child .user-card-btn, .user-card-foot > .user-card-btn:last-child { border-radius: 0 0 calc(var(--radius) - 1px) 0; }
.user-card-btn :where(svg) { width: .875rem; height: .875rem; }
/* The menu that doesn't fit the window — the staff's two groups, a long list of parts open (Pengaturan's), a low
   window: made tighter step by step until the whole of it shows without scrolling. The steps taken are in data-tight
   ("1 2 3": partials/sidebar.ejs works them out, on a copy of the menu — .menu-probe); a step adds to the ones before
   it. 1–2: the parts' rows and the tiles get lower; 3: the logo and the account card too; 4: the parts side by side
   (as many to a row as fit, each one whole); 5–7: the tiles lower still, their icons smaller; 8: the groups' names
   small. */
@media (min-width: 1024px) {
  #sidebar[data-tight~="1"] .nav-sub-item { height: 1.875rem; font-size: .8125rem; }
  #sidebar[data-tight~="1"] .tile-group-head { padding-bottom: .375rem; }
  #sidebar[data-tight~="2"] .tile { min-height: 4.25rem; gap: .375rem; padding-block: .5rem .4375rem; }
  #sidebar[data-tight~="3"] > a:first-child { height: 3.25rem; }
  #sidebar[data-tight~="3"] .user-card-main { padding-block: .375rem; }
  #sidebar[data-tight~="3"] .user-card-btn { height: 1.75rem; }
  #sidebar[data-tight~="4"] { --tile-sub-open: flex; }
  #sidebar[data-tight~="4"] .tile-sub > li + li { margin-top: 0; }
  #sidebar[data-tight~="4"] .nav-sub-item { height: 1.625rem; padding: 0 .5rem; font-size: .75rem; }
  #sidebar[data-tight~="5"] .tiles { gap: .375rem; }
  #sidebar[data-tight~="5"] .tile { min-height: 3.75rem; gap: .3125rem; }
  #sidebar[data-tight~="5"] .tile svg { width: 1.25rem; height: 1.25rem; }
  #sidebar[data-tight~="5"] .tile-group-head { padding-block: 0 .25rem; }
  #sidebar[data-tight~="6"] > a:first-child { height: 2.625rem; }
  #sidebar[data-tight~="6"] nav { padding-bottom: .25rem; }
  #sidebar[data-tight~="6"] > div:last-child { padding: .5rem .75rem; }
  #sidebar[data-tight~="6"] .user-card-main { padding-block: .25rem; }
  #sidebar[data-tight~="6"] .user-card-btn { height: 1.625rem; }
  #sidebar[data-tight~="6"] .tile { min-height: 3.375rem; padding-block: .375rem .3125rem; }
  #sidebar[data-tight~="6"] .tile-sub { margin-top: .5rem; padding-top: .375rem; }
  #sidebar[data-tight~="7"] .tile { min-height: 3rem; gap: .25rem; }
  #sidebar[data-tight~="7"] .tile svg { width: 1.125rem; height: 1.125rem; }
  #sidebar[data-tight~="7"] .nav-sub-item { height: 1.4375rem; }
  #sidebar[data-tight~="8"] .tile-group-head { padding-block: 0 .125rem; font-size: .625rem; }
  #sidebar[data-tight~="8"] .tile-group-head.mt-4 { margin-top: .5rem; }
  #sidebar[data-tight~="8"] .tile { min-height: 2.75rem; padding-block: .25rem; }
}
/* (the copy the steps are worked out on: unseen, nothing in it moving — and the menu itself while the page loads) */
.menu-probe { visibility: hidden !important; pointer-events: none !important; }
.menu-probe, .menu-probe *, #sidebar[data-boot], #sidebar[data-boot] * { transition: none !important; }

/* ------------------------------------------------------------------ toasts */
.toast { display: flex; align-items: flex-start; gap: .625rem; padding: .75rem .875rem; border-radius: var(--radius); background: hsl(var(--popover)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-lg); font-size: .8125rem; animation: fade-in-up .25s ease-out; }
.toast-icon { width: 1rem; height: 1rem; margin-top: .0625rem; flex-shrink: 0; }
.toast-title { font-weight: 600; }
.toast-text { color: hsl(var(--muted-foreground)); margin-top: .0625rem; word-break: break-word; }
.toast-success .toast-icon { color: hsl(var(--success)); }
.toast-error .toast-icon { color: hsl(var(--destructive)); }
.toast-warning .toast-icon { color: hsl(var(--warning)); }
.toast-info .toast-icon { color: hsl(var(--info)); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: var(--radius-sm); border: 2px solid hsl(var(--background)); }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--muted-foreground) / 0.4); }

[data-lucide] { width: 1em; height: 1em; stroke-width: 2; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fade-in-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fade-in-up 0.3s ease-out backwards; }
@keyframes row-hit { from { background: hsl(var(--primary) / 0.12); } to { background: transparent; } }
.row-hit { animation: row-hit 2.4s ease-out; }

/* A strip with an odd number of numbers on two columns: the last one takes the whole row. */
@media (max-width: 767px) { .stats.grid-cols-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ a new account: "Cek email Anda", the first steps (/mulai) */
/* The 6-digit code from the e-mail: large, spaced, in the middle. */
.code-field { height: 3rem; text-align: center; font-size: 1.5rem; font-weight: 600; letter-spacing: .4em; padding-left: .4em; font-variant-numeric: tabular-nums; }
.code-field::placeholder { font-weight: 500; color: hsl(var(--muted-foreground) / 0.35); }

/* The first steps: a page of its own (no menu) — a bar with the logo, three steps, one card at a time. */
.onb { min-height: 100%; display: flex; flex-direction: column; }
.onb-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; padding: 0 1rem; background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); }
.onb-main { width: 100%; max-width: 46rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.onb-steps { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.onb-steps > li { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.onb-steps > li + li::before { content: ''; width: 1.5rem; height: 1px; background: hsl(var(--input)); flex-shrink: 0; }
.onb-num { width: 1.625rem; height: 1.625rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; font-weight: 600; border: 1.5px solid hsl(var(--input)); background: hsl(var(--card)); font-variant-numeric: tabular-nums; }
.onb-num :where(svg) { width: .875rem; height: .875rem; stroke-width: 2.5; }
.onb-step-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-steps > .is-on { color: hsl(var(--foreground)); font-weight: 600; }
.onb-steps > .is-on .onb-num { border-color: hsl(var(--primary)); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.onb-steps > .is-done { color: hsl(var(--foreground)); }
.onb-steps > .is-done .onb-num { border-color: hsl(var(--primary)); background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); }
.onb-steps > .is-done + li::before { background: hsl(var(--primary)); }
.onb-card { padding: 1.5rem; }
.onb-title { font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.onb-lead { font-size: .9375rem; line-height: 1.55; color: hsl(var(--muted-foreground)); margin-top: .5rem; }
.onb-lead b { color: hsl(var(--foreground)); font-weight: 600; }
.onb-sub { font-size: .875rem; font-weight: 600; margin: 1.5rem 0 .75rem; }
.onb .choice.is-fixed { cursor: default; }
.onb-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(var(--border)); }
.onb-phone { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.onb-qr { display: flex; flex-direction: column; align-items: center; gap: .625rem; flex-shrink: 0; }
.onb-qr-box { width: 13.25rem; height: 13.25rem; padding: .625rem; border-radius: var(--radius-sm); border: 1px solid hsl(var(--border)); background: #fff; display: flex; align-items: center; justify-content: center; }
.onb-list { display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; line-height: 1.5; min-width: 0; }
.onb-list > li, .onb-flow > li { display: flex; gap: .75rem; }
.onb-dot { width: 1.5rem; height: 1.5rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.onb-wait { display: flex; align-items: center; gap: .625rem; margin-top: 1.25rem; padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.onb-wait :where(svg) { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.onb-wait.is-ok { background: hsl(var(--success) / 0.1); color: hsl(var(--success-text)); }
.onb-flow { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; font-size: .875rem; line-height: 1.5; }
.onb-foot { margin-top: 1.25rem; text-align: center; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) {
  .onb-top { padding: 0 1.5rem; }
  .onb-main { padding-top: 2.25rem; }
  .onb-card { padding: 2rem; }
  .onb-phone { flex-direction: row; gap: 1.75rem; align-items: flex-start; }
}
@media (max-width: 479px) { .onb-steps > li:not(.is-on) .onb-step-label { display: none; } }

/* ------------------------------------------------------------------ soft changes
   A page opened from the menu (public/js/nav.js puts .page-in on it), and a part or view shown in place of
   another (Pengaturan's and Layanan & harga's parts, Jadwal's Daftar / Kalender: .part-in — the animation
   starts again each time the element is shown): they fade in instead of snapping. Opacity only — nothing
   moves, so a page measured to fit the window (UPL.fit) and a list that scrolls inside aren't disturbed. */
@keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }
main.page-in { animation: soft-in .2s ease-out; }
.part-in { animation: soft-in .24s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .nav-sub-wrap, .nav-sub, .nav-item .nav-caret, #sidebar > a:first-child, #sidebar nav .eyebrow { transition: none; }
  main.page-in, .part-in { animation: none; }
}

/* ------------------------------------------------------------------ a plain table (Langganan, Admin) */
.table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.table th { text-align: left; font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); padding: .5rem 1rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.5); white-space: nowrap; }
.table td { padding: .625rem 1rem; border-bottom: 1px solid hsl(var(--border)); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: hsl(var(--secondary) / 0.35); }
.table th.text-right, .table td.text-right { text-align: right; }

/* ------------------------------------------------------------------ Konten, the simple look (everyone's since 2026-10-19) */
/* Konten, Mode Pemula: one list of the videos (tabs by where each stands, a search, the app, the order), and the
   chosen video in full beside it on a wide window — the lay-out of "Posting Video" (.wz), for many videos. */
.kn { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1200px) { .kn { grid-template-columns: minmax(0, 1fr) 19rem; grid-template-rows: minmax(0, 1fr); align-items: stretch; } }
.kn-main { min-width: 0; container: kn / inline-size; }
/* The tabs: a status with how many; the one shown underlined in the brand's colour. */
.kn-tabs { display: flex; gap: .125rem; padding: .375rem .75rem 0; border-bottom: 1px solid hsl(var(--border) / 0.7); overflow-x: auto; scrollbar-width: none; }
.kn-tabs::-webkit-scrollbar { display: none; }
.kn-tab { position: relative; display: inline-flex; align-items: center; gap: .4375rem; height: 2.625rem; padding: 0 .75rem; font-size: .8125rem; font-weight: 600; white-space: nowrap; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.kn-tab::after { content: ''; position: absolute; left: .625rem; right: .625rem; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; }
.kn-tab:hover { color: hsl(var(--foreground)); }
.kn-tab.is-on { color: hsl(var(--primary-text)); }
.kn-tab.is-on::after { background: hsl(var(--primary)); }
.kn-tab > small { min-width: 1.375rem; height: 1.25rem; padding: 0 .375rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 600; font-variant-numeric: tabular-nums; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.kn-tab.is-on > small { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary-text)); }
.kn-tab.is-alert > small { background: hsl(var(--warning) / 0.2); color: hsl(var(--warning-text)); } /* "Perlu Perhatian" with something in it */
/* The search, the app, the order. */
.kn-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .625rem 1.25rem; border-bottom: 1px solid hsl(var(--border) / 0.6); }
.kn-search { position: relative; flex: 1 1 13rem; min-width: 0; }
.kn-search > svg { position: absolute; left: .75rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); color: hsl(var(--muted-foreground)); pointer-events: none; }
.kn-search > .field { padding-left: 2.25rem; }
.kn-tools > select.field { width: auto; flex: 0 1 auto; min-width: 0; max-width: 100%; }
/* "N video perlu perhatian" (on a tab that doesn't show them). */
.kn-alert { display: flex; align-items: center; gap: .625rem; padding: .5rem 1.25rem; font-size: .8125rem; line-height: 1.4; background: hsl(var(--warning) / 0.08); color: hsl(var(--warning-text)); border-bottom: 1px solid hsl(var(--warning) / 0.22); }
.kn-alert > svg { width: 1rem; height: 1rem; flex-shrink: 0; }
/* A video: its picture, what it is and where it stands, where / when it goes, its button. Narrow list: where /
   when is a line under the status; a wide one (the card's own width — @container): a column of its own. */
.kn-row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .1875rem .875rem; padding: .5625rem 1.25rem; border-bottom: 1px solid hsl(var(--border) / 0.6); cursor: pointer; }
.kn-row:hover { background: hsl(var(--secondary) / 0.4); }
.kn-row.is-sel { background: hsl(var(--primary) / 0.06); box-shadow: inset 3px 0 0 hsl(var(--primary)); }
.kn-thumb { grid-row: 1 / span 2; position: relative; width: 2.5rem; aspect-ratio: 3 / 4; border-radius: var(--radius-xs); overflow: hidden; display: flex; align-items: center; justify-content: center; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.kn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kn-thumb > svg { width: 1rem; height: 1rem; }
.kn-thumb:disabled { cursor: default; }
.kn-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgb(0 0 0 / 0.38); opacity: 0; transition: opacity .15s; }
.kn-play svg { width: 1rem; height: 1rem; fill: currentColor; }
.kn-thumb:not(:disabled):hover .kn-play, .kn-thumb:focus-visible .kn-play { opacity: 1; }
.kn-info { grid-column: 2; min-width: 0; }
.kn-name { display: flex; align-items: center; gap: .4375rem; min-width: 0; }
.kn-name > .ptag { margin-right: 0; flex-shrink: 0; }
.kn-app { display: inline-flex; flex-shrink: 0; }
.kn-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 600; text-align: left; }
.kn-title:hover { color: hsl(var(--primary-text)); }
.kn-state { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; min-width: 0; }
.kn-state > .badge { height: 1.375rem; flex-shrink: 0; }
.kn-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.kn-meta { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .125rem .875rem; min-width: 0; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.kn-meta > span { display: inline-flex; align-items: center; gap: .3125rem; min-width: 0; max-width: 100%; }
.kn-meta > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-meta svg { width: .8125rem; height: .8125rem; flex-shrink: 0; }
.kn-acts { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: .25rem; }
.kn-acts .btn-sm:not(.btn-icon) { min-width: 6.25rem; }
@container kn (min-width: 46rem) {
  .kn-row { grid-template-columns: 2.5rem minmax(0, 1.7fr) minmax(8.5rem, 1fr) auto; }
  .kn-thumb { grid-row: 1; }
  .kn-meta { grid-column: 3; grid-row: 1; flex-direction: column; flex-wrap: nowrap; gap: .25rem; }
  .kn-acts { grid-column: 4; }
}
@container kn (max-width: 30rem) {
  .kn-row { grid-template-columns: 2.5rem minmax(0, 1fr); padding-inline: 1rem; }
  .kn-thumb { grid-row: 1 / span 3; align-self: start; }
  .kn-acts { grid-column: 2; grid-row: auto; margin-top: .375rem; }
  .kn-acts .btn-sm:not(.btn-icon) { flex: 1; }
  .kn-tools, .kn-alert { padding-inline: 1rem; }
  .kn-tools > select.field { flex: 1 1 8rem; }
}
.kn-more { display: block; width: 100%; padding: .625rem; font-size: .8125rem; font-weight: 500; color: hsl(var(--primary-text)); }
.kn-more:hover { background: hsl(var(--secondary) / 0.5); }
.kn-empty { padding-block: 3.25rem; }
.kn-empty .empty-icon.is-ok { background: hsl(var(--success) / 0.12); color: hsl(var(--success-text)); }
.kn-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem 1rem; padding: .5625rem 1.25rem; border-top: 1px solid hsl(var(--border) / 0.7); font-size: .75rem; color: hsl(var(--muted-foreground)); }
.kn-foot > span:first-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.kn-foot-more { margin-left: auto; }
.kn-foot button { font-weight: 600; color: hsl(var(--primary-text)); text-decoration: underline; text-underline-offset: 2px; }
/* Beside the list: the chosen video — its picture that plays, all of it in words, its buttons. */
.kn > .kn-side { display: none; min-width: 0; } /* (two classes: a .fit-col is a flex box on a fitted page) */
@media (min-width: 1200px) { .kn > .kn-side { display: flex; flex-direction: column; } }
.kn-video { flex-shrink: 0; height: 11.5rem; margin: 1rem 1rem 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); overflow: hidden; background: #0b0b0c; }
.kn-video video { width: 100%; height: 100%; object-fit: contain; }
.kn-video-none { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .75rem; color: rgb(255 255 255 / 0.55); }
.kn-video-none svg { width: 1.5rem; height: 1.5rem; }
.kn-side-body { padding: .875rem 1rem 1rem; }
.kn-side-foot { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid hsl(var(--border) / 0.7); }
.kn-side-none { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* … a video in full (also under the video in the dialog, where there is no room beside the list). */
.kn-d { min-width: 0; }
.kn-d-title { display: flex; align-items: flex-start; gap: .5rem; font-size: .9375rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.kn-d-title > .kn-app { margin-top: .3125rem; }
.kn-d-app { margin-top: .125rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.kn-d-state { margin-top: .75rem; padding: .6875rem .75rem; border-radius: var(--radius-sm); border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.4); }
.kn-d-state.is-bad { border-color: hsl(var(--destructive) / 0.24); background: hsl(var(--destructive) / 0.05); }
.kn-d-state.is-warn { border-color: hsl(var(--warning) / 0.28); background: hsl(var(--warning) / 0.07); }
.kn-d-state.is-ok { border-color: hsl(var(--success) / 0.24); background: hsl(var(--success) / 0.06); }
.kn-d-label { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; font-size: .8125rem; font-weight: 600; }
.kn-d-label > .badge { height: 1.375rem; }
.kn-d-note { margin-top: .375rem; font-size: .8125rem; line-height: 1.45; overflow-wrap: anywhere; }
.kn-d-fix { margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed hsl(var(--border)); font-size: .8125rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.kn-d-fix > b { color: hsl(var(--foreground)); font-weight: 600; }
.kn-link { color: hsl(var(--primary-text)); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.kn-d-list { margin-top: .875rem; display: flex; flex-direction: column; gap: .75rem; }
.kn-d-list dt { font-size: .6875rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.kn-d-list dd { margin-top: .125rem; font-size: .8125rem; line-height: 1.5; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
.kn-d-list dd > small { display: block; font-size: .75rem; color: hsl(var(--muted-foreground)); white-space: normal; }
.kn-d-list .is-none { color: hsl(var(--muted-foreground)); }
.kn-cut { display: block; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-place { display: flex; align-items: baseline; gap: .4375rem; min-width: 0; white-space: normal; }
.kn-place > .pd { align-self: center; }
.kn-place > .kn-cut { flex: 0 1 auto; }
.kn-place > small { flex-shrink: 0; white-space: nowrap; }

/* ------------------------------------------------------------------ Posting Video (Mode Pemula): an editor — the parts on the left, the video on the right */
/* About 63 / 37 on a computer (the form scrolls in its own card: the preview stays); one column on a narrow window, the preview first. */
.wz { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .wz { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; } }
.wz-main { min-width: 0; display: flex; flex-direction: column; }
.wz-top { padding: .75rem 1.25rem; border-bottom: 1px solid hsl(var(--border) / 0.7); }
.wz-body > fieldset { min-width: 0; }
/* A part: its head (number / state, name, what is in it) and, while it is the open one, its fields. */
.wz-sec { border-bottom: 1px solid hsl(var(--border) / 0.7); }
.wz-sec:last-child { border-bottom: 0; }
.wz-sec-head { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .8125rem 1.25rem; text-align: left; }
.wz-sec-head:hover { background: hsl(var(--secondary) / 0.4); }
.wz-sec-head:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring) / 0.5); }
.wz-num { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); transition: background-color .15s, color .15s; }
.wz-num svg { width: .9375rem; height: .9375rem; stroke-width: 3; }
.wz-sec.is-open .wz-num { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: 0 0 0 4px hsl(var(--primary) / 0.14); }
.wz-sec.is-done .wz-num { background: hsl(var(--success) / 0.14); color: hsl(var(--success-text)); box-shadow: none; }
.wz-sec.is-bad .wz-num { background: hsl(var(--destructive) / 0.12); color: hsl(var(--danger-text)); box-shadow: none; }
.wz-sec.is-bad .wz-num svg { stroke-width: 2.25; }
.wz-sec-text { flex: 1 1 0; min-width: 0; }
.wz-sec-name { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.wz-sec-val { display: block; margin-top: .0625rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-sec-state { flex-shrink: 0; font-size: .75rem; font-weight: 600; white-space: nowrap; color: hsl(var(--muted-foreground)); }
.wz-sec.is-on .wz-sec-state { color: hsl(var(--primary-text)); }
.wz-sec.is-done .wz-sec-state { color: hsl(var(--success-text)); }
.wz-sec.is-bad .wz-sec-state { color: hsl(var(--danger-text)); }
.wz-sec-arrow { flex-shrink: 0; width: 1rem; height: 1rem; color: hsl(var(--muted-foreground)); transition: transform .15s; }
.wz-sec.is-open .wz-sec-arrow { transform: rotate(180deg); }
.wz-sec-body { padding: .125rem 1.25rem 1.25rem 3.75rem; } /* (under the part's name) */
.wz-sec-next { display: flex; margin-top: 1rem; }
.wz-help { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; max-width: 36rem; }
.wz-apps > div { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }
.wz-field { height: 2.75rem; font-size: .9375rem; }
.wz-caption { height: auto; min-height: 8rem; padding: .75rem; font-size: .9375rem; line-height: 1.5; resize: vertical; }
.wz-check { display: flex; align-items: flex-start; gap: .625rem; margin-top: .875rem; padding: .75rem .875rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); font-size: .875rem; cursor: pointer; }
.wz-check:hover { background: hsl(var(--secondary) / 0.4); }
.wz-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.5rem; border: 2px dashed hsl(var(--input)); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background-color .15s; }
.wz-drop:hover, .wz-drop:focus-visible { border-color: hsl(var(--primary) / 0.6); background: hsl(var(--primary) / 0.04); outline: none; }
.wz-drop.is-over { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.07); }
.wz-drop.is-bad { border-color: hsl(var(--destructive) / 0.5); background: hsl(var(--destructive) / 0.04); }
.wz-drop-icon { width: 3rem; height: 3rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; background: hsl(var(--primary) / 0.12); color: hsl(var(--primary-text)); }
.wz-drop-icon svg { width: 1.375rem; height: 1.375rem; }
.wz-video { display: flex; align-items: center; gap: 1rem; padding: .875rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--secondary) / 0.35); }
/* The end of the form: what is still wanted, and the buttons. */
.wz-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 1.25rem; border-top: 1px solid hsl(var(--border) / 0.7); }
.wz-ready { flex: 1 1 12rem; min-width: 0; font-size: .8125rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.wz-ready.is-ok { color: hsl(var(--success-text)); font-weight: 600; }
.wz-ready svg { width: 1rem; height: 1rem; }
.wz-ready-label { margin-right: .375rem; }
.wz-ready-item { margin-right: .625rem; font-weight: 600; color: hsl(var(--warning-text)); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; white-space: nowrap; }
.wz-ready-item:hover { color: hsl(var(--foreground)); }
.wz-next { min-width: 9.5rem; height: 2.5rem; font-weight: 600; }
.wz-sending { display: flex; align-items: center; gap: .875rem; padding: .875rem 1.25rem; border-top: 1px solid hsl(var(--border) / 0.7); }
/* The preview: the chosen video in a 9:16 frame as tall as its place lets it be, and under it how far the preparations are. */
.wz-side { min-width: 0; container: wzs / inline-size; }
.wz-side-head { display: flex; align-items: baseline; gap: .625rem; padding: .8125rem 1rem .5rem; }
.wz-side-sub { min-width: 0; flex: 1 1 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; }
.wz-side-toggle { display: none; align-self: center; }
.wz-side-main { min-height: 0; }
.wz-stage { flex: 1 1 0; min-height: 9rem; margin: 0 1rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: hsl(var(--secondary) / 0.6); container-type: size; }
.wz-frame { position: relative; height: min(100cqh - 1.5rem, (100cqw - 1.5rem) * 16 / 9); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #0b0b0c; box-shadow: 0 6px 18px hsl(240 10% 4% / 0.18); transition: box-shadow .15s; }
.wz-frame.is-over { box-shadow: 0 0 0 3px hsl(var(--primary)); }
.wz-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.wz-frame-none, .wz-frame-note { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: .875rem; text-align: center; font-size: .75rem; line-height: 1.45; color: rgb(255 255 255 / 0.62); }
.wz-frame-none > svg, .wz-frame-note > svg { width: 1.625rem; height: 1.625rem; flex-shrink: 0; }
.wz-frame-none > b { font-size: .8125rem; font-weight: 600; color: rgb(255 255 255 / 0.9); }
.wz-frame-none em { font-style: normal; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.wz-frame-none .btn { margin-top: .25rem; }
.wz-frame-note { background: rgb(11 11 12 / 0.86); color: rgb(255 255 255 / 0.85); }
@container (max-width: 10rem) { .wz-frame-none > span, .wz-frame-none .btn { display: none; } }
.wz-sum-box { flex-shrink: 0; padding: .75rem 1rem 1rem; }
.wz-sum-title { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .375rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.wz-sum-title > small { font-size: .6875rem; font-weight: 600; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.wz-sum { display: grid; grid-template-columns: minmax(0, 1fr); gap: .125rem .5rem; }
@container wzs (min-width: 20rem) { .wz-sum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* (a narrow panel: each preparation on one line — its name, then what it is — so the video keeps its room) */
@container wzs (max-width: 19.99rem) {
  .wz-sum button > span:last-child { display: flex; align-items: baseline; gap: .5rem; flex: 1 1 0; }
  .wz-sum-name { flex: 0 0 4.25rem; }
  .wz-sum-value { flex: 1 1 0; min-width: 0; }
  .wz-sum button { padding-block: .1875rem; }
}
.wz-sum li { min-width: 0; }
.wz-sum button { display: flex; align-items: flex-start; gap: .5rem; width: 100%; min-width: 0; padding: .3125rem .375rem; margin-inline: -.375rem; border-radius: var(--radius-xs); font-size: .8125rem; text-align: left; }
.wz-sum button:hover { background: hsl(var(--secondary) / 0.7); }
.wz-sum-dot { flex-shrink: 0; width: 1.0625rem; height: 1.0625rem; margin-top: .125rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1.5px solid hsl(var(--input)); color: transparent; }
.wz-sum .is-done .wz-sum-dot { border-color: transparent; background: hsl(var(--success)); color: #fff; }
.wz-sum .is-bad .wz-sum-dot { border-color: transparent; background: hsl(var(--destructive)); color: #fff; }
.wz-sum-dot svg { width: .6875rem; height: .6875rem; stroke-width: 3.5; }
.wz-sum-name { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.wz-sum-value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-sum .is-todo .wz-sum-value { color: hsl(var(--muted-foreground)); }
.wz-sum .is-bad .wz-sum-value { color: hsl(var(--danger-text)); }
/* A narrow window: the preview first, small — the video beside the list — and it can be folded away. */
@media (max-width: 1023px) {
  .wz-side { order: -1; }
  .wz-side-head { padding-bottom: .625rem; }
  .wz-side-toggle { display: inline-flex; }
  .wz-side-main { display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); gap: .875rem; padding: 0 1rem 1rem; }
  .wz-side.is-shut .wz-side-main, .wz-side.is-shut .wz-side-sub { display: none; }
  .wz-side.is-shut .wz-side-head { padding-bottom: .8125rem; }
  .wz-side.is-shut .card-title { flex: 1 1 0; }
  .wz-stage { height: 12rem; min-height: 0; margin: 0; background: none; }
  .wz-frame { height: min(100cqh, 100cqw * 16 / 9); box-shadow: none; }
  .wz-sum-box { padding: 0; }
  .wz-sum { grid-template-columns: minmax(0, 1fr); }
  .wz-sum button { padding-block: .1875rem; }
  .wz-sec-body { padding-left: 1.25rem; }
  .wz-foot { position: sticky; bottom: 0; background: hsl(var(--card)); border-radius: 0 0 var(--radius-card) var(--radius-card); }
  .wz-next { flex: 1 1 9.5rem; }
}

/* Mode Pemula: the phones in one line in the menu (their rows are on Beranda and on Perangkat & HP). */
html[data-mode="pemula"] #sidebar .phones-card-row { display: none; }
html[data-mode="pemula"] #sidebar .phones-card { padding: .5rem .75rem; }
html[data-mode="pemula"] #sidebar .phones-card > p:first-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Beranda, Mode Pemula (what to do next) */
.hm { display: flex; flex-direction: column; gap: 1rem; }
.hm-top { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-top { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: stretch; } }
/* The card on top: where things are, and the one thing to do. The brand's teal while there is a step to take. */
.hm-hero { position: relative; display: flex; align-items: flex-start; gap: 1.125rem; padding: 1.5rem 1.625rem; border-radius: var(--radius-card); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--shadow-card); min-width: 0; }
.hm-hero-icon { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: var(--radius-card); display: flex; align-items: center; justify-content: center; background: hsl(var(--primary) / 0.12); color: hsl(var(--primary-text)); }
.hm-hero-icon svg { width: 1.5rem; height: 1.5rem; }
.hm-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--primary-text)); }
.hm-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: .25rem; }
.hm-text { font-size: .9375rem; line-height: 1.5; color: hsl(var(--muted-foreground)); margin-top: .375rem; max-width: 40rem; }
.hm-progress { height: .5rem; max-width: 26rem; margin-top: .875rem; border-radius: 999px; overflow: hidden; background: hsl(var(--secondary)); }
.hm-progress > span { display: block; height: 100%; border-radius: inherit; background: hsl(var(--primary)); transition: width .4s ease; }
.hm-note { display: flex; align-items: flex-start; gap: .4375rem; margin-top: .75rem; font-size: .8125rem; color: hsl(var(--warning-text)); }
.hm-note svg { width: .9375rem; height: .9375rem; flex-shrink: 0; margin-top: .125rem; }
.hm-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.125rem; }
.hm-cta { height: 2.75rem; padding: 0 1.25rem; font-size: .9375rem; font-weight: 600; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-brand); }
.hm-cta:hover { filter: brightness(1.06); }
.hm-cta svg { width: 1.0625rem; height: 1.0625rem; }
.hm-more { height: 2.75rem; padding: 0 1rem; font-size: .875rem; font-weight: 500; color: hsl(var(--foreground)); border-color: hsl(var(--border)); background: hsl(var(--card)); }
.hm-more:hover { background: hsl(var(--secondary)); }
.hm-hero.is-start { color: #fff; border-color: transparent; background: hsl(172 70% 28.8%); }
.dark .hm-hero.is-start { background: hsl(171 62% 24%); }
.hm-hero.is-start .hm-hero-icon { background: hsl(0 0% 100% / 0.16); color: #fff; }
.hm-hero.is-start .hm-kicker { color: hsl(0 0% 100% / 0.82); }
.hm-hero.is-start .hm-text { color: hsl(0 0% 100% / 0.9); }
.hm-hero.is-start .hm-note { color: #fff; }
.hm-hero.is-start .hm-cta { background: #fff; color: hsl(173 70% 23.9%); box-shadow: none; }
.hm-hero.is-start .hm-cta:hover { filter: none; background: hsl(0 0% 100% / 0.92); }
.hm-hero.is-start .hm-more { background: hsl(0 0% 100% / 0.14); color: #fff; border-color: hsl(0 0% 100% / 0.26); }
.hm-hero.is-start .hm-more:hover { background: hsl(0 0% 100% / 0.22); }
.hm-hero.is-start .btn:focus-visible { box-shadow: 0 0 0 3px hsl(0 0% 100% / 0.45); }
.hm-hero.is-ok .hm-hero-icon { background: hsl(var(--success) / 0.12); color: hsl(var(--success-text)); }
.hm-hero.is-ok .hm-kicker { color: hsl(var(--success-text)); }
.hm-hero.is-run .hm-hero-icon svg { animation: spin 1.6s linear infinite; }
/* The first steps, as they really are. */
.hm-steps { padding: 1.125rem 1.25rem 1rem; min-width: 0; }
.hm-steps-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .625rem; }
.hm-steps-count { font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.hm-steps ol { display: flex; flex-direction: column; }
.hm-steps li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; }
.hm-steps li + li { border-top: 1px solid hsl(var(--border) / 0.7); }
.hm-step-dot { flex-shrink: 0; width: 1.625rem; height: 1.625rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.hm-step-dot svg { width: .875rem; height: .875rem; stroke-width: 3; }
.hm-steps li.is-done .hm-step-dot { background: hsl(var(--success)); color: #fff; }
.hm-steps li.is-next .hm-step-dot { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: 0 0 0 4px hsl(var(--primary) / 0.14); }
.hm-step-name { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.hm-step-text { display: block; font-size: .75rem; color: hsl(var(--muted-foreground)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-steps li.is-done .hm-step-name { color: hsl(var(--muted-foreground)); font-weight: 500; }
/* … and, once they are done, three numbers. */
.hm-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; overflow: hidden; }
.hm-nums a { display: flex; flex-direction: column; justify-content: center; gap: .1875rem; padding: 1rem 1.125rem; transition: background-color .18s ease; }
.hm-nums a + a { border-left: 1px solid hsl(var(--border) / 0.8); }
.hm-nums a:hover { background: hsl(var(--secondary) / 0.55); }
.hm-nums a:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring) / 0.45); }
.hm-nums b { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm-nums span { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.hm-nums a.is-bad b { color: hsl(var(--danger-text)); }
/* Three short lists under them. */
.hm-board { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hm-board { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.hm-panel { min-width: 0; display: flex; flex-direction: column; }
.hm-panel .section-head { padding: .875rem 1.125rem .5rem; }
.hm-panel .list-row { padding: .6875rem 1.125rem; }
.hm-panel .feed { padding: 0 1.125rem .5rem; }
.hm-panel .empty-inline { padding: 1.25rem 1.125rem 1.5rem; }
.hm-panel .empty-inline-text { display: block; max-width: 19rem; }
/* On a computer the page is as tall as the window: the lists share what is left and scroll inside. */
@media (min-width: 1280px) {
  .dash > .hm { flex: 1 1 0; min-height: 0; gap: .875rem; }
  .dash .hm-top, .dash .hm-board { gap: .875rem; }
  .dash .hm-board { flex: 1 1 0; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .dash .hm-panel { min-height: 0; overflow: hidden; }
  .dash .hm-body { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: flex; flex-direction: column; }
  .dash .hm-body > .empty-inline { flex: 1; justify-content: center; }
  .dash .hm-hero { padding: 1.25rem 1.5rem; }
}
/* A low window (a laptop): an empty list says its line and has its button — the picture above them makes room. */
@media (min-width: 1280px) and (max-height: 860px) {
  .dash .hm-panel .empty-inline { padding: .625rem 1.125rem .875rem; gap: .1875rem; }
  .dash .hm-panel .empty-inline .icon-tile { display: none; }
  .dash .hm-panel .section-head { padding-bottom: .25rem; }
}
@media (min-width: 1280px) and (max-height: 760px) {
  .dash .hm-title { font-size: 1.25rem; }
  .dash .hm-text { font-size: .875rem; }
  .dash .hm-actions { margin-top: .875rem; }
  .dash .hm-cta, .dash .hm-more { height: 2.5rem; }
  .dash .hm-steps { padding: .875rem 1.125rem .75rem; }
  .dash .hm-steps li { padding: .375rem 0; }
}
@media (max-width: 639px) {
  .hm-hero { flex-direction: column; gap: .875rem; padding: 1.25rem; }
  .hm-title { font-size: 1.25rem; }
  .hm-actions .btn { flex: 1 1 auto; }
  .hm-nums b { font-size: 1.375rem; }
  .hm-nums a { padding: .875rem .75rem; }
}

/* ------------------------------------------------------------------ Pusat Bantuan (/panduan) */
/* A button / menu name in a text, drawn like the button it names; a piece of an address. */
.ui-key { display: inline-flex; align-items: center; padding: 0 7px; height: 22px; border-radius: var(--radius-xs); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--foreground)); font-size: .8125rem; font-weight: 600; box-shadow: 0 1px 0 hsl(var(--border)); white-space: nowrap; vertical-align: baseline; }
.ui-code { padding: 1px 6px; border-radius: var(--radius-xs); background: hsl(var(--secondary)); color: hsl(var(--foreground)); font-size: .75rem; }
/* The list of categories and the basic guide beside what is shown (a computer). */
/* (the page's frame is .help-page: ".help" alone is the small text under a field, all over the app) */
.help-page { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.help-nav { display: none; }
@media (min-width: 1024px) {
  .help-page { grid-template-columns: 15.5rem minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .help-nav { display: flex; flex-direction: column; gap: 2px; padding: 3px; margin: -3px; }
}
.help-nav-head { padding: .875rem .625rem .375rem; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-foreground) / 0.85); }
.help-nav-item { display: flex; align-items: center; gap: .625rem; min-height: 2.125rem; padding: .3125rem .625rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; color: hsl(var(--foreground) / 0.85); transition: background-color .18s ease, color .18s ease; }
.help-nav-item:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.help-nav-item:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.help-nav-item > svg { width: 1rem; height: 1rem; flex-shrink: 0; color: hsl(var(--muted-foreground)); }
.help-nav-item > span { flex: 1 1 0; min-width: 0; }
.help-nav-item > small { font-size: .6875rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.help-nav-item > b { width: 1.25rem; height: 1.25rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .6875rem; font-weight: 600; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.help-nav-item[aria-current="page"] { background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); font-weight: 600; }
.help-nav-item[aria-current="page"] > svg { color: hsl(var(--primary)); }
.help-nav-item[aria-current="page"] > b { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
/* What is shown: one column of text, not wider than is easy to read. */
.help-main { min-width: 0; padding: 1.5rem 1.5rem 1.75rem; }
.help-main > section, .help-main > article { max-width: 46rem; }
@media (min-width: 640px) { .help-main { padding: 1.75rem 2rem 2rem; } }
.help-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--primary-text)); }
.help-h { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin-top: .1875rem; }
.help-lead { font-size: .9375rem; line-height: 1.55; color: hsl(var(--muted-foreground)); margin-top: .5rem; }
.help-h2 { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 .75rem; }
.help-h2:first-child { margin-top: 0; }
.help-h2 small { font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); margin-left: .375rem; }
.help-h3 { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.help-h3 svg { width: 1rem; height: 1rem; flex-shrink: 0; color: hsl(var(--primary)); }
.help-h3 small { font-size: .75rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
section > .help-h3 { margin-top: 1.5rem; }
.help-p { font-size: .875rem; line-height: 1.6; color: hsl(var(--foreground) / 0.82); }
.help-back { display: inline-flex; align-items: center; gap: .375rem; margin-bottom: .875rem; padding: .25rem .5rem .25rem .25rem; margin-left: -.25rem; border-radius: var(--radius-xs); font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.help-back:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }
.help-back:focus-visible, .help-row:focus-visible, .help-cat:focus-visible, .help-guide:focus-visible, .help-rel a:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.3); }
.help-back svg { width: .875rem; height: .875rem; }
/* Rows: a case in a list (its kind, its name, when it applies). */
.help-list { border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; }
.help-list > li + li { border-top: 1px solid hsl(var(--border) / 0.8); }
.help-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1875rem; padding: .8125rem 1rem; transition: background-color .18s ease; }
.help-row:hover { background: hsl(var(--secondary) / 0.55); }
.help-row.is-line { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding-block: .6875rem; }
.help-row.is-line > svg { width: 1rem; height: 1rem; color: hsl(var(--muted-foreground)); }
.help-row-go { opacity: .6; }
.help-row-title { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.help-row-text { font-size: .8125rem; line-height: 1.5; color: hsl(var(--muted-foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.help-row-text .ui-key { height: auto; padding: 0; border: 0; box-shadow: none; background: none; font-size: inherit; color: inherit; white-space: normal; }
.help-tag { justify-self: start; font-size: .6875rem; font-weight: 600; padding: .0625rem .4375rem; border-radius: .375rem; background: hsl(var(--warning) / 0.14); color: hsl(var(--warning-text)); }
.help-tag.is-how { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary-text)); }
section[aria-live] .help-tag { background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); }
.help-none { margin-top: 1rem; font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.help-none b { color: hsl(var(--foreground)); }
/* The first page: what is set up, the categories, the basic guide. */
.help-ready { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: .875rem 1rem; margin-bottom: 1.5rem; background: hsl(var(--secondary) / 0.3); }
.help-cats, .help-guides { display: grid; gap: .625rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .help-cats, .help-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.help-cat, .help-guide { display: flex; align-items: flex-start; gap: .75rem; padding: .8125rem .9375rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); transition: border-color .18s ease, background-color .18s ease; }
.help-cat:hover, .help-guide:hover { border-color: hsl(var(--primary) / 0.4); background: hsl(var(--primary) / 0.03); }
.help-cat-title { display: block; font-size: .875rem; font-weight: 600; line-height: 1.35; }
.help-cat-text { display: block; font-size: .8125rem; line-height: 1.45; color: hsl(var(--muted-foreground)); margin-top: .0625rem; }
.help-guide > b { width: 1.75rem; height: 1.75rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; font-weight: 600; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary-text)); }
/* A case: its parts, always in the same order. */
.help-sec { margin-top: 1.375rem; }
.help-ul { display: flex; flex-direction: column; gap: .375rem; padding-left: 1.125rem; list-style: disc; font-size: .875rem; line-height: 1.6; color: hsl(var(--foreground) / 0.82); }
.help-ul li::marker { color: hsl(var(--muted-foreground)); }
.help-steps { display: flex; flex-direction: column; gap: .875rem; }
.help-steps > li { display: flex; align-items: flex-start; gap: .875rem; }
.help-step-n { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary-text)); }
.help-step-t { font-size: .9375rem; font-weight: 600; line-height: 1.4; margin-bottom: .125rem; }
.help-go { display: inline-flex; align-items: center; gap: .25rem; margin-top: .4375rem; font-size: .8125rem; font-weight: 600; color: hsl(var(--primary-text)); }
.help-go:hover { text-decoration: underline; text-underline-offset: 2px; }
.help-go svg { width: .875rem; height: .875rem; }
.help-ok, .help-more { padding: .875rem 1rem; border-radius: var(--radius); border: 1px solid hsl(var(--border)); }
.help-ok { border-color: hsl(var(--success) / 0.28); background: hsl(var(--success) / 0.06); }
.help-ok .help-h3 svg { color: hsl(var(--success)); }
.help-more { background: hsl(var(--secondary) / 0.4); }
.help-more .help-h3 svg { color: hsl(var(--muted-foreground)); }
.help-rel { display: flex; flex-direction: column; gap: .125rem; }
.help-rel a { display: inline-flex; align-items: center; gap: .5rem; padding: .3125rem .5rem; margin-left: -.5rem; border-radius: var(--radius-xs); font-size: .875rem; font-weight: 500; color: hsl(var(--primary-text)); }
.help-rel a:hover { background: hsl(var(--primary-soft)); }
.help-rel svg { width: .9375rem; height: .9375rem; flex-shrink: 0; opacity: .8; }

/* Buying a plan (modules/billing/views/_buy.ejs — Langganan and the plan's step of /mulai): where the subscription
   stands in one line (.buy-status), 1 the plan (.buy-plan: a card each, the superadmin's words), 2 how long
   (.buy-len), the summary with its button (.buy-sum), on a phone the total and the button at the screen's foot. */
.buy-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: .875rem 1.25rem; font-size: .875rem; }
.buy-status-main { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; flex: 1 1 22rem; }
.buy-status-main > .badge { margin-top: .0625rem; }
.buy-status-use { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.buy-use { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; color: hsl(var(--muted-foreground)); }
.buy-use b { color: hsl(var(--foreground)); font-weight: 600; }
.buy-use svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.buy-use-bar { display: block; width: 7rem; margin-top: .25rem; }
.buy-choose { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.buy-step-head { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .875rem; }
.buy-num { width: 1.625rem; height: 1.625rem; border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; background: hsl(var(--primary-soft)); color: hsl(var(--primary-text)); }
.buy-step-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.buy-step-sub { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }
.buy-step + .buy-step { padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.buy-plan { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; min-width: 0; padding: 1rem 1.125rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); background: hsl(var(--card)); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.buy-plan:hover { border-color: hsl(var(--input)); }
.buy-plan.is-on { border-color: hsl(var(--primary)); box-shadow: 0 0 0 1px hsl(var(--primary)); background: hsl(var(--primary) / 0.03); }
.buy-plan:disabled, .buy-len:disabled { cursor: not-allowed; opacity: .55; }
.buy-plan:focus-visible, .buy-len:focus-visible { outline: none; box-shadow: 0 0 0 3px hsl(var(--ring) / 0.35); }
.buy-marks { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .5rem; }
.buy-badge { white-space: normal; height: auto; min-height: 1.5rem; padding-block: .1875rem; line-height: 1.25; overflow-wrap: anywhere; }
.buy-plan-name { font-size: 1.125rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.buy-plan-line { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; line-height: 1.45; overflow-wrap: anywhere; }
.buy-plan-price { margin-top: .75rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.buy-plan-price b { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.buy-plan-limits { display: flex; flex-direction: column; gap: .375rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid hsl(var(--border)); font-size: .8125rem; font-weight: 600; }
.buy-plan-limits > span, .buy-plan-feats > span { display: flex; align-items: flex-start; gap: .5rem; min-width: 0; }
.buy-plan-limits svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .0625rem; color: hsl(var(--primary-text)); }
.buy-plan-feats { display: flex; flex-direction: column; gap: .3125rem; margin-top: .625rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); line-height: 1.45; }
.buy-plan-feats svg { width: .875rem; height: .875rem; flex-shrink: 0; margin-top: .1875rem; color: hsl(var(--success)); }
.buy-plan-feats span span, .buy-plan-limits span { overflow-wrap: anywhere; }
.buy-plan-pick { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .875rem; font-size: .8125rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.buy-plan.is-on .buy-plan-pick { color: hsl(var(--primary-text)); }
.buy-radio { width: 1rem; height: 1rem; border-radius: 999px; border: 2px solid hsl(var(--input)); flex-shrink: 0; }
.buy-plan.is-on .buy-radio { border-color: hsl(var(--primary)); box-shadow: inset 0 0 0 3px hsl(var(--card)); background: hsl(var(--primary)); }
.buy-len { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .125rem; min-width: 0; padding: .625rem .75rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); background: hsl(var(--card)); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.buy-len:hover { border-color: hsl(var(--input)); }
.buy-len.is-on { border-color: hsl(var(--primary)); box-shadow: 0 0 0 1px hsl(var(--primary)); background: hsl(var(--primary) / 0.03); }
.buy-len-m { font-size: .875rem; font-weight: 600; }
.buy-len-p { font-size: .8125rem; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.buy-len-save { font-size: .6875rem; font-weight: 600; color: hsl(var(--success-text, var(--success))); }
.buy-len-promo { font-size: .6875rem; font-weight: 700; color: hsl(var(--warning-text)); }
.buy-promo { margin-bottom: 1rem; }
.buy-sum { padding: 1.25rem; }
.buy-rows { margin-top: .875rem; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.buy-rows > div { display: flex; justify-content: space-between; gap: .75rem; }
.buy-rows dt { color: hsl(var(--muted-foreground)); }
.buy-rows dd { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .875rem; padding-top: .875rem; border-top: 1px solid hsl(var(--border)); font-size: .875rem; font-weight: 600; }
.buy-total b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buy-until { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; text-align: right; }
.buy-note { font-size: .75rem; line-height: 1.5; margin-top: .625rem; color: hsl(var(--muted-foreground)); }
.buy-go { width: 100%; justify-content: center; height: 2.875rem; margin-top: 1rem; white-space: normal; text-align: center; line-height: 1.25; }
.buy-fine { font-size: .75rem; line-height: 1.5; color: hsl(var(--muted-foreground)); margin-top: .75rem; }
.buy-open { margin-top: 1rem; padding: .875rem 1rem; border-radius: var(--radius-sm); border: 1px solid hsl(var(--warning) / 0.3); background: hsl(var(--warning) / 0.06); }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); box-shadow: 0 -6px 16px -10px hsl(150 12% 16% / 0.25); }
.buy-bar .btn { flex-shrink: 0; height: 2.75rem; padding-inline: 1.25rem; }
.buy-page { padding-bottom: 5rem; }
@media (min-width: 1024px) { .buy-bar { display: none; } .buy-page { padding-bottom: 0; } }
/* … in the first steps (/mulai): one column, as many plans a row as fit */
.onb-buy { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.onb-buy .buy-plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }
.onb-buy .buy-step + .buy-step { padding-top: 1.25rem; }
.onb-buy .buy-sum { box-shadow: none; background: hsl(var(--secondary) / 0.35); }

/* ---------------------------------------------------------------- the tour with Robi (public/js/tour.js) */
/* Robi, the mascot: the logo's own head, a small body with a video screen; its pose by data-pose (wave / point / cheer / idle) */
:root { --robi-white: #FFFFFF; --robi-line: #0E4F47; --robi-dark: #0F5A51; --rt-scrim: rgb(16 30 26 / 0.56); --rt-ring: rgb(255 255 255 / 0.95); }
.dark { --robi-white: #F4FBF9; --robi-line: #0B2E2A; --robi-dark: #1F7A6E; --rt-scrim: rgb(0 0 0 / 0.64); --rt-ring: hsl(var(--primary-text)); }
.robi { display: block; width: 100%; height: auto; overflow: visible; animation: robi-bob 3.2s ease-in-out infinite; }
.robi .r-head { fill: var(--robi-white); stroke: var(--robi-line); stroke-width: 26; paint-order: stroke; stroke-linejoin: round; }
.robi .r-visor { fill: hsl(var(--primary)); }
.robi .r-eyes rect { fill: var(--robi-white); }
.robi .r-eyes { transform-box: fill-box; transform-origin: center; animation: robi-blink 4.6s infinite; }
.robi .r-teal { fill: hsl(var(--primary)); stroke: var(--robi-line); stroke-width: 2.4; paint-order: stroke; }
.robi .r-screen { fill: var(--robi-white); }
.robi .r-play { fill: hsl(var(--primary)); }
.robi .r-dark { fill: var(--robi-dark); stroke: var(--robi-line); stroke-width: 2.4; paint-order: stroke; }
.robi .r-line { fill: none; stroke: var(--robi-line); stroke-width: 11; stroke-linecap: round; }
.robi .r-limb { fill: none; stroke: var(--robi-white); stroke-width: 6.6; stroke-linecap: round; }
.robi .r-hand { fill: var(--robi-white); stroke: var(--robi-line); stroke-width: 2.4; }
.robi .arm { display: none; transform-box: view-box; }
.robi[data-pose="wave"] .arm-l-down, .robi[data-pose="wave"] .arm-r-up,
.robi[data-pose="point"] .arm-l-down, .robi[data-pose="point"] .arm-r-point,
.robi[data-pose="cheer"] .arm-l-up, .robi[data-pose="cheer"] .arm-r-up,
.robi[data-pose="idle"] .arm-l-down, .robi[data-pose="idle"] .arm-r-down { display: inline; }
.robi[data-pose="wave"] .arm-r-up { transform-origin: 77px 96px; animation: robi-wave 1.5s ease-in-out infinite; }
.robi[data-pose="cheer"] .arm-l-up, .robi[data-pose="cheer"] .arm-r-up { animation: robi-cheer .9s ease-in-out infinite alternate; }
.robi[data-pose="cheer"] .arm-l-up { transform-origin: 33px 96px; }
.robi[data-pose="cheer"] .arm-r-up { transform-origin: 77px 96px; }
.robi[data-pose="point"] .arm-r-point { transform-origin: 77px 98px; animation: robi-point 1.4s ease-in-out infinite; }
@keyframes robi-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes robi-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.12); } }
@keyframes robi-wave { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(14deg); } }
@keyframes robi-cheer { from { transform: rotate(0deg); } to { transform: rotate(6deg); } }
@keyframes robi-point { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
/* The layer: dim, a hole round the part explained, Robi's card beside it (at the foot of a phone's screen) */
.rt { position: fixed; inset: 0; z-index: 80; }
.rt-shade { position: fixed; inset: 0; background: transparent; }
.rt-shade.is-dim { background: var(--rt-scrim); }
.rt-hole { position: fixed; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 3px var(--rt-ring), 0 0 0 9999px var(--rt-scrim); transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; }
.rt-pop { position: fixed; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; width: min(24rem, calc(100vw - 24px)); background: hsl(var(--card)); color: hsl(var(--card-foreground)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-card); box-shadow: var(--shadow-xl); padding: 1rem; display: grid; gap: .5rem; transition: top .25s ease, left .25s ease; }
.rt-pop.is-center { width: min(31rem, calc(100vw - 32px)); padding: 1.375rem; gap: .75rem; }
.rt-pop.is-sheet { left: 12px !important; right: 12px; width: auto; top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.rt-pop.is-sheet.is-top { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)) !important; }
.rt-top { display: flex; align-items: center; gap: .625rem; }
.rt-eyebrow { flex: 1; min-width: 0; font-size: .75rem; font-weight: 600; color: hsl(var(--primary-text)); }
.rt-dots { display: flex; gap: 4px; }
.rt-dots i { width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--input)); }
.rt-dots i.on { width: 16px; background: hsl(var(--primary)); }
.rt-row { display: grid; grid-template-columns: 3.875rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.rt-pop.is-center .rt-row { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.rt-robi { padding-top: .25rem; }
.rt-bubble { position: relative; min-width: 0; display: grid; gap: .375rem; padding: .75rem .875rem; border-radius: var(--radius-card); background: hsl(var(--primary-soft)); }
.rt-bubble::before { content: ""; position: absolute; left: -7px; top: 1.25rem; width: 14px; height: 14px; border-radius: 2px; background: hsl(var(--primary-soft)); transform: rotate(45deg); }
.rt-pop.is-center .rt-bubble::before { top: calc(50% - 7px); }
.rt-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.rt-pop.is-center .rt-title { font-size: 1.25rem; }
.rt-text { font-size: .875rem; line-height: 1.5; color: hsl(var(--foreground) / 0.85); }
.rt-extra { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.rt-extra:empty { display: none; }
.rt-foot { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; }
.rt-space { flex: 1; }
.rt-skip { padding: .375rem .125rem; font-size: .8125rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.rt-skip:hover { color: hsl(var(--foreground)); text-decoration: underline; }
@media (max-width: 520px) {
  .rt-pop.is-center .rt-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .rt-pop.is-center .rt-robi { width: 6rem; }
  .rt-pop.is-center .rt-bubble { width: 100%; }
  .rt-pop.is-center .rt-bubble::before { left: calc(50% - 7px); top: -7px; }
}
/* Bantuan's "Kenalan dengan RobotVideo" */
.meet { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .875rem 1rem; margin-bottom: 1.25rem; border: 1px solid hsl(var(--primary) / 0.22); border-radius: var(--radius-card); background: hsl(var(--primary-soft) / 0.55); }
.meet-robi { width: 3.25rem; flex: none; }
.meet-main { flex: 1 1 16rem; min-width: 0; }
.meet-pages { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: .5rem; }
@media (prefers-reduced-motion: reduce) {
  .robi, .robi * { animation: none !important; }
  .rt-hole, .rt-pop { transition: none; }
}
