/* Build 59 TEST — compact settings presentation. Controls/IDs and cloud logic unchanged. */
#profilePage{--f59-edge:color-mix(in srgb,var(--v24-primary,#b64f7b) 22%,transparent);--f59-muted:var(--v24-muted,#806b79)}
#profilePage:not(.v34-onboarding)>.f135b-intro{padding:0 2px 2px!important;margin:0 0 2px!important}
#profilePage:not(.v34-onboarding)>.f135b-intro h2{font-size:17px!important;line-height:1.18;margin:0!important}
#profilePage:not(.v34-onboarding)>.f135b-intro p{display:none}
#profilePage:not(.v34-onboarding)>.f135b-shortcuts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin:4px 0 7px!important}
#profilePage:not(.v34-onboarding)>.f135b-shortcuts button{height:44px!important;min-height:44px!important;border-radius:10px!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:1.1!important;padding:4px 2px!important;overflow:hidden!important}
#profilePage:not(.v34-onboarding)>.f135b-group{margin:3px 0!important;border-radius:11px!important}
#profilePage:not(.v34-onboarding)>.f135b-group>summary{min-height:46px!important;padding:5px 9px!important;gap:8px!important}
#profilePage:not(.v34-onboarding) .f135b-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;font-size:16px!important;border-radius:9px!important}
#profilePage:not(.v34-onboarding) .f135b-caption strong{font-size:13px!important;line-height:1.2!important}
#profilePage:not(.v34-onboarding) .f135b-caption small{font-size:10px!important;line-height:1.2!important;margin-top:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profilePage:not(.v34-onboarding)>.f135b-group>summary::after{font-size:17px!important}
#profilePage:not(.v34-onboarding) .f135b-contents{padding:3px 6px 7px!important}
#profilePage:not(.v34-onboarding) .f135b-contents>.v13-accordion{margin:3px 0!important;border-radius:9px!important}
#profilePage:not(.v34-onboarding) .f135b-contents>.v13-accordion>summary{min-height:44px!important;padding:7px 9px!important;font-size:12.5px!important;line-height:1.25!important}
#profilePage:not(.v34-onboarding) .f135b-contents>.v13-accordion>.card{padding:8px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v13-card,
#profilePage:not(.v34-onboarding) .f135b-contents .card .v24-settings-pane,
#profilePage:not(.v34-onboarding) .f135b-contents .card .v18-account-part,
#profilePage:not(.v34-onboarding) .f135b-contents .card .v22-category-item{margin:5px 0!important;padding:8px!important;border-radius:10px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card h2{font-size:15px!important;line-height:1.25!important;margin:1px 0 5px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card h3{font-size:13px!important;line-height:1.3!important;margin:7px 0 4px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card p{margin:4px 0 6px!important;line-height:1.35!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card label{font-size:12.5px!important;line-height:1.25!important;margin:5px 0 3px!important;min-height:0!important;overflow-wrap:anywhere}
#profilePage:not(.v34-onboarding) .f135b-contents .card input:not([type=checkbox]):not([type=radio]):not([type=color]),
#profilePage:not(.v34-onboarding) .f135b-contents .card select{font-size:16px!important;min-height:42px!important;height:auto;padding:8px 9px!important;border-radius:9px!important;max-width:100%!important;min-width:0!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card textarea{font-size:16px!important;min-height:65px!important;padding:8px 9px!important;border-radius:9px!important;max-width:100%!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card button:not(.v18-eye){min-height:42px;padding:7px 9px;font-size:12.5px;line-height:1.25;max-width:100%}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v13-grid,
#profilePage:not(.v34-onboarding) .f135b-contents .card .favorite-config-grid,
#profilePage:not(.v34-onboarding) .f135b-contents .card .v31-fields{gap:6px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v13-actions,
#profilePage:not(.v34-onboarding) .f135b-contents .card .v31-actions{gap:5px!important;margin-top:7px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v18-password-line{margin-bottom:4px!important;gap:5px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v18-eye{min-width:65px!important;max-width:83px!important;padding:6px!important;font-size:12px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .card .v18-account-part{border-bottom:0!important}
#profilePage:not(.v34-onboarding) .f135b-contents #mrPanel{margin:3px 0!important}
#profilePage:not(.v34-onboarding) .f135b-contents #mrPanel>.mr-body{padding:8px!important}
#profilePage:not(.v34-onboarding) #mrPanel .mr-grid{gap:6px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
#profilePage:not(.v34-onboarding) #mrPanel .mr-grid button{width:100%;min-height:42px!important;white-space:normal}
#profilePage:not(.v34-onboarding) #mrPanel .mr-balance{padding:7px 9px!important;margin:5px 0!important;font-size:13px!important;line-height:1.3!important}
#profilePage:not(.v34-onboarding) .f135b-quick-body>p{display:none!important}
#profilePage:not(.v34-onboarding) .f135b-quick-body .v26-quick-row{padding:5px 6px!important;margin:2px 0!important;gap:3px!important}
#profilePage:not(.v34-onboarding) .f135b-quick-body .v26-quick-rows{gap:4px!important}
#profilePage:not(.v34-onboarding) .f135b-quick-body .v26-quick-config{padding:6px!important;margin:2px 0!important}
#profilePage .f59-mini-details{min-width:0;width:100%;margin:5px 0;border:1px solid var(--f59-edge);border-radius:10px;background:color-mix(in srgb,var(--v24-primary,#b64f7b) 3%,var(--v24-cards,#fff));overflow:hidden}
#profilePage .f59-mini-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;color:var(--v24-card-text,#58394b);font-size:13px;font-weight:700;line-height:1.2}
#profilePage .f59-mini-details>summary::-webkit-details-marker{display:none}
#profilePage .f59-mini-details>summary::after{content:'⌄';margin-left:auto;flex:none;font-size:16px;color:var(--v24-primary,#b64f7b)}
#profilePage .f59-mini-details[open]>summary::after{transform:rotate(180deg)}
#profilePage .f59-mini-body{padding:2px 9px 9px;min-width:0;max-width:100%}
#profilePage .f59-mini-body>*{min-width:0;max-width:100%}
#profilePage .f59-mini-body>.v18-account-part{padding:4px 0!important;margin:0!important;border:0!important}
#profilePage .f59-mini-body>.v18-account-part>h3{display:none}
#profilePage .f59-mini-body>.v18-account-part>p{margin:4px 0!important}
#profilePage .f59-mini-body>.mr-history-row{padding:5px 0!important}
#profilePage:not(.v34-onboarding) #v13FavoritesAccordion .favorite-list{margin-top:4px!important}
@media(max-width:350px){#profilePage:not(.v34-onboarding)>.f135b-shortcuts button{font-size:10px!important}#profilePage:not(.v34-onboarding) .f135b-caption small{display:none}#profilePage:not(.v34-onboarding) #mrPanel .mr-grid{grid-template-columns:1fr!important}}
/* Mode notte: never force a bright surface over a dark custom theme. */
body.v22-night #profilePage .f59-mini-details{background:#292e39!important;border-color:#48414f!important}
body.v22-night #profilePage .f59-mini-details>summary{color:#f3eaf3!important}
body.v22-night #profilePage .f59-mini-body{background:#20242e!important;color:#f3eaf3}
@media print{#profilePage .f59-mini-details{border:0}}
/* Shorter inner disclosure rows within Appearance/Home and holiday/absence options. */
#profilePage:not(.v34-onboarding) .f135b-contents .v25-subsection{margin:5px 0!important;border-radius:10px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v25-subsection>summary{min-height:44px!important;padding:8px 10px!important;font-size:12.5px!important;line-height:1.25!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v25-subsection>.v25-section-inner{padding:3px 8px 9px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v24-settings-pane{padding:7px!important;margin:5px 0!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v22-home-choice{padding:7px 9px!important;margin:4px 0!important;border-radius:9px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v22-category-item{grid-column:auto}
#profilePage:not(.v34-onboarding) .f135b-contents details:not(.v13-accordion):not(.f135b-group):not(.v25-subsection):not(.f59-mini-details)>summary{min-height:44px;padding:7px 9px;font-size:12.5px;line-height:1.25}
#profilePage:not(.v34-onboarding) .f135b-contents .favorite-item{padding:6px 8px!important;margin:4px 0!important;border-radius:9px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .v31-holiday-form{padding:8px!important;margin:6px 0!important;border-radius:10px!important}
#profilePage:not(.v34-onboarding) .f135b-contents .mr-history-row{padding:6px 0!important}

/* Build 60 TEST: single contract flow, short nested weekly-hour variation.
   Existing hour fields/listeners are moved (not recreated). */
#profilePage:not(.v34-onboarding) #v13ContractsAccordion .f60-contract-hours{
 margin:7px 0!important;border:1px solid var(--f59-edge)!important;
 border-radius:10px!important;background:color-mix(in srgb,var(--v24-primary,#b64f7b) 3%,var(--v24-cards,#fff))!important;
 min-width:0;width:100%;overflow:hidden;
}
#profilePage:not(.v34-onboarding) #v13ContractsAccordion .f60-contract-hours>summary{
 min-height:44px!important;padding:8px 10px!important;font-size:12.5px!important;
 font-weight:700;line-height:1.25!important;
}
#profilePage:not(.v34-onboarding) #v13ContractsAccordion .f60-contract-hours>.card{
 margin:0!important;padding:8px!important;border:0!important;box-shadow:none!important;
}
#profilePage.v34-onboarding #v13ContractsAccordion .f60-contract-hours{display:none!important}
body.v22-night #profilePage #v13ContractsAccordion .f60-contract-hours{
 background:#292e39!important;border-color:#48414f!important;
}
body.v22-night #profilePage #v13ContractsAccordion .f60-contract-hours>summary{color:#f3eaf3!important}

