/* Live production review follow-up. Scoped rules preserve theme and permissions. */
@media screen {
.shop-directions-r26f5>summary,.shop-panel190>summary{cursor:pointer;min-height:44px;font-weight:700}
.shop-detail-r26f3 .shop-gallery190 img{display:block;width:100%;height:420px;max-height:none;object-fit:contain}
.shop-detail-r26f3 .shop-floor-image190{height:320px;object-fit:contain}
.shop-filter190{grid-template-columns:minmax(0,2fr) minmax(0,2fr) auto}
.shop-filters-r26f5{min-width:0;padding:0;border:0;margin:0}
.shop-filters-r26f5>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}
.shop-filters-r26f5>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* Keep new-message alerts in the page flow while staff enter work-order results. */
body.staff-app[data-page^="/work-orders/"] #main-content > .n191-alert:not([hidden]) {
  position: static;
  display: flex;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 8px 12px;
  box-shadow: none;
}
}
@layer lcpReadability1810 {
@media screen and (max-width:760px) {
body[data-mobile221]>main#main-content .n191-alert{position:static!important;inset:auto!important;display:flex;align-items:center;gap:8px;width:auto!important;max-width:100%!important;margin:0 0 12px!important;padding:8px 12px!important;box-shadow:none!important;box-sizing:border-box;min-width:0}
body[data-mobile221]>main#main-content .n191-alert[hidden]{display:none!important}
body[data-mobile221]>main#main-content .n191-alert a{flex:1;min-width:0;font-size:var(--mobile-small221,16px)!important;line-height:1.4!important}
body[data-mobile221]>main#main-content .n191-alert button{flex:none;width:auto!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:6px!important}
body[data-mobile221]>main#main-content .order-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:12px 0!important}
body[data-mobile221]>main#main-content .order-metrics>a{padding:10px!important;min-height:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important}
body[data-mobile221]>main#main-content .order-metrics strong{font-size:26px!important;margin:0!important;line-height:1.2!important}
body[data-mobile221]>main#main-content .order-metrics span{font-size:var(--mobile-small221,16px)!important;word-break:keep-all!important;flex:1}
body[data-mobile221]>main#main-content .board-cards218{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body[data-mobile221]>main#main-content .board-metric218>span{word-break:keep-all!important}
body[data-mobile221]>main#main-content .shop-title190{padding:8px 0!important;margin:0!important}
body[data-mobile221]>main#main-content .shop-title190 h1{font-size:24px!important;margin:0 0 8px!important}
body[data-mobile221]>main#main-content .shop-filter190{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px!important}
body[data-mobile221]>main#main-content .shop-filter190>label:first-child{grid-column:1!important;margin:0!important}
body[data-mobile221]>main#main-content .shop-filter190>button{grid-column:2!important;grid-row:1!important;width:auto!important;align-self:end!important;margin:0!important}
body[data-mobile221]>main#main-content .shop-filters-r26f5{grid-column:1/-1!important;grid-row:2!important;padding:0!important;margin:0!important;border:0!important}
body[data-mobile221]>main#main-content .shop-filters-r26f5 label{margin:0!important;min-width:0}
body[data-mobile221]>main#main-content .shop-detail-r26f3 .shop-detail-facts>dl{grid-template-columns:5.2em minmax(0,1fr)!important;gap:0 12px!important}
body[data-mobile221]>main#main-content .shop-detail-r26f3 .shop-detail-facts dt{white-space:nowrap!important;word-break:keep-all!important}
body[data-mobile221]>main#main-content .shop-detail-r26f3 .shop-gallery190 img{height:400px!important;max-height:none!important;object-fit:contain!important}
body[data-mobile221]>main#main-content .shop-detail-r26f3 .shop-floor-image190{height:280px!important;object-fit:contain!important}
}
}

.empty>a{display:block;margin-top:10px;min-height:44px}

