/* iCreate's private console. Logical spacing follows the active language. */
:root {
  --paper: #17161e;
  --surface: #24232c;
  --ink: #f4f1f8;
  --muted: #c0bac9;
  --line: #ffffff19;
  --gold: #d5c1eb;
  --round: 17px;
}
body.console {
  background: radial-gradient(ellipse 55rem 32rem at 88% -14rem,#494152,transparent),var(--paper);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: .9375rem;
  line-height: 1.5;
}
:lang(ar) body.console {font-family:"Console Arabic",-apple-system,BlinkMacSystemFont,sans-serif}
.console .shell {max-width:78rem}
.console h1,.console .head h1,.console .board h2 {
  font-size:clamp(1.48rem,1.1rem + .8vw,1.9rem);
  line-height:1.25;
  font-weight:630;
  letter-spacing:-.027em;
}
.console h2 {font-size:1.06rem;font-weight:620;letter-spacing:-.012em}
.console h1:lang(ar),.console h2:lang(ar){letter-spacing:normal;line-height:1.5}
.console .kpis strong,.console .dial strong {font-size:clamp(1.35rem,1rem + .8vw,1.8rem);font-weight:620}
.console .stage-grid strong {font-size:1.18rem}
.console .topbar {background:#1b1a22;border-color:var(--line)}
.console .topbar a,.console .topbar button,.console .tabs a,.console summary {min-block-size:44px}
.console summary {align-content:center}
.console .panel,.console .login {
  background:linear-gradient(155deg,#292730,#211f29 85%);
  box-shadow:inset 0 1px 0 #ffffff09,0 4px 18px #09081224;
}
.console .kpis article {background:linear-gradient(130deg,color-mix(in srgb,var(--accent) 9%,var(--surface)),var(--surface) 80%)}
.console .metric-icon {width:1.95rem;height:1.95rem}
.console .stage-grid a {background:#2d2a35;color:var(--ink)}
.console .stage-grid a:hover {background:#373240}
.console .dial strong {background:var(--surface)}
.console :is(button,input[type=submit]),.console .tabs a[aria-current=page] {
  min-height:44px;border:1px solid #ffffff23;border-radius:13px;
  background:linear-gradient(160deg,#50465d,#40394c);
  box-shadow:inset 0 1px 0 #ffffff0c;
  color:var(--ink);font-size:.89rem;font-weight:560;letter-spacing:0;
}
.console button:not(:disabled):hover,.console .tabs a:hover {background:#544a61}
.console button:not(:disabled):active {background:#38323f}
.console .topbar button {background:#ffffff08;border-color:var(--line)}
.console :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  min-height:44px;border:1px solid #ffffff27;border-radius:12px;
  background-color:#201f28;box-shadow:inset 0 1px 2px #0002;color:var(--ink);
}
.console select {
  appearance:none;-webkit-appearance:none;padding-inline: .8rem 2.45rem;
  background-image:linear-gradient(45deg,transparent 50%,#c9bed5 50%),linear-gradient(135deg,#c9bed5 50%,transparent 50%);
  background-position:calc(100% - 17px) 52%,calc(100% - 12px) 52%;
  background-size:5px 5px;background-repeat:no-repeat;
}
:dir(rtl) .console select {background-position:12px 52%,17px 52%}
.console :is(input,textarea)::placeholder{color:#a59dae}
.console :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid #cbaee7;outline-offset:3px}
.console .tabs a {font-size:.9rem;font-weight:530}
.console .filters label,.console label {font-weight:540}
@media(min-width:60rem){
  .workspace:before {background:linear-gradient(165deg,#22212a,#191820);border-color:var(--line)}
  .workspace .topbar {background:transparent;min-height:4.25rem}
  .workspace .tabs {top:5.2rem}
}
@media(max-width:59.99rem){
  .console .tabs{flex-wrap:nowrap;overflow-x:auto}
  .console :is(input,select,textarea){font-size:1rem}
}
@media(prefers-reduced-motion:no-preference){
  .console :is(button,select,.tabs a){transition:background-color .16s ease,border-color .16s ease}
}
@media(forced-colors:active){.console select{appearance:auto}}
.visitor-map{display:block;width:100%;max-height:23rem;background:#1d1c24;border-radius:14px}
.heat-window{height:32rem;overflow:auto;background:#17151b;border-radius:14px}
.heat-size{position:relative;overflow:clip}.heat-stage{position:absolute;top:0;left:0;transform-origin:top left;pointer-events:none}
.heat-stage iframe{position:absolute;left:0;border:0;pointer-events:none}
.heat-layer{position:absolute;inset:0}.heat-layer i{position:absolute;width:4.5%;aspect-ratio:1;border-radius:100%;transform:translate(-50%,-50%);background:radial-gradient(circle,#fff2a8 0%,#ffa136 24%,#ff3358aa 48%,transparent 76%)}

.console .funnel-table {width:100%;border-collapse:collapse;font-size:.875rem;font-variant-numeric:tabular-nums}
.console .funnel-table :is(th,td) {text-align:end;padding:.65rem .2rem;border-block-end:1px solid #ffffff24}
.console .funnel-table th:first-child {text-align:start}
