/*
  Biseowasso UI System v3.7.1
  One post-legacy source of truth for visual roles. Avoid new per-release
  overrides in style.css. All lengths describe semantic roles, not phone models.
  Text should reflow; only calendar markers are intentionally compact.
*/
:root {
  --ui-scale:1;
  --ui-font-family:'Inter','SUIT Variable',SUIT,system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;
  --ui-text-xs:calc(12px * var(--ui-scale));
  --ui-text-sm:calc(13px * var(--ui-scale));
  --ui-text-md:calc(14px * var(--ui-scale));
  --ui-text-lg:calc(16px * var(--ui-scale));
  --ui-text-xl:calc(18px * var(--ui-scale));
  --ui-control-height:44px;
  --ui-icon:18px;
  --ui-action-icon:16px;
  --ui-radius:12px;
  --ui-gap:8px;
  --ui-calendar-text:calc(9px * var(--ui-scale));
}
html[data-font-size="small"]{--ui-scale:.92}
html[data-font-size="normal"]{--ui-scale:1}
html[data-font-size="large"]{--ui-scale:1.12}
html { -webkit-text-size-adjust:100%!important; text-size-adjust:100%!important; }
/* Latin uses Inter; Korean Hangul falls through to SUIT Variable. No per-locale font-size change. */
html body :is(button,input,textarea,select,option,label) {font-family:var(--ui-font-family)!important;}
html body,html body .app {font-family:var(--ui-font-family)!important;font-size:var(--ui-text-md)!important;line-height:1.5!important;}
html body .app :is(button,input,textarea,select,option,label,p,span,b,strong,small,h1,h2,h3,h4,div),
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) :is(button,input,textarea,select,option,label,p,span,b,strong,small,h1,h2,h3,h4,div){font-family:var(--ui-font-family)!important;}
html body .app .brandTitleWrap h1,html body .app .brandTitleWrap h1 *{font-family:'Jua',sans-serif!important;}
html body .app,html body .app [id$="View"],html body .app :is(.card,.settingsCard,.calendarCard,.calendarDayCard,.historyCard,.dashboardListCard,.customerItem,.customerDetail,.workCard,.managementCard,.documentPaper),
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58,.customerNameLine,.calendarScheduleMain,.customerPastMainV96) { box-sizing:border-box;max-width:100%;min-width:0; }
html body .app :is(input,textarea,select), html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay) :is(input,textarea,select){max-width:100%;min-width:0;box-sizing:border-box;}
html body .app img,html body .app svg{max-width:100%;}
/* Type roles: same function, same typography, regardless of tab or locale. */
html body .app :is(.dashboardSectionTitle>b,.historyHeader h2,.calendarHeaderCenter h2,.calendarDayHeader h2,.customersHeader h2,.sectionTitle h2,.subpageHeader h2,.settingsCard h2),
html body .app :is(.historyDetailDialogTitle>b,.calendarEventDialogHead>b) {
 font-size:var(--ui-text-lg)!important;font-weight:750!important;line-height:1.35!important;letter-spacing:0!important;
}
html body .app :is(.dashboardWorkTitle>b,.dashboardTodayTop>b,.historyTitleLineV58>b,.customerNameLine>b,.customerPastMainV96>b,.calendarScheduleMain>b,.historyInfoTextV325,.customerDetailStatV532>b,.customerDetailNextV532>b),
html body :is(.historyDetailDialog,.calendarEventDialog) :is(.historyInfoTextV325,.historyInfoValueV325>b,.calendarEventDetailInfoRowV326>b) {
 font-size:var(--ui-text-md)!important;font-weight:700!important;line-height:1.45!important;letter-spacing:0!important;
}
html body .app :is(.dashboardWorkMeta small,.dashboardAddressRow small,.historyScheduleOnly,.customerNameLine small,.customerPastMainV96 small,.customerAddressText,.calendarScheduleTime,.calendarScheduleMain small,.historyResultCount,.calendarDayHeader small,.dashboardWorkAddress),
html body .app :is(.notice,.eyebrow,.settingsDescription,.settingsHint){font-size:var(--ui-text-xs)!important;line-height:1.45!important;}
html body .app :is(.workStatusBadge,.historySectionHeading,.customerDetailSectionLabelV532,.historyInfoLabelV325,.calendarEventDetailInfoRowV326>span),
html body :is(.historyDetailDialog,.calendarEventDialog) :is(.historyInfoLabelV325,.calendarEventDetailInfoRowV326>span){font-size:var(--ui-text-xs)!important;line-height:1.35!important;font-weight:700!important;}
/* Legacy ID-scoped typography previously overrode generic semantic roles. */
html body .app #dashboardView .dashboardSectionTitle>b,
html body .app #historyView .historyHeader h2,
html body .app #calendarView .calendarHeaderCenter h2,
html body .app #calendarView .calendarDayHeader h2,
html body .app #customersView .customersHeader h2,
html body .app #managementView .sectionTitle h2,
html body .app #preferencesView .subpageHeader h2 {
 font-size:var(--ui-text-lg)!important;font-weight:750!important;line-height:1.35!important;
}
html body .app #calendarView .calendarDayListV332 .calendarScheduleMain>b,
html body .app #calendarView .calendarDayListV332 .calendarScheduleMain .appRecordTranslatable,
html body .app #dashboardView .dashboardWorkTitle>b,
html body .app #dashboardView .dashboardTodayTop>b,
html body .app #historyView .historyTitleLineV58>b,
html body .app #customersView .customerPastMainV96>b {
 font-size:var(--ui-text-md)!important;font-weight:700!important;line-height:1.45!important;
}
html body .app #calendarView .calendarDayListV332 .calendarScheduleTime,
html body .app #calendarView .calendarDayListV332 .calendarScheduleMain>small,
html body .app #dashboardView .dashboardWorkMeta small,
html body .app #historyView .historyScheduleOnly,
html body .app #customersView .customerPastMainV96 small {
 font-size:var(--ui-text-xs)!important;font-weight:500!important;line-height:1.45!important;
}
/* Audit-derived typography floor. Legacy v3.5 patches made readable labels
   8.5-11px; these semantic selectors intentionally outrank those patches. */
