/* Pulse Scale Systems. Base colors sampled from the supplied original logo.
   Readable tints and darker CTA shades support both themes. */
:root {
  --brand-navy:#002957;
  --brand-teal:#019d8f;
  --brand-red:#e90006;
  --bg:#071420;
  --surface:#0d2031;
  --surface-raised:#122b3d;
  --input:#091b29;
  --text:#eef6fc;
  --muted:#a4b9c9;
  --subtle:#8ea7bb;
  --line:#aecde51a;
  --accent:#76dacc;
  --purple:#019d8f; /* Compatibility with the base layout. */
  --mint:#76dacc;
  --dot:#93b8d51a;
  --shadow:0 16px 48px #0002;
}
[data-theme=light] {
  --bg:#f5f9fb;
  --surface:#fff;
  --surface-raised:#eef6f7;
  --input:#f6fafc;
  --text:#002957;
  --muted:#4e657b;
  --subtle:#5b7186;
  --line:#0029571c;
  --accent:#006f65;
  --purple:#019d8f;
  --mint:#007c6f;
  --dot:rgba(0,41,87,.075);
  --shadow:0 12px 36px #00295708,0 2px 5px #00295704;
}
.ambient {background:radial-gradient(ellipse 45% 50% at 50% 22%,#019d8f16,transparent),radial-gradient(ellipse 70% 70% at 25% 10%,#00295720,transparent)}
.header {padding-top:19px;padding-bottom:19px}
.header::after {content:"";position:absolute;bottom:-1px;left:40px;right:40px;height:2px;background:linear-gradient(90deg,var(--brand-navy) 0 61%,var(--brand-teal) 61% 96%,var(--brand-red) 96% 100%);opacity:.85}
.brand {gap:13px;letter-spacing:0;flex-shrink:0}
.brand-mark {width:64px;height:64px;border-radius:11px;overflow:hidden;background:#fff;box-shadow:none;border:1px solid #b9c8d838;flex-shrink:0}
.brand-logo {width:60px;height:60px;display:block;object-fit:contain}
.brand-name {font-size:17px;font-weight:800;letter-spacing:-.4px;line-height:1.05}
.brand-system {display:block;font-size:13px;letter-spacing:5.1px;margin-top:5px;font-weight:650}
.brand .brand-name small {font-size:8px;letter-spacing:2.2px;color:var(--accent);font-weight:600;margin-top:9px}
.hero-badge {background:#019d8f0c;border-color:#019d8f35;color:var(--accent)}
.hero-badge .icon {color:var(--brand-red);width:17px}
h1>span {background-image:linear-gradient(100deg,#e6faf7,#87ded3 50%,#4abfb2)}
[data-theme=light] h1>span {background-image:linear-gradient(100deg,#002957,#007c72 55%,#019d8f)}
.hero::after {content:"";display:block;width:78px;height:16px;margin:20px auto 0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 16'%3E%3Cpath d='M1 8h24l5-6 8 12 7-10 5 4h27' fill='none' stroke='%23e90006' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");opacity:.85}
.workflow .complete .step-bubble {background:#019d8f12;border-color:#019d8f40}
.workflow .current .step-bubble {background:#019d8f22;border-color:#019d8f80;box-shadow:0 0 0 4px #019d8f0b}
.tool-tab:hover {border-color:#019d8f70}
.tool-tab.active {border-color:#019d8fa0;background:linear-gradient(145deg,#019d8f16,#019d8f04),var(--surface);box-shadow:inset 0 1px #ffffff12,0 0 0 3px #019d8f0b}
.tool-icon,.tool-icon.purple {background:#019d8f16;border-color:#019d8f32;color:#79ddcf}
.tool-icon.mint {background:#019d8f12;border-color:#019d8f30;color:#86d9c7}
.tool-icon.peach {background:#5d95d31a;border-color:#5d95d338;color:#9ac8f0}
[data-theme=light] .tool-icon,[data-theme=light] .tool-icon.purple,[data-theme=light] .tool-icon.mint {color:#00766b}
[data-theme=light] .tool-icon.peach {color:#002957;background:#0029570a;border-color:#00295726}
.active .selection-mark {background:#007e71;border-color:#42beae}
.task-banner {background:#019d8f08;border-color:#019d8f25}
.banner-icon {background:#019d8f14}
.dropzone::before {border-color:#81adbf35}
.dropzone.dragging {box-shadow:0 0 0 4px #019d8f22}
.spotlight {background:radial-gradient(350px circle at var(--x,50%) var(--y,50%),rgba(1,157,143,.14),transparent 80%)}
.upload-icon {border-color:#019d8f48;background:linear-gradient(155deg,#019d8f25,#019d8f05);color:var(--accent)}
.primary-button {background:linear-gradient(175deg,#007d72,#00665d);border-color:#79e5d438;box-shadow:inset 0 1px #ffffff40,0 4px 16px #019d8f22}
.primary-button:hover:not(:disabled) {box-shadow:inset 0 1px #ffffff40,0 5px 25px #019d8f40}
.notice {border-color:#019d8f45;background:#019d8f0b}
.notice.error {border-color:#e900064d;background:#e900060b;color:#ffb0b3}
[data-theme=light] .notice.error {color:#b10005}
.file-icon {background:#019d8f12;border-color:#019d8f30}
.preset-buttons button:hover,.preset-buttons button[aria-pressed=true] {border-color:#019d8f80;background:#019d8f12}
input[type=checkbox],input[type=range] {accent-color:#008578}
.instruction-card {border-color:#019d8f32;background:#019d8f0b}
.mini-step {background:#019d8f22}
.preview-label {background:#071a2be6;border-color:#aecde51a;color:#bdd3e3}
.footer-brand {display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:0}
.footer-brand img {display:block;object-fit:contain;background:#fff;border-radius:7px;flex-shrink:0}
.footer-brand>span {color:var(--text);font-weight:650}
.footer-brand small {display:block;color:var(--accent);font-size:7px;letter-spacing:1.7px;margin-top:4px;font-weight:500}
@media(max-width:900px) {.header::after{left:25px;right:25px}.brand-mark{width:59px;height:59px}.brand-logo{width:55px;height:55px}.brand-name{font-size:15px}.brand-system{font-size:12px;letter-spacing:4.1px}.header-actions{gap:15px}}
@media(max-width:650px) {
  .header{padding:15px 18px}.header::after{left:18px;right:18px}.brand{gap:9px}.brand-mark{width:51px;height:51px;border-radius:9px}.brand-logo{width:47px;height:47px}
  .brand-name{font-size:13px}.brand-system{font-size:10px;letter-spacing:3.8px;margin-top:4px}.brand .brand-name small{font-size:6px;letter-spacing:1.7px;margin-top:7px}
  .header-actions{gap:10px}.hero-badge{font-size:6.5px;letter-spacing:.8px}.hero::after{margin-top:17px;width:63px}
  .footer-brand{font-size:10px;gap:7px}.footer-brand img{width:31px;height:31px}.footer-brand small{font-size:6px}
}
