/* Additive Hub tools. Kept separate from original service templates. */
:root{--hub-accent:#ffb14a;--hub-accent2:#ff7838;--hub-panel:#10141d;--hub-border:rgba(255,177,74,.22);--hub-font:Inter,sans-serif}
body[data-hub-font] #app{font-family:var(--hub-font)}
body[data-hub-theme="royal-gold"]{--a:#f4c96b;--g:linear-gradient(135deg,#f4c96b,#a76a25);--hub-accent:#f4c96b;--hub-accent2:#a76a25}
body[data-hub-theme="midnight-executive"]{--bg:#080e1d;--card:#121d30;--ink:#edf3ff;--mut:#9aabc7;--line:#293953;--a:#8eb8ff;--g:linear-gradient(135deg,#8eb8ff,#3b65a6);--hub-accent:#8eb8ff;--hub-accent2:#3b65a6}
body[data-hub-theme="obsidian"]{--bg:#0d0d10;--card:#191719;--ink:#f3eeee;--mut:#b3a9aa;--line:#30292a;--a:#ef9865;--g:linear-gradient(135deg,#ef9865,#a64c32);--hub-accent:#ef9865;--hub-accent2:#a64c32}
body[data-hub-theme="emerald-elite"]{--bg:#061a16;--card:#103027;--ink:#e8fff5;--mut:#9ac8b8;--line:#245244;--a:#63e0b0;--g:linear-gradient(135deg,#63e0b0,#198b68);--hub-accent:#63e0b0;--hub-accent2:#198b68}
body[data-hub-theme="ivory-signature"]{--bg:#f7f2e8;--card:#fffdf8;--ink:#2b261e;--mut:#7b7161;--line:#e4d9c4;--a:#c49a45;--g:linear-gradient(135deg,#e0c27e,#a57b32);--hub-accent:#c49a45;--hub-accent2:#a57b32}
body[data-hub-theme="cosmic-orbit"]{--bg:#09091e;--card:#171532;--ink:#f1edff;--mut:#aaa4d0;--line:#332a5a;--a:#b69aff;--g:linear-gradient(135deg,#b69aff,#4f7cff);--hub-accent:#b69aff;--hub-accent2:#4f7cff}
body[data-hub-theme="neon-pulse"]{--bg:#04171b;--card:#0d252e;--ink:#e8ffff;--mut:#92c8ce;--line:#214651;--a:#53f4e2;--g:linear-gradient(135deg,#53f4e2,#8066ff);--hub-accent:#53f4e2;--hub-accent2:#8066ff}
body[data-hub-theme="holographic-glass"]{--bg:#10172b;--card:#18243a;--ink:#f1f5ff;--mut:#a8b6d3;--line:#34415e;--a:#9ee8ff;--g:linear-gradient(125deg,#9ee8ff,#c29bff,#5ce1c4);--hub-accent:#9ee8ff;--hub-accent2:#c29bff}
body[data-hub-theme="ai-command"]{--bg:#071610;--card:#10251f;--ink:#eafff2;--mut:#9dc9b0;--line:#23483b;--a:#80f3b0;--g:linear-gradient(135deg,#80f3b0,#269d78);--hub-accent:#80f3b0;--hub-accent2:#269d78}
body[data-hub-theme="aurora-flow"]{--bg:#061a25;--card:#112b38;--ink:#edfbff;--mut:#9ebdc9;--line:#294a59;--a:#76f0dc;--g:linear-gradient(125deg,#76f0dc,#6a76ff,#b69aff);--hub-accent:#76f0dc;--hub-accent2:#6a76ff}
body[data-hub-theme="clarity"]{--bg:#101c2a;--card:#192b3d;--ink:#f1f7ff;--mut:#a7bed5;--line:#2c455c;--a:#71b7ff;--g:linear-gradient(135deg,#71b7ff,#3776c7);--hub-accent:#71b7ff;--hub-accent2:#3776c7}
body[data-hub-theme="editorial"]{--bg:#201b19;--card:#2c2522;--ink:#f6eee3;--mut:#c1b2a2;--line:#4a3c34;--a:#e4bd83;--g:linear-gradient(135deg,#e4bd83,#a66b43);--hub-accent:#e4bd83;--hub-accent2:#a66b43}
body[data-hub-theme="creative-spark"]{--bg:#241321;--card:#351d31;--ink:#fff0fa;--mut:#c9a4c1;--line:#56354f;--a:#ff8cae;--g:linear-gradient(135deg,#ff8cae,#a86cff);--hub-accent:#ff8cae;--hub-accent2:#a86cff}
body[data-hub-theme="soft-studio"]{--bg:#171729;--card:#252741;--ink:#f4f1ff;--mut:#b4b2d0;--line:#3c3e60;--a:#c2b3ff;--g:linear-gradient(135deg,#c2b3ff,#6cbed0);--hub-accent:#c2b3ff;--hub-accent2:#6cbed0}
body[data-hub-theme="impact"]{--bg:#1c1015;--card:#2d1921;--ink:#fff0f2;--mut:#c6a5ae;--line:#512936;--a:#ff6b72;--g:linear-gradient(135deg,#ff6b72,#bd244e);--hub-accent:#ff6b72;--hub-accent2:#bd244e}
.hub-tool-strip{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 16px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
.hub-tool-strip button,.hf-btn{border:1px solid var(--hub-border);background:color-mix(in srgb,var(--hub-accent) 10%,var(--card));color:var(--ink);border-radius:12px;padding:10px 13px;font-weight:700;font-size:13px}
.hub-tool-strip button:first-child,.hf-btn.primary{background:var(--g);color:#fff;border:0}
.hf-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}.hf-head h1{font-size:28px;flex:1}.hf-head p{margin:4px 0 0;color:var(--mut);font-size:13px}
.hf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hf-field{display:flex;flex-direction:column;gap:6px;min-width:0}.hf-field.full{grid-column:1/-1}.hf-field label{margin:0;color:var(--mut);font-size:12px}.hf-field input,.hf-field select,.hf-field textarea{width:100%;min-width:0;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:11px;font:inherit}
.hf-section{margin:18px 0 10px;font-weight:800;font-size:15px}.hf-note{color:var(--mut);font-size:12px;line-height:1.5}.hf-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hf-theme{border:1px solid var(--line);border-radius:14px;min-height:100px;padding:12px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:8px;color:#fff;overflow:hidden}.hf-theme[aria-pressed="true"]{outline:2px solid var(--hub-accent);outline-offset:2px}.hf-theme strong{font-size:13px}.hf-theme small{font-size:10px;opacity:.8}.hf-swatches{display:flex;gap:5px}.hf-swatches i{height:5px;border-radius:9px;display:block;width:25px}
.hf-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:12px;min-width:0}.hf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.hf-stat{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px}.hf-stat b{font-size:22px;display:block}.hf-stat span{font-size:11px;color:var(--mut)}
.hf-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.hf-business{border:1px solid var(--line);border-radius:16px;background:var(--card);padding:13px;min-width:0;display:flex;flex-direction:column;gap:8px}.hf-business h3{font-size:15px;overflow-wrap:anywhere}.hf-business p{margin:0;font-size:12px;color:var(--mut);overflow-wrap:anywhere}.hf-business .hf-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.hf-business .hf-actions a,.hf-business .hf-actions button{font-size:11px;padding:7px 9px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);text-decoration:none}.hf-status{font-size:10px;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--hub-accent) 12%,var(--card));border:1px solid var(--hub-border);width:max-content;color:var(--ink)}
.hf-error{color:#ff8787;font-size:12px;white-space:pre-wrap}.hf-loading{padding:22px;text-align:center;color:var(--mut)}.hf-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hf-row>*{flex:1}.hf-row .hf-btn{flex:0 0 auto}
.hf-empty{border:1px dashed var(--line);border-radius:16px;padding:24px 14px;text-align:center;color:var(--mut);font-size:13px}
@media(max-width:560px){.hf-grid,.hf-theme-grid,.hf-results{grid-template-columns:1fr}.hf-head h1{font-size:24px}.hf-business .hf-actions a,.hf-business .hf-actions button{font-size:12px}.hf-stat b{font-size:19px}.hf-card{padding:12px}}
