/* Mestiere 573 — taccuino operativo: petrolio, carta, ottone. App scope only. */
html.mestiere573 {
  --ms-ink:#193d37; --ms-muted:#536961; --ms-gold:#edc46a;
  --ms-paper:#f5f3ed; --ms-white:#fffefa; --ms-line:#d6ded7;
  scroll-padding-top:150px;
  background:var(--ms-paper);
}
html.mestiere573 body { background:var(--ms-paper); color:#213b34; }
html.mestiere573 .l24-portfolio-header { display:none; }
html.mestiere573 :is(.mestiere-landing,.mestiere-auth,.mkt-page,.mx-shell) { font-family:'DM Sans',system-ui,sans-serif; line-height:1.55; }
html.mestiere573 :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #a15c10; outline-offset:4px; }
html.mestiere573 :is(.mestiere-landing,.mestiere-auth,.mkt-page) :is(h1,h2,h3) { font-family:'Manrope',system-ui,sans-serif; letter-spacing:-.045em; line-height:1.12; }
html.mestiere573 .ms-skip { position:fixed; left:16px; top:8px; transform:translateY(-160%); z-index:10000; padding:12px 18px; background:#fff; color:var(--ms-ink); border:2px solid var(--ms-ink); border-radius:10px; font-weight:700; }
html.mestiere573 .ms-skip:focus { transform:translateY(0); }
html.mestiere573 :is(.mestiere-nav,.mkt-header) { position:sticky; top:64px; z-index:35; min-height:80px; height:auto; padding:15px max(24px,calc((100vw - 1280px)/2)); gap:26px; background:rgba(255,254,250,.97); color:var(--ms-ink); border-bottom:1px solid var(--ms-line); box-shadow:none; backdrop-filter:blur(14px); }
html.mestiere573 :is(.mestiere-nav,.mkt-header) > a { flex-shrink:0; }
html.mestiere573 :is(.mestiere-nav,.mkt-header) nav { gap:22px; }
html.mestiere573 :is(.mestiere-nav,.mkt-header) nav a { font-size:13px; font-weight:650; color:var(--ms-muted); }
html.mestiere573 :is(.mestiere-mark,.mkt-mark) i { background:var(--ms-ink); color:var(--ms-gold); width:44px; height:44px; border:0; border-radius:14px 4px 14px 4px; font:800 25px/1 'Manrope',sans-serif; }
html.mestiere573 :is(.mestiere-mark,.mkt-mark) b { font-size:21px; color:inherit; }
html.mestiere573 :is(.mestiere-mark,.mkt-mark) small { color:var(--ms-muted); font-size:10px; letter-spacing:.08em; }
html.mestiere573 :is(.mestiere-primary,.mestiere-gold) { min-height:48px; border-radius:10px; padding:12px 20px; background:var(--ms-ink); color:#fffefa; border:1px solid transparent; font-size:14px; font-weight:750; box-shadow:none; }
html.mestiere573 .mestiere-gold { background:var(--ms-gold); color:#18352f; }
html.mestiere573 :is(.mestiere-primary,.mestiere-gold):hover { filter:brightness(.94); transform:translateY(-1px); }
html.mestiere573 .mestiere-glass { min-height:48px; border:1px solid #b8c9c3; color:#fff; border-radius:10px; font-size:14px; background:#173b3466; }
html.mestiere573 .mestiere-text-link { font-size:14px; color:var(--ms-ink); }
html.mestiere573 .mestiere-nav > div { gap:18px; }
html.mestiere573 .ms-menu-toggle { display:none; }
/* First screen: one promise, a real configuration, a clear next step. */
html.mestiere573 .mestiere-hero { position:relative; min-height:660px; padding:72px max(28px,calc((100vw - 1280px)/2)) 64px; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr); align-items:center; gap:64px; isolation:isolate; background:var(--ms-ink); }
html.mestiere573 .mestiere-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.24; z-index:-2; }
html.mestiere573 .mestiere-hero-shade { position:absolute; inset:0; background:linear-gradient(100deg,#102d27ed,#193d3799); z-index:-1; }
html.mestiere573 .mestiere-hero-copy { position:static; width:auto; max-width:720px; padding:0; color:#fffefa; }
html.mestiere573 .mestiere-hero-copy .eyebrow { color:var(--ms-gold); font-size:11px; letter-spacing:.14em; line-height:1.6; }
html.mestiere573 .mestiere-hero-copy h1 { margin:20px 0 24px; font-size:clamp(42px,5.4vw,76px); font-weight:750; color:#fffefa; }
html.mestiere573 .mestiere-hero-copy > p:not(.eyebrow) { max-width:550px; font-size:17px; line-height:1.7; color:#e0e9e3; }
html.mestiere573 .mestiere-hero-copy > div { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 18px; }
html.mestiere573 .mestiere-hero-copy > small { display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12px; color:#dce8df; }
html.mestiere573 .mestiere-hero > aside.mestiere-configurator { position:static; width:auto; margin:0; padding:26px; background:var(--ms-white); border:1px solid #d6ded7; border-radius:20px 6px 20px 6px; box-shadow:0 22px 50px #09241f35; color:var(--ms-ink); transform:none; }
html.mestiere573 .mestiere-configurator header { margin-bottom:20px; }
html.mestiere573 .mestiere-configurator header b { font-size:20px; }
html.mestiere573 .mestiere-configurator header small { font-size:10px; letter-spacing:.08em; color:var(--ms-muted); }
html.mestiere573 .mestiere-configurator label { font-size:12px; color:var(--ms-muted); gap:8px; }
html.mestiere573 .mestiere-configurator select { min-height:48px; padding:10px 12px; font-size:15px; border:1px solid #a6b7ae; border-radius:9px; background:#fff; color:#193d37; }
html.mestiere573 .mestiere-config-preview { margin:18px 0; padding:15px; background:#edf2ed; border-radius:10px; }
html.mestiere573 .mestiere-config-preview b { font-size:15px; }
html.mestiere573 .mestiere-config-preview :is(p,small) { font-size:12px; color:var(--ms-muted); }
html.mestiere573 .mestiere-configurator ul { gap:8px; margin:16px 0; }
html.mestiere573 .mestiere-configurator li { border:0; border-radius:0; background:transparent; padding:2px; color:#324d43; font-size:12px; }
html.mestiere573 .mestiere-configurator > a { background:var(--ms-gold); color:#193d37; border-radius:9px; min-height:46px; font-size:14px; }
/* Readable editorial rhythm; cards are links, numbers remain data. */
html.mestiere573 .mestiere-landing main > section:not(.mestiere-hero) { padding:64px max(28px,calc((100vw - 1200px)/2)); }
html.mestiere573 .mestiere-landing :is(h2,.mkt-faq h2) { font-size:clamp(28px,3vw,40px); }
html.mestiere573 .mestiere-landing :is(.mestiere-problems,.mestiere-professions,.mestiere-tools,.mkt-faq,.mestiere-commerce) { background:var(--ms-paper); }
html.mestiere573 .mestiere-landing .eyebrow.dark { color:#536b5e; font-size:11px; letter-spacing:.12em; }
html.mestiere573 .mestiere-landing :is(.mestiere-method,.mestiere-personalization,.mestiere-trust,.mestiere-final) { background:var(--ms-ink); color:var(--ms-white); }
html.mestiere573 :is(.mestiere-method,.mestiere-personalization,.mestiere-trust,.mestiere-final) h2 { color:var(--ms-white); }
html.mestiere573 :is(.mestiere-method,.mestiere-personalization,.mestiere-trust) p { color:#d4e1d7; font-size:15px; }
html.mestiere573 .mestiere-profile-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
html.mestiere573 .mestiere-profile-strip > a { min-width:0; padding:22px; border:1px solid var(--ms-line); background:var(--ms-white); border-radius:12px; }
html.mestiere573 .mestiere-profile-strip :is(b,small) { display:block; }
html.mestiere573 .mestiere-profile-strip b { font-size:15px; }
html.mestiere573 .mestiere-profile-strip small { font-size:13px; line-height:1.6; color:var(--ms-muted); }
html.mestiere573 .mestiere-profile-strip > a:hover { border-color:#557365; background:#edf2ed; }
html.mestiere573 .ms-professions-toggle { display:block; margin:20px auto 0; padding:12px 20px; min-height:46px; border:1px solid #889f92; border-radius:9px; background:transparent; color:var(--ms-ink); font:650 14px 'DM Sans',sans-serif; cursor:pointer; }
html.mestiere573 .mestiere-profile-strip:not([data-expanded]) > a:nth-child(n+7) { display:none; }
html.mestiere573 .mestiere-tools > div { gap:14px; }
html.mestiere573 .mestiere-tools > div > a { border:1px solid var(--ms-line); padding:23px; border-radius:12px; background:var(--ms-white); }
html.mestiere573 .mestiere-tools > div > a b { font-size:16px; }
html.mestiere573 .mestiere-tools > div > a small { font-size:13px; line-height:1.6; color:var(--ms-muted); }
html.mestiere573 .mkt-vertical-grid { gap:20px; }
html.mestiere573 .mkt-vertical-grid > article { border-radius:14px; border:1px solid var(--ms-line); background:var(--ms-white); overflow:hidden; }
html.mestiere573 .mkt-vertical-grid > article > img { aspect-ratio:16/10; width:100%; height:auto; object-fit:cover; }
html.mestiere573 .mkt-vertical-grid article p { font-size:14px; line-height:1.6; }
html.mestiere573 .mkt-faq details { border:1px solid var(--ms-line); border-radius:10px; background:var(--ms-white); margin:10px 0; }
html.mestiere573 .mkt-faq summary { padding:18px 20px; min-height:52px; font-size:15px; color:var(--ms-ink); }
html.mestiere573 .mkt-faq details > p { padding:0 20px 18px; font-size:14px; color:var(--ms-muted); }
html.mestiere573 :is(.mkt-main,.mkt-page) { background:var(--ms-paper); }
html.mestiere573 :is(.mkt-feature-grid,.mkt-related) :is(h3,b) { color:var(--ms-ink); }
html.mestiere573 :is(.mkt-feature-grid,.mkt-related) p { color:var(--ms-muted); font-size:14px; }
/* Access and onboarding use the same materials and scale as the workspace. */
html.mestiere573 .mestiere-auth { width:100%; max-width:none; min-height:calc(100dvh - 64px); margin:0; padding:40px max(24px,calc((100vw - 1120px)/2)) 72px; background:var(--ms-paper); }
html.mestiere573 .mestiere-auth > a { display:inline-flex; margin-bottom:28px; }
html.mestiere573 .mestiere-auth-shell { border:1px solid var(--ms-line); border-radius:20px 6px 20px 6px; overflow:hidden; background:var(--ms-white); box-shadow:0 12px 36px #163d3609; }
html.mestiere573 .mestiere-auth-copy { background:var(--ms-ink); padding:40px; }
html.mestiere573 .mestiere-auth-copy h1 { font-size:38px; color:#fffefa; }
html.mestiere573 .mestiere-auth-copy > p:not(.eyebrow) { font-size:16px; line-height:1.7; color:#deeadf; }
html.mestiere573 .mestiere-auth-copy .eyebrow { color:var(--ms-gold); font-size:11px; }
html.mestiere573 .mestiere-auth-copy li { font-size:13px; color:#deeadf; }
html.mestiere573 .mestiere-auth-form { padding:36px; gap:20px; }
html.mestiere573 .mestiere-auth-form label { font-size:14px; color:var(--ms-ink); gap:8px; }
html.mestiere573 :is(.mestiere-auth-form,.mestiere-profession-search) input:not([type=checkbox]):not([type=radio]) { min-height:48px; border:1px solid #a8b8ad; border-radius:9px; background:#fff; color:var(--ms-ink); font-size:16px; padding:10px 12px; }
html.mestiere573 .mestiere-auth-form :is(p,small) { font-size:13px; color:var(--ms-muted); }
html.mestiere573 .mestiere-auth-form a { color:#245d4e; font-size:13px; }
html.mestiere573 .mestiere-choice > section { max-width:1100px; margin:auto; }
html.mestiere573 .mestiere-choice h1 { color:var(--ms-ink); font-size:38px; }
html.mestiere573 .mestiere-choice h2 { font-size:23px; }
html.mestiere573 .mestiere-profession-search { min-height:52px; border:1px solid #a8b8ad; border-radius:10px; background:#fff; }
html.mestiere573 .mestiere-profession-search input { border:0; background:transparent; }
html.mestiere573 .mestiere-group-filter { display:flex; flex-wrap:wrap; gap:8px; }
html.mestiere573 .mestiere-group-filter button { min-height:42px; padding:8px 14px; border:1px solid var(--ms-line); border-radius:22px; color:var(--ms-muted); background:var(--ms-white); font-size:13px; }
html.mestiere573 .mestiere-group-filter button.active { color:var(--ms-white); border-color:var(--ms-ink); background:var(--ms-ink); }
html.mestiere573 .mestiere-result-count { margin:18px 0; color:var(--ms-muted); font-size:13px; }
html.mestiere573 .mestiere-choice-grid { gap:12px; }
html.mestiere573 .mestiere-choice-grid button { min-height:104px; border:1px solid var(--ms-line); border-radius:12px; background:var(--ms-white); padding:20px; text-align:left; }
html.mestiere573 .mestiere-choice-grid button:hover { border-color:#466c5d; background:#edf2ed; }
html.mestiere573 .mestiere-choice-grid b { font-size:15px; color:var(--ms-ink); }
html.mestiere573 .mestiere-choice-grid small { font-size:13px; line-height:1.6; color:var(--ms-muted); }
/* Workspace: grouped navigation and actions before statistics. Tenant colours stay intact. */
html.mestiere573 .mx-shell { --mx-ink:#1c3932; --mx-muted:#53675f; --mx-ground:#f5f3ed; --mx-paper:#fffefa; --mx-line:#d6ded7; grid-template-columns:250px minmax(0,1fr); }
html.mestiere573 .mx-shell > aside { top:64px; height:calc(100dvh - 64px); padding:24px 16px 14px; background:var(--tenant-primary,#193d37); }
html.mestiere573 .mx-brand { padding-bottom:20px; }
html.mestiere573 .mx-brand > span { color:#193d37; background:var(--tenant-accent,#edc46a); border-radius:12px 3px 12px 3px; width:40px; height:40px; }
html.mestiere573 .mx-brand b { font-size:22px; }
html.mestiere573 .mx-brand small { color:#e0e9e3; font-size:10px; letter-spacing:.08em; }
html.mestiere573 .mx-business { border-radius:10px; padding:12px; margin:18px 0 14px; }
html.mestiere573 .mx-business b { font-size:14px; }
html.mestiere573 .mx-business small { color:#d3e2d8; font-size:12px; }
html.mestiere573 .mx-shell > aside > nav { overflow-y:auto; min-height:0; scrollbar-width:thin; padding:0 3px 8px; gap:3px; }
html.mestiere573 .mx-shell > aside nav button { min-height:44px; padding:10px 12px; border-radius:9px; font-size:13px; color:#e4ede7; }
html.mestiere573 .mx-shell > aside nav button.active { color:#193d37; background:#fffefa; font-weight:750; box-shadow:inset 3px 0 var(--tenant-accent,#edc46a); }
html.mestiere573 .mx-shell > aside nav button[data-ms-group] { margin-top:12px; }
html.mestiere573 .mx-shell > aside nav button[data-ms-group]::before { content:attr(data-ms-group); display:block; grid-column:1/-1; margin:0 0 6px; font-size:10px; line-height:1.2; letter-spacing:.08em; text-transform:uppercase; color:#d0dbd4; font-weight:600; }
html.mestiere573 .mx-shell > aside nav button.active[data-ms-group]::before { color:#446357; }
html.mestiere573 .mx-shell > aside footer :is(a,button) { min-height:44px; color:#e2eae4; font-size:13px; }
html.mestiere573 .mx-topbar { height:auto; min-height:98px; padding:20px 32px; background:var(--ms-white); gap:18px; }
html.mestiere573 .mx-page-title h1 { font-size:30px; letter-spacing:-.05em; }
html.mestiere573 .mx-page-title p { font-size:12px; color:var(--mx-muted); }
html.mestiere573 .mx-user:disabled { opacity:1; color:var(--mx-ink); border:0; background:transparent; cursor:default; }
html.mestiere573 .mx-content { padding:28px 32px 64px; max-width:1600px; margin:auto; }
html.mestiere573 .mx-view { gap:20px; }
html.mestiere573 .mx-view:has(> .mx-dashboard-grid) { display:flex; flex-direction:column; }
html.mestiere573 .mx-view > .mx-dashboard-grid, html.mestiere573 .mx-view > .mx-dashboard-grid > .mx-side-stack { display:contents; }
html.mestiere573 .mx-view > .mx-dashboard-grid .mx-quick { order:-4; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
html.mestiere573 .mx-quick button { min-height:92px; padding:20px; display:flex; flex-direction:row; gap:16px; border:1px solid #c5d2c7; border-radius:12px; background:var(--ms-white); text-align:left; }
html.mestiere573 .mx-quick button:first-child { background:#193d37; color:#fffefa; border-color:#193d37; }
html.mestiere573 .mx-quick button:first-child svg { color:var(--ms-gold); }
html.mestiere573 .mx-quick button:first-child small { color:#d6e6dc; }
html.mestiere573 .mx-quick button b { font-size:15px; }
html.mestiere573 .mx-quick button small { font-size:12px; }
html.mestiere573 .mx-view > .mx-kpis { order:-3; }
html.mestiere573 .mx-view > .mx-onboarding { order:-2; }
html.mestiere573 .mx-view > .mx-intelligence { order:3; }
html.mestiere573 .mx-kpis { gap:0; padding:6px; background:#ecefe7; border:1px solid var(--mx-line); border-radius:12px; }
html.mestiere573 .mx-kpis article { background:transparent; border:0; border-right:1px solid #ccd5cc; border-radius:0; padding:18px; min-height:116px; box-shadow:none; }
html.mestiere573 .mx-kpis article:last-child { border-right:0; }
html.mestiere573 .mx-kpis strong { font-size:28px; letter-spacing:-.04em; }
html.mestiere573 .mx-kpis :is(small,p) { color:var(--mx-muted); font-size:12px; }
html.mestiere573 :is(.mx-surface,.mx-settings-section) { padding:24px; border:1px solid var(--mx-line); border-radius:14px; box-shadow:none; background:var(--ms-white); }
html.mestiere573 .mx-section-head h2 { font-size:21px; letter-spacing:-.03em; }
html.mestiere573 .mx-section-head p { font-size:11px; color:var(--mx-muted); }
html.mestiere573 .mx-section-head .mx-link { font-size:13px; min-height:44px; }
html.mestiere573 .mx-appointments article { min-height:82px; border-color:var(--mx-line); }
html.mestiere573 .mx-appointments :is(b,.mx-appointment-main b) { font-size:14px; }
html.mestiere573 .mx-appointments :is(small,select) { font-size:12px; }
html.mestiere573 .mx-empty { padding:28px 16px; color:var(--mx-muted); }
html.mestiere573 .mx-empty b { font-size:16px; }
html.mestiere573 .mx-empty p { font-size:13px; line-height:1.6; }
html.mestiere573 .mx-shell :is(.mx-primary,.mx-secondary,.mx-tertiary) { min-height:44px; border-radius:9px; font-size:13px; }
html.mestiere573 .mx-shell :is(input,select,textarea) { font-size:14px; border-radius:8px; }
html.mestiere573 .mx-shell :is(input:not([type=checkbox]):not([type=radio]),select) { min-height:44px; }
html.mestiere573 .mx-mobile-nav button { min-height:56px; font-size:11px; }
html.mestiere573 .mx-more-menu { max-height:65dvh; overflow:auto; border:1px solid var(--mx-line); border-radius:16px 16px 0 0; background:var(--ms-white); }
html.mestiere573 .mx-more-menu :is(button,a) { min-height:48px; font-size:14px; }
/* Narrow layouts keep real controls reachable; no horizontal page scrolling. */
@media (max-width:1100px) {
 html.mestiere573 :is(.mestiere-nav,.mkt-header) { gap:16px; padding-inline:24px; }
 html.mestiere573 .mestiere-nav > nav { gap:12px; }
 html.mestiere573 .mestiere-nav > nav a { font-size:12px; }
 html.mestiere573 .mestiere-hero { gap:28px; padding-inline:28px; }
 html.mestiere573 .mx-topbar { padding:20px; }
 html.mestiere573 .mx-content { padding:20px; }
 html.mestiere573 .mx-today-label { display:none; }
}
@media (max-width:900px) {
 html.mestiere573 .mx-shell { display:block; }
 html.mestiere573 .mx-shell > aside { position:fixed; left:-280px; top:64px; width:270px; height:calc(100dvh - 64px); }
 html.mestiere573 .mx-shell > aside.open { left:0; }
 html.mestiere573 .mx-topbar { top:64px; min-height:78px; padding:14px 16px; }
 html.mestiere573 .mx-page-title h1 { font-size:25px; }
 html.mestiere573 .mx-user { margin-left:auto; }
 html.mestiere573 .mx-content { padding:20px 16px 108px; }
 html.mestiere573 .mx-mobile-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; bottom:0; background:#fffefa; border-top:1px solid var(--mx-line); padding:5px 8px calc(5px + env(safe-area-inset-bottom)); box-shadow:0 -8px 28px #17372d09; }
 html.mestiere573 .mx-mobile-nav button.active { color:#193d37; background:#e7eedf; border-radius:10px; }
 html.mestiere573 .mx-user span { display:none; }
 html.mestiere573 .mx-view > .mx-dashboard-grid .mx-quick { gap:8px; }
 html.mestiere573 .mx-quick button { padding:16px 10px; flex-direction:column; align-items:flex-start; gap:8px; }
 html.mestiere573 .mx-quick button b { font-size:13px; }
 html.mestiere573 .mx-quick button small { font-size:11px; }
}
@media (max-width:760px) {
 html.mestiere573 { scroll-padding-top:144px; }
 html.mestiere573 :is(.mestiere-nav,.mkt-header) { min-height:72px; top:64px; padding:12px 18px; gap:12px; }
 html.mestiere573 .mestiere-nav { display:flex; flex-wrap:wrap; }
 html.mestiere573 .mestiere-mark small { display:none; }
 html.mestiere573 .mestiere-mark b { font-size:19px; }
 html.mestiere573 .mestiere-mark i { width:36px; height:36px; font-size:22px; }
 html.mestiere573 .mestiere-nav > div { margin-left:auto; gap:12px; }
 html.mestiere573 .mestiere-nav > div > .mestiere-primary { display:none; }
 html.mestiere573 .mestiere-nav .ms-menu-toggle { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; font-size:13px; font-weight:650; color:var(--ms-ink); border:1px solid #c4d0c5; border-radius:9px; background:transparent; }
 html.mestiere573 .mestiere-nav > nav { display:none; flex-basis:100%; order:5; border-top:1px solid var(--ms-line); padding:10px 0 0; }
 html.mestiere573 .mestiere-nav[data-menu-open] > nav { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
 html.mestiere573 .mestiere-nav > nav a { padding:12px; min-height:44px; font-size:14px; }
 html.mestiere573 .mestiere-hero { display:grid; grid-template-columns:minmax(0,1fr); padding:44px 20px 32px; min-height:0; gap:32px; }
 html.mestiere573 .mestiere-hero-copy h1 { font-size:46px; margin:16px 0 20px; }
 html.mestiere573 .mestiere-hero-copy > p:not(.eyebrow) { font-size:16px; }
 html.mestiere573 .mestiere-hero-copy > div { margin-top:24px; }
 html.mestiere573 .mestiere-hero-copy > div > a { flex:1 1 auto; justify-content:center; }
 html.mestiere573 .mestiere-hero-copy > div > a:last-child { flex:0 1 auto; }
 html.mestiere573 .mestiere-hero > aside.mestiere-configurator { padding:22px; }
 html.mestiere573 .mestiere-landing main > section:not(.mestiere-hero) { padding:44px 20px; }
 html.mestiere573 .mestiere-landing :is(h2,.mkt-faq h2) { font-size:29px; }
 html.mestiere573 .mestiere-profile-strip { grid-template-columns:1fr 1fr; gap:10px; }
 html.mestiere573 .mestiere-profile-strip > a { padding:16px; }
 html.mestiere573 .mestiere-profile-strip b { font-size:14px; }
 html.mestiere573 .mestiere-profile-strip small { font-size:12px; }
 html.mestiere573 .mestiere-auth { padding:24px 18px 48px; }
 html.mestiere573 .mestiere-auth > a { margin-bottom:22px; }
 html.mestiere573 .mestiere-auth-shell { display:grid; grid-template-columns:1fr; }
 html.mestiere573 .mestiere-auth-copy { padding:26px; }
 html.mestiere573 .mestiere-auth-copy h1 { font-size:31px; }
 html.mestiere573 .mestiere-auth-copy ul { display:none; }
 html.mestiere573 .mestiere-auth-form { padding:26px 22px; gap:18px; }
 html.mestiere573 .mestiere-choice h1 { font-size:32px; }
 html.mestiere573 .mestiere-choice-grid { grid-template-columns:1fr; }
 html.mestiere573 .mestiere-group-filter { flex-wrap:nowrap; overflow:auto; padding:4px 0 10px; }
 html.mestiere573 .mestiere-group-filter button { flex-shrink:0; }
 html.mestiere573 .mx-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html.mestiere573 .mx-kpis article { min-height:104px; padding:14px; border-right:0; }
 html.mestiere573 .mx-kpis article:nth-child(odd) { border-right:1px solid var(--mx-line); }
 html.mestiere573 .mx-kpis article:nth-child(-n+2) { border-bottom:1px solid var(--mx-line); }
 html.mestiere573 .mx-kpis strong { font-size:24px; }
 html.mestiere573 :is(.mx-surface,.mx-settings-section) { padding:18px; }
 html.mestiere573 .mx-section-head h2 { font-size:19px; }
 html.mestiere573 .mx-shell :is(input,select,textarea) { font-size:16px; }
 html.mestiere573 .mestiere-bottom-nav { background:#fffefa; border-top:1px solid var(--ms-line); padding-bottom:env(safe-area-inset-bottom); }
 html.mestiere573 .mestiere-bottom-nav a { color:var(--ms-muted); min-height:58px; }
 html.mestiere573 .mestiere-bottom-nav a.active { color:var(--ms-ink); background:#e6ecdf; }
}
@media (max-width:360px) {
 html.mestiere573 .mestiere-hero-copy h1 { font-size:39px; }
 html.mestiere573 .mestiere-profile-strip { grid-template-columns:1fr; }
 html.mestiere573 .mx-view > .mx-dashboard-grid .mx-quick { grid-template-columns:1fr; }
 html.mestiere573 .mx-quick button { flex-direction:row; align-items:center; min-height:72px; }
 html.mestiere573 .mx-quick button small { display:block; }
}
@media (prefers-reduced-motion:reduce) {
 html.mestiere573 *,html.mestiere573 *::before,html.mestiere573 *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
html.mestiere573 .mestiere-nav .mestiere-text-link { display:inline-flex; align-items:center; gap:6px; }
html.mestiere573 .mestiere-hero-copy > div > a:nth-child(3) { min-height:36px; padding:4px 0; color:#e0e9e3; border:0; background:transparent; box-shadow:none; }
@media(max-width:760px) {
 html.mestiere573 .mestiere-nav > div { display:flex; }
 html.mestiere573 .mestiere-nav .mestiere-text-link { font-size:13px; }
 html.mestiere573 .mestiere-nav .mestiere-text-link svg { display:none; }
 html.mestiere573 .mestiere-hero-copy > div > a:nth-child(3) { flex-basis:100%; justify-content:flex-start; }
}
/* Labels sit between navigation groups, separate from actionable rows. */
html.mestiere573 .mx-shell > aside > nav { display:flex; flex-direction:column; flex:1; }
html.mestiere573 .mx-shell > aside nav button { position:relative; flex-shrink:0; }
html.mestiere573 .mx-shell > aside nav button[data-ms-group] { margin-top:30px; }
html.mestiere573 .mx-shell > aside nav button[data-ms-group]::before { position:absolute; top:-22px; left:12px; margin:0; color:#d0dbd4; text-align:left; }
html.mestiere573 .mx-user { border:0; background:transparent; box-shadow:none; }
html.mestiere573 :is(.mestiere-mark,.mkt-mark) small { color:#536961!important; }
html.mestiere573 :is(.mestiere-final,.mestiere-footer) :is(.mestiere-mark,.mkt-mark) small { color:#d0ddd4!important; }
/* The product documentation is served statically: same identity, same hierarchy. */
html.mestiere573 body.products-page { --product-color:#193d37!important; background:var(--ms-paper); }
html.mestiere573 body.products-page > .site-header { display:none; }
html.mestiere573 .product-context { position:sticky; top:64px; z-index:35; background:var(--ms-white); color:var(--ms-ink); border-bottom:1px solid var(--ms-line); }
html.mestiere573 .product-context > .wrap { min-height:80px; padding-block:14px; }
html.mestiere573 .product-context .product-name { display:flex; gap:12px; align-items:center; font-size:22px; color:var(--ms-ink); }
html.mestiere573 .product-context .product-name::before { content:'M'; display:grid; place-items:center; width:42px; height:42px; border-radius:12px 4px 12px 4px; background:var(--ms-ink); color:var(--ms-gold); font:bold 24px 'Manrope',sans-serif; }
html.mestiere573 .product-context nav a { color:var(--ms-muted); padding-block:10px; font-size:13px; }
html.mestiere573 .product-context nav a[aria-current=page] { color:var(--ms-ink); text-decoration-color:#a47416; }
html.mestiere573 .guide-main { padding-top:28px; }
html.mestiere573 .guide-article-layout { gap:40px; }
html.mestiere573 .guide-article h1 { margin-top:0; color:var(--ms-ink); font-size:42px; letter-spacing:-.045em; }
html.mestiere573 .guide-article h2 { font-size:26px; letter-spacing:-.03em; color:var(--ms-ink); }
html.mestiere573 .guide-article :is(p,li) { font-size:16px; line-height:1.75; color:#42594f; }
html.mestiere573 .guide-outline { top:170px; }
html.mestiere573 .guide-outline a { font-size:13px; color:var(--ms-muted); }
html.mestiere573 .product-article .inherited-copy > article > section { margin:24px 0; padding:24px; border:1px solid var(--ms-line); background:var(--ms-white); border-radius:12px; }
html.mestiere573 .product-article .inherited-copy > article > a[href*='/registrati'] { display:inline-flex; padding:12px 20px; min-height:48px; align-items:center; background:var(--ms-ink); color:var(--ms-white); font-size:14px; font-weight:700; text-decoration:none; border-radius:9px; margin:12px 0; }
@media(max-width:760px) {
 html.mestiere573 .product-context > .wrap { min-height:76px; padding-block:12px; gap:12px; }
 html.mestiere573 .product-context nav { gap:14px; overflow:auto; max-width:100%; }
 html.mestiere573 .product-context nav a { flex-shrink:0; font-size:12px; }
 html.mestiere573 .guide-article h1 { font-size:32px; }
 html.mestiere573 .guide-article h2 { font-size:23px; }
 html.mestiere573 .product-article .inherited-copy > article > section { padding:20px; }
 html.mestiere573 .guide-outline summary { min-height:46px; border:1px solid var(--ms-line); background:var(--ms-white); border-radius:9px; padding:12px; }
}
html.mestiere573 :is(.mestiere-mark,.mkt-mark) small { opacity:1!important; }
html.mestiere573 .mestiere-auth-form input[type=checkbox] { width:20px!important; height:20px!important; min-height:20px!important; max-height:20px!important; min-width:20px; padding:0; accent-color:#193d37; align-self:start; }
html.mestiere573 .mx-shell > aside nav button.active[data-ms-group]::before { color:#d0dbd4; }