html body .app :is(#dashboardView,#calendarView,#historyView,#workView,#customersView,#revenueView,#receivablesView,#managementView,#settingsView,#preferencesView,#profileView,#subscriptionView,#calendarSettingsView,#templatesView,#dataManagementView,#backupManagementView,#themeView,#notificationView,#helpView,#faqView,#noticesView,#supportView,#adminInquiryView,#adminSubscriptionsView) small {
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
html body .app :is(#dashboardView,#calendarView,#historyView,#workView,#customersView,#revenueView,#receivablesView,#managementView,#settingsView,#preferencesView,#profileView,#subscriptionView,#calendarSettingsView,#templatesView,#dataManagementView,#backupManagementView,#themeView,#notificationView,#helpView,#faqView,#noticesView,#supportView,#adminInquiryView,#adminSubscriptionsView) p {
 font-size:var(--ui-text-sm)!important;line-height:1.55!important;
}
html body .app :is(#dashboardView,#calendarView,#historyView,#workView,#customersView,#revenueView,#receivablesView,#managementView,#settingsView,#preferencesView,#profileView,#subscriptionView,#calendarSettingsView,#templatesView,#dataManagementView,#backupManagementView,#themeView,#notificationView,#helpView,#faqView,#noticesView,#supportView,#adminInquiryView,#adminSubscriptionsView) button:not(.calendarDay):not(.calendarEventColorChip):not(.calendarStickerOption) {
 font-size:var(--ui-text-sm)!important;line-height:1.35!important;
}
html body .app #dashboardView :is(.statText,.dashboardPrimaryCta,.dashboardHeroTop p,.dashboardPlanBenefits span,.dashboardPlanBadge),
html body .app #calendarView :is(.calendarTodayBtn,.calendarWeekdays>span,.calendarSelectedCount),
html body .app #revenueView :is(.revenueFilterBlockV3527 span,.revenueFilterBlockV3527 b,.revenueFilterBlockV3527 small),
html body .app #receivablesView :is(.receivableAgeBtn,.receivableStat span),
html body .app #historyView :is(.historyResultCount,.historyStatusTriggerLabel,.appDateTriggerText),
html body .app #customersView :is(.customerNameLine small,.customerMeta,.customerRevisit),
html body .app #subscriptionView :is(.planForWho,.planCard span,.planCard small),
html body .app #backupManagementView :is(.cloudAutoBackupState),
html body .app #adminSubscriptionsView .adminSubscriptionStats span {
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
html body .app #dashboardView .dashboardPrimaryCta,
html body .app #workView :is(.primary,.full,.resetBtn,.workChoiceBtn),
html body .app #documentView :is(.documentTypeBtn,.documentActions button),
html body .app #profileView .profileTabBtn,
html body .app #supportView :is(.supportTab,.inquiryCategoryTrigger),
html body .app #themeView .themeBtn,
html body .app #notificationView :is(.notificationMasterToggle,.notificationRuleChoice) {
 font-size:var(--ui-text-sm)!important;line-height:1.35!important;
}
html body .app #calendarView .calendarWeekdays>span{font-size:var(--ui-text-xs)!important;}
html body .app #calendarView .calendarTodayBtn{min-height:36px!important;padding:6px 10px!important;}
/* Exact legacy collision fixes for 13 historically undersized views.
   No locale- or device-specific font substitutions are used. */
