/* Existing FIT bridge: geometry belongs here; component state remains in its original module. */
body.page-id-1197 .wm-fit-code-main{font-family:Inter,system-ui,sans-serif;background:var(--wf-bg);color:var(--wf-text)}
body.page-id-1197 .wm-fit-app.weles-ui{--fit-bg:var(--wf-bg);--fit-surface:var(--wf-surface);--fit-line:var(--wf-line);--fit-gold:var(--wf-gold);--fit-text:var(--wf-text);--fit-muted:var(--wf-text-secondary);width:100%;max-width:1280px;margin-inline:auto;gap:24px}
body.page-id-1197 :is(.wm-fit-app-tabs,.wm-fit-app-workspace,.wm-fit-app-screens,.wm-fit-app-screen){width:100%;max-width:none;min-width:0;margin-inline:0;box-sizing:border-box}
body.page-id-1197 .wm-fit-app-screen>:is(section,article,.wm-week,.wm-account-unified,.wm-account-panel,.wm-device-center,.weles-fr02-activity,.weles-fr02-diary,.weles-fr02-menu-state,.weles-fr02-recipe-filter,.weles-fr02-own-recipes){width:100%;max-width:none;margin-inline:0;box-sizing:border-box;min-width:0}
body.page-id-1197 #wmProfileScreen{width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box}
body.page-id-1197 #wmProfileScreen .wm-profile-dashboard{width:100%;max-width:none;border-radius:16px;background:var(--wf-surface);border:1px solid var(--wf-line);box-shadow:none}
body.page-id-1197 .wm-profile-panel{padding:24px;min-width:0;background:var(--wf-surface)}
body.page-id-1197 .wm-profile-panel-left{border-right:1px solid var(--wf-line)}
body.page-id-1197 #wmProfileScreen .wm-profile-panel-title{display:block;color:var(--wf-text);margin:0 0 8px;font-size:1.25rem;font-weight:600}
body.page-id-1197 .wm-fit-app-screen{color:var(--wf-text);font-size:1rem;line-height:1.5;word-break:normal;hyphens:none}
body.page-id-1197 .wm-fit-app-screen :is(h2,h3,h4){color:var(--wf-text);line-height:1.4;font-weight:600;overflow-wrap:normal}
body.page-id-1197 .wm-fit-app-screen :is(p,small,dt){color:var(--wf-text-secondary);overflow-wrap:normal}
body.page-id-1197 .wm-fit-app-screen :is(label,legend,strong,span){overflow-wrap:normal}
body.page-id-1197 .wm-fit-app-screen :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),textarea,select){box-sizing:border-box;background:var(--wf-raised);border:1px solid var(--wf-control-border);border-radius:12px;color:var(--wf-text);font:inherit;line-height:1.5;min-height:48px;min-width:0;max-width:100%}
body.page-id-1197 .wm-fit-app-screen button{font:inherit;max-width:100%;white-space:normal;overflow-wrap:normal}
body.page-id-1197 .wm-device-card>div,body.page-id-1197 .wm-device-center__header>div{min-width:0;max-width:100%;overflow-wrap:normal}
body.page-id-1197 .wm-device-card{min-width:0;max-width:100%;box-sizing:border-box}
body.page-id-1197 .wm-device-button{white-space:normal;overflow-wrap:normal;line-height:1.5;min-height:48px;font:inherit;max-width:100%;box-sizing:border-box}
@media(max-width:640px){body.page-id-1197 .wm-device-center{padding:8px}body.page-id-1197 :is(.wm-device-card,.wm-device-release){padding:8px}}
body.page-id-1197 #wmProfileScreen :is(.wm-profile-field input,.wm-custom-select-trigger,.wm-menu-options-trigger){background:var(--wf-raised);border-color:var(--wf-control-border);color:var(--wf-text);border-radius:12px;min-height:48px;font:inherit}
body.page-id-1197 #wmStartCalculateBtn{background:var(--wf-gold);color:#131313!important;border-color:var(--wf-gold)}
body.page-id-1197 #wmStartCalculateBtn:hover:not(:disabled):not([aria-disabled=true]):not([aria-busy=true]){background:#e7c99b}
body.page-id-1197 #wmStartCalculateBtn:disabled{background:var(--wf-line);color:var(--wf-text-muted)!important}
body.page-id-1197 .wm-app-tabbar{width:100%;max-width:none;margin:0;gap:0}
body.page-id-1197 .wm-app-tabbar-window{height:auto;min-height:56px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid var(--wf-line);border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;scrollbar-width:thin}
body.page-id-1197 .wm-app-tabbar-track{display:grid;grid-template-columns:repeat(7,max(9rem,var(--wm-tab-width,9rem)));justify-content:center;width:max-content;height:auto;min-width:100%;transform:none!important;transition:none!important}
body.page-id-1197 .wm-app-tab{width:100%;min-width:0;height:auto;min-height:48px;padding:12px 8px;position:relative;font:500 1rem/1.5 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;border:0!important;border-radius:0;background:transparent!important;color:var(--wf-text-secondary)!important;white-space:nowrap;box-shadow:none!important}
body.page-id-1197 .wm-app-tab.is-active{color:var(--wf-text)!important}
body.page-id-1197 .wm-app-tab.is-active::after{content:'';position:absolute;height:2px;inset:auto 8px 0;background:var(--wf-gold)}
body.page-id-1197 .wm-app-tab:focus-visible{outline:2px solid #f2d59c!important;outline-offset:-4px}
body.page-id-1197 .wm-app-tabbar .wm-app-arrow,body.page-id-1197 .wm-app-tabbar-lens{display:none!important}
body.page-id-1197 .wm-fit-app-screen :is(.weles-fr02-menu-state,.weles-fr02-diary,.weles-fr02-recipe-filter,.weles-fr02-demo-card,.wm-account-panel){padding:24px;background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:16px;box-shadow:none}
body.page-id-1197 .wm-fit-app-screen .weles-fr02-demo-card{margin-top:16px}
body.page-id-1197 .wm-fit-app-screen .weles-fr02-demo-card__table-wrap{max-width:100%;overflow-x:auto}
body.page-id-1197 .wm-fit-app-screen .weles-fr02-demo-card__table :is(th,td){border-color:var(--wf-line)}
body.page-id-1197 .wm-fit-app-screen :is(.wm-device-card,.weles-fr02-activity__card,.wm-account-panel__person){background:var(--wf-raised);border-color:var(--wf-line);border-radius:16px;box-shadow:none}
@media(hover:hover){body.page-id-1197 .wm-app-tab:hover{background:var(--wf-hover)!important}}
@media(max-width:1120px){body.page-id-1197 .wm-app-tabbar-track{grid-template-columns:repeat(7,9rem);justify-content:start;width:max-content}}
@media(max-width:680px){body.page-id-1197 .wm-profile-panel{padding:16px}body.page-id-1197 .wm-fit-app-screen :is(.weles-fr02-menu-state,.weles-fr02-diary,.weles-fr02-recipe-filter,.weles-fr02-demo-card,.wm-account-panel){padding:16px}body.page-id-1197 .wm-fit-app{gap:16px}}

/* Compact hierarchy: headings identify a section instead of filling the screen. */
body.page-id-1197 .wm-fit-app .wm-fit-app-title{font-size:1.25rem;line-height:1.35;margin:0 0 12px}
body.page-id-1197 .wm-fit-app-screen :is(h1,h2){font-size:1.25rem;line-height:1.35;margin-block:0 12px;font-weight:600}
body.page-id-1197 .wm-fit-app-screen :is(h3,h4,h5,h6){font-size:1.0625rem;line-height:1.4;margin-block:0 8px;font-weight:600}
body.page-id-1197 .wm-fit-app-screen summary{box-sizing:border-box;min-height:44px;padding-block:8px}
@media(max-width:640px){
 body.page-id-1197 .wm-fit-app .wm-fit-app-title,body.page-id-1197 .wm-fit-app-screen :is(h1,h2){font-size:1.125rem}
 body.page-id-1197 .wm-fit-app-screen :is(h3,h4,h5,h6){font-size:1rem}
 body.page-id-1197 .wm-fit-app-screen .wm-unified-account{padding:8px}
 body.page-id-1197 .wm-unified-account .wm-account-nav{flex-wrap:nowrap;overflow-x:auto}
 body.page-id-1197 .wm-unified-account .wm-account-nav button{flex:0 0 auto;max-width:none;white-space:nowrap}
 body.page-id-1197 .wm-unified-account .wm-account-avatar{padding:8px;margin-block:16px}
}

body.page-id-1197 #wmProfileScreen .wm-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:100%;align-items:stretch}
body.page-id-1197 .wm-profile-actions>button{width:100%;min-width:0;max-width:none;margin:0}
body.page-id-1197 #wmProfileScreen .wm-custom-select-dropdown button{box-sizing:border-box;min-height:48px;white-space:normal;font:inherit;line-height:1.5}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-custom-select-dropdown button.is-selected{background:var(--wf-hover)!important}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-custom-select-dropdown button.is-selected::after{content:"✓";margin-inline-start:auto;font-weight:600;color:var(--wf-text-secondary)}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-menu-options-popover .wm-custom-select-dropdown{position:static}

/* All existing app modules share the control contract, including generated UI. */
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(:not(.wm-password-eye):not(.wm-meal-button):not(.weles-nut-g07__recipe-item):not(.weles-nut-g07__suggestion):not(.weles-fr02-extra-food__suggestion):not(.weles-fr02-plan-editor__recipe):not(.weles-fr02-recipe-base__card):not(.wm-exclusion-option):not(.wf-select-option):not(.wm-chat-author-avatar):not(.wm-chat-author-name):not(.wm-chat-menu-trigger):not(.wm-chat-reaction):not(.wm-profile-photo-open):not(.wm-profile-post-drop__upload):not(.wm-profile-upload-pick__button):not(.wm-profile-post-drop__more-btn):not(.weles-image-crop__btn--save):not(.weles-image-crop__btn--cancel):not([data-profile-publish]):not(.wm-chat-inline-icon):not(.wm-chat-emoji-trigger):not(.wm-chat-panel-close):not(.wm-chat-editor-overlay-backdrop)){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;min-width:44px;max-width:100%;padding:12px 20px;border:1px solid var(--wf-control-border)!important;border-radius:12px!important;background:var(--wf-raised)!important;color:var(--wf-text)!important;font:var(--wf-control-font)!important;letter-spacing:0;text-transform:none;text-decoration:none;box-shadow:none!important;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;cursor:pointer;transform:none!important;transition:background-color 160ms,border-color 160ms,color 160ms}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(:not(.wm-password-eye)):not(.wm-chat-author-avatar):not(.wm-chat-author-name):not(.wm-chat-menu-trigger):not(.wm-chat-reaction):not(.wm-profile-photo-open):not(.wm-profile-post-drop__upload):not(.wm-profile-upload-pick__button):not(.wm-profile-post-drop__more-btn):not(.weles-image-crop__btn--save):not(.weles-image-crop__btn--cancel):not([data-profile-publish]):not(.wm-chat-inline-icon):not(.wm-chat-emoji-trigger):not(.wm-chat-panel-close):not(.wm-chat-editor-overlay-backdrop):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover{background:var(--wf-hover)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.wm-chat-editor-overlay-backdrop,
body.page-id-1197 button.wm-chat-editor-overlay-backdrop,
body.page-id-1197 .wm-chat-editor-overlay-backdrop{
background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0!important;min-height:0!important;padding:0!important;color:transparent!important;opacity:1!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.wm-chat-editor-overlay-backdrop.wm-chat-editor-overlay-backdrop--quiet,
body.page-id-1197 button.wm-chat-editor-overlay-backdrop.wm-chat-editor-overlay-backdrop--quiet,
body.page-id-1197 .wm-chat-editor-overlay-backdrop.wm-chat-editor-overlay-backdrop--quiet{
background:transparent!important;border:0!important;box-shadow:none!important;opacity:1!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-chat-emoji-grid > button,
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-chat-editor-panel .wm-chat-emoji-grid > button,
body.page-id-1197 .wm-chat-editor-panel.wm-chat-editor-panel--overlay .wm-chat-emoji-grid > button,
body.page-id-1197 .wm-chat-editor-panel.wm-chat-editor-panel--overlay .wm-chat-emoji-grid > button:hover:not(:disabled){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;margin:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#f5f3ef!important;font:400 26px/1 Inter,"Segoe UI Emoji","Apple Color Emoji",sans-serif!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid var(--wf-gold)!important;outline-offset:-2px!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #wmExcludeProductsModal :is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid var(--wf-text-secondary,#b9bdc3)!important;outline-offset:-2px!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #wmExcludeProductsModal [data-exclusion-search]:is(:focus,:focus-visible):not(:disabled){border-color:#949ba4!important;outline:none!important;outline-color:transparent!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.wm-dialog-close,[data-profile-lightbox-close],.wm-chat-panel-close):is(:focus,:focus-visible,:active){outline:none!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):where(#wmStartCalculateBtn,[data-plan-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],.wm-profile-post-drop__upload,.wm-profile-upload-pick__button,.weles-image-crop__btn--save,[data-profile-publish]){background:var(--wf-gold)!important;border-color:var(--wf-gold)!important;color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):where(#wmStartCalculateBtn,[data-plan-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],.wm-profile-post-drop__upload,.wm-profile-upload-pick__button,.weles-image-crop__btn--save,[data-profile-publish]):hover:not(:disabled):not([aria-disabled=true]):not([aria-busy=true]){background:var(--wf-gold-light)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.weles-nut-g07__remove,.weles-fr02-extra-food__remove,.weles-fr02-activity__remove,[data-device-id],[data-message-delete],[data-avatar-remove],[data-cover-remove],[data-city-clear]){background:var(--wf-surface)!important;border-color:var(--wf-error)!important;color:var(--wf-error)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.weles-nut-g07__remove,.weles-fr02-extra-food__remove,.weles-fr02-activity__remove,[data-device-id],[data-message-delete],[data-avatar-remove],[data-cover-remove],[data-city-clear]):hover:not(:disabled):not([aria-disabled=true]):not([aria-busy=true]){background:var(--wf-hover)!important;border-color:var(--wf-error)!important;color:var(--wf-error)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #resetPlanBtn{background:var(--wf-raised)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(:not(.wm-password-eye)):disabled{background:var(--wf-line)!important;border-color:var(--wf-line)!important;color:var(--wf-text-muted)!important;opacity:1;cursor:not-allowed}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.wm-custom-select-trigger,.wm-menu-options-trigger){width:100%;justify-content:space-between!important;font-weight:400!important}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-account-nav,.wm-people-tabs) button{background:transparent!important;border-color:transparent!important;color:var(--wf-text-secondary)!important;border-radius:0!important;white-space:nowrap}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-account-nav,.wm-people-tabs) button:is([aria-selected=true],[aria-current=true],[aria-pressed=true],.is-active){border-bottom:2px solid var(--wf-gold)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-account-nav,.wm-people-tabs){flex-wrap:nowrap;overflow-x:auto}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-account-nav,.wm-people-tabs) button{flex:0 0 auto;max-width:none}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .weles-fr02-extra-food__suggestion{justify-content:flex-start;text-align:left;width:100%;min-height:48px;padding:10px 12px;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--wf-text)!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .weles-fr02-extra-food__suggestion:is(:hover,:focus-visible){background:var(--wf-hover)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .weles-fr02-extra-food__suggestions{border:1px solid var(--wf-control-border);border-radius:12px;background:var(--wf-raised);padding:4px;gap:4px}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.weles-fr02-diary__field,.weles-nut-g07__field,.wm-own-profile label,.wm-purchase-city label){margin:0!important;min-width:0;align-self:start}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen label>input{margin-block:0!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen fieldset{min-width:0;border:1px solid var(--wf-line);border-radius:16px;padding:16px;margin:0 0 16px;background:var(--wf-surface)}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen legend{padding-inline:8px;font:600 .875rem/1.4286 Inter,Arial,sans-serif;color:var(--wf-text)}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen fieldset>p:first-of-type{margin:0 0 16px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__optional{display:grid;grid-template-columns:repeat(3,minmax(0,128px));align-items:start;gap:16px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__field{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__field>span{line-height:20px;color:var(--wf-text-secondary);font-size:14px;margin:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .weles-fr02-activity>.weles-fr02-diary__field{width:240px;max-width:100%;margin:20px 0!important;display:grid;gap:8px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity>p{margin:0 0 20px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor{gap:16px;margin-block:20px 16px;align-items:end}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__output{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:24px;padding:12px 16px;border:1px solid var(--wf-line);border-left:3px solid var(--wf-control-border);border-radius:12px;background:var(--wf-raised);color:var(--wf-text-secondary)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__output[data-state=success]{border-left-color:var(--wf-success)}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields{align-items:start;gap:20px 16px}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields>label{display:grid;grid-auto-rows:max-content;gap:8px;margin:0!important;align-self:start;min-width:0}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-own-profile__fields,[data-account-panel=privacy]) .wm-profile-caption{display:block;line-height:20px;margin:0;font-size:.875rem;font-weight:400;color:var(--wf-text-secondary)}
body.page-id-1197 .wm-fit-app.weles-ui [data-account-panel=privacy] [data-message-sound-volume]{margin-inline:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields .wm-profile-caption small{display:inline;font:inherit;color:var(--wf-text-muted);white-space:nowrap}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields :is(input,textarea){margin:0!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields .wm-own-profile__wide{padding-block-start:4px}
body.page-id-1197 .wm-unified-account .wm-own-cover-preview{position:relative;inline-size:min(256px,100%);aspect-ratio:3/1;border-radius:12px;overflow:hidden}
body.page-id-1197 .wm-unified-account .wm-own-cover-preview img{position:absolute;inset:0;display:block;inline-size:100%;block-size:100%;object-fit:cover}
body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields .wm-profile-city__field>button:disabled{background:transparent!important;border-color:transparent!important}
@media(max-width:600px){body.page-id-1197 .wm-fit-app.weles-ui .wm-own-profile__fields{row-gap:24px}}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(table){width:100%;border-collapse:collapse;background:var(--wf-surface);font-size:14px;line-height:20px;font-variant-numeric:tabular-nums}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(th,td){border:0;border-bottom:1px solid var(--wf-line);padding:12px 16px;vertical-align:middle}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen thead th{background:var(--wf-raised);color:var(--wf-text-secondary);font-size:14px;font-weight:600;text-align:left;min-height:48px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary-summary__table tbody th{font-weight:600;color:var(--wf-text);background:var(--wf-surface)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary-summary__table td:not(:last-child){text-align:right}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary-summary__table :is(th,td):first-child{border-left:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-details{background:var(--wf-surface);border:1px solid var(--wf-line);border-radius:16px;overflow:hidden}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-details>summary{padding:12px 16px;color:var(--wf-text);min-height:48px;font:600 .875rem/1.5 Inter,Arial,sans-serif;background:var(--wf-raised);cursor:pointer}
body.page-id-1197 .wm-fit-app.weles-ui #calorieExplain{margin:0;padding:16px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--wf-text-secondary);font:400 .875rem/1.5 Inter,Arial,sans-serif}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 16px;border:1px solid var(--wf-line);border-radius:12px;overflow:hidden}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary>div{display:flex;flex-direction:column;gap:4px;margin:0;padding:12px;background:var(--wf-raised);border:0;border-bottom:1px solid var(--wf-line);box-shadow:none;min-width:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary :is(span,b){font-size:14px;line-height:20px;color:var(--wf-text);overflow-wrap:normal}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary span{color:var(--wf-text-secondary);font-weight:400}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary>div:last-child{grid-column:1/-1;border-bottom:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-science-warning{display:block;padding:0;margin:8px 0 0;border:0;background:transparent;color:var(--wf-text-secondary);font:400 .875rem/1.5 Inter,Arial,sans-serif}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-lines{display:grid;gap:0;margin:0;padding:0 16px 16px}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-line{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:12px 0;margin:0;border:0;border-top:1px solid var(--wf-line);border-radius:0;background:transparent;box-shadow:none;font:400 .875rem/1.5 Inter,Arial,sans-serif;color:var(--wf-text)}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-line .icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;color:var(--wf-text-muted);margin:0}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-line .icon svg{width:20px;height:20px;filter:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 :is(.weles-nut-g07__toolbar,.weles-nut-g07__form,.weles-nut-g07__details,.weles-nut-g07__empty){background:var(--wf-surface);border-color:var(--wf-line);border-radius:16px;color:var(--wf-text);box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 :is(.weles-nut-g07__workspace,.weles-nut-g07__list-section,.weles-nut-g07__library,.weles-nut-g07__status){background:var(--wf-surface);border-color:var(--wf-line);border-radius:16px;color:var(--wf-text-secondary);box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__suggestions{background:var(--wf-raised)!important;border:1px solid var(--wf-control-border)!important;border-radius:12px!important;color:var(--wf-text)!important;box-shadow:0 8px 24px rgb(0 0 0 / 24%)!important;padding:4px!important;gap:0!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.weles-nut-g07__suggestion,body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__suggestion{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--wf-text)!important;font:400 1rem/1.5 Inter,Arial,sans-serif!important;text-align:left!important;justify-content:flex-start!important;box-shadow:none!important;transform:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.weles-nut-g07__suggestion:is(:hover,:focus-visible),body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__suggestion:is(:hover,:focus-visible){background:var(--wf-hover)!important;color:var(--wf-text)!important;border-color:transparent!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.weles-fr02-plan-editor__recipe{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:48px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--wf-text)!important;text-align:left!important;justify-content:flex-start!important;box-shadow:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.weles-fr02-plan-editor__recipe:is(:hover,:focus-visible){background:var(--wf-hover)!important}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-plan-editor__recipe-thumb{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:8px;background:var(--wf-raised)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-plan-editor__recipe-copy{display:grid;gap:2px;min-width:0}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-plan-editor__recipe-copy span{color:var(--wf-text-secondary);font:400 14px/20px Inter,Arial,sans-serif}
#wmFitRecipeBaseModal.wm-modal{padding:16px;box-sizing:border-box}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__window{display:flex;flex-direction:column;width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid #3a4046;border-radius:20px;background:#141619}
#wmFitRecipeBaseModal .wm-modal-header{padding:24px 76px 16px 24px;border-bottom:1px solid #3a4046}
#wmFitRecipeBaseModal .wm-modal-header h3{margin:0;color:#f5f3ef;font:600 18px/24px Inter,Arial,sans-serif}
#wmFitRecipeBaseModal .wm-modal-header p{margin:8px 0 0;color:#b9bdc3;font:400 14px/20px Inter,Arial,sans-serif}
#wmFitRecipeBaseModal .wm-modal-content{padding:16px 24px 24px;overflow:auto;min-height:0}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__label{display:block;margin:0 0 8px;color:#f5f3ef;font:500 14px/20px Inter,Arial,sans-serif}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__search{box-sizing:border-box;width:100%;min-height:48px;padding:0 14px;border:1px solid #66707a;border-radius:12px;background:#1c2024;color:#f5f3ef;font:400 16px/24px Inter,Arial,sans-serif;outline:none;box-shadow:none}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__search:focus{border-color:#949ba4;outline:none;box-shadow:none}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:16px}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__card{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;margin:0;padding:0;border:1px solid #3a4046!important;border-radius:14px!important;background:#1c2024!important;color:#f5f3ef!important;text-align:left;overflow:hidden;cursor:pointer;box-shadow:none!important}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__card:hover,#wmFitRecipeBaseModal .weles-fr02-recipe-base__card:focus-visible{background:#252a2f!important;outline:2px solid #b9bdc3;outline-offset:-2px}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__media{display:block;aspect-ratio:1;background:#141619}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__img{display:block;width:100%;height:100%;object-fit:cover}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__no-image{display:block;width:100%;height:100%;background:#252a2f}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__copy{display:grid;gap:4px;padding:12px;min-width:0}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__copy strong{font:500 14px/20px Inter,Arial,sans-serif;overflow-wrap:anywhere}
#wmFitRecipeBaseModal .weles-fr02-recipe-base__copy span{color:#b9bdc3;font:400 13px/18px Inter,Arial,sans-serif}
#wmFitRecipeBaseModal .wm-modal-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:1px solid #66707a;border-radius:10px;background:transparent;color:#f5f3ef;font:400 24px/1 Inter,Arial,sans-serif;cursor:pointer}
@media(max-width:640px){#wmFitRecipeBaseModal.wm-modal{padding:12px}#wmFitRecipeBaseModal .weles-fr02-recipe-base__window{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#wmFitRecipeBaseModal .wm-modal-content{padding:16px}#wmFitRecipeBaseModal .weles-fr02-recipe-base__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__cards{background:transparent;border:0;box-shadow:none;padding:0;margin:0}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__card{background:var(--wf-raised);border:1px solid var(--wf-line);border-radius:14px;color:var(--wf-text);box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__automatic{background:var(--wf-raised);border-color:var(--wf-line);border-radius:12px;box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07__status.is-error{border-left:3px solid var(--wf-error)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07__recipe-item[aria-current=true]{border-color:var(--wf-gold);background:var(--wf-hover)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 :is(.weles-nut-g07__section,.weles-nut-g07__recipe-item){background:var(--wf-raised);border-color:var(--wf-line);border-radius:12px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 .weles-nut-g07__ingredient-row{background:transparent;border-radius:0;box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07__field{display:grid;gap:8px;color:var(--wf-text-secondary);font:400 .875rem/1.4286 Inter,Arial,sans-serif}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07 :is(input,textarea,select){background:var(--wf-raised);border-color:var(--wf-control-border);border-radius:12px;font-size:16px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-nut-g07__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:flex-start}
@media(max-width:640px){body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__optional{grid-template-columns:minmax(0,1fr)}body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-diary__optional input{max-width:160px}body.page-id-1197 .wm-fit-app.weles-ui .wm-science-summary{grid-template-columns:1fr}}
@media(max-width:359px){body.page-id-1197 #wmProfileScreen .wm-profile-actions{grid-template-columns:minmax(0,1fr)}}

body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen #formBlock,body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .form-lock-wrapper{display:block;flex:0 0 auto;height:auto;min-height:0}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-profile-actions{height:auto;padding:0;margin-top:24px}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen .wm-plan-modal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:12px;width:100%;align-self:stretch}
body.page-id-1197 .wm-fit-app.weles-ui :is(.wm-profile-label,.wm-profile-field>label){color:var(--wf-text-secondary)!important;font:500 .875rem/1.4286 Inter,Arial,sans-serif!important;margin-bottom:8px}
body.page-id-1197 .wm-fit-app.weles-ui #wmProfileScreen :is(.wm-custom-select-trigger,.wm-menu-options-trigger){font:400 1rem/1.5 Inter,Arial,sans-serif!important}
body.page-id-1197 .wm-fit-app.weles-ui #calorieExplain :is(.wm-science-warning){font:400 .875rem/1.4286 Inter,Arial,sans-serif!important;color:var(--wf-text-secondary)!important;display:block;margin-top:12px;background:transparent;border:0;padding:0}
body.page-id-1197 .wm-fit-app.weles-ui #calorieExplain .wm-science-summary b{color:var(--wf-text)!important;font:600 .875rem/1.4286 Inter,Arial,sans-serif!important}
body.page-id-1197 .wm-fit-app.weles-ui #calorieExplain .wm-science-summary span{color:var(--wf-text-secondary)!important;font:400 .875rem/1.4286 Inter,Arial,sans-serif!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-plan-lines .icon svg{fill:currentColor!important;color:var(--wf-text-muted)!important}

body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button.wf-date-trigger{width:100%;justify-content:space-between;font:400 1rem/1.5 Inter,Arial,sans-serif!important;background:var(--wf-raised)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(.wm-device-button--primary){background:var(--wf-gold)!important;border-color:var(--wf-gold)!important;color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen a.wm-device-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border:1px solid var(--wf-control-border);border-radius:12px;background:var(--wf-raised);color:var(--wf-text);font:var(--wf-control-font);text-decoration:none;box-shadow:none}

/* Same action-state contract for native buttons, anchor buttons and disclosures. */
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(:not(.wm-password-eye)):not(.wm-chat-author-avatar):not(.wm-chat-author-name):not(.wm-chat-menu-trigger):not(.wm-chat-reaction):not(.wm-profile-photo-open):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):active{background:var(--wf-surface)!important;border-color:var(--wf-control-border)!important;box-shadow:none!important;transform:none!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):is(#wmStartCalculateBtn,[data-plan-save],[data-stock-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],button.wm-device-button--primary):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]){background:var(--wf-gold)!important;border-color:var(--wf-gold)!important;color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #resetPlanBtn:not(:disabled):not([aria-disabled=true]):hover{background:var(--wf-hover)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #resetPlanBtn:not(:disabled):not([aria-disabled=true]):active{background:var(--wf-surface)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen #resetPlanBtn:is(:disabled,[aria-disabled=true]){background:var(--wf-line)!important;border-color:var(--wf-line)!important;color:var(--wf-text-muted)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):is(#wmStartCalculateBtn,[data-plan-save],[data-stock-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],button.wm-device-button--primary):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover{background:var(--wf-primary-hover)!important;border-color:var(--wf-gold)!important;color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):is(#wmStartCalculateBtn,[data-plan-save],[data-stock-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],button.wm-device-button--primary):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):active{background:var(--wf-primary-pressed)!important;border-color:var(--wf-gold)!important;color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a):is(#wmStartCalculateBtn,[data-plan-save],[data-stock-save],.weles-fr02-diary__submit,.weles-fr02-extra-food__add,.weles-fr02-activity__add,.weles-nut-g07__primary,button[type=submit],[data-cover-install],[data-device-pair-start],button.wm-device-button--primary):focus-visible{outline-color:#131313!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.weles-nut-g07__remove,.weles-fr02-extra-food__remove,.weles-fr02-activity__remove,[data-device-id],[data-message-delete],[data-avatar-remove],[data-cover-remove],[data-city-clear]):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover{background:var(--wf-hover)!important;border-color:var(--wf-error)!important;color:var(--wf-error)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(.weles-nut-g07__remove,.weles-fr02-extra-food__remove,.weles-fr02-activity__remove,[data-device-id],[data-message-delete],[data-avatar-remove],[data-cover-remove],[data-city-clear]):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):active{background:var(--wf-surface)!important;border-color:var(--wf-error)!important;color:var(--wf-error)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen a:is(.wm-device-button,.wm-account-panel__button){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border:1px solid var(--wf-control-border)!important;border-radius:12px;background:var(--wf-raised)!important;color:var(--wf-text)!important;font:var(--wf-control-font);text-decoration:none;box-shadow:none;transition:background-color 160ms,border-color 160ms,color 160ms}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen a:is(.wm-device-button,.wm-account-panel__button):not([aria-disabled=true]):hover{background:var(--wf-hover)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen a:is(.wm-device-button,.wm-account-panel__button):not([aria-disabled=true]):active{background:var(--wf-surface)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen details>summary{box-sizing:border-box;min-height:48px;padding:12px 16px;background:var(--wf-raised)!important;color:var(--wf-text)!important;font:var(--wf-control-font);border-radius:12px;cursor:pointer;box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen details>summary:hover{background:var(--wf-hover)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen details>summary:active{background:var(--wf-surface)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen details[open]>summary{color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen :is(button,a)[aria-disabled=true],body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen button:where(:not(.wm-password-eye)):disabled{background:var(--wf-line)!important;border-color:var(--wf-line)!important;color:var(--wf-text-muted)!important;cursor:not-allowed;box-shadow:none!important;opacity:1}

/* All first panels start at the shared app gap, including the recipe module. */
body.page-id-1197 .wm-fit-app-screen-recipes>.weles-nut-g07{margin-block-start:0!important}
body.page-id-1197 .wm-fit-app-screen-diary>.weles-nut-g08a__diary{margin-block-start:0!important}
/* Existing PDF/document links are secondary buttons, including their native states. */
body.page-id-1197 .wm-fit-app.weles-ui a.wm-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid var(--wf-control-border);border-radius:var(--wf-radius-control);background:var(--wf-raised);color:var(--wf-text);font:var(--wf-control-font);text-decoration:none;box-shadow:none;transform:none}
body.page-id-1197 .wm-fit-app.weles-ui a.wm-btn:where(:not([aria-disabled=true]):not([aria-busy=true]):not([data-busy=true])):hover{background:var(--wf-hover)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important;box-shadow:none;transform:none}
body.page-id-1197 .wm-fit-app.weles-ui a.wm-btn:where(:not([aria-disabled=true]):not([aria-busy=true]):not([data-busy=true])):active{background:var(--wf-surface)!important;border-color:var(--wf-control-border)!important;color:var(--wf-text)!important}
body.page-id-1197 .wm-fit-app.weles-ui a.wm-btn:focus-visible{outline:2px solid var(--wf-gold)!important;outline-offset:-2px!important;box-shadow:none}
body.page-id-1197 .wm-fit-app.weles-ui a.wm-btn:is([aria-disabled=true],[aria-busy=true],[data-busy=true]){background:var(--wf-line)!important;border-color:var(--wf-line)!important;color:var(--wf-text-muted)!important;cursor:not-allowed;opacity:1}

/* 2086: freeze the background; keep the existing exclusion form compact. */
body.page-id-1197.wm-modal-open{overflow:hidden!important}
body.page-id-1197 #wmExcludeProductsModal .wm-modal-window{height:auto;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
body.page-id-1197 #wmExcludeProductsModal .wm-modal-header{display:block;flex:0 0 auto;min-height:0;padding:12px 24px 16px}
body.page-id-1197 #wmExcludeProductsModal .wm-modal-header h3{margin:0 0 8px;color:var(--wf-text);font:600 18px/1.4 Inter,Arial,sans-serif;overflow-wrap:normal;word-break:normal}
body.page-id-1197 #wmExcludeProductsModal .wm-modal-header p{margin:0;color:var(--wf-text-secondary);font:400 14px/1.5 Inter,Arial,sans-serif;overflow-wrap:normal;word-break:normal}
body.page-id-1197 #wmExcludeProductsModal .wm-modal-content{padding:16px 24px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
body.page-id-1197 #wmExcludeProductsModal .wm-exclude-products-list{display:grid;gap:12px}
body.page-id-1197 #wmExcludeProductsModal .wm-exclude-product-name{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;padding:10px 14px;border:1px solid var(--wf-control-border);border-radius:12px;background:var(--wf-raised);color:var(--wf-text);font:400 16px/1.5 Inter,Arial,sans-serif;box-shadow:none}
body.page-id-1197 #wmExcludeProductsModal .wm-exclude-product-name::placeholder{color:var(--wf-text-muted);opacity:1}
body.page-id-1197 #wmExcludeProductsModal .wm-exclude-product-name:focus-visible,
body.page-id-1197 #wmExcludeProductsModal [data-exclusion-search]:focus-visible{outline:none!important;border-color:#949ba4!important;box-shadow:none!important}
@media(max-width:640px){body.page-id-1197 #wmExcludeProductsModal .wm-modal-header{padding:12px 16px}body.page-id-1197 #wmExcludeProductsModal .wm-modal-content{padding:16px}}


/* Native date source is hidden by the common picker; keep paired controls aligned. */
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-personal-row .wf-date-trigger{justify-content:space-between!important;min-width:0!important;width:100%!important}


/* Activity uses the same 48px controls, responsive rows and quiet state feedback. */
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__steps-row{display:grid;grid-template-columns:minmax(0,280px) auto;align-items:end;justify-content:start;gap:12px;margin:16px 0 8px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__steps-row>.weles-fr02-diary__field{margin:0;min-width:0;max-width:none;gap:8px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__steps-row>button{margin:0!important;min-height:48px!important;height:auto}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor{grid-template-columns:minmax(0,1.2fr) minmax(0,.65fr) minmax(0,.9fr) auto;gap:12px;align-items:end}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor-field{display:grid;gap:8px;min-width:0;margin:0;color:var(--wf-text-secondary);font-size:14px;line-height:20px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor-field>:is(input,select){width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;margin:0}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor>button{margin:0!important;min-height:48px!important}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__save-status{display:grid;gap:4px;margin:8px 0 16px;color:var(--wf-text-secondary);font-size:14px;line-height:20px;overflow-wrap:anywhere}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__save-status[data-state=success]>strong{color:var(--wf-success)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__save-status>button{justify-self:start;margin-top:8px}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__help{margin:12px 0;padding:12px 16px;border:1px solid var(--wf-line);border-radius:12px;background:var(--wf-raised)}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__help>summary{min-height:24px;cursor:pointer;font-weight:500}
body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__help p{font-size:14px;line-height:20px;color:var(--wf-text-secondary)}
@media(max-width:480px){body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row :is(button.wf-select-trigger,button.wf-date-trigger){font-size:14px!important;padding:10px 8px!important;gap:8px!important}body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row .wf-calendar-icon{width:16px;height:16px;flex:0 0 16px}body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row .wf-date-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis}}
@media(max-width:360px){body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row button.wf-select-trigger{padding-inline:6px!important;gap:4px!important}body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row .wf-select-arrow{width:6px;height:6px;flex-basis:6px;margin-inline:1px}}
@media(max-width:360px){body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-profile-page .wm-profile-personal-row .wf-calendar-icon{display:none}}
@media(max-width:900px){body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__steps-row{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:8px}body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__steps-row>button{width:100%}body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor{grid-template-columns:minmax(0,1fr);gap:12px}body.page-id-1197 .wm-fit-app.weles-ui .weles-fr02-activity__editor>button{width:100%}}

/* Notebook dedicated selectors use the same neutral keyboard focus as shared controls. */
body.page-id-1197 .wm-fit-app.weles-ui .wm-fit-app-screen .wm-organizer :is(.wm-custom-select-trigger,.wf-select-trigger):focus-visible{outline:2px solid var(--wf-gold)!important;outline-offset:-2px!important;box-shadow:none!important}


/* mobile-app-lock */
body.page-id-1197,
body.page-id-1197 .wm-fit-app{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.page-id-1197 .wm-fit-app :is(input,textarea,select){font-size:16px!important;line-height:1.25}
body.page-id-1197 .wm-fit-app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select){min-height:48px}

/* app-font-inter */
body.page-id-1197,
body.page-id-1197 .ct-header,
body.page-id-1197 .ct-footer,
body.page-id-1197 .ct-header *,
body.page-id-1197 .ct-footer *{
  --theme-font-family:Inter,system-ui,sans-serif!important;
  font-family:Inter,system-ui,sans-serif
}

/* billing-renew-cta */
.wm-billing__current.wm-subscription-deadline{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 12px;padding:12px 14px;border:1px solid var(--wf-line,#3a4046);border-radius:12px;background:var(--wf-raised,#1c2024)}
.wm-billing__current.wm-subscription-deadline p{margin:0;color:var(--wf-text,#f5f3ef);font:400 14px/1.45 Inter,Arial,sans-serif}
.wm-billing__current.wm-subscription-deadline .wm-billing__renew{color:var(--wf-gold,#d9ba83);font:600 14px/1.45 Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}
.wm-billing__current.wm-subscription-deadline[data-severity=ENDING],
.wm-billing__current.wm-subscription-deadline[data-severity=EXPIRED]{border-color:color-mix(in srgb,var(--wf-gold,#d9ba83) 55%,#3a4046)}
.wm-subscription-notice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--wf-gold,#d9ba83) 55%,#3a4046);border-radius:12px;background:var(--wf-raised,#1c2024);color:var(--wf-text,#f5f3ef)}
.wm-subscription-notice a{color:var(--wf-gold,#d9ba83);font-weight:600}
