/* Blue / white workspace. Shared 4px spacing scale and 44px controls. */
:root {
  --bg: #f5f7fb;
  --surface: #fff;
  --ink: #1d293d;
  --muted: #5e6b80;
  --primary: #2456d6;
  --primary-hover: #1c43ad;
  --primary-soft: #edf3ff;
  --line: #e3e8f0;
  --red: #ad352c;
  --radius: 8px;
  --control-radius: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px #2456d61a; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.35; font-weight: 650; letter-spacing: -.5px; }
h2 { font-size: 18px; line-height: 1.5; font-weight: 600; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 600; }
p, .muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; background: var(--primary); color: white; padding: 12px 16px; z-index: 20; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #8796ad; }
.status-pill.online i { background: var(--primary); }
.status-pill.offline { color: var(--red); }
.status-pill.offline i { background: var(--red); }
.panel { padding: var(--space-8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading p { font-size: 12px; margin-top: 6px; }
.count-badge { display: inline-block; min-width: 24px; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--primary-soft); color: var(--primary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--control-radius); font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; transition: background .15s, border-color .15s; }
.primary { background: var(--primary); color: white; }
.primary:hover { background: var(--primary-hover); }
.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.secondary:hover { border-color: #91a3bf; background: var(--bg); }
.full-width { width: 100%; }
.empty-state { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 16px 52px; }
.empty-icon { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border-radius: 16px; width: 56px; height: 56px; margin-bottom: 20px; }
.empty-icon svg { width: 28px; height: 28px; }
.empty-state p { margin-top: 8px; font-size: 14px; max-width: 360px; }
.empty-state .button { margin-top: 24px; }
.data-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; padding: 20px; background: var(--bg); border-radius: 8px; margin-bottom: 24px; }
.data-summary:empty { display: none; }
.data-item { min-width: 0; overflow-wrap: anywhere; }
.data-item span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.data-item strong { font-weight: 600; font-size: 16px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
th, td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
th { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--bg); }
th:first-child { width: 28%; }
th:nth-child(2) { width: 22%; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8faff; }
.raw-details { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
summary { color: var(--muted); min-height: 44px; padding: 10px 0; font-size: 14px; }
pre { max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.7 Consolas, monospace; color: var(--muted); background: var(--bg); padding: 16px; border-radius: 8px; margin: 8px 0 0; }
.sign-panel { max-width: 760px; margin: 0 auto; }
.sign-panel > .panel-heading { margin-bottom: 28px; }
.sign-panel .panel-heading p { font-size: 14px; }
.sign-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 16px; }
.location-picker, .sign-information { min-width: 0; }
.sign-information { border-top: 1px solid var(--line); }
.section-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-label h3 { font-size: 14px; font-weight: 600; }
.section-label > span { color: var(--muted); font-size: 12px; }
.location-status { flex-shrink: 0; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--muted); }
.location-status.confirmed { color: var(--primary); background: var(--primary-soft); }
.location-search-row { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; }
.location-search-row .field { margin-bottom: 0; }
.location-search-row label { font-size: 12px; }
.location-search-row .button { padding: 10px 12px; white-space: nowrap; }
.location-feedback { min-height: 20px; margin: 8px 0 12px; }
.location-feedback.error { color: var(--red); }
.location-results { border: 1px solid var(--line); border-radius: 8px; max-height: 200px; overflow: auto; margin-bottom: 12px; }
.location-result { display: flex; gap: 12px; width: 100%; text-align: left; padding: 12px; min-height: 60px; color: var(--ink); background: var(--surface); border: 0; border-bottom: 1px solid var(--line); }
.location-result:last-child { border-bottom: 0; }
.location-result:hover, .location-result[aria-pressed=true] { background: var(--primary-soft); }
.location-result > span:first-child { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); font-size: 12px; background: var(--surface); }
.location-result strong { font-size: 14px; font-weight: 500; }
.location-result p { font-size: 12px; margin-top: 2px; }
.location-result div { min-width: 0; overflow-wrap: anywhere; }
.map-frame { position: relative; height: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f2f5fa; }
.location-map { position: relative; z-index: 0; width: 100%; height: 100%; }
.map-empty { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; text-align: center; background: var(--bg); }
.map-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid #dce5f5; color: var(--primary); margin-bottom: 16px; }
.map-empty-icon svg { width: 28px; height: 28px; }
.map-empty h3 { font-size: 14px; font-weight: 500; }
.map-empty p { font-size: 12px; margin-top: 8px; max-width: 280px; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-top: 8px; }
.map-layers { display: inline-flex; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.map-layers button { min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 5px; color: var(--muted); background: transparent; font-size: 12px; }
.map-layers button[aria-pressed=true] { background: var(--surface); border-color: var(--line); color: var(--primary); box-shadow: 0 1px 2px #1d293d08; }
.map-tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12px; }
.map-tool:hover:enabled { background: var(--primary-soft); color: var(--primary); }
.map-toolbar button:disabled { cursor: default; }
.map-connection { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); min-height: 44px; }
.map-connection .text-button { padding-right: 0; }
.map-connection .text-button:hover { color: var(--primary); background: transparent; }
.location-preview { padding: 16px; border: 1px solid #c7d7f6; border-radius: 8px; background: #f4f7ff; margin-top: 8px; overflow-wrap: anywhere; }
.preview-eyebrow { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.location-preview strong { display: block; font-size: 14px; font-weight: 600; }
.location-preview p { font-size: 12px; margin-top: 4px; }
.location-preview-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.location-preview-actions .button { font-size: 12px; }
.location-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0 20px; }
.location-note > div { flex: 1; min-width: 0; }
.location-note .text-button { flex-shrink: 0; color: var(--primary); padding: 0 0 0 8px; min-height: 44px; align-self: center; }
.location-note .text-button:hover { background: transparent; color: var(--primary-hover); }
.location-note svg { color: var(--primary); margin-top: 2px; }
.location-note strong { font-size: 16px; font-weight: 500; }
.location-note p { margin-top: 4px; font-size: 12px; overflow-wrap: anywhere; }
.sign-panel .sign-fields { grid-template-columns: 1fr; gap: 0; }
.sign-panel .coordinate-details summary span { display: block; margin-left: 16px; font-size: 12px; }
.sign-save-hint { margin-right: auto; color: var(--muted); font-size: 12px; align-self: center; }
.sign-location-hint { margin-bottom: 20px; }
@media (max-width: 850px) {
  .sign-panel .sign-fields { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .location-search-row { grid-template-columns: 80px minmax(0,1fr); gap: 8px; }
  .location-search-row .input-action { gap: 6px; }
  .location-search-row input { padding: 0 8px; }
  .location-search-row .button { padding: 8px 10px; }
  .location-search-row .button svg { display: none; }
  .location-city-field input { height: 44px; }
  .map-frame { height: 180px; }
  .map-tool { padding-left: 0; padding-right: 0; }
  .map-layers button { padding: 8px 10px; }
  .sign-save-hint { flex-basis: 100%; margin: 0; }
  .sign-panel .sign-actions { flex-wrap: wrap; }
  .sign-panel .sign-fields { grid-template-columns: 1fr; gap: 0; }
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.required, .optional { color: var(--muted); font-size: 12px; font-weight: 400; }
input { height: 46px; border: 1px solid #8796ad; border-radius: var(--control-radius); width: 100%; min-width: 0; padding: 0 12px; background: var(--surface); color: var(--ink); transition: border-color .15s; }
input::placeholder { color: #66758a; font-size: 14px; }
.input-action { display: flex; gap: 8px; }
.field-hint, .form-note { font-size: 12px; margin-top: 8px; }
.form-note { text-align: center; margin-top: 12px; }
.password-input { position: relative; }
.password-input input { padding-right: 68px; }
.password-input button { position: absolute; right: 2px; top: 1px; min-width: 60px; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; }
.password-input button:hover { color: var(--primary); }
.inline-message { font-size: 14px; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; overflow-wrap: anywhere; background: var(--primary-soft); color: var(--primary); }
.inline-message.error { color: var(--red); background: #fcefea; }
.school-results { border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; max-height: 220px; overflow: auto; }
.school-results button { display: block; text-align: left; width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); padding: 12px; color: var(--ink); }
.school-results button:last-child { border-bottom: 0; }
.school-results button:hover, .school-results button:focus-visible { background: var(--primary-soft); }
.coordinate-details { border-top: 1px solid var(--line); margin-bottom: 16px; padding-top: 4px; }
.coordinate-details summary span { margin-left: 8px; font-size: 12px; }
.sign-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 12px; }
input[readonly] { background: var(--bg); color: var(--muted); cursor: default; }
.sign-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-footer { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 24px; text-align: center; }
.text-button { min-height: 44px; padding: 8px 12px; font-size: 12px; color: var(--muted); border: 0; background: none; border-radius: 8px; }
.text-button:hover { color: var(--primary); background: var(--primary-soft); }
#clear-config:hover { color: var(--red); background: #fcefea; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 440px; width: calc(100% - 32px); color: var(--ink); box-shadow: 0 16px 64px #1d293d26; }
dialog::backdrop { background: #18263d66; }
dialog p { margin-top: 16px; overflow-wrap: anywhere; }
#sign-confirm-text { white-space: pre-line; color: var(--ink); }
dialog .muted { font-size: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.sign-success { max-width:360px; padding:32px 28px; text-align:center; border-radius:12px; }
.sign-success-icon { display:grid; place-items:center; width:56px; height:56px; margin:0 auto 20px; border-radius:50%; background:var(--primary-soft); color:var(--primary); }
.sign-success-icon svg { width:28px; height:28px; stroke-width:2.2; }
.sign-success h2 { font-size:20px; }
.sign-success p { margin-top:10px; color:var(--muted); font-size:13px; line-height:1.8; }
.sign-success .button { width:100%; margin-top:24px; }
body:has(#sign-success[open]) { overflow:hidden; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; font-size: 14px; z-index: 10; box-shadow: 0 4px 20px #1d293d20; }
.toast.error { background: var(--red); }
select, textarea { border: 1px solid #8796ad; border-radius: var(--control-radius); width: 100%; min-width: 0; padding: 12px; background: var(--surface); color: var(--ink); }
select { min-height: 46px; padding: 8px 12px; }
textarea { display: block; min-height: 150px; resize: vertical; line-height: 1.7; }
.report-filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 24px; }
.report-filters .field { flex: 1; min-width: 130px; margin: 0; }
.report-filters .button { min-height: 46px; }
.report-empty { padding: 64px 16px; text-align: center; }
.report-pagination, .report-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0; }
.report-pagination > div { display: flex; align-items: center; gap: 12px; }
.report-pagination { font-size: 12px; color: var(--muted); }
.report-editor { max-width: 720px; margin: auto; }
.report-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-editor label .required, .report-editor label .optional { margin-left: 8px; }
.report-editor-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.report-files { list-style: none; padding: 0; margin: 12px 0; }
.report-files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.report-files a { color: var(--primary); padding: 12px 0; text-decoration: underline; }
.report-files span { min-width: 0; }
input[type=file] { height: auto; min-height: 46px; padding: 8px; }
input[type=file]::file-selector-button { border: 0; border-radius: 4px; padding: 6px 10px; margin-right: 12px; background: var(--primary-soft); color: var(--primary); font: inherit; cursor: pointer; }
#report-confirm-text, .report-detail-text { white-space: pre-wrap; }
.report-detail { max-width: 720px; max-height: calc(100vh - 48px); overflow: auto; }
.report-detail-summary { display: grid; grid-template-columns: 88px 1fr; gap: 10px 16px; margin: 24px 0; }
.report-detail-summary dt { color: var(--muted); font-size: 12px; }
.report-detail-summary dd { margin: 0; overflow-wrap: anywhere; }
.report-detail h3 { margin-top: 24px; }
.report-detail-text { color: var(--ink); margin: 8px 0 20px; }
.report-old-content { padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 20px; }
.report-table th { width: auto; }
.report-table th:first-child, .report-table th:nth-child(2) { width: 22%; }
.report-table th:nth-child(5) { width: 9%; }
.report-table th:last-child { width: 80px; }
.report-table .button { padding: 8px 12px; font-size: 12px; }
@media (max-width: 760px) {
  h1 { font-size: 24px; }
  .panel { padding: 24px; }
  .data-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .panel { padding: 20px; }
  .panel-heading { gap: 12px; align-items: flex-start; margin-bottom: 20px; }
  .panel-heading p { max-width: 200px; }
  .panel-heading .button { padding: 10px 12px; font-size: 12px; gap: 6px; }
  .empty-state { min-height: 300px; padding: 24px 0 32px; }
  .empty-state p { font-size: 12px; }
  .data-summary { padding: 16px; }
  table, tbody { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  td { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; border: 0; padding: 5px 0; font-size: 14px; }
  td::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  .sign-fields { grid-template-columns: 1fr; gap: 0; }
  .coordinate-details summary span { display: block; margin-left: 16px; }
  .sign-actions .button { flex: 1; }
  dialog { padding: 24px; }
  input { font-size: 16px; }
  .toast { bottom: 16px; }
  textarea, select { font-size: 16px; }
  .report-filters .field { flex: 1 1 40%; min-width: 0; }
  .report-filters .field:nth-child(3) { flex-basis: 100%; }
  .report-filters .button { flex: 1; }
  .report-pagination { flex-direction: column; align-items: flex-start; }
  .report-dates { grid-template-columns: 1fr; gap: 0; }
  .report-editor-heading { align-items: flex-start; }
  .report-editor-heading .button { padding: 10px 12px; font-size: 12px; }
  .report-editor-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Sign form follows the sequence: place, remark, note, photos. */
.sign-panel { padding: 0; }
.sign-panel > .panel-heading { padding: 16px 24px; margin: 0; border-bottom: 1px solid var(--line); align-items: center; }
#sign-form { padding: 0 24px 20px; }
.sign-date-row { display: flex; align-items: center; gap: 8px; padding: 14px 0; color: var(--muted); font-size: 12px; }
.sign-date-row .location-status { margin-left: auto; }
.location-search-panel { margin-bottom: 16px; }
.location-search-panel > summary { font-size: 14px; font-weight: 500; color: var(--ink); padding-top: 0; min-height: 32px; }
.location-search-panel:not([open]) { display: none; }
.sign-map-tools > summary { text-align: right; font-size: 12px; min-height: 32px; padding: 6px 0; }
.sign-map-tools { margin-bottom: 0; }
.sign-remark-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--line); }
.sign-remark-row > span { color: var(--muted); }
#sign-remark-open { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; border: 0; background: none; color: var(--ink); min-height: 48px; padding: 8px 0 8px 12px; font-size: 16px; }
#sign-remark-open svg { width: 16px; color: var(--muted); }
.sign-description { position: relative; padding-top: 4px; }
#sign-comment { border: 0; padding: 16px 0 28px; min-height: 128px; resize: vertical; box-shadow: none; }
#sign-comment:focus { box-shadow: inset 0 -2px 0 var(--primary); }
.sign-comment-count { position: absolute; bottom: 6px; right: 0; color: var(--muted); font-size: 12px; pointer-events: none; }
.sign-photo-section { padding: 16px 0 20px; }
.sign-photo-list { display: flex; flex-wrap: wrap; gap: 12px; }
.sign-photo-add, .sign-photo { width: 84px; height: 84px; border-radius: 8px; }
.sign-photo-add { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: var(--surface); color: var(--muted); border: 1px dashed #8796ad; font-size: 12px; }
.sign-photo-add svg { width: 30px; height: 30px; stroke-width: 1.4; }
.sign-photo-add:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.sign-photo { position: relative; }
.sign-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.sign-photo button { position: absolute; top: -8px; right: -8px; border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; background: white; color: var(--ink); font-size: 20px; line-height: 1; }
.sign-photo button::after { content: ""; position: absolute; inset: -6px; }
.field-hint.error { color: var(--red); }
.sign-panel .coordinate-details { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sign-panel .coordinate-details summary span { display: inline; margin-left: 8px; }
.sign-panel .sign-fields { grid-template-columns: 1fr 1fr; gap: 16px; }
.sign-panel .sign-actions { padding-top: 12px; }
.sign-remark-dialog { max-width: 420px; max-height: calc(100dvh - 48px); padding: 12px 20px; }
.sign-remark-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sign-remark-dialog-heading .text-button { padding-right: 0; }
.sign-remark-dialog .field-hint:empty { display: none; }
.sign-remark-options { max-height: calc(100dvh - 200px); overflow: auto; margin-top: 8px; overscroll-behavior: contain; }
.sign-remark-option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; text-align: left; }
.sign-remark-option:last-child { border-bottom: 0; }
.sign-remark-option:hover, .sign-remark-option[aria-pressed="true"] { background: var(--primary-soft); }
.sign-remark-option > span:last-child { color: var(--primary); font-size: 22px; }
@media (max-width: 520px) {
  .sign-panel > .panel-heading { padding: 12px 16px; }
  #sign-form { padding: 0 16px 16px; }
  .sign-date-row { gap: 6px; }
  .sign-date-row .location-status { padding: 4px 6px; }
  .sign-panel .sign-save-hint { flex-basis: auto; }
  .sign-panel .coordinate-details summary span { display: inline; }
  .location-note { gap: 8px; }
  .location-note > svg { display: none; }
  .location-note .text-button { font-size: 12px; }
}
