/* Final phone-only application layout. Loaded after legacy styles. */
:root{--paper:#fff;--white:#fff;--ink:#111827;--muted:#6b7280;--line:#e5e7eb}
*{box-sizing:border-box}
html,body{width:100%;min-width:320px;margin:0;background:#fff;color:#111827;overflow-x:hidden}
body{font-family:'Noto Sans SC',Manrope,sans-serif}
.app-shell{display:block!important;width:100%!important;max-width:430px!important;min-height:100dvh!important;margin:0 auto!important;background:#fff!important;box-shadow:none!important}
.sidebar{display:none!important}
.main-area{display:block!important;width:100%!important;min-width:0!important;padding:0 0 calc(82px + env(safe-area-inset-bottom))!important}

/* Native-style top navigation */
.topbar{display:flex!important;width:100%!important;height:56px!important;align-items:center!important;justify-content:center!important;padding:0 52px!important;background:#fff!important;border-bottom:1px solid #eceff1!important;position:sticky!important;top:0!important;z-index:30!important;box-shadow:none!important}
.topbar:before,.topbar .crumb span,.topbar .crumb>svg,.topbar .today,.topbar .help-button,.topbar .notification{display:none!important}
.topbar .crumb{display:block!important;position:static!important;transform:none!important;flex:0 1 auto!important;min-width:0!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.topbar .crumb strong{display:block!important;color:#111827!important;font-size:16px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.topbar .mobile-back{display:none!important;position:absolute!important;left:12px!important;top:10px!important;width:36px!important;height:36px!important;padding:0!important;border-radius:9px!important;background:#f4f5f6!important;color:#111827!important;align-items:center!important;justify-content:center!important}
.topbar .mobile-back.show{display:flex!important}
.topbar .mobile-back svg{width:19px!important;height:19px!important}
.top-actions{display:none!important}

/* One-column phone content */
.content{display:block!important;width:100%!important;max-width:none!important;padding:14px 14px 28px!important;overflow:hidden!important}
.view{width:100%!important;min-width:0!important}
.mobile-home-title{display:none!important}
.page-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 14px!important;padding:2px 0 0!important}
.page-head>div{min-width:0!important;flex:1!important}
.page-head h1{display:none!important}
.page-head .eyebrow{font:500 9px 'DM Mono',monospace!important;color:#7b858c!important;margin:0 0 5px!important;letter-spacing:.08em!important}
.page-head p{margin:0!important;color:#6b7280!important;font-size:11px!important;line-height:1.55!important;max-width:none!important}
.page-head .primary-button{flex:0 0 38px!important;width:38px!important;height:38px!important;padding:0!important;justify-content:center!important;border-radius:9px!important}
.page-head .primary-button span{display:none!important}
.form-layout,.dashboard-grid,.lower-grid{display:block!important;width:100%!important}
.form-panel,.panel{display:block!important;width:100%!important;min-width:0!important;margin:0 0 14px!important;padding:15px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:10px!important;box-shadow:0 2px 10px rgba(17,24,39,.035)!important;overflow:hidden!important}
.field-grid{display:block!important;width:100%!important}
.field,.field.full{display:flex!important;width:100%!important;grid-column:auto!important;margin:0 0 14px!important;gap:7px!important}
.field label{font-size:12px!important;color:#24292f!important}
.field input,.field textarea,.field select{display:block!important;width:100%!important;min-width:0!important;min-height:44px!important;padding:11px 12px!important;background:#fff!important;color:#111827!important;border:1px solid #d7dce0!important;border-radius:9px!important;font-size:14px!important}
.field textarea{min-height:96px!important;line-height:1.55!important;resize:vertical!important}
.section-label{margin:4px 0 12px!important;color:#111827!important;font:800 13px 'Noto Sans SC',sans-serif!important;letter-spacing:0!important;text-transform:none!important}

/* Weekly reports */
.checklist{gap:0!important;margin:0 0 17px!important;border:1px solid #e5e7eb!important;border-radius:9px!important;overflow:hidden!important}
.check-row{min-height:48px!important;padding:11px 12px!important;border-bottom:1px solid #edf0f2!important;font-size:12px!important;line-height:1.45!important;background:#fff!important}
.check-row:last-child{border-bottom:0!important}
.check-row input{width:18px!important;height:18px!important;flex:0 0 18px!important}
.photo-drop{width:100%!important;min-height:126px!important;border-radius:10px!important;background:#fafbfb!important;border-color:#cbd3d6!important}
.photo-drop span{font-size:12px!important;color:#344047!important}
.photo-drop small{font-size:10px!important}
.photo-preview{gap:8px!important}
.photo-preview img{width:76px!important;height:62px!important;border-radius:8px!important}
.form-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:15px!important;padding-top:15px!important}
.form-actions .outline-button,.form-actions .primary-button{width:100%!important;height:44px!important;justify-content:center!important;border-radius:9px!important;font-size:13px!important}
.form-actions .primary-button span{display:inline!important}

/* Lists, records, cash and sales */
.notice-box{padding:14px!important;border-radius:10px!important;margin:0 0 16px!important;background:#f7faf8!important}
.notice-box strong{font-size:13px!important}.notice-box p{font-size:11px!important;line-height:1.6!important}
.panel-head{margin-bottom:13px!important}.panel-title{font-size:14px!important}.panel-caption{font-size:10px!important}
.task-item{padding:11px 0!important}.task-copy strong{font-size:12px!important}.task-copy span{font-size:10px!important;line-height:1.45!important}
.records-table{min-width:540px!important}.form-panel:has(.records-table){overflow-x:auto!important}.records-table th{font-size:10px!important}.records-table td{font-size:11px!important}
.cash-summary,.sales-cards{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;width:100%!important;margin:0 0 14px!important}
.cash-summary>*:last-child,.sales-cards>*:last-child{grid-column:1/-1!important}
.cash-box,.sales-card{min-width:0!important;padding:13px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:10px!important}
.cash-box strong,.sales-card strong{font-size:19px!important;white-space:nowrap!important}
.cash-box span,.sales-card .sales-label{font-size:10px!important}
.attendance-strip{grid-template-columns:1fr!important}.person{padding:12px!important}

/* Home and profile */
.store-select-card{width:100%!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;grid-template-areas:"avatar copy arrow" "avatar location arrow"!important;gap:2px 10px!important;padding:12px!important}
.store-select-card .store-avatar{grid-area:avatar!important}.store-select-copy{grid-area:copy!important;min-width:0!important}.store-location{grid-area:location!important;justify-content:flex-start!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}.store-chevron{grid-area:arrow!important;align-self:center!important}
.mobile-core{width:100%!important;padding:15px!important;background:#fff!important;color:#111827!important;border:1px solid #e5e7eb!important;border-radius:11px!important;box-shadow:0 3px 14px rgba(17,24,39,.04)!important}
.mobile-core-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
.mobile-core-grid>div{padding:10px!important;background:#fafafa!important;border:1px solid #eceff1!important;border-radius:9px!important}
.mobile-module-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
.mobile-module{min-width:0!important;min-height:136px!important;padding:13px!important}
.profile-hero,.profile-store,.settings-list,.about-card{width:100%!important;border-radius:10px!important}
.profile-store{background:#fff!important;color:#111827!important;border:1px solid #e5e7eb!important}.profile-store strong{color:#111827!important}.profile-store span{color:#6b7280!important}

/* Bottom navigation is always present, including module pages. */
.mobile-bottom-nav{display:flex!important;position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;transform:translateX(-50%)!important;width:100%!important;max-width:430px!important;height:calc(68px + env(safe-area-inset-bottom))!important;padding:7px 28px calc(8px + env(safe-area-inset-bottom))!important;align-items:stretch!important;justify-content:space-around!important;gap:22px!important;background:#fff!important;border-top:1px solid #e5e7eb!important;box-shadow:0 -7px 24px rgba(17,24,39,.08)!important;z-index:100!important}
.mobile-tab{display:flex!important;flex:1 1 0!important;max-width:120px!important;min-width:72px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;background:transparent!important;color:#737b82!important;border-radius:9px!important;font-size:10px!important}
.mobile-tab svg{display:block!important;width:21px!important;height:21px!important}
.mobile-tab.active{background:#f2f4f3!important;color:#111827!important;font-weight:800!important}

@media(max-width:359px){.content{padding-left:10px!important;padding-right:10px!important}.mobile-core-grid,.mobile-module-grid{gap:7px!important}.mobile-module{padding:11px!important}.store-location{font-size:8px!important}}

/* Phone-native record lists: replace wide desktop tables with scan-friendly cards. */
.form-panel:has(.records-table){overflow:hidden!important}
.records-table{display:block!important;width:100%!important;min-width:0!important;border:0!important}
.records-table thead{display:none!important}
.records-table tbody{display:grid!important;width:100%!important;gap:9px!important}
.records-table tr{display:block!important;width:100%!important;padding:8px 12px!important;background:#fafbfb!important;border:1px solid #e7eaec!important;border-radius:9px!important}
.records-table td{display:flex!important;width:100%!important;min-height:34px!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:7px 0!important;border-bottom:1px solid #eceff1!important;text-align:right!important;font-size:12px!important}
.records-table td:last-child{border-bottom:0!important}
.records-table td:before{content:attr(data-label)!important;flex:0 0 auto!important;color:#7a8389!important;font-size:10px!important;font-weight:500!important;text-align:left!important}
.records-table td>*{margin-left:auto!important}
.records-table td strong{font-size:12px!important}

@media(min-width:431px){
  body:before,body:after{content:"";position:fixed;top:0;bottom:0;width:1px;background:#f0f1f2;z-index:120}
  body:before{left:calc(50% - 216px)}
  body:after{right:calc(50% - 216px)}
}

/* Operations use a clean mobile flow: intro, form, then a separate history entry. */
.page-head>.primary-button{display:none!important}
.mobile-page-intro{width:100%!important;margin:2px 0 14px!important;padding:2px 2px 0!important}
.mobile-page-intro .eyebrow{margin:0 0 6px!important;color:#7b858c!important;font:500 9px 'DM Mono',monospace!important;letter-spacing:.08em!important}
.mobile-page-intro h1{margin:0!important;color:#111827!important;font-size:22px!important;line-height:1.25!important;font-weight:900!important}
.mobile-page-intro p{margin:6px 0 0!important;color:#6b7280!important;font-size:11px!important;line-height:1.6!important}
.operation-panel{margin-bottom:12px!important}
.operation-panel .section-label{margin-top:3px!important;padding-top:2px!important;border-top:0!important}
.operation-panel .field-grid{gap:0!important}
.operation-panel .field{margin-bottom:15px!important}
.operation-panel .field label{font-size:12px!important;font-weight:800!important;line-height:1.45!important;color:#1f2933!important}
.operation-panel .field input,.operation-panel .field select,.operation-panel .field textarea{font-size:13px!important}
.operation-panel .form-actions{margin-top:18px!important}
.history-link{display:flex!important;width:100%!important;min-height:52px!important;align-items:center!important;gap:9px!important;padding:0 13px!important;margin:0 0 14px!important;border:1px solid #e1e6e8!important;border-radius:10px!important;background:#fff!important;color:#182126!important;font-size:13px!important;font-weight:800!important;box-shadow:0 2px 10px rgba(17,24,39,.035)!important}
.history-link svg:first-child{width:18px!important;color:#4e9f8e!important}.history-link svg:last-child{width:16px!important;margin-left:auto!important;color:#8a9599!important}
.sales-total-line{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:1px 0 3px!important;padding:13px 0!important;border-top:1px solid #edf0f1!important;border-bottom:1px solid #edf0f1!important;color:#67737a!important;font-size:12px!important}
.sales-total-line strong{color:#111827!important;font-size:22px!important;font-weight:900!important}
.history-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 10px!important;padding:10px 2px!important;color:#66737a!important;font-size:11px!important}
.history-toolbar span:first-child{color:#111827!important;font-size:13px!important;font-weight:800!important}
.history-list{display:grid!important;gap:10px!important;width:100%!important}
.history-card{display:block!important;width:100%!important;padding:11px 13px!important;background:#fff!important;border:1px solid #e1e6e8!important;border-radius:10px!important;box-shadow:0 2px 10px rgba(17,24,39,.035)!important}
.history-row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;padding:8px 0!important;border-bottom:1px solid #eef1f2!important;font-size:11px!important}
.history-row span{flex:0 0 76px!important;color:#7b868b!important;line-height:1.45!important}.history-row strong{min-width:0!important;color:#1f2933!important;text-align:right!important;line-height:1.45!important;font-size:12px!important;font-weight:700!important}
.history-detail-link{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important;padding-top:9px!important;color:#4e9f8e!important;font-size:11px!important;font-weight:800!important}.history-detail-link svg{width:14px!important}
.history-back{display:flex!important;width:100%!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:42px!important;margin:14px 0 2px!important;border-radius:9px!important;font-size:12px!important}.history-back svg{width:16px!important}
.history-hub-list{display:grid!important;gap:10px!important;width:100%!important}
.history-hub-list .history-link{min-height:68px!important;margin:0!important;text-align:left!important}
.history-hub-list .history-link>span{display:flex!important;min-width:0!important;flex:1!important;flex-direction:column!important;gap:4px!important}
.history-hub-list .history-link strong{color:#111827!important;font-size:13px!important;line-height:1.35!important}
.history-hub-list .history-link small{color:#7b868b!important;font-size:10px!important;font-weight:500!important;line-height:1.4!important}
.history-filters{display:grid!important;grid-template-columns:1fr 1.45fr auto!important;align-items:end!important;gap:8px!important;width:100%!important;margin:0 0 9px!important;padding:10px!important;border:1px solid #d8e4df!important;border-radius:10px!important;background:#f3f8f5!important}
.history-filters label{display:flex!important;min-width:0!important;flex-direction:column!important;gap:5px!important;color:#49645b!important;font-size:10px!important;font-weight:800!important}
.history-filters select,.history-filters input{width:100%!important;height:36px!important;min-width:0!important;padding:0 8px!important;border:1px solid #cadbd4!important;border-radius:7px!important;background:#fff!important;color:#182126!important;font-size:11px!important;outline:0!important}
.history-filters input::placeholder{color:#9ba8a8!important}
.history-reset{display:flex!important;height:36px!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:0 8px!important;border:0!important;border-radius:7px!important;background:#e0ece7!important;color:#286a59!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}
.history-reset svg{width:14px!important}
.empty-history{display:flex!important;min-height:150px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;border:1px dashed #cddbd5!important;border-radius:10px!important;background:#fafdfb!important;color:#7b8885!important}.empty-history svg{width:24px!important;color:#70a995!important}.empty-history strong{font-size:13px!important;color:#536762!important}.empty-history small{font-size:10px!important}
@media(max-width:359px){.history-filters{grid-template-columns:1fr 1fr!important}.history-reset{grid-column:1/-1!important}}

/* Warm sage operations theme: keep the surface light, but separate the app layers. */
:root{--app-bg:#edf3f0;--surface:#ffffff;--surface-soft:#f4f8f6;--surface-tint:#e6f0ec;--accent:#1f7a67;--accent-deep:#145747;--ink:#182126;--muted:#607077;--line:#d5e1dc}
html,body{background:var(--app-bg)!important;color:var(--ink)!important}
.app-shell{background:var(--app-bg)!important}
.main-area{background:var(--app-bg)!important}
.topbar{background:rgba(248,252,250,.96)!important;border-bottom-color:#d9e5e0!important;box-shadow:0 1px 8px rgba(31,76,63,.05)!important}
.topbar .crumb strong{color:var(--accent-deep)!important}
.content{background:var(--app-bg)!important}
.store-select-card,.mobile-core,.mobile-module,.form-panel,.history-card,.history-link,.profile-hero,.profile-store,.settings-list,.about-card,.panel{background:var(--surface)!important;border-color:var(--line)!important;box-shadow:0 4px 16px rgba(30,72,61,.07)!important}
.store-select-card{background:linear-gradient(135deg,#f8fcfa 0%,#e8f3ee 100%)!important}
.mobile-core{background:linear-gradient(145deg,#ffffff 0%,#f4faf7 100%)!important;border-top:3px solid #72b6a2!important}
.mobile-core-head strong,.mobile-section-title strong,.mobile-page-intro h1,.history-toolbar span:first-child{color:var(--accent-deep)!important}
.mobile-core-grid>div{background:var(--surface-soft)!important;border-color:#dce9e3!important}
.mobile-module{background:linear-gradient(150deg,#fff 0%,#f7fbf9 100%)!important}
.mobile-module:nth-child(2){border-top:3px solid #80b7cb!important}.mobile-module:nth-child(3){border-top:3px solid #b49bd1!important}.mobile-module:nth-child(4){border-top:3px solid #7ec0a9!important}.mobile-module:nth-child(5){border-top:3px solid #d6af72!important}
.mobile-module:hover,.history-link:hover{background:var(--surface-tint)!important;border-color:#a9cfc1!important}
.operation-panel .section-label{color:var(--accent-deep)!important}
.operation-panel .field input,.operation-panel .field select,.operation-panel .field textarea{background:#fbfdfc!important;border-color:#cbdcd5!important}
.operation-panel .field input:focus,.operation-panel .field select:focus,.operation-panel .field textarea:focus{border-color:#5fae99!important;box-shadow:0 0 0 3px rgba(95,174,153,.14)!important}
.photo-drop{background:#edf7f3!important;border-color:#8fc4b3!important;color:var(--accent)!important}
.history-filters{background:#e3efea!important;border-color:#bfd8cd!important;box-shadow:0 3px 12px rgba(30,72,61,.06)!important}
.history-filters label{color:var(--accent-deep)!important}
.history-filters select,.history-filters input{background:#fff!important;border-color:#bcd4ca!important;color:var(--ink)!important}
.history-reset{background:#d3e7df!important;color:var(--accent-deep)!important}
.history-detail-link{color:var(--accent)!important}
.mobile-bottom-nav{background:rgba(248,252,250,.98)!important;border-top-color:#cadbd4!important;box-shadow:0 -8px 28px rgba(31,76,63,.12)!important}
.mobile-tab.active{background:#dceee7!important;color:var(--accent-deep)!important}
.primary-button{background:var(--accent-deep)!important;color:#fff!important}
.outline-button{border-color:#b9d0c6!important;background:#f7fbf9!important;color:var(--accent-deep)!important}
.notice-box{background:#e5f2e9!important;border-color:#bedfc9!important}
.empty-history{background:#f7fbf9!important;border-color:#d2e1da!important;color:var(--muted)!important}

/* Neutral light theme requested for the final mobile shell. */
:root{--app-bg:#fff;--surface:#fff;--surface-soft:#f5f6f7;--surface-tint:#eef0f1;--accent:#4c5660;--accent-deep:#20262b;--ink:#171b1f;--muted:#68727a;--line:#e0e3e6}
html,body,.app-shell,.main-area,.content{background:#fff!important;color:#171b1f!important}
.topbar{background:#fff!important;border-bottom-color:#e4e6e8!important;box-shadow:0 1px 8px rgba(30,35,40,.05)!important}
.topbar .crumb strong{color:#171b1f!important}
.store-select-card,.mobile-core,.form-panel,.history-card,.history-link,.profile-hero,.profile-store,.settings-list,.panel{background:#fff!important;border-color:#e0e3e6!important;box-shadow:0 3px 14px rgba(24,29,34,.05)!important}
.store-select-card{background:#fafbfb!important}
.mobile-core{background:#fff!important;border-top:3px solid #cfd4d8!important}
.mobile-core-head strong,.mobile-section-title strong,.mobile-page-intro h1,.history-toolbar span:first-child{color:#171b1f!important}
.mobile-core-grid>div{background:#f5f6f7!important;border-color:#e5e7e9!important}
.mobile-module{background:#f3f4f5!important;border:1px solid #e0e3e6!important;box-shadow:0 3px 12px rgba(24,29,34,.04)!important}
.mobile-module:nth-child(1),.mobile-module:nth-child(2),.mobile-module:nth-child(3),.mobile-module:nth-child(4),.mobile-module:nth-child(5){border-top:3px solid #d4d8dc!important}
.mobile-module:hover,.history-link:hover{background:#eceeef!important;border-color:#c5cbd0!important}
.mobile-module strong,.mobile-module small,.mobile-module em{color:#20262b!important}
.operation-panel .section-label{color:#20262b!important}
.operation-panel .field input,.operation-panel .field select,.operation-panel .field textarea{background:#fff!important;border-color:#d5d9dc!important}
.operation-panel .field input:focus,.operation-panel .field select:focus,.operation-panel .field textarea:focus{border-color:#8c969e!important;box-shadow:0 0 0 3px rgba(113,123,132,.12)!important}
.photo-drop{background:#f4f5f6!important;border-color:#bcc4ca!important;color:#4c5660!important}
.history-filters{background:#f3f4f5!important;border-color:#d9dde0!important}
.history-filters label{color:#3c464d!important}.history-filters select,.history-filters input{border-color:#d1d6da!important}
.history-reset{background:#e7e9eb!important;color:#303940!important}
.history-detail-link{color:#3c464d!important}
.mobile-bottom-nav{background:#fff!important;border-top-color:#e0e3e6!important;box-shadow:0 -7px 22px rgba(24,29,34,.09)!important}
.mobile-tab.active{background:#eef0f1!important;color:#171b1f!important}
.primary-button{background:#20262b!important;color:#fff!important}.outline-button{border-color:#cbd0d4!important;background:#fff!important;color:#20262b!important}
.notice-box{background:#f3f4f5!important;border-color:#dfe2e5!important}
.empty-history{background:#fafbfb!important;border-color:#d9dde0!important}
.logout-white{background:#fff!important;color:#171b1f!important;border:1px solid #d5d9dc!important;box-shadow:0 2px 10px rgba(24,29,34,.04)!important}
.profile-hero-clean{margin-top:0!important}
.profile-hero-clean + .profile-store{margin-top:12px!important}

/* Final literal overrides also prevent stale variable values from legacy rules. */
html,body,.app-shell,.main-area,.content{background:#fff!important}
.mobile-module{background:#f3f4f5!important}
.mobile-core-grid>div{background:#f5f6f7!important}
.mobile-bottom-nav{background:#fff!important}

/* Stronger module outlines and a single full-width overview. */
.overview-full{display:block!important;width:100%!important;margin:0 0 18px!important;border:1px solid #c7ccd1!important;border-top:3px solid #aeb5bb!important}
.overview-store{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:-2px 0 13px!important;padding:0 0 13px!important;border-bottom:1px solid #e0e3e6!important}
.overview-store .store-avatar{width:40px!important;height:40px!important}
.overview-store-copy{display:flex!important;min-width:0!important;flex-direction:column!important;gap:2px!important}
.overview-store-copy strong{color:#171b1f!important;font-size:14px!important;font-weight:900!important}
.overview-store-copy small{color:#6d767d!important;font-size:10px!important}
.overview-store-copy em{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;color:#68727a!important;font-size:9px!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.overview-store-copy em svg{width:12px!important;height:12px!important;flex:0 0 12px!important;color:#69747b!important}
.mobile-module{border:1.5px solid #b9c0c6!important;border-top:3px solid #aeb5bb!important;box-shadow:0 4px 14px rgba(24,29,34,.08)!important}
.mobile-module:nth-child(1),.mobile-module:nth-child(2),.mobile-module:nth-child(3),.mobile-module:nth-child(4){border-top-color:#aeb5bb!important}

/* Multi-photo capture, compression feedback and thumbnails. */
.photo-drop{cursor:pointer!important;transition:border-color .2s,background .2s,opacity .2s!important}
.photo-drop.compressing{pointer-events:none!important;opacity:.68!important;border-style:solid!important}
.photo-preview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:100%!important;padding-top:10px!important}
.photo-thumb{position:relative!important;min-width:0!important;padding:0 0 22px!important;border:1px solid #c9ced2!important;border-radius:9px!important;background:#f4f5f6!important;overflow:hidden!important}
.photo-thumb-open{display:block!important;width:100%!important;height:78px!important;padding:0!important;border:0!important;background:#e8eaec!important;overflow:hidden!important}
.photo-thumb-open img,.photo-preview .photo-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border:0!important;border-radius:0!important}
.photo-thumb small{position:absolute!important;left:5px!important;right:5px!important;bottom:5px!important;color:#626c73!important;font-size:8px!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.photo-remove{position:absolute!important;top:4px!important;right:4px!important;width:24px!important;height:24px!important;padding:0!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:50%!important;background:rgba(24,29,34,.82)!important;color:#fff!important;font-size:18px!important;line-height:20px!important;box-shadow:0 2px 6px rgba(0,0,0,.18)!important}

/* Full-screen image viewer constrained to the mobile app width. */
body.lightbox-open{overflow:hidden!important}
.photo-lightbox{display:none;position:fixed;inset:0;z-index:300;background:rgba(10,12,14,.94);align-items:center;justify-content:center;color:#fff}
.photo-lightbox.open{display:flex}
.lightbox-stage{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:64px 42px 74px}
.lightbox-stage img{display:block;max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain;border-radius:8px;box-shadow:0 12px 44px rgba(0,0,0,.45)}
.lightbox-stage span{font-size:11px;color:#d8dcdf}
.lightbox-close{position:absolute;top:calc(14px + env(safe-area-inset-top));right:16px;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:27px;line-height:34px;z-index:2}
.lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:48px;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font-size:32px;line-height:38px;z-index:2}
.lightbox-arrow.prev{left:8px}.lightbox-arrow.next{right:8px}
@media(min-width:431px){.photo-lightbox{left:50%!important;right:auto!important;width:430px!important;transform:translateX(-50%)!important}}

/* Softer neutral fills: near-white surfaces with the existing clear outlines. */
.mobile-module{background:#f8f9fa!important}
.mobile-core-grid>div{background:#fafafa!important}
.photo-drop{background:#fafafa!important}
.history-filters{background:#f8f9fa!important}
.history-reset{background:#f1f2f3!important}
.mobile-tab.active{background:#f5f6f7!important}
.notice-box,.empty-history{background:#fafafa!important}

/* Near-white work cards with stable color in every interaction state. */
.mobile-module,.mobile-module:hover,.mobile-module:active,.mobile-module:focus,.mobile-module:focus-visible{background:#fdfdfd!important}
.mobile-module{-webkit-tap-highlight-color:transparent!important}

/* Larger typography for overview and store-work scanning on phones. */
.overview-store-copy strong{font-size:16px!important}
.overview-store-copy small{font-size:11px!important}
.overview-store-copy em{font-size:10px!important}
.mobile-core-head strong{font-size:16px!important}
.mobile-core-head span{font-size:11px!important}
.mobile-core-main>div>small{font-size:11px!important}
.mobile-core-main>div>strong{font-size:30px!important}
.mobile-core-main>div>em{font-size:10px!important}
.core-ring span{font-size:20px!important}
.core-ring em{font-size:9px!important}
.mobile-core-grid>div>small{font-size:11px!important}
.mobile-core-grid>div>strong{font-size:20px!important}
.mobile-core-grid>div>b{font-size:10px!important}
.mobile-section-title strong{font-size:17px!important}
.mobile-section-title span{font-size:11px!important}
.mobile-module strong{font-size:15px!important;line-height:1.35!important}
.mobile-module small{font-size:11px!important;line-height:1.45!important}
.mobile-module em{font-size:10px!important;line-height:1.35!important}

/* Four distinct low-saturation work-module colors. */
.mobile-module:nth-child(1),.mobile-module:nth-child(1):hover,.mobile-module:nth-child(1):active,.mobile-module:nth-child(1):focus{background:#fff6f3!important;border-color:#dfb5aa!important;border-top-color:#cf9485!important}
.mobile-module:nth-child(2),.mobile-module:nth-child(2):hover,.mobile-module:nth-child(2):active,.mobile-module:nth-child(2):focus{background:#fff9eb!important;border-color:#dec898!important;border-top-color:#c7a65f!important}
.mobile-module:nth-child(3),.mobile-module:nth-child(3):hover,.mobile-module:nth-child(3):active,.mobile-module:nth-child(3):focus{background:#f8f5ff!important;border-color:#cbbde3!important;border-top-color:#a98fcf!important}
.mobile-module:nth-child(4),.mobile-module:nth-child(4):hover,.mobile-module:nth-child(4):active,.mobile-module:nth-child(4):focus{background:#f3f8ff!important;border-color:#b5cbe2!important;border-top-color:#83a9d0!important}

/* Airier pastel work cards: colors stay visible without making the page feel heavy. */
.mobile-module:nth-child(1),.mobile-module:nth-child(1):hover,.mobile-module:nth-child(1):active,.mobile-module:nth-child(1):focus,.mobile-module:nth-child(1):focus-visible{background:#fffbfa!important;border-color:#ead3cd!important;border-top-color:#dfbeb5!important}
.mobile-module:nth-child(2),.mobile-module:nth-child(2):hover,.mobile-module:nth-child(2):active,.mobile-module:nth-child(2):focus,.mobile-module:nth-child(2):focus-visible{background:#fffdf6!important;border-color:#eadfbe!important;border-top-color:#dbc68f!important}
.mobile-module:nth-child(3),.mobile-module:nth-child(3):hover,.mobile-module:nth-child(3):active,.mobile-module:nth-child(3):focus,.mobile-module:nth-child(3):focus-visible{background:#fcfbff!important;border-color:#ddd4ed!important;border-top-color:#c8b7e0!important}
.mobile-module:nth-child(4),.mobile-module:nth-child(4):hover,.mobile-module:nth-child(4):active,.mobile-module:nth-child(4):focus,.mobile-module:nth-child(4):focus-visible{background:#f9fbff!important;border-color:#d0deec!important;border-top-color:#adc6df!important}
