/* Omeganetwork – Configuratore etichette (mobile first) */
.oe-app{width:min(1200px,calc(100vw - 32px));margin-left:calc(50% - min(600px,50vw - 16px))!important;margin-right:0!important;max-width:none!important;--oe-ink:#111;--oe-mut:#5b5b5b;--oe-line:#dedede;--oe-bg:#f6f6f4;--oe-acc:#ffd23f;--oe-red:#d42020;--oe-ok:#1d7a3a;--oe-r:12px;color:var(--oe-ink);font-size:16px;line-height:1.45;padding-bottom:84px}
.oe-app *,.oe-app *::before,.oe-app *::after{box-sizing:border-box}
.oe-app button,.oe-app input,.oe-app textarea,.oe-app select{font:inherit;color:inherit}
.oe-loading,.oe-muted{color:var(--oe-mut)}
.oe-test{background:#fff4cc;border:1px solid #e8c95a;border-radius:var(--oe-r);padding:10px 14px;margin:0 0 14px;font-size:14px}
.oe-steps{list-style:none;margin:0 0 16px;padding:0 0 6px;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;position:relative;counter-reset:s}
.oe-steps::-webkit-scrollbar{display:none}
.oe-steps::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--oe-p,0);background:var(--oe-ink);border-radius:3px;transition:width .3s}
.oe-steps li{flex:0 0 auto;margin:0;padding:0}
.oe-steps li>*{display:flex;align-items:center;gap:6px;font-size:13px;padding:6px 10px;border-radius:99px;border:1px solid var(--oe-line);background:#fff;white-space:nowrap;color:var(--oe-mut)}
.oe-steps li>* span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--oe-bg);font-size:11px;font-weight:700}
.oe-steps li button{cursor:pointer}
.oe-steps .is-done>*{color:var(--oe-ink)}
.oe-steps .is-done>* span{background:var(--oe-acc)}
.oe-steps .is-now>*{background:var(--oe-ink);color:#fff;border-color:var(--oe-ink)}
.oe-steps .is-now>* span{background:var(--oe-acc);color:var(--oe-ink)}
.oe-grid{display:grid;gap:20px}
.oe-main{min-width:0}
.oe-h{font-size:22px;line-height:1.2;margin:0 0 14px;display:flex;flex-direction:column;gap:2px}
.oe-h small{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--oe-mut)}
.oe-sub{font-size:16px;margin:18px 0 8px}
.oe-lead{margin:0 0 12px;color:var(--oe-mut);font-size:15px}
.oe-note{font-size:13px;color:var(--oe-mut);background:var(--oe-bg);border-radius:8px;padding:8px 12px;margin:12px 0 0}
.oe-cards{display:grid;gap:10px;grid-template-columns:1fr}
.oe-cards-5,.oe-cards-4{grid-template-columns:repeat(2,1fr)}
.oe-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;background:#fff;border:2px solid var(--oe-line);border-radius:var(--oe-r);padding:12px;cursor:pointer;transition:border-color .15s,box-shadow .15s;min-height:56px;width:100%}
.oe-card:hover{border-color:#999}
.oe-card.is-on{border-color:var(--oe-ink);box-shadow:0 0 0 3px var(--oe-acc)}
.oe-card.is-on::after{content:"✓";position:absolute;top:8px;right:10px;width:22px;height:22px;border-radius:50%;background:var(--oe-ink);color:#fff;font-size:13px;display:grid;place-items:center}
.oe-card.is-off{opacity:.45;cursor:not-allowed}
.oe-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:4px;background:var(--oe-bg)}
.oe-card-t{font-weight:700;font-size:15px;padding-right:24px}
.oe-card-d{font-size:13px;color:var(--oe-mut)}
.oe-ico{display:block;width:100%;max-width:150px;margin-bottom:4px}
.oe-ico svg{width:100%;height:auto;display:block}
.oe-cards-5 .oe-ico{max-width:64px}
.oe-feat{margin:4px 0 0;padding:0 0 0 16px;font-size:12px;color:var(--oe-mut)}
.oe-feat li{margin:0}
.oe-badge{display:inline-block;margin-top:4px;font-size:11px;font-weight:700;background:var(--oe-bg);border-radius:99px;padding:2px 8px}
.oe-row{display:grid;gap:12px;grid-template-columns:1fr;margin:14px 0 0}
.oe-field{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;margin:0}
.oe-field small{font-weight:400;color:var(--oe-mut);font-size:12px}
.oe-field input,.oe-field textarea,.oe-glist input{width:100%;border:1px solid #bbb;border-radius:8px;padding:10px 12px;background:#fff;font-weight:400;min-height:44px}
.oe-field input:focus,.oe-field textarea:focus,.oe-glist input:focus,.oe-card:focus-visible,.oe-chip:focus-visible,.oe-btn:focus-visible{outline:3px solid var(--oe-acc);outline-offset:1px}
.oe-split{display:grid;gap:12px;align-items:center}
.oe-preview{background:var(--oe-bg);border-radius:var(--oe-r);padding:8px;display:grid;place-items:center}
.oe-shape-big{width:100%;max-width:300px;height:auto}
.oe-qty{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 14px}
.oe-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:2px solid var(--oe-line);background:#fff;border-radius:10px;padding:10px 12px;cursor:pointer;text-align:left}
.oe-chip strong{font-size:17px}
.oe-chip small{font-size:12px;color:var(--oe-mut)}
.oe-chip.is-on{border-color:var(--oe-ink);box-shadow:0 0 0 3px var(--oe-acc)}
.oe-glist{display:grid;gap:8px;margin:12px 0}
.oe-grow{display:grid;grid-template-columns:24px 1fr 96px auto;gap:8px;align-items:center}
.oe-grow>span{font-weight:700;color:var(--oe-mut)}
.oe-sum{font-weight:700;margin:6px 0 10px}
.oe-sum.is-ok{color:var(--oe-ok)}.oe-sum.is-ko{color:var(--oe-red)}
.oe-files{display:grid;gap:10px;margin:16px 0}
.oe-frow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;border:1px solid var(--oe-line);border-radius:var(--oe-r);padding:10px 12px;background:#fff}
.oe-fname{display:flex;flex-direction:column;min-width:120px;flex:1}
.oe-fname small{color:var(--oe-mut)}
.oe-fok{color:var(--oe-ok);font-weight:600;word-break:break-all;flex:1 1 100%}
.oe-progress{position:relative;flex:1 1 100%;height:26px;border-radius:99px;background:var(--oe-bg);overflow:hidden}
.oe-progress i{position:absolute;inset:0 auto 0 0;background:var(--oe-acc);transition:width .2s}
.oe-progress span{position:relative;display:block;text-align:center;font-size:12px;line-height:26px;font-weight:600}
.oe-hide{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.oe-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 18px;border-radius:10px;border:2px solid var(--oe-ink);font-weight:700;font-size:15px;cursor:pointer;text-decoration:none!important;line-height:1.1}
.oe-primary{background:var(--oe-ink);color:#fff!important}
.oe-primary:hover{background:#333}
.oe-ghost{background:#fff;color:var(--oe-ink)!important}
.oe-btn:disabled{opacity:.6;cursor:wait}
.oe-big{min-height:52px;font-size:17px;width:100%}
.oe-link{background:none;border:0;padding:4px;color:var(--oe-ink);text-decoration:underline;cursor:pointer;font-size:14px}
.oe-nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:22px 0 0;padding-top:16px;border-top:1px solid var(--oe-line)}
.oe-nav .oe-primary{margin-left:auto}
.oe-errs{flex:1 1 100%;color:var(--oe-red);font-size:14px}
.oe-errs p{margin:4px 0}
.oe-errlist{margin:4px 0 0 18px}
.oe-warn{color:var(--oe-red);font-size:13px}
.oe-good{color:var(--oe-ok);font-weight:600;font-size:14px;margin:4px 0}
.oe-side{display:none}
.oe-mini{background:var(--oe-bg);border-radius:10px;padding:4px;margin:0 0 10px}
.oe-mini svg{width:100%;height:auto;display:block;max-height:140px}
.oe-dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:13px;margin:0 0 12px}
.oe-dl dt{color:var(--oe-mut)}.oe-dl dd{margin:0;font-weight:600}
.oe-price{border-radius:var(--oe-r);background:#fff;border:2px solid var(--oe-ink);padding:12px 14px;transition:opacity .2s}
.oe-price.is-loading{opacity:.55}
.oe-price p{margin:2px 0;font-size:13px}
.oe-ptitle{font-size:26px!important;font-weight:800;color:var(--oe-red);line-height:1.1}
.oe-ptitle small{font-size:14px;color:var(--oe-ink);font-weight:600}
.oe-testtag{display:inline-block;background:#fff4cc;border:1px solid #e8c95a;border-radius:6px;padding:2px 8px;font-size:11px!important;font-weight:800;letter-spacing:.05em;margin-top:6px!important}
.oe-table{width:100%;border-collapse:collapse;font-size:14px;margin:0 0 16px}
.oe-table th,.oe-table td{padding:8px 6px;border-bottom:1px solid var(--oe-line);text-align:left;vertical-align:top}
.oe-table th{width:32%;color:var(--oe-mut);font-weight:600}
.oe-table td:last-child{text-align:right;width:1%;white-space:nowrap}
.oe-actions{display:grid;gap:12px;margin-top:16px}
.oe-quote{border:1px solid var(--oe-line);border-radius:var(--oe-r);padding:12px 14px;background:#fff}
.oe-quote summary{cursor:pointer;font-weight:700}
.oe-quote form{display:grid;gap:12px;margin-top:10px}
.oe-check{display:flex;gap:8px;align-items:flex-start;font-size:13px}
.oe-check input{margin-top:3px;width:18px;height:18px;flex:0 0 18px}
.oe-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px}
.oe-done{border:2px solid var(--oe-ok);border-radius:var(--oe-r);padding:18px;background:#f2fbf4}
.oe-done h3{margin:0 0 6px;color:var(--oe-ok)}
.oe-bar{position:fixed;left:0;right:0;bottom:0;z-index:999;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-top:1px solid var(--oe-line);box-shadow:0 -4px 16px rgba(0,0,0,.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.oe-bar strong{font-size:20px;color:var(--oe-red)}
.oe-bar small{font-size:12px;color:var(--oe-mut)}
.oe-bar .oe-btn{min-height:42px;padding:8px 18px}
@media (min-width:600px){
	.oe-cards-2,.oe-cards-3{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
	.oe-cards-5{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
	.oe-cards-4{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
	.oe-qty{grid-template-columns:repeat(3,1fr)}
	.oe-row{grid-template-columns:repeat(2,1fr)}
	.oe-split{grid-template-columns:1fr 1fr}
	.oe-big{width:auto}
	.oe-actions{justify-items:start}
	.oe-quote{width:100%}
}
@media (min-width:960px){
	.oe-app{padding-bottom:0}
	.oe-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:28px}
	.oe-side{display:block;position:sticky;top:100px;background:var(--oe-bg);border-radius:16px;padding:16px}
	.oe-side h3{margin:0 0 10px;font-size:16px}
	.oe-bar{display:none}
	.oe-qty{grid-template-columns:repeat(6,1fr)}
	.oe-h{font-size:26px}
}
/* Area cliente */
.oe-account .oe-acc-order{border:1px solid #ddd;border-radius:12px;padding:14px;margin:0 0 14px}
.oe-account header{margin:0 0 8px;font-size:14px}
.oe-acc-item{border-top:1px solid #eee;padding:10px 0 0;margin:10px 0 0}
.oe-acc-title{font-weight:700;margin:0}.oe-acc-spec{color:#666;font-size:13px;margin:0 0 6px}
.oe-acc-files{list-style:none;margin:0 0 10px;padding:0;font-size:14px}
.oe-acc-files li{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:4px 0}
.oe-late-status{font-size:13px;color:#1d7a3a}
.oe-badge{background:#f1f1f1}
.oe-progress-list,.oe-progress{list-style:none;padding:0}
ol.oe-progress{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;height:auto;background:none;overflow:visible;border-radius:0}
ol.oe-progress li{font-size:12px;padding:4px 10px;border-radius:99px;border:1px solid #ddd;color:#888}
ol.oe-progress li.is-done{color:#111;background:#fff8d6;border-color:#e8c95a}
ol.oe-progress li.is-now{background:#111;color:#fff;border-color:#111;font-weight:700}
