:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17223a;background:#f5f7fb;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin-bottom:0}h2{font-size:18px;letter-spacing:-.4px;margin-bottom:7px}.muted{color:#8290a5;font-size:13px;line-height:1.65}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#92a1bb}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;background:#131e34;color:#fff;padding:30px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 14px 54px}.brand-mark{width:40px;height:40px;background:#ebf76f;border-radius:12px;color:#17223a;font-size:32px;line-height:35px;text-align:center;font-weight:900;letter-spacing:-4px;padding-right:4px}.brand-mark span{color:#6486ac}.brand strong{display:block;font-size:19px;letter-spacing:-.4px}.brand small,.account small{display:block;font-size:11px;color:#90a2bf;margin-top:2px}.sidebar-label{font-size:10px;color:#63758f;letter-spacing:1.5px;font-weight:700;margin:0 17px 16px}.nav-link{display:flex;align-items:center;gap:13px;border-radius:10px;padding:13px 14px;color:#9fadc7;margin:5px 0;font-weight:600}.nav-link span{font-size:21px;line-height:12px;width:25px}.nav-link.active,.nav-link:hover{background:#293955;color:#fff}.sidebar-bottom{margin-top:auto;font-size:12px;color:#dce7f6;padding:0 14px;line-height:1.6}.sidebar-bottom small{display:block;color:#7187a8;margin:7px 0}.online,.dot{display:inline-block;width:8px;height:8px;background:#ccf06d;border-radius:50%;margin-right:6px}.content{min-width:0;width:100%;padding:45px min(4vw,60px) 26px;max-width:1750px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:43px}.topbar .eyebrow{display:block;margin-bottom:11px}.account{display:flex;align-items:center;gap:10px}.avatar{height:38px;width:38px;display:grid;place-items:center;background:#d9e2f4;border-radius:12px;font-weight:800;color:#49628b}.account b{display:block;font-size:12px;max-width:210px;overflow:hidden;text-overflow:ellipsis}.logout{margin-left:10px;border:1px solid #dbe2eb;background:#fff;border-radius:8px;color:#6b7891;padding:8px 12px}.intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.intro h2{font-size:21px}.filter select{min-width:190px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat{border:1px solid #e9edf4;background:#fff;border-radius:14px;padding:24px 26px;box-shadow:0 7px 20px #1d335405}.stat span{display:block;color:#7f8ca0;font-weight:600;font-size:12px}.stat strong{font-size:37px;letter-spacing:-1.5px;display:block;margin:12px 0 4px}.stat small{color:#9ba5b7}.card{background:#fff;border:1px solid #e9edf4;border-radius:16px;padding:26px;box-shadow:0 8px 30px #15234d05}.table-card{padding:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px}.card-head .muted{margin-bottom:0}.subtle-tag{font-size:9px;letter-spacing:1.1px;color:#9cacc2;background:#f5f7fb;border-radius:6px;padding:9px 10px;white-space:nowrap}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px;text-align:left}th,td{padding:15px 18px;border-bottom:1px solid #edf0f5;vertical-align:top;font-size:12px}th{background:#fafbfd;font-size:10px;letter-spacing:.65px;text-transform:uppercase;color:#8591a6}td{color:#465470}tr:last-child td{border-bottom:0}.nowrap{white-space:nowrap}.pill{white-space:nowrap;font-size:10px;font-weight:750;border-radius:30px;padding:6px 10px;display:inline-block}.pill.done{background:#e7f7ef;color:#178059}.pill.waiting{background:#fff6df;color:#a57813}.pill.failed{background:#ffe9e7;color:#b73d39}.empty{text-align:center;padding:44px;color:#96a1b3}.two-col{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(380px,1.15fr);gap:22px}.two-col .card{align-self:start}.stack{display:grid;gap:17px;margin-top:24px}.stack label{display:block;color:#506078;font-weight:700;font-size:12px}.stack input,.stack select{display:block;width:100%;margin-top:8px}.stack input,select{border:1px solid #dce3ef;background:#fff;border-radius:9px;padding:12px;color:#263451;min-height:43px}.stack input:focus,select:focus{outline:3px solid #dce8ff;border-color:#5a89eb}.button{border:0;border-radius:10px;padding:13px 19px;font-weight:800}.button.primary{background:#203a70;color:#fff}.button.primary:hover{background:#15264c}.count{display:inline-block;color:#8391a9;background:#f1f5fb;padding:4px 8px;border-radius:8px;margin-left:8px;font-size:11px}.item-list{margin-top:20px}.list-item{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid #eef1f5}.list-item:last-child{border-bottom:0}.list-item>div:nth-child(2){min-width:0;flex:1}.list-item strong{display:block;font-size:13px}.list-item small{color:#8897ac;display:block;font-size:11px;margin-top:6px;overflow-wrap:anywhere}.list-icon{flex-shrink:0;width:38px;height:38px;display:grid;place-items:center;background:#eef3ff;color:#5975aa;border-radius:10px;font-size:19px}.micro{font-size:11px;color:#a0aabc;margin-top:25px;line-height:1.6}.notice{padding:15px 18px;border-radius:9px;margin-bottom:20px;font-weight:650}.notice.good{background:#e7f6ed;color:#23845d}.notice.bad{background:#ffeded;color:#a93c3c}details summary{cursor:pointer;color:#263d67;font-weight:650}details[open] summary{margin-bottom:10px}.details-list{min-width:210px;max-width:350px;background:#f7f9fe;padding:12px;border-radius:8px;margin:8px 0}.details-list p{margin:0 0 10px;line-height:1.5;overflow-wrap:anywhere}.details-list b{font-size:10px;color:#7b8ba4}.error-details p{max-width:300px;color:#bc4b4b;overflow-wrap:anywhere}.small-button{background:#fff;border:1px solid #d4dceb;border-radius:7px;padding:7px 12px;color:#294a81}.page-footer{margin-top:35px;text-align:center;font-size:11px;color:#a3aec1}.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-panel{max-width:480px;width:100%;padding:clamp(45px,9vh,100px) 45px;margin:auto}.login-panel .brand-mark{margin-bottom:50px}.login-panel h1{font-size:48px;margin:12px 0}.login-panel .muted{margin-bottom:32px}.login-panel .stack{margin-top:20px}.login-aside{background:#14223e;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:70px}.glow{position:absolute;background:radial-gradient(circle,#6b8fa5 0%,#3f5677 28%,#162443 63%,transparent 70%);width:780px;height:780px;top:-200px;right:-280px;opacity:.75}.login-quote{position:relative;color:#fff}.login-quote .dot{width:13px;height:13px}.login-quote p{font-size:clamp(25px,3vw,44px);font-weight:750;letter-spacing:-1px;line-height:1.2;margin:25px 0}.muted-on-dark{color:#99abc7;letter-spacing:1.8px;font-size:10px}.login-panel .button{display:flex;justify-content:space-between}.login-panel .button span{font-size:20px}@media(max-width:1050px){.two-col{grid-template-columns:1fr}.sidebar{width:208px}.content{padding:32px 28px}.account small{display:none}}@media(max-width:750px){.app-shell{display:block}.sidebar{width:100%;padding:15px;display:block}.brand{margin:0 0 15px}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.nav-link{white-space:nowrap}.sidebar-label,.sidebar-bottom{display:none}.content{padding:23px 15px}.topbar{align-items:flex-start}.account{flex-wrap:wrap;justify-content:flex-end}.account>div:nth-child(2){display:none}.stats{grid-template-columns:1fr;gap:9px}.stat{padding:16px}.stat strong{font-size:25px;margin:5px 0}.intro{align-items:flex-start;flex-direction:column}.card{padding:19px}.table-card{padding:0}.card-head{padding:20px}.subtle-tag{display:none}.login-shell{grid-template-columns:1fr}.login-aside{display:none}.login-panel{padding:40px 25px}} 

