/* reviews.restaurant panels (admin + restaurant panel). Dark sidebar, calm grey canvas, white cards. */
:root {
  --side: #0a1626; --side-2: #0f2036; --side-ink: rgba(255,255,255,.74); --side-dim: rgba(255,255,255,.4);
  --canvas: #f4f6fa; --card: #fff; --edge: #e5eaf0; --ink: #15283a; --muted: #5d6c79;
  --navy: #082f4f; --orange: #ed7923; --orange-btn: #b8520e; --orange-btn-hover: #9a440a; --orange-tint: #fff1e8;
  --green: #1f9d55; --green-tint: #e6f6ed; --red: #d92d20; --red-tint: #fdecea; --blue: #2f6fde; --blue-tint: #eaf1fd; --violet: #7a5af8; --violet-tint: #f1edff;
  --amber: #c27803; --amber-tint: #fff6e0;
}
.pn-body { background: var(--canvas); font-family: "Manrope", "Segoe UI", Arial, sans-serif; color: var(--ink); font-size: .93rem; }
.pn-wrap { display: flex; min-height: 100vh; }
.pn-side { width: 268px; flex: none; background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.pn-side-scroll { overflow-y: auto; padding: 6px 12px 18px; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.pn-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.pn-brand:hover { color: #fff; }
.pn-brand .rr-mark { width: 34px; height: 34px; font-size: 20px; border-radius: 10px; }
.pn-brand small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--side-dim); text-transform: uppercase; }
.pn-sec { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--side-dim); padding: 16px 10px 6px; }
.pn-link { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; color: var(--side-ink); font-weight: 600; font-size: .88rem; text-decoration: none; width: 100%; background: none; border: 0; text-align: left; }
.pn-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.pn-link.active { background: rgba(255,255,255,.1); color: #fff; }
.pn-link .bi { font-size: 1.02rem; opacity: .9; }
.pn-link .pn-caret { margin-left: auto; font-size: .7rem; transition: transform .2s ease; opacity: .6; }
.pn-link[aria-expanded="true"] .pn-caret { transform: rotate(180deg); }
.pn-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--orange-btn); color: #fff; font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.pn-link .pn-badge + .pn-caret { margin-left: 8px; }
.pn-sub { padding: 2px 0 4px 30px; }
.pn-sub .pn-link { font-size: .84rem; padding: 6px 10px; color: rgba(255,255,255,.62); }
.pn-sub .pn-link.active, .pn-sub .pn-link:hover { color: #fff; }
.pn-side-foot { border-top: 1px solid rgba(255,255,255,.08); padding: 12px; }
.pn-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pn-top { height: 66px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge); display: flex; align-items: center; gap: 12px; padding: 0 24px; position: sticky; top: 0; z-index: 30; }
.pn-burger { display: none; border: 1px solid var(--edge); background: #fff; border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--navy); }
.pn-search { flex: 1; max-width: 460px; position: relative; }
.pn-search input { width: 100%; height: 42px; border: 1px solid var(--edge); border-radius: 11px; background: var(--canvas); padding: 0 14px 0 38px; font-size: .9rem; }
.pn-search input:focus { outline: 0; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(237,121,35,.14); }
.pn-search .bi { position: absolute; left: 13px; top: 13px; color: var(--muted); }
.pn-top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pn-icon-btn { position: relative; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--edge); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; text-decoration: none; }
.pn-icon-btn:hover { border-color: #f3ba92; color: var(--orange-btn); }
.pn-dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; border-radius: 99px; background: var(--red); color: #fff; font-size: .62rem; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.pn-pending { background: var(--red-tint); color: var(--red); font-weight: 800; font-size: .78rem; border-radius: 99px; padding: 6px 12px; text-decoration: none; white-space: nowrap; }
.pn-user { display: flex; align-items: center; gap: 8px; border: 1px solid var(--edge); background: #fff; border-radius: 12px; padding: 4px 10px 4px 4px; font-weight: 700; color: var(--navy); }
.pn-user .rr-avatar { width: 32px; height: 32px; font-size: .78rem; border-radius: 9px; background: var(--navy); color: #fff; }
.pn-content { padding: 26px 28px 60px; }
.pn-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.pn-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); margin: 0; }
.pn-crumbs { font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.pn-crumbs a { color: var(--muted); }
.pn-sub-title { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }
@media (max-width: 991.98px) {
  .pn-side { position: fixed; z-index: 1050; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 0 60px rgba(0,0,0,.3); }
  .pn-side.open { transform: none; }
  .pn-burger { display: inline-flex; }
  .pn-content { padding: 20px 16px 50px; }
  .pn-top { padding: 0 14px; }
  .pn-hide-sm { display: none !important; }
}
.pn-scrim { display: none; }
.pn-side.open + .pn-scrim { display: block; position: fixed; inset: 0; background: rgba(4,15,28,.45); z-index: 1040; }

/* cards & stats */
.adm-card, .pn-card { background: var(--card); border: 1px solid var(--edge); border-radius: 16px; padding: 22px; margin-bottom: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.pn-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.pn-card-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin: 0; }
.pn-card-sub { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.pn-stat { background: var(--card); border: 1px solid var(--edge); border-radius: 16px; padding: 20px; height: 100%; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.pn-stat-num { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.05; }
.pn-stat-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.pn-stat-icon { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.pn-stat-hero { background: linear-gradient(135deg, #0b3a61, #082f4f 60%); color: #fff; border: 0; }
.pn-stat-hero .pn-stat-num, .pn-stat-hero .pn-stat-label { color: #fff; }
.pn-stat-hero .pn-stat-label { opacity: .78; }
.pn-stat-hero .pn-stat-icon { background: rgba(255,255,255,.14); color: #fff; }
.pn-progress { height: 7px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; margin-top: auto; }
.pn-progress span { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.pn-delta { font-size: .76rem; font-weight: 800; }
.pn-delta.up { color: var(--green); } .pn-delta.down { color: var(--red); }
.tint-orange { background: var(--orange-tint); color: var(--orange-btn); } .tint-green { background: var(--green-tint); color: var(--green); }
.tint-blue { background: var(--blue-tint); color: var(--blue); } .tint-violet { background: var(--violet-tint); color: var(--violet); }
.tint-red { background: var(--red-tint); color: var(--red); } .tint-amber { background: var(--amber-tint); color: var(--amber); } .tint-navy { background: #edf4f8; color: var(--navy); }
.rr-chart { width: 100%; height: auto; display: block; color: var(--ink); }
.rr-spark { width: 100%; height: 34px; display: block; }
.rr-donut { display: block; color: var(--ink); }
.pn-legend { list-style: none; padding: 0; margin: 0; font-size: .84rem; }
.pn-legend li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--edge); }
.pn-legend li:last-child { border-bottom: 0; }
.pn-legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pn-legend b { margin-left: auto; color: var(--navy); }
.pn-hbar { display: grid; grid-template-columns: minmax(80px, 34%) 1fr; gap: 8px 12px; align-items: center; font-size: .82rem; font-weight: 700; }
.pn-hbar > span:nth-child(odd) { text-align: right; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-hbar-bar { height: 26px; border-radius: 6px; color: #fff; font-size: .74rem; font-weight: 800; display: flex; align-items: center; padding-left: 9px; min-width: 30px; }
.pn-highlight { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--edge); text-decoration: none; color: var(--ink); }
.pn-highlight:last-child { border-bottom: 0; }
.pn-highlight .pn-hi-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.pn-highlight b { margin-left: auto; color: var(--navy); font-size: 1rem; }
.pn-avatars { display: flex; }
.pn-avatars .rr-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; font-size: .72rem; color: #fff; }
.pn-avatars .rr-avatar:first-child { margin-left: 0; }

/* tables, pills, forms */
.adm-table, .pn-table { width: 100%; font-size: .86rem; border-collapse: collapse; }
.adm-table th, .pn-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 12px 14px; border-bottom: 1px solid var(--edge); background: #fafbfd; text-align: left; white-space: nowrap; }
.adm-table td, .pn-table td { padding: 12px 14px; border-bottom: 1px solid var(--edge); vertical-align: middle; }
.adm-table tr:last-child td, .pn-table tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover, .pn-table tbody tr:hover { background: #fbfcfe; }
.pn-table-wrap { overflow-x: auto; }
.adm-card.p-0 .pn-table-wrap, .pn-card.p-0 .pn-table-wrap { border-radius: 16px; }
.adm-thumb { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; }
.adm-stat { background: #fff; border: 1px solid var(--edge); border-radius: 16px; padding: 18px; }
.adm-stat strong { display: block; font-size: 1.7rem; color: var(--navy); }
.pn-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pn-pill { border: 1px solid var(--edge); background: #fff; color: var(--ink); border-radius: 99px; padding: 6px 14px; font-weight: 700; font-size: .82rem; text-decoration: none; }
.pn-pill:hover { border-color: #f3ba92; color: var(--orange-btn); }
.pn-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pn-pill span { opacity: .7; margin-left: 3px; }
.pn-status { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 800; border-radius: 99px; padding: 3px 10px; text-transform: capitalize; }
.pn-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pn-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 18px; }
.pn-form-grid .pn-span-2 { grid-column: 1 / -1; }
.pn-switch { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; cursor: pointer; }
.pn-switch input { width: 38px; height: 22px; appearance: none; background: #cfd8e2; border-radius: 99px; position: relative; flex: none; cursor: pointer; transition: background .15s ease; margin-top: 1px; }
.pn-switch input::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .15s ease; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pn-switch input:checked { background: var(--orange-btn); }
.pn-switch input:checked::after { left: 19px; }
.pn-switch input:focus-visible { outline: 3px solid rgba(237,121,35,.45); outline-offset: 2px; }
.pn-switch strong { display: block; font-size: .88rem; color: var(--navy); }
.pn-switch small { color: var(--muted); }
.pn-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; }
.pn-copy { display: flex; gap: 6px; align-items: stretch; }
.pn-copy code { flex: 1; background: #0a1626; color: #e7edf5; border-radius: 10px; padding: 10px 12px; font-size: .8rem; overflow-x: auto; white-space: nowrap; }
.pn-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.pn-empty .bi { font-size: 2rem; color: var(--orange); display: block; margin-bottom: 8px; }
.pn-sticky-save { position: sticky; bottom: 0; background: linear-gradient(to top, var(--canvas) 70%, rgba(244,246,250,0)); padding: 14px 0 6px; margin-top: 6px; z-index: 5; }
.pn-color { display: flex; align-items: center; gap: 8px; }
.pn-color input[type=color] { width: 46px; height: 42px; border: 1px solid var(--edge); border-radius: 10px; padding: 3px; background: #fff; }
.pn-perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.pn-perm-group { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); grid-column: 1 / -1; margin-top: 10px; }
.pn-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; }
.pn-check input { width: 18px; height: 18px; accent-color: var(--orange-btn); }
.pn-kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: .88rem; }
.pn-kv dt { color: var(--muted); font-weight: 700; }
.pn-kv dd { margin: 0; }
.pn-msg { max-width: 76%; padding: 10px 14px; border-radius: 14px; margin-bottom: 10px; font-size: .9rem; }
.pn-msg-them { background: #fff; border: 1px solid var(--edge); border-bottom-left-radius: 4px; }
.pn-msg-me { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.pn-msg small { display: block; font-size: .7rem; opacity: .65; margin-top: 4px; }
.pn-plan { border: 1px solid var(--edge); border-radius: 16px; padding: 22px; background: #fff; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.pn-plan.current { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,121,35,.14); }
.pn-plan-price { font-size: 1.8rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.pn-plan ul { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.pn-plan li { padding: 4px 0; display: flex; gap: 8px; }
.pn-plan li .bi { color: var(--green); margin-top: 3px; }
.pn-checklist li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--edge); font-size: .88rem; }
.pn-checklist li:last-child { border-bottom: 0; }
.pn-checklist .done { color: var(--green); } .pn-checklist .todo { color: #b6c1cc; }
.pn-switcher select { min-width: 220px; }

/* ---------- v2.1: drag-and-drop, AI buttons, category tree, home page builder ---------- */
.pn-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 36px)); }
.pn-toast { background: var(--navy); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: .88rem; box-shadow: 0 10px 30px rgba(8,47,79,.25); transition: opacity .3s ease, transform .3s ease; }
.pn-toast.bad { background: var(--red); }
.pn-toast.out { opacity: 0; transform: translateY(6px); }
[data-drag] { cursor: grab; touch-action: none; border: 0; background: none; color: #9aa7b3; padding: 4px 6px; border-radius: 7px; line-height: 1; font-size: 1.05rem; }
[data-drag]:hover, [data-drag]:focus-visible { color: var(--navy); background: var(--canvas); }
[data-drag]:focus-visible { outline: 3px solid rgba(237,121,35,.45); }
body.pn-is-dragging, body.pn-is-dragging * { cursor: grabbing !important; user-select: none; }
.pn-dragging { box-shadow: 0 18px 40px rgba(8,47,79,.22) !important; transform: rotate(.4deg); opacity: .96; }
.pn-sort-ph { list-style: none; border: 2px dashed #f3ba92; border-radius: 14px; background: var(--orange-tint); margin-bottom: 12px; }
.pn-moved { animation: pnMoved .7s ease; }
@keyframes pnMoved { from { box-shadow: 0 0 0 3px rgba(237,121,35,.55); } to { box-shadow: 0 0 0 0 rgba(237,121,35,0); } }
@media (prefers-reduced-motion: reduce) { .pn-moved { animation: none; } .pn-dragging { transform: none; } }
.pn-ai-wrap { position: relative; }
.pn-ai-wrap > .form-control { padding-right: 62px; }
.pn-ai { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 8px; border-radius: 99px; border: 1px solid #f3d3b9; background: #fff; color: var(--orange-btn); font-size: .7rem; font-weight: 800; }
.pn-ai:hover { background: var(--orange-tint); }
.pn-ai.busy { opacity: .6; pointer-events: none; }
.pn-ai.busy .bi { animation: pnSpin 1s linear infinite; display: inline-block; }
@keyframes pnSpin { to { transform: rotate(360deg); } }
.pn-count { font-size: .74rem; color: var(--muted); float: right; font-weight: 600; }

/* category tree */
.pn-tree, .pn-tree ul { list-style: none; margin: 0; padding: 0; }
.pn-tree { border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.pn-tree-row { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--edge); background: #fff; min-height: 50px; }
.pn-tree li:last-child > .pn-tree-row { border-bottom: 0; }
.pn-tree ul .pn-tree-row { border-bottom: 1px solid var(--edge); }
.pn-tree-row.sel { background: var(--orange-tint); box-shadow: inset 3px 0 0 var(--orange-btn); }
.pn-tree-row:hover { background: #fafbfd; } .pn-tree-row.sel:hover { background: var(--orange-tint); }
.pn-tree-name { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; min-width: 0; flex: 1; }
.pn-tree-name:hover { color: var(--orange-btn); }
.pn-tree-name .bi { color: var(--muted); }
.pn-tree .lvl0 > .pn-tree-row .pn-tree-name { font-weight: 800; color: var(--navy); }
.pn-tree-n { font-size: .7rem; font-weight: 800; background: #f2e9df; color: #7a4a1d; border-radius: 99px; padding: 1px 8px; }
.pn-tree-flag { font-size: .8rem; color: var(--muted); }
.pn-tree-tog { width: 24px; height: 24px; border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; flex: none; transition: transform .15s ease; }
.pn-tree-tog:hover { background: var(--canvas); color: var(--navy); }
.pn-tree li.pn-closed > .pn-tree-row .pn-tree-tog { transform: rotate(-90deg); }
.pn-tree li.pn-closed > ul { display: none; }
.pn-tree-spacer { width: 24px; flex: none; }
.pn-tree-act { color: #a2adb8; padding: 4px 6px; border-radius: 7px; }
.pn-tree-act:hover { color: var(--red); background: var(--red-tint); }
.pn-tree .pn-sort-ph { margin: 0; border-radius: 0; height: 50px; }
.pn-pillset { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-pillset input { position: absolute; opacity: 0; pointer-events: none; }
.pn-pillset label { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--edge); background: #fff; font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--muted); user-select: none; }
.pn-pillset input:checked + label { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
.pn-pillset input:focus-visible + label { outline: 3px solid rgba(237,121,35,.45); outline-offset: 2px; }
.pn-filter-row { padding: 10px 0; border-bottom: 1px dashed var(--edge); }
.pn-filter-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 68px auto; gap: 8px; align-items: center; }
.pn-filter-opts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.pn-inherit { padding: 6px 0; font-size: .88rem; }
.pn-danger-zone { border-top: 1px solid var(--edge); margin-top: 18px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.pn-thumb-sm { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--edge); }

/* home page builder */
.pn-sections { list-style: none; margin: 0; padding: 0; }
.pn-sec-card { background: #fff; border: 1px solid var(--edge); border-radius: 16px; padding: 14px 16px 14px 10px; margin-bottom: 12px; transition: box-shadow .15s ease; }
.pn-sec-card.off { background: #fafbfc; }
.pn-sec-card.off .pn-sec-title { color: var(--muted); }
.pn-sec-head { display: flex; align-items: flex-start; gap: 8px; }
.pn-sec-title { font-weight: 800; color: var(--navy); font-size: .98rem; margin: 0; }
.pn-sec-desc { color: var(--muted); font-size: .82rem; margin: 1px 0 0; }
.pn-sec-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.pn-round { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #f3d3b9; background: #fff; color: var(--orange-btn); display: inline-flex; align-items: center; justify-content: center; }
.pn-round:hover { background: var(--orange-tint); }
.pn-round:disabled { opacity: .35; }
.pn-sec-body { padding-left: 38px; margin-top: 8px; }
.pn-sec-body details > summary { cursor: pointer; font-weight: 700; font-size: .84rem; color: var(--orange-btn); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; }
.pn-sec-body details > summary::-webkit-details-marker { display: none; }
.pn-sec-body details > summary::before { content: "▸"; font-size: .7rem; transition: transform .15s ease; }
.pn-sec-body details[open] > summary::before { transform: rotate(90deg); }
.pn-sec-body .pn-auto { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.pn-slot-head { font-size: .8rem; font-weight: 800; color: var(--navy); margin: 10px 0 6px; }
.pn-slot-head span { font-weight: 600; color: var(--muted); }
.pn-items { list-style: none; margin: 0; padding: 0; }
.pn-item { border: 1px solid var(--edge); border-radius: 12px; padding: 8px 10px 8px 6px; margin-bottom: 8px; background: #fff; }
.pn-item.off { opacity: .6; }
.pn-item-row { display: flex; align-items: center; gap: 10px; }
.pn-item-thumb { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: linear-gradient(135deg, var(--navy), #1c5a8a); flex: none; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.pn-item-text { min-width: 0; flex: 1; }
.pn-item-text strong { display: block; color: var(--navy); font-size: .88rem; }
.pn-item-text small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-item details { flex: none; }
.pn-item-form { border-top: 1px dashed var(--edge); margin-top: 10px; padding-top: 12px; }
.pn-hide-btn { border: 1px solid #f3d3b9; background: #fff; color: var(--orange-btn); border-radius: 99px; padding: 5px 12px; font-weight: 800; font-size: .78rem; display: inline-flex; align-items: center; gap: 5px; }
.pn-hide-btn:hover { background: var(--orange-tint); }
.pn-hide-btn.is-off { background: var(--orange-btn); color: #fff; border-color: var(--orange-btn); }
@media (max-width: 767.98px) {
  .pn-sec-head { flex-wrap: wrap; }
  .pn-sec-tools { width: 100%; justify-content: flex-end; }
  .pn-sec-body { padding-left: 6px; }
  .pn-filter-main { grid-template-columns: minmax(0, 1fr) 68px; }
}
.min-w-0 { min-width: 0; }
