/* Arrow Dental admin, styled after the WordPress dashboard (default colour scheme) so it feels familiar.
   The class names are the admin's own; this file maps them onto WordPress's look. */
:root {
  --wp-bar: #1d2327; --wp-menu: #1d2327; --wp-menu-sub: #2c3338; --wp-menu-text: #f0f0f1; --wp-menu-icon: #a7aaad; --wp-menu-hover: #72aee6;
  --blue: #2271b1; --blue-dark: #135e96; --blue-light: #72aee6; --bg: #f0f0f1; --box: #fff; --line: #c3c4c7; --line-2: #dcdcde; --input: #8c8f94;
  --text: #3c434a; --head: #1d2327; --muted: #646970; --stripe: #f6f7f7;
  --good: #00a32a; --good-bg: #edfaef; --bad: #d63638; --bad-bg: #fcf0f1; --warn: #996800; --warn-line: #dba617; --warn-bg: #fcf9e8; --info: #72aee6;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.4em var(--font); }
a { color: var(--blue); transition: color .05s; } a:hover, a:active { color: var(--blue-dark); }
h1, h2, h3 { color: var(--head); font-weight: 600; line-height: 1.3; margin: 0; }
h1 { font-size: 23px; font-weight: 400; } h2 { font-size: 1.3em; margin-bottom: 10px; } h3 { font-size: 1.1em; margin-bottom: 8px; }
p { margin: 0 0 10px; } ul, ol { margin: 0 0 10px; }
code { background: rgba(0, 0, 0, .07); padding: 2px 4px; font-size: 13px; font-family: Consolas, Monaco, monospace; }
.ic { flex: none; }

/* ---- Toolbar along the top ---- */
.adminbar { position: fixed; inset: 0 0 auto 0; z-index: 99; display: flex; align-items: stretch; height: 32px; background: var(--wp-bar); color: var(--wp-menu-text); font-size: 13px; }
.adminbar form { display: flex; margin: 0; }
.ab-item { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: none; border: 0; color: var(--wp-menu-text); font: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; }
.ab-item:hover, .ab-item:focus-visible { background: var(--wp-menu-sub); color: var(--blue-light); }
.ab-item .ic { color: var(--wp-menu-icon); } .ab-item:hover .ic { color: var(--blue-light); }
.ab-site { font-weight: 600; } .ab-site img { border-radius: 3px; background: #fff; }
.ab-menu { display: none; }
.ab-spacer { flex: 1; }
.avatar { display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--blue); border-radius: 2px; color: #fff; font-size: 11px; font-weight: 700; }

/* ---- Menu on the left ---- */
body.has-nav { padding-top: 32px; }
.adminmenu { position: fixed; top: 32px; bottom: 0; left: 0; z-index: 90; width: 160px; overflow-y: auto; background: var(--wp-menu); }
.adminmenu ul { margin: 0; padding: 0; list-style: none; }
.adminmenu > ul { padding: 12px 0 0; }
.adminmenu .sep { height: 5px; margin: 0 0 6px; }
.adminmenu .mi > a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 8px 0 10px; color: var(--wp-menu-text); font-size: 14px; line-height: 1.3; text-decoration: none; }
.adminmenu .mi > a .ic { color: var(--wp-menu-icon); }
.adminmenu .mi > a .ml { flex: 1; padding: 7px 0; }
.adminmenu .mi > a:hover, .adminmenu .mi > a:focus-visible { background: var(--wp-menu-sub); color: var(--blue-light); }
.adminmenu .mi > a:hover .ic { color: var(--blue-light); }
.adminmenu .mi.current > a { background: var(--blue); color: #fff; }
.adminmenu .mi.current > a .ic { color: #fff; }
.adminmenu .mi.current > a::after { content: ""; position: absolute; top: 50%; right: 0; margin-top: -8px; border: 8px solid transparent; border-right-color: var(--bg); }
.adminmenu .mi.current.has-sub > a::after { border-right-color: var(--wp-menu-sub); }
.bubble { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; background: var(--bad); border-radius: 9px; color: #fff; font-size: 9px; font-weight: 600; line-height: 18px; text-align: center; }
.submenu { display: none; padding: 7px 0 8px !important; background: var(--wp-menu-sub); }
.mi.current .submenu { display: block; }
.submenu .sm-head { display: none; }
.submenu a { display: block; padding: 5px 12px 5px 38px; color: rgba(240, 246, 252, .7); font-size: 13px; line-height: 1.4; text-decoration: none; }
.submenu a:hover, .submenu a:focus-visible { color: var(--blue-light); }
.submenu a[aria-current] { color: #fff; font-weight: 600; }
/* not the current section: the submenu flies out to the side on hover, as in WordPress */
@media (min-width: 783px) {
  .mi.has-sub:not(.current) { position: relative; }
  .mi.has-sub:not(.current):hover > .submenu, .mi.has-sub:not(.current):focus-within > .submenu { display: block; position: fixed; left: 160px; min-width: 170px; margin-top: -34px; padding: 4px 0 6px !important; box-shadow: 0 3px 5px rgba(0, 0, 0, .2); z-index: 95; }
  .mi.has-sub:not(.current) .submenu a { padding-left: 14px; }
}
.menu-foot { margin: 14px 0 0; padding: 0 12px 16px; color: var(--wp-menu-icon); font-size: 12px; }

/* ---- Page area ---- */
.main { margin-left: 160px; padding: 10px 20px 60px; max-width: 1260px; } .main.wide { max-width: none; }
.headline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 9px 0 4px; margin-bottom: 14px; }
.headline h1 { padding: 0; }
.page-title-action { display: inline-block; padding: 4px 8px; background: #f6f7f7; border: 1px solid var(--blue); border-radius: 3px; color: var(--blue); font-size: 13px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.page-title-action:hover { background: #f0f0f1; border-color: var(--blue-dark); color: var(--blue-dark); }

/* login and first-run screens */
/* the box sits in the middle of the window, both ways; on a short window it scrolls instead of being cut off */
body.no-nav { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 32px 16px; background: var(--bg); }
.no-nav .main { width: 100%; max-width: 440px; margin: 0; padding: 0 0 3vh; }
.no-nav .headline { justify-content: center; margin-bottom: 18px; } .no-nav .headline h1 { font-size: 24px; }
.login-logo { display: block; width: 210px; margin: 0 auto 10px; } .login-logo img { display: block; width: 100%; height: auto; }
.no-nav .card { padding: 34px 32px 30px; border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .07); font-size: 14px; }
.no-nav .card label { font-size: 14px; margin-bottom: 6px; }
.no-nav .field { margin-bottom: 20px; }
.no-nav .card input[type=text], .no-nav .card input[type=password] { min-height: 44px; padding: 0 12px; font-size: 16px; }
.no-nav .btn.primary { justify-content: center; width: 100%; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 600; }
.no-nav .center { margin-top: 16px; text-align: center; } .no-nav .center small { font-size: 13px; }
@media (max-width: 480px) { .no-nav .card { padding: 26px 20px 24px; } .login-logo { width: 180px; } }

/* ---- Notices ---- */
.notice, .flash { margin: 5px 0 15px; padding: 1px 12px; background: #fff; border: 1px solid var(--line); border-left-width: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .04); font-size: 13px; }
.notice p, p.flash, div.flash { padding: 8px 0; margin: 0; } div.flash { padding: 8px 12px; }
.notice-success, .flash.ok { border-left-color: var(--good); }
.notice-error, .flash.err { border-left-color: var(--bad); white-space: pre-line; }
.note { margin: 0 0 12px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--info); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); }
.note.warn { background: var(--warn-bg); border-left-color: var(--warn-line); color: var(--text); }
.muted { color: var(--muted); } small { font-size: 12px; }

/* ---- Boxes (WordPress "postbox") ---- */
.card { position: relative; margin-bottom: 20px; padding: 12px 14px; background: var(--box); border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); }
.card > h2:first-child, .card > .bar:first-child h2 { margin: -12px -14px 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.card > .bar:first-child h2 { margin: 0; padding: 0; border: 0; }
details.card > summary { margin: -12px -14px 0; padding: 10px 14px; font-size: 14px; }
details.card[open] > summary { margin-bottom: 12px; border-bottom: 1px solid var(--line); }
details > summary { color: var(--head); font-weight: 600; cursor: pointer; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); color: var(--text); text-decoration: none; }
a.stat:hover { border-color: var(--blue); color: var(--text); } .stat strong { display: block; color: var(--blue); font-size: 26px; font-weight: 400; line-height: 1.3; }
.fgroup { margin-bottom: 8px; border: 1px solid var(--line-2); }
.fgroup > summary { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--stripe); }
.fgroup > summary small { flex: none; color: var(--muted); font-weight: 400; }
.fgroup[open] > summary { border-bottom: 1px solid var(--line-2); }
.fgroup > .inner { padding: 12px 12px 2px; }

/* ---- Forms ---- */
label, .label { display: block; margin-bottom: 4px; color: var(--head); font-weight: 600; font-size: 13px; }
.hint { color: var(--muted); font-size: 12px; font-weight: 400; }
.field { margin-bottom: 14px; }
input[type=text], input[type=password], input[type=search], input[type=url], input[type=number], input[type=email], select, textarea { width: 100%; min-height: 30px; padding: 0 8px; background: #fff; border: 1px solid var(--input); border-radius: 4px; box-shadow: 0 0 0 transparent; color: #2c3338; font: 14px/2 var(--font); }
select { padding-right: 24px; }
textarea { padding: 6px 8px; min-height: 80px; line-height: 1.5; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); outline: 2px solid transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
textarea.body { min-height: 460px; font: 13px/1.6 Consolas, Monaco, monospace; }
textarea.code { min-height: 340px; font: 12.5px/1.45 Consolas, Monaco, monospace; }
select[multiple] { min-height: 130px; padding: 4px; line-height: 1.4; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 400; } .check input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; } .sticky { position: sticky; top: 46px; }

/* ---- Buttons ---- */
.btn, button.btn { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; margin: 0; padding: 0 10px; background: #f6f7f7; border: 1px solid var(--blue); border-radius: 3px; color: var(--blue); font: 13px/2.15384615 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: #f0f0f1; border-color: var(--blue-dark); color: var(--blue-dark); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.dark { background: #f0f0f1; border-color: var(--blue-dark); color: var(--blue-dark); box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5); }
.btn.danger { background: #fff; border-color: var(--bad); color: var(--bad); } .btn.danger:hover { background: var(--bad); color: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { padding: 0; background: none; border: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--blue-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; } .bar input, .bar select { width: auto; min-width: 180px; }

/* ---- Tables (WordPress "widefat striped") ---- */
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(0, 0, 0, .04); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 8px 10px; color: var(--head); font-size: 14px; font-weight: 400; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 8px 10px; vertical-align: top; color: #50575e; }
tbody tr:nth-child(odd) { background: var(--stripe); }
tbody tr:hover td { background: rgba(34, 113, 177, .04); }
td a strong, td > a:first-child { font-weight: 600; }
.num { text-align: right; white-space: nowrap; }

/* ---- Small status labels ---- */
.tag { display: inline-block; padding: 0 7px; border-radius: 2px; background: #f0f0f1; color: #50575e; font-size: 12px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.tag.good { background: var(--good-bg); color: #007017; } .tag.bad { background: var(--bad-bg); color: #b32d2e; } .tag.warn { background: var(--warn-bg); color: var(--warn); } .tag.accent { background: #e5f0fa; color: var(--blue-dark); }
.issues { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12.5px; } .issues li::before { content: "● "; font-size: 9px; vertical-align: 2px; } .issues .error::before { color: var(--bad); } .issues .warn::before { color: var(--warn-line); } .issues .tip::before { color: var(--muted); }
.score { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 12px; } .score.a { background: var(--good); } .score.b { background: var(--warn-line); } .score.c { background: var(--bad); }
.serp { padding: 12px 14px; background: #fff; border: 1px solid var(--line-2); font-family: arial, sans-serif; } .serp .u { color: #202124; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .serp .t { color: #1a0dab; font-size: 19px; line-height: 1.3; margin: 2px 0; } .serp .d { color: #4d5156; font-size: 13.5px; line-height: 1.45; }
.count { float: right; color: var(--muted); font-size: 12px; font-weight: 400; } .count.over { color: var(--bad); font-weight: 600; } .count.good { color: var(--good); }
.preview { width: 100%; height: 520px; background: #fff; border: 1px solid var(--line-2); }
.tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.diff { max-height: 560px; overflow: auto; margin: 0; padding: 10px 0; background: #fff; border: 1px solid var(--line-2); font: 12.5px/1.5 Consolas, Monaco, monospace; white-space: pre-wrap; word-break: break-word; } .diff div { padding: 0 12px; } .diff .add { background: var(--good-bg); } .diff .del { background: var(--bad-bg); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .thumb { padding: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 12px; word-break: break-all; } .thumb img { display: block; width: 100%; height: 110px; margin-bottom: 6px; object-fit: contain; background: #f0f0f1; } .thumb button { margin-top: 4px; }
.rev { position: relative; } .rev .rm { position: absolute; top: 12px; right: 14px; }
.buildlog { max-height: 420px; overflow: auto; padding: 12px; background: #1d2327; color: #f0f0f1; font: 12.5px/1.5 Consolas, Monaco, monospace; white-space: pre-wrap; }

/* ---- Content editor (Visual / Text, as in WordPress) ---- */
.wp-editor { margin-bottom: 4px; }
.wp-editor-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.wp-media-buttons { padding-bottom: 6px; }
.wp-media-buttons .btn .ic { color: var(--muted); }
.wp-editor-tabs { display: flex; gap: 0; }
.wp-switch { height: 29px; margin: 0 0 -1px 5px; padding: 3px 10px 4px; background: #f6f7f7; border: 1px solid var(--line-2); color: var(--muted); font: 13px/19px var(--font); cursor: pointer; }
.wp-switch:hover { color: var(--head); }
.wp-switch[aria-pressed=true] { position: relative; z-index: 1; background: #f6f7f7; border-bottom-color: #f6f7f7; color: var(--head); }
.wp-editor-area { border: 1px solid var(--line-2); background: #f6f7f7; }
.wp-editor-area > textarea { display: block; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; box-shadow: none; }
.wp-editor-area > textarea:focus { box-shadow: inset 0 0 0 1px var(--blue); }
.wp-editor-area .quicktags { padding: 4px 6px; font-size: 12px; color: var(--muted); }
.wp-editor-area .tox-tinymce { border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
.wp-editor-area .tox .tox-editor-header { box-shadow: none !important; border-bottom: 1px solid var(--line-2); padding: 0 !important; }
.wp-editor-area .tox .tox-toolbar__primary { background: #f6f7f7 !important; }
.wp-editor-area .tox .tox-statusbar { border-top: 1px solid var(--line-2); }
.wp-editor.is-small textarea { min-height: 90px; }
.wp-editor.is-small .wp-media-buttons:empty { padding: 0; }
.tablewrap td a { text-decoration: none; } .tablewrap td a:hover { text-decoration: underline; }
.wp-editor-area iframe.preview { border: 0; border-top: 1px solid var(--line-2); }

/* Add Media window */
.media-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 30px; background: rgba(0, 0, 0, .7); }
.media-frame { display: flex; flex-direction: column; width: min(1100px, 100%); height: min(760px, 100%); background: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, .7); }
.media-frame > header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 50px; border-bottom: 1px solid var(--line-2); }
.media-frame > header h2 { margin: 0; font-size: 22px; font-weight: 600; }
.media-close { width: 40px; height: 40px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; } .media-close:hover { color: var(--blue); }
.media-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; flex: 1; min-height: 0; }
.media-browse { display: flex; flex-direction: column; min-height: 0; padding: 12px 16px; }
.media-browse .bar { margin-bottom: 10px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; overflow-y: auto; padding: 2px; align-content: start; }
.media-grid button { position: relative; aspect-ratio: 1; padding: 0; background: #f0f0f1; border: 0; box-shadow: inset 0 0 15px rgba(0, 0, 0, .1); cursor: pointer; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-grid button[aria-pressed=true] { box-shadow: 0 0 0 1px #fff, 0 0 0 4px var(--blue); }
.media-side { padding: 14px 16px; overflow-y: auto; background: #f6f7f7; border-left: 1px solid var(--line-2); }
.media-side img { display: block; max-width: 100%; max-height: 160px; margin-bottom: 8px; }
.media-side h3 { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.media-frame > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line-2); }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 20px; }
.int { display: flex; gap: 12px; align-items: flex-start; }
.int-logo { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 13px; }
.int-body { flex: 1; min-width: 0; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: #c3c4c7; vertical-align: 1px; } .status-dot.on { background: var(--good); }
.snippet { position: relative; padding-top: 34px; }
.snippet .rm { position: absolute; top: 10px; right: 14px; }

/* ---- Small screens: icon-only menu, then a menu button ---- */
@media (max-width: 960px) {
  .adminmenu { width: 36px; overflow: visible; }
  .adminmenu .ml, .adminmenu .bubble, .menu-foot, .mi.current .submenu { display: none; }
  .adminmenu .mi > a { padding: 0 8px; justify-content: center; }
  .adminmenu .mi > a:hover .ml { display: block; position: absolute; left: 36px; top: 0; padding: 7px 12px; background: var(--wp-menu-sub); color: var(--blue-light); white-space: nowrap; box-shadow: 0 3px 5px rgba(0, 0, 0, .2); }
  .mi.has-sub:hover > .submenu { left: 36px !important; }
  .main { margin-left: 36px; }
  .layout, .grid2, .grid3 { grid-template-columns: 1fr; } .sticky { position: static; }
  .media-body { grid-template-columns: 1fr; } .media-side { display: none; }
}
@media (max-width: 782px) {
  body.has-nav { padding-top: 46px; }
  .adminbar { height: 46px; } .ab-item span:not(.avatar) { display: none; } .ab-item { padding: 0 12px; } .ab-item .ic { width: 22px; height: 22px; }
  .ab-menu { display: flex; }
  .adminmenu { top: 46px; width: 190px; display: none; overflow-y: auto; }
  body.menu-open .adminmenu { display: block; }
  .adminmenu .ml, .menu-foot, .mi.current .submenu { display: block; } .adminmenu .bubble { display: inline-block; }
  .adminmenu .mi > a { justify-content: flex-start; padding: 0 10px; }
  .adminmenu .mi > a:hover .ml { position: static; padding: 7px 0; box-shadow: none; background: none; }
  .main { margin-left: 0; padding: 10px 12px 50px; }
  .headline h1 { font-size: 21px; }
  input[type=text], input[type=password], input[type=search], select, textarea { min-height: 40px; font-size: 16px; }
  .btn, button.btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .media-modal { padding: 0; }
}

/* Post title: large, as on WordPress's edit screen */
input#title { min-height: 44px; padding: 3px 10px; font-size: 1.7em; line-height: 1.4; }

/* Integrations: action tracking switches */
.acts { display: grid; gap: 10px; margin: 6px 0 12px; }
.check.act { align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line, #dcdcde); border-radius: 4px; background: #fff; }
.check.act input { margin-top: 3px; }
.check.act code { font-size: 12px; background: #f0f0f1; padding: 1px 5px; border-radius: 3px; }
details.help { border-top: 1px solid #f0f0f1; padding-top: 10px; }
details.help summary { cursor: pointer; color: var(--blue); }
details.help > div { margin-top: 8px; font-size: 13px; }
details.help p { margin: 0 0 8px; }

/* ---- Submissions (online admin) ---- */
.subtabs { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 12px; font-size: 13px; }
.subtabs .tab { color: var(--blue); text-decoration: none; } .subtabs .tab .n { color: var(--muted); } .subtabs .tab.on { color: var(--head); font-weight: 600; }
.nowrap { white-space: nowrap; }
.flatwrap { box-shadow: none; margin: 12px 0; }
table.kv th { width: 34%; padding: 9px 10px; font-size: 13px; font-weight: 600; white-space: normal; vertical-align: top; border-bottom: 1px solid var(--line-2); }
table.kv td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); color: var(--text); font-size: 14px; }
table.kv tr:last-child th, table.kv tr:last-child td { border-bottom: 0; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.card h2 .tag { margin-left: 6px; vertical-align: 2px; font-weight: 500; }