/* Shared staff title origin: stable scrollbar space and one heading rhythm. */
@media screen {html:has(body.staff-app){scrollbar-gutter:stable}}
@layer lcpReadability1810 {
@media screen {
body.staff-app[data-shell204]>main#main-content{padding-top:24px!important;padding-left:var(--shell204-pad,28px)!important;padding-right:var(--shell204-pad,28px)!important}
body.staff-app[data-shell204]>main#main-content>:is(.page-heading,.page-title205,.n191-head,.department-heading){margin:0 0 20px!important;padding:0!important;border:0!important;min-height:0!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important}
body.staff-app[data-shell204]>main#main-content>h1,
body.staff-app[data-shell204]>main#main-content>:is(.page-heading,.page-title205,.n191-head,.department-heading) h1{margin:0!important;padding:0!important;font-size:calc(var(--ui-font205,18px)*1.65)!important;line-height:1.3!important;letter-spacing:-.035em!important}
body.staff-app[data-shell204]>main#main-content>h1{margin-bottom:20px!important}
body.staff-app[data-shell204]>main#main-content>:is(.page-heading,.page-title205,.n191-head,.department-heading)>:is(.heading-actions,.n191-actions,.actions){margin:0!important;display:flex!important;gap:10px!important;flex-wrap:wrap!important}
}
@media screen and (max-width:760px){
body.staff-app[data-mobile221][data-shell204]>main#main-content{padding-top:20px!important;padding-left:16px!important;padding-right:16px!important}
body.staff-app[data-mobile221][data-shell204]>main#main-content>:is(.page-heading,.page-title205,.n191-head,.department-heading){flex-direction:column!important;gap:12px!important;margin-bottom:16px!important}
body.staff-app[data-mobile221][data-shell204]>main#main-content>h1,
body.staff-app[data-mobile221][data-shell204]>main#main-content>:is(.page-heading,.page-title205,.n191-head,.department-heading) h1{font-size:calc(var(--ui-font205,18px)*1.45)!important}
body.staff-app[data-mobile221][data-shell204]>main#main-content>h1{margin-bottom:16px!important}
}
}

