/* Le Mie Ore ♡ v1.13.2 · layout repairs only.  No data model changes. */
#profilePage .v25-settings-intro{margin:3px 0 10px;color:var(--v24-muted,#786777);font-size:13px}
#profilePage .v25-subsection{min-width:0;max-width:100%;margin:10px 0;border:1px solid color-mix(in srgb,var(--v24-primary,#b64f7b) 22%,transparent);border-radius:14px;background:var(--v24-cards,#fff);overflow:hidden}
#profilePage .v25-subsection>summary{cursor:pointer;list-style:none;min-height:48px;padding:13px 14px;font-size:15px;font-weight:750;color:var(--v24-text,#63394e);display:flex;align-items:center;justify-content:space-between;gap:10px}
#profilePage .v25-subsection>summary::-webkit-details-marker{display:none}
#profilePage .v25-subsection>summary::after{content:'⌄';font-size:21px;line-height:1;color:var(--v24-primary,#b64f7b)}
#profilePage .v25-subsection[open]>summary::after{content:'⌃'}
#profilePage .v25-subsection>.v25-section-inner{padding:3px 12px 13px;min-width:0;max-width:100%}
#profilePage .v25-subsection>.v25-section-inner>label{display:block;margin:8px 0 5px}
#profilePage .v25-subsection .v24-settings-pane{border:0!important;padding:0!important;margin:7px 0!important;background:transparent!important}
#profilePage .v25-subsection .v24-settings-pane h3:first-child{display:none}
/* The previous generic #profilePage input selector forced full-width color inputs; this caused overlap. */
#profilePage #v24ThemeFields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important}
#profilePage #v24ThemeFields label{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) 56px!important;align-items:center;column-gap:12px;min-width:0;max-width:100%;width:100%;margin:0!important;padding:7px 10px!important;border-radius:12px!important;min-height:53px;line-height:1.25;font-size:14px!important;overflow:hidden}
#profilePage #v24ThemeFields input[type=color]{box-sizing:border-box;position:static!important;display:block;justify-self:end;flex:none!important;width:52px!important;min-width:52px!important;max-width:52px!important;height:40px!important;max-height:40px!important;margin:0!important;padding:3px!important;border-radius:9px!important;border:1px solid color-mix(in srgb,var(--v24-primary,#b64f7b) 25%,#fff)!important;transform:none!important}
#profilePage .v24-mini-preview{max-width:100%!important;width:100%!important;box-sizing:border-box}
#profilePage .v24-mini-card{min-width:0;overflow-wrap:anywhere}
#profilePage .v22-color-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
#profilePage .v22-color-grid label{min-width:0;overflow:hidden}
#profilePage .v22-color-grid input[type=color]{display:block;box-sizing:border-box;max-width:100%;width:54px!important;min-width:54px!important;height:40px!important;flex:none!important}
/* Account remains a single accessible row at mobile sizes; email ellipsizes, controls stay >=44px. */
@media screen and (max-width:760px){
  body #appShell .accountBar{display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,44px)!important;gap:5px!important;align-items:center!important;padding:6px 9px!important;min-height:56px;max-width:calc(100% - 18px);box-sizing:border-box;flex-wrap:nowrap!important}
  body #appShell .accountBar>div:first-child{min-width:0;width:100%;max-width:100%;overflow:hidden}
  body #appShell .accountBar button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;font-size:0!important;line-height:1!important;display:grid!important;place-items:center}
  body #appShell .accountBar button[hidden]{display:none!important}
  body #appShell .accountBar #v13OpenMaster::before{content:'👑'!important;font-size:20px!important}
  body #appShell .accountBar #openSettings::before{content:'⚙'!important;font-size:23px!important}
  body #appShell .accountBar #logout::before{content:'⇥'!important;font-size:24px!important}
  #appShell #accountEmail{font-size:12px!important}
  #appShell #cloudStatus{font-size:11px!important}
  #profilePage .v25-subsection>.v25-section-inner{padding:3px 10px 12px}
  body.v21-calendar-active #calendarPage>.card:first-child>.bar{display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px auto 42px!important;gap:5px!important;align-items:center!important;min-width:0;width:100%;margin:0 0 6px!important}
  body.v21-calendar-active #calendarPage .bar #prev,body.v21-calendar-active #calendarPage .bar #next{width:34px!important;min-width:34px!important;height:44px;min-height:44px;padding:0!important}
  body.v21-calendar-active #calendarPage .bar #monthName{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;min-width:0!important;width:100%;font-size:clamp(13px,4vw,18px)!important;padding:7px 2px!important}
  body.v21-calendar-active #calendarPage .bar #todayButton{width:auto!important;min-width:46px!important;min-height:44px;padding:6px 7px!important;font-size:13px!important}
  body.v21-calendar-active #calendarPage .bar #v24CalendarToSummary{height:44px!important;min-height:44px!important;max-width:44px!important;min-width:42px!important;width:42px!important;padding:0!important;display:grid!important;place-items:center;font-size:20px!important}
  body.v23-shell-active:not(.v21-calendar-active) #appShell>#v13MasterPanel:not([hidden]){display:block!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0;flex:1 1 0;order:3;max-height:none;padding:12px 10px calc(22px + env(safe-area-inset-bottom,0px))!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
}
#calendarPage .v25-summary-icon{width:44px;min-width:44px;min-height:44px;font-size:20px;padding:5px;line-height:1}
#v13MasterPanel{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
#v13MasterPanel>.card{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
#v13MasterPanel .v25-master-intro{font-size:13px;margin:4px 0 10px;color:var(--v24-muted,#796677)}
#v13MasterPanel .v25-master-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
#v13MasterPanel .v25-master-nav button{min-height:45px;min-width:0;font-size:12px;padding:8px 4px;white-space:normal}
#v13MasterPanel .v25-master-group{margin:10px 0;border:1px solid color-mix(in srgb,var(--v24-primary,#b64f7b) 26%,transparent);border-radius:14px;overflow:hidden;background:var(--v24-cards,#fff);min-width:0;max-width:100%}
#v13MasterPanel .v25-master-group>summary{cursor:pointer;list-style:none;min-height:52px;padding:13px;font-size:15px;font-weight:800;color:var(--v24-text,#63394e);display:flex;justify-content:space-between;gap:8px;align-items:center}
#v13MasterPanel .v25-master-group>summary::-webkit-details-marker{display:none}
#v13MasterPanel .v25-master-group>summary::after{content:'⌄';font-size:20px}
#v13MasterPanel .v25-master-group[open]>summary::after{content:'⌃'}
#v13MasterPanel .v25-master-content{padding:2px 10px 14px;min-width:0;max-width:100%}
#v13MasterPanel .v25-master-content>*{max-width:100%;min-width:0;box-sizing:border-box}
#v13MasterPanel .v25-master-content .v13-card,#v13MasterPanel .v25-master-content .v16-card,#v13MasterPanel .v25-master-content .v15-card{max-width:100%;min-width:0;box-sizing:border-box}
#v13MasterPanel .v25-master-content select,#v13MasterPanel .v25-master-content input,#v13MasterPanel .v25-master-content textarea{max-width:100%;box-sizing:border-box;min-width:0}
#v13MasterPanel .v25-master-owner[hidden]{display:none!important}
#v13MasterPanel .v25-admin-status{font-size:12px;color:var(--v24-muted,#796677);line-height:1.45}
@media(max-width:360px){#v13MasterPanel .v25-master-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* One-column administrative message editor on phones: no half-width controls. */
@media screen and (max-width:760px){
 #v13MasterPanel .v13-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px}
 #v13MasterPanel .v13-grid>*{grid-column:1/-1;min-width:0;width:100%;max-width:100%}
 #v13MasterPanel .v22-master-helper{width:100%;max-width:100%;box-sizing:border-box;margin:3px 0 6px}
 #v13MasterPanel .v25-master-content .v13-card{padding:10px!important}
}
/* Lightweight group labels replace the long, unstructured settings list. */
#profilePage .v25-settings-heading{font-size:11px;font-weight:850;letter-spacing:.085em;color:var(--v24-primary,#a44172);margin:18px 4px 8px;text-transform:uppercase}
#profilePage .v25-settings-heading:first-child{margin-top:4px}
#profilePage .v25-vacation-link{margin-top:10px;display:block;width:100%;min-height:44px}
@media screen and (max-width:760px){body #appShell .accountBar:has(#v13OpenMaster[hidden]){grid-template-columns:minmax(0,1fr) repeat(2,44px)!important}}
