/* Tri et pré-saisie des pièces — démo Forge Labs. S'appuie sur ../_shared/demo.css et compta.css. */

:root { --mono: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "P052", Georgia, serif; }

.tri { max-width: 1320px; margin: 0 auto; padding: 28px var(--gutter) 48px; display: grid; gap: 24px; }
.tri > * { min-width: 0; }
.tri h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 24em; margin: 10px 0; }
.tri .lead { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 54rem; margin-bottom: 16px; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; color: var(--sapin-800); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sapin-800); color: #fff; font-size: .78rem; }

/* ---------- Plateau ---------- */
.board { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(14px, 2vw, 24px); box-shadow: 0 1px 2px rgba(15, 34, 30, .05), 0 10px 30px -16px rgba(15, 34, 30, .25); display: grid; gap: 16px; min-width: 0; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.dossier { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 380px; }
.dossier h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 0 0 2px; }
.dossier p { margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-go { min-height: 50px; font-size: 1.02rem; padding: .8em 1.4em; box-shadow: 0 8px 20px -10px rgba(31, 61, 54, .8); }
.btn-go:disabled { cursor: default; opacity: .75; }
.btn-go[aria-busy="true"] { cursor: progress; }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stats div { background: var(--papier-50); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.stats dt { font-size: .76rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.stats dd { margin: 4px 0 0; font: 700 1.5rem/1 var(--font-display); color: var(--sapin-900); font-variant-numeric: tabular-nums; }
.stats .s-v dd { color: var(--verif-500); }
.stats .s-s dd { color: var(--stop-600); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; } .stats div:first-child dd { margin: 0; } }
.status { margin: 0; color: var(--muted); min-height: 1.4em; }
.progress { height: 6px; border-radius: 99px; background: var(--papier-100); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--sapin-700); transition: width .3s ease; }

.inbox-wrap h3, .lane h3 { font: 700 .95rem/1.2 var(--font-body); margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.inbox { list-style: none; margin: 0; padding: 12px; border-radius: 14px; border: 1px dashed var(--papier-300); display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; min-height: 90px; }
.inbox:empty { display: none; }

.lanes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1240px) { .lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lanes { grid-template-columns: minmax(0, 1fr); } }
.lane { background: var(--papier-50); border: 1px solid var(--line); border-top: 4px solid var(--sapin-600); border-radius: 12px; padding: 10px; min-width: 0; }
.lane h3 { justify-content: space-between; font-size: .88rem; flex-wrap: nowrap; align-items: flex-start; }
.lane-n { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--sapin-800); color: #fff; font: 700 .78rem/22px var(--font-body); text-align: center; }
.lane-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (max-width: 760px) { .lane-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.lane-empty { margin: 4px 0 0; color: var(--muted); }
.lane-list:not(:empty) + .lane-empty { display: none; }
.lane-ventes { border-top-color: #2f6b8a; }
.lane-banque { border-top-color: #5a5f8f; }
.lane-social { border-top-color: #7a5a8a; }
.lane-immo { border-top-color: var(--verif-500); }
.lane-demande { border-top-color: var(--stop-600); background: #fff8f6; }

/* ---------- Carte pièce ---------- */
.pc { min-width: 0; position: relative; }
.pc.moving { z-index: 30; }
.pc.moving .pc-btn { box-shadow: 0 18px 36px -12px rgba(15, 34, 30, .5); }
.pc-btn { display: grid; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pc-btn:hover { border-color: var(--sapin-700); box-shadow: 0 6px 16px -10px rgba(15, 34, 30, .45); }
.pc-thumb { position: relative; display: block; height: 112px; overflow: hidden; background: var(--papier-200); border-bottom: 1px solid var(--line); }
.pc-thumb .doc { position: absolute; left: 50%; top: 8px; width: 400px; margin-left: -80px; transform: scale(.4); transform-origin: top left; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.lane .pc-thumb { height: 74px; }
.pc-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.pc.scan .pc-scan { opacity: 1; background: linear-gradient(180deg, transparent 0, rgba(57, 160, 120, .0) 40%, rgba(57, 200, 140, .55) 50%, rgba(57, 160, 120, 0) 60%, transparent 100%); background-size: 100% 240%; animation: scan .52s linear; }
.pc.scan .pc-btn { border-color: #39a078; box-shadow: 0 0 0 3px rgba(57, 160, 120, .25); }
@keyframes scan { from { background-position: 0 120%; } to { background-position: 0 -20%; } }
.pc-meta { display: grid; gap: 3px; padding: 8px 9px 9px; min-width: 0; }
.pc-id { font: 800 .72rem/1 var(--font-body); color: var(--sapin-700); letter-spacing: .06em; }
.pc-file { font: 600 .78rem/1.25 var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-src { font-size: .72rem; color: var(--muted); }
.pc-res { display: grid; gap: 4px; }
.pc-res:empty { display: none; }
.pc-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; font-size: .78rem; }
.pc-line b { font-variant-numeric: tabular-nums; }
.pc-acc { font: 600 .72rem/1 var(--mono); color: var(--sapin-700); background: var(--sapin-100); padding: 3px 5px; border-radius: 4px; }
.pc-ok { display: inline-block; font: 700 .68rem/1 var(--font-body); color: var(--ok-600); background: var(--ok-100); padding: 3px 6px; border-radius: 4px; }
.lane .pc-src { display: none; }
.pc.done .pc-res { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
.pc.st-ecarte .pc-thumb { opacity: .55; }
.conf { font: 700 .72rem/1 var(--font-body); padding: 3px 6px; border-radius: 99px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.conf.hi { background: var(--ok-100); color: #24502f; }
.conf.mid { background: var(--verif-100); color: #6b4705; }
.conf.lo { background: var(--stop-100); color: #7d1f1f; }

/* ---------- Documents dessinés ---------- */
.doc { background: #fff; color: #1d2421; font: 400 12px/1.4 var(--font-body); padding: 18px 20px; border-radius: 2px; text-align: left; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { padding: 4px 5px; vertical-align: top; }
.doc .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc p { margin: 0; }
.doc-fac { position: relative; }
.df-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid #1f3d36; }
.df-em { font: 700 15px/1.2 var(--font-display); color: #1f3d36; }
.df-em span { font: 500 10px var(--font-body); color: #66706c; }
.df-sub { font-size: 10.5px; color: #66706c; }
.df-ti { text-align: right; font-size: 11px; }
.df-t { font: 800 16px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.df-dest { margin: 10px 0 10px auto; width: 58%; border: 1px solid #c9cfcc; padding: 6px 8px; display: grid; font-size: 11px; }
.df-dest span { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #66706c; }
.df-dest i { font-style: normal; color: #66706c; }
.df-l thead th { background: #eef2f0; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; text-align: left; }
.df-l thead th.r { text-align: right; }
.df-l td { border-bottom: 1px solid #e3e7e5; }
.df-tot { width: 52% !important; margin: 8px 0 0 auto; }
.df-tot th { text-align: left; font-weight: 600; }
.df-tot td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.df-tot .ttc th, .df-tot .ttc td { border-top: 2px solid #1f3d36; font-weight: 800; font-size: 13px; }
.df-foot { margin-top: 10px !important; font-size: 9.5px; color: #66706c; }
.df-stamp { position: absolute; right: 18px; top: 92px; transform: rotate(-8deg); border: 2px solid #a42a2a; color: #a42a2a; font: 800 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 4px; opacity: .8; }
.doc-scan { filter: grayscale(.4) contrast(.95); background: #fbfaf6; }

.doc-tk, .doc-fl .fl-in { font: 500 12px/1.45 var(--mono); width: 74%; margin: 0 auto; background: #fffdf7; padding: 14px 14px 18px; box-shadow: 0 0 0 1px #ece6d6; }
.doc-tk { -webkit-mask: linear-gradient(#000 calc(100% - 8px), transparent 0), conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 12px 8px repeat-x; mask: linear-gradient(#000 calc(100% - 8px), transparent 0), conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 12px 8px repeat-x; }
.tk-shop { text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.tk-c { text-align: center; font-size: 11px; color: #4f5653; }
.doc hr { border: 0; border-top: 1px dashed #9aa29e; margin: 7px 0; }
.tk-l { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.tk-b { font-weight: 800; font-size: 13px; }
.tk-s { font-size: 10.5px; color: #4f5653; }
.tk-s span { flex: 1; text-align: right; }
.tk-s span:first-child { text-align: left; }

.doc-fl { position: relative; overflow: hidden; background: #6f6a60; padding: 26px 10px; }
.doc-fl .fl-in { filter: blur(2.6px); transform: rotate(-7deg) scale(.96); }
.fl-glare { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, .55), transparent 45%); }

.doc-rl { font-size: 11px; }
.rl-top { border-bottom: 2px solid #2b3550; padding-bottom: 8px; margin-bottom: 8px; display: grid; gap: 1px; }
.rl-b { font: 800 14px/1.2 var(--font-display); color: #2b3550; }
.doc-rl thead th { text-align: left; background: #eceef4; font-size: 10px; text-transform: uppercase; }
.doc-rl thead th.r { text-align: right; }
.doc-rl td { border-bottom: 1px solid #e6e8ee; font-size: 10.5px; }
.doc-rl td:nth-child(2) { font-family: var(--mono); font-size: 9.5px; }
.rl-s td { font-weight: 700; background: #f6f7fa; }

.doc-nf .nf-t { font: 800 16px/1.2 var(--font-display); color: #1f3d36; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.doc-nf dl { margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.doc-nf dt { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: #66706c; }
.doc-nf dd { margin: 0; font-weight: 600; }
.doc-nf thead th { background: #eef2f0; font-size: 10px; text-transform: uppercase; text-align: left; }
.doc-nf thead th.r { text-align: right; }
.doc-nf td { border-bottom: 1px solid #e3e7e5; }
.nf-tot td { font-weight: 800; border-top: 2px solid #1f3d36; }
.nf-sig { margin-top: 10px !important; font-size: 10.5px; color: #4f5653; display: flex; align-items: center; gap: 8px; }
.nf-scrib { display: inline-block; width: 70px; height: 18px; border-bottom: 1.5px solid #2c4b8a; border-radius: 0 0 40% 60%; transform: skewX(-20deg); }

.doc-ur .ur-org { font: 800 18px/1 var(--font-display); color: #24407a; letter-spacing: .02em; }
.doc-ur .ur-t { font: 700 13px/1.3 var(--font-body); margin-top: 8px !important; }
.doc-ur .ur-s { font-size: 10.5px; color: #4f5653; }
.doc-ur .ur-m { font-size: 10px; color: #66706c; margin: 8px 0 !important; }
.doc-ur thead th { background: #e9edf6; font-size: 10px; text-align: left; }
.doc-ur thead th.r { text-align: right; }
.doc-ur td { border-bottom: 1px solid #e3e6ee; }

/* ---------- Fiche (fenêtre modale) ---------- */
dialog.fiche { width: min(1120px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 16px; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
dialog.fiche::backdrop { background: rgba(15, 34, 30, .62); }
.fiche-in { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 24px); }
.fiche-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--sapin-900); color: var(--papier-100); }
.fiche-head h2 { font: 600 1.05rem/1.25 var(--mono); margin: 2px 0 0; color: #fff; overflow-wrap: anywhere; }
.fiche-k { margin: 0; font-size: .78rem; color: var(--sapin-300); font-weight: 600; }
.fiche-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.fiche-x:hover { background: rgba(255, 255, 255, .1); }
.fiche-body { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); overflow: auto; min-height: 0; }
.fiche-doc { padding: 18px; border-right: 1px solid var(--line); }
.fiche-doc .doc { max-width: 440px; margin: 0 auto; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); }
.fiche-data { padding: 18px 20px 22px; min-width: 0; }
@media (max-width: 860px) {
  .fiche-body { grid-template-columns: minmax(0, 1fr); }
  .fiche-doc { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .fiche-data { padding: 14px; }
  .fiche-doc .doc { font-size: 11px; padding: 14px; }
}
.f-wait { background: var(--papier-50); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cat { display: inline-block; padding: 5px 10px; border-radius: 99px; font: 700 .8rem/1 var(--font-body); background: var(--sapin-100); color: var(--sapin-900); }
.cat-demande { background: var(--stop-100); color: #7d1f1f; }
.cat-immo { background: var(--verif-100); color: #6b4705; }
.f-conf { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.meter { width: 90px; height: 8px; border-radius: 99px; background: var(--papier-100); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--sapin-700); }
.f-conf b { color: var(--ink); font-variant-numeric: tabular-nums; }
.f-flags { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.f-flags li { border-radius: 10px; padding: 10px 12px; background: var(--verif-100); border: 1px solid var(--verif-200); border-left: 5px solid var(--verif-500); }
.f-flags li.ff-s { background: var(--stop-100); border-color: #efc2bd; border-left-color: var(--stop-600); }
.f-flags p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; color: #2e2306; }
.f-flags li.ff-s p { color: #3d0f0f; }
.f-dl { margin: 0 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.f-dl > div { padding: 8px 10px; border-bottom: 1px solid var(--line); min-width: 0; }
.f-dl > div:nth-child(odd):not(.w) { border-right: 1px solid var(--line); }
.f-dl .w { grid-column: 1 / -1; }
.f-dl dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.f-dl dd { margin: 2px 0 0; font-size: .92rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.f-dl .tv { display: inline-block; margin-right: 14px; }
.f-dl .tv small { color: var(--muted); }
@media (max-width: 480px) { .f-dl { grid-template-columns: minmax(0, 1fr); } .f-dl > div:nth-child(odd):not(.w) { border-right: 0; } }
.f-h { font: 700 .92rem/1.2 var(--font-body); margin: 14px 0 8px; }
table.ent { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .85rem; }
.ent th, .ent td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ent th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ent .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ent .aux { font: 600 .72rem var(--mono); color: var(--sapin-700); }
.acc-l { font-size: .74rem; color: var(--muted); }
.ent-tot td { font-weight: 700; border-bottom: 0; }
.eq { color: var(--ok-600); }
.neq { color: var(--stop-600); }
.f-note { margin: 10px 0 0; color: var(--muted); }
.f-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.f-act .small { flex: 1 1 220px; }
.rap { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .82rem; }
.rap li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; gap: 2px 8px; padding: 6px 8px; border-radius: 8px; background: var(--papier-50); border-left: 4px solid var(--ok-600); }
.rap li.ko { border-left-color: var(--stop-600); background: #fff6f4; }
.rap li.fr { border-left-color: var(--sapin-300); }
.rap-l { font-family: var(--mono); font-size: .74rem; overflow-wrap: anywhere; }
.rap-m { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rap-s { grid-column: 2 / -1; font-size: .74rem; font-weight: 700; color: var(--sapin-700); }
.rap li.ko .rap-s { color: var(--stop-600); }

/* ---------- Résultats ---------- */
.results { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 2vw, 24px); display: grid; gap: 16px; animation: pop .4s ease; }
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.res-head h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0 0 4px; }
.res-head p { margin: 0; max-width: 64ch; }
table.recap { width: 100%; min-width: 1020px; border-collapse: collapse; font-size: .86rem; }
.recap th, .recap td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.recap thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--papier-50); white-space: nowrap; }
.recap .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap tbody tr { cursor: pointer; }
.recap tbody tr:hover { background: var(--papier-50); }
.recap .muted-row td { color: var(--muted); }
.recap .tiers { max-width: 220px; }
.recap tfoot th, .recap tfoot td { font-weight: 800; border-top: 2px solid var(--sapin-800); border-bottom: 0; background: var(--sapin-100); }
.recap .flag { margin-top: 4px; }
.lnk { font: 800 .86rem/1 var(--font-body); color: var(--sapin-700); background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; }
.res-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: minmax(0, 1fr); } }
.card { box-shadow: none; border-radius: 14px; padding: 16px 18px; }
.card h3 { font: 700 1rem/1.2 var(--font-body); margin: 0 0 10px; }
.check-list, .ask-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.check-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; line-height: 1.45; }
.ck-i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 .8rem/1 var(--font-body); color: #fff; background: var(--ok-600); }
.ck-v .ck-i { background: var(--verif-500); }
.ck-ko .ck-i { background: var(--stop-600); }
.ask-list li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; line-height: 1.45; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ask-id { font: 800 .76rem/1.6 var(--font-body); color: var(--sapin-700); }
.ask-out { color: #7d1f1f; }
.ask-out .ask-id { color: var(--stop-600); }
.asks .muted { margin: 10px 0 0; }
.export-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--verif-100); border: 1px solid var(--verif-200); color: #3e2a03; }

.warn { display: flex; gap: 12px; align-items: flex-start; background: var(--verif-100); border: 1px solid var(--verif-200); border-left: 5px solid var(--verif-500); color: #3e2a03; border-radius: 12px; padding: 14px 16px; }
.warn svg { flex: none; color: var(--verif-500); margin-top: 1px; }
.warn p { margin: 0; font-size: .92rem; line-height: 1.5; }
.warn strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #2f2002; }

@media (max-width: 480px) {
  .actions { width: 100%; }
  .btn-go { width: 100%; }
  .board { padding: 12px; border-radius: 14px; }
  .inbox { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 8px; }
  .lane-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-file { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pc.scan .pc-scan { animation: none; opacity: 0; }
  .progress span { transition: none; }
}
