/* Shared embedded tools: the original main site's dark glass, cyan and violet system. */
.hi-module,#hi-dialog{--hi-text:#e9f1ff;--hi-muted:#96abc0;--hi-line:rgba(255,255,255,.09);--hi-panel:#0c1420;--hi-field:rgba(255,255,255,.035);--hi-cyan:#83dbff;--hi-purple:#9b7cff;--hi-green:#7be5b1;--hi-shadow:0 20px 60px rgba(0,0,0,.22);font:inherit;color:var(--hi-text);color-scheme:dark;min-width:0;font-synthesis:none}
.hi-module{margin:24px 0;background:transparent}.hi-module-page{margin:0}.hi-module *,#hi-dialog *{box-sizing:border-box}
:is(.hi-module,#hi-dialog) :is(button,input,select,textarea){font:inherit;-webkit-tap-highlight-color:transparent}
:is(.hi-module,#hi-dialog) button{cursor:pointer}:is(.hi-module,#hi-dialog) button:disabled{opacity:.5;cursor:wait}
:is(.hi-module,#hi-dialog) a{color:inherit;text-decoration:none}:is(.hi-module,#hi-dialog) p{line-height:1.78;margin:0 0 16px}
:is(.hi-module,#hi-dialog) :is(h1,h2,h3,h4){color:var(--hi-text);margin:0 0 14px;letter-spacing:-.02em;line-height:1.28}
:is(.hi-module,#hi-dialog) h1{font-size:clamp(28px,3.1vw,42px);font-weight:800}:is(.hi-module,#hi-dialog) h2{font-size:24px;font-weight:750}:is(.hi-module,#hi-dialog) h3{font-size:18px;font-weight:750}
:is(.hi-module,#hi-dialog) small{font-size:12px;line-height:1.55}:is(.hi-module,#hi-dialog) :focus-visible{outline:2px solid var(--hi-cyan);outline-offset:4px}
.hi-module .wrap{width:100%;max-width:none;margin:0}.hi-module .page-intro{position:relative;padding:26px 28px;border:1px solid var(--hi-line);border-radius:24px;background:radial-gradient(circle at 92% 12%,rgba(126,109,255,.10),transparent 28%),radial-gradient(circle at 10% 0%,rgba(92,226,255,.10),transparent 28%),linear-gradient(145deg,rgba(13,20,30,.96),rgba(8,12,19,.98));box-shadow:var(--hi-shadow);margin-bottom:20px}
.hi-module-page .page-intro{padding:32px 34px;border-radius:28px;margin-bottom:22px}.hi-module-page .page-intro h1{font-size:clamp(34px,3.6vw,58px)}
.hi-module .page-intro p{max-width:800px;color:var(--hi-muted);font-size:15px;margin:0}.hi-module .breadcrumb{font-size:11px;color:var(--hi-muted);margin-bottom:16px}.hi-module .page-content{padding:6px 0 24px;min-height:0}.hi-module .section{padding:24px 0}.hi-module .soft{background:transparent}
:is(.hi-module,#hi-dialog) .eyebrow{font-size:10.5px;letter-spacing:.16em;line-height:1.6;font-weight:800;text-transform:uppercase;color:var(--hi-cyan);margin-bottom:12px}
:is(.hi-module,#hi-dialog) :is(.muted,.lead,.stat-note,.inline-status,.results-count,.figure-note){color:var(--hi-muted)}:is(.hi-module,#hi-dialog) .lead{font-size:15.5px;max-width:760px}
:is(.hi-module,#hi-dialog) :is(.stat-note,.inline-status,.results-count,.figure-note){font-size:12px;line-height:1.7}
:is(.hi-module,#hi-dialog) .text-link{color:var(--hi-cyan);font-size:13px;font-weight:700}:is(.hi-module,#hi-dialog) .text-link:hover{text-decoration:underline}
:is(.hi-module,#hi-dialog) .button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;max-width:100%;border:1px solid transparent;border-radius:13px;padding:11px 16px;background:linear-gradient(135deg,#1ba7c3,#7058df);color:#fff;font-size:13px;font-weight:750;line-height:1.45;text-align:center;box-shadow:0 10px 28px rgba(54,139,220,.18);transition:transform .2s,box-shadow .2s,filter .2s;white-space:normal}
:is(.hi-module,#hi-dialog) .button:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 15px 34px rgba(54,139,220,.25)}
:is(.hi-module,#hi-dialog) :is(.button.secondary,.button.light){background:rgba(255,255,255,.035);border-color:var(--hi-line);color:#d3deea;box-shadow:none}
:is(.hi-module,#hi-dialog) .button.small{min-height:38px;font-size:12px;padding:8px 12px}.hi-module .button.danger,#hi-dialog .button.danger{background:linear-gradient(135deg,#a64963,#703849);box-shadow:none}
:is(.hi-module,#hi-dialog) .actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
:is(.hi-module,#hi-dialog) :is(.card,.form-card,.auth-card,.metric){border:1px solid var(--hi-line);border-radius:20px;background:linear-gradient(155deg,rgba(16,23,34,.92),rgba(8,12,19,.97));color:var(--hi-text);padding:22px;box-shadow:var(--hi-shadow);min-width:0;transform:none!important}
:is(.hi-module,#hi-dialog) .card p:last-child{margin-bottom:0}.hi-module .form-card,.hi-module .auth-card{padding:26px}
.hi-module .form-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.85fr);gap:20px;align-items:start}
:is(.hi-module,#hi-dialog) .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}:is(.hi-module,#hi-dialog) .full{grid-column:1/-1}
:is(.hi-module,#hi-dialog) label.field{display:grid;gap:8px;align-content:start;font-size:13px;font-weight:650;color:#cbdbea;min-width:0}:is(.hi-module,#hi-dialog) label.field>span{font-size:11px;font-weight:400;color:var(--hi-muted)}
:is(.hi-module,#hi-dialog) :is(input,select,textarea){width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid var(--hi-line);border-radius:13px;padding:12px 14px;background:var(--hi-field);color:var(--hi-text);line-height:1.5;box-shadow:inset 0 1px rgba(255,255,255,.015)}
:is(.hi-module,#hi-dialog) textarea{min-height:140px;resize:vertical;line-height:1.7}:is(.hi-module,#hi-dialog) :is(input,textarea)::placeholder{color:#7289a1;opacity:1}
:is(.hi-module,#hi-dialog) :is(input,select,textarea):focus{border-color:rgba(131,219,255,.55);outline:2px solid rgba(131,219,255,.12);outline-offset:2px}
:is(.hi-module,#hi-dialog) select option{background:#0c1420;color:var(--hi-text)}
:is(.hi-module,#hi-dialog) input[type=checkbox]{appearance:auto;width:18px;min-width:18px;max-width:18px;min-height:18px;height:18px;padding:0;margin:2px 0 0;accent-color:#6fd9f6;cursor:pointer}
:is(.hi-module,#hi-dialog) .check-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;font-weight:400;color:var(--hi-muted)}
:is(.hi-module,#hi-dialog) .form-foot{border-top:1px solid var(--hi-line);padding-top:20px;margin-top:22px}.hi-module .form-result{margin-top:18px}.hi-module .form-result:empty{display:none}
:is(.hi-module,#hi-dialog) .row{display:flex;align-items:center;gap:12px}:is(.hi-module,#hi-dialog) .spread{justify-content:space-between}:is(.hi-module,#hi-dialog) .stack{display:grid;gap:16px}
.hi-module .grid{display:grid;gap:16px}.hi-module .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hi-module .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hi-module .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hi-module .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:22px}.hi-module .section-head p{max-width:760px;color:var(--hi-muted);margin-bottom:0}
.hi-module .aside-note{color:var(--hi-muted);font-size:13px}.hi-module .aside-steps{list-style:none;padding:0;margin:20px 0;counter-reset:hi-step}.hi-module .aside-steps li{counter-increment:hi-step;position:relative;padding-left:38px;margin:20px 0;line-height:1.7}.hi-module .aside-steps li:before{content:counter(hi-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(131,219,255,.18);border-radius:8px;background:rgba(131,219,255,.08);color:var(--hi-cyan);font-size:11px}
:is(.hi-module,#hi-dialog) .notice{padding:14px 16px;border:1px solid rgba(131,219,255,.18);border-radius:13px;background:linear-gradient(135deg,rgba(61,208,255,.07),rgba(104,91,255,.05));color:#c9e0f0;font-size:12px;line-height:1.75}
:is(.hi-module,#hi-dialog) .notice.error{border-color:rgba(255,117,142,.3);background:rgba(164,53,81,.11);color:#ffbfd0}:is(.hi-module,#hi-dialog) .notice.warning{border-color:rgba(234,188,97,.25);background:rgba(167,119,23,.08);color:#d9c9a6}
:is(.hi-module,#hi-dialog) .success-card{padding:25px;border:1px solid rgba(123,229,177,.25);border-radius:18px;background:linear-gradient(145deg,rgba(20,97,76,.14),rgba(10,30,31,.55));color:#d6f6e9}
:is(.hi-module,#hi-dialog) .token-box{display:block;margin:15px 0;padding:13px 15px;word-break:break-all;background:#08111c;border:1px solid var(--hi-line);border-radius:12px;color:var(--hi-cyan);font:13px/1.7 Consolas,monospace}
:is(.hi-module,#hi-dialog) .empty{padding:38px 24px;text-align:center;background:rgba(255,255,255,.018);border:1px dashed rgba(131,219,255,.2);border-radius:18px}.hi-module .empty p{max-width:760px;margin:0 auto 20px;color:var(--hi-muted)}.hi-module .empty .actions{justify-content:center}
.hi-module .loading{padding:24px;text-align:center;color:var(--hi-muted);font-size:13px}.hi-module .toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:24px}.hi-module .toolbar .field{flex:1;min-width:180px}
:is(.hi-module,#hi-dialog) .tag{display:inline-flex;align-items:center;max-width:100%;padding:6px 9px;border:1px solid var(--hi-line);border-radius:9px;background:rgba(255,255,255,.035);color:#b9cde0;font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
:is(.hi-module,#hi-dialog) .tag.good{color:var(--hi-green);background:rgba(54,150,111,.08);border-color:rgba(123,229,177,.18)}:is(.hi-module,#hi-dialog) .tag.waiting{color:#d9c59c;background:rgba(167,119,23,.07);border-color:rgba(215,169,86,.2)}:is(.hi-module,#hi-dialog) .tag.error{color:#ffbbca;border-color:rgba(255,117,142,.25);background:rgba(164,53,81,.08)}
:is(.hi-module,#hi-dialog) .tag-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}
.hi-module .integration-card{display:flex;flex-direction:column;gap:12px;padding:22px}.hi-module .integration-card .actions{margin-top:auto}.hi-module .integration-card h3{font-size:18px;margin-bottom:0}.hi-module .integration-card p{font-size:12px;color:var(--hi-muted);margin-bottom:0}.hi-module .integration-letter{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(131,219,255,.18);border-radius:11px;background:rgba(131,219,255,.06);color:var(--hi-cyan);font-size:19px;font-weight:800}
.hi-module .privacy-caption{border-left:2px solid var(--hi-cyan);padding-left:15px;margin-bottom:24px;font-size:12px;color:var(--hi-muted)}.hi-module .assistant-result{padding-top:24px;margin-top:24px;border-top:1px solid var(--hi-line)}
:is(.hi-module,#hi-dialog) .definition-grid{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.7}:is(.hi-module,#hi-dialog) .definition-grid dt{color:var(--hi-muted)}:is(.hi-module,#hi-dialog) .definition-grid dd{margin:0;overflow-wrap:anywhere}
.hi-module .timeline{list-style:none;padding:0;margin:24px 0}.hi-module .timeline li{position:relative;padding:0 0 22px 25px;margin-left:5px;border-left:1px solid rgba(131,219,255,.2);font-size:13px}.hi-module .timeline li:before{content:'';position:absolute;left:-5px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--hi-cyan);box-shadow:0 0 14px rgba(131,219,255,.25)}.hi-module .timeline small{display:block;color:var(--hi-muted);margin-top:5px}.hi-module .quote-amount{font-size:30px;font-weight:800;letter-spacing:-.02em;margin:15px 0}
.hi-module .admin-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}.hi-module .admin-nav{display:grid;gap:6px;align-content:start;position:sticky;top:100px}.hi-module .admin-nav button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--hi-muted);font-size:12px}.hi-module .admin-nav button:hover{background:rgba(255,255,255,.035)}.hi-module .admin-nav button.active{border-color:rgba(131,219,255,.18);background:linear-gradient(90deg,rgba(91,211,255,.1),rgba(124,104,255,.06));color:var(--hi-cyan)}
.hi-module .admin-role{padding:16px 10px;margin-bottom:8px;border-bottom:1px solid var(--hi-line);font-size:12px}.hi-module .admin-role strong{display:block;margin-bottom:8px;overflow-wrap:anywhere}.hi-module .admin-content{min-width:0}.hi-module .admin-content h2{font-size:26px;margin-bottom:23px}.hi-module .metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.hi-module .metric small{display:block;color:var(--hi-muted);font-size:11px}.hi-module .metric strong{display:block;font-size:28px;margin:10px 0;font-weight:800}
.hi-module .table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--hi-line);border-radius:16px;background:rgba(255,255,255,.012)}.hi-module table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.hi-module :is(td,th){padding:15px 14px;border-bottom:1px solid var(--hi-line);vertical-align:top}.hi-module th{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--hi-muted);background:rgba(255,255,255,.025)}.hi-module td{line-height:1.7;max-width:260px;overflow-wrap:anywhere}.hi-module tr:last-child td{border-bottom:0}.hi-module .table-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:120px}.hi-module .admin-form{margin:24px 0}
.hi-module .auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;max-width:960px;margin:auto;align-items:start}.hi-module .auth-note{padding:20px 0}.hi-module .tabs{display:flex;gap:20px;margin-bottom:24px;border-bottom:1px solid var(--hi-line)}.hi-module .tabs button{padding:12px 0;border:0;border-bottom:2px solid transparent;background:transparent;font-size:12px;color:var(--hi-muted)}.hi-module .tabs button.active{color:var(--hi-cyan);border-bottom-color:var(--hi-cyan)}
#hi-dialog.dialog-backdrop{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(3,8,15,.8);backdrop-filter:blur(8px)}#hi-dialog .dialog{width:min(620px,100%);max-height:90dvh;overflow-y:auto;padding:28px;border:1px solid rgba(131,219,255,.2);border-radius:22px;background:linear-gradient(145deg,#111e2d,#080f1a);box-shadow:0 30px 100px #0009}#hi-dialog .dialog-close{flex:none;width:34px;height:34px;border:1px solid var(--hi-line);border-radius:10px;background:rgba(255,255,255,.035);color:var(--hi-text);font-size:20px}#hi-dialog .dialog h2{font-size:24px}
:is(.hi-module,#hi-dialog) .draft-preview{width:100%;min-height:240px;margin:12px 0;padding:15px;white-space:pre-wrap}.hi-module .page-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.hi-module .error-detail{color:#ffbfd0;font-size:12px}.hi-module .pill-outline{font-size:11px;border:1px solid var(--hi-line);border-radius:999px;padding:7px 11px}.hi-module .hidden{display:none!important}.hi-module .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.request-form-card .hi-module{margin:16px 0 0}.request-form-card .hi-module .page-intro{padding:0 0 20px;margin:0 0 20px;border:0;border-bottom:1px solid var(--hi-line);border-radius:0;background:none;box-shadow:none}.request-form-card .hi-module .page-intro h1{font-size:26px}.request-form-card .hi-module .form-layout{grid-template-columns:1fr}.request-form-card .hi-module .form-card{padding:0;border:0;background:transparent;box-shadow:none}.request-form-card .hi-module .aside-note{display:none}
@media(max-width:1200px){.hi-module .form-layout{grid-template-columns:1fr}.hi-module .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.hi-module .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.hi-module .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.hi-module .admin-layout,.hi-module .auth-layout{grid-template-columns:1fr}.hi-module .admin-nav{position:static;display:flex;overflow-x:auto;gap:8px;padding-bottom:12px}.hi-module .admin-nav button{flex:none;border-color:var(--hi-line)}.hi-module .admin-role{display:none}.hi-module .auth-note{padding:4px 0}.hi-module .page-intro{padding:24px}.hi-module-page .page-intro{padding:28px 24px}.hi-module-page .page-intro h1{font-size:clamp(32px,5vw,42px)}}
@media(max-width:640px){.hi-module{margin:18px 0}.hi-module-page{margin:0}.hi-module .page-intro,.hi-module-page .page-intro{padding:24px 20px;border-radius:22px}.hi-module .page-intro h1{font-size:28px}.hi-module-page .page-intro h1{font-size:32px}.hi-module .page-intro p{font-size:14px}.hi-module .page-content{padding:0 0 20px}.hi-module :is(.form-card,.auth-card,.card){padding:20px}:is(.hi-module,#hi-dialog) .form-grid{grid-template-columns:1fr;gap:16px}.hi-module :is(.grid-2,.grid-3,.grid-4){grid-template-columns:1fr}.hi-module .section-head{align-items:flex-start;flex-direction:column;gap:12px}.hi-module .toolbar{align-items:stretch}.hi-module .toolbar .field{flex-basis:100%;min-width:0}.hi-module .toolbar .button{width:100%}:is(.hi-module,#hi-dialog) .definition-grid{grid-template-columns:95px minmax(0,1fr);font-size:12px}.hi-module .form-foot .button{width:100%}.hi-module .page-pagination{align-items:stretch;flex-direction:column;gap:12px}.hi-module .page-pagination .button{width:100%}#hi-dialog.dialog-backdrop{padding:14px}#hi-dialog .dialog{padding:22px;border-radius:18px}#hi-dialog .dialog h2{font-size:22px}.request-form-card .hi-module .form-card{padding:0}.hi-module .metric{padding:16px}}
@media(prefers-reduced-motion:reduce){:is(.hi-module,#hi-dialog) *{transition:none!important;scroll-behavior:auto!important}}
