:root {
  --bg: #f6f7f9; --fg: #1b1f24; --muted: #59626e; --line: #d6dbe1; --card: #fff;
  --accent: #0b5cad; --ok: #1d6b3a; --ok-bg: #e5f3ea; --warn: #8a5300; --warn-bg: #fff4dd;
  --pend: #8a1f1f; --pend-bg: #fde8e8; --info-bg: #e8f0fb; --focus: #ffbf47;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); }
a { color: var(--accent); }
a:focus, button:focus, input:focus, select:focus, summary:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem; }
.skip:focus { left: .5rem; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
header.top { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: .75rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
.brand a { font-weight: 700; text-decoration: none; color: var(--fg); }
header nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
header nav a[aria-current="page"] { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--accent); }
.logout { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.who { color: var(--muted); }
main { max-width: 1200px; margin: 0 auto; padding: 1.25rem; }
h1 { font-size: 1.6rem; margin: .25rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.lead { font-size: 1.1rem; }
.meta, .note { color: var(--muted); font-size: .92rem; }
.demo-banner { margin: 0; padding: .5rem 1.25rem; background: #4b2b7f; color: #fff; font-weight: 600; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.card h3 { font-size: 1rem; color: var(--muted); font-weight: 600; }
.card .amount { font-size: 1.8rem; font-weight: 700; margin: .25rem 0 .5rem; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid transparent; vertical-align: middle; }
.badge-confirmed { background: var(--ok-bg); color: var(--ok); border-color: #b4dcc2; }
.badge-orientative { background: var(--info-bg); color: #164a85; border-color: #bcd0ee; }
.badge-estimated { background: var(--warn-bg); color: var(--warn); border-color: #f1d49a; }
.badge-pending { background: var(--pend-bg); color: var(--pend); border-color: #f0b9b9; }
.badge-demo { background: #4b2b7f; color: #fff; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; margin: 1rem 0; }
.panel.warn { background: var(--warn-bg); border-color: #f1d49a; }
.panel.ok { background: var(--ok-bg); border-color: #b4dcc2; }
.vat { border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .75rem; }
.vat:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
table { border-collapse: collapse; width: 100%; background: #fff; }
caption { text-align: left; font-weight: 600; padding: .5rem 0; }
th, td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table.calc { max-width: 520px; }
table.calc td { text-align: right; font-variant-numeric: tabular-nums; }
table.calc tr.total th, table.calc tr.total td { font-weight: 700; border-top: 2px solid var(--fg); }
tfoot th, tfoot td { font-weight: 700; border-top: 2px solid var(--fg); }
.muted { color: var(--muted); }
tr.st-pending_reconciliation { background: var(--warn-bg); }
tr.st-absorbed td, tr.st-excluded td { color: var(--muted); }
tr.voided td { text-decoration: line-through; color: var(--muted); }
.period { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: .5rem 0 1rem; }
.seg { display: flex; list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.seg a { display: block; padding: .4rem .9rem; text-decoration: none; }
.seg a[aria-current="true"] { background: var(--accent); color: #fff; font-weight: 700; }
form label { display: block; font-weight: 600; margin: .6rem 0 .2rem; }
form label.radio, form label.check { font-weight: 400; display: block; margin: .25rem 0; }
input, select { font: inherit; padding: .4rem .5rem; border: 1px solid #8a94a0; border-radius: 6px; max-width: 100%; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select { width: 100%; max-width: 32rem; }
form.inline { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
form.inline label { margin: 0; }
form.inline input, form.inline select { width: auto; }
.year-form { display: flex; gap: .5rem; align-items: center; }
.year-form label { margin: 0; }
.year-form select { width: auto; }
button, .button { font: inherit; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: .5rem 1rem; cursor: pointer; text-decoration: none; display: inline-block; margin-top: .6rem; }
button.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
button.danger { background: #a12020; }
button.link { background: none; color: var(--accent); padding: 0; margin: 0; text-decoration: underline; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: .75rem 0; padding: .5rem .9rem .9rem; }
fieldset.warn { background: var(--warn-bg); }
legend { font-weight: 700; padding: 0 .3rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1rem; }
.review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .review { grid-template-columns: 1fr; } }
.preview iframe { width: 100%; height: 80vh; border: 1px solid var(--line); background: #fff; }
.preview img { max-width: 100%; border: 1px solid var(--line); background: #fff; }
.lines input { width: 100%; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.discard { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.flash { background: var(--ok-bg); border: 1px solid #b4dcc2; padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.error-box { background: var(--pend-bg); border: 1px solid #f0b9b9; padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.login { max-width: 420px; margin: 3rem auto; background: #fff; padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; }
.tabs ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1rem; gap: .25rem; border-bottom: 1px solid var(--line); }
.tabs a { display: block; padding: .4rem .7rem; text-decoration: none; }
.tabs a[aria-current="page"] { border-bottom: 3px solid var(--accent); font-weight: 700; }
.status { font-weight: 600; }
.status-confirmed { color: var(--ok); }
.status-needs_review, .status-possible_duplicate, .status-extraction_pending { color: var(--warn); }
.status-discarded, .status-superseded { color: var(--muted); }
ul.list { padding-left: 1.2rem; }
li.unread { font-weight: 600; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
dl.facts dt { font-weight: 600; }
pre { white-space: pre-wrap; font-size: .8rem; background: #f2f4f7; padding: .5rem; border-radius: 6px; max-height: 300px; overflow: auto; }
.history li { margin-bottom: .4rem; }

/* Application workspace: calm, readable and shared by both user areas. */
:root { --bg:#f5f7f8; --fg:#172d35; --muted:#6c7d83; --line:#e3e9eb; --accent:#176c5e; --ok:#176c5e; --ok-bg:#e8f4ef; --info-bg:#eef4f6; font-size:14px; line-height:1.6; }
body { -webkit-font-smoothing:antialiased; }
a { text-underline-offset:3px; }
button, .button { border-radius:9px; padding:.7rem 1.1rem; font-size:.92rem; font-weight:600; transition:background .15s,box-shadow .15s; }
button:hover,.button:hover { filter:brightness(.96); box-shadow:0 3px 10px #172d3512; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #f0bd63; outline-offset:3px; }
.app-body header.top { position:fixed; inset:0 auto 0 0; width:232px; display:flex; flex-direction:column; align-items:stretch; flex-wrap:nowrap; padding:30px 18px 18px; border:0; border-right:1px solid var(--line); gap:0; z-index:10; background:#fff; }
.brand { padding:0 12px 30px; }
.brand a { display:flex; align-items:center; gap:11px; font-size:23px; font-weight:750; letter-spacing:-.8px; line-height:1.1; }
.brand-mark { display:grid; place-content:center; width:39px; height:42px; background:#176c5e; border-radius:12px 12px 4px 12px; color:#fff; font-size:31px; font-weight:650; position:relative; }
.brand-mark>span { color:#c1e4a4; position:absolute; right:5px; bottom:3px; }
.brand-sub { display:block; font-size:9px; letter-spacing:.3px; font-weight:450; color:var(--muted); margin-top:6px; }
.nav-label { color:#94a1a6; font-size:9px; letter-spacing:1.8px; font-weight:650; margin:12px 14px; }
header nav ul { display:flex; flex-direction:column; gap:5px; }
header nav li a { display:flex; align-items:center; gap:12px; padding:10px 14px; color:#66767d; font-size:13px; text-decoration:none; border-radius:8px; font-weight:500; }
header nav a[aria-current="page"] { border:0; color:#176c5e; background:#eaf4ef; font-weight:650; }
header nav a:hover { background:#f3f7f5; }
.nav-dot { width:12px; height:12px; border:1.5px solid currentColor; border-radius:4px; opacity:.75; }
header nav li:nth-child(2) .nav-dot { border-radius:50%; }
header nav li:nth-child(3) .nav-dot { border-radius:6px 6px 2px 2px; }
.sidebar-note { margin-top:auto; padding:18px 14px; font-size:11px; color:#42605a; }
.sidebar-note>span:last-child { display:block; font-size:10px; color:#8a999d; margin:7px 0 0 13px; max-width:150px; }
.live-dot { display:inline-block; width:6px; height:6px; background:#67a581; border-radius:50%; margin-right:5px; }
.logout { border-top:1px solid var(--line); margin:0; padding:17px 4px 0; gap:9px; }
.avatar { width:30px; height:30px; display:grid; place-content:center; background:#f0e9dc; border-radius:50%; font-size:12px; font-weight:650; color:#8c764a; flex-shrink:0; }
.who { font-size:10px; color:#41545c; overflow-wrap:anywhere; }
.who small { display:block; color:#9aa5a9; font-size:9px; }
.logout button { font-size:10px; margin-left:auto; color:#859499; text-decoration:none; }
.workspace-top { height:69px; margin-left:232px; padding:0 40px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); background:#ffffffb3; font-size:9px; letter-spacing:1px; color:#9ba7ad; }
.workspace-top strong { font-size:11px; color:#5e717a; font-weight:500; letter-spacing:0; }
.workspace-pill { font-size:9px; color:#758982; letter-spacing:.4px; background:#eef4ef; border:1px solid #dce8df; padding:4px 10px; border-radius:20px; }
.app-body main { margin:0 0 0 232px; padding:36px 40px 65px; max-width:1600px; }
.app-body .demo-banner { margin-left:232px; background:#f7efdf; color:#99805c; font-size:10px; font-weight:450; padding:6px 20px; border-bottom:1px solid #eee2cb; }
h1 { font-size:29px; line-height:1.25; font-weight:650; letter-spacing:-1px; margin:0 0 10px; }
h2 { font-size:17px; font-weight:650; letter-spacing:-.25px; }
h3 { font-size:14px; }
.lead { font-size:13px; color:var(--muted); margin:0 0 24px; }
.eyebrow { color:#8d9e9d; letter-spacing:2px; font-size:9px; font-weight:600; margin:0 0 14px; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:25px; }
.page-heading .lead { margin:0; }
.page-heading .button { margin:0; white-space:nowrap; }
.overview-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:28px 0 34px; }
.overview-cards section { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px 24px; box-shadow:0 2px 4px #223a4203; }
.overview-cards span { display:block; color:#7e8e94; font-size:11px; }
.overview-cards strong { display:block; font-size:34px; letter-spacing:-1px; line-height:1.5; font-weight:600; color:#263e46; }
.overview-cards small { display:block; color:#a0adb2; font-size:10px; }
.overview-cards section:nth-child(2) strong { color:#b58a49; }
.overview-cards section:nth-child(3) strong { color:#5c8379; }
.table-wrap { border:1px solid var(--line); border-radius:12px; background:white; margin:20px 0; box-shadow:0 2px 4px #223a4203; }
caption { font-size:13px; padding:19px 22px; color:#3f555f; }
th { font-size:10px; letter-spacing:.3px; color:#94a1a6; font-weight:550; background:#fbfcfc; padding:12px 20px; }
td { padding:19px 20px; font-size:12px; color:#627780; border-bottom:1px solid #edf1f2; vertical-align:middle; }
tbody tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fafcfb; }
td:first-child>a { font-weight:600; color:#263f48; text-decoration:none; }
td:first-child>a:hover { color:var(--accent); }
.badge { font-size:9px; padding:3px 8px; font-weight:550; letter-spacing:.1px; border:0; }
.badge-demo { background:#eef1f3; color:#82939d; }
.badge-pending { background:#fcf2e1; color:#b08a46; }
.badge-confirmed { background:#e8f3ed; color:#52816c; }
.badge-orientative { background:#edf2f5; color:#6c8a9b; }
.panel,.card { border-radius:12px; padding:22px 24px; border-color:var(--line); box-shadow:0 2px 4px #223a4203; }
.cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:22px 0; }
.card h3 { font-size:11px; font-weight:500; color:#819299; }
.card .amount { font-size:25px; font-weight:600; color:#263f48; letter-spacing:-.7px; margin:12px 0; }
.card:last-child { background:#176c5e; color:#fff; border-color:#176c5e; }
.card:last-child .amount { color:#fff; }
.card:last-child h3,.card:last-child .note { color:#c1dacf; }
.card .note { font-size:10px; margin:10px 0 0; }
.meta { color:#8d9da4; font-size:10px; padding:12px 0; line-height:1.8; }
.note { font-size:11px; }
.panel.warn { background:#fffbf2; border-color:#f0e3c8; }
.panel.ok { background:#f3f9f5; border-color:#dfede4; }
.period { justify-content:space-between; margin:25px 0 0; gap:10px; }
.seg { border:1px solid var(--line); border-radius:9px; padding:4px; gap:3px; }
.seg a { border-radius:6px; padding:6px 16px; color:#7b8b93; font-size:11px; }
.seg a[aria-current="true"] { color:#176c5e; background:#eaf3ed; font-weight:650; }
.year-form { font-size:11px; color:#93a0a6; }
.year-form button { margin:0; padding:5px 10px; font-size:10px; }
.tabs ul { border-bottom:1px solid var(--line); gap:4px; margin:20px 0 26px; }
.tabs a { font-size:11px; color:#8a9aa1; padding:10px 12px; }
.tabs a[aria-current="page"] { color:#176c5e; border-bottom:2px solid #176c5e; }
input,select,textarea { font:inherit; font-size:12px; border:1px solid #d9e2e5; background:#fff; border-radius:8px; padding:10px 12px; color:#374e58; }
textarea { width:100%; min-height:130px; }
form label { font-size:11px; font-weight:550; color:#71848c; margin:17px 0 7px; }
fieldset { background:#fcfdfd; border-radius:10px; padding:14px 20px 20px; margin:18px 0; }
legend { font-size:11px; color:#4f6873; }
.actions { margin:15px 0; }
.status { font-size:10px; font-weight:550; padding:4px 8px; border-radius:6px; background:#f2f5f5; }
.status-confirmed { background:#edf6f0; }
.status-needs_review,.status-possible_duplicate { background:#fff4e2; }
table.calc { max-width:640px; }
table.calc th { background:none; letter-spacing:0; font-size:11px; color:#7d8e95; padding:10px 0; }
table.calc td { font-size:12px; color:#3d5660; padding:10px 0; }
.login-body { min-height:100vh; background:radial-gradient(ellipse at 15% 20%,#e7f2ea,transparent 60%),#f5f7f8; }
.login-body header.top { border:0; background:transparent; padding:32px 42px; }
.login-body .brand { padding:0; }
.login { border:1px solid #e1e8e6; box-shadow:0 16px 65px #1b554b0a; border-radius:18px; padding:40px; margin:6vh auto; }
.login h1 { font-size:27px; margin-bottom:26px; }
.login button { width:100%; margin-top:24px; }
@media(min-width:1600px) { .app-body main { padding-right:60px; padding-left:60px; } }
@media(max-width:1100px) { .cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .app-body main { padding:28px 25px; } .workspace-top { padding:0 25px; } .brand a { font-size:22px; } }
@media(max-width:760px) { .app-body header.top { position:relative; inset:auto; width:100%; padding:16px 20px 0; border-right:0; border-bottom:1px solid var(--line); } .brand { padding:0 0 14px; } .brand a { font-size:21px; } .brand-sub { font-size:9px; } .brand-mark { width:32px; height:35px; font-size:26px; } .nav-label,.sidebar-note,.app-body .logout,.workspace-top { display:none; } header nav ul { flex-direction:row; flex-wrap:nowrap; gap:3px; overflow:auto; } header nav li a { padding:10px; font-size:11px; white-space:nowrap; border-radius:6px 6px 0 0; } .nav-dot { display:none; } .app-body main { margin-left:0; padding:26px 18px; } .app-body .demo-banner { margin-left:0; font-size:9px; } h1 { font-size:25px; } .page-heading { gap:12px; align-items:start; } .page-heading .button { font-size:10px; padding:9px; } .overview-cards { gap:8px; } .overview-cards section { padding:14px 12px; } .overview-cards strong { font-size:27px; } .overview-cards small { font-size:8px; } .overview-cards span { font-size:9px; } .cards { gap:10px; } .card { padding:18px 16px; } .card .amount { font-size:21px; } .tabs ul { flex-wrap:nowrap; overflow:auto; } .tabs a { white-space:nowrap; } .panel { padding:19px; } .seg a { padding:6px 11px; } .period { margin-top:20px; } td { padding:15px; } .login { padding:28px; } .login-body header.top { padding:24px; } }
@media(prefers-reduced-motion:reduce) { * { transition:none!important; } }

/* Everyday actions first; accounting controls remain available on demand. */
.back-link { margin:0 0 18px; font-size:12px; }
.back-link a { text-decoration:none; font-weight:600; }
.advanced-nav { margin:-10px 0 26px; color:var(--muted); }
.advanced-nav>summary { font-size:12px; font-weight:500; }
.advanced-nav .tabs ul { margin:12px 0 0; flex-wrap:wrap; }
.reading-options { margin:18px 0; }
.intake-upload input[type=file] { display:block; width:100%; max-width:680px; padding:25px 18px; border:2px dashed #cbded5; background:#f7faf8; }
.intake-history { margin-top:28px; }
.intake-history>summary { font-size:13px; color:var(--muted); }
@media(max-width:760px) { .client-heading { flex-direction:column; align-items:stretch; } .client-heading .button { font-size:13px; text-align:center; padding:12px; } .advanced-nav .tabs ul { flex-wrap:wrap; } }

.delivery-files { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.delivery-files input[type=file] { flex:1 1 320px; min-width:0; }
.delivery-files button { flex:0 0 auto; margin:0; }

.file-classification-row,.classification-form { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:12px 0; }
.file-classification-row>span { flex:1 1 230px; overflow-wrap:anywhere; }
.file-classification-row select,.file-classification-row input { flex:1 1 190px; min-width:0; }
.classification-form>div { flex:1 1 220px; }
.classification-form button { margin:0; }
.document-checklist { list-style:none; padding:0; }
.document-checklist li { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; border-bottom:1px solid var(--line); padding:10px 0; }
.expected-documents { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:8px; margin:16px 0; }
.expected-documents small { color:var(--muted); }
tr.priority th, tr.priority td { background: var(--warn-bg); }

/* ---- Móvil (revisión 2026-11-06): sin zoom al escribir, zonas táctiles de ~44px, menú completo, salir visible,
        textos legibles y tabla de documentos como tarjetas. Solo afecta a pantallas de hasta 760px. ---- */
@media (max-width:760px) {
  input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea { font-size:16px; }
  input[type=file] { font-size:14px; max-width:100%; }
  header nav ul { flex-wrap:wrap; overflow:visible; row-gap:2px; }
  header nav li a { font-size:13px; padding:12px 10px; min-height:44px; display:flex; align-items:center; }
  .app-body .logout { display:flex; align-items:center; gap:10px; margin:4px 0 10px; padding:10px 0 0; border-top:1px solid var(--line); }
  .who { font-size:12px; }
  .who small { font-size:11px; }
  .logout button { font-size:13px; min-height:44px; padding:0 10px; }
  .brand-sub { font-size:11px; }
  .app-body .demo-banner { font-size:12px; padding:8px 18px; }
  .seg a { min-height:44px; display:flex; align-items:center; padding:8px 14px; font-size:14px; }
  button, .button { min-height:44px; }
  .page-heading .button { font-size:14px; padding:12px; }
  label.radio, label.check { min-height:44px; display:flex; align-items:center; gap:10px; font-size:15px; }
  input[type=radio], input[type=checkbox] { width:20px; height:20px; flex:none; }
  summary { padding:12px 0; }
  .back-link { font-size:14px; }
  .back-link a { display:inline-block; padding:12px 0; }
  .overview-cards small { font-size:11px; }
  .overview-cards span { font-size:12px; }
  .doc-table thead { display:none; }
  .doc-table caption { display:block; width:100%; text-align:left; }
  .doc-table, .doc-table tbody { display:block; width:100%; }
  .doc-table tbody tr { display:grid; grid-template-columns:1fr auto; grid-template-areas:"name name" "kind status" "date total"; gap:4px 12px; padding:14px 2px; border-bottom:1px solid var(--line); }
  .doc-table td { padding:0; border:0; }
  .doc-table .d-name { grid-area:name; font-size:15px; font-weight:600; }
  .doc-table .d-name a { display:inline-block; padding:4px 0; }
  .doc-table .d-kind { grid-area:kind; color:var(--muted); font-size:13px; }
  .doc-table .d-status { grid-area:status; justify-self:end; }
  .doc-table .d-date { grid-area:date; color:var(--muted); font-size:13px; }
  .doc-table .d-total { grid-area:total; justify-self:end; font-weight:600; }
  .doc-table .d-total:empty { display:none; }
}
