/* Pulse Hatch approved integration, 2026-10-10.
   Scope: Studio entry/dashboard branding only. Preserve editor, icons, templates,
   pastel workspace, gradients and functional scripts. No global palette replacements. */
body[data-view="choose"] .header,
body[data-view="details"] .header{
  background:linear-gradient(180deg,#041911,#071f17)!important;
  border-bottom:1px solid #285d43!important;
  box-shadow:0 5px 20px #04150f22;
  color:#f6fff9!important;
}
body[data-view="choose"] .header .brand,
body[data-view="details"] .header .brand{color:#f6fff9!important;}
body[data-view="choose"] .header .brand small,
body[data-view="details"] .header .brand small{color:#9ce6bf!important;}
body[data-view="choose"] .header .studio-nav a,
body[data-view="details"] .header .studio-nav a{color:#ecf8f0!important;}
body[data-view="choose"] .header .studio-nav a:hover,
body[data-view="details"] .header .studio-nav a:hover{color:#4ff2ad!important;}
body[data-view="choose"] .header #studio-help-open,
body[data-view="details"] .header #studio-help-open{
  background:#153c2b!important;color:#b8ffdb!important;border:1px solid #337654!important;
}
body[data-view="choose"] .header .studio-account-links a,
body[data-view="details"] .header .studio-account-links a{color:#f4fff8!important;}
body[data-view="choose"] .header .studio-account-links a:last-child,
body[data-view="details"] .header .studio-account-links a:last-child{
  background:#10d994!important;color:#052719!important;
}
/* Change only purple navigation/action accents; keep category icon colors intact. */
body[data-view="choose"] .studio-home-nav [data-home-destination="Create"],
body[data-view="choose"] .studio-home-nav [aria-current="page"]{
  background:#10d994!important;color:#053121!important;
}
body[data-view="choose"] .studio-home-nav [aria-current="page"] .visual-icon,
body[data-view="choose"] .studio-home-nav [data-home-destination="Create"] .visual-icon{
  color:#053121!important;
}
body[data-view="choose"] button.primary,
body[data-view="choose"] .primary,
body[data-view="choose"] .studio-entry-actions #direct-edit{
  background:#10d994!important;border-color:#6bf0b6!important;color:#05291c!important;
}
/* Site-family footer on dashboard only; editor remains undisturbed. */
body[data-view="choose"] .studio-footer,
body[data-view="details"] .studio-footer{
  display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:16px;padding:26px max(22px,calc((100vw - 1260px)/2));
  color:#e5ffef;background:#041911;border-top:1px solid #2b6546;
}
body[data-view="choose"] .studio-footer a,
body[data-view="details"] .studio-footer a{color:#e5ffef;text-decoration:none;}
body[data-view="choose"] .studio-footer a:hover,
body[data-view="details"] .studio-footer a:hover{color:#44e9a3;}
body[data-view="choose"] .studio-footer .footer-brand,
body[data-view="details"] .studio-footer .footer-brand{display:flex;align-items:center;gap:10px;font-weight:750;}
body[data-view="choose"] .studio-footer .footer-brand small,
body[data-view="details"] .studio-footer .footer-brand small{display:block;font-weight:400;color:#a8d5bb;}
body[data-view="choose"] .studio-footer nav,
body[data-view="details"] .studio-footer nav{display:flex;gap:16px;flex-wrap:wrap;}
body[data-view="choose"] .studio-footer>small,
body[data-view="details"] .studio-footer>small{color:#a8d5bb;}
@media(max-width:760px){
  body[data-view="choose"] .header,body[data-view="details"] .header{padding:9px 12px;gap:8px;}
  body[data-view="choose"] .header .brand,body[data-view="details"] .header .brand{font-size:11px;}
  body[data-view="choose"] .studio-footer{padding:24px 18px 96px;}
  body[data-view="details"] .studio-footer{padding:24px 18px;}
  body[data-view="choose"] .studio-footer,body[data-view="details"] .studio-footer{flex-direction:column;align-items:flex-start;}
}

/* Approved hero-only palette adjustment, 2026-10-10.
   Existing hero dimensions, icons, navigation, projects, templates and editor unchanged. */
body[data-view="choose"] .visual-welcome{
  background:radial-gradient(circle at 9% 5%,rgba(226,255,241,.65),transparent 40%),linear-gradient(112deg,#daf8e9 0%,#c4f3df 38%,#a4edcd 73%,#79ddb7 100%)!important;
  border:1px solid #b1e8ce;
  box-shadow:0 12px 32px rgba(8,76,47,.09);
}
body[data-view="choose"] .visual-welcome>p{color:#366a50!important;}
body[data-view="choose"] .visual-welcome h1{color:#124431!important;}
body[data-view="choose"] .visual-welcome .welcome-switch button{
  background:#ffffffd9!important;border-color:#baddc9!important;color:#24523b!important;
}
body[data-view="choose"] .visual-welcome .workspace-search{
  background:#fff!important;border-color:#c7e8d7!important;
  box-shadow:0 6px 18px rgba(6,76,45,.07)!important;
}

/* Approved dashboard-only refinement: softer mint hero, no lavender UI remnants.
   Preserve category colors other than neutral Website/Blank; editor never targeted. */
body[data-view="choose"] .studio-home-nav{background:#f5fbf7!important;border-right-color:#d8eadf!important}
body[data-view="choose"] .studio-home-nav button{color:#566e60!important}
body[data-view="choose"] .studio-home-nav [aria-current="page"]{background:#dcf7e9!important;color:#103a2b!important}
body[data-view="choose"] .studio-home-nav [data-home-destination="Create"]{background:#10d994!important;color:#073524!important}
body[data-view="choose"] .visual-welcome{
 background:radial-gradient(circle at 12% 10%,rgba(255,255,255,.5),transparent 33%),linear-gradient(112deg,#eafaf1 0%,#def7e9 38%,#cef2df 72%,#bbead4 100%)!important;
 border:1px solid #cfe8d9!important;box-shadow:0 10px 28px rgba(10,84,50,.06)!important
}
body[data-view="choose"] .visual-welcome>p{color:#587865!important}
body[data-view="choose"] .visual-welcome h1{color:#173c2d!important}
body[data-view="choose"] .visual-welcome .welcome-switch button{background:#ffffffe0!important;border-color:#d6e9dd!important;color:#355847!important}
body[data-view="choose"] .visual-welcome .workspace-search{border-color:#dbe9e0!important;box-shadow:0 6px 18px rgba(9,72,44,.05)!important}
body[data-view="choose"] .visual-categories button:not([data-color]) .visual-icon{background:#ecf7f0!important;color:#5b7f6b!important}
body[data-view="choose"] .visual-categories [data-color="gray"] .visual-icon{background:#edf6f0!important;color:#6d8a77!important}
body[data-view="choose"] .library-filters button,
body[data-view="choose"] .library-toolbar select,
body[data-view="choose"] .library-toolbar input{border-color:#dde9e1!important}
body[data-view="choose"] .library-filters [aria-pressed="true"]{background:#dff7eb!important;color:#204634!important;border-color:#cfe7d7!important}
body[data-view="choose"] .library-filters button:hover{background:#f1faf4!important;border-color:#d7e9de!important}
body[data-view="choose"] .visual-thumbnail{border-color:#f1f5f2!important}

/* Studio-only social footer, matching Pulse Hatch dark-card visual language. */
body[data-view="choose"] .ph-studio-social-footer,body[data-view="details"] .ph-studio-social-footer{
 display:block!important;background:#04150f!important;color:#f5fff8!important;padding:28px clamp(18px,4vw,54px) 20px!important
}
.ph-studio-social-footer .ph-footer-title{display:flex;gap:20px;align-items:baseline;flex-wrap:wrap;padding:0 0 20px;border-bottom:1px solid #244638}
.ph-studio-social-footer .ph-footer-title strong{font-size:25px}
.ph-studio-social-footer .ph-footer-title span{color:#a8c7b5}
.ph-studio-social-footer .ph-footer-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0 30px}
.ph-studio-social-footer .ph-footer-group{min-width:0}
.ph-studio-social-footer .ph-footer-group h2{font:700 19px/1.4 Arial,sans-serif;margin:0 0 14px;color:#f4fff8}
.ph-studio-social-footer .ph-social-link{display:flex;align-items:center;gap:14px;padding:12px 15px;margin:0 0 10px;border:1px solid #35634f;border-radius:17px;background:linear-gradient(110deg,#123d2d,#092a1e);color:#f4fff8!important;min-height:78px;text-decoration:none}
.ph-studio-social-footer .ph-social-link:hover{background:#164835;border-color:#67b58b;color:#fff!important}
.ph-studio-social-footer .ph-social-symbol{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;background:#1b503a;color:#e4d280;font-size:26px;font-weight:800;border-radius:14px}
.ph-studio-social-footer .ph-social-link>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.ph-studio-social-footer .ph-social-link strong{display:block;font-size:16px;line-height:1.3}
.ph-studio-social-footer .ph-social-link small{display:block;color:#a9c4b4;font-size:12px;margin-top:3px}
.ph-studio-social-footer .ph-social-arrow{margin-left:auto;color:#e4d280;font-size:19px}
.ph-studio-social-footer .ph-footer-help{color:#abc9b5;font-size:13px;line-height:1.6}
.ph-studio-social-footer .ph-footer-bottom{border-top:1px solid #25483a;padding-top:17px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:#a1bba9}
.ph-studio-social-footer .ph-footer-bottom nav{display:flex;flex-wrap:wrap;gap:17px}
.ph-studio-social-footer .ph-footer-bottom a{color:#d0decf!important}
body[data-view="edit"] .ph-studio-social-footer{display:none!important}
@media(max-width:760px){
 body[data-view="choose"] .ph-studio-social-footer,body[data-view="details"] .ph-studio-social-footer{padding:25px 17px 95px!important}
 .ph-studio-social-footer .ph-footer-social-grid{grid-template-columns:1fr;gap:14px}
 .ph-studio-social-footer .ph-footer-title strong{font-size:22px}
 .ph-studio-social-footer .ph-social-link{padding:11px 12px;min-height:71px}
}
