.tv-hero { padding-block: 56px 44px; background: var(--bruto-wash); border-bottom: 1px solid var(--bruto-line); }
.tv-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; margin: 10px 0 0; }
.tv-hero h1 span { color: var(--bruto-blue); }
.tv-meta { color: var(--bruto-muted); margin-top: 14px; font-size: 16px; }
.tv-header { border-bottom: 1px solid #e6eaf0; background: #fff; }
.tv-header .bruto-shell { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }
.tv-header img { width: 92px; height: 60px; object-fit: contain; }
.tv-header-right { text-align: right; color: var(--bruto-muted); font-size: 14px; line-height: 1.5; }
.tv-header-right strong { color: var(--bruto-ink); }
.tv-sec { padding-block: 56px; }
.tv-sec.is-wash { background: var(--bruto-wash); }
.tv-customer { margin-top: 44px; }
.tv-customer > h3 { font-size: 26px; font-weight: 780; letter-spacing: -.5px; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tv-customer > h3 small { font-size: 15px; font-weight: 600; color: var(--bruto-muted); letter-spacing: 0; }
.tv-pc { margin-top: 20px; background: #fff; border: 1px solid var(--bruto-line); border-radius: 10px; padding: 20px 22px; break-inside: avoid; }
.tv-pc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.tv-pc-head h4 { margin: 0; font-size: 19px; font-weight: 750; }
.tv-pc-head .tv-id { color: var(--bruto-muted); font-size: 14px; font-weight: 600; }
.tv-pc-head .tv-sum { color: var(--bruto-muted); font-size: 15px; }
.tv-pc-head .tv-sum strong { color: var(--bruto-ink); }
.tv-pc .bruto-table.is-compact td:first-child { font-weight: 700; }
.tv-pc .bruto-table.is-compact table { min-width: 640px; table-layout: fixed; }
.tv-pc col.c-d { width: 150px; } .tv-pc col.c-t { width: 150px; } .tv-pc col.c-m { width: 105px; } .tv-pc col.c-b { width: 130px; }
.tv-note { white-space: pre-line; }
.bruto-table td.is-num { white-space: nowrap; }
.tv-empty { color: var(--bruto-muted); font-style: italic; }
.tv-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--bruto-field); color: var(--bruto-muted); white-space: nowrap; }
.tv-badge.is-done { border-color: var(--bruto-blue); color: var(--bruto-blue); }
.tv-tag { font-size: 12px; font-weight: 700; color: var(--bruto-blue); background: #e3e8f7; border-radius: 6px; padding: 2px 8px; }
.tv-hint { color: var(--bruto-muted); font-size: 14px; margin-top: 12px; max-width: 820px; }
.tv-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tv-toc a { font-size: 14px; font-weight: 700; padding: 6px 12px; border: 1px solid var(--bruto-line); border-radius: 6px; background: #fff; }
.tv-toc a:hover { border-color: var(--bruto-blue); }
.tv-foot { border-top: 1px solid var(--bruto-line); padding-block: 28px; color: var(--bruto-muted); font-size: 14px; }
.tv-foot .bruto-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
@media (max-width: 650px) { .tv-header-right { display: none; } .tv-pc { padding: 16px 14px; } }
@media print {
  body { font-size: 12px; } .tv-sec, .tv-hero { padding-block: 18px; } .bruto-proof { padding-block: 14px; }
  .tv-toc { display: none; } .tv-pc { break-inside: avoid; } .tv-tech { break-before: page; }
  .bruto-table { overflow: visible; } .bruto-table table { min-width: 0 !important; }
  .bruto-table th:first-child, .bruto-table td:first-child { position: static; }
}
.tv-subtitle { margin-top: 56px; font-size: clamp(26px, 2.6vw, 34px); }
.tv-nowrap { white-space: nowrap; }
.tv-pc col.c-a { width: 170px; }
.bruto-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- admin ---------- */
.tw-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.tw-nav a { font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 6px; color: var(--bruto-ink); }
.tw-nav a[aria-current="page"] { color: var(--bruto-blue); background: #e3e8f7; }
.tw-nav a:hover { color: var(--bruto-blue); }
.tw-nav .tw-logout { color: var(--bruto-muted); font-weight: 600; }
.tw-flash { margin-top: 24px; }
.tw-page { padding-block: 40px 72px; }
.tw-page h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -1px; margin: 6px 0 0; }
.tw-page h2 { font-size: 24px; font-weight: 780; margin: 44px 0 14px; }
.tw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.tw-card { background: #fff; border: 1px solid var(--bruto-line); border-radius: 10px; padding: 22px; }
.tw-card h2 { margin-top: 0; font-size: 20px; }
.tw-card .tw-big { font-size: 34px; font-weight: 800; color: var(--bruto-blue); line-height: 1.1; }
.tw-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 22px; }
.tw-filter .bruto-field { margin: 0; min-width: 180px; }
.tw-filter .bruto-btn[type=submit], .tw-inline-form .bruto-btn[type=submit], .tw-publish .bruto-btn[type=submit], .tw-filter .bruto-btn, .tw-inline-form .bruto-btn { width: auto; }
.tw-filter .bruto-btn { min-height: 50px; }
.tw-admin .bruto-form .bruto-field { margin-bottom: 0; }
.tw-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tw-inline-form input[type=text], .tw-inline-form select { height: 40px; padding: 0 10px; border: 1px solid var(--bruto-field); border-radius: 6px; font: inherit; font-size: 15px; background: #fff; max-width: 100%; }
.tw-inline-form .bruto-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.tw-link { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--bruto-blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tw-link:hover { text-decoration-color: var(--bruto-red); }
.tw-link.is-danger { color: var(--bruto-error); }
.tw-note { width: 100%; min-height: 46px; border: 1px solid var(--bruto-line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 15px; line-height: 1.45; resize: vertical; background: #fff; }
.tw-note:focus { border-color: var(--bruto-blue); outline: 3px solid #6681ff; outline-offset: 0; }
.tw-note-meta { font-size: 12px; color: var(--bruto-muted); display: flex; gap: 10px; align-items: center; min-height: 18px; }
.tw-note-meta .tw-link { font-size: 12px; padding: 0; }
.tw-edited { color: var(--bruto-blue); font-weight: 700; }
.tw-status.is-ok { color: #1a9e50; } .tw-status.is-err { color: var(--bruto-error); }
tr.is-hidden td { opacity: .45; text-decoration: line-through; }
tr.is-hidden td:last-child { opacity: 1; text-decoration: none; }
.tw-publish { margin-top: 30px; background: #fff; border: 1px solid var(--bruto-line); border-top: 3px solid var(--bruto-blue); border-radius: 10px; padding: 22px; }
.tw-publish h2 { margin-top: 0; }
.tw-url { font-family: ui-monospace, monospace; font-size: 14px; background: var(--bruto-wash); border: 1px solid var(--bruto-line); border-radius: 6px; padding: 6px 10px; word-break: break-all; }
.tw-pill { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: #e3e8f7; color: var(--bruto-blue); white-space: nowrap; }
.tw-pill.is-warn { background: #fde6ea; color: var(--bruto-error); }
.tw-preview-bar { background: var(--bruto-navy); color: #fff; padding-block: 12px; font-size: 15px; position: sticky; top: 0; z-index: 5; }
.tw-preview-bar .bruto-shell { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.tw-preview-bar a, .tw-preview-bar .tw-link { color: #fff; }
.tw-login { max-width: 440px; margin: 72px auto; }
@media print { .tw-nav, .tw-preview-bar, .tw-publish, .tw-filter { display: none; } }
.tw-free { font-size: 11px; font-weight: 700; color: var(--bruto-muted); white-space: nowrap; }
tr.is-free td { background-image: linear-gradient(#fafbfd, #fafbfd); }
tr.is-free td.is-num { color: var(--bruto-muted); }
.tw-price-settings { margin-top: 14px; padding: 12px 14px; background: var(--bruto-wash); border-radius: 8px; }
.tv-prices .bruto-table td .tv-id { font-weight: 600; }
.tw-mode { height: 36px; padding: 0 8px; border: 1px solid var(--bruto-field); border-radius: 6px; font: inherit; font-size: 14px; background: #fff; width: 100%; }
.tw-rowprice-wrap { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; }
.tw-rowprice-wrap[hidden] { display: none; }
.tw-rowprice, .tw-pcfixed { height: 34px; padding: 0 8px; border: 1px solid var(--bruto-field); border-radius: 6px; font: inherit; font-size: 14px; width: 90px; text-align: right; }
.tw-mode + .tw-rowprice-wrap + .tw-toggle, .tw-mode ~ .tw-toggle { display: block; margin-top: 4px; }
.tw-pc-price { margin-top: 4px; font-size: 15px; color: var(--bruto-ink); }
.tw-pc-price strong { color: var(--bruto-blue); }
.tv-pc-head .tv-sum { text-align: right; }
.tw-pcfixed-wrap { justify-content: flex-end; margin-top: 6px; gap: 6px; }
.tw-pcfixed-wrap label { margin: 0; }
tr.is-fixed td.is-num { color: var(--bruto-blue); }
@media (max-width: 650px) { .tv-pc-head .tv-sum { text-align: left; } .tw-pcfixed-wrap { justify-content: flex-start; } }
