/* Owner-reviewed Activity page, local fictional candidate only. */
[data-create-sheet]:has([data-create-form="activity"].active:not([hidden])){bottom:68px;background:#FFF9F6}
[data-create-sheet]:has([data-create-form="activity"].active:not([hidden]))>.scrim{display:none}
[data-create-sheet]:has([data-create-form="activity"].active:not([hidden]))>.sheet-card{top:0;bottom:0;max-height:none;overflow:auto;display:block;padding:0 20px 28px;background:#FFF9F6;border-radius:0}
[data-create-sheet]:has([data-create-form="activity"].active:not([hidden])) .sheet-card>header,[data-create-sheet]:has([data-create-form="activity"].active:not([hidden])) .sheet-card>.grabber{display:none!important}
[data-create-form="activity"].active{display:grid;gap:16px;padding:0;margin:0}
[data-create-form="activity"] .activity-page-heading{height:64px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;margin:0}
[data-create-form="activity"] .activity-page-heading button{display:block;width:44px;min-height:44px;padding:0;border:0;background:transparent;text-align:left;color:#17213B;font:30px/1 system-ui}
[data-create-form="activity"] .activity-page-heading h3{margin:0;text-align:center;color:#17213B;font-size:18.2px;line-height:1.2}
[data-create-form="activity"].active label{display:grid;gap:7px;margin:0;color:#17213B;font-size:14px;font-weight:600}
[data-create-form="activity"].active :is(input:not([type=checkbox]):not([type=file]),textarea){min-width:0;width:100%;min-height:46px;border:1px solid #EFDBD3!important;border-radius:12px;background:#FFF!important;padding:11px 12px;color:#17213B;font-size:14px;font-weight:400}
[data-create-form="activity"].active textarea{min-height:100px}
[data-create-form="activity"] .activity-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
[data-create-form="activity"] .post-city-control{display:flex!important;flex-wrap:wrap;gap:5px 8px;align-items:center;min-height:46px;padding:4px 12px;background:#fff;border:1px solid #EFDBD3;border-radius:12px}
[data-create-form="activity"] .post-city-control>.feature-icon,[data-create-form="activity"] .post-city-copy small{display:none!important}
[data-create-form="activity"] .post-city-copy{flex:1;min-width:125px}
[data-create-form="activity"] .post-city-control strong{white-space:normal;color:#17213B;font-weight:400}
[data-create-form="activity"] .post-city-control button{min-height:44px;padding:0;color:#C94932;font-size:14px;font-weight:600}
[data-create-form="activity"].active .photo-upload-card{background:#fff;border:1px solid #EFDBD3;border-radius:12px;min-height:48px}
[data-create-form="activity"].active .primary{min-height:48px;border-radius:12px;background:#C94932;color:#fff}
html[data-nest-text-size="125"] [data-create-form="activity"] .activity-page-heading h3{font-size:22.75px!important}
html[data-nest-text-size="125"] [data-create-form="activity"].active label{font-size:17.5px!important}
html[data-nest-text-size="125"] [data-create-form="activity"].active :is(input:not([type=checkbox]):not([type=file]),textarea){font-size:17.5px!important}
html[data-nest-text-size="125"] [data-create-form="activity"] .post-city-control button{font-size:17.5px!important}
html.kablo-native [data-create-sheet]:has([data-create-form="activity"].active:not([hidden])){bottom:calc(52px + env(safe-area-inset-bottom))}
html.nest-keyboard-open [data-create-sheet]:has([data-create-form="activity"].active:not([hidden])){bottom:0}
/* Restore the real navigation when the Activity page overlays Home or Discover. */
html:not(.nest-keyboard-open) body:has([data-create-sheet]:not([hidden]) [data-create-form="activity"].active) .phone-shell>.bottom-nav:not([hidden]){display:grid!important;z-index:41}
html:not(.nest-keyboard-open) body:has(#discover-screen.active):has([data-create-sheet]:not([hidden]) [data-create-form="activity"].active) .phone-shell>.bottom-nav:not([hidden]),html:not(.nest-keyboard-open) body:has(#home-screen.active):has([data-create-sheet]:not([hidden]) [data-create-form="activity"].active) .phone-shell>.bottom-nav:not([hidden]){display:grid!important;z-index:41}
[data-create-form="activity"] .activity-date-pair input[type="date"]::-webkit-calendar-picker-indicator{width:12px;height:12px}
[data-create-form="activity"] .activity-date-pair input[type="date"]::-webkit-calendar-picker-indicator{position:absolute;right:5px}
@media(max-width:340px){[data-create-form="activity"] .activity-date-pair{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}
/* Keep both controls at readable sizes and align them when labels wrap. */
[data-create-form="activity"] .activity-date-pair>label{align-content:end}
[data-create-form="activity"] .activity-date-pair input{font-size:16px!important;padding-inline:5px!important}
html[data-nest-text-size="125"] [data-create-form="activity"] .activity-date-pair input{font-size:20px!important}
html.nest-admin-web[data-nest-text-size="125"] [data-create-form="activity"].active .activity-date-pair input:is([type=date],[type=time]){font-size:20px!important}
[data-create-form="activity"] .activity-date-pair input[type="date"]{position:relative;padding-right:20px!important}
[data-create-form="activity"] .activity-date-pair input::-webkit-calendar-picker-indicator{width:12px;height:12px;margin:0;padding:0}
[data-create-form="activity"].active .photo-upload-card{background:#fff!important;border:1px solid #EFDBD3!important}
[data-create-form="activity"].active .photo-upload-card>.feature-icon{display:none}
[data-create-form="activity"].active .photo-upload-card{display:flex!important;align-items:center;gap:8px;padding:11px 12px!important}
[data-create-form="activity"].active .nest-cover-editor .photo-upload-card[hidden]{display:none!important}
[data-create-form="activity"].active .photo-upload-card>span:not(.feature-icon){display:grid;flex:1;min-width:0}

html.kablo-native [data-create-form="activity"] input:is([type="date"],[type="time"]){min-height:44px!important;box-sizing:border-box}
html[data-nest-text-size="125"] [data-create-form="activity"] [data-activity-page-back]{font-size:37.5px!important}
html[data-nest-text-size="125"]:not(.nest-provider-mode):not(.nest-admin-web) [data-create-form="activity"] .post-city-control button[data-post-city-trigger],html.nest-admin-web[data-nest-text-size="125"] [data-create-form="activity"] .post-city-control button[data-post-city-trigger]{font-size:17.5px!important}