html body .app #dashboardView .dashboardStats .statText,
html body .app #dashboardView .modernDashboard .statText,
html body .app #dashboardView .dashboardPlanCta small,
html body .app #dashboardView .modernDashboard .workStatusBadge,
html body .app #dashboardView .dashboardWorkTitle .workStatusBadge,
html body .app #historyView .historyTitleLineV58 .workStatusBadge,
html body .app #calendarView .calendarDayListV332 .calendarHistoryRow .workStatusBadge,
html body .app #calendarView .calendarDayHeader #calendarSelectedCount,
html body .app #calendarView .calendarDayHeader small,
html body .app #calendarSettingsView .calendarConnectBadge,
html body .app #profileView .authStatus,
html body .app #settingsView .settingsFooter span,
html body .app #managementView .managementTitle span,
html body .app #backupManagementView .cloudAutoBackupState {
 font-size:var(--ui-text-xs)!important;line-height:1.35!important;
}
html body .app #revenueView :is(.revenueHeroV3527,.revenueMainCardV3527,.revenuePaymentItemV3527,.revenueTodayLineV3527,.revenueManageLinkV3527,.revenueDetailsV3527) :is(span,b,small),
html body .app #receivablesView .receivablesSummary span {
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
html body .app #workView .workCompactField label,
html body .app #workView >.grid label,
html body .app #workView .workCompactField>span,
html body .app #workView .workPhotoLabel {
 font-size:var(--ui-text-sm)!important;line-height:1.4!important;
}
html body .app #workView :is(.primary.hasLineIcon,.full.hasLineIcon,.resetBtn,.messageActionBtn) ,
html body .app #workView :is(.primary.hasLineIcon,.full.hasLineIcon,.resetBtn,.messageActionBtn)>span,
html body .app #supportView button.full,
html body .app #documentView .documentActions button,
html body .app #documentView .documentActions button span,
html body .app #documentView .documentTypeBtn,
html body .app #profileView .profileTabs .profileTabBtn,
html body .app #themeView .themeBtn,
html body .app #notificationView .notificationRuleChoice {
 font-size:var(--ui-text-sm)!important;line-height:1.4!important;
}
html body .app #customersView .customerNameLine>small,
html body .app #customersView .customerMeta,
html body .app #customersView .customerMeta .customerRevisit,
html body .app #subscriptionView .normalPrice,
html body .app #subscriptionView .recommendedBadge,
html body .app #subscriptionView .planForWho,
html body .app #subscriptionView .planCard span,
html body .app #subscriptionView .subscriptionStatus span,
html body .app #backupManagementView .cloudAutoBackupSummary span,
html body .app #adminSubscriptionsView .adminSubscriptionStats span {
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
html body .app #settingsView .settingsHero small,
html body .app #settingsView .settingsVersion,
html body .app #settingsView .settingsFooter small,
html body .app #calendarView .calendarWeekdays>span{
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
/* ID-specific controls/labels left at 9-11px by highly specific old rules. */
html body .app #workView :is(#voiceBtn,#analyzeBtn,#resetBtn,#copyBtn,#smsBtn,#shareBtn),
html body .app #workView :is(#voiceBtn,#analyzeBtn,#resetBtn,#copyBtn,#smsBtn,#shareBtn)>span,
html body .app #supportView #inquiryBtn {font-size:var(--ui-text-sm)!important;line-height:1.4!important;}
html body .app #historyView #historyStatusTriggerLabel,
html body .app #managementView .moreSectionHead>span,
html body .app #settingsView .moreSectionHead>span,
html body .app #settingsView .moreBrandFooter>span,
html body .app #subscriptionView .subscriptionCurrentCard>span,
html body .app #subscriptionView .subscriptionTrialBanner>b,
html body .app #subscriptionView .subscriptionTrialBanner>span,
html body .app #backupManagementView .cloudAutoBackupText>span {
 font-size:var(--ui-text-xs)!important;line-height:1.4!important;
}
html body .app #settingsView .moreBrandBox>span,
html body .app #settingsView .moreBrandSignature>span,
html body .app #settingsView .moreBrandCard>span {font-size:var(--ui-text-xs)!important;}
/* A translated name can grow vertically, never push action buttons off-screen. */
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58,.customerNameLine,.historyDetailDialogTitle){display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0!important;max-width:100%!important;}
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58,.customerNameLine)>b,
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58,.customerNameLine) .appRecordTranslatable,
html body .app .customerPastMainV96>b {
 min-width:0!important;flex:1 1 0%!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
 height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;
}
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58) .workStatusBadge,
html body .app .customerPastRowV532 .workStatusBadge{flex:0 0 auto!important;white-space:nowrap!important;max-width:45%!important;margin-left:auto!important;}
html body .app :is(.dashboardWorkItem,.historyItem,.customerPastRowV532,.customerOpen){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
html body .app .customerPastRowV532 {height:auto!important;min-height:52px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;}
html body .app .customerPastMainV96 {min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;}
html body .app .customerPastMainV96 :is(b,small) {width:100%!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;}
/* Controls: flexible height preserves keyboard/OS text enlargement. */
html body .app :is(.primary,.ghost,.smallBtn,.dashboardPrimaryCta,.calendarDayAddBtn,.calendarStickerPickerBtn,.historyOpenV58,.customerOpen,.headerAuthBtn,.settingsCategoryTab,.fontSizeBtn,.appLanguageBtn,.recordTranslationRetry),
html body :is(.calendarEventOverlay,.historyDetailOverlay,.authModal) :is(.calendarEventDialogActions button,.calendarEventDetailActions button,.historyActionGridV325 button,.historySendActionsV325 button,.historyInlineActionBtnV325,.authModalActions button){
 box-sizing:border-box!important;min-height:var(--ui-control-height)!important;height:auto!important;max-height:none!important;
 font-size:var(--ui-text-sm)!important;line-height:1.35!important;
}
html body .app :is(.primary,.ghost,.smallBtn,.dashboardPrimaryCta,.calendarDayAddBtn,.calendarStickerPickerBtn,.settingsCategoryTab,.appLanguageBtn),
html body :is(.calendarEventOverlay,.historyDetailOverlay) button{white-space:normal!important;overflow-wrap:anywhere!important;}
html body .app :is(.headerIconBtn,.iconBackBtn,.refreshIconBtn,.calendarNavBtn,.customerRoute,.uiIconOnlyAction){
 box-sizing:border-box!important;min-width:40px!important;min-height:40px!important;height:40px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;
}
html body .app :is(.uiIconOnlyAction,.calendarNavBtn,.headerIconBtn,.iconBackBtn) :is(svg,.uiLineIcon),
html body .app .customerQuickActionsV532 button .uiLineIcon{width:var(--ui-icon)!important;height:var(--ui-icon)!important;min-width:var(--ui-icon)!important;min-height:var(--ui-icon)!important;max-width:var(--ui-icon)!important;max-height:var(--ui-icon)!important;flex:0 0 var(--ui-icon)!important;}
html body .app :is(.calendarDayAddBtn,.calendarStickerPickerBtn,.dashboardPrimaryCta,.historyActionGridV325 button) .uiLineIcon,
html body :is(.historyDetailOverlay,.calendarEventOverlay) :is(button) .uiLineIcon{width:var(--ui-action-icon)!important;height:var(--ui-action-icon)!important;flex:0 0 var(--ui-action-icon)!important;}
html body .app :is(button,input,textarea,select):focus-visible{outline:2px solid var(--accent,#6256c7)!important;outline-offset:2px!important;}
html body .app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea),
html body .calendarEventOverlay .calendarEventDialog :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea){
 font-size:var(--ui-text-md)!important;line-height:1.4!important;max-height:none!important;box-sizing:border-box!important;
}
html body .app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select),
html body .calendarEventOverlay .calendarEventDialog input:not([type="checkbox"]):not([type="hidden"]){min-height:var(--ui-control-height)!important;height:auto!important;}
html body .app :is(.workChoiceBtn,.appPeriodSwitch button,.profileTabBtn,.profileTab,.settingsCategoryTab){font-size:var(--ui-text-sm)!important;min-width:0!important;}
/* Navigation never extends beyond a smaller screen. */
html body .app .appBottomNav {grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:100%!important;box-sizing:border-box!important;}
html body .app .appBottomNav .tabBtn{min-width:0!important;font-size:var(--ui-text-xs)!important;}
html body .app .appBottomNav .tabLabel{font-size:var(--ui-text-xs)!important;line-height:1.2!important;white-space:nowrap!important;}
html body .app .appBottomNav .tabIcon svg{width:var(--ui-icon)!important;height:var(--ui-icon)!important;}
/* Revenue filter title and helper must wrap as one column when enlarged. */
html body .app #revenueView .revenueFilterTitleV3527 {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 align-items:start!important;gap:4px!important;min-width:0!important;max-width:100%!important;
}
html body .app #revenueView .revenueFilterTitleV3527 small {
 display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;
}
html body .app #revenueView .revenueDateField>span {font-size:var(--ui-text-xs)!important;}
html body .app #revenueView .revenueFilterTitleV3527 b {font-size:var(--ui-text-sm)!important;}
html body .app #revenueView .revenueHeroV3527>small {min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important;}
/* Monthly calendar: consistent event-title typography (v3.6.14).
   Date cells stay within seven columns. Both visible event titles use one
   uniform line of text; full titles and times remain in the agenda below. */
