/* v97 — linguaggio visivo uniforme per le schermate operative */
:root{--ui-green:#28583f;--ui-green-dark:#1e4732;--ui-border:#e5e9e2;--ui-shadow:0 8px 24px rgba(29,48,36,.055);--ui-shadow-hover:0 12px 28px rgba(29,48,36,.09)}
.page-head{align-items:center;gap:16px;margin-bottom:22px}
.page-head h1{font-size:clamp(25px,2.25vw,33px);line-height:1.14;letter-spacing:-.035em;color:var(--ink,#203128)}
.sub{max-width:72ch;color:#68746b;line-height:1.55}
.card,.panel{border-color:var(--ui-border);box-shadow:var(--ui-shadow);transition:box-shadow .18s ease,border-color .18s ease}
.card{border-radius:16px}
.card:hover,.panel:hover{border-color:#d9e1d8;box-shadow:var(--ui-shadow-hover)}
.stats{gap:12px;margin:20px 0 16px}
.stat{border-radius:15px;padding:17px 19px;box-shadow:0 2px 8px rgba(29,48,36,.035)}
.stat-label{font-size:10px;letter-spacing:.11em;line-height:1.4}
.stat-value{line-height:1.12;font-variant-numeric:tabular-nums}
.btn{min-height:40px;border-radius:10px;padding-inline:15px;font-size:13px;font-weight:700;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
.btn:not(:disabled):active{transform:translateY(1px)}
.btn:focus-visible,.select:focus-visible,.field:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid rgba(40,88,63,.22);outline-offset:2px}
.btn.primary{background:var(--ui-green);border-color:var(--ui-green);box-shadow:0 2px 5px rgba(40,88,63,.13)}
.btn.primary:hover{background:var(--ui-green-dark);border-color:var(--ui-green-dark);box-shadow:0 5px 12px rgba(40,88,63,.18)}
.btn.danger{background:#fff7f5;border-color:#f0d1cb;color:#a23529}
.btn.danger:hover{background:#a92f25;border-color:#a92f25;color:#fff}
.btn.small{min-height:34px;border-radius:9px}
.select,.field,textarea{border-color:#dce2da;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease}
.select:focus,.field:focus,textarea:focus{border-color:#6b9476;box-shadow:0 0 0 3px rgba(50,105,71,.10);outline:none}
.table-wrap{border-color:var(--ui-border);border-radius:14px;box-shadow:0 2px 9px rgba(29,48,36,.035)}
.table th{background:#f2f4ef;color:#59665c;letter-spacing:.08em;border-bottom:1px solid var(--ui-border)}
.table td{border-bottom-color:#edf0eb}
.table tbody tr:nth-child(even){background:#fcfdfa}
.table tbody tr:hover{background:#f4f8f3}
.badge{padding:5px 9px;border:1px solid transparent;line-height:1.25;letter-spacing:.01em}
.badge.green{background:#eaf3ec;border-color:#d9e9dc;color:#2c6441}
.badge.red{background:#fff0ed;border-color:#f4d8d2;color:#a53b30}
.toolbar{gap:9px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:13px;background:#fbfcfa}
@media(prefers-reduced-motion:reduce){.card,.panel,.btn,.select,.field,textarea{transition:none}}