*{box-sizing:border-box}body{margin:0;background:#faf7f2;color:#302329;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid #d8c9c7;background:#fff;color:#4b2935;padding:10px 15px;border-radius:8px}button:hover{background:#f6ede5}a{color:inherit}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#800020;color:#faedf1;z-index:5;padding:31px 20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:21px;letter-spacing:3px;font-weight:650}.brand small{display:block;letter-spacing:.2px;font-size:10px;font-weight:400;margin-top:5px;color:#e8ccd3}#brandmark{font-size:47px;color:#e5bc65}#brandmark img{width:48px;height:48px;object-fit:contain}.navlabel{font-size:10px;letter-spacing:1.6px;color:#e8ccd3;margin:42px 12px 16px}nav button{display:flex;align-items:center;gap:13px;background:none;border:0;color:#f4e5e9;width:100%;padding:13px 14px;text-align:left;margin:3px 0;font-size:13px}nav button span{font-size:17px;width:20px}nav button.active,nav button:hover{background:#9b3651;color:#fff}.sidefoot{position:absolute;bottom:30px;line-height:1.9;font-size:11px;color:#f4e5e9}.sidefoot small{color:#e8ccd3}.live{display:inline-block;width:7px;height:7px;background:#efd08a;border-radius:50%;margin-right:7px}.shell{margin-left:238px}header{height:78px;border-bottom:1px solid #e5d9d0;background:#fffdf9;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.crumb{font-size:12px;color:#695b60}.crumb span{margin:0 13px;color:#8c747b}.crumb b{font-weight:500;color:#4b2935}.account{display:flex;align-items:center;gap:16px;font-size:11px;color:#695b60}.avatar{display:grid;place-items:center;border-radius:50%;background:#f4e7de;width:35px;height:35px;font-size:24px;color:#800020}#menu{display:none}main{max-width:1600px;margin:auto;padding:36px 42px 50px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#725b5d;text-transform:uppercase;margin-bottom:9px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}h1{font-family:Georgia,serif;font-size:35px;line-height:1.15;letter-spacing:-.8px;margin:0 0 10px;font-weight:400}h2{font-size:17px;font-weight:600;margin:0 0 8px}h3{font-size:14px;margin:0 0 8px}p{color:#69585d;line-height:1.6;margin:5px 0 15px}.primary{background:#800020;color:white;border-color:#800020}.primary:hover{background:#65122c}.hero{display:grid;grid-template-columns:1fr 230px;background:#f8eddf;border:1px solid #e4d0b0;border-radius:14px;padding:27px 30px;margin-bottom:25px;min-height:175px;overflow:hidden}.hero h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.hero p{max-width:480px;font-size:12px}.chessart{font-family:Georgia,serif;font-size:110px;line-height:1;letter-spacing:-20px;color:#9b720f;transform:rotate(-8deg);align-self:center;text-align:center}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.card{background:#fff;border:1px solid #e2d6ce;border-radius:12px;padding:21px}.metriclabel{display:flex;justify-content:space-between;color:#66545c;font-size:11px}.metriclabel span{background:#f7eddb;padding:6px 9px;border-radius:8px;font-size:18px}.metric{font-size:30px;letter-spacing:-1px;margin:10px 0}.hint{font-size:10px;color:#69585d}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.panel{background:white;border:1px solid #e2d6ce;border-radius:12px;padding:23px;margin-bottom:22px}.panelhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.panelhead button{font-size:11px;padding:7px 10px}.empty{text-align:center;padding:30px 18px;color:#69585d;border:1px dashed #d9c5bd;border-radius:10px}.empty .glyph{font-size:32px;color:#a87925;margin-bottom:9px}.empty h3{color:#7f2841}.listitem{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #ece1d8;padding:14px 0}.listitem:last-child{border:0}.listitem small{display:block;color:#69585d;margin-top:5px}.tag{display:inline-block;padding:5px 8px;background:#f7eedc;color:#785000;font-size:10px;border-radius:5px;height:fit-content}.tag.amber{background:#fbf0d8;color:#755000}.setup{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0;font-size:12px}.dot{width:21px;height:21px;border:1px solid #d8c6b7;border-radius:50%;display:grid;place-items:center;color:#856117;margin-right:10px}.setup>span{display:flex;align-items:center}.muted{color:#69585d}.toolbar{display:flex;gap:12px;margin-bottom:18px}.toolbar input{max-width:360px;margin:0}.tablewrap{overflow:auto;background:white;border:1px solid #e2d6ce;border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#69585d;background:#fff9ef;font-weight:500}th,td{padding:16px 19px;border-bottom:1px solid #ece1d8}td{font-size:12px}td button{padding:6px 10px;font-size:11px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #bfaba8;border-radius:7px;background:white;color:#4b2935;margin:6px 0 17px}textarea{min-height:100px;resize:vertical}label{font-size:12px;display:block;color:#5e444d}label.check{display:flex;align-items:center;gap:10px;margin:10px 0 17px}input[type=checkbox]{width:17px;height:17px;margin:0}dialog{border:1px solid #d5c0ba;border-radius:15px;width:min(600px,calc(100% - 24px));padding:26px;max-height:90vh;box-shadow:0 25px 90px #80002033}dialog::backdrop{background:#33151e77}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialoghead button{border:0;font-size:25px;padding:0 8px}.formactions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.notice{background:#fbf1dc;border:1px solid #e4cfa4;padding:14px 18px;border-radius:9px;color:#6f4e11;font-size:12px;line-height:1.6;margin-bottom:18px}.detailgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}footer{display:flex;justify-content:space-between;border-top:1px solid #e2d6ce;margin:0 42px;padding:19px 0;color:#69585d;font-size:10px}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#65122c;color:white;padding:14px 22px;z-index:20;border-radius:10px;max-width:90vw}#toast.show{display:block}.inlineactions{display:flex;gap:10px;flex-wrap:wrap}.bigicon{font-size:48px}.help{font-size:12px;line-height:1.7;color:#69585d}.danger{color:#a12b3b}.settingslogo{max-width:100px;max-height:100px;object-fit:contain}.rowbutton{border:0;background:none;text-align:left;padding:0;color:#800020}#fields .split{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(min-width:1450px){main{padding-top:42px}.hero{min-height:195px}.chessart{font-size:130px}}@media(max-width:1100px){aside{width:205px;padding:28px 14px}.shell{margin-left:205px}main{padding:28px 25px}.cards{grid-template-columns:repeat(2,1fr)}header{padding:0 25px}.columns{grid-template-columns:1fr}footer{margin:0 25px}.hero{grid-template-columns:1fr 150px}.chessart{font-size:95px}}@media(max-width:700px){aside{display:none;width:238px;box-shadow:0 0 0 100vw #80002044}aside.open{display:block}.shell{margin:0}#menu{display:block;padding:5px 9px;margin-right:10px}header{height:65px;padding:0 17px;justify-content:start}.account{margin-left:auto}.account #role{display:none}.crumb{font-size:11px}main{padding:25px 17px}.pagehead{align-items:start}h1{font-size:29px}.pagehead .primary{font-size:11px;padding:10px}.hero{padding:22px;grid-template-columns:1fr}.chessart{display:none}.hero h2{font-size:25px}.cards{gap:10px}.card{padding:17px}.metric{font-size:27px}.columns,.detailgrid{grid-template-columns:1fr}.panel{padding:18px}.toolbar{flex-wrap:wrap}footer{margin:0 17px}footer span{display:none}#fields .split{grid-template-columns:1fr}body{padding-bottom:env(safe-area-inset-bottom)}}

aside{overflow-y:auto}.sidefoot{position:static;margin:28px 10px 0}.overduepanel{border-color:#dcc393}.overduepanel h2{color:#755000}

@media(max-width:700px){aside{height:100vh;height:100dvh}}
.previewnotice{background:#fbf0d8;color:#6f4e11;text-align:center;font-size:11px;padding:9px 16px}

.signedout aside,.signedout #account-actions{display:none}.signedout .shell{margin-left:0}.signedout main{max-width:580px;padding-top:50px}.signedout header .account .avatar{display:none}.authbrand{display:flex;align-items:center;gap:15px;color:#800020;margin-bottom:25px;letter-spacing:4px}.authbrand span{font-size:50px}.authbrand b{font-size:24px}.authpanel{margin-top:25px;padding:26px}.authsubmit{width:100%;margin-bottom:12px}.authlink{border:0;padding:6px 0;text-align:left;color:#800020;background:transparent;font-size:12px}.access-error{color:#a12b3b;min-height:16px;font-size:12px}#account-actions{display:flex;gap:6px}#account-actions button{font-size:10px;padding:6px 9px}@media(max-width:700px){.signedout main{padding-top:30px}.account{gap:8px}.account .avatar{display:none}}

.archive-toggle{margin:0 0 0 auto!important;white-space:nowrap}.signedout #menu{display:none}

/* Salento Scacchi: granata e oro su superfici chiare e leggibili. */
body{font-size:15px;background:#faf7f2 url('/salento-background.svg') center top/cover fixed;color:#302329}
button{font-weight:500}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #926000;outline-offset:3px}input:focus,select:focus,textarea:focus{border-color:#800020}
.brand{gap:10px;font-size:15px;letter-spacing:1.8px;line-height:1.3}.brand small{color:#f0dce2;font-size:11px;letter-spacing:.3px}
#brandmark{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:72px;height:72px;background:white;border-radius:50%;padding:3px}#brandmark img{width:100%;height:100%;object-fit:contain}
.navlabel{font-size:11px;letter-spacing:1.4px;margin-top:30px;color:#f0dce2}nav button{font-size:14px;color:#faedf1}nav button.active{box-shadow:inset 3px 0 #e5bc65;background:#9b3651;color:white}
h1{color:#65122c}p{color:#69585d}.eyebrow{font-size:11px;font-weight:600}.hero{background:linear-gradient(115deg,#fff9ef,#f6e8d2);border-color:#e1cda9}.hero h2{color:#65122c}.hero p{font-size:13px}
.chessart{transform:none;letter-spacing:0;font-size:0;display:flex;align-items:center;justify-content:center}.chessart img{width:160px;height:160px;object-fit:contain;background:#fffdfa;border-radius:50%;padding:8px}
.card,.panel,.tablewrap{background:#fff}.metriclabel{font-size:12px}.hint{font-size:12px}.help{font-size:13px}.listitem small{font-size:12px}th{font-size:11px;font-weight:600}td{font-size:13px}label{font-size:13px}.tag{font-size:11px}.notice{font-size:13px}.empty p{font-size:13px}.metriclabel span{color:#800020}.metric{color:#542332}footer{font-size:11px;background:transparent}
.authbrand{gap:23px;letter-spacing:2px;color:#800020;margin-bottom:30px}.authbrand img{width:120px;height:120px;object-fit:contain;background:white;border-radius:50%;padding:5px;box-shadow:0 3px 18px #8000200d}.authbrand b{font-size:24px;line-height:1.2}.authbrand small{display:block;font-size:12px;letter-spacing:.7px;color:#69585d;font-weight:400;margin-top:10px}.signedout main{padding-top:32px}.authpanel{box-shadow:0 12px 36px #80002008}.authlink{text-decoration:underline;text-underline-offset:3px}.authsubmit{font-size:15px}.access-error{font-size:13px}
@media(max-width:1100px){#brandmark{width:64px;height:64px}.brand{font-size:14px;gap:8px}.chessart img{width:142px;height:142px}}
@media(max-width:700px){.authbrand{gap:18px}.authbrand img{width:105px;height:105px}.authbrand b{font-size:21px}.chessart{display:none}.authpanel{padding:22px}.signedout main{padding-top:22px}body{background-attachment:scroll}}

.social-profile-links{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;line-height:1.7;margin:10px 0}.social-profile-links a{color:#800020;text-decoration:underline;text-underline-offset:3px}footer{flex-wrap:wrap;gap:10px}footer .social-profile-links{display:flex;margin:0;font-size:12px}@media(max-width:700px){footer .social-profile-links{display:flex}}
.brand{justify-content:center;margin:4px 0 18px;padding:0}#brandmark{width:154px;height:154px;padding:4px}.authbrand{justify-content:center}.authbrand img{width:178px;height:178px}#sidebar{overflow-y:auto}.formsection{border-bottom:1px solid #ddc9ce;padding-bottom:10px;margin-top:30px}.participant-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:18px 0}.participant-filters label{margin:0}.participant-options{max-height:270px;overflow:auto;background:#fff;padding:12px;border:1px solid #ddc9ce;border-radius:10px}.participant-options small{display:block;color:#69585d}.participant-options [hidden]{display:none}.participant-picker{margin:22px 0}.attachment-field{background:#faf7f2;border:1px solid #ddc9ce;padding:16px;border-radius:10px;margin:16px 0}.buttonlink{display:inline-block;color:#800020;text-decoration:underline;text-underline-offset:3px;padding:8px 0}.toolbar{flex-wrap:wrap}td button{margin:3px}td{vertical-align:top}@media(max-width:700px){#brandmark{width:138px;height:138px}.authbrand img{width:158px;height:158px}.participant-filters{grid-template-columns:1fr 1fr}.listitem{flex-wrap:wrap;gap:10px}}

.category-name{display:block;color:#69585d;margin-top:4px;font-size:12px}footer>span:last-child{display:inline}
/* Quote visibili in anagrafica e stemma in primo piano. */
#brandmark{width:188px;height:188px;padding:2px}.authbrand img{width:218px;height:218px}.chessart img{width:208px;height:208px}.settingslogo{max-width:220px;max-height:220px}.brand{margin-bottom:24px}.fee-badge{display:inline-block;font-size:12px;font-weight:600;border-radius:6px;padding:6px 9px;line-height:1.4}.fee-paid{background:#e8f4e9;color:#20592e}.fee-overdue{background:#fbe8e8;color:#8a2030}.fee-unpaid{background:#fff0d1;color:#725000}.fee-missing{background:#f1ece8;color:#67514a}.fee-hint{display:block;font-size:12px;line-height:1.5;margin:5px 0;color:#69585d}.fee-actions{display:flex;gap:7px;flex-wrap:wrap}.fee-toolbar{align-items:end}.fee-toolbar label{min-width:130px}.fee-toolbar input,.fee-toolbar select{margin-bottom:0}.fee-toolbar>button{height:44px}.fee-overview{margin-bottom:24px}.member-fee-panel button{margin:5px 5px 5px 0}.fee-cards .metric{font-size:27px}@media(max-width:1100px) and (min-width:701px){#sidebar{padding-left:8px;padding-right:8px}#brandmark{width:185px;height:185px}}@media(max-width:700px){#brandmark{width:190px;height:190px}.authbrand img{width:194px;height:194px}.fee-toolbar{align-items:stretch}.fee-toolbar label{flex:1;min-width:130px}.fee-cards .metric{font-size:24px}}
#sidebar{display:flex;flex-direction:column;overflow:hidden}#sidebar .brand{flex-shrink:0}#sidebar nav{flex:1;min-height:0;overflow-y:auto}#sidebar .sidefoot{flex-shrink:0;margin:12px 10px 0}@media(max-width:700px){#sidebar{display:none}#sidebar.open{display:flex}}
/* Stemma più grande, con menu che scorre indipendentemente. */
#sidebar{width:266px}.shell{margin-left:266px}#brandmark{width:220px;height:220px}.authbrand img{width:240px;height:240px}@media(max-width:1100px) and (min-width:701px){#sidebar{width:238px;padding-left:10px;padding-right:10px}.shell{margin-left:238px}#brandmark{width:210px;height:210px}}@media(max-width:700px){#sidebar{width:266px}.shell{margin-left:0}#brandmark{width:220px;height:220px}.authbrand img{width:210px;height:210px}}

#fields [hidden]{display:none!important}
.email-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#faf7f2;padding:16px;border-radius:8px}#gmail-config-form label{display:block;margin:14px 0}#gmail-config-form input{display:block;width:100%}

.email-design-preview{display:block;width:100%;height:720px;max-height:80vh;border:1px solid #dfd5cb;border-radius:12px;background:#f5f1eb;margin:18px 0;}

/* Sector navigation */
aside{display:flex;flex-direction:column;padding:18px 14px;width:238px;overflow:hidden}.brand{flex:0 0 auto}.brand #brandmark img{width:180px;height:180px}aside nav{flex:1;min-height:0;overflow-y:auto;margin-top:10px;padding:0 3px 12px}.sidefoot{position:static;flex:0 0 auto;padding:10px 9px;border-top:1px solid #ffffff25;font-size:12px}.sidefoot small{display:none}.nav-sector{border:0;margin:6px 0;border-radius:9px}.nav-sector summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:13px 12px;list-style:none;font-size:16px;font-weight:600;color:#fff}.nav-sector summary::-webkit-details-marker{display:none}.nav-sector summary:after{content:'';margin-left:auto;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.7}.nav-sector[open] summary:after{transform:rotate(225deg)}.nav-sector[open]{background:#ffffff0c}.nav-sector-pages{padding:0 0 7px 23px}.nav-sector-pages button{font-size:14px;line-height:1.4;padding:10px 11px;margin:1px 0}.nav-sector summary:hover{background:#ffffff0c;border-radius:9px}nav>button{font-size:16px;font-weight:600}.section-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.permission-sector{border:1px solid #dfd3d5;border-radius:10px;margin:16px 0;padding:16px}.permission-sector legend{font-weight:650;font-size:17px;padding:0 8px}.permission-sector label{font-size:15px}.profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-cards article{border:1px solid #dfd3d5;border-radius:10px;padding:16px}.profile-cards p{font-size:15px;line-height:1.6}.essential-member{display:grid;grid-template-columns:1fr 2fr;gap:10px 16px}.essential-member dt{font-weight:600}.essential-member dd{margin:0;overflow-wrap:anywhere}.personal-menu{position:relative}.personal-menu summary{cursor:pointer;border:1px solid #d8c9c7;border-radius:8px;padding:10px 14px;list-style:none;font-size:14px;background:white}.personal-menu-items{position:absolute;right:0;top:100%;margin-top:8px;min-width:185px;display:grid;gap:5px;padding:9px;background:white;border:1px solid #d8c9c7;border-radius:10px;box-shadow:0 10px 25px #30232920;z-index:20}.personal-menu-items button{text-align:left;white-space:nowrap}header .crumb{font-size:14px}@media(max-width:700px){aside{display:none;height:100dvh}aside.open{display:flex}.profile-cards{grid-template-columns:1fr}.brand #brandmark img{width:145px;height:145px}.essential-member{grid-template-columns:1fr}.essential-member dd{margin-bottom:12px}header .crumb{font-size:12px;line-height:1.4}.account{gap:8px}.personal-menu summary{font-size:13px;padding:8px}}

#close-sidebar{display:none}@media(max-width:700px){#close-sidebar{display:block;position:absolute;right:8px;top:8px;z-index:2;padding:3px 9px;font-size:25px;line-height:1;background:#800020;color:white;border:1px solid #ffffff70}}

.accounting-opening-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}@media(max-width:700px){.accounting-opening-grid{grid-template-columns:1fr}}