html body .app #calendarView .calendarGrid,
html body .app #calendarView .calendarWeekdays {
 display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
 min-width:0!important;max-width:100%!important;
}
html body .app #calendarView .calendarDay,
html body .app #calendarView .calendarBlank{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
html body .app #calendarView .calendarDay {
 container-name:calendar-date-cell;container-type:inline-size;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 width:100%!important;min-height:72px!important;height:auto!important;
 padding:4px 2px!important;overflow:hidden!important;
}
html body .app #calendarView .calendarDay .calendarDayTop {
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 min-width:0!important;max-width:100%!important;flex:0 0 auto!important;
}
html body .app #calendarView .calendarDay .calendarDateNum {
 font-size:var(--ui-text-sm)!important;font-weight:650!important;
 line-height:1.3!important;font-family:var(--ui-font-family)!important;
}
html body .app #calendarView .calendarMiniEvents {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
 gap:2px!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 overflow:hidden!important;margin:3px 0 0!important;padding:0!important;flex:0 0 auto!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvents .calendarMiniEvent {
 box-sizing:border-box!important;position:relative!important;display:flex!important;
 flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;min-height:14px!important;max-height:none!important;
 margin:0!important;padding:2px 2px 2px 3px!important;
 border:0!important;border-left:2px solid #3b82f6!important;border-radius:3px!important;
 background:#eaf3ff!important;color:#1e4f8f!important;
 overflow:hidden!important;white-space:normal!important;text-decoration:none!important;
 font-family:var(--ui-font-family)!important;font-size:var(--ui-calendar-text)!important;
 font-weight:650!important;line-height:1.15!important;
 letter-spacing:0!important;opacity:1!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvent.done,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvent.done {
 background:#eaf9ef!important;border-left-color:#22a163!important;color:#166534!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvent.cancelled,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvent.cancelled {
 background:#fff1f2!important;border-left-color:#dc505d!important;color:#9f1239!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvent.received,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvent.received {
 background:#fff7ed!important;border-left-color:#e99520!important;color:#92400e!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvent.personal,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvent.personal {
 background:color-mix(in srgb,var(--event-color,#8b5cf6) 12%,white)!important;
 border-left-color:var(--event-color,#8b5cf6)!important;
 color:#34304b!important;
}
/* Remove legacy narrow marker and old time, without hiding the title. */
html body .app #calendarView .calendarMiniEvent::before {display:none!important;content:none!important;}
html body .app #calendarView .calendarMiniEvent .calendarMiniTime {display:none!important;}
html body .app #calendarView .calendarMiniEvent .calendarMiniText {
 display:block!important;position:static!important;flex:1 1 auto!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;clip-path:none!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 font:inherit!important;line-height:inherit!important;color:inherit!important;
}
html body .app #calendarView .calendarMiniEvent .calendarMiniText .appRecordTranslatable {
 display:inline!important;position:static!important;clip-path:none!important;
 width:auto!important;height:auto!important;max-width:none!important;
 font:inherit!important;line-height:inherit!important;color:inherit!important;
 overflow:visible!important;white-space:inherit!important;
}
html body .app #calendarView .calendarDayFoot {
 position:static!important;display:flex!important;align-items:center!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:auto!important;min-height:0!important;margin:2px 0 0!important;padding:0!important;
 flex:0 0 auto!important;
}
html body .app #calendarView .calendarDayFoot:empty{display:none!important;}
html body .app #calendarView .calendarMore {
 position:static!important;font-size:10px!important;font-weight:700!important;
 line-height:1.2!important;color:#667386!important;
}
/* v3.6.15 — locale-independent month-cell text size and row height.
   v3.6.13's 64px container query permitted two-line titles on 556px phones,
   causing a long first entry to appear larger than a short second entry.
   Calendar agenda below retains full text and the scheduled time. */
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent.personal {
  font-family:var(--ui-font-family)!important;
  font-size:var(--ui-calendar-text)!important;
  font-weight:650!important;
  line-height:12px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText,
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText .appRecordTranslatable {
  font-family:var(--ui-font-family)!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  height:12px!important;
  max-height:12px!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
/* The translated inner span must occupy only the available width so that
   changing from Korean to English does not alter the row height. */
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText .appRecordTranslatable {
  width:100%!important;
}
/* Calendar selected date: two-row reflow, no ellipsis/clamped title. */
html body .app #calendarView .calendarDayHeader{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;}
html body .app #calendarView .calendarDayHeader>div:first-child{min-width:0!important;flex:1 1 195px!important;}
html body .app #calendarView .calendarDayActions{min-width:0!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
html body .app #calendarView :is(.calendarDayAddBtn,.calendarStickerPickerBtn){min-height:40px!important;height:auto!important;padding:8px 10px!important;}
html body .app #calendarView .calendarDayListV332 :is(.calendarHistoryRow,.calendarPersonalRow){
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
 grid-template-areas:"time status" "main main"!important;align-items:start!important;
 gap:6px 8px!important;min-height:70px!important;height:auto!important;overflow:visible!important;padding:10px 12px!important;
}
html body .app #calendarView .calendarDayListV332 .calendarPersonalRow{grid-template-areas:"time arrow" "main main"!important;}
html body .app #calendarView .calendarDayListV332 .calendarScheduleTime{grid-area:time!important;min-width:0!important;width:auto!important;white-space:nowrap!important;line-height:1.4!important;}
html body .app #calendarView .calendarDayListV332 .calendarScheduleMain{grid-area:main!important;min-width:0!important;max-width:100%!important;width:100%!important;display:block!important;height:auto!important;overflow:visible!important;}
html body .app #calendarView .calendarDayListV332 .calendarScheduleMain :is(b,small){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html body .app #calendarView .calendarDayListV332 .workStatusBadge{grid-area:status!important;justify-self:end!important;align-self:start!important;white-space:nowrap!important;}
html body .app #calendarView .calendarDayListV332 .calendarHistoryChevron{grid-area:arrow!important;}
html body .app #calendarView .calendarDayListV332 .calendarHistoryRow .calendarHistoryChevron{display:none!important;}
/* Customer detail quick actions: identical shape and SVG dimensions. */
html body .app #customersView .customerQuickActionsV532{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important;}
html body .app #customersView .customerQuickActionsV532 button.uiIconOnlyAction{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;max-width:none!important;
 min-height:44px!important;height:44px!important;max-height:44px!important;padding:0!important;border-radius:var(--ui-radius)!important;
}
html body .app #customersView .customerQuickActionsV532 button.uiIconOnlyAction svg{width:var(--ui-icon)!important;height:var(--ui-icon)!important;flex:0 0 var(--ui-icon)!important;}
/* Settings categories: 3 equally sized items per row, long translations wrap. */
html body .app #preferencesView .settingsCategoryTabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
html body .app #preferencesView .settingsCategoryTab{box-sizing:border-box!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:8px 6px!important;font-size:var(--ui-text-sm)!important;white-space:normal!important;line-height:1.3!important;}
html body .app #preferencesView .appLanguageButtons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
html body .app #preferencesView .appLanguageBtn{min-height:44px!important;font-size:var(--ui-text-sm)!important;line-height:1.3!important;padding:8px 4px!important;}
/* Work editor / history / revenue / subscription / settings: no fixed-height
   text rows or foreign-language clipping. */