/* Editorial screen system. Existing assets, theme values and density settings only. */
@media screen {
body[data-design-r26f7] {--editorial-edge:color-mix(in srgb,var(--accent,#95785e) 24%,var(--surface,#fffefa));--editorial-wash:color-mix(in srgb,var(--accent,#95785e) 6%,var(--surface,#fffefa));}
body[data-design-r26f7][data-radius205="soft"]{--ui-radius205:12px}
body[data-design-r26f7] #main-content :is(.card,.n191-card,.portal-card181,.shop-panel190,.shop-card190):not(.shop-detail-facts){border:1px solid var(--editorial-edge);background:var(--surface,#fffefa);box-shadow:0 3px 14px #15322c05;min-width:0}
body[data-design-r26f7] #main-content :is(.card,.n191-card,.portal-card181)>h2:first-child{border-bottom:1px solid var(--editorial-edge);padding-bottom:12px;margin-top:0}
body[data-design-r26f7] #main-content :is(.card,.n191-card,.portal-card181)>h2:first-child::before{content:"";display:inline-block;width:5px;height:1em;background:var(--accent,#95785e);border-radius:2px;margin-right:10px;vertical-align:-.1em}
body[data-design-r26f7] #main-content :is(.n191-search,.shop-filter190){background:var(--editorial-wash);border:1px solid var(--editorial-edge);border-radius:var(--ui-radius205);padding:16px;gap:12px}
body[data-design-r26f7] #main-content .n191-search>label{margin:0;min-width:0;flex:1 1 180px}
body[data-design-r26f7] #main-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border-color:var(--line,#b8b5ad);background:var(--surface,#fffefa)}
body[data-design-r26f7] #main-content :is(.n191-source,.n191-agenda-event){border-color:var(--editorial-edge)}
body[data-design-r26f7] #main-content :is(.n191-source,.n191-agenda-event)>:last-child{margin-bottom:0}
body[data-design-r26f7] #main-content :is(.n191-source,.n191-agenda-event) a{color:var(--ink,#202625)}
body[data-design-r26f7] #main-content :is(.n191-meta,.n191-source p){color:var(--muted,#505854)}
body[data-design-r26f7] #main-content :is(.board-metric218,.order-metrics>a){border-radius:var(--ui-radius205);background:var(--surface,#fffefa);box-shadow:0 3px 14px #15322c05}
body[data-design-r26f7] #main-content .n191-month{padding-bottom:12px;border-bottom:1px solid var(--editorial-edge)}
body[data-design-r26f7] #main-content .n191-month>a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--editorial-edge);border-radius:8px;padding:8px 12px;text-decoration:none;min-height:44px;background:var(--surface,#fffefa);color:var(--ink,#202625)}
body[data-design-r26f7] #main-content .n191-month>a[hidden]{display:none}
body[data-design-r26f7] #main-content .n191-calendar{border:1px solid var(--editorial-edge);border-radius:var(--ui-radius205);overflow:hidden}
body[data-design-r26f7] #main-content .n191-weekdays{background:var(--editorial-wash)}
body[data-design-r26f7] #main-content .n191-day{border-color:var(--editorial-edge)}
body[data-design-r26f7] #main-content .n191-day.is-today{background:var(--editorial-wash)}
body[data-design-r26f7] #main-content .n191-day.is-today .n191-daynum{background:var(--header-bg183,#15322c);color:var(--header-ink183,#fffefa)}
body[data-design-r26f7] #main-content .n191-event{background:var(--editorial-wash);color:var(--ink,#202625);border-left:2px solid var(--accent,#95785e)}
body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-content:start;border:1px solid var(--editorial-edge);border-radius:var(--ui-radius205);background:var(--surface,#fffefa);padding:16px;text-decoration:none}
.editorial-icon-r26f7{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--editorial-wash);color:var(--accent,#95785e)}
.editorial-icon-r26f7 svg{width:22px;height:22px;flex:none}
body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a>strong,body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a>span:not(.editorial-icon-r26f7){grid-column:2}
body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a:focus-visible{outline:3px solid var(--accent,#95785e);outline-offset:3px}
body[data-design-r26f7] #main-content .editorial-welcome-r26f7{display:block;padding:22px;border:1px solid var(--editorial-edge);border-left:4px solid var(--accent,#95785e);border-radius:var(--ui-radius205);background:var(--surface,#fffefa);margin-bottom:20px}
.editorial-welcome-r26f7 .editorial-eyebrow-r26f7{margin:0 0 6px;font-size:14px;letter-spacing:.12em;color:var(--muted,#505854)}
.editorial-welcome-r26f7>h1{margin:0 0 12px}
body[data-design-r26f7] #main-content .editorial-welcome-r26f7>a{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;min-height:44px;border:1px solid var(--editorial-edge);border-radius:8px;text-decoration:none;color:var(--ink,#202625);background:var(--editorial-wash)}
@media(hover:hover){body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a:hover{border-color:var(--accent,#95785e);background:var(--editorial-wash)}}
@media(min-width:761px){
body[data-design-r26f7] #main-content .editorial-welcome-r26f7{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
.editorial-welcome-r26f7>:is(p,h1){grid-column:1}
body[data-design-r26f7] #main-content .editorial-welcome-r26f7>a{grid-column:2;grid-row:1/3}
}
}
@layer lcpReadability1810 {
@media screen {
body[data-design-r26f7] #main-content .n191-search>label{margin:0!important}
body[data-design-r26f7] #main-content .editorial-welcome-r26f7{padding:22px!important}
}
@media screen and (max-width:760px){
body[data-design-r26f7] #main-content .editorial-welcome-r26f7{padding:16px!important;margin:0 0 16px!important}
body[data-design-r26f7] #main-content .resident-action-grid-r26f2{grid-template-columns:1fr!important;gap:10px!important}
body[data-design-r26f7] #main-content .resident-action-grid-r26f2>a{padding:14px!important;min-height:76px!important}
body[data-design-r26f7] #main-content .n191-month{gap:8px!important}
body[data-design-r26f7] #main-content .n191-month>a{padding:8px!important;min-height:44px!important;white-space:nowrap!important}
body[data-design-r26f7] #main-content .n191-month>h2{font-size:var(--ui-font205,18px)!important;white-space:normal!important;text-align:center!important}
body[data-design-r26f7] #main-content .n191-search{padding:12px!important}
body[data-design-r26f7] #main-content .n191-daynum{min-height:40px!important;min-width:32px!important}
}
}

/* R26-F7: exact identity colour and shared navigation/spacing, without new assets. */
@media screen {
html:has(body[data-shell204]){scrollbar-gutter:stable}
body[data-shell204]>header.shell :is(.brand-type,.brand-mark-r26f4){color:var(--brand-exact-r26f7,var(--accent,#95785e))}
body[data-shell204]>header.shell :is(.nav-group>summary,.nav-link-r26f2,.resident-report-r26f2>summary,.nav-flyout a){font-weight:700;transition:background-color .16s ease,color .16s ease;border-radius:0}
body[data-shell204]>header.shell :is(.nav-group>summary,.resident-report-r26f2>summary) .nav-chevron{margin-top:0;transform:rotate(45deg);transition:transform .16s ease}
body[data-shell204]>header.shell :is(.nav-group[open],.resident-report-r26f2[open])>summary .nav-chevron{margin-top:0;transform:rotate(225deg)}
body[data-shell204]>header.shell :is(.nav-group>summary,.nav-link-r26f2,.resident-report-r26f2>summary,.nav-flyout a):focus-visible{outline:2px solid var(--header-ink183);outline-offset:-4px}
body[data-shell204] #main-content .back-link-r26f7{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 14px;margin:0 0 16px;border:1px solid var(--line,#ddd7cc);border-radius:12px;background:var(--surface,#fffefa);color:var(--ink,#202625);text-decoration:none;font-weight:600;box-sizing:border-box}
.back-link-r26f7 svg{flex:none}.back-link-r26f7 .back-icon-r26f7{margin-left:12px;color:var(--muted,#505854)}
body[data-shell204] #main-content .back-link-r26f7:hover{border-color:var(--accent,#95785e)}
.back-link-r26f7:focus-visible{outline:3px solid var(--accent,#95785e);outline-offset:3px}
}
@layer lcpReadability1810 {
@media screen {
body[data-shell204]>main#main-content{padding-top:24px!important;padding-left:var(--shell204-pad,28px)!important;padding-right:var(--shell204-pad,28px)!important}
body[data-shell204]>main#main-content>.inquiry195{margin:0!important;padding:0!important}
body[data-shell204] #main-content .chat-heading190{margin:0 0 20px!important;padding:0!important;gap:12px;flex-wrap:wrap}
body[data-shell204] #main-content :is(.chat-heading190,.inquiry195)>h1{margin:0 0 20px!important;padding:0!important;font-size:calc(var(--ui-font205,18px)*1.65)!important;line-height:1.3!important;letter-spacing:-.035em!important}
body[data-shell204] #main-content .chat-heading190>h1{margin-bottom:0!important}
}
@media screen and (max-width:760px){
body[data-shell204]>main#main-content{padding-top:20px!important;padding-left:16px!important;padding-right:16px!important}
body[data-shell204] #main-content .back-link-r26f7{padding:8px 12px!important;margin:0 0 12px!important;font-size:var(--mobile-small221,16px)!important}
body[data-shell204] #main-content :is(.chat-heading190,.inquiry195)>h1{font-size:calc(var(--ui-font205,18px)*1.45)!important}
}
}
@media (prefers-reduced-motion:reduce){body[data-shell204]>header.shell :is(summary,a,.nav-chevron){transition:none!important}}

/* Keep filter labels attached to their controls as the available width changes. */
@media screen {
.query-form-r26f9{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:16px;min-width:0;margin-bottom:24px}
.query-form-r26f9>.query-field-r26f9{min-width:0}
.query-form-r26f9 .query-field-r26f9>label{margin:0 0 7px}
.query-form-r26f9 .query-field-r26f9>:is(input,select){width:100%;min-width:0;margin:0}
.query-form-r26f9>.query-actions-r26f9{display:flex;align-items:center;gap:10px;min-width:0}
.query-form-r26f9 .query-actions-r26f9>:is(button,.button){margin:0;white-space:nowrap}
.query-records-r26f9{grid-template-columns:minmax(180px,280px) auto;justify-content:start}
.query-intake-r26f9{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}
.query-intake-r26f9.query-team-r26f9{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)) auto}
}
@media screen and (max-width:900px){
.query-intake-r26f9,.query-intake-r26f9.query-team-r26f9{grid-template-columns:repeat(2,minmax(0,1fr))}
.query-intake-r26f9>.query-search-r26f9,.query-intake-r26f9.query-team-r26f9>.query-actions-r26f9{grid-column:1/-1}
.query-intake-r26f9 .query-actions-r26f9>button{width:100%}
}
@media screen and (max-width:760px){
.query-form-r26f9{grid-template-columns:minmax(0,1fr);gap:14px}
.query-form-r26f9>.query-actions-r26f9{flex-wrap:wrap}
.query-form-r26f9 .query-actions-r26f9>:is(button,.button){flex:1 1 0;white-space:normal}
}
@media screen and (max-width:480px){
.query-intake-r26f9,.query-intake-r26f9.query-team-r26f9{grid-template-columns:minmax(0,1fr)}
}

/* R26-F8: align report/team titles and the asset ledger's summary figures. */
@layer lcpReadability1810 {
@media screen {
body.staff-app[data-shell204]>main#main-content>.report-controls{max-width:none!important;margin:0!important;padding:0!important;min-width:0}
body.staff-app[data-shell204]>main#main-content>.report-controls>h1{margin:0 0 20px!important;padding:0!important;font-size:calc(var(--ui-font205,18px)*1.65)!important;line-height:1.3!important;letter-spacing:-.035em!important}
/* The shared team template starts directly with the Korean page title. */
body.staff-app[data-shell204]>main#main-content>.department-heading>.department-title-r26f8{order:0;flex:1!important;min-width:0}
body.staff-app[data-shell204]>main#main-content>.department-heading>.department-today{order:2;margin:0!important;min-height:42px;align-items:center}
body.staff-app[data-page="/assets"]>main#main-content>.stats>.stat>strong{font-family:inherit!important;font-size:1.8rem!important;font-weight:650!important;line-height:1.2!important;letter-spacing:normal!important;font-variant-numeric:tabular-nums}
}
@media screen and (max-width:760px){
body.staff-app[data-mobile221][data-shell204]>main#main-content>.report-controls>h1{margin-bottom:16px!important;font-size:calc(var(--ui-font205,18px)*1.45)!important}
body.staff-app[data-mobile221][data-shell204]>main#main-content>.department-heading>.department-today{min-height:44px}
body.staff-app[data-mobile221][data-page="/assets"]>main#main-content>.stats>.stat>strong{font-size:calc(var(--ui-font205,18px)*1.65)!important}
}
@media screen and (max-width:640px){
  .staff-app .work-actions>a{min-width:0!important;overflow-wrap:anywhere}
  .staff-app .work-actions>a>strong .ui-icon{flex-shrink:0}
}
}