/* Build 60 TEST: Assistance has one visible entry, opening directly to the original form. */
#profilePage #f135bHelp .f135b-contents{padding:2px 5px 6px!important}
#profilePage #f135bHelp #f12UserPanel{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#profilePage #f135bHelp #f12UserPanel>summary{display:none!important}
#profilePage #f135bHelp #f12UserPanel>.card{margin:0!important;padding:6px 8px!important;border:0!important;box-shadow:none!important}
#profilePage #f135bHelp #f12UserPanel>.card h2{margin:0 0 5px!important;font-size:14px!important}

/* Build101: ricerca e risultati collegati ai controlli originali. */
#profilePage .f101-settings-search{margin:8px 0;padding:9px;border:1px solid var(--f59-edge);border-radius:12px;background:var(--v24-cards,#fff9fc);min-width:0}
#profilePage .f101-settings-search>label{display:block;font-size:12px;font-weight:700;margin:0 0 5px;color:var(--v24-card-text,#58394b)}
#profilePage .f101-search-row{display:flex;align-items:center;gap:6px;min-width:0}
#profilePage #f101SettingsQuery{flex:1;min-width:0;width:100%;height:44px;font-size:16px;padding:8px 10px;margin:0;box-sizing:border-box;border-radius:9px}
#profilePage #f101SearchClear{flex:none;min-width:42px;width:42px;height:44px;padding:0;font-size:18px}
#profilePage #f101SearchCount{font-size:12px;line-height:1.35;margin:7px 0 0}
#profilePage #f101SearchCount:empty{display:none}
#profilePage #f101SettingsResults{display:grid;gap:5px;margin-top:7px;min-width:0}
#profilePage #f101SettingsResults[hidden],#profilePage #f101SearchClear[hidden]{display:none!important}
#profilePage .f101-search-result{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;min-height:49px;width:100%;max-width:100%;min-width:0;padding:8px 10px;border-radius:9px;overflow-wrap:anywhere}
#profilePage .f101-search-result strong{font-size:13px;line-height:1.25}
#profilePage .f101-search-result small{font-size:11px;line-height:1.25;color:var(--v24-muted,#806b79);font-weight:400}
#profilePage.f101-searching>.f135b-group,#profilePage.f101-searching>.f135b-shortcuts{display:none!important}
#profilePage.v34-onboarding>.f101-settings-search{display:none!important}
#profilePage .f16b-reminder-card #reminderStatus{font-size:12px;line-height:1.4;padding:9px;border-radius:9px;background:color-mix(in srgb,var(--v24-primary,#b64f7b) 7%,var(--v24-cards,#fff));border:1px solid var(--f59-edge);overflow-wrap:anywhere}
#profilePage .f16b-reminder-card #f101ReminderRefresh{width:100%;min-height:42px}
body.v22-night #profilePage .f101-settings-search{background:#292e39;border-color:#48414f;color:#f3eaf3}
#profilePage summary{scroll-margin-top:8px}
#profilePage .f101-reminder-availability{margin:3px 0 10px}
#profilePage .f101-reminder-availability #f16bPermission{font-size:11px;margin:3px 0}
