/* Identitas CallTag dan komponen halaman; berkas kit tetap utuh. */

:root {
  --p-bg: #f7f6f2; --p-surface: #ffffff; --p-ink: #14181a; --p-muted: #586366;
  --p-accent: #0f766e; --p-accent-ink: #ffffff; --p-action: #0f766e; --p-action-ink: #ffffff;
  --p-inv-bg: #14181a; --p-inv-surface: #20282a; --p-inv-ink: #f7f6f2; --p-inv-muted: #b3bfbd;
  --p-inv-accent: #0f766e; --p-inv-accent-ink: #ffffff; --p-inv-action: #0f766e; --p-inv-action-ink: #ffffff;
  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-text: "Funnel Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  --ly-scale: 0.98;
}


  #darurat { --mo-gap: 0px; }
  
  .menu-card .panel { --p-h: 160px; }
  #ancaman .panel { --p-h: 296px; }
  
  
  
  #ancaman .ui-app__on { background: #e5f2ef; color: #0f625b; }

  /* Hero collage top alignment and pieces */
  
  .hero__proof { font-size: var(--t-small); color: var(--ink); }
  .hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
  

  .ct-win {
    background: #ffffff; color: #141715; border-radius: 12px; overflow: hidden;
    font: 400 14px/1.4 var(--font-text); text-align: left;
    box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 22px 54px -26px rgb(0 0 0 / .42);
  }
  .ct-win__bar {
    display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px;
    border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #48504b;
  }
  .ct-win__dots { display: flex; gap: 6px; }
  .ct-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6dbd7; }
  .ct-win__body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 430px; }
  .ct-win__side {
    padding: 14px 10px; border-right: 1px solid rgb(0 0 0 / .07);
    display: grid; align-content: start; gap: 2px; font-size: 13px; color: #464e49;
  }
  .ct-win__side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; }
  .ct-win__side > span.is-on { background: rgb(0 0 0 / .06); color: #101411; font-weight: 500; }
  .ct-win__side > span i { width: 12px; height: 12px; border-radius: 3px; background: currentColor; opacity: .28; flex: none; }
  .ct-win__main { padding: 16px var(--ly-cut-room) 16px 18px; display: grid; align-content: start; gap: 12px; min-width: 0; }
  .ct-win__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ct-win__title { font: 500 16px/1.25 var(--font-text); color: #101411; }
  .ct-win__pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: #e5f2ef; color: #0f625b; font-size: 13px; font-weight: 500; }
  .ct-win__rows { display: grid; border-top: 1px solid rgb(0 0 0 / .07); }
  .ct-win__row {
    display: grid; grid-template-columns: minmax(0, 1fr) 70px 108px; align-items: center;
    gap: 10px; padding: 9px 2px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px;
  }
  .ct-win__row b { display: block; font-weight: 500; color: #101411; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ct-win__row small { display: block; font-size: 13px; color: #4e5651; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ct-win__score { text-align: right; font-family: var(--font-mono); font-size: 13px; color: #464e49; font-variant-numeric: tabular-nums; }
  
  

  .ct-chip {
    justify-self: end; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
    border-radius: 99px; font-size: 13px; font-weight: 500; background: #e5f2ef; color: #0f625b; white-space: nowrap;
  }
  .ct-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .ct-chip--danger { background: #fbe6e3; color: #9c2418; }
  .ct-chip--warn { background: #fdf0dc; color: #7a4700; }

  .ct-note {
    background: #ffffff; color: #141715; border-radius: 12px; padding: 14px 16px;
    font: 400 14px/1.4 var(--font-text); text-align: left;
    box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 18px 42px -18px rgb(0 0 0 / .42);
  }
  .ct-note__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
  .ct-note__title { font: 500 14px/1.3 var(--font-text); color: #101411; }
  .ct-note__line { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: #3d4440; border-top: 1px solid rgb(0 0 0 / .06); }
  .ct-note__line:first-of-type { border-top: 0; }
  .ct-note__line i {
    width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: #e5f2ef; color: #0f625b; font-style: normal; font-size: 13px; font-weight: 500;
  }
  .ct-note__line i.warn { background: #fbe6e3; color: #9c2418; }
  .ct-note__line b { font-weight: 500; color: #101411; }

  /* App-frame recipe (.app.ui) with explicit crisp light surface tokens on both light and dark grounds */
  .app.ui {
    --u-bg: #ffffff; --u-ink: #14181a; --u-ink2: #484f4a;
    --u-line: rgb(0 0 0 / .08); --u-border: rgb(0 0 0 / .15);
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7);
    background: #ffffff; color: #14181a; border: 1px solid var(--u-border);
    border-radius: var(--u-r, 12px); box-shadow: var(--u-shadow);
    text-align: left;
  }
  
  
  .app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  .app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
  .app:has(.ct-drawer:not([hidden])) > .app__pane--list { max-height: 440px; overflow-y: auto; }
  
  

  /* Interactive panes inside .app.ui */
  .ct-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .ct-pane-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 16px; border-bottom: 1px solid var(--u-line); font-size: 13px;
  }
  .ct-pane-title { font-weight: 500; color: var(--u-ink); }
  .ct-pane-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .ct-pill-status {
    display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px;
    font-size: 13px; background: #eef1ef; color: #3f4742;
  }
  .ct-pill-status[data-state="done"] { background: #e5f2ef; color: #0f625b; }
  .ct-mini-btn {
    display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px;
    border-radius: 99px; border: 1px solid var(--p-action); background: var(--p-action); color: var(--p-action-ink);
    font: 500 13px/1 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  }
  .ct-mini-btn:hover { background: #115e59; border-color: #115e59; }
  .ct-mini-btn--ghost { background: #ffffff; color: #14181a; border-color: var(--u-border); }
  .ct-mini-btn--ghost:hover { background: #f2f5f3; border-color: rgb(0 0 0 / .28); }

  .ct-search-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px;
    padding: 10px 16px; border-bottom: 1px solid var(--u-line);
  }
  .ct-input, .ct-select {
    width: 100%; height: 34px; padding: 0 11px; border-radius: 8px;
    border: 1px solid var(--u-border); background: #ffffff; color: #14181a;
    font: 400 14px/1.2 var(--font-text);
  }
  .ct-search-sub {
    grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
    gap: 8px; font-size: 13px; color: var(--u-ink2);
  }

  .ct-drawer {
    padding: 10px 16px; border-bottom: 1px solid var(--u-line);
    background: #f6f8f7; display: grid; gap: 8px; font-size: 13px;
  }
  .ct-drawer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  

  .ct-sample-list, .ct-hotlines, .ct-units {
    list-style: none; margin: 0; padding: 0;
  }
  .ct-sample-row {
    width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 10px; padding: 9px 16px; border: 0; border-bottom: 1px solid var(--u-line);
    background: transparent; color: var(--u-ink); text-align: left; font: 400 13px/1.3 var(--font-text); cursor: pointer;
    transition: background-color 160ms ease;
  }
  .ct-sample-row:last-child { border-bottom: 0; }
  .ct-sample-row:hover, .ct-sample-row.is-on { background: #f3f6f4; }
  .ct-sample-row strong { display: block; font-weight: 500; color: var(--u-ink); }
  .ct-sample-row span { color: var(--u-ink2); font-size: 13px; }

  .ct-result-host { padding: 14px 18px; }
  .ct-detail { display: grid; gap: 10px; }
  .ct-detail__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ct-badge {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px;
    font-size: 13px; font-weight: 500; background: #e5f2ef; color: #0f625b; white-space: nowrap;
  }
  .ct-badge.tier-danger { background: #fbe6e3; color: #9c2418; }
  .ct-badge.tier-spam, .ct-badge.tier-suspicious { background: #fdf0dc; color: #7a4700; }
  .ct-meta { font-size: 13px; color: var(--u-ink2); }
  .ct-caller__title { font: 500 18px/1.25 var(--font-display); color: var(--u-ink); }
  .ct-caller__sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 13px; color: var(--u-ink2); }

  .ct-metrics {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0;
    padding: 8px 10px; border-radius: 8px; border: 1px solid var(--u-line);
  }
  .ct-metrics dt { font-size: 13px; color: var(--u-ink2); }
  .ct-metrics dd { margin: 2px 0 0; font-size: 13px; font-weight: 500; color: var(--u-ink); }

  .ct-advice { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--u-ink); }
  .ct-group { margin-top: 10px; display: grid; gap: 6px; }
  .ct-label { font-size: 13px; font-weight: 500; color: var(--u-ink2); }
  .ct-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .ct-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px;
    border: 1px solid var(--u-border); font-size: 13px; color: var(--u-ink);
  }
  .ct-tag b { font-weight: 500; color: var(--u-ink2); }
  .ct-reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .ct-report-item { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--u-line); font-size: 13px; }
  .ct-report-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
  .ct-report-head strong { font-weight: 500; color: var(--u-ink); }
  .ct-report-body { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--u-ink2); }
  .ct-report-empty, .ct-notice { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--u-line); font-size: 13px; color: var(--u-ink2); }
  

  /* Card 3 taxonomy breakdown inside .panel */
  .ct-stats-panel { padding: 12px 16px; display: grid; gap: 8px; background: #ffffff; color: #14181a; }
  .ct-stats-summary { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #484f4a; border-bottom: 1px solid rgb(0 0 0 / .08); padding-bottom: 6px; }
  .ct-stats-summary b { font-weight: 500; color: #14181a; }
  .ct-tax-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; }
  .ct-tax-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; padding: 2px 0; }
  .ct-tax-tag { font-weight: 500; color: #14181a; white-space: nowrap; }
  .ct-tax-num { color: #484f4a; white-space: nowrap; }

  /* Emergency directory inside .app.ui */
  .ct-hotline-row { border-bottom: 1px solid var(--u-line); }
  .ct-hotline-row:last-child { border-bottom: 0; }
  .ct-hotline-link {
    display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center;
    gap: 10px; padding: 10px 16px; text-decoration: none; color: #14181a; font-size: 13px;
    transition: background-color 160ms ease;
  }
  .ct-hotline-link:hover { background: #f3f6f4; }
  .ct-hotline-code { font-size: 14px; font-weight: 500; color: #14181a; }
  .ct-hotline-row.is-critical .ct-hotline-code { color: #9c2418; }
  .ct-hotline-info strong { display: block; font-weight: 500; color: #14181a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ct-hotline-act { font-size: 13px; font-weight: 500; color: #0f625b; }
  
  

  .ct-filter-bar {
    display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 8px;
    padding: 10px 16px; border-bottom: 1px solid var(--u-line);
  }
  .ct-cat-chips { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .ct-cat-btn {
    height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--u-border);
    background: #ffffff; color: #484f4a; font: 400 13px/1 var(--font-text); cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  }
  .ct-cat-btn:hover { background: #f2f5f3; color: #14181a; }
  .ct-cat-btn.is-on { background: var(--p-action); color: var(--p-action-ink); border-color: var(--p-action); font-weight: 500; }
  .ct-unit-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px; border-bottom: 1px solid var(--u-line); font-size: 13px;
  }
  .ct-unit-row:last-child { border-bottom: 0; }
  .ct-unit-main { min-width: 0; display: grid; gap: 2px; }
  .ct-unit-top { display: flex; align-items: center; gap: 8px; }
  .ct-unit-name { font-weight: 500; color: #14181a; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .ct-unit-addr { color: #484f4a; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ct-unit-actions { display: flex; gap: 6px; flex: none; }
  

  /* Official channels (#kanal) and APK downloader (#unduh) split frames */
  .tab[aria-selected="true"] { background: var(--action); color: var(--action-ink); border-color: var(--action); }
  .m-tab-ind { background: var(--action); }
  #kanal .tabs { margin-bottom: var(--s-4); }
  #kanal .frame--split, #unduh .ct-unduh-panel { --ratio: 0px; --p-h: 496px; min-height: 496px; }
  
  
  

  #kanal .ui-checks { width: 100%; padding-bottom: 0; background: #ffffff; color: #14181a; }
  #kanal .ui-checks__head { height: 42px; }
  #kanal .ui-check { height: auto; min-height: 34px; padding: 6px 16px; align-items: flex-start; color: #14181a; }
  #kanal .ui-check__box { margin-top: 1px; background: #e5f2ef; color: #0f625b; box-shadow: none; }
  #kanal .ui-check__box path { stroke-dashoffset: 0; }
  .ct-ch-sub { padding: 0 16px 8px; font-size: 13px; color: #484f4a; border-bottom: 1px solid rgb(0 0 0 / .08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ct-ch-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid rgb(0 0 0 / .08); }

  /* Plain spec lines in #unduh */
  .ct-spec-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .ct-spec-lines li { padding-top: 10px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  #unduh .ui-toggles { width: 100%; background: #ffffff; color: #14181a; }
  #unduh .ui-tg { min-height: 52px; padding: 7px 16px; }
  .ct-rel-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 8px 16px; border-bottom: 1px solid rgb(0 0 0 / .08); font-size: 13px; color: #484f4a;
  }

  /* Closing button flex-shrink guard */
  .closing__cta > .btn { flex: none; }

  /* Mock text contrast and one button look inside mocks */
  .ui-note__title time { color: #5c5c5c; }
  .ct-mini-btn:not(.ct-mini-btn--ghost), .ct-cat-btn.is-on { border-color: transparent; }

  /* #ancaman card 2: privacy checklist */
  .ct-privacy { width: 100%; background: #ffffff; color: #14181a; padding-bottom: 6px; }
  .ct-privacy .ui-check { color: #14181a; }
  .ct-privacy .ui-check__box { background: #e5f2ef; color: #0f625b; box-shadow: none; }
  .ct-privacy .ui-check__box path { stroke-dashoffset: 0; }
  .ct-privacy .ui-check.is-off .ui-check__box { background: #fbe6e3; color: #9c2418; }

  /* #nomor and #darurat on a phone: the essentials fit one screen */
  

  /* #kanal: on a phone the frame takes the second screen */
  #kanal .ui-checks { min-width: 0; max-width: 100%; }
  

  /* #faq: the permission panel beside the open answers */
  .ct-faq-side { display: flex; flex-direction: column; }
  .ct-faq-panel { --p-h: 420px; min-height: 420px; }
  .ct-perm { width: 100%; background: #ffffff; color: #14181a; }
  .ct-perm .ui-head .ui-meta { display: none; }
  .ct-perm__list { list-style: none; margin: 0; padding: 0 0 6px; }
  .ct-perm__list > li {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 16px; border-top: 1px solid rgb(0 0 0 / .08); font-size: 13px;
  }
  
  

/* Identitas bersama aplikasi Android. */
:root {
  --btn-h: 48px;
  --padt: 112px;
  --padb: 64px;
  --ground-bg: #dfebe6;
  --ground-surface: #f0f5ef;
  --ground-accent: #8ebbb2;
  --ground-ink: #173d37;
  --display-weight: 500;
}
.ct-brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--p-action); color: white; font: 500 24px/1 var(--font-mono); }
.nav__logo { gap: 8px; font-weight: 600; letter-spacing: -.04em; }
.skip-link { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip-link:focus { width: auto; height: auto; clip-path: none; z-index: 100; padding: 12px; background: white; color: var(--p-ink); }
.hero--collage .hero__grid { align-items: stretch; }
.hero--collage .hero__text { align-self: start; }
.hero--collage .hero__text > h1:first-child { text-box: normal; }
.card h3, .faq .faq__item > h3 { font-family: var(--font-display); }
.hero--collage h1 { max-width: 16ch; font-weight: 500; }
.hero__lead { max-width: 40ch; }
.hero__proof { color: var(--muted); }
.hero__art { --fx-bg: #dbe9e1; --fx-surface: #f0f5ef; --fx-accent: #85b6aa; }
.hero__art > .ly-piece--main { left: 32px; top: 48px; width: calc(100% - 32px + var(--ly-cut)); }
.ct-win__body { min-height: 400px; }
.ct-win__row b, .ct-note__title { font-family: var(--font-mono); font-weight: 400; }
.ct-win__row { padding-block: 12px; }
.ct-win__side > span.is-on { background: #e5f2ef; color: #0f625b; }
.ct-win__pill { font-size: 13px; }
.ct-note { border-left: 3px solid var(--p-action); }
.ct-badge.tier-neutral { background: #eef1ef; color: #4d5b5e; }
.ct-pill-status { height: auto; min-height: 28px; line-height: 1.3; padding: 4px 10px; text-align: center; }
.ct-pane-head { min-height: 72px; padding: 12px 24px; flex-wrap: wrap; }
.ct-pane-title { font-size: 16px; font-weight: 600; }
.ct-pane-tools { gap: 8px; }
.ct-mini-btn, .ct-cat-btn { min-height: 48px; height: auto; padding: 12px 16px; font-size: 14px; line-height: 1.3; border-radius: 999px; cursor: pointer; }
.ct-mini-btn { transition: transform 180ms ease, background-color 180ms ease; }
.ct-mini-btn:hover { transform: translateY(-2px); }
.ct-mini-btn:active { transform: translateY(1px); }
.ct-input, .ct-select { height: 48px; padding: 0 12px; font-size: 16px; }
.ct-search-bar, .ct-filter-bar, .ct-drawer { padding: 16px 24px; gap: 12px; }
.ct-search-sub { flex-wrap: wrap; }
.ct-search-bar .ct-mini-btn { white-space: normal; }
.ct-drawer { background: #f4f7f4; }
.ct-drawer[hidden] { display: none; }
.ct-drawer-grid { gap: 12px; }
.ct-drawer-section { display: grid; gap: 8px; }
.ct-drawer-divider { padding-top: 12px; border-top: 1px solid var(--u-line); }
.ct-verified-meta { margin-top: 8px; font-size: 13px; color: #0f625b; }
.ct-verified-meta a { color: #0f625b; font-weight: 500; }
.ct-app-callout {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: #edf5f1; border: 1px solid #cce0d8;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px; color: #173d37; line-height: 1.45;
}
.ct-dialog {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid rgb(0 0 0 / .14);
  border-radius: 16px; background: #ffffff; color: #14181a;
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / .45);
}
.ct-dialog::backdrop { background: rgb(20 24 26 / .52); }
.ct-dialog__body { padding: 24px; display: grid; gap: 12px; text-align: left; }
.ct-dialog__body h3 { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: #14181a; }
.ct-dialog__phone {
  margin: 0; justify-self: start; padding: 4px 10px; border-radius: 99px;
  background: #e5f2ef; color: #0f625b; font-size: 14px; font-weight: 500;
}
.ct-dialog__desc { margin: 0; font-size: 15px; line-height: 1.55; color: #484f4a; }
.ct-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ct-dialog__actions .btn { flex: 1 1 180px; justify-content: center; text-align: center; }
.ct-inline-link { border: 0; padding: 0; background: none; color: #0f625b; font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }
.ct-dispute-ticket { display: grid; gap: 4px; overflow-wrap: anywhere; }
.app.ui { margin-top: 32px; box-shadow: 0 12px 40px -28px #20383255; border-radius: 16px; }
#nomor .app { flex: 1; min-height: 0; }
.app > .app__pane { overflow: auto; scrollbar-width: thin; }
.ct-sample-list { overflow: auto; }
.ct-sample-row { min-height: 72px; padding: 12px 24px; gap: 12px; }
.ct-sample-row strong { font-size: 15px; margin-bottom: 4px; }
.ct-sample-row span { line-height: 1.5; }
.ct-sample-row:hover, .ct-sample-row.is-on { background: #edf5f1; }
.ct-result-host { padding: 24px; }
.ct-detail { gap: 16px; }
.ct-detail__bar { flex-wrap: wrap; }
.ct-caller__title { font-size: 24px; overflow-wrap: anywhere; }
.ct-caller__sub { margin-top: 8px; }
.ct-metrics { padding: 16px; gap: 12px; margin-top: 16px; }
.ct-metrics dd { font-size: 16px; margin-top: 8px; }
.ct-advice, .ct-report-body { font-size: 16px; line-height: 1.5; }
.ct-group { margin-top: 16px; gap: 8px; }
.ct-report-item, .ct-report-empty, .ct-notice { padding: 12px; line-height: 1.5; }
.ct-report-head { font-size: 14px; }
.ct-report-body { margin-top: 8px; }
.ct-tag { padding: 6px 10px; }
#ancaman .card--open { display: flex; flex-direction: column; }
#ancaman .card--open > p { font-size: 16px; color: var(--ink); }
#ancaman .card--open > .panel { flex: 1; min-height: 280px; margin-top: 24px; border-radius: 16px; }
#ancaman .ui { --u-shadow: 0 8px 28px -18px #173d3750; }
#ancaman .panel:not([data-fx]), #kanal .frame, .ct-faq-panel, .ct-unduh-panel { background: #e8ede7; background-image: none; }
#ancaman .ct-tax-tag { white-space: normal; }
#ancaman .ct-tax-row { min-height: 32px; }
#ancaman .ct-stats-panel { gap: 12px; padding: 16px; }
#ancaman .ct-stats-panel .ui-head { height: auto; min-height: 44px; padding: 0 0 8px; gap: 8px; flex-wrap: wrap; }
#ancaman .ct-stats-panel :is(.ui-title, .ui-meta) { white-space: normal; }
#ancaman .ct-tax-row { min-width: 0; }
#ancaman .ct-tax-tag { overflow-wrap: anywhere; }
#darurat .app { flex: 1; min-height: 0; }
.ct-hotline-link { grid-template-columns: 88px minmax(0, 1fr) auto; min-height: 68px; padding: 12px 24px; }
.ct-hotline-code { font-size: 20px; white-space: nowrap; }
.ct-hotline-info strong { font-size: 15px; white-space: normal; line-height: 1.4; }
.ct-hotline-act { font-size: 14px; color: var(--p-action); }
.ct-hotlines { overflow: auto; }
.ct-filter-bar { grid-template-columns: minmax(0, 1fr); }
.ct-cat-chips { gap: 8px; }
.ct-cat-btn { padding-inline: 12px; }
.ct-units { overflow: auto; min-height: 0; }
.ct-unit-row { padding: 16px 24px; align-items: flex-start; }
.ct-unit-top { flex-wrap: wrap; gap: 8px; }
.ct-unit-name { display: block; overflow: visible; font-size: 16px; line-height: 1.4; }
.ct-unit-addr { white-space: normal; line-height: 1.5; }
.ct-unit-main { gap: 8px; }
.ct-unit-actions { flex-wrap: wrap; justify-content: flex-end; }
#kanal .tabs { flex-wrap: wrap; gap: 8px; }
#kanal .tab { min-height: 48px; padding-inline: 16px; font-size: 15px; }
#kanal .frame--split, #unduh .ct-unduh-panel { min-height: 480px; border-radius: 16px; }
#kanal .ui-check { min-height: 48px; padding: 12px 16px; }
#kanal .ct-ch-sub { white-space: normal; line-height: 1.5; padding-block: 12px; }
#kanal .ct-ch-actions { padding: 16px; }
#unduh .ui-tg { min-height: 80px; padding: 16px; gap: 16px; }
#unduh .ui-switch { width: 52px; height: 44px; min-height: 44px; background: transparent; box-shadow: none; }
#unduh .ui-switch::before { content: ""; position: absolute; inset: 8px 0; border-radius: 999px; background: #dbe3df; transition: background-color 240ms var(--u-ease); }
#unduh .ui-switch.is-on::before { background: var(--p-action); }
#unduh .ui-switch i { width: 24px; height: 24px; top: 10px; left: 2px; }
#unduh .ui-switch.is-on i { transform: translateX(24px); background: white; }
#unduh .ui-tg__label { white-space: normal; font-size: 15px; }
#unduh .ui-tg__sub { white-space: normal; line-height: 1.5; }
.ct-rel-bar { flex-wrap: wrap; line-height: 1.5; padding: 12px 16px; }
.ct-perm__list > li { padding: 16px; font-size: 15px; line-height: 1.5; }
.ct-faq-panel { --p-h: 400px; min-height: 400px; border-radius: 16px; }
.faq p { color: var(--ink); }
.footer__legal { color: var(--p-inv-muted); line-height: 1.7; }
.footer__col a { display: inline-flex; min-height: 44px; align-items: center; }

@media (min-width: 640px) and (max-width: 1279px) {
  main > :is(#nomor, #darurat) { height: calc(var(--h, 1) * 100svh); min-height: 0; }
  main > :is(#nomor, #darurat) > .wrap { flex: 1 1 0; height: 100%; min-height: 0; }
  .ct-unit-row { flex-direction: column; align-items: stretch; }
  .ct-unit-actions { justify-content: flex-start; }
  :root { --gut: 48px; --padt: 96px; --padb: 48px; }
  .ct-win__body { grid-template-columns: 1fr; }
  .ct-win__side { display: none; }
  .ct-win__row { grid-template-columns: minmax(0, 1fr) 56px 94px; }
  .ct-win__main { padding-inline: 16px var(--ly-cut-room); }
  .ct-win__pill { display: none; }
  .ct-pane-head, .ct-search-bar, .ct-filter-bar { padding-inline: 16px; }
  .ct-mini-btn { padding-inline: 12px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero--collage h1 { max-width: 17ch; }
  .hero__lead { max-width: 56ch; }
  .hero__art { margin-top: 32px; min-height: 240px; }
  .hero__art > .ly-piece--main { top: 32px; }
  .hero__art > .ly-piece--note { bottom: 24px; left: 24px; width: 300px; }
  #nomor, #darurat { --h: 1; }
  #nomor .app, #darurat .app { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); flex: 1; height: auto; }
  .app > .app__pane + .app__pane { border-top: 0; border-left: 1px solid var(--u-line); }
  #ancaman .group > .grid { flex: 1; }
  #ancaman .card--open { height: 100%; }
  #ancaman .group { justify-content: flex-start; }
  #kanal { --h: 1; }
  #faq { --h: 2; }
  #kanal > .wrap, #unduh > .wrap > .grid, #faq > .wrap { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); align-content: stretch; row-gap: 96px; }
  #kanal .frame--split, #unduh .ct-unduh-panel { height: 100%; min-height: 400px; }
  #kanal > .wrap { height: 100%; grid-template-rows: auto minmax(0, 1fr); row-gap: 32px; }
  #kanal .frame--split { min-height: 300px; }
  #faq > .wrap > .ct-faq-side, #faq > .wrap > .faq { grid-column: 1 / -1; height: 100%; min-height: 0; }
  #faq .faq { display: flex; flex-direction: column; justify-content: space-between; }
  .ct-faq-panel { margin-top: 32px; flex: 1; min-height: 0; }
  main > #unduh { --h: 1; height: 100svh; min-height: 0; }
  main > #unduh > .wrap { height: 100%; }
  #unduh > .wrap > .grid { grid-template-rows: auto minmax(0, 1fr); row-gap: 32px; }
  #unduh .ct-unduh-panel { min-height: 420px; }
  #unduh .ct-unduh-panel > .stage > .fit { top: 24px; }
}
@media (max-width: 639px) {
  :root { --gut: 24px; --padt: 96px; --padb: 48px; --hgap: 32px; --hpadb: 24px; --t-h2: 30px; --t-h3: 22px; }
  .nav__bar { gap: 8px; }
  .nav__logo { font-size: 20px; }
  .ct-brand-mark { width: 24px; height: 28px; font-size: 22px; }
  .nav:not(.is-open) .nav__actions .btn { height: 44px; padding-inline: 12px; font-size: 13px; }
  .hero--collage h1 { font-size: 40px; max-width: 15ch; line-height: 1.08; }
  .hero__text > * + * { margin-top: 16px; }
  .hero__text > .btn-row { margin-top: 24px; }
  .hero__lead { font-size: 16px; line-height: 1.5; }
  .hero__proof { font-size: 13px; }
  .hero__art { margin-top: 24px; min-height: 200px; }
  .hero__art > .ly-piece--main { left: 16px; top: 16px; width: calc(100% - 16px + var(--ly-cut)); }
  .ct-win__body { min-height: 0; grid-template-columns: 1fr; }
  .ct-win__side, .ct-win__score { display: none; }
  .ct-win__bar { height: 36px; font-size: 13px; padding-inline: 12px; }
  .ct-win__dots { display: none; }
  .ct-win__main { gap: 8px; padding: 12px var(--ly-cut-room) 16px 12px; }
  .ct-win__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-block: 10px; }
  .ct-win__row b { font-size: 13px; }
  .ct-win__row small { font-size: 13px; }
  .ct-win__pill { display: none; }
  .ct-win__title { font-size: 16px; }
  #nomor, #darurat { --hm: 2; }
  #nomor > .wrap, #darurat > .wrap { gap: 0; }
  #nomor .app, #darurat .app { grid-template-columns: 1fr; grid-template-rows: minmax(0, .95fr) minmax(0, 1.05fr); margin-top: 24px; min-height: 0; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  .ct-pane-head { padding: 16px; gap: 12px; }
  .ct-pane-tools { width: 100%; }
  .ct-pill-status { margin-right: auto; }
  .ct-mini-btn, .ct-cat-btn { font-size: 14px; padding-inline: 12px; }
  .ct-search-bar { grid-template-columns: 1fr; padding: 16px; }
  .ct-search-sub { font-size: 13px; }
  .ct-drawer { padding: 16px; }
  .ct-drawer-grid { grid-template-columns: 1fr; }
  .ct-sample-row { padding: 12px 16px; min-height: 72px; }
  .ct-result-host { padding: 16px; }
  .ct-caller__title { font-size: 22px; }
  .ct-metrics { padding: 12px; gap: 8px; }
  .ct-metrics dt { font-size: 13px; }
  .ct-metrics dd { font-size: 15px; }
  .ct-detail__bar { gap: 8px; }
  #ancaman .section-head { margin-bottom: 24px; }
  #ancaman .section-head--split { gap: 16px; }
  #ancaman .section-head--split > a.link { width: 100%; }
  #ancaman .group > .grid { flex: 1; row-gap: 24px; }
  #ancaman .card--open > h3 { font-size: 20px; }
  #ancaman .card--open > p { font-size: 16px; line-height: 1.5; margin-top: 8px; }
  #ancaman .card--open > .panel { --p-h: 168px; min-height: 168px; margin-top: 16px; }
  #ancaman .panel > .stage > .fit { left: 12px; right: 12px; top: 16px; }
  #ancaman .ui-check { min-height: 36px; }
  #ancaman .ct-stats-panel { padding: 12px; gap: 8px; }
  #ancaman .ct-stats-summary { gap: 8px; }
  #ancaman .ct-tax-row { min-height: 28px; font-size: 13px; }
  #darurat .app { grid-template-rows: minmax(0, .95fr) minmax(0, 1.05fr); }
  .ct-hotline-link { min-height: 64px; padding: 12px 16px; gap: 12px; grid-template-columns: 88px minmax(0, 1fr) auto; }
  .ct-filter-bar { padding: 16px; grid-template-columns: 1fr; }
  .ct-cat-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ct-cat-chips .ui-spacer { display: none; }
  .ct-cat-chips .ct-meta { grid-column: 1 / -1; }
  .ct-unit-row { flex-direction: column; padding: 16px; gap: 12px; }
  .ct-unit-actions { justify-content: flex-start; width: 100%; }
  .ct-unit-actions .ct-mini-btn { flex: 1; }
  #kanal .section-head { margin-bottom: 24px; }
  #kanal .tabs { margin-bottom: 24px; }
  #kanal .tab { padding-inline: 12px; }
  #kanal .frame--split { min-height: 0; height: 100%; }
  #kanal .frame--split > .stage > .fit { top: 24px; left: 16px; right: 16px; }
  #unduh { --hm: 2; }
  #unduh > .wrap > .grid { height: 100%; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); row-gap: calc(var(--padt) + var(--padb)); align-items: stretch; }
  #unduh .ct-unduh-panel { min-height: 0; height: 100%; }
  #unduh .ct-unduh-panel > .stage > .fit { top: 24px; left: 16px; right: 16px; }
  #unduh .ui-head { height: auto; min-height: 64px; flex-wrap: wrap; padding: 16px; }
  #unduh .ui-tg { min-height: 96px; padding: 16px; }
  .ct-spec-lines li { font-size: 16px; line-height: 1.5; }
  .ct-faq-side .section-head { margin-bottom: 24px; }
  .ct-faq-panel { --p-h: 0px; min-height: 0; flex: 1; }
  .ct-faq-panel > .stage > .fit { top: 24px; left: 16px; right: 16px; }
  .ct-perm__list > li { font-size: 14px; }
  #faq .faq { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .faq h3 { font-size: 20px; }
  .closing__cta h2 { font-size: 36px; }
  footer.closing.g2m { --hm: 1; }
  footer.closing.g2m > .wrap { grid-template-rows: auto minmax(0, 1fr); row-gap: 32px; }
  .closing__cta { justify-content: flex-start; gap: 24px; }
  .closing__cta .section-head { margin-bottom: 0; }
  .closing__links .grid { row-gap: 16px; }
  .footer__legal { margin-top: 16px; }
  .footer__legal { font-size: 13px; }
}
@media (max-width: 359px) {
  :root { --gut: 16px; }
  .nav__logo { font-size: 18px; }
  .nav:not(.is-open) .nav__actions .btn { font-size: 13px; padding-inline: 8px; }
  .hero--collage h1 { font-size: 36px; }
}

/* Smooth micro-animations for popup dialog, drawers, and target sections */
@keyframes ct-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ct-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ct-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ct-target-pulse {
  0% { box-shadow: 0 0 0 0 rgb(15 118 110 / .32); }
  60% { box-shadow: 0 0 0 10px rgb(15 118 110 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(15 118 110 / 0); }
}

html:not([data-motion="off"]) .ct-dialog[open] {
  will-change: transform, opacity;
  animation: ct-dialog-in 260ms cubic-bezier(.16, 1, .3, 1) both;
}
html:not([data-motion="off"]) .ct-dialog[open]::backdrop {
  animation: ct-backdrop-in 240ms ease-out both;
}
html:not([data-motion="off"]) .ct-dialog.is-closing {
  opacity: 0;
  transform: translateY(6px) scale(.985);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}
html:not([data-motion="off"]) .ct-dialog.is-closing::backdrop {
  opacity: 0;
  transition: opacity 200ms ease-out;
}
html:not([data-motion="off"]) .ct-drawer:not([hidden]),
html:not([data-motion="off"]) .ct-detail {
  animation: ct-panel-in 220ms cubic-bezier(.16, 1, .3, 1) both;
}
html:not([data-motion="off"]) .ct-target-flash {
  animation: ct-target-pulse 640ms cubic-bezier(.16, 1, .3, 1);
}

/* Prevent stuck focus-within underline after pointer click on navbar links */
.nav__item:focus-within:not(:hover):not(:has(:focus-visible)) > .nav__link::before {
  transform: scaleX(0);
  transform-origin: right;
}

@media (prefers-reduced-motion: reduce) {
  .ct-dialog[open], .ct-dialog[open]::backdrop, .ct-dialog.is-closing,
  .ct-drawer:not([hidden]), .ct-detail, .ct-target-flash {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
