:root{--wine:#751f35;--wine-dark:#49182b;--ink:#2a2022;--line:#e8dfdd;--sand:#f8f5f2;--gray:#776e6f;--white:#fff}*{box-sizing:border-box}body{margin:0;background:#fbf9f8;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,select,input{font:inherit}button{cursor:pointer}.site-shell{max-width:1200px;margin:0 auto;padding:0 28px}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:20px 0 22px}.brand{display:flex;align-items:center;gap:14px;color:var(--ink)}.brand-emblem{border:2px solid var(--wine);color:var(--wine);border-radius:50%;width:49px;height:49px;display:grid;place-items:center;font:800 16px Georgia,serif;letter-spacing:-2px}.brand b{font-size:16px;letter-spacing:2.4px;display:block}.brand small{color:var(--gray);font-size:9px;letter-spacing:2.3px;display:block;margin-top:4px}.status-tag{font-size:12px;background:#f3ece8;padding:9px 12px;border-radius:99px;color:#75565b}.eyebrow{color:var(--wine);letter-spacing:2.3px;font-size:11px;font-weight:750;margin-top:58px}h1{font-size:clamp(32px,4.7vw,54px);letter-spacing:-2.5px;font-weight:650;line-height:1.12;max-width:840px;margin:15px 0 16px}h1 em{font-style:normal;color:var(--wine);font-family:Georgia,serif;font-weight:500}.lead{font-size:15px;line-height:1.85;max-width:730px;color:#62585a;margin-bottom:35px}.layout{display:grid;grid-template-columns:.94fr 1.06fr;gap:23px;align-items:start}.panel{border:1px solid var(--line);border-radius:18px;background:var(--white);box-shadow:0 8px 35px #44220d08;padding:28px}.section-head{display:flex;align-items:center;gap:12px;margin-bottom:25px}.step{width:30px;height:30px;background:#f7eaeb;color:var(--wine);font-weight:800;font-size:12px;display:grid;place-items:center;border-radius:8px}.section-head h2{font-size:18px;letter-spacing:-.45px;margin:0;font-weight:690}.field-title{font-size:13px;font-weight:700;display:block;margin-bottom:10px}select,input[type=number]{border:1px solid #d7cbca;background:#fff;color:var(--ink);border-radius:10px}select{width:100%;padding:15px 17px;min-height:53px;font-size:14px}select:focus,input:focus{outline:2px solid #a87583}.input-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0}.input-row .field-title{margin-bottom:4px}.input-row input{width:125px;height:55px;text-align:center;font-size:26px;color:var(--wine);font-weight:700}.form-caption{font-size:11px;line-height:1.6;color:var(--gray)}.hint{background:var(--sand);padding:15px 16px;border-radius:10px;color:#746767;font-size:12px;line-height:1.65;margin:21px 0}.button{min-height:52px;border-radius:10px;border:1px solid transparent;width:100%;font-weight:750;font-size:14px;transition:background .2s}.button:disabled{opacity:.58;cursor:wait}.button-primary{background:var(--wine);color:white;display:flex;align-items:center;justify-content:center;gap:12px}.button-primary:hover{background:var(--wine-dark)}.button-primary span{font-size:23px;font-weight:350}.button-secondary{background:#751f35;color:white}.button-light{background:#faf6f4;color:#751f35;border-color:#cfb3b6}.footnote{font-size:11px;color:var(--gray);border-top:1px solid var(--line);padding-top:22px;margin-top:23px;line-height:1.8}.preview-panel .section-head{margin-bottom:15px}.preview-tag{margin-left:auto;border:1px solid #e2c6c9;color:var(--wine);font-weight:700;border-radius:7px;padding:6px 9px;font-size:10px;letter-spacing:1.4px}.preview-frame{background:#f6f1ed;border-radius:11px;display:flex;justify-content:center;padding:22px 24px;align-items:center}.preview-frame canvas{max-height:650px;max-width:100%;width:auto;height:auto;box-shadow:0 12px 27px #2212141c;background:white}.preview-notice{text-align:center;color:#8a7978;font-size:11px;margin-top:14px}.registry-panel{margin-top:24px}.registry-explain{color:#766769;font-size:12px;line-height:1.8;margin:7px 0 20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stats>div{background:#faf7f5;border:1px solid #eee3e0;border-radius:12px;padding:14px}.stats small{display:block;color:#8b7979;letter-spacing:1px;font-size:10px}.stats strong{display:block;color:var(--wine);font-size:26px;margin-top:4px}.stats .stat-total{background:#f7ebea;border-color:#efd5d6}.registry-actions{display:flex;gap:12px;margin:20px 0 27px}.registry-actions>.button{width:50%;padding:8px 14px}.history-head{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:22px}.history-head h3{font-size:15px;margin:0}.history-actions{display:flex;gap:18px}.text-button{background:transparent;border:none;font-weight:700;color:var(--wine);font-size:12px;padding:8px 0}.text-button:hover{text-decoration:underline}.history-list{min-height:42px}.history-record{display:grid;grid-template-columns:1.3fr 1fr 1.1fr .8fr;align-items:center;gap:8px;border-top:1px solid var(--line);padding:12px 0;font-size:12px}.muted{color:#928486;font-size:12px}.warning{color:#715f5d;font-size:12px;line-height:1.8;padding:10px 0 25px}.warning b{color:var(--wine)}footer{border-top:1px solid var(--line);color:#988b8b;font-size:11px;padding:22px 0 35px;letter-spacing:.5px}.progress{margin-top:20px}.progress-track{height:7px;background:#eee3e2;border-radius:20px;overflow:hidden}.progress-track>div{height:100%;width:0%;background:var(--wine);transition:width .1s}.progress span{display:block;margin-top:9px;color:var(--gray);font-size:12px}#status{min-height:20px;font-size:12px;line-height:1.6;margin-bottom:0}#status.ok{color:#26714f}#status.error{color:#ab2b31}@media(max-width:850px){.site-shell{padding:0 17px}.layout{grid-template-columns:1fr}.eyebrow{margin-top:38px}.panel{padding:21px}.topbar{gap:12px}.brand b{font-size:12px}.status-tag{font-size:10px}.history-head{align-items:start;flex-direction:column}.history-actions,.registry-actions{flex-wrap:wrap}.registry-actions>.button{width:100%}.stats{grid-template-columns:repeat(2,1fr)}.history-record{grid-template-columns:1fr 1fr}.preview-frame{padding:15px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* v1.1.2: counter mutat sub generator, în spațiul liber din coloana stângă */
.control-column{display:flex;flex-direction:column;gap:22px;min-width:0}
.stats-panel .section-head{margin-bottom:10px}
.stats-panel{padding:24px 28px}
.stats-panel .step{font-size:17px}
.stats-panel .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stats-panel .stats>div{padding:16px 18px;min-width:0}
.stats-panel .stats small{font-size:10px;font-weight:650;line-height:1.5}
.stats-panel .stats strong{font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums}
.stats-caption,.stats-note{color:var(--gray);font-size:12px;line-height:1.7}
.stats-caption{margin:0 0 16px}
.stats-note{margin:16px 0 0;font-size:11px}
@media(max-width:850px){.stats-panel{padding:21px}.control-column{gap:20px}}
@media(max-width:370px){.stats-panel .stats>div{padding:12px}.stats-panel .stats strong{font-size:28px}.stats-panel .stats small{font-size:9px}}
/* Formulare autentificare / instalare */
.wide-input{display:block;width:100%;max-width:600px;padding:13px 15px;border:1px solid #d7cbca;border-radius:10px;background:#fff;margin:0 0 20px;font:inherit;color:#2a2022}
.wide-input:focus{outline:2px solid #a87583}
.history-record{align-items:center}
.history-record .text-button{white-space:nowrap}
/* Istoric server: cinci coloane, ultima pentru recuperarea unui ZIP deja emis. */
.history-record{grid-template-columns:minmax(130px,1.45fr) minmax(140px,1fr) minmax(130px,1fr) minmax(100px,.7fr) 110px;overflow-wrap:anywhere}
@media(max-width:850px){.history-record{grid-template-columns:1fr 1fr}.history-record>.text-button{justify-self:start}}

.login-panel{max-width:520px}
.setup-panel{max-width:650px}
