.topbar .mark { color: #fff; text-decoration: none; }
.concept-bar { background: var(--warn-bg); color: var(--warn); font-size: 13px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #F0D58A; }

/* Home */
.hello { margin: 4px 0 2px; }
.jobcard { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; }
.jobcard:active { background: #FAFAF8; }
.jobcard .top { display: flex; align-items: flex-start; gap: 10px; }
.jobcard .addr { font-weight: 700; font-size: 16px; }
.jobcard .ref { color: var(--muted); font-size: 13px; }
.jobcard .meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.jobcard .state { margin-left: auto; white-space: nowrap; }
.jobcard.locked { opacity: .75; }
.pill.todo { background: #EEF2F6; color: #34495E; }
.pill.part, .pill.draft { background: var(--warn-bg); color: var(--warn); }
.pill.sent { background: var(--ok-bg); color: var(--green-dark); }
.pill.locked { background: #EEE; color: #555; }
.section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 20px 0 4px; }
.tip { font-size: 13px; color: var(--muted); margin-top: 24px; }


/* Site Checklist (concept 23 Oct 2026) */
.net-bar { background: #34495E; color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 4px; }
.btn.big { min-height: 72px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 17px; }
.back { display: inline-block; margin: 2px 0 8px; color: var(--charcoal); font-weight: 700; text-decoration: none; }
.link-btn { appearance: none; background: none; border: 0; color: var(--green-dark); font: inherit; font-size: 14px; font-weight: 700; padding: 6px 2px; cursor: pointer; min-height: 36px; }
#discard { color: var(--bad); }
.pill.test { background: var(--ok-bg); color: var(--green-dark); font-weight: 700; }
.access div { margin: 4px 0; font-size: 15px; }
.access summary { font-weight: 700; }
.progress { margin: 14px 0 6px; }
.progress .bar { height: 10px; background: #E6E7E4; border-radius: 99px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: var(--green); }
.progress .muted { margin-top: 4px; }
.toggle { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 10px 0; min-height: 40px; }
.toggle input { width: 22px; height: 22px; }
.con { margin-top: 16px; }
.con > summary { list-style: none; }
.con > summary::-webkit-details-marker { display: none; }
.con-head { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; }
.con-head h2 { margin: 0; font-size: 17px; }
.con-head .count { margin-left: auto; font-weight: 700; color: var(--charcoal); background: #EEF0EC; border-radius: 99px; padding: 4px 10px; }
.con-head .count.all { background: var(--ok-bg); color: var(--green-dark); }
.room { font-weight: 700; margin: 14px 0 4px; color: var(--charcoal); display: flex; align-items: center; gap: 8px; }
.room:first-child { margin-top: 2px; }
.room .photo-btn { margin-left: auto; }
.tick-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.room + .tick-line { border-top: 0; }
.tick-box { width: 44px; height: 44px; border-radius: 10px; border: 2px solid #B9BAB7; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #fff; cursor: pointer; padding: 0; }
.tick-line.done .tick-box { background: var(--green); border-color: var(--green); }
.tick-line.done .text { color: var(--muted); text-decoration: line-through; text-decoration-color: #9a9a9a; }
.tick-line .text { font-size: 15px; }
.tick-line .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.photo-btn { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 9px; font-size: 15px; cursor: pointer; min-height: 40px; min-width: 44px; }
.photo-btn .n { font-weight: 700; font-size: 13px; }
.issue { border-left: 4px solid #E0A800; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.row-btns { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
details summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.thumb { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.thumb img, .thumb .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: #EEE; }
.thumb .noimg { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.thumb input { margin-top: 6px; min-height: 36px; padding: 6px 8px; font-size: 13px; }
.saved { font-size: 12px; color: var(--muted); text-align: right; min-height: 16px; }
.warn-txt { color: var(--warn); font-weight: 700; }
.done-screen { text-align: center; padding: 30px 10px; }
.done-screen .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 36px; line-height: 64px; margin: 0 auto 12px; }
.report-link { display: block; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 8px 0; color: var(--charcoal); font-weight: 700; text-decoration: none; }
.done-screen .btn { margin-top: 16px; }

/* report preview */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin: 8px 0; }
.tab { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 12px; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.tab.on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.06); overflow: hidden; }
.doc-head { background: var(--charcoal); border-bottom: 4px solid var(--green); padding: 12px 16px; }
.doc-mark { color: #fff; font-weight: 700; letter-spacing: .08em; font-size: 13px; }
.doc-mark span { color: var(--green); }
.doc-body { padding: 16px 18px 22px; font-size: 14px; }
.doc-body p { margin: 0 0 8px; }
.doc-body .d-date { text-align: right; }
.doc-body .d-ref { font-weight: 700; text-decoration: underline; margin: 6px 0 12px; }
.doc-body .d-for, .doc-body .d-h { font-weight: 700; }
.doc-body .d-h { margin-top: 14px; }
.doc-body ul { margin: 2px 0 8px; padding-left: 22px; }
.doc-body li { margin: 2px 0; }
.doc-body .d-close { margin-top: 14px; }
.d-photo { margin: 10px 0 14px; }
.d-photo img, .d-noimg { max-width: 300px; width: 100%; border-radius: 4px; display: block; }
.d-noimg { height: 140px; background: #EEE; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.d-photo figcaption { font-style: italic; color: #6b6b6b; font-size: 13px; margin-top: 4px; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
dialog { border: 0; border-radius: 12px; padding: 18px; max-width: 420px; width: calc(100% - 32px); }
