@font-face{font-family:"Inter Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/InterVariable.woff2') format('woff2')}
:root{--font-ui:"Inter Variable",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-code:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-family:var(--font-ui);font-optical-sizing:auto;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:var(--font-ui);font-size:16px;line-height:1.6;letter-spacing:-.01em}
button,input,select,textarea{font-family:var(--font-ui);letter-spacing:-.01em}
h1,h2,h3,h4{font-family:var(--font-ui);text-wrap:balance}
h1,.page-heading h1,#workspace[data-current-view=overview] .page-heading h1{font-size:clamp(29px,2.6vw,38px);font-weight:650;line-height:1.15;letter-spacing:-.045em}
h2,.panel-heading h2,.section-heading h2{font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.035em}
h3{font-size:16px;font-weight:600;line-height:1.4;letter-spacing:-.025em}
p{line-height:1.75}
.page-heading p,.generation-intro p,.panel-heading p,.section-heading p{font-size:14px;color:var(--dash-secondary);line-height:1.7}
.eyebrow,.sidebar-label,.dashboard-section-kicker{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.1em}
.sidebar .nav-item{font-size:14px;font-weight:450;letter-spacing:-.015em;line-height:1.5}
.sidebar .nav-item.active{font-weight:550}
.console-brand-text{font-weight:650;letter-spacing:.06em}
.console-brand-text small,.breadcrumb,.session-label{font-size:12px}
.nav-count,.count-badge{font-size:11px;font-weight:550;font-variant-numeric:tabular-nums}
label,.form-grid label{font-size:14px;line-height:1.5;font-weight:500;letter-spacing:-.01em}
input,select,textarea{font-size:14px;line-height:1.5}
.primary,.secondary,.text-button,.filter-toggle-btn{font-size:14px;font-weight:550;line-height:1.5;letter-spacing:-.015em}
.small,.row-action,.actions-cell-wrap .row-action{font-size:12px}
table,td{font-size:14px;line-height:1.6;letter-spacing:-.015em}
th,#all-keys-view th{font-size:11px;font-weight:600;letter-spacing:.065em;line-height:1.5}
td .key,.key,.clickable-key{font-family:var(--font-code);font-size:13px;line-height:1.7;color:var(--dash-fg);letter-spacing:0}
td .note,.note{font-size:13px;color:var(--dash-secondary);line-height:1.65;letter-spacing:-.015em}
.status-pill,.creator-pill,.devices-pill-btn{font-size:12px;line-height:1.45;font-weight:500}
.expiry-date-text,.expiry-remaining-text,.table-footer,.recent-project-name{font-size:12px}
.table-empty{font-size:14px;line-height:1.7}
#overview-view .welcome-copy h2{font-size:clamp(23px,2vw,29px);font-weight:550;letter-spacing:-.04em}
#overview-view .welcome-copy .eyebrow{font-size:11px}
#overview-view .welcome-copy p,#overview-view .overview-search-heading label{font-size:14px;line-height:1.75}
#overview-view .overview-stat>div>span{font-size:13px;font-weight:500;line-height:1.5}
#overview-view .overview-stat strong{font-size:34px;font-weight:600;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
#overview-view .overview-stat strong.stat-word{font-size:23px;font-weight:550;letter-spacing:-.035em}
#overview-view .overview-stat small{font-size:12px;color:var(--dash-secondary);line-height:1.6}
#overview-view .overview-stat{min-height:160px}
.dashboard-live{font-size:12px}
.dashboard-distribution h2,#overview-view .section-heading h2{font-size:20px;font-weight:600;letter-spacing:-.035em}
.dashboard-distribution p,.distribution-label{font-size:13px;line-height:1.7}
.distribution-total{font-size:40px;font-weight:550;letter-spacing:-.055em}
.distribution-total small{font-size:13px}
#overview-view .overview-app-card h3{font-size:15px;font-weight:550;line-height:1.5}
#overview-view .app-card-platform,#overview-view .app-card-metrics span{font-size:12px}
#overview-view .app-card-metrics strong{font-size:30px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.05em}
#overview-view .app-card-actions button{font-size:12px;font-weight:500}
#overview-view .overview-search input{font-size:13px}
#overview-view .panel-heading h2,#overview-view .quick-guide h3{font-size:17px;font-weight:550;line-height:1.5}
#overview-view .panel-heading p,#overview-view .quick-guide p,#overview-view .quick-guide li{font-size:12px;line-height:1.8}
#overview-view .recent-customer{font-size:13px;font-weight:500}
#overview-view .recent-project-name{font-size:12px}
.generation-step h3{font-size:16px;font-weight:550}
.generation-step p,.generation-intro p,.generation-custom-duration,.generation-note,.generation-summary-help{font-size:13px;line-height:1.7}
.generation-project-card strong{font-size:14px;font-weight:550}
.generation-project-card small{font-size:11px;letter-spacing:.045em}
.duration-presets button{font-size:12px;font-weight:500}
.generation-ticket-brand h2{font-size:15px;font-weight:550}
.generation-ticket dl,.generation-ticket dd,#generate-view .generation-ticket dd{font-size:13px}
.generation-ticket dt{font-size:12px}
.generation-ticket-footer{font-size:11px;line-height:1.7}
.generation-ticket-brand small,.generation-sample-key>span,.generation-sample-key small{font-size:10px;line-height:1.6}
.generation-sample-key code,#generated-keys,#reseller-output{font-family:var(--font-code);font-size:13px;line-height:1.8;letter-spacing:-.035em}
.project-card h3{font-size:16px}
.project-card p,.project-card-titles p{font-size:12px}
.account-popover>button,.account-info>div,.account-tabs button{font-size:13px;line-height:1.6}
.account-menu-heading strong,.account-setting-row h3,.edit-key-controls h3{font-size:14px;font-weight:550}
.account-menu-heading small,.account-setting-row p,.edit-key-controls p,.account-dialog footer{font-size:12px;line-height:1.75}
.account-dialog-heading h2,.dialog-heading h2{font-size:24px;font-weight:600;letter-spacing:-.04em}
.login-copy h1{font-weight:550;letter-spacing:-.05em}
.login-copy p,.login-form-wrap>p{font-size:15px;line-height:1.8}
.login-form-wrap h2{font-size:34px;font-weight:600;letter-spacing:-.045em}
.login-note,.telegram-login>a,.remember-label,.login-benefits span{font-size:13px}
.tab-btn{font-size:12px;font-weight:550}
.error{font-size:13px;line-height:1.6}
.reseller-header h1{font-family:var(--font-ui)}
#reseller-console h2{font-size:22px;font-weight:600;letter-spacing:-.035em}
#reseller-console p,#reseller-console footer{font-size:14px;line-height:1.75}
.reseller-key strong{font-family:var(--font-code);font-size:14px}
.reseller-key small,.fund-card small{font-size:12px}
.fund-card strong{font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.05em}
.main-footer{font-size:10px;letter-spacing:.035em;line-height:1.6}
.protocol-badge,.sidebar-help p,.sidebar-help strong{font-size:11px;line-height:1.7}
@media(max-width:800px){
  body{font-size:15px}
  h1,.page-heading h1,#workspace[data-current-view=overview] .page-heading h1{font-size:29px}
  .page-heading p,.panel-heading p,.section-heading p{font-size:14px;line-height:1.75;max-width:none}
  .eyebrow,.sidebar-label,.dashboard-section-kicker{font-size:10px}
  input,select,textarea,#overview-view .overview-search input{font-size:16px}
  #overview-view .overview-stat{padding:16px;min-height:165px}
  #overview-view .overview-stat>div>span{font-size:13px;min-height:36px;margin-bottom:12px}
  #overview-view .overview-stat strong{font-size:30px}
  #overview-view .overview-stat strong.stat-word{font-size:20px;line-height:30px}
  #overview-view .overview-stat small{font-size:12px;line-height:1.6}
  #overview-view .welcome-copy h2{font-size:23px}
  #overview-view .welcome-copy p{font-size:14px}
  #overview-view .overview-stat .stat-symbol{display:none}
  #overview-view .overview-stat>div{width:100%}
  #overview-view .overview-app-card h3{font-size:14px}
  .dashboard-distribution h2,#overview-view .section-heading h2{font-size:18px}
  .dashboard-distribution p,.distribution-label{font-size:13px}
  .distribution-total{font-size:36px}
  .generation-project-card strong{font-size:13px}
  .duration-presets button{font-size:12px}
  .account-tabs button{font-size:12px}
  .breadcrumb{font-size:11px}
  .main-footer{font-size:10px;letter-spacing:0}
}

/* Small helper text remains legible at normal mobile zoom. */
:is(.generation-project-card small,.generation-ticket-brand small,.generation-sample-key>span,.generation-sample-key small,.generation-ticket-footer,.generation-preview-live,.generation-note>span,.form-grid label>small,.project-card p,.project-card-titles p,.expiry-meta-grid small,.devices-dialog-meta small,.field-sublabel,.section-title,.calendar-hint,.unactivated-note,.devices-sub,.view-uuid-tag,.vault-key-label,.vault-hint-note,.vault-proj-label,.edit-device-title,.summary-label,.summary-remaining,.feature-desc-text,.plan-subhint,.table-footer,.main-footer){font-size:12px;line-height:1.6;letter-spacing:0}
:is(.device-meta-row,.expiry-meta-grid,.devices-dialog-meta,.generation-ticket dl,.stepper-custom-label,.stepper-chip,.preset-btn,.copy-uuid-btn){font-size:13px;line-height:1.6}
:is(.account-info>div,.account-tabs button,.account-popover>button,.generation-step p,.generation-custom-duration,.generation-note,.generation-summary-help){font-size:14px;line-height:1.6}
:is(.key-preview-full,.key-preview,.uuid-code){font-family:var(--font-code);font-size:13px;letter-spacing:0}
.account-setting-row p,.account-dialog footer{font-size:13px}
@media(max-width:700px){
  input,select,textarea,.filter-field select,.price-input,.calendar-input,.generation-input-unit input,#overview-view .overview-search input{font-size:16px}
  .login-form-wrap h2{font-size:30px}
  .login-form-wrap label{font-size:14px}
  .tab-btn{font-size:13px}
  .breadcrumb,.topbar .breadcrumb{font-size:13px}
  .section-heading>.text-button,.recent-panel .panel-heading>.text-button{font-size:13px;max-width:none}
  #overview-view :is(.quick-guide p,.quick-guide li,.panel-heading p){font-size:13px}
  #overview-view .app-card-actions button{font-size:13px}
}

#generate-view .duration-presets button{font-size:13px}
#generate-view .generation-summary-help{font-size:14px}
#generate-view .form-grid label small{font-size:12px}
:root :is(.primary,.secondary,.text-button){font-size:14px}
:root :is(.project-toolbar>.text-button,.generation-summary .secondary){font-size:13px}
:root :is(.stat-label,.stats article>span){font-size:12px;letter-spacing:0;line-height:1.6}
:root dialog :is(p,label){font-size:14px}
:root dialog :is(.eyebrow,.field-sublabel,.generated-key-label){font-size:12px}
:root .dialog-heading h2{font-size:24px}

:root :is(.filter-field label,.project-badge-unit .badge-stack label){font-size:12px}
:root .generation-summary .secondary.wide{font-size:13px}
:root :is(.generation-submit p,.generation-submit p small,.bottom-grid p){font-size:13px}

:root .sidebar .sidebar-help p{font-size:12px}
#generate-view .generation-summary .secondary.wide{font-size:13px}

@media(max-width:700px){
  :root :is(input,select,textarea){font-size:16px}
  :root #generated-keys,:root #reseller-output{font-size:16px}
}
