/* Yujing brand theme. Screen-only so the established A4 bill print layout
   retains its existing sizes, amounts, page breaks and receipt disclaimer. */
@media screen {
  :root { --blue:#087e69; --line:#e1ebe7; --muted:#5e7467; --ink:#263f3d; --brand-blue:#177faf; font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif; background:#f4f8f7; color:var(--ink); font-size:14px; }
  body { background:#f4f8f7; -webkit-font-smoothing:antialiased; }
  [hidden] { display:none!important; }
  .skipLink { position:fixed; top:-80px; left:24px; background:white; color:#087e69; padding:12px 18px; border:2px solid #087e69; border-radius:8px; z-index:200; }
  .skipLink:focus { top:12px; }
  .appHeader { height:82px; padding:0 30px; background:#fff; border-bottom:1px solid #e3ece8; color:var(--ink); box-shadow:0 2px 12px #184d3d03; gap:24px; }
  .appHeader .brandIdentity { gap:12px; flex-shrink:0; }
  .brandLogo { display:block; width:54px; height:54px; object-fit:contain; }
  .brandWords { display:flex; flex-direction:column; gap:5px; }
  .appHeader .brandWords strong { font-size:23px; line-height:1.1; color:#214d43; letter-spacing:2px; }
  .appHeader .brandWords span { font-size:10px; color:#5e7467; letter-spacing:1.5px; }
  .appHeader .headerContext { margin-right:auto; padding-left:26px; border-left:1px solid #e2ebe6; font-size:13px; letter-spacing:1px; color:#5e7467; }
  .appHeader .headerActions { gap:22px; }
  .appHeader .headerCommunity { color:#5e7467; font-size:12px; }
  .appHeader .headerLogout { display:flex; align-items:center; gap:7px; color:#57726a; background:#fff; border-color:#e0e9e5; border-radius:9px; padding:8px 13px; font-size:12px; }
  main { max-width:1920px; padding:24px 28px; }
  main:focus { outline:none; }
  h1 { font-size:25px; line-height:1.4; font-weight:650; letter-spacing:.3px; color:#263f3d; }
  h2 { font-size:18px; font-weight:650; color:#304b44; }
  h3 { color:#3c554d; }
  .muted { color:#5e7467; line-height:1.8; }
  .card { border:1px solid #e3ece7; border-radius:16px; box-shadow:0 3px 16px #254e3d03; padding:22px; }
  #work { grid-template-columns:210px minmax(0,1fr); gap:26px; align-items:start; }
  .moduleNav { position:sticky; top:106px; padding:15px 10px 12px; min-height:0; max-height:calc(100vh - 128px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#d1e0d8 transparent; gap:4px; background:white; border:1px solid #e2ebe6; border-radius:16px; box-shadow:0 3px 16px #254e3d03; }
  .moduleNav button { padding:11px 13px; min-height:43px; gap:11px; font-size:13px; font-weight:400; border-radius:9px; color:#566d65; line-height:1.4; flex-shrink:0; }
  .moduleNav button:hover { filter:none; background:#f2f7f4; color:#285f4e; }
  .moduleNav button[aria-pressed="true"] { background:#e9f5ef; border-color:#d8ebe0; color:#176c54; font-weight:650; box-shadow:inset 3px 0 #26926a; }
  .moduleNav img.navIcon, .moduleNav .staffNav img { display:block; width:20px; height:20px; object-fit:contain; margin:0; flex-shrink:0; opacity:.9; }
  .moduleNav button[aria-pressed="true"] img { opacity:1; }
  .navCaption { font-size:10px; letter-spacing:1.4px; color:#5e7467; margin:15px 13px 4px; line-height:1.7; }
  .navCaption:first-child { margin-top:4px; }
  .navFoot { display:flex; align-items:center; gap:9px; margin:18px 12px 0; padding-top:16px; border-top:1px solid #e8efeb; color:#5e7467; font-size:12px; line-height:1.5; }
  .navFoot small { display:block; margin-top:4px; font-size:10px; color:#5e7467; }
  .workspaceTopline { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:25px; margin:1px 2px 20px; color:#5e7467; font-size:12px; }
  .workspaceTrail { display:flex; align-items:center; gap:10px; }
  .workspaceTrail img { opacity:.6; }
  .workspaceTrail strong { font-weight:500; color:#4c6a5d; }
  .trailDivider { color:#5e7467; }
  #workDate { font-size:11px; white-space:nowrap; color:#5e7467; }
  .pageHeading { margin:0 0 20px; padding:2px 2px 0; }
  .pageHeading h1 { margin-bottom:7px; }
  .eyebrow { color:#5e7467; font-size:10px; letter-spacing:1px; }
  .pill { border-radius:7px; background:#edf5ee; color:#5e7467; padding:7px 10px; font-size:11px; }
  label { color:#536b60; font-weight:500; font-size:12px; }
  input,select,textarea { border-color:#dce7e0; border-radius:8px; background:#fff; font-size:13px; min-height:41px; color:#304b3f; }
  input::placeholder,textarea::placeholder { color:#5e7467; }
  input:focus,select:focus,textarea:focus { border-color:#65b69a; outline:2px solid #d6eee2; outline-offset:1px; }
  fieldset:disabled input,fieldset:disabled textarea,fieldset:disabled select { background:#f4f7f5; color:#5e7467; }
  button { min-height:38px; font-weight:500; font-size:13px; border-radius:8px; transition:background-color .15s,border-color .15s; }
  button:hover { filter:brightness(.98); }
  button:focus-visible,summary:focus-visible { outline:3px solid #94c8b4; outline-offset:3px; }
  button.secondary { background:#fff; border-color:#dbe7df; color:#577365; }
  button.secondary:hover { background:#f4f8f5; border-color:#c5dbcd; }
  button:disabled { opacity:.46; cursor:not-allowed; }
  .check { color:#5e7467; font-size:12px; }
  .check input { accent-color:#188669; }
  .filterBar { border-color:#e2ebe5; border-radius:14px; padding:17px 20px; gap:16px; margin-bottom:18px; }
  .filterBar label { min-width:120px; }
  .filterBar button { height:41px; min-width:96px; }
  .filterBar select,.filterBar input { background:#fbfdfb; }
  table { color:#4a6358; font-size:13px; font-variant-numeric:tabular-nums; }
  th { background:#f5f9f6; color:#5e7467; font-size:11px; font-weight:500; }
  td,th { border-bottom-color:#edf2ee; padding:14px 13px; }
  tbody tr:hover { background:#f8fcfa; }
  td button { min-height:30px; border-radius:6px; font-size:11px; }
  .pager { border-top-color:#e9f0eb; padding-top:17px; }
  .pager button { min-height:32px; border-radius:6px; }
  .pager span { color:#5e7467; font-size:11px; }
  .emptyRow td { height:160px; text-align:center!important; color:#5e7467; white-space:normal; }
  #historyRows td:nth-child(3),#historyRows td:nth-child(4),#historyRows td:nth-child(5),#financeBills td:nth-child(2),#financeBills td:nth-child(3),#financeBills td:nth-child(4) { font-variant-numeric:tabular-nums; }
  #historyRows td:nth-child(5),#financeBills td:nth-child(4) { color:#238166; font-weight:600; }
  .historyScroll { min-height:300px; max-height:calc(100vh - 390px); }
  #notice:not(:empty) { background:#edf6f1; border-color:#d8e9dd; color:#547961; border-radius:10px; font-size:12px; }
  body.signed #notice:not(:empty) { margin-left:236px; }
  #notice.error { background:#fff2ec; border-color:#efd9ce; color:#a65b45; }
  .warning { background:#fff9eb; border-color:#f1e5c8; color:#5e7467; font-size:12px; }
  .tip { background:#f0f7f7; color:#5e7467; border-radius:9px; }
  .walletRow { gap:16px; }
  .balanceCard { background:#fff; border-color:#dfebee; border-radius:14px; padding:22px 24px; box-shadow:inset 0 3px #79b5d7; }
  .balanceCard span { color:#5e7467; font-size:12px; font-weight:500; }
  .balanceCard strong { color:#267aa6; font-size:33px; font-weight:600; letter-spacing:0; }
  .balanceCard small { color:#5e7467; opacity:1; }
  .balanceCard.green { background:#fff; border-color:#e0ebe3; box-shadow:inset 0 3px #88baa0; }
  .balanceCard.green span,.balanceCard.green small { color:#5e7467; }
  .balanceCard.green strong { color:#5e7467; }
  .accountContext { border-radius:14px; background:#edf4ef; padding:20px; }
  .accountContext h2 { font-size:18px; }
  .accountContext p { color:#5e7467; }
  .subTabs { gap:24px; border-bottom-color:#e8efea; }
  .subTabs button { font-weight:500; border-bottom-width:2px; font-size:13px; }
  .subTabs button[aria-pressed="true"] { color:#188466; border-color:#188466; }
  .ledgerCard { top:106px; padding:0 20px 18px; }
  .entryCard h2 { border-color:#e7eee8; }
  .stickyActions,.entrySaveActions { border-color:#e5eee7; background:#fff; }
  .emptyState { border:1px solid #e3ece7; padding:70px 24px; background:#fff; }
  .emptyState span { background:#edf7f0; color:#5e7467; border-radius:6px; font-size:11px; }
  .emptyState h2 { font-size:20px; font-weight:500; color:#426855; }
  .emptyState p { color:#5e7467; }
  .profileList h1 { font-size:22px; }
  .profileList .actions { border-top:1px solid #e9f0eb; }
  .profileDiff { background:#f5f9f6!important; }
  #billingPanel .billingSelectorCard { padding:22px; margin-bottom:18px; border-top:3px solid #b7d9c2; }
  #billingPanel .billingSelectorCard h1 { font-size:24px; }
  #billingPanel #selectors .grid { gap:16px; }
  #billingPanel #read { min-height:41px; border-radius:8px; }
  #staffLabel { font-size:11px; color:#5e7467; }
  .billingWelcome { min-height:330px; border:1px solid #e4ede6; border-radius:16px; padding:42px 20px 36px; text-align:center; background:#fff; }
  #billingPanel:has(#editor:not([hidden])) #billingWelcome { display:none; }
  .welcomeIcon { width:78px; height:78px; display:grid; place-items:center; background:#eff7f6; border-radius:22px; margin:0 auto 20px; }
  .billingWelcome h2 { font-size:19px; font-weight:500; margin-bottom:10px; }
  .billingWelcome p { font-size:12px; color:#5e7467; }
  .entryGuide { display:flex; align-items:center; justify-content:center; gap:32px; padding:0; margin:27px 0 0; list-style:none; color:#5e7467; font-size:11px; }
  .entryGuide li { display:flex; align-items:center; gap:8px; }
  .entryGuide li>span { width:22px; height:22px; background:#f0f6f1; border-radius:50%; display:grid; place-items:center; font-size:10px; color:#5e7467; }
  .entrySheet #areaInfo { color:#5e7467; background:#f0f7f0; }
  .entryAside { top:106px; max-height:calc(100vh - 128px); }
  .feeEntryScroll { border-color:#e3ebe5; border-radius:10px; }
  .feeEntryTable thead th { background:#edf5ef; color:#5e7467; }
  .feeEntryTable tbody th { background:#f9fcf9; color:#55725f; }
  .feeEntryTable caption { background:#f8fbf8; color:#5e7467; }
  .feeEntryTable input,.feeEntryTable select { border-color:#dde7e0; border-radius:6px; }
  .feeEntryTable button.entryLink { min-height:0; color:#5e7467; }
  .entryDetails { background:#f7faf7; border-color:#e3ece3; border-radius:10px; }
  .entryDetails summary { color:#5e7467; }
  .entryDetails summary span,.entryHint,.entryHint small { color:#5e7467; }
  .entryTotals { background:#eff7f1; border-radius:10px; }
  .entryTotals p { color:#5e7467; }
  .entryTotals .entryNet { color:#5e7467; border-color:#dbe9dd; }
  .entryNet strong { color:#26845f; }
  #publish,#profileOwnerSave { background:#168164; }
  #standardsPanel { max-width:none; }
  #standardsPanel summary { font-size:22px; color:#395d49; }
  #standardsPanel .muted { max-width:920px; }
  #servicePanel h1 { font-size:25px; font-weight:650; }
  #servicePanel .serviceLead { color:#5e7467; font-size:12px; max-width:860px; }
  #servicePanel .serviceFilters { padding:17px 20px; background:white; border:1px solid #e3ece7; border-radius:14px; }
  #servicePanel .serviceStatus { color:#5e7467; background:#edf6ef; font-size:12px; }
  #servicePanel .serviceStatus.error { background:#fff1eb; color:#a65b45; }
  #servicePanel .serviceBadge { background:#edf6ef; color:#5e7467; border-radius:6px; font-size:11px; }
  #servicePanel .serviceList tr.selected { background:#eff8f1; }
  #servicePanel .serviceEditor { border-top:3px solid #bedac6; }
  #servicePanel .serviceFacts dt { color:#5e7467; }
  #servicePanel .serviceFacts dd { color:#4d6a57; }
  #servicePanel .serviceEmpty { color:#5e7467; padding:55px 20px; font-size:12px; }
  #servicePanel .serviceHint { color:#5e7467; }
  #servicePanel .contactSettingsPreview { background:#f6faf5; border-color:#e3ede0; }
  #servicePanel .contactPreview_phone { color:#5e7467; }
  .repairAlerts { padding:13px 17px; border:1px solid #e1ebe5; border-radius:12px; background:#fff; }
  .repairAlerts>button:first-child { background:#eaf5f1; color:#5e7467; }
  .repairAlerts small { color:#5e7467; font-size:11px; }
  .repairToast { border-color:#deebe2; border-left-color:#3c9a72; box-shadow:0 12px 40px #244a321a; }
  .staffRole { background:#edf6ee; color:#5e7467; font-size:11px; border-radius:7px; }
  .staffFilters { padding:17px 0; margin:14px 0 9px; border-bottom:1px solid #ebf1ec; }
  .staffListRow { border:1px solid #e7eee7; border-radius:11px; background:#fcfdfb; padding:16px 18px; margin-bottom:11px; }
  .staffListRow h3 { color:#4b6c55; font-size:15px; }
  .staffListRow p { color:#5e7467; font-size:12px; }
  .staffEditor { background:#f4f8f2; border:1px solid #e4eddf; border-radius:12px; top:106px; }
  .staffModule .staffPrimary { background:#258568; }
  .staffEditor>button { margin-top:30px; }
  .staffModule label { color:#5e7467; }
  .staffMessage { color:#5e7467; font-size:12px; }
  #billDetailDialog { color:#335448; border-color:#dce8df; border-radius:16px; box-shadow:0 24px 90px #183f3433; }
  #billDetailDialog::backdrop { background:#243e3b65; }
  .detailToolbar { background:#f5f9f5; border-color:#e2ece3; }
  .detailToolbar h2 { font-size:18px; }
  .billReportHeading { border-bottom-color:#528a72; }
  .reportPeriod strong,.billReportTotal strong { color:#34846c; }
  .billDetailTable tfoot th,.billDetailTable tfoot td { background:#f2f7f1; border-top-color:#d9e6d9; }
  .appFooter { color:#5e7467; font-size:10px; letter-spacing:1px; padding:8px 20px 24px; }
  .footerBrand span { padding:0 12px; }
  .filingLinks { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:2px 18px; margin-top:6px; font-size:13px; line-height:1.5; letter-spacing:normal; }
  .filingLinks a { display:inline-flex; align-items:center; gap:5px; min-height:28px; color:#466055; white-space:nowrap; text-decoration:underline; text-underline-offset:3px; }
  .filingLinks a:hover { color:#11654f; }
  .filingLinks a:focus-visible { outline:2px solid #11654f; outline-offset:2px; border-radius:3px; }
  .filingLinks img { display:block; flex:none; }
  /* Login is an actual login form, using the existing auth submission path. */
  .login { max-width:1120px; margin:48px auto 28px; padding:0; display:grid; grid-template-columns:1.18fr 1fr; overflow:hidden; border:1px solid #dfeae1; border-radius:22px; box-shadow:0 18px 70px #245c3a08; }
  .loginStory { position:relative; padding:44px 44px 28px; background:linear-gradient(155deg,#ecf5ee,#edf8f6 65%,#f4f9ef); overflow:hidden; }
  .loginEyebrow { display:flex; gap:8px; align-items:center; margin:0 0 25px; font-size:11px; color:#5e7467; letter-spacing:1px; }
  .loginEyebrow>span { width:6px; height:6px; border-radius:50%; background:#d9b65c; }
  .loginStory h1 { font-size:34px; line-height:1.7; color:#365f4b; letter-spacing:1px; font-weight:550; margin-bottom:16px; }
  .loginIntro { color:#5e7467; font-size:13px; line-height:1.9; }
  .gardenIllustration { display:block; width:calc(100% + 44px); height:auto; margin:13px -22px -4px; }
  .loginFeatures { display:flex; justify-content:space-between; gap:12px; padding-top:10px; margin-top:0; }
  .loginFeatures span { display:flex; align-items:center; gap:7px; font-size:11px; color:#5e7467; white-space:nowrap; }
  .loginFeatures img { width:16px; height:16px; opacity:.75; }
  .loginFormPane { background:#fff; padding:43px 48px 30px; display:flex; flex-direction:column; }
  .loginBrand { display:flex; align-items:center; gap:10px; margin-bottom:30px; }
  .loginBrand>img { width:49px; height:49px; object-fit:contain; }
  .loginBrand>span { color:#4c715b; font-size:15px; letter-spacing:1px; }
  .loginBrand>span>span { display:block; color:#5e7467; font-size:10px; margin-top:5px; letter-spacing:.6px; }
  .loginFormPane h2 { font-size:27px; font-weight:600; color:#314d3e; margin:0 0 10px; }
  .loginFormLead { color:#5e7467; font-size:12px; margin-bottom:23px; }
  #loginForm>label { color:#5e7467; font-size:12px; margin:17px 0 8px; }
  #loginForm input { height:46px; padding:12px 14px; border-color:#e0e9e1; background:#fcfdfb; margin:0; border-radius:9px; }
  .passwordField { position:relative; }
  .passwordField input { padding-right:48px!important; }
  .login .passwordToggle { position:absolute; right:5px; top:4px; height:38px; min-height:0; width:38px; padding:9px; margin:0; border:0; background:transparent; border-radius:6px; display:grid; place-items:center; }
  .passwordToggle img { opacity:.55; }
  .passwordToggle[aria-pressed="true"] { background:#edf5ef; }
  .login .loginSubmit { display:flex; justify-content:center; align-items:center; gap:18px; width:100%; margin:26px 0 0; height:47px; border-radius:9px; background:#198369; color:white; font-size:14px; letter-spacing:1px; }
  .loginHelp { margin:19px 0 20px; font-size:11px; line-height:1.8; color:#5e7467; text-align:center; }
  .loginAccessNote { display:flex; align-items:center; justify-content:center; gap:6px; padding-top:24px; margin-top:auto; border-top:1px solid #eef2eb; font-size:10px; color:#5e7467; }
  .loginAccessNote img { opacity:.55; }
  body:not(.signed) #notice:not(:empty) { max-width:1120px; margin:0 auto 24px; }
}
@media screen and (min-width:1201px) { #billingPanel #editor { grid-template-columns:minmax(0,1fr) 310px; gap:20px; } }
@media screen and (max-width:1200px) {
  main { padding:20px; }
  #work { grid-template-columns:182px minmax(0,1fr); gap:20px; }
  .moduleNav { top:102px; padding:12px 8px; }
  .moduleNav button { gap:9px; padding:11px 10px; font-size:12px; }
  body.signed #notice:not(:empty) { margin-left:202px; }
  .entryAside { position:static; max-height:none; overflow:visible; }
  .login { margin:35px auto 25px; }
  .loginStory { padding:36px 32px 26px; }
  .loginFormPane { padding:36px 36px 28px; }
  .loginStory h1 { font-size:30px; }
}
@media screen and (max-width:900px) {
  .login { max-width:720px; grid-template-columns:.85fr 1fr; }
  .loginStory { padding:32px 24px 24px; }
  .loginStory h1 { font-size:25px; }
  .loginIntro { font-size:12px; }
  .loginFeatures { flex-direction:column; gap:12px; }
  .loginFormPane { padding:33px 28px 26px; }
  .appHeader { padding:0 20px; gap:18px; }
  .appHeader .headerContext { padding-left:20px; font-size:12px; }
}
@media screen and (max-width:760px) {
  .appHeader { height:70px; padding:0 16px; gap:14px; }
  .brandLogo { width:43px; height:43px; }
  .appHeader .brandIdentity { gap:8px; }
  .appHeader .brandWords strong { font-size:20px; }
  .appHeader .brandWords span { display:block; font-size:9px; letter-spacing:1px; }
  .appHeader .headerContext,.appHeader .headerCommunity { display:none; }
  .appHeader .headerActions { margin-left:auto; }
  .appHeader .headerLogout { font-size:11px; padding:7px 9px; }
  main { padding:14px; }
  #work { display:block; }
  .moduleNav { position:static; max-height:none; display:flex; flex-direction:row; flex-wrap:wrap; padding:9px; gap:5px; margin-bottom:18px; }
  .moduleNav button { padding:9px 10px; gap:7px; min-height:36px; font-size:11px; }
  .moduleNav img.navIcon,.moduleNav .staffNav img { width:17px; height:17px; }
  .navFoot,.navCaption { display:none; }
  .workspaceTopline { font-size:11px; margin:3px 1px 15px; }
  #workDate { display:none; }
  body.signed #notice:not(:empty) { margin-left:0; }
  .pageHeading h1 { font-size:22px; }
  .card { padding:17px; border-radius:12px; }
  .filterBar { gap:12px; padding:14px; border-radius:12px; }
  .balanceCard { padding:17px; }
  .balanceCard strong { font-size:27px; }
  .accountContext { padding:15px; }
  #billingPanel .billingSelectorCard { padding:17px; }
  .billingWelcome { min-height:280px; padding:30px 15px; }
  .entryGuide { gap:16px; }
  .entryGuide li { gap:5px; font-size:10px; }
  .entryAside { top:auto; }
  #servicePanel h1 { font-size:22px; }
  #servicePanel .serviceFilters { padding:14px; }
  .staffEditor { position:static; padding:17px; }
  .login { display:block; max-width:470px; margin:24px auto; border-radius:17px; }
  .loginStory { padding:24px 28px; }
  .loginEyebrow { margin-bottom:10px; font-size:10px; }
  .loginStory h1 { font-size:24px; line-height:1.6; margin-bottom:0; }
  .loginIntro,.gardenIllustration,.loginFeatures { display:none; }
  .loginFormPane { padding:27px 28px; }
  .loginBrand { display:none; }
  .loginFormPane h2 { font-size:24px; }
  .loginAccessNote { padding-top:18px; }
  .appFooter { font-size:9px; }
}
@media screen and (prefers-reduced-motion:reduce) { button { transition:none; } }
