*{box-sizing:border-box}body{font-family:system-ui,-apple-system,sans-serif;margin:0;background:#f4f5f7;color:#1d2330;font-size:17px}
main{max-width:640px;margin:0 auto;padding:16px}h1{font-size:1.4em;margin:8px 0 4px}h2{font-size:1.1em;margin:22px 0 8px}
.card{background:#fff;border-radius:12px;padding:14px;margin:10px 0;box-shadow:0 1px 3px #0001}
.row{display:flex;justify-content:space-between;align-items:center;gap:8px}.muted{color:#667;font-size:.88em}
.big{font-size:1.6em;font-weight:700;color:#e8590c}button,.btn{font:inherit;padding:11px 16px;border:0;border-radius:10px;background:#e8590c;color:#fff;cursor:pointer}
button.sec{background:#eef0f3;color:#1d2330}button.small{padding:6px 10px;font-size:.85em}button:disabled{background:#c9ccd2;color:#fff}
.tabs{display:flex;gap:8px}.tabs button{flex:1;background:#eef0f3;color:#1d2330}.tabs button.on{background:#1d2330;color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;margin:10px 0}.grid button{background:#fff;color:#1d2330;border:1px solid #c9ccd2}
.grid button.sel,.list button.sel{background:#e8590c;color:#fff;border-color:#e8590c}
.list button{display:flex;width:100%;justify-content:space-between;margin:6px 0;background:#fff;color:#1d2330;border:1px solid #c9ccd2;text-align:left}
.days{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px}.days button{flex:0 0 auto;min-width:58px;background:#fff;color:#1d2330;border:1px solid #c9ccd2;padding:8px;line-height:1.2}
.days button.sel{background:#1d2330;color:#fff}.ok{background:#e6f6ea;border:1px solid #6c6;padding:12px;border-radius:10px}
.err{background:#fde8e8;border:1px solid #d66;padding:12px;border-radius:10px}.warn{background:#fff3cd;border:1px solid #e0c060;padding:12px;border-radius:10px}
input,select{font:inherit;width:100%;padding:10px;border:1px solid #c9ccd2;border-radius:8px;margin:4px 0 10px}label{display:block;font-size:.9em}
table{width:100%;border-collapse:collapse;font-size:.9em}td,th{padding:6px 4px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}
.link{font-family:monospace;font-size:.8em;word-break:break-all;background:#f4f5f7;padding:6px;border-radius:6px}.pill{display:inline-block;padding:2px 8px;border-radius:99px;background:#eef0f3;font-size:.8em;margin:2px}
.grid button{line-height:1.25}.grid button small{font-size:.72em;opacity:.8}.grid button:disabled{background:#f0f1f3;color:#aab;border-color:#e3e5e8}
.dates{flex-direction:column;align-items:stretch;gap:0}.dates label{width:100%;min-width:0}.dates input{min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none;min-height:44px;background:#fff}
/* Brand Body Shape Lab (pagina cliente): grigio scuro #262624, azzurro #7DCBDF, bianco */
body.brand{background:#fff;color:#262624}.brand .logo{display:block;width:100%;max-width:300px;margin:4px auto 10px}
.brand h1,.brand h2{color:#262624}.brand #sub{font-size:1em;color:#262624;font-weight:600;border-left:4px solid #7DCBDF;padding-left:10px}
.brand .card{border:1px solid #e3f3f8;box-shadow:0 1px 4px #7dcbdf33}.brand .big{color:#3aa9c6}
.brand button,.brand .btn{background:#7DCBDF;color:#262624;font-weight:600}.brand button.sec{background:#eef8fb;color:#262624}
.brand .tabs button{background:#eef8fb;color:#262624}.brand .tabs button.on{background:#262624;color:#fff}
.brand .grid button,.brand .list button,.brand .days button{background:#fff;color:#262624;border-color:#cfe9f1}
.brand .grid button.sel,.brand .list button.sel{background:#7DCBDF;color:#262624;border-color:#7DCBDF}
.brand .days button.sel{background:#262624;color:#fff;border-color:#262624}
.brand .grid button:disabled{background:#f3f4f4;color:#aab;border-color:#e6e8e8}.brand button:disabled{background:#d9dcdc;color:#fff}
.brand .pill{background:#eef8fb;color:#262624}.brand .link{background:#f3fafc;border:1px solid #e3f3f8}.brand a{color:#2b97b3}
.brand table th{color:#262624}.brand input:focus,.brand select:focus{outline:2px solid #7DCBDF;border-color:#7DCBDF}
.brand button.danger{background:#fff;color:#b42318;border:1px solid #f1c0bb}#search{margin-top:0}
.pill.couple{background:#fff4e0;color:#7a4b00}
