:root {
    --primary: #123b6d;
    --primary-hover: #1a4f8f;
    --primary-soft: #e8eff8;
    --text: #0f172a;
    --muted: #64748b;
    --faint: #94a3b8;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --success: #047857;
    --success-soft: #ecfdf5;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 248px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--border); color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.brand-name { font-weight: 700; font-size: 14px; display: block; }
.brand-sub { font-size: 11px; color: var(--muted); display: block; }
.nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 10px 12px 6px; }
.nav-label:not(:first-child) { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 16px; }
.perm-box { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px 12px; margin: 0; background: var(--surface-2); }
.perm-box legend { font-weight: 600; font-size: 12px; color: #334155; padding: 0 6px; }
.perm-box [hidden] { display: none !important; }
.perm-admin { margin: 4px 0; }
.perm-group { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.perm-group > b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.perm-box .check { margin: 0; }
.perm-fixed { opacity: .7; }
.perm-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-sub { display: flex; flex-direction: column; gap: 1px; margin: 4px 0 6px 20px; padding-left: 12px; border-left: 2px solid var(--border); }
.nav .nav-sub a { padding: 6px 10px; font-size: 13px; color: var(--muted); }
.nav .nav-sub a.current { color: var(--primary); font-weight: 600; background: var(--primary-soft); }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); color: #334155; font-weight: 500; }
.nav a i { width: 16px; text-align: center; color: var(--faint); }
.nav a:hover { background: var(--surface-2); text-decoration: none; }
.nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
.nav a.active i { color: #fff; }
.nav .count { margin-left: auto; font-size: 11px; padding: 0 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.nav a.active .count { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
.user-box { padding: 14px 16px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.user-box .who { min-width: 0; flex: 1; }
.user-box .who b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-box .who span { font-size: 11px; color: var(--muted); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 60px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.topbar h1 { font-size: 16px; font-weight: 700; }
.menu-toggle { display: none; }
.content { padding: 24px 28px 48px; max-width: 1360px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.backdrop { display: none; }

/* Cards & headings */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.stat { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: #475569; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: #334155; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-danger { background: var(--danger-soft); border-color: #fecaca; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }
.btn-icon { width: 32px; height: 32px; padding: 0; }
.btn-block { width: 100%; }

/* Forms */
.input, select.input, textarea.input {
    width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: #fff; color: var(--text); font: inherit; font-size: 13px;
}
textarea.input { height: auto; padding: 9px 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18, 59, 109, .12); }
label.field { display: block; }
label.field > span, .field-label { display: block; font-weight: 600; font-size: 12px; margin-bottom: 5px; color: #334155; }
.hint { font-size: 11px; color: var(--muted); margin-top: 4px; display: block; }
.form { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }

/* Filters */
.search { display: flex; gap: 8px; }
.search .grow { position: relative; flex: 1; }
.search .grow i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 13px; }
.search .grow .input { padding-left: 34px; }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.filters .check { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 12px; height: 38px; background: #fff; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: #475569; }
.chip:hover { background: var(--surface-2); text-decoration: none; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip .n { opacity: .6; margin-left: 3px; }
.result-line { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 0 2px; }

/* Asset grid */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.asset { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.asset.picked { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.pick { position: absolute; top: 8px; right: 8px; z-index: 2; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgba(255,255,255,.92); border: 1px solid var(--border); cursor: pointer; }
.pick input { width: 16px; height: 16px; margin: 0; cursor: pointer; accent-color: var(--primary); }
.bulk-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 32px); padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 10px 30px rgba(15, 23, 42, .18); }
.bulk-count { font-size: 13px; padding: 0 6px; }
body.has-bulk .content { padding-bottom: 96px; }
.asset:hover { border-color: var(--border-strong); box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.thumb {
    position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden;
    border: 0; padding: 0; width: 100%; cursor: zoom-in; border-bottom: 1px solid var(--border);
    background: repeating-conic-gradient(#eef2f6 0 25%, #fff 0 50%) 0 0 / 18px 18px;
}
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 10px; }
.thumb .file-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--surface-2); width: 100%; height: 100%; justify-content: center; }
.thumb .file-icon i { font-size: 42px; }
.thumb .file-icon span { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.95); border: 1px solid var(--border); color: #475569; }
.thumb .badge { position: absolute; top: 8px; left: 8px; }
.asset-body { padding: 12px 14px 6px; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.asset-title { font-weight: 700; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.asset-branch { font-size: 11px; font-weight: 600; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 10px; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
a.tag:hover { color: var(--primary); text-decoration: none; border-color: var(--primary); }
.asset-meta { font-size: 11px; color: var(--faint); margin-top: auto; padding-top: 4px; }
.asset-actions { display: flex; gap: 6px; padding: 8px 14px 14px; }
.asset-actions .btn-primary { flex: 1; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.empty i { font-size: 34px; color: var(--border-strong); display: block; margin-bottom: 10px; }

.pager { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; font-size: 13px; }
.pager a { background: #fff; border: 1px solid var(--border); color: #475569; }
.pager a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager a:hover { text-decoration: none; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); padding: 11px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.table .center { text-align: center; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); }
.pill.ok { background: var(--success-soft); border-color: #a7f3d0; color: var(--success); }
.pill.blue { background: var(--primary-soft); border-color: #c7d7ec; color: var(--primary); }

/* Flash */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
.flash.success { background: var(--success-soft); color: #065f46; border: 1px solid #a7f3d0; }
.flash.error { background: var(--danger-soft); color: #991b1b; border: 1px solid #fecaca; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: #fff; border-radius: var(--radius); width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(15,23,42,.25); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 15px; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.x { border: 0; background: none; font-size: 18px; color: var(--faint); cursor: pointer; padding: 4px; }
.x:hover { color: var(--text); }

.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; text-align: center; }
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: var(--primary-soft); }
.dropzone i { font-size: 26px; color: var(--primary); }
.scope-picker { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
.scope-group { padding: 6px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }
.scope-picker label { display: flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.scope-brand { font-weight: 600; }
.scope-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 3px 12px; margin: 4px 0 0 22px; }
.scope-branches label { font-weight: 400; color: var(--muted); }
.scope-branches label:has(input:checked) { color: inherit; }
.scope-branches label.inactive:not(:has(input:checked)) { display: none; }
.drop-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.file-list li.bad { border-color: #fecaca; color: var(--danger); }
.file-list { max-height: 220px; overflow-y: auto; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.preview-box { max-width: 1100px; flex-direction: row; }
.preview-stage { flex: 1; min-height: 300px; background: #0f172a; display: flex; align-items: center; justify-content: center; overflow: auto; }
.preview-stage.checker { background: repeating-conic-gradient(#e2e8f0 0 25%, #fff 0 50%) 0 0 / 20px 20px; }
.preview-stage img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.preview-stage iframe { width: 100%; height: 78vh; border: 0; background: #fff; }
.preview-stage video { max-width: 100%; max-height: 80vh; }
.preview-stage { position: relative; flex-direction: column; }
.preview-stage.docmode { background: #e2e8f0; align-items: stretch; justify-content: flex-start; }
.doc-stage { width: 100%; max-height: 82vh; overflow: auto; color: #0f172a; }
.doc-stage iframe { display: block; }
.doc-text { margin: 0; padding: 18px; background: #fff; min-height: 100%; font: 12px/1.55 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.preview-empty { text-align: center; color: #cbd5e1; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.docmode .preview-empty { color: var(--muted); }
.preview-empty i { font-size: 48px; }
.preview-empty p { font-size: 13px; margin: 0; max-width: 360px; }
.preview-caption { margin: 8px 0 0; font-size: 11px; color: #475569; background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 6px; }
.preview-side { width: 330px; flex-shrink: 0; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.meta { display: grid; grid-template-columns: 86px 1fr; gap: 6px 10px; font-size: 12px; margin: 0; }
.meta dt { color: var(--faint); font-weight: 600; }
.meta dd { margin: 0; word-break: break-word; }

/* Auth pages */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, #0f2a4a, #123b6d 55%, #1a4f8f); }
.auth .card { width: 100%; max-width: 400px; padding: 28px; }
.auth .brand { padding: 0 0 18px; border: 0; }

@media (max-width: 1100px) {
    .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; transform: translateX(-100%); transition: transform .25s ease; }
    .sidebar.open { transform: none; }
    .backdrop.open { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 55; }
    .menu-toggle { display: inline-flex; }
    .topbar { padding: 0 16px; }
    .content { padding: 16px 16px 40px; }
    .preview-box { flex-direction: column; }
    .preview-side { width: 100%; }
}
@media (max-width: 640px) {
    .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .row { grid-template-columns: 1fr; }
    .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .asset-actions .btn-primary span { display: none; }
    .search { flex-wrap: wrap; }
    .search .grow { flex-basis: 100%; }
    .search .btn { flex: 1; }
}

/* Penyimpanan */
.storage-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 16px; align-items: start; }
.section-title { font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.steps { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }
.steps code, .storage-grid code { font-size: 11px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; word-break: break-all; }
.quota { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.quota-bar { height: 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.quota-bar span { display: block; height: 100%; background: var(--primary); }
@media (max-width: 900px) { .storage-grid { grid-template-columns: 1fr; } }

/* Link berbagi */
.copy-row { display: flex; gap: 6px; }
.copy-row .input { height: 32px; font-size: 12px; min-width: 0; }
.row-new td { background: var(--primary-soft); }
.share-page { max-width: 1100px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.share-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.share-msg { max-width: 420px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.share-msg .form { width: 100%; }
.share-foot { text-align: center; }
a.thumb { text-decoration: none; cursor: zoom-in; }

/* PWA */
.install-app { display: flex; align-items: center; gap: 10px; margin: 0 12px 10px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); background: var(--primary-soft); color: var(--primary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.install-app:hover { border-style: solid; }

/* Penilaian frontliner */
.rating-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rating-filters .input { flex: 1; min-width: 180px; }
.rating-filters input[type=search] { flex: 2; }
.rating-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.rating-cards .card { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 28px; font-weight: 800; line-height: 1.15; }
.dealer-group { margin-bottom: 14px; overflow: hidden; }
.dealer-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 18px; cursor: pointer; background: var(--surface-2); }
.dealer-group > summary::-webkit-details-marker { display: none; }
.dealer-group[open] > summary { border-bottom: 1px solid var(--border); }
.dealer-title, .dealer-stats { display: flex; align-items: center; gap: 10px; }
.dealer-group .chev { font-size: 11px; color: var(--muted); transition: transform .15s; }
.dealer-group:not([open]) .chev { transform: rotate(-90deg); }
.rating-row { cursor: pointer; }
.rating-row:hover td { background: var(--surface-2); }
.score { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.score.excellent { background: #dcfce7; color: #15803d; }
.score.good { background: #dbeafe; color: #1d4ed8; }
.score.average { background: #fef3c7; color: #b45309; }
.score.poor { background: #fee2e2; color: #b91c1c; }
.score.none { background: var(--surface-2); color: var(--muted); }

/* Foto staff penilaian */
.staff-avatar { flex: none; display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.staff-cell { display: inline-flex; align-items: center; gap: 10px; }
.photo-pick { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.photo-crop { position: relative; flex: none; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--primary-soft); touch-action: none; }
.photo-crop canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.photo-crop .photo-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: var(--primary); opacity: .45; pointer-events: none; }
.photo-crop.has-photo .photo-empty { display: none; }
.photo-tools { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.photo-tools [hidden] { display: none !important; }
.photo-tools input[type=range] { width: 100%; max-width: 220px; }
.slug-row { display: flex; align-items: stretch; }
.slug-row .slug-prefix { display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--border); border-right: 0; border-radius: 10px 0 0 10px; background: var(--surface-2); color: var(--muted); font-size: 13px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.slug-row .input { border-radius: 0 10px 10px 0; min-width: 0; }

/* The Best Performers */
.bp-layout { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 18px; align-items: start; }
.bp-form .form { gap: 12px; }
.bp-pick { width: 100%; justify-content: center; }
.bp-text { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); }
.bp-text summary { cursor: pointer; font-weight: 600; font-size: 13px; }
.bp-grid { display: grid; grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 6px 8px; align-items: center; margin-top: 10px; font-size: 12px; }
.bp-grid label { display: flex; flex-direction: column; gap: 2px; color: var(--muted); }
.bp-grid .input { height: 32px; padding: 0 8px; }
.bp-grid input[type=color] { width: 56px; height: 30px; border: 1px solid var(--border); border-radius: 6px; padding: 2px; background: #fff; }
.bp-go { width: 100%; justify-content: center; height: 44px; font-size: 15px; }
.bp-controls { display: flex; flex-direction: column; gap: 8px; max-width: 540px; margin: 12px auto 0; }
.bp-zoom { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.bp-zoom input { flex: 1; }
.bp-status { text-align: center; }
.bp-status { min-height: 18px; font-size: 13px; color: var(--muted); }
.bp-status.ok { color: var(--success); } .bp-status.warn { color: #b45309; } .bp-status.error { color: var(--danger); }
.bp-stage-card { padding: 14px; position: sticky; top: 14px; }
.bp-stage { position: relative; max-width: min(540px, calc((100vh - 300px) * 0.8)); min-width: 280px; margin: 0 auto; }
.bp-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 10px; background: #e5e7eb; touch-action: none; box-shadow: 0 4px 18px rgba(15,23,42,.12); }
.bp-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 20px; pointer-events: none; }
.bp-empty[hidden] { display: none; }
.bp-form [hidden], #progressDone[hidden] { display: none !important; }
.bp-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: -4px; }
.bp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: inherit; font-size: 12px; cursor: pointer; max-width: 100%; }
.bp-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.bp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-chip:hover { border-color: var(--primary); }
.bp-chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.photo-card { display: flex; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.photo-card[hidden] { display: none; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--surface-2); margin-bottom: 4px; }
.photo-card b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-card-actions { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.photo-card-actions .fa-google-drive, .photo-card-actions .fa-server { margin-right: auto; }
.upload-log { list-style: none; margin: 10px 0 0; padding: 0; max-height: 260px; overflow: auto; font-size: 12px; display: flex; flex-direction: column; gap: 3px; }
.upload-log .ok { color: var(--success); } .upload-log .err { color: var(--danger); }
.bp-empty i { font-size: 40px; opacity: .5; }
.bp-history { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.bp-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.bp-item img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; background: var(--surface-2); }
.bp-meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; min-width: 0; }
.bp-meta b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-actions { display: flex; flex-direction: column; gap: 6px; }
.frame-cell { display: flex; align-items: center; gap: 10px; }
.frame-cell img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 0 0 / 12px 12px; display: block; }
.frame-none { display: grid; place-items: center; width: 56px; aspect-ratio: 4 / 5; border: 1px dashed var(--border); border-radius: 6px; font-size: 10px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .bp-layout { grid-template-columns: 1fr; } .bp-stage-card { position: static; } .bp-stage { max-width: 100%; min-width: 0; } }

/* Akun Sosmed */
.social-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.social-group[hidden], .social-table tr[hidden] { display: none !important; }
.social-icons { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.social-table td { vertical-align: top; }
.social-table tr.is-off td { opacity: .6; }
.social-pf { width: 16px; text-align: center; }
.social-pf-instagram { color: #d62976; }
.social-pf-tiktok { color: #111827; }
.social-pf-facebook { color: #1877f2; }
.social-pf-youtube { color: #ff0000; }
.social-pf-google { color: #4285f4; }
.social-note { max-width: 260px; margin-top: 2px; }
.copyable { cursor: copy; border-bottom: 1px dashed var(--border-strong); }
.copyable.copied { color: var(--success); border-color: var(--success); }
.pw-wrap { display: inline-flex; align-items: center; gap: 4px; }
.pw-mask { font-family: ui-monospace, Consolas, monospace; font-size: 13px; letter-spacing: .04em; min-width: 76px; }
.pw-mask.shown { background: #fef9c3; padding: 2px 6px; border-radius: 6px; letter-spacing: 0; user-select: all; }
.pw-input { display: flex; gap: 6px; }
.pw-input .input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .social-filters { grid-template-columns: 1fr 1fr; } .social-filters .search { grid-column: 1 / -1; } }

/* Rating Google Maps */
.gm-row { cursor: pointer; }
.gm-row:hover td, .gm-row:focus td { background: var(--surface-2); }
.gm-place { max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-rating { font-size: 16px; }
.gm-star { color: #f59e0b; font-size: 12px; }
.gm-spark { display: block; }
.gm-spark polyline { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.delta { font-weight: 700; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--success); }
.delta.down { color: var(--danger); }
.gm-table td { vertical-align: middle; }
.gm-key .pw-input { flex-wrap: wrap; }
.gm-results { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.gm-result { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; }
.gm-result:hover { border-color: var(--primary); background: var(--primary-soft); }
.gm-chart { position: relative; margin-bottom: 14px; }
.gm-chart svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.gm-chart-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.gm-grid { stroke: var(--border); stroke-width: 1; }
.gm-axis { fill: var(--muted); font-size: 11px; }
.gm-line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gm-dot, .gm-hover { fill: var(--primary); stroke: #fff; stroke-width: 2; }
.gm-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.gm-hit { fill: transparent; cursor: crosshair; }
.gm-tip { position: absolute; top: 18px; display: flex; flex-direction: column; gap: 1px; padding: 6px 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 14px rgba(15, 23, 42, .12); font-size: 12px; pointer-events: none; white-space: nowrap; }

.gm-input td { vertical-align: middle; padding-top: 8px; padding-bottom: 8px; }
.gm-input .input { width: 96px; height: 34px; }
.gm-input td:first-child a { color: inherit; font-weight: 600; }

/* Content Planner */
label.field[hidden] { display: none; }
.cp-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-tabs { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.cp-tabs a { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.cp-tabs a.on { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.cp-month { display: flex; align-items: center; gap: 8px; }
.cp-month b { min-width: 130px; text-align: center; }
.cp-toolbar .cp-dealer { width: 260px; flex: 0 0 auto; margin-left: auto; }
.cp-link { cursor: pointer; }
.cp-link:hover td { background: var(--surface-2); }
.cp-overview th, .cp-overview td { padding-left: 10px; padding-right: 10px; }
.cp-h { margin: 20px 2px 10px; font-size: 15px; }
.cp-pf { display: inline-flex; gap: 6px; }
.cp-late { color: var(--danger); font-weight: 600; }
.cp-note { color: #b45309; margin-top: 2px; }
/* Status: warna + ikon + label (tidak bergantung warna saja). */
.cp-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.st-idea { --st: #64748b; --st-bg: #f1f5f9; }
.st-draft { --st: #7c3aed; --st-bg: #f3e8ff; }
.st-review { --st: #b45309; --st-bg: #fef3c7; }
.st-revise { --st: #b91c1c; --st-bg: #fee2e2; }
.st-approved { --st: #1d4ed8; --st-bg: #dbeafe; }
.st-posted { --st: #15803d; --st-bg: #dcfce7; }
.cp-status { color: var(--st); background: var(--st-bg); }
.cp-legend { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 2px 0; }
.cp-calendar { overflow: hidden; }
.cp-weekdays, .cp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cp-weekdays span { padding: 8px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.cp-day { min-height: 118px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cp-day:nth-child(7n) { border-right: 0; }
.cp-day.out { background: var(--surface-2); }
.cp-day.out .cp-day-head span { color: var(--faint); }
.cp-wd { display: none; }
.cp-day-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #334155; }
.cp-day.today .cp-day-head span { background: var(--primary); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.cp-add { border: 0; background: none; color: var(--faint); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; opacity: 0; }
.cp-day:hover .cp-add, .cp-add:focus { opacity: 1; }
.cp-add:hover { background: var(--primary-soft); color: var(--primary); }
.cp-chip { display: flex; flex-direction: column; gap: 1px; width: 100%; text-align: left; border: 1px solid var(--border); border-left: 3px solid var(--st); background: var(--st-bg); border-radius: 6px; padding: 4px 6px; font: inherit; font-size: 11px; cursor: pointer; min-width: 0; }
.cp-chip:hover { filter: brightness(.97); }
.cp-chip.is-late { box-shadow: inset 0 0 0 1px var(--danger); }
.cp-chip-top { display: flex; align-items: center; gap: 5px; color: #475569; }
.cp-chip-st { margin-left: auto; color: var(--st); }
.cp-chip-title { font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-chip-dealer { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-pf-pick { display: flex; gap: 14px; flex-wrap: wrap; min-height: 38px; align-items: center; }
.cp-copies { border: 1px dashed var(--border-strong); border-radius: 10px; padding: 8px 12px; }
.cp-copies summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.cp-copy-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; margin-top: 8px; }
.cp-preview { display: flex; gap: 12px; align-items: center; }
.cp-preview-img { width: 84px; height: 84px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; color: var(--faint); font-size: 24px; overflow: hidden; flex: none; }
.cp-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-note-box { background: #fef3c7; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #92400e; }
.cp-note-box[hidden] { display: none; }
.cp-note-box p { margin: 4px 0 0; white-space: pre-line; }
.cp-del { margin-right: auto; }
@media (max-width: 760px) {
    .cp-toolbar .cp-dealer { margin-left: 0; width: 100%; flex: 1 1 100%; }
    .cp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cp-cards .stat-value { font-size: 22px; }
    .cp-weekdays { display: none; }
    .cp-grid { grid-template-columns: 1fr; }
    .cp-day { min-height: 0; border-right: 0; }
    .cp-day.out:not(:has(.cp-chip)) { display: none; }
    .cp-day:not(:has(.cp-chip)) .cp-day-head { opacity: .6; }
    .cp-add { opacity: 1; }
    .cp-wd { display: inline; margin-right: auto; margin-left: 8px; font-weight: 600; color: var(--muted); }
}

/* Content Planner: posting Instagram */
.cp-ig { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; background: #fcfcfd; }
.cp-ig[hidden], .cp-ig [hidden] { display: none !important; }
.cp-ig legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.cp-ig legend i { color: #d62976; }
.cp-auto { align-self: end; margin-bottom: 8px; }
.cp-media { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.cp-media:empty { display: none; }
.cp-media-item { position: relative; width: 104px; height: 130px; border-radius: 10px; overflow: hidden; background: #0f172a; border: 1px solid var(--border); }
.cp-media-item img, .cp-media-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-media-n { position: absolute; top: 4px; left: 4px; background: rgba(15, 23, 42, .75); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; }
.cp-media-kind { position: absolute; top: 6px; right: 6px; color: #fff; font-size: 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.cp-media-meta { position: absolute; left: 0; right: 0; bottom: 24px; color: #fff; font-size: 10px; padding: 2px 5px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.cp-media-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 2px; padding: 2px; background: rgba(15, 23, 42, .75); }
.cp-media-tools button { border: 0; background: none; color: #fff; width: 22px; height: 20px; cursor: pointer; border-radius: 4px; font-size: 11px; }
.cp-media-tools button:hover { background: rgba(255, 255, 255, .2); }
.cp-media-up { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: 12px; }
.cp-cover { display: flex; gap: 10px; align-items: center; }
.cp-cover .cp-preview-img { width: 64px; height: 80px; font-size: 18px; }
.cp-offset { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); }
.cp-offset .input { width: 72px; height: 30px; }
.cp-ig-status { font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.cp-ig-status ul { margin: 4px 0 0; padding-left: 18px; }
.cp-ig-status.is-error { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.cp-ig-status.is-ok { background: var(--success-soft); border-color: #a7f3d0; color: var(--success); }
.ig-acc-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ig-acc-form .input { width: auto; min-width: 150px; height: 34px; flex: 1; }
.ig-steps { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; max-width: 760px; }

/* Content Planner: hari besar & pengingat H-2 */
.nav .count.alert { background: var(--danger); color: #fff; border-color: var(--danger); }
.cp-remind { margin: 14px 0 0; overflow: hidden; }
.cp-remind-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.cp-remind-head i { color: var(--primary); }
.cp-remind-row { display: grid; grid-template-columns: minmax(220px, 1.3fr) auto minmax(120px, .6fr) minmax(0, 2fr); gap: 10px 16px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); border-left: 4px solid transparent; }
.cp-remind-row:last-child { border-bottom: 0; }
.cp-remind-row.u-late { border-left-color: var(--danger); background: #fff7f7; }
.cp-remind-row.u-soon { border-left-color: #f59e0b; background: #fffbeb; }
.cp-remind-row.u-done { border-left-color: var(--success); }
.cp-remind-badge { font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--muted); }
.u-late .cp-remind-badge { color: var(--danger); }
.u-soon .cp-remind-badge { color: #b45309; }
.u-done .cp-remind-badge { color: var(--success); }
.cp-remind-progress { position: relative; height: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.cp-remind-progress span { position: absolute; inset: 0 auto 0 0; background: #bbf7d0; }
.cp-remind-progress em { position: relative; display: block; text-align: center; font-style: normal; font-size: 11px; font-weight: 700; line-height: 18px; color: #166534; }
.cp-remind-dealers { display: flex; flex-wrap: wrap; gap: 4px; }
.cp-dl { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: #334155; cursor: pointer; text-decoration: none; }
.cp-dl.missing { border-style: dashed; border-color: #fca5a5; color: #b91c1c; }
.cp-dl.missing:hover { background: #fee2e2; }
.cp-dl.pending { border-color: #fcd34d; background: #fef3c7; color: #92400e; }
.cp-dl.ready { border-color: #a7f3d0; background: var(--success-soft); color: var(--success); }
.cp-hday { display: block; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: #fee2e2; color: #991b1b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-hday.k-peringatan { background: #e0e7ff; color: #3730a3; }
.cp-hday.k-momen { background: #fce7f3; color: #9d174d; }
.cp-hdeadline { display: block; font-size: 10.5px; font-weight: 600; color: #b45309; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-day-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.cp-day-form .input { width: auto; flex: 1 1 160px; height: 38px; }
.cp-day-form input[type=date] { flex: 0 0 160px; }
.cp-day-form .check { margin: 0; }
tr.cp-past td { opacity: .55; }
@media (max-width: 900px) { .cp-remind-row { grid-template-columns: 1fr auto; } .cp-remind-progress, .cp-remind-dealers { grid-column: 1 / -1; } }

.cp-remind-more { grid-column: 4; display: flex; flex-direction: column; gap: 6px; }
.cp-remind-more summary { cursor: pointer; color: #475569; }
.cp-remind-more[open] summary { margin-bottom: 6px; }
.cp-remind-more .cp-dl-all { align-self: flex-start; margin-bottom: 6px; }
.cp-remind-row { grid-template-columns: minmax(220px, 1.3fr) auto minmax(120px, .6fr) minmax(0, 2fr); }
.cp-remind-dealers[hidden] { display: none; }
@media (max-width: 900px) { .cp-remind-more { grid-column: 1 / -1; } }

.cp-sync { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.cp-sync form { flex: none; }
@media (max-width: 640px) { .cp-sync { flex-direction: column; } }
