/* Stockton Tree Service — Vibrant & balanced premium UI, test only.
   Presentation layer exclusively: data access, authorization, invoices and payments untouched.
   Bright accents are reserved for actions and statuses against charcoal/ivory surfaces. */
:root{--sts-pop-lime:#b5ee58;--sts-pop-yellow:#ffe79b;--sts-pop-forest:#164f30;--sts-pop-ink:#101b16;--sts-pop-paper:#fbfcf8}
#stockton-hub .sts-premium-home{gap:15px!important}
#stockton-hub .sts-premium-hero{border-color:#86b450!important;box-shadow:0 12px 28px #0005!important}
#stockton-hub .sts-premium-heading{background:linear-gradient(104deg,#143a29,#1b6540)!important;border:1px solid #5c8b50!important;box-shadow:inset 0 -3px #a5dc54,0 5px 16px #0002!important}
#stockton-hub .sts-premium-heading h2{color:#fff!important}
#stockton-hub .sts-premium-date{background:#e6f4d7!important;color:#173a22!important;border:1px solid #8dc766!important}
#stockton-hub .sts-away-alert{background:linear-gradient(120deg,#2c271e,#161e19)!important;border:1px solid #9b8150!important;box-shadow:0 7px 17px #0004!important}
#stockton-hub .sts-away-alert.has-messages{border:2px solid #ffd45d!important;box-shadow:0 0 0 4px #f9c94b29,0 10px 24px #0005!important}
#stockton-hub .sts-away-alert.has-messages .sts-away-arrow{color:#ffdc64!important}
#stockton-hub .sts-away-count,.sts-mobile-bell-count{background:#d72e31!important;color:white!important;box-shadow:0 2px 8px #3b030355}
#stockton-hub .sts-premium-schedule{background:#fffefa!important;border:1px solid #cedecc!important;box-shadow:0 9px 25px #0002!important}
#stockton-hub .sts-premium-schedule .sts-simple-heading{background:linear-gradient(95deg,#144c31,#1b683d)!important;border-bottom:3px solid #b5e963!important}
#stockton-hub .sts-premium-schedule-icon{background:#dcf3c7!important;border:1px solid #a7d57e!important}
#stockton-hub .sts-premium-actions{background:#17251f!important;border:1px solid #5d8955!important;box-shadow:0 7px 23px #0004!important}
#stockton-hub .sts-premium-actions h3{color:#f4f8ef!important}
#stockton-hub .sts-premium-action{background:linear-gradient(150deg,#254c34,#152f24)!important;border:1px solid #84b474!important;box-shadow:inset 0 1px #ffffff1c,0 4px 10px #0004!important}
#stockton-hub .sts-premium-action span{color:#c8ff74!important}
#stockton-hub .sts-premium-action:focus-visible{outline:3px solid #d2ff82!important}
#stockton-hub .sts-premium-action:nth-child(3){border-color:#eac354!important}
#stockton-hub .sts-premium-action:nth-child(3) span{color:#ffdf6f!important}
#stockton-hub .sts-premium-action:nth-child(4) span{color:#c9f29a!important}
/* White calendar with distinct appointment indicators and uncluttered headings. */
#stockton-hub .sts-premium-home .sts-simple-panel:not(.sts-premium-schedule){background:#fffefa!important;border:1px solid #d6e2d3!important;box-shadow:0 8px 24px #0002!important}
#stockton-hub .sts-premium-home .sts-simple-panel:not(.sts-premium-schedule) h3{color:#153e2c!important}
#stockton-hub .sts-simple-calbtn{background:#f1f6ee!important;border:1px solid #b8ccba!important;color:#183d2a!important}
#stockton-hub .sts-simple-calbtn:active{background:#d4f4b3!important}
/* Jobs & Messages: colored status treatment with readable surfaces. */
#stockton-hub .sts-dashboard-jobs .jm> .jm-row:first-child{background:linear-gradient(110deg,#103524,#164c32)!important;border-bottom:3px solid #b4e860!important}
#stockton-hub .sts-dashboard-jobs .jm-tabs .jm-btn.active{background:#1b5534!important;border:1px solid #9ed55b!important;box-shadow:inset 4px 0 #cbff73,0 5px 12px #0003!important;color:white!important}
#stockton-hub .sts-dashboard-jobs .jm-tabs .jm-btn.sts-unread-tab:not(.active){background:#fff2bd!important;color:#633b12!important;border:1px solid #e3b942!important;box-shadow:inset 5px 0 #ffc94b!important}
#stockton-hub .sts-dashboard-jobs .jm-tabs .jm-btn.sts-import-tab{background:transparent!important;color:#d7e4d7!important}
#stockton-hub .sts-dashboard-jobs .jm-controls{background:#edf3e9!important;border:1px solid #c5d7c1!important;box-shadow:0 4px 13px #0002!important}
#stockton-hub .sts-dashboard-jobs .jm-controls .jm-btn:not(.alt),#stockton-hub .sts-dashboard-jobs .jm-btn:not(.alt){background:linear-gradient(110deg,#1f7041,#0e542d)!important;color:#fff!important;border:1px solid #40894e!important}
#stockton-hub .sts-dashboard-jobs .jm-controls .jm-btn:not(.alt){background:linear-gradient(110deg,#1e7141,#115631)!important}
#stockton-hub .sts-dashboard-jobs .jm-town-header{background:linear-gradient(115deg,#343f49,#232c34)!important;border-bottom:2px solid #75828a!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job{border-radius:0!important;background:#fff!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job.jm-compact-scheduled{background:#eaf3ff!important;border-left:6px solid #327ed1!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job.jm-compact-ontrack{background:#edf9e9!important;border-left:6px solid #39a652!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job.jm-compact-upcoming{background:#fff9dc!important;border-left:6px solid #e9b124!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job.jm-compact-urgent{background:#fff0d7!important;border-left:6px solid #ed8a2e!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job.jm-compact-overdue{background:#fff0ee!important;border-left:6px solid #d73d37!important}
#stockton-hub .sts-dashboard-jobs .jm-compact-job .jm-btn.schedule-edit{background:#22352b!important;border-color:#22352b!important}
/* Real note cards, not another forest-colored form. */
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-note.sts-sticky-open{background:linear-gradient(155deg,#fff9c6,#ffe394)!important;border:1px solid #d3ac42!important;border-left:4px solid #f0bb32!important;box-shadow:3px 5px 0 #d4aa4847,0 10px 22px #0003!important}
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-note.sts-sticky-done{background:linear-gradient(155deg,#efffdc,#d3edb4)!important;border:1px solid #86b86e!important;border-left:4px solid #4a9a54!important;box-shadow:3px 5px 0 #8eae7247,0 10px 22px #0003!important}
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-note{padding:22px 17px 17px!important;isolation:isolate}
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-note p{color:#34382b!important;line-height:1.5!important}
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-note .jm-tag{background:#bd302a!important;color:#fff!important;font-size:11px!important;padding:5px 8px!important;border-radius:7px!important}
#stockton-hub .sts-dashboard-jobs .jm-card.sts-sticky-done .jm-tag{background:#2e833f!important}
#stockton-hub .sts-dashboard-jobs .sts-note-pin{color:#dc3530!important;text-shadow:1px 2px 2px #0005!important}
#stockton-hub .sts-dashboard-jobs .sts-sticky-done .sts-note-pin{color:#278a3d!important}
/* Estimates and invoice management: warm-paper cards and high-contrast progress states. */
.sts-estimates-layout .sts-estimates-content{background:#f3f5ef!important}
.sts-estimates-layout .sts-finance-heading{background:linear-gradient(120deg,#15211b,#24392c)!important;border-bottom:4px solid #a3dd53!important}
.sts-estimates-layout .sts-estimate-tabs{background:#e6ebe3!important;border:1px solid #d1dfce!important}
.sts-estimates-layout .sts-estimate-tabs button{background:#29332e!important;color:#fff!important;border-color:#34483b!important}
.sts-estimates-layout .sts-estimate-tabs button[aria-current=page]{background:linear-gradient(115deg,#2a7741,#13502f)!important;border-color:#99d65d!important;box-shadow:inset 0 -3px #b5ed6a!important}
.sts-estimates-layout .sts-estimate-filter.selected{background:#1c6637!important;color:white!important;border-color:#9bcf5e!important}
.sts-estimates-layout .sts-estimate-list-card{background:linear-gradient(145deg,#ffffff,#fbfdf7)!important;box-shadow:0 9px 23px #0002!important;border-left:4px solid #77b663!important}
.sts-estimates-layout .sts-estimate-pill.draft{background:#eceeed!important;color:#48564e!important}
.sts-estimates-layout .sts-estimate-pill.review{background:#fff1b5!important;color:#70460d!important}
.sts-estimates-layout .sts-estimate-pill.send{background:#dceaff!important;color:#205a9e!important}
.sts-estimates-layout .sts-estimate-pill.signed{background:#d4f5c8!important;color:#176332!important}
.sts-estimates-layout .sts-estimate-open{background:linear-gradient(110deg,#1f713e,#12542f)!important;border:1px solid #79b867!important;box-shadow:0 4px 9px #0002!important}
.sts-estimates-layout #toolbar{background:#fffefa!important;border:1px solid #d3dfcf!important}
.sts-estimates-layout #toolbar #new{background:linear-gradient(115deg,#317e42,#15562f)!important;border:1px solid #95c862!important}
@media(max-width:750px){
  #stockton-hub .main{background:linear-gradient(160deg,#101c17,#0b120f 65%)!important}
  #stockton-hub .sts-premium-heading{padding:12px 14px!important}
  #stockton-hub .sts-premium-date{font-size:10px!important}
  #stockton-hub .sts-premium-actions{padding:13px!important}
  #stockton-hub .sts-premium-action{min-height:70px!important}
  #stockton-hub .sts-dashboard-jobs .sts-note-grid{gap:20px!important}
  .sts-estimates-layout .sts-estimates-content{background:#121c16!important}
  .sts-mobile-bottom{border-top:2px solid #b0e55f!important;background:#171d1a!important}
  .sts-mobile-bottom .sts-mobile-tab.active,.sts-mobile-bottom .sts-mobile-tab[aria-current=page]{border-color:#b1ed5c!important}
}
@media(prefers-reduced-motion:reduce){#stockton-hub .sts-premium-action{transition:none!important}}
@media print{#stockton-hub .sts-premium-actions,#stockton-hub .sts-away-alert{display:none!important}}

/* Town group heading: refined charcoal with vivid Stockton lime accents.
   The town name is the only vivid type; quantities/totals stay soft white. */
#stockton-hub .sts-dashboard-jobs .jm-town-header{
  background:linear-gradient(115deg,#343f49,#232c34)!important;
  border-bottom:2px solid #a8e34d!important;
}
#stockton-hub .sts-dashboard-jobs .jm-town-header strong{
  color:#b8f45f!important;
  font-family:"Arial Narrow","Liberation Sans Narrow","Roboto Condensed","Arial",sans-serif!important;
  font-style:italic!important;
  font-weight:900!important;
  font-size:clamp(17px,4.1vw,20px)!important;
  text-transform:uppercase;
  letter-spacing:.045em;
  line-height:1.2;
  text-shadow:0 1px 0 rgba(0,0,0,.4);
}
#stockton-hub .sts-dashboard-jobs .jm-town-header span{color:#d9e2e7!important}
#stockton-hub .sts-dashboard-jobs .jm-town-header b{color:#f6f8fa!important}
