* { box-sizing: border-box; }
:root { font-family: Arial, Helvetica, sans-serif; color: #2d3035; background: #f6f6f6; font-synthesis: none; text-rendering: optimizeLegibility; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; background: #f6f6f6; }
button, a { font: inherit; }
button { border: 0; }
.app-shell { min-height: 100vh; background: #f6f6f6; }
.app-background { min-height: 100vh; filter: blur(5px); transform: scale(1.012); }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px 0 22px; background: #fff; border-bottom: 1px solid #d8d9da; }
.brand { display: block; width: 104px; height: auto; }
.topbar-actions { height: 100%; display: flex; align-items: center; gap: 16px; }
.icon-button, .menu-button { display: inline-flex; align-items: center; justify-content: center; padding: 4px; color: #12171b; background: transparent; cursor: pointer; transition: color 160ms ease, transform 160ms ease; }
.icon-button:hover, .menu-button:hover { color: #47708c; transform: translateY(-1px); }
.icon-button svg, .menu-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.topbar-divider { width: 1px; height: 48px; margin-left: 1px; background: #e1e2e3; }
.menu-button { display: none; }
.workspace { display: flex; min-height: calc(100vh - 64px); }
.sidebar { width: 256px; flex: 0 0 256px; padding: 31px 18px 32px 28px; background: #f3f4f5; }
.sidebar nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item { min-height: 41px; display: flex; align-items: center; gap: 15px; padding: 7px 10px 7px 13px; color: #30343a; border-radius: 4px; font-size: 16px; line-height: 1.35; text-decoration: none; transition: color 160ms ease, background-color 160ms ease, padding-left 160ms ease; }
.nav-item:hover { padding-left: 16px; color: #234d69; background: #e8edef; }
.nav-item svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #426c88; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.main-content { flex: 1; min-width: 0; background: #f7f7f7; }
.processing-overlay { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 32px; overflow-y: auto; background: rgba(20, 31, 39, .42); }
.processing-modal { width: min(1020px, 100%); margin: 0 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(9,23,31,.3); animation: modal-enter 420ms cubic-bezier(.2,.8,.2,1) both; max-height: 90vh; overflow-y: auto; }
.processing-intro { display: block; }
.processing-message { display: flex; flex-direction: column; justify-content: flex-start; padding: 48px 56px; color: #1e2b34; }
.modal-left { width: 100%; }
.modal-header { margin-bottom: 24px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; margin-bottom: 16px; font-size: 12px; font-weight: 700; color: #356c8b; background: #eaf3f8; border: 1px solid #c6d4db; border-radius: 20px; letter-spacing: .3px; }
.badge svg { fill: none; stroke: currentColor; }
.title { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); font-weight: 600; color: #172630; letter-spacing: -.5px; line-height: 1.15; }
.modal-subtitle { margin: 0; font-size: 14px; color: #52636d; line-height: 1.6; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-card { padding: 22px 22px 20px; border: 1px solid #e2ebee; border-radius: 14px; background: linear-gradient(180deg, #fbfdfe 0%, #f4f8fa 100%); transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.benefit-card:hover { border-color: #c6d4db; box-shadow: 0 8px 28px rgba(31,77,104,.1); transform: translateY(-2px); }
.benefit-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.benefit-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; color: #1f4d68; background: #eaf3f8; border: 1px solid #d2e2eb; }
.benefit-title { margin: 0; font-size: 14.5px; font-weight: 700; color: #172630; line-height: 1.3; }
.benefit-description { margin: 0; font-size: 13px; color: #52636d; line-height: 1.55; }
.benefit-highlights { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.highlight-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; color: #344853; }
.highlight-item svg { flex: 0 0 15px; fill: none; stroke: #2d6788; stroke-linecap: round; stroke-linejoin: round; }
.status-message { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.status-success { color: #1a6b3c; background: #e9f7ee; border: 1px solid #b8e4c8; }
.cta-section { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-support-text { margin: 0; font-size: 13.5px; color: #52636d; text-align: center; line-height: 1.5; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2d6788 0%, #1f4d68 100%); border-radius: 12px; cursor: pointer; box-shadow: 0 6px 24px rgba(31,77,104,.3); transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(31,77,104,.4); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 16px rgba(31,77,104,.3); }
.btn-primary svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.btn-private { padding: 16px 40px; font-size: 15.5px; letter-spacing: .2px; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 700px) {
  .topbar { padding: 0 16px; }
  .topbar-actions { gap: 10px; }
  .topbar-divider { display: none; }
  .menu-button { display: inline-flex; }
  .sidebar { width: 74px; flex-basis: 74px; padding: 24px 10px; }
  .nav-item { justify-content: center; padding: 10px; }
  .nav-item:hover { padding-left: 10px; }
  .nav-item span { display: none; }
  .processing-overlay { align-items: flex-start; padding: 18px 12px; }
  .processing-modal { border-radius: 14px; }
  .processing-message { padding: 30px 24px 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-section { margin-top: 22px; }
  .btn-private { width: 100%; padding: 15px 24px; }
}
