:root{
  --bg:#f4f6fb;
  --surface:#ffffff;
  --surface-soft:#f7f9fc;
  --surface-hover:#f0f3f9;
  --ink:#11131a;
  --ink-soft:#4f5668;
  --ink-muted:#7f8798;
  --border:#e2e6ef;
  --border-strong:#d3d9e5;
  --primary:#6357f1;
  --primary-strong:#4e43df;
  --primary-soft:#efefff;
  --shadow-sm:0 2px 6px rgba(19,24,39,.04),0 12px 34px rgba(19,24,39,.06);
  --shadow-md:0 20px 60px rgba(25,28,43,.10);
  font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body,button,input,select,textarea{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{font-weight:500;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

h1,h2,h3,.brand strong,.metric-card strong,.profitability-metric strong,.product-metric strong{font-weight:800;letter-spacing:-.045em;color:var(--ink)}
.eyebrow,.panel-kicker,.profile-kicker{font-weight:800;letter-spacing:.12em;color:#70778c}
.page-subtitle,.dashboard-subline,.profile-help,.profile-grid label>small,.tariff-source-card small{color:var(--ink-soft)}

.business-profile-view{margin-top:24px}
.business-profile-shell{gap:18px}
.business-profile-intro,.business-profile-form{border-color:var(--border);border-radius:26px;box-shadow:var(--shadow-sm)}
.business-profile-intro{background:radial-gradient(circle at 82% 0%,rgba(117,104,255,.28),transparent 35%),linear-gradient(150deg,#171923 0%,#232638 58%,#343959 100%)}
.business-profile-intro h2{font-size:31px;line-height:1.04}
.business-profile-intro>p{font-size:11px;line-height:1.75;color:rgba(255,255,255,.76)}
.profile-benefits>div{border-radius:14px;background:rgba(255,255,255,.065)}
.profile-benefits strong{font-size:10px}.profile-benefits small{font-size:8px}

.business-profile-form{padding:30px;background:linear-gradient(180deg,#fff 0%,#fdfdff 100%)}
.profile-form-head h3,.profile-section-title h3{font-size:19px;font-weight:800;letter-spacing:-.035em}
.profile-section-title{margin-top:30px;padding-top:27px}
.profile-section-title>small{font-size:9px;color:var(--ink-soft)}
.profile-grid{gap:14px;margin-top:16px}
.profile-grid label{gap:8px}
.profile-grid label>span{font-size:10px;font-weight:700;color:#525a6d}
.profile-grid input,.profile-grid select{height:52px;border-radius:14px;border-color:var(--border-strong);background:#fff;color:var(--ink);font-size:14px;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 2px rgba(20,26,40,.02);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.profile-grid input{padding:0 16px}.profile-grid select{padding:0 14px}
.profile-grid input:focus,.profile-grid select:focus{border-color:#776df5;box-shadow:0 0 0 4px rgba(99,87,241,.11),0 8px 24px rgba(99,87,241,.08)}
.profile-input-suffix input{padding-right:82px}.profile-input-suffix b{right:16px;font-size:10px;font-weight:700;color:#7f8798}
.profile-help{margin-top:13px;padding:13px 15px;border:1px solid #edf0f6;border-radius:13px;background:#f7f9fd;font-size:9px;line-height:1.6}

.automatic-tariffs-card{border-radius:20px!important;border:1px solid #cfdcff!important;background:linear-gradient(135deg,#f8fbff 0%,#f0f3ff 100%)!important;box-shadow:0 12px 32px rgba(68,92,180,.08)!important;padding:22px!important;gap:16px!important}
.automatic-tariffs-card .automatic-tariffs-icon{width:54px!important;height:54px!important;border-radius:16px!important;background:linear-gradient(145deg,#3f8af6,#5b55f4)!important;box-shadow:0 10px 24px rgba(73,91,237,.24)!important;font-size:23px!important}
.automatic-tariffs-card strong{font-size:14px!important;font-weight:800!important;letter-spacing:-.02em}
.automatic-tariffs-card p{font-size:10px!important;line-height:1.65!important;color:var(--ink-soft)!important}
.automatic-tariffs-card span{font-size:9px!important;font-weight:800!important;color:#326fe6!important}

.tariff-source-card{margin-top:20px;padding:18px;border-radius:18px;border-color:#d3def4;background:linear-gradient(135deg,#fbfcff,#f3f6ff);box-shadow:0 8px 24px rgba(56,77,135,.05)}
.tariff-source-card strong{font-size:12px;font-weight:800}.tariff-source-card small{font-size:9px;line-height:1.55}.tariff-source-card a{font-size:10px;font-weight:800}
.profile-actions{margin-top:26px;padding-top:24px}
.profile-actions .primary-button{min-width:260px;min-height:56px;border-radius:16px;background:linear-gradient(135deg,#6d59f4 0%,#5b4deb 52%,#5040df 100%);box-shadow:0 16px 34px rgba(89,72,230,.28);font-size:14px;font-weight:800;letter-spacing:-.015em}
.profile-actions .primary-button:hover{transform:translateY(-1px);box-shadow:0 20px 38px rgba(89,72,230,.33)}
.profile-actions .secondary-button{min-height:52px;border-radius:14px;font-weight:700}

.metric-card,.panel,.products-empty,.products-loading,.profitability-register,.products-register{border-color:var(--border);box-shadow:var(--shadow-sm)}
.metric-card{border-radius:18px}.panel{border-radius:20px}

@media(max-width:700px){
  body{background:#f2f4f9}
  .app-main{padding:18px 14px 32px}
  .business-profile-view{margin-top:12px}
  .business-profile-shell{display:block}
  .business-profile-intro{display:none}
  .business-profile-form{padding:22px 16px 20px;border-radius:24px;box-shadow:0 12px 34px rgba(28,32,48,.08)}
  .profile-form-head h3,.profile-section-title h3{font-size:24px;line-height:1.08}
  .profile-form-head .panel-kicker,.profile-section-title .panel-kicker{font-size:10px;color:#6f6cb7}
  .profile-section-title{margin-top:30px;padding-top:28px;border-color:#e1e4ec}
  .profile-section-title>small{font-size:11px;line-height:1.55}
  .profile-grid{gap:16px}
  .profile-grid label>span{font-size:12px;color:#464d5f}
  .profile-grid input,.profile-grid select{height:58px;border-radius:16px;font-size:16px}
  .profile-input-suffix b{font-size:11px}
  .profile-help{font-size:11px;padding:15px 16px}
  .automatic-tariffs-card{padding:18px!important;border-radius:20px!important;align-items:flex-start!important}
  .automatic-tariffs-card .automatic-tariffs-icon{width:48px!important;height:48px!important;flex:0 0 auto!important}
  .automatic-tariffs-card strong{font-size:15px!important;line-height:1.35!important}
  .automatic-tariffs-card p{font-size:12px!important;line-height:1.55!important}
  .automatic-tariffs-card span{font-size:11px!important}
  .tariff-source-card{padding:18px 16px;border-radius:18px}
  .tariff-source-card strong{font-size:14px}.tariff-source-card small{font-size:11px}.tariff-source-card a{font-size:12px}
  .profile-actions{position:sticky;bottom:0;z-index:10;margin:24px -16px -20px;padding:16px;background:linear-gradient(180deg,rgba(255,255,255,.55),#fff 34%);border-top:1px solid rgba(224,227,236,.9);backdrop-filter:blur(16px)}
  .profile-actions .primary-button{width:100%;min-height:60px;border-radius:18px;font-size:16px}
  .profile-actions .secondary-button{display:none}
}
