/* Approved coastal painting concept; intentionally scoped to the portal homepage. */
body.modern-home { background: #ecebdf; color: #143e31; }
body.modern-home::before, body.modern-home::after,
.coastal-home .portal-planbook-feature::after { display: none; content: none; }
.modern-home .phone-shell.portal-home-shell {
  width: 100% !important; max-width: 560px !important; min-height: 100dvh;
  margin: 0 auto !important; border: 0 !important; background: #faf6eb !important;
  box-shadow: 0 0 60px #254d3410 !important; overflow: hidden;
}
.coastal-home {
  --ink: #103f31; --paper: #fcf8ed; --muted: #71766c;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink); isolation: isolate;
}
.coastal-home, .coastal-home * { box-sizing: border-box; }
.coastal-home :is(h1,h2,h3,p) { margin: 0; font-family: inherit; }
.coastal-home a { color: inherit; text-decoration: none; }
.coastal-home button { cursor: pointer; font: inherit; color: inherit; }
.coastal-home :is(a,button) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.coastal-home :is(a,button):focus-visible { outline: 3px solid #b36537; outline-offset: 4px; }
.coastal-home svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.work-skip { position: absolute; left: 12px; top: -100px; padding: 12px; background: #fffdf5; z-index: 5; }
.work-skip:focus { top: 10px; }
.coastal-hero { position: relative; width: 100%; aspect-ratio: 1; background: #058fca; color: #fff9e9; }
.coastal-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.work-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; gap: 12px; }
.work-brand { display: flex; align-items: center; gap: 11px; }
.work-brand-icon { display: flex; flex: 0 0 25px; }
.work-brand-icon svg { width: 25px; height: 25px; fill: #fff9e9; stroke: none; }
.work-brand strong { font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .5px; }
.work-brand small { display: block; font-size: 11px; letter-spacing: 1px; color: #e9f3e7; line-height: 1.5; }
.work-manage { min-height: 44px; padding: 0 0 0 10px; border: 0; background: transparent; font-size: 13px !important; }
.work-manage svg { display: none; }
.work-intro { position: relative; margin: 19px 0 0 14.3%; }
.work-intro h1 { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: clamp(32px,8.6vw,48px); font-weight: 500; line-height: 1.25; letter-spacing: 2px; text-shadow: 0 1px 1px #0d6d8e18; }
.work-content { position: relative; padding: 0 14px; margin-top: -20px; }
.work-plan { display: block; position: relative; padding: 19px 17px 12px; border-radius: 16px; background: var(--paper); box-shadow: 0 4px 12px #64523b13; border: 1px solid #fffcf6; overflow: hidden; }
.work-plan-copy { position: relative; z-index: 1; }
.work-plan h2 { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: clamp(30px,8.5vw,45px); font-weight: 700; line-height: 1.3; letter-spacing: 1px; }
.work-capabilities { display: flex; gap: 11px; align-items: center; margin-top: 7px; font-size: 13px; font-weight: 500; }
.work-capabilities i { font-style: normal; }
.work-plan-copy>p { margin-top: 9px; font-size: 12px; line-height: 1.65; color: #59685f; }
.coastal-home .coastal-document { position: absolute; top: 13px; right: 8px; width: 116px; height: 107px; color: #718168; stroke-width: 1.25; }
.work-primary { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; margin-top: 15px; background: #204f37; color: #fffaf0; border-radius: 13px; font-size: 16px; font-weight: 500; transition: background .18s, transform .18s; }
.work-primary span { font-size: 23px; line-height: 1; }
.work-plan:hover .work-primary { background: #153f2b; }
.work-plan:active .work-primary { transform: translateY(1px); }
.work-access-note { display: block; margin-top: 8px; text-align: center; font-size: 11px; line-height: 1.8; color: #777b70; }
.work-tools { margin-top: 18px; scroll-margin-top: 16px; }
.work-section-title { margin: 0 7px 9px; }
.work-section-title h2 { font-size: 19px; line-height: 1.5; font-weight: 600; }
.work-tool-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7px; }
.work-tool { display: flex; align-items: center; gap: 9px; min-height: 70px; padding: 13px 11px; border-radius: 11px; background: #fdf9f0; border: 1px solid #ebe7da; box-shadow: 0 2px 5px #695a3010; transition: background .18s, border-color .18s; }
.work-tool:hover,.work-feedback:hover { background: #f4f2e4; border-color: #bfc9b2; }
.work-tool-icon { display: flex; flex: 0 0 25px; width: 25px; color: #4e7e80; }
.work-tool-icon svg { width: 25px; height: 33px; }
.work-tool:nth-child(2) .work-tool-icon { color: #b55732; }
.work-tool-copy { min-width: 0; }
.work-tool h3 { font-size: 13px; font-weight: 600; line-height: 1.6; white-space: nowrap; letter-spacing: -.3px; }
.work-tool p { font-size: 10px; line-height: 1.7; color: var(--muted); margin-top: 1px; white-space: nowrap; letter-spacing: -.2px; }
.work-feedback { display: flex; align-items: center; width: 100%; gap: 14px; text-align: left; margin-top: 8px; padding: 13px 17px; min-height: 61px; border-radius: 11px; background: #fdf9f0; border: 1px solid #ebe7da; box-shadow: 0 2px 5px #695a3010; transition: background .18s; }
.work-feedback-icon { flex: 0 0 28px; display: flex; color: #38644e; }
.work-feedback-icon svg { width: 28px; height: 28px; }
.work-feedback>span:nth-child(2) { flex: 1; }
.work-feedback strong { display: block; font-size: 14px; line-height: 1.6; font-weight: 500; }
.work-feedback small { display: block; font-size: 11px; line-height: 1.6; color: var(--muted); }
.work-arrow { color: #8f958b; font-size: 22px; }
.work-note { font-size: 10px; color: #818579; line-height: 1.8; text-align: center; padding: 13px 0 0; }
.modern-home .portal-home-shell>.site-compliance-footer { margin: 0; padding: 2px 12px max(10px,env(safe-area-inset-bottom)); background: #faf6eb; font: 10px/1.8 "Microsoft YaHei",sans-serif; color: #818579; }
.modern-home .site-compliance-footer a { color: inherit; }
@media(min-width:450px) {
  .work-header { padding: 28px 30px 0; }.work-brand strong { font-size: 20px; }.work-brand small { font-size: 13px; }
  .work-brand-icon,.work-brand-icon svg { width: 31px; height: 31px; }.work-manage { font-size: 15px !important; }
  .work-intro { margin-top: 30px; }.work-content { padding-inline: 18px; margin-top: -26px; }
  .work-plan { padding: 24px 24px 17px; border-radius: 20px; }.work-capabilities { font-size: 16px; margin-top: 10px; }
  .work-plan-copy>p { font-size: 14px; margin-top: 14px; }.coastal-home .coastal-document { width: 146px; height: 132px; top: 21px; right: 15px; }
  .work-primary { min-height: 53px; margin-top: 20px; font-size: 18px; }.work-access-note { font-size: 13px; }
  .work-tools { margin-top: 22px; }.work-section-title h2 { font-size: 23px; }.work-tool-grid { gap: 10px; }
  .work-tool { padding: 18px 15px; min-height: 86px; gap: 12px; }.work-tool h3 { font-size: 16px; }.work-tool p { font-size: 12px; }
  .work-tool-icon,.work-tool-icon svg { width: 31px; flex-basis: 31px; height: 39px; }
  .work-feedback { padding: 17px 23px; margin-top: 10px; }.work-feedback strong { font-size: 17px; }.work-feedback small { font-size: 13px; }
  .work-note { font-size: 12px; padding-top: 19px; }.modern-home .portal-home-shell>.site-compliance-footer { font-size: 11px; }
}
@media(max-width:359px) {
  .work-header { padding: 16px 17px 0; }.work-brand strong { font-size: 14px; }.work-intro { margin-top: 13px; }
  .work-content { padding-inline: 10px; }.work-plan { padding-inline: 14px; }.coastal-home .coastal-document { width: 90px; right: 2px; opacity: .6; }
  .work-plan-copy>p { font-size: 11px; }.work-tool { gap: 5px; padding-inline: 8px; }.work-tool h3 { font-size: 11px; }.work-tool p { font-size: 9px; }
  .work-tool-icon,.work-tool-icon svg { width: 22px; flex-basis: 22px; }.work-feedback small { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { .coastal-home * { transition: none !important; scroll-behavior: auto !important; } }