html body .app :is(.historyTitleLineV58,.historyOpenV58,.customerOpen,.managementShortcut,.supportBoardItem,.settingsMenuRow,.profileMenuRow,.inquiryRow){min-width:0!important;max-width:100%!important;}
html body .app :is(.historyTitleLineV58,.customerNameLine,.dashboardWorkTitle,.dashboardTodayTop) :is(b,.appRecordTranslatable){overflow-wrap:anywhere!important;white-space:normal!important;}
html body .app :is(.historyCard,.historyItem,.settingsCard,.managementCard,.revenuePanel,.dashboardHero,.dashboardListCard,.calendarDayCard,.documentToolbar,.documentActions){max-width:100%!important;min-width:0!important;}
/* Overlays may be constrained by the visual viewport; body can still scroll. */
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) :is(.calendarEventDialog,.historyDetailDialog,.actionConfirmDialog,.authModalSheet){box-sizing:border-box!important;max-width:min(100%,calc(100vw - 20px))!important;min-width:0!important;}
html body .calendarEventOverlay .calendarEventDialog{width:min(460px,calc(100vw - 20px))!important;}
html body .calendarEventOverlay .calendarEventDialogHead b,html body .historyDetailOverlay .historyDetailDialogTitle b{font-size:var(--ui-text-lg)!important;line-height:1.35!important;overflow-wrap:anywhere!important;white-space:normal!important;}
html body .calendarEventOverlay .calendarEventDialog >label,html body .calendarEventOverlay .calendarEventTimeRow>label,html body .calendarEventOverlay .calendarEventDateRow>label,html body .calendarEventOverlay .calendarEventColorField>span{font-size:var(--ui-text-sm)!important;line-height:1.35!important;}
html body .calendarEventOverlay .calendarEventDateRow{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:end!important;}
html body .calendarEventOverlay .calendarAllDayLabel{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:6px!important;min-width:96px!important;width:auto!important;max-width:140px!important;min-height:44px!important;height:auto!important;padding:8px!important;}
html body .calendarEventOverlay .calendarAllDayLabel input[type="checkbox"]{box-sizing:border-box!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;margin:0!important;padding:0!important;}
html body .calendarEventOverlay .calendarAllDayLabel span{font-size:var(--ui-text-sm)!important;line-height:1.2!important;white-space:normal!important;}
html body .calendarEventOverlay .calendarDigitalTimeEditor{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(96px,1.6fr) minmax(0,.65fr) 10px minmax(0,.65fr)!important;gap:5px!important;min-width:0!important;max-width:100%!important;}
html body .calendarEventOverlay .calendarDigitalTimeEditor :is(.appPeriodSwitch,.appTimeNumber){min-height:44px!important;min-width:0!important;height:auto!important;max-height:none!important;}
html body .calendarEventOverlay .calendarEventDialogActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html body .calendarEventOverlay .calendarEventDialogActions button{min-height:44px!important;height:auto!important;}
html body .historyDetailOverlay .historyDetailDialogTitle{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
html body .historyDetailOverlay .historyDetailDialogTitle>b{flex:1 1 180px!important;min-width:0!important;}
html body .historyDetailOverlay :is(.historyActionGridV325,.historySendActionsV325){min-width:0!important;max-width:100%!important;}
html body .historyDetailOverlay :is(.historyActionGridV325 button,.historySendActionsV325 button){height:auto!important;min-height:44px!important;max-height:none!important;font-size:var(--ui-text-sm)!important;}
html body .historyDetailOverlay .historyInfoLabelV325{font-size:var(--ui-text-sm)!important;}
html body .historyDetailOverlay .historyInfoTextV325{font-size:var(--ui-text-md)!important;}
/* Font size preference and browser enlargement: do not shrink text on narrow screens.
   Reflow instead. */
@media(max-width:390px){
 html body .app #calendarView .calendarDayHeader>div:first-child{flex:1 1 100%!important;}
 html body .app #calendarView .calendarDayActions{width:100%!important;}
 html body .app #calendarView .calendarDay{min-height:52px!important;}
 html body .app #calendarView .calendarDay .calendarDateNum{font-size:var(--ui-text-xs)!important;}
 html body .app .appBottomNav .tabLabel{font-size:var(--ui-text-xs)!important;}
}
@media(max-width:340px){
 html body .calendarEventOverlay .calendarEventDateRow{grid-template-columns:minmax(0,1fr) 94px!important;}
 html body .calendarEventOverlay .calendarAllDayLabel{min-width:94px!important;max-width:94px!important;}
 html body .calendarEventOverlay .calendarDigitalTimeEditor{grid-template-columns:minmax(76px,1.45fr) minmax(0,.7fr) 8px minmax(0,.7fr)!important;gap:4px!important;}
 html body .app #calendarView .calendarDayActions button{flex:1 1 auto!important;}
}
/* Print output retains document-specific page layout, but shares SUIT face. */
@media print{
 html body #documentPrintArea, html body #documentPrintArea *{font-family:var(--ui-font-family)!important;}
 html body #documentPrintArea{max-width:100%!important;}
}
/* Version information: follow auxiliary text role in every language. */
html body .app #settingsView .versionCard.compactVersionCard>span,
html body .app #settingsView .versionCard.compactVersionCard small {
  font-size:var(--ui-text-xs)!important;
  line-height:1.4!important;
}
/* Source rule #workView>.hero .actions #voiceBtn was the last 11px
   voice-input exception in the computed-font audit. */
