/* ASIP universal readability and soft controls. */
:root{
  --ui-bg:#0d1725;
  --ui-bg-2:#101d2e;
  --ui-border:rgba(176,201,221,.18);
  --ui-border-strong:rgba(94,234,212,.42);
  --ui-text:#e9f2fa;
  --ui-muted:#93a9bd;
  --ui-radius:12px;
}

html{font-size:16px}
body{
  font-family:var(--asip-font, system-ui) !important;
  font-size:15px !important;
  line-height:1.55;
  color:var(--ui-text);
  -webkit-font-smoothing:antialiased;
}

/* Base text scale */
.landing-lead,.auth-copy .lead{font-size:15px !important;line-height:1.65 !important}
.landing-card p,.program-card>p,.practice-copy>p,.audience-grid p,.team-card p,.faq-grid p,.price-card li,.landing-section-head>p{font-size:12.5px !important;line-height:1.6 !important}
.landing-nav a,.landing-link{font-size:13px !important}
.landing-strip{font-size:12px !important}
.landing-kicker,.kicker{font-size:10.5px !important;letter-spacing:.15em !important}
.landing-card h3,.audience-grid h3,.team-card h3{font-size:18px !important}
.price-card li,.billing-plan li{font-size:12px !important}
.price-audience,.billing-audience{font-size:12px !important}
.landing-footer p,.landing-footer>span,.results-note,.pricing-note{font-size:10.5px !important}
.results-row{font-size:12px !important}
.results-row.head{font-size:9.5px !important}
.team-years{font-size:27px !important}
.team-tags span{font-size:9.5px !important}