/* Form e schede di gestione v2 */
.edit-item{padding:20px 0;border-bottom:1px solid #edf0f5}
.edit-item:last-child{border-bottom:0}
.edit-item .item-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
.edit-item .item-title strong{font-size:14px;line-height:1.4}
.edit-item small{display:block;line-height:1.7;overflow-wrap:anywhere}
.edit-item .muted a{color:#2b5a9f;text-decoration:underline}
.edit-item details{margin-top:12px}
.edit-item .compact{margin-top:14px;gap:12px;background:#f8faff;padding:15px;border-radius:10px}
.inline-form{display:inline-flex;margin-top:11px}
.stack .check-line{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:650;line-height:1.6;cursor:pointer}
.stack .check-line input{width:18px;height:18px;margin:0;min-height:auto;flex-shrink:0;accent-color:#203a70}
.date-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.date-row label{min-width:0}
.setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.setup-grid .card:last-child{grid-column:1/-1}
.steps{margin:20px 0 0;padding-left:22px;color:#506078;line-height:1.9}
.steps li{margin-bottom:8px}
.status-list{list-style:none;margin:15px 0 0;padding:0}
.status-list li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f5;padding:13px 0}
.status-list b{color:#273e66}
.small-error{font-size:12px;color:#b73d39;margin:12px 0;overflow-wrap:anywhere}
.card code{color:#1b4a8b;background:#edf3fd;padding:2px 5px;border-radius:4px}
@media(max-width:850px){.setup-grid{grid-template-columns:1fr}.setup-grid .card:last-child{grid-column:auto}}
@media(max-width:480px){.date-row{grid-template-columns:1fr}.topbar{flex-direction:column}.account{align-self:flex-start}}

/* Landing page / Google Ads */
.secret-card{margin-bottom:20px;border:2px solid #73aa88}
.wrap-secret{overflow-wrap:anywhere;word-break:break-all}