html body .app #workView>.hero .actions #voiceBtn,
html body .app #workView>.hero .actions #voiceBtn>span {
  font-size:var(--ui-text-sm)!important;
  line-height:1.4!important;
}

/* v3.6.15 — LOCALE-LENGTH RESILIENCE
   This is a structural fallback for every existing view. It does not contain
   English- or Korean-specific font sizes. Future translations may use longer
   strings without forcing grids, buttons or cards beyond the viewport.
   For exceptionally long unbreakable strings, a break is preferred to overflow.
*/
html body .app [id$="View"] :is(.card,section,article,header,footer,nav,form,fieldset,ul,ol,li),
html body .app [id$="View"] :is(.toolbar,.actions,.row,.grid,.tabs,.tabBtn,.settingsMenuRow,.historyItem,.historyCard,.customerItem,.customerCard,.dashboardWorkItem,.dashboardTodayTimeline,.calendarHistoryRow,.calendarPersonalRow,.documentPaper),
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) :is(form,fieldset,header,.row,.actions,button) {
 box-sizing:border-box; min-width:0; max-width:100%;
}
html body .app [id$="View"] :is(h1,h2,h3,h4,h5,h6,p,label,small,summary,legend,dt,dd),
html body .app [id$="View"] :is(.settingsDescription,.settingsHint,.customerMeta,.dashboardWorkMeta,.historyInfoTextV325,.calendarScheduleMain,.documentInfoValue,.documentFieldValue),
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) :is(h1,h2,h3,h4,label,p,b,small) {
 overflow-wrap:anywhere; word-break:normal; hyphens:auto;
}
/* Same semantic button remains tappable regardless of language. An icon-only
   button is intentionally excluded; calendar date buttons have their own layout. */
html body .app [id$="View"] button:not(.calendarDay):not(.calendarEventColorChip):not(.calendarStickerOption):not(.uiIconOnlyAction):not(.calendarNavBtn):not(.headerIconBtn):not(.iconBackBtn):not(.refreshIconBtn):not(.customerRoute),
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) button:not(.calendarEventColorChip):not(.uiIconOnlyAction):not(.calendarEventClose) {
 box-sizing:border-box!important;max-width:100%!important;min-width:0;
 white-space:normal!important;overflow-wrap:anywhere!important;
 text-wrap:pretty;
}
/* Labels, action rows and cards should grow vertically instead of clipping. */
html body .app [id$="View"] :is(.settingsCategoryTab,.appLanguageBtn,.historyOpenV58,.customerOpen,.customerDetailAction,.workChoiceBtn,.calendarDayAddBtn,.calendarStickerPickerBtn,.documentTypeBtn,.profileTabBtn,.supportTab,.themeBtn,.primary,.ghost) {
 height:auto!important;max-height:none!important;min-height:44px!important;
 white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;
}
html body .app [id$="View"] :is(.historyTitleLineV58,.dashboardWorkTitle,.dashboardTodayTop,.customerNameLine,.customerPastMainV96,.calendarDayHeader,.historyHeader,.customersHeader,.sectionTitle,.subpageHeader,.settingsMenuRow,.dashboardSectionTitle) {
 min-width:0!important;max-width:100%!important;
}
html body .app [id$="View"] :is(.historyTitleLineV58,.dashboardWorkTitle,.dashboardTodayTop,.customerNameLine,.customerPastMainV96,.calendarScheduleMain) :is(.appRecordTranslatable,b,strong) {
 min-width:0!important;max-width:100%!important;
 overflow-wrap:anywhere!important;word-break:normal!important;
}
/* Keep badges separate from long translated titles; statuses may themselves
   wrap when future locale labels are too long. */