/* App typography */
.app-shell p,.app-shell li,.app-shell .p-note,.app-shell .submission-meta,.app-shell .journal-meta,.app-shell .topic-goal{font-size:13px !important;line-height:1.55 !important}
.app-shell small{font-size:11px !important}
.app-shell .kicker{font-size:12px !important}
.nav-tab{font-size:13.5px !important;padding:11px 15px !important}
.practice-tab{font-size:12.5px !important;padding:12px 14px !important}
.practice-card h2,.section-head h2{font-size:28px !important}
.practice-card h3{font-size:18px !important}
.p-input,.auth-form input,.auth-form select,.profile-form input,.profile-form select,
.terminal-shell select,.terminal-shell input,.terminal-shell textarea{
  font-family:var(--asip-font, system-ui) !important;
  font-size:14px !important;
  color:var(--ui-text) !important;
  background-color:var(--ui-bg) !important;
  border:1px solid var(--ui-border) !important;
  border-radius:var(--ui-radius) !important;
  padding:11px 13px !important;
  min-height:44px;
  outline:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02),0 4px 14px rgba(0,0,0,.08);
  transition:border-color .18s,box-shadow .18s,background .18s;
}
textarea,.p-textarea,.auth-form textarea{
  min-height:104px !important;
  resize:vertical;
  line-height:1.55 !important;
  padding:12px 13px !important;
}
.p-input:focus,.auth-form input:focus,.auth-form select:focus,.profile-form input:focus,
.terminal-shell select:focus,.terminal-shell input:focus,.terminal-shell textarea:focus{
  border-color:var(--ui-border-strong) !important;
  box-shadow:0 0 0 3px rgba(94,234,212,.1) !important;
  background-color:var(--ui-bg-2) !important;
}
select{
  appearance:none !important;
  -webkit-appearance:none !important;
  background-image:linear-gradient(45deg,transparent 50%,#92a9bd 50%),linear-gradient(135deg,#92a9bd 50%,transparent 50%) !important;
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50% !important;
  background-size:5px 5px,5px 5px !important;
  background-repeat:no-repeat !important;
  padding-right:36px !important;
  cursor:pointer;
}
select option{background:#0d1725;color:#e9f2fa}
input::placeholder,textarea::placeholder{color:#71879b !important;opacity:1}
input[type="checkbox"],input[type="radio"]{accent-color:#5eead4;border-radius:5px}

/* Form labels */
form label,.auth-form label,.practice-form label,.profile-form label,.indicator-form label{
  font-family:var(--asip-font, system-ui) !important;
  font-size:12px !important;
  color:#a8bccd !important;
  letter-spacing:.01em;
}
.auth-form label,.profile-form label{gap:7px !important}

/* Soft rounded controls */
.btn,.auth-submit,.role-btn,.practice-tab,.nav-tab,.panel-tabs button,.chart-action,
.indicator-settings-btn,.icon-btn,.icon-mini,.draw-tool,.tf-group button,.user-chip,
.landing-btn,.notif-btn{
  border-radius:11px !important;
  font-family:var(--asip-font, system-ui) !important;
  transition:background .18s,border-color .18s,transform .18s,color .18s;
}
.btn,.auth-submit,.chart-action,.indicator-settings-btn,.role-btn{
  font-size:13px !important;
  min-height:42px;
  padding:10px 16px !important;
  border:1px solid rgba(176,201,221,.2) !important;
}
.btn-primary,.auth-submit{
  background:linear-gradient(135deg,#7cead8,#5ccfc6) !important;
  color:#071411 !important;
  border-color:transparent !important;
  box-shadow:0 8px 24px rgba(94,234,212,.12) !important;
}
.btn-primary:hover,.auth-submit:hover{background:linear-gradient(135deg,#8ff3e2,#6bd9cf) !important}
.btn-ghost{
  background:rgba(255,255,255,.035) !important;
  color:#dce8f3 !important;
  border-color:rgba(176,201,221,.19) !important;
}
.btn-ghost:hover{background:rgba(255,255,255,.065) !important;border-color:rgba(94,234,212,.35) !important}
.btn-sm,.btn.btn-sm{font-size:12px !important;min-height:34px;padding:7px 11px !important}
.icon-btn,.icon-mini{
  background:rgba(255,255,255,.035) !important;
  border:1px solid var(--ui-border) !important;
  color:#c9d8e6 !important;
}
.icon-btn:hover,.icon-mini:hover{background:rgba(94,234,212,.1) !important;border-color:rgba(94,234,212,.35) !important}
.tf-group button{border-radius:9px !important;font-size:12px !important}
.tf-group button.active{background:rgba(94,234,212,.12) !important;color:#8af3df !important;border-color:rgba(94,234,212,.35) !important}
.nav-tab{border-radius:10px !important}
.nav-tab.active{background:rgba(94,234,212,.1) !important;color:#9bf4e3 !important;border-color:rgba(94,234,212,.3) !important}
.practice-tab{border-radius:9px 9px 0 0 !important}
.user-chip{border-radius:11px !important;padding:7px 10px !important}
.landing-btn{border-radius:12px !important;padding:13px 19px !important;font-size:13px !important}

/* Cards and panels */
.practice-card,.profile-card,.billing-plan,.billing-current,.cohort-card,.journal-performance,
.submission-item,.topic-card,.auth-panel,.chart-panel,.terminal-shell,.progress-table,.progress-stat,
.prep-check,.risk-calc,.cohort-student,.billing-payment,.notif-pop{
  border-radius:15px !important;
}
.practice-card,.profile-card,.billing-plan,.cohort-card,.journal-performance{
  background:linear-gradient(160deg,rgba(16,29,46,.82),rgba(9,17,29,.7)) !important;
  border-color:rgba(176,201,221,.14) !important;
}

/* Terminal readability */
.terminal-shell{font-size:12px}
.terminal-shell .terminal-title{font-size:12px !important}
.terminal-shell .terminal-status{font-size:10.5px !important}
.terminal-shell .quote-stats{font-size:11px !important}
.terminal-shell .book-head{font-size:11px !important}
.terminal-shell .book-columns{font-size:12px !important}
.terminal-shell .book-row{font-size:12px !important;min-height:22px !important}
.terminal-shell .book-metrics span,.terminal-shell .tape-head{font-size:9.5px !important}
.terminal-shell .tape-row{font-size:11px !important}
.terminal-shell .chart-legend{font-size:12px !important}
.terminal-shell .chart-ohlc{font-size:11px !important}
.terminal-shell .panel-tabs button{font-size:11.5px !important}
.terminal-shell .analysis-cell span{font-size:9.5px !important}
.terminal-shell .analysis-cell b{font-size:12px !important}
.terminal-shell .terminal-footer{font-size:9.5px !important}

/* Profile forms */
.profile-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.profile-form label{display:flex;flex-direction:column;gap:6px}
.profile-account{grid-column:span 2}
@media(max-width:900px){.profile-account{grid-column:span 1}}
.notif-empty{padding:18px;color:var(--ui-muted);font-size:13px;text-align:center}

.notif-wrap{position:relative}
.notif-btn{position:relative;width:40px;height:40px;display:grid;place-items:center;background:rgba(255,255,255,.035);border:1px solid var(--ui-border);color:#c9d8e6;font-size:17px}
.notif-btn:hover{background:rgba(94,234,212,.1);border-color:rgba(94,234,212,.35)}
.notif-badge{position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#f5b942;color:#171006;font:700 12px/18px var(--asip-font, system-ui);text-align:center}
.notif-pop{position:absolute;right:0;top:50px;width:360px;max-height:460px;overflow:auto;z-index:80;background:#0d1827;border:1px solid var(--ui-border);box-shadow:0 24px 60px rgba(0,0,0,.45);padding:10px}
.notif-head{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 9px;border-bottom:1px solid var(--ui-line, rgba(176,201,221,.14));font-size:13px}
.notif-head button{border:0;background:transparent;color:#9fb2c4;font-size:20px;cursor:pointer}
.notif-list{display:flex;flex-direction:column;gap:6px;padding-top:8px}
.notif-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:rgba(255,255,255,.025);border:1px solid rgba(176,201,221,.12);border-radius:10px;padding:9px 10px;color:#c8d7e5;cursor:pointer}
.notif-item:hover{background:rgba(94,234,212,.07);border-color:rgba(94,234,212,.28)}
.notif-item.unread{background:rgba(94,234,212,.055);border-color:rgba(94,234,212,.22)}
.notif-item b{font-size:12px;color:#e8f2fb}
.notif-item span{font-size:11.5px;color:#9fb2c4;line-height:1.4}
.notif-item small{font-size:9.5px;color:#6f8599}
@media(max-width:620px){.notif-pop{position:fixed;left:12px;right:12px;top:70px;width:auto}}

/* Profile account forms: readable two-column layout */
.profile-account{grid-column:1 / -1 !important;display:block !important}
.profile-account>h3{margin:4px 0 14px}
.profile-account .profile-form{
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
  margin-top:0;
  padding-bottom:16px;
  border-bottom:1px solid rgba(176,201,221,.12);
}
.profile-account .profile-form + .profile-form{
  grid-template-columns:1fr 1fr 1fr auto;
  margin-top:16px;
  padding-top:16px;
  padding-bottom:0;
  border-top:0;
  border-bottom:0;
}
.profile-account .profile-form label{font-size:13px !important;min-width:0}
.profile-account .profile-form .btn{height:44px;margin-bottom:1px}
.app-shell p,.app-shell li,.app-shell .p-note,.app-shell .submission-meta,.app-shell .journal-meta{font-size:13.5px !important}
.app-shell form label,.app-shell .profile-form label{font-size:13px !important}
.app-shell .profile-card .kicker{font-size:10.5px !important}
@media(max-width:800px){
  .profile-account .profile-form,.profile-account .profile-form + .profile-form{grid-template-columns:1fr}
  .profile-account .profile-form .btn{width:100%}
}

.mentor-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field-label{font-size:12px;color:#b8cad9}
.mentor-picker{display:flex;flex-wrap:wrap;gap:6px;min-height:44px;padding:7px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-bg)}
.mentor-check{display:flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgba(176,201,221,.14);border-radius:9px;background:rgba(255,255,255,.025);font-size:11.5px!important;color:#c9d8e6!important;cursor:pointer}
.mentor-check:has(input:checked){border-color:rgba(94,234,212,.4);background:rgba(94,234,212,.09);color:#e9f7f4!important}
.mentor-check input{accent-color:#5eead4;width:15px;height:15px}

/* Custom controls */
.asip-control{position:relative;display:block;width:100%;min-width:0}
.asip-native-control{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important;min-height:0!important}
.asip-select-button,.asip-date-button,.asip-file-button{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-bg);color:var(--ui-text);font:13px/1.3 var(--asip-font, system-ui);text-align:left;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.asip-select-button:hover,.asip-date-button:hover,.asip-file-button:hover{border-color:rgba(94,234,212,.35);background:var(--ui-bg-2)}
.asip-select-button span,.asip-date-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.asip-select-button i{width:8px;height:8px;border-right:1.5px solid #9fb6c9;border-bottom:1.5px solid #9fb6c9;transform:rotate(45deg) translateY(-2px);flex:0 0 auto}
.asip-date-button i{font-style:normal;color:#8ba5ba;font-size:15px}
.asip-date-button .placeholder{color:#71879b}
.asip-select-button.placeholder span{color:#71879b}
.asip-select-menu{z-index:300;max-height:280px;overflow:auto;padding:5px;border:1px solid rgba(176,201,221,.2);border-radius:12px;background:#0e1a29;box-shadow:0 18px 44px rgba(0,0,0,.5)}
.asip-select-option{display:block;width:100%;padding:9px 10px;border:0;border-radius:9px;background:transparent;color:#c9d8e6;text-align:left;font:13px var(--asip-font, system-ui);cursor:pointer}
.asip-select-option:hover,.asip-select-option.selected{background:rgba(94,234,212,.1);color:#eafaf6}
.asip-select-option:disabled{opacity:.45;cursor:default}
.asip-calendar{z-index:310;width:292px;padding:10px;border:1px solid rgba(176,201,221,.2);border-radius:14px;background:#0e1a29;box-shadow:0 18px 44px rgba(0,0,0,.55)}
.asip-calendar-head{display:flex;justify-content:space-between;align-items:center;padding:3px 2px 9px;border-bottom:1px solid rgba(176,201,221,.12)}
.asip-calendar-head b{font:600 13px var(--asip-font, system-ui);color:#e8f2fb}
.asip-calendar-head button{width:30px;height:30px;border:1px solid var(--ui-border);border-radius:8px;background:rgba(255,255,255,.03);color:#c9d8e6;cursor:pointer;font-size:16px}
.asip-calendar-head button:hover{background:rgba(94,234,212,.1)}
.asip-calendar-week{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:8px 0 4px}
.asip-calendar-week span{text-align:center;font:11px var(--asip-font, system-ui);color:#7890a4}
.asip-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.asip-calendar-grid .empty{height:30px}
.asip-calendar-grid .day{height:30px;border:0;border-radius:8px;background:transparent;color:#c9d8e6;font:11.5px var(--asip-font, system-ui);cursor:pointer}
.asip-calendar-grid .day:hover{background:rgba(94,234,212,.1);color:#eafaf6}
.asip-calendar-grid .day.selected{background:rgba(94,234,212,.2);color:#9bf4e3;font-weight:700}
.asip-calendar-foot{display:flex;justify-content:space-between;padding-top:8px;margin-top:6px;border-top:1px solid rgba(176,201,221,.12)}
.asip-calendar-foot button{border:0;background:transparent;color:#8fd9cf;font:10.5px var(--asip-font, system-ui);cursor:pointer;padding:5px}
.asip-tooltip{position:fixed;z-index:400;max-width:260px;padding:7px 9px;border:1px solid rgba(176,201,221,.2);border-radius:8px;background:#132235;color:#dce9f4;font:11px/1.45 var(--asip-font, system-ui);box-shadow:0 8px 20px rgba(0,0,0,.4);pointer-events:none}
.file-label .asip-file-button{width:auto;min-width:140px;height:38px;margin-top:6px}
.file-label input[type=file]{display:none!important}
::selection{background:rgba(94,234,212,.25)}

/* App shell with left navigation */
.app-shell{--muted:#b6c9da}
.app-topbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;padding:12px 22px!important;min-height:70px}
.app-sidebar{
  position:fixed;left:0;top:70px;bottom:0;width:220px;z-index:50;display:flex;flex-direction:column;gap:7px;
  padding:18px 13px;background:linear-gradient(180deg,rgba(13,24,38,.98),rgba(9,17,29,.98));
  border-right:1px solid rgba(176,201,221,.13);
}
.side-caption{font:12px var(--asip-font, system-ui);letter-spacing:.18em;color:#7891a5;padding:0 10px 9px}
.app-sidebar .nav-tab{
  width:100%;display:flex;align-items:center;justify-content:flex-start;gap:11px;
  padding:12px 12px!important;border:1px solid transparent!important;border-radius:11px!important;
  background:transparent!important;color:#b9ccdc!important;font-size:13.5px!important;text-align:left;
}
.app-sidebar .nav-tab:hover{background:rgba(255,255,255,.04)!important;color:#eef7ff!important}
.app-sidebar .nav-tab.active{background:rgba(94,234,212,.1)!important;border-color:rgba(94,234,212,.26)!important;color:#a4f6e7!important}
.side-ico{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.04);font-size:12px;color:#8edbd1;flex:0 0 auto}
.app-sidebar .nav-tab.active .side-ico{background:rgba(94,234,212,.13);color:#b9fff1}
.side-foot{margin-top:auto;padding:12px 10px;border-top:1px solid rgba(176,201,221,.1);font-size:12px;line-height:1.6;color:#7990a4}
.side-foot span{color:#657c90}
.app-main{margin-left:220px!important;padding:24px 16px 36px!important;max-width:none!important}
.app-main{min-width:0}
.app-main > .view,.app-main > .app-footer{max-width:none;width:100%;margin-inline:0;padding-inline:0}
.app-shell .p-note,.app-shell .submission-meta,.app-shell .journal-meta,.app-shell .topic-goal{color:#b3c6d6!important;font-size:13.5px!important}
.app-shell .kicker{color:#8fe1d5!important}
.app-shell .training-head p,.app-shell .practice-card>p,.app-shell .lesson-copy p{font-size:14.5px!important;line-height:1.7!important}
.app-shell .progress-table,.app-shell .progress-table td,.app-shell .progress-table th{font-size:12.5px!important}
.profile-billing{margin-top:20px}
.profile-billing>h2{font-family:var(--serif,var(--asip-font, system-ui));font-size:26px;margin:5px 0 8px;color:#eef7ff}
.profile-subtitle{font-size:13px!important;color:#8fe1d5!important;letter-spacing:.04em;margin:16px 0 0;font-weight:600}
.profile-account .profile-form{margin-top:9px!important}
.profile-account .profile-form + .profile-form{margin-top:20px!important}
@media(max-width:900px){
  .app-sidebar{position:static;width:auto;height:auto;flex-direction:row;flex-wrap:wrap;top:auto;border-right:0;border-bottom:1px solid rgba(176,201,221,.13);padding:9px 12px}
  .app-sidebar .side-caption,.app-sidebar .side-foot{display:none}
  .app-sidebar .nav-tab{width:auto;flex:1;justify-content:center;padding:9px 8px!important;font-size:12px!important}
  .side-ico{display:none}
  .app-main{margin-left:0!important;padding:16px 13px 28px!important}
}

.asip-field-error{position:fixed;z-index:410;max-width:240px;padding:7px 9px;border:1px solid rgba(245,185,66,.35);border-radius:8px;background:#241d0d;color:#ffdda0;font:11px/1.4 var(--asip-font, system-ui);box-shadow:0 8px 20px rgba(0,0,0,.45);pointer-events:none}
.asip-field-error:before{content:"";position:absolute;left:14px;top:-5px;width:8px;height:8px;background:#241d0d;border-left:1px solid rgba(245,185,66,.35);border-top:1px solid rgba(245,185,66,.35);transform:rotate(45deg)}

body{--muted:#aac2d4;font-size:16px!important}
.app-shell .profile-since,.app-shell .cohort-student small,.app-shell .access-email,.app-shell .submission-meta small,.app-shell .history-day span{color:#aac2d4!important}
.app-shell p,.app-shell li,.app-shell .p-note{font-size:14.5px!important;line-height:1.6!important}
.training-head p,.practice-card>p,.lesson-copy p,.practice-copy>p{font-size:15px!important;line-height:1.7!important}
.app-shell label,.app-shell .field-label{color:#c1d2e0!important}

/* Checkbox alignment and stronger tariff typography */
.mentor-picker .mentor-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;white-space:nowrap}
.mentor-check input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px;margin:0!important;border:1.5px solid rgba(176,201,221,.4)!important;border-radius:5px!important;background:rgba(255,255,255,.04)!important;position:relative;cursor:pointer}
.mentor-check input[type=checkbox]:checked{background:#5eead4!important;border-color:#5eead4!important}
.mentor-check input[type=checkbox]:checked::after{content:"✓";position:absolute;left:2px;top:-2px;color:#06201b;font:700 14px/18px var(--asip-font, system-ui)}
.mentor-check span{font-size:12.5px!important;line-height:1.3}
.billing-plan h3{font-size:22px!important;margin:0 0 8px!important;color:#f1f8ff!important}
.billing-price{font-size:25px!important;font-weight:800!important;color:#f1f8ff!important;margin-bottom:12px!important}
.billing-price span{font-size:12px!important;font-weight:500!important;color:#b9cddd!important;margin-left:6px}
.billing-plan li{font-size:14px!important;line-height:1.6!important;color:#d2e0ec!important;margin:8px 0!important}
.billing-plan .btn{font-size:13.5px!important}
.billing-current h3{font-size:26px!important}
.plan-price b{font-size:24px!important;color:#f1f8ff!important}
.plan-price span{font-size:12px!important;color:#b9cddd!important}

.status-select{max-width:150px!important;min-height:34px!important;padding:6px 28px 6px 9px!important;font-size:12px!important;color:#d7e6f2!important;background:#0f1b2a!important;border-color:rgba(176,201,221,.2)!important}
.cohort-student-tools{display:flex;align-items:center;gap:6px}
.cohort-student .status-select{max-width:130px!important}

/* Professional journal */
.journal-layout{align-items:start}
.journal-form-card .practice-form{gap:12px}
.journal-section-title{font:10.5px var(--asip-font, system-ui);letter-spacing:.14em;color:#8fe1d5;margin-top:5px;text-transform:uppercase}
.journal-row-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.journal-pnl-preview{display:flex;flex-direction:column;gap:3px;padding:13px 15px;border:1px solid rgba(94,234,212,.2);border-radius:12px;background:rgba(94,234,212,.055)}
.journal-pnl-preview>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.journal-pnl-preview span{font-size:12px;color:#b9cddd}
.journal-pnl-preview b{font-size:23px;color:#a8f5e6}
.journal-pnl-preview b.loss{color:#ff9daa}
.journal-pnl-preview b.profit{color:#8df0c9}
.journal-pnl-preview small{font-size:10.5px;color:#8fa7ba;line-height:1.45}
.journal-mode{font:11px var(--asip-font, system-ui);letter-spacing:.12em;color:#7fd9cd;border:1px solid rgba(94,234,212,.2);border-radius:7px;padding:5px 7px}
.journal-item{background:rgba(255,255,255,.025);border-radius:12px!important;padding:12px 13px!important}
.journal-top{display:grid!important;grid-template-columns:1fr auto auto auto;align-items:center;gap:9px!important}
.journal-top>div{display:flex;flex-direction:column;gap:2px}
.journal-top b{font-size:14px!important}
.journal-top span{font:12px var(--asip-font, system-ui)!important;color:#9fb5c7!important}
.trade-direction{font:700 9.5px var(--asip-font, system-ui)!important;letter-spacing:.08em;padding:4px 7px;border-radius:6px}
.trade-direction.long{color:#8df0c9;background:rgba(61,210,154,.1);border:1px solid rgba(61,210,154,.22)}
.trade-direction.short{color:#ff9daa;background:rgba(244,108,127,.1);border:1px solid rgba(244,108,127,.22)}
.trade-pnl{font:700 13px var(--asip-font, system-ui)!important;white-space:nowrap}
.trade-pnl.profit{color:#8df0c9}.trade-pnl.loss{color:#ff9daa}
.trade-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0 8px}
.trade-grid>div{display:flex;flex-direction:column;gap:2px;padding:7px 8px;border:1px solid rgba(176,201,221,.1);border-radius:8px;background:rgba(0,0,0,.12)}
.trade-grid span{font-size:9.5px;color:#8fa7ba}
.trade-grid b{font-size:12.5px;color:#dce9f4}
.journal-row{grid-template-columns:1fr 1fr .8fr .8fr .8fr .8fr .8fr .9fr!important;font-size:11px!important}
.journal-row .dir-long{color:#8df0c9}.journal-row .dir-short{color:#ff9daa}
@media(max-width:1100px){.journal-row-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.journal-row{grid-template-columns:1fr 1fr .8fr .8fr!important}.journal-row span:nth-child(n+5){display:none}.journal-row.head span:nth-child(n+5){display:none}}

/* Custom number steppers instead of Windows spinners */
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
input[type=number]{-moz-appearance:textfield!important;appearance:textfield!important}
.asip-number-control{position:relative;display:block;width:100%}
.asip-number-control .asip-number-input{padding-right:34px!important}
.asip-number-buttons{position:absolute;right:5px;top:5px;bottom:5px;display:flex;flex-direction:column;gap:2px;width:24px}
.asip-number-buttons button{flex:1;border:1px solid rgba(176,201,221,.18);border-radius:6px;background:#122235;color:#9fc4d6;font:10px/1 var(--asip-font, system-ui);cursor:pointer;padding:0}
.asip-number-buttons button:hover{background:rgba(94,234,212,.12);border-color:rgba(94,234,212,.35);color:#b9fff1}
.journal-form-actions{display:flex;gap:9px;flex-wrap:wrap}

/* Final site-wide readability pass */
html{font-size:17px!important}
body{font-size:16px!important;color:#edf6ff!important}
.app-shell p,.app-shell li,.app-shell .p-note{font-size:15px!important;line-height:1.65!important;color:#d1e0ed!important}
.app-shell label,.app-shell .field-label,.app-shell .kicker{font-size:13px!important;color:#b9d0e1!important}
.app-shell .kicker{color:#8fe1d5!important;letter-spacing:.15em!important}
.app-shell small,.app-shell .profile-since,.app-shell .cohort-student small,.app-shell .access-progress{font-size:11.5px!important;color:#b4c9d9!important}
.nav-tab{font-size:14px!important}
.billing-plan li{font-size:15px!important}
.landing-card p,.program-card>p,.practice-copy>p,.audience-grid p,.team-card p,.faq-grid p,.landing-section-head>p{font-size:14px!important;color:#cbdce9!important}
.landing-lead{font-size:16px!important}
.landing-nav a{font-size:14px!important}
.price-card li{font-size:13px!important}

.journal-pnl-preview em{font:600 12px var(--asip-font, system-ui);font-style:normal;color:#8fa7ba;margin-left:4px}
.trade-pnl small{display:block;font-size:9.5px;font-weight:500;color:#a9c0d2;margin-top:2px}
.journal-row{grid-template-columns:1fr 1fr .8fr .8fr .8fr .8fr .8fr .8fr .8fr!important}
@media(max-width:760px){.journal-row{grid-template-columns:1fr 1fr .8fr .8fr!important}}

.journal-top{grid-template-columns:1fr auto auto auto auto!important}
@media(max-width:600px){.journal-top{grid-template-columns:1fr auto auto!important}.journal-top .icon-mini:last-child{display:none}}

.account-name-input{border:1px solid transparent!important;background:transparent!important;color:#eaf5ff!important;font:600 14px var(--asip-font, system-ui)!important;padding:3px 5px!important;border-radius:7px!important;min-height:0!important;max-width:220px;width:100%}
.account-name-input:hover{border-color:rgba(176,201,221,.18)!important;background:rgba(255,255,255,.025)!important}
.account-name-input:focus{border-color:rgba(94,234,212,.4)!important;background:#0f1b2a!important;box-shadow:0 0 0 2px rgba(94,234,212,.08)!important}

.notif-head{display:flex;align-items:center;gap:8px}
.notif-head>div{display:flex;align-items:center;gap:3px;margin-left:auto}
.notif-all{border:1px solid rgba(94,234,212,.25)!important;background:rgba(94,234,212,.07)!important;color:#9bf4e3!important;border-radius:7px!important;font:12px var(--asip-font, system-ui)!important;padding:5px 7px!important;cursor:pointer}
.notif-modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,8,15,.72);backdrop-filter:blur(4px)}
.notif-modal-card{width:min(620px,100%);max-height:82vh;display:flex;flex-direction:column;background:#0d1a29;border:1px solid rgba(176,201,221,.2);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.55);overflow:hidden}
.notif-modal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(176,201,221,.12)}
.notif-modal-head h2{font-size:23px;margin:4px 0 0;color:#edf7ff}
.notif-modal-head button{border:1px solid rgba(176,201,221,.18);background:rgba(255,255,255,.03);color:#c9d8e6;border-radius:9px;width:32px;height:32px;font-size:19px;cursor:pointer}
.notif-modal-list{padding:12px;overflow:auto;display:flex;flex-direction:column;gap:8px}
.notif-modal-list .notif-item{padding:12px 13px}
.notif-modal-list .notif-item b{font-size:13px}
.notif-modal-list .notif-item span{font-size:12.5px}

/* Journal tabs and modal */
.journal-page{display:flex;flex-direction:column;gap:14px}
.journal-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid rgba(176,201,221,.14);padding-bottom:10px}
.journal-tabs button{border:1px solid transparent;background:transparent;color:#a9c0d2;border-radius:9px;padding:9px 14px;font:600 12.5px var(--asip-font, system-ui);cursor:pointer}
.journal-tabs button:hover{background:rgba(255,255,255,.04);color:#eaf7ff}
.journal-tabs button.active{background:rgba(94,234,212,.1);border-color:rgba(94,234,212,.28);color:#a4f6e7}
.journal-layout{grid-template-columns:1fr!important;align-items:start}
.journal-form-card{display:none!important}
.journal-page.modal-open .journal-form-card{display:block!important;position:fixed;z-index:520;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 28px));max-height:88vh;overflow:auto;box-shadow:0 30px 90px rgba(0,0,0,.65);border-color:rgba(94,234,212,.24)!important}
.journal-modal-backdrop{position:fixed;inset:0;z-index:510;background:rgba(2,8,15,.74);backdrop-filter:blur(4px)}
.journal-form-head-actions{display:flex;align-items:center;gap:8px}
.journal-form-head-actions .icon-mini{font-size:18px}
.journal-history-actions{display:flex;align-items:center;gap:9px}
.journal-history-card{width:100%}
.journal-page.tab-history .journal-performance{display:none}
.journal-page.tab-stats .journal-layout{display:none}
.journal-page.tab-stats .journal-performance{display:block}
.journal-page.tab-stats .journal-tabs{margin-bottom:2px}
@media(max-width:700px){.journal-page.modal-open .journal-form-card{top:10px;transform:translateX(-50%);max-height:94vh}.journal-tabs button{flex:1;padding:8px 9px;font-size:11.5px}}
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important} input[type=number]{-moz-appearance:textfield!important;appearance:textfield!important}
.notif-modal[hidden]{display:none!important}

.account-name-row{display:flex;align-items:center;gap:5px;width:100%}
.account-name-row .account-name-input{max-width:190px}
.save-name-btn{min-height:27px!important;padding:4px 8px!important;font-size:10.5px!important;white-space:nowrap}

/* Global +2px typography pass */
html{font-size:19px!important}
body{font-size:18px!important}
.landing-lead,.auth-copy .lead{font-size:18px!important}
.landing-card p,.program-card>p,.practice-copy>p,.audience-grid p,.team-card p,.faq-grid p,.landing-section-head>p{font-size:16px!important}
.landing-nav a,.landing-link{font-size:16px!important}
.landing-card h3,.audience-grid h3,.team-card h3{font-size:20px!important}
.price-card li,.billing-plan li{font-size:17px!important}
.price-audience,.billing-audience{font-size:14px!important}
.landing-footer p,.landing-footer>span,.results-note,.pricing-note{font-size:12.5px!important}
.team-tags span,.results-row.head,.landing-strip{font-size:11.5px!important}
.results-row{font-size:14px!important}
.app-shell p,.app-shell li,.app-shell .p-note{font-size:17px!important}
.app-shell label,.app-shell .field-label{font-size:15px!important}
.app-shell small,.app-shell .profile-since,.app-shell .cohort-student small,.app-shell .access-progress{font-size:13.5px!important}
.app-shell .kicker{font-size:12.5px!important}
.nav-tab{font-size:16px!important}
.practice-tab{font-size:14.5px!important}
.practice-card h2,.section-head h2{font-size:30px!important}
.profile-billing>h2{font-size:30px!important}
.billing-plan h3{font-size:24px!important}
.billing-price{font-size:27px!important}
.billing-current h3{font-size:28px!important}
.plan-price b{font-size:26px!important}
.p-input,.auth-form input,.auth-form select,.profile-form input,.profile-form select,.terminal-shell select,.terminal-shell input,.terminal-shell textarea,.asip-select-button,.asip-date-button,.asip-file-button{font-size:16px!important}
.btn,.auth-submit,.chart-action,.indicator-settings-btn,.role-btn{font-size:15px!important}
.journal-tabs button{font-size:14.5px!important}
.journal-section-title{font-size:12px!important}
.journal-meta{font-size:13px!important}
.journal-item p{font-size:14px!important}
.journal-item small{font-size:13px!important}
.trade-grid span{font-size:11px!important}
.trade-grid b{font-size:14px!important}
.journal-row{font-size:13px!important}
.journal-row.head{font-size:10.5px!important}
.asip-select-option,.asip-calendar-grid .day,.asip-calendar-week span{font-size:13px!important}
.notif-item b{font-size:14px!important}
.notif-item span{font-size:13px!important}
.notif-item small{font-size:11px!important}
.terminal-shell .book-row{font-size:14px!important}
.terminal-shell .book-head,.terminal-shell .quote-stats{font-size:13px!important}
.terminal-shell .tape-row{font-size:13px!important}
@media(max-width:900px){.app-sidebar .nav-tab{font-size:14px!important}}

.side-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

#telegramForm[hidden]{display:none!important}