html body .app :is(.dashboardWorkTitle,.dashboardTodayTop,.historyTitleLineV58,.customerPastRowV532) .workStatusBadge {
 box-sizing:border-box!important;max-width:min(44%,160px)!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
 text-align:center!important;line-height:1.25!important;height:auto!important;
}
/* Navigation labels cannot force the five equal columns to expand. The icon
   remains visible; the full translation is available in the named view. */
html body .app .appBottomNav .tabBtn{min-width:0!important;max-width:100%!important;overflow:hidden!important;}
html body .app .appBottomNav .tabLabel{
 display:block!important;min-width:0!important;max-width:100%!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
/* Locale-length-safe header actions and forms. */
html body .app :is(.calendarDayHeader,.historyHeader,.customersHeader,.documentToolbar,.subpageHeader,.sectionTitle,.dashboardSectionTitle){flex-wrap:wrap!important;min-width:0!important;}
html body .app :is(.calendarDayActions,.historyHeaderActions,.customersHeaderActions,.documentActions,.settingsCategoryTabs,.appLanguageButtons){min-width:0!important;max-width:100%!important;}
html body .app :is(.settingsCategoryTabs,.appLanguageButtons) > *{min-width:0!important;}
html body .app [id$="View"] :is(input,textarea,select){box-sizing:border-box!important;max-width:100%!important;min-width:0!important;}
html body .app [id$="View"] :is(.documentPaper,.documentPrintArea,.documentFieldValue,.documentInfoValue,.documentCustomerInfo,.documentSupplierInfo){
 min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;
}
/* Desktop width and mobile width both use the same visual hierarchy; only
   structure adapts. Forms and dialogs must remain scrollable with enlarged text. */
html body :is(.calendarEventOverlay,.historyDetailOverlay,.actionConfirmOverlay,.authModal) :is(.calendarEventDialog,.historyDetailDialog,.actionConfirmDialog,.authModalSheet){
 box-sizing:border-box!important;max-width:calc(100vw - 16px)!important;
 max-height:calc(100dvh - 16px)!important;overflow-y:auto!important;
 overscroll-behavior:contain;
}
html body .calendarEventOverlay .calendarEventDateRow{min-width:0!important;}
html body .calendarEventOverlay .calendarEventTimeRow{min-width:0!important;max-width:100%!important;}
html body .calendarEventOverlay .calendarDigitalTimeEditor{min-width:0!important;max-width:100%!important;}
/* Calendar only: compact equal-length rows. Do not vary font size by language,
   title length, item status, or device model. */
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent * {
 font-family:var(--ui-font-family)!important;font-size:var(--ui-calendar-text)!important;
 font-weight:650!important;line-height:12px!important;letter-spacing:0!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText,
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .appRecordTranslatable {
 min-width:0!important;max-width:100%!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important;
}
/* Measured pseudo-localization regressions: keep grid tracks shrinkable. */
html body .app #calendarView .calendarHeader {grid-template-columns:34px minmax(0,1fr) 34px!important;min-width:0!important;}
html body .app #calendarView .calendarHeaderCenter {min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;align-content:center!important;justify-content:center!important;gap:4px!important;}
html body .app #calendarView .calendarHeaderCenter h2 {min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;line-height:1.3!important;}
html body .app #calendarView .calendarTodayBtn {flex:0 1 auto!important;min-width:0!important;max-width:100%!important;}
html body .app #calendarSettingsView .calendarSettingsCard,
html body .app #calendarSettingsView .calendarSettingsCard>.subpageHeader {
 min-width:0!important;max-width:100%!important;
}
html body .app #calendarSettingsView .calendarSettingsCard {grid-template-columns:minmax(0,1fr)!important;}
html body .app #calendarSettingsView .subpageHeader {width:100%!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important;}
html body .app #calendarSettingsView .subpageHeader>h2 {min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html body .app #calendarSettingsView :is(.calendarConnectCard,.calendarConnectHead,.calendarConnectedControls,.calendarConnectionActions,.calendarConnectBtn,.dataExportButton) {min-width:0!important;max-width:100%!important;}
html body .app #calendarSettingsView .calendarConnectCard {width:100%!important;}
html body .app #revenueView .revenuePanelV3527 {grid-template-columns:minmax(0,1fr)!important;min-width:0!important;max-width:100%!important;}
html body .app #revenueView .revenueFilterBlockV3527 {min-width:0!important;max-width:100%!important;}
html body .app #revenueView .revenueDateRange {min-width:0!important;max-width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:6px!important;align-items:end!important;}
html body .app #revenueView .revenueDateField {min-width:0!important;max-width:100%!important;width:100%!important;}
html body .app #revenueView .revenueDateField input {box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;}
html body .app #revenueView .revenueManageLinkV3527 {box-sizing:border-box!important;grid-column:1/-1!important;max-width:100%!important;width:100%!important;min-width:0!important;}
html body .app #workView .workPhotoGrid {grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important;max-width:100%!important;}
html body .app #workView :is(.workPhotoSlot,.workPhotoActions) {grid-template-columns:minmax(0,1fr)!important;min-width:0!important;max-width:100%!important;width:100%!important;}
html body .app #workView .workPhotoActions>button {min-width:0!important;max-width:100%!important;width:100%!important;}
html body .app #backupManagementView .cloudAutoBackupControl {box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,auto)!important;gap:6px!important;max-width:100%!important;}
html body .app #backupManagementView .cloudAutoBackupText {min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;}
html body .app #backupManagementView :is(.cloudAutoBackupState,.cloudAutoBackupToggle) {min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;}
@media(max-width:360px){
 html body .app #backupManagementView .cloudAutoBackupControl{grid-template-columns:minmax(0,1fr) auto!important;}
 html body .app #backupManagementView .cloudAutoBackupText{grid-column:1/-1!important;}
}
/* Translation expansion must also free the parent grid row, not just the
   button's height. Previously fixed 42px grid rows clipped all six tabs. */
html body .app #preferencesView .settingsCategoryTabs{
 grid-auto-rows:minmax(44px,auto)!important;
 grid-template-rows:none!important;
 height:auto!important;max-height:none!important;
 align-items:stretch!important;
}
html body .app #preferencesView .settingsCategoryTab{
 height:auto!important;max-height:none!important;min-height:44px!important;
 overflow:visible!important;text-overflow:clip!important;
 align-self:stretch!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
/* Real editor/document stress fixtures: allow full translations to reflow. */
html body .calendarEventOverlay .calendarEventDialog:not(.calendarEventDetailDialog) .calendarAllDayLabel {
 box-sizing:border-box!important;height:auto!important;max-height:none!important;min-height:44px!important;
 overflow:visible!important;white-space:normal!important;align-self:stretch!important;
}
html body .calendarEventOverlay .calendarEventDialog:not(.calendarEventDetailDialog) .calendarAllDayLabel span {
 display:block!important;flex:1 1 auto!important;min-width:0!important;
 overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body .app #documentView #documentPrintArea .documentProHeader {
 box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 min-width:0!important;max-width:100%!important;
}
html body .app #documentView #documentPrintArea .documentProBrand {
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;
 grid-template-columns:minmax(0,1fr)!important;justify-items:end!important;
}
html body .app #documentView #documentPrintArea .documentProBrand :is(b,small) {
 box-sizing:border-box!important;display:block!important;min-width:0!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
 text-align:right!important;
}

/* v3.7.1 — visually compact monthly calendar mini-titles.
   The previous computed 8px value was not a sufficient visual verification:
   browser/font minimums and different CJK fallback glyph metrics can still make
   the rendered label look oversized. Apply a CONSISTENT visual transform to the
   mini-title content only, while compensating layout width so long translated
   titles stay one line and ellipsize. Full titles remain in the agenda below.
   This rule is language-agnostic and does not change font sizes in other tabs. */
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent * {
 font-family:var(--ui-font-family)!important;
 font-size:calc(8px * var(--ui-scale))!important;
 font-weight:500!important;
 letter-spacing:0!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent,
html body .app #calendarView .calendarGrid .calendarDay.selected .calendarMiniEvents .calendarMiniEvent {
 box-sizing:border-box!important;
 display:flex!important;align-items:flex-start!important;
 height:12px!important;min-height:12px!important;max-height:12px!important;
 padding:1px 1px 0 2px!important;
 line-height:10px!important;white-space:nowrap!important;overflow:hidden!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText {
 display:block!important;position:relative!important;
 box-sizing:border-box!important;
 flex:0 0 121.951%!important;
 width:121.951%!important;min-width:0!important;max-width:none!important;
 height:11px!important;min-height:11px!important;max-height:11px!important;
 line-height:10px!important;
 overflow:hidden!important;white-space:nowrap!important;
 text-overflow:ellipsis!important;
 overflow-wrap:normal!important;word-break:normal!important;
 transform:scale(.82)!important;
 transform-origin:top left!important;
}
html body .app #calendarView .calendarGrid .calendarDay .calendarMiniEvents .calendarMiniEvent .calendarMiniText .appRecordTranslatable {
 display:block!important;position:static!important;
 box-sizing:border-box!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:11px!important;min-height:11px!important;max-height:11px!important;
 line-height:10px!important;
 overflow:hidden!important;white-space:nowrap!important;
 text-overflow:ellipsis!important;
 overflow-wrap:normal!important;word-break:normal!important;
 transform:none!important;
}
/* Language selector: grows within its card, never shrinks buttons to unreadable text. */
html body .app .appLanguageButtons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html body .app .appLanguageButtons>.appLanguageBtn{min-width:0!important;min-height:44px!important;height:auto!important;
  white-space:normal!important;overflow-wrap:anywhere!important;padding:8px 6px!important;line-height:1.35!important;}
html body .app .appLanguageCoverageHint{font-size:var(--ui-text-xs)!important;line-height:1.5!important;color:var(--muted,#68758a)!important;}

/* Multiscript fallbacks: keep Inter for Latin, SUIT for Hangul, and consistent
   glyph support for Japanese/Simplified Chinese instead of OS-dependent fonts. */
html[data-app-language="ja"]{--ui-font-family:'Inter','SUIT Variable','Noto Sans JP',system-ui,sans-serif;}
html[data-app-language="zh-CN"]{--ui-font-family:'Inter','SUIT Variable','Noto Sans SC',system-ui,sans-serif;}


/* v3.7.3 — international brand wordmark is shown for non-Korean UI locales.
 * Reuses the existing Korean logo artwork as a CSS sprite for the same cow.
 * Brand identity stays Biseowasso (not a different app name per market).
 */
.brandLogoInternational{display:none!important;align-items:center!important;gap:4px!important;
  min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;
  height:56px!important;color:#12213b!important;box-shadow:none!important;background:transparent!important;}
.brandLogoInternationalCow{display:block!important;width:66px!important;min-width:66px!important;height:56px!important;
  flex:0 0 66px!important;background-image:url('brand-logo-v3521.png?v=3.7.3')!important;
  background-size:224px 56px!important;background-position:left center!important;background-repeat:no-repeat!important;}
.brandLogoInternationalWord{font-family:Inter,Arial,sans-serif!important;font-weight:800!important;
  font-size:clamp(18px,4.8vw,28px)!important;line-height:1.1!important;letter-spacing:-.065em!important;white-space:nowrap!important;}
.brandLogoInternationalAccent{color:#08b9b5!important;}
html[data-app-language]:not([data-app-language="ko"]) .brandLogoExact{display:none!important;}
html[data-app-language]:not([data-app-language="ko"]) .brandLogoInternational{display:flex!important;}
@media(max-width:360px){.brandLogoInternational{gap:0!important;}
  .brandLogoInternationalCow{width:53px!important;min-width:53px!important;flex-basis:53px!important;
    height:45px!important;background-size:180px 45px!important;}
  .brandLogoInternationalWord{font-size:clamp(16px,5.05vw,20px)!important;}
}
