:root {
  --akaar1-bg: #040713;
  --akaar1-bg-2: #0b1430;
  --akaar1-panel: rgba(5, 11, 27, 0.92);
  --akaar1-panel-soft: rgba(14, 20, 44, 0.78);
  --akaar1-line: rgba(255, 255, 255, 0.12);
  --akaar1-text: #f4f5fb;
  --akaar1-muted: #c1c7db;
  --akaar1-gold: #f3bf45;
  --akaar1-gold-soft: rgba(243, 191, 69, 0.12);
  --akaar1-danger: #ff8282;
  --akaar1-warning: #f6d97a;
  --akaar1-success: #86d38e;
}

* {
  box-sizing: border-box;
}

.akaar1-app-shell {
  min-height: 100vh;
  color: var(--akaar1-text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 30%, rgba(49, 72, 150, 0.28), transparent 34%),
    linear-gradient(180deg, #05070d 0%, #091126 100%);
}

.akaar1-app-shell--bleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.akaar1-app {
  width: min(1680px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 12px 40px;
}

.akaar1-topbar,
.akaar1-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 12px 18px;
  border: 1px solid var(--akaar1-line);
  border-radius: 16px;
  background: rgba(3, 6, 16, 0.9);
}

.akaar1-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
}

.akaar1-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffd86b, #f0b43a);
  color: #1d1605;
  font-size: 24px;
}

.akaar1-market-badge,
.akaar1-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--akaar1-gold-soft);
  border: 1px solid rgba(243, 191, 69, 0.3);
  color: var(--akaar1-gold);
  font-size: 13px;
  font-weight: 700;
}

.akaar1-nav,
.akaar1-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.akaar1-nav button,
.akaar1-toolbar-actions button,
.akaar1-chip,
.akaar1-button,
.akaar1-ghost-button {
  border: 1px solid var(--akaar1-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--akaar1-text);
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.akaar1-button {
  background: linear-gradient(180deg, #ffd55f, #e9b83a);
  color: #151007;
  border-color: rgba(255, 212, 95, 0.4);
  font-weight: 700;
}

.akaar1-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.akaar1-ghost-button {
  background: transparent;
}

.akaar1-chip-danger,
.akaar1-button-danger {
  border-color: rgba(255, 130, 130, 0.4);
  background: rgba(255, 130, 130, 0.12);
  color: #ffd2d2;
}

.akaar1-auth-shell,
.akaar1-setup-shell {
  width: min(920px, 94vw);
  margin: 0 auto;
  padding: 30px 0 50px;
}

.akaar1-centered-brand {
  text-align: center;
  margin-bottom: 22px;
}

.akaar1-centered-brand .akaar1-brand-mark {
  margin: 0 auto 12px;
  width: 88px;
  height: 88px;
  font-size: 40px;
}

.akaar1-centered-brand h1,
.akaar1-panel h2,
.akaar1-dashboard-title,
.akaar1-editor-title {
  margin: 0;
}

.akaar1-centered-brand h1 {
  font-size: 56px;
}

.akaar1-tagline {
  margin: 10px 0 0;
  color: var(--akaar1-muted);
  font-size: 22px;
}

.akaar1-panel {
  border: 1px solid var(--akaar1-line);
  border-radius: 18px;
  background: var(--akaar1-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.akaar1-panel.pad-lg {
  padding: 24px;
}

.akaar1-panel.pad-xl {
  padding: 28px;
}

.akaar1-legal-box {
  max-height: 230px;
  overflow: auto;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--akaar1-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.55;
}

.akaar1-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  color: var(--akaar1-muted);
}

.akaar1-footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
  color: var(--akaar1-muted);
  font-size: 14px;
}

.akaar1-card-grid,
.akaar1-plan-grid,
.akaar1-action-grid,
.akaar1-product-grid,
.akaar1-packaging-grid,
.akaar1-method-grid {
  display: grid;
  gap: 14px;
}

.akaar1-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.akaar1-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akaar1-action-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akaar1-product-grid,
.akaar1-packaging-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akaar1-method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.akaar1-select-card,
.akaar1-plan-card,
.akaar1-action-card,
.akaar1-method-card,
.akaar1-summary-card,
.akaar1-side-card {
  border: 1px solid var(--akaar1-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.akaar1-select-card.is-active,
.akaar1-plan-card.is-active,
.akaar1-action-card.is-active,
.akaar1-method-card.is-active {
  border-color: rgba(243, 191, 69, 0.8);
  box-shadow: inset 0 0 0 1px rgba(243, 191, 69, 0.6);
  background: rgba(243, 191, 69, 0.08);
}

.akaar1-select-card .icon,
.akaar1-action-card .icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(243, 191, 69, 0.1);
  color: var(--akaar1-gold);
  font-size: 24px;
  margin-bottom: 10px;
}

.akaar1-form-grid {
  display: grid;
  gap: 14px;
}

.akaar1-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.akaar1-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--akaar1-muted);
  font-size: 14px;
}

.akaar1-input,
.akaar1-select,
.akaar1-textarea {
  width: 100%;
  border: 1px solid var(--akaar1-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--akaar1-text);
  padding: 12px 14px;
  font: inherit;
}

.akaar1-textarea {
  min-height: 88px;
  resize: vertical;
}

.akaar1-helper,
.akaar1-muted,
.akaar1-table-empty {
  color: var(--akaar1-muted);
}

.akaar1-error {
  color: var(--akaar1-danger);
  margin-top: 10px;
}

.akaar1-dashboard-layout,
.akaar1-config-layout,
.akaar1-editor-layout {
  display: grid;
  gap: 18px;
}

.akaar1-dashboard-layout {
  grid-template-columns: 1.6fr 0.8fr;
}

.akaar1-config-layout {
  grid-template-columns: 1.7fr 0.9fr;
}

.akaar1-editor-layout {
  grid-template-columns: 320px minmax(0, 1fr) 320px;
}

.akaar1-editor-layout > * {
  min-width: 0;
}

.akaar1-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.akaar1-table-wrap {
  border: 1px solid var(--akaar1-line);
  border-radius: 14px;
  overflow: hidden;
}

.akaar1-table th,
.akaar1-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.akaar1-table tr:last-child td {
  border-bottom: 0;
}

.akaar1-editor-left,
.akaar1-editor-right,
.akaar1-canvas-panel {
  border: 1px solid var(--akaar1-line);
  border-radius: 16px;
  background: var(--akaar1-panel-soft);
}

.akaar1-editor-left,
.akaar1-editor-right {
  padding: 18px;
}

.akaar1-section-block {
  margin-bottom: 20px;
}

.akaar1-section-block h3 {
  margin: 0 0 12px;
}

.akaar1-lock-item,
.akaar1-issue-card {
  border: 1px solid var(--akaar1-line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.akaar1-canvas-panel {
  padding: 16px;
}

.akaar1-canvas-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--akaar1-muted);
  font-size: 13px;
}

.akaar1-canvas {
  min-height: 760px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    #f7f4ea;
  background-size: 22px 22px;
  border-radius: 14px;
  border: 1px solid #d7dbe4;
  overflow: hidden;
}

.akaar1-html-canvas-wrap {
  min-height: 100%;
  padding: 0;
  background: #070a12;
}

.akaar1-html-canvas-frame {
  display: block;
  width: 1200px;
  height: 800px;
  background: #ffffff;
  border: 1px solid #d7dbe4;
  box-shadow: 0 18px 40px rgba(18, 28, 56, 0.12);
  pointer-events: none;
}

.akaar1-template-viewport {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(31, 46, 102, 0.16), transparent 32%),
    #070a12;
  cursor: grab;
}

.akaar1-template-viewport:active {
  cursor: grabbing;
}

.akaar1-template-stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  will-change: transform;
}

.akaar1-black-stage {
  position: absolute;
  inset: 54px 56px 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(243, 191, 69, 0.06);
}

.akaar1-design-block {
  position: absolute;
  border: 0;
  min-width: 120px;
  max-width: 70%;
  background: transparent;
  cursor: move;
  line-height: 1.15;
  white-space: pre-wrap;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
}

.akaar1-design-block.is-selected {
  outline: 2px solid rgba(243, 191, 69, 0.75);
  outline-offset: 4px;
}

.akaar1-design-block.is-shape {
  min-width: 48px;
  min-height: 48px;
}

.akaar1-design-block.is-line {
  min-height: 4px;
}

.akaar1-design-image {
  padding: 0;
  background: transparent;
}

.akaar1-design-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.akaar1-resize-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--akaar1-gold);
  border: 2px solid #0b0d12;
  cursor: nwse-resize;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.akaar1-editor-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.akaar1-app--designer {
  width: min(1880px, calc(100vw - 20px));
}

.akaar1-designer-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.akaar1-designer-sidebar,
.akaar1-designer-stage-wrap {
  border: 1px solid var(--akaar1-line);
  border-radius: 20px;
  overflow: hidden;
}

.akaar1-designer-sidebar {
  padding: 18px;
  max-height: calc(100vh - 150px);
  overflow: auto;
}

.akaar1-designer-stage-wrap {
  min-height: calc(100vh - 150px);
}

.akaar1-app--designer.is-focus {
  width: min(100vw, calc(100vw - 8px));
  padding: 4px;
}

.akaar1-app--designer.is-focus .akaar1-designer-shell {
  grid-template-columns: 320px minmax(0, 1fr);
}

.akaar1-app--designer.is-focus .akaar1-designer-stage-wrap {
  min-height: calc(100vh - 24px);
}

.akaar1-app--designer.is-focus .akaar1-designer-canvas {
  min-height: calc(100vh - 88px);
}

.akaar1-app--designer.is-focus .akaar1-black-stage--full {
  min-height: calc(100vh - 140px);
}

.akaar1-designer-stage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.akaar1-designer-stage-toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.akaar1-designer-topmenu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.akaar1-designer-canvas {
  position: relative;
  min-height: calc(100vh - 230px);
  padding: 42px 18px 18px 42px;
  background:
    radial-gradient(circle at 50% 20%, rgba(24, 37, 82, 0.26), transparent 24%),
    linear-gradient(180deg, #050914 0%, #03060d 100%);
}

.akaar1-black-stage--full {
  position: relative;
  inset: auto;
  min-height: calc(100vh - 290px);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 12px 12px;
}

.akaar1-canvas-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(243, 191, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 191, 69, 0.06) 1px, transparent 1px);
  background-size: 12px 12px, 12px 12px, 60px 60px, 60px 60px;
  opacity: 0.95;
}

.akaar1-layer-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.akaar1-layer-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--akaar1-text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.akaar1-layer-item span {
  color: var(--akaar1-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.akaar1-layer-item.is-active {
  border-color: rgba(243, 191, 69, 0.65);
  box-shadow: 0 0 0 1px rgba(243, 191, 69, 0.3);
  background: rgba(243, 191, 69, 0.08);
}

.akaar1-hidden-input {
  display: none;
}

.akaar1-template-library-card {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.akaar1-template-library-card:hover {
  border-color: rgba(243, 191, 69, 0.45);
  box-shadow: 0 0 0 1px rgba(243, 191, 69, 0.18);
}

.akaar1-template-cta {
  display: inline-block;
  margin-top: 10px;
  color: var(--akaar1-gold);
  font-weight: 700;
}

.akaar1-draw-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.akaar1-design-path {
  padding: 0;
  background: transparent;
}

.akaar1-design-path svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.akaar1-ruler {
  position: absolute;
  display: grid;
  color: rgba(255,255,255,0.54);
  font-size: 10px;
  pointer-events: none;
  z-index: 2;
}

.akaar1-ruler-top {
  left: 42px;
  right: 18px;
  top: 12px;
  grid-template-columns: repeat(11, 1fr);
}

.akaar1-ruler-left {
  left: 10px;
  top: 42px;
  bottom: 18px;
  width: 22px;
  grid-template-rows: repeat(11, 1fr);
}

.akaar1-ruler-left span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.akaar1-snap-guide {
  position: absolute;
  background: rgba(243, 191, 69, 0.85);
  box-shadow: 0 0 0 1px rgba(243, 191, 69, 0.15);
  z-index: 4;
  pointer-events: none;
}

.akaar1-snap-guide.is-vertical {
  top: 0;
  bottom: 0;
  width: 2px;
}

.akaar1-snap-guide.is-horizontal {
  left: 0;
  right: 0;
  height: 2px;
}

.akaar1-safe-area {
  position: absolute;
  inset: 36px;
  border: 2px dashed #b8bec8;
}

.akaar1-node {
  position: absolute;
  left: 58px;
  right: 58px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d6dae1;
  background: rgba(255, 255, 255, 0.96);
  color: #1d2433;
}

.akaar1-node.brand {
  top: 74px;
  text-align: center;
  font-size: 54px;
  font-weight: 800;
  color: #1f52b7;
}

.akaar1-node.generic {
  top: 170px;
  text-align: center;
  font-size: 18px;
}

.akaar1-node.strength {
  top: 228px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.akaar1-node.flavor {
  top: 286px;
  text-align: center;
  background: #f0a8b5;
}

.akaar1-node.drugfacts {
  top: 350px;
  min-height: 180px;
}

.akaar1-node.warning {
  top: 548px;
  min-height: 86px;
  border-color: rgba(243, 191, 69, 0.8);
  box-shadow: 0 0 0 4px rgba(243, 191, 69, 0.18);
}

.akaar1-node.barcode {
  top: 648px;
  left: auto;
  right: 70px;
  width: 220px;
}

.akaar1-status {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-weight: 700;
}

.akaar1-status.pass {
  background: rgba(134, 211, 142, 0.18);
  color: var(--akaar1-success);
}

.akaar1-status.warning {
  background: rgba(246, 217, 122, 0.18);
  color: var(--akaar1-warning);
}

.akaar1-status.critical {
  background: rgba(255, 130, 130, 0.18);
  color: var(--akaar1-danger);
}

.akaar1-modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 30px 16px;
  background: rgba(2, 6, 16, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.akaar1-modal {
  width: min(720px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--akaar1-line);
  border-radius: 18px;
  background: rgba(8, 14, 32, 0.98);
  padding: 22px;
}

.akaar1-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.akaar1-export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.akaar1-download-card {
  border: 1px solid var(--akaar1-line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.akaar1-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  font-size: 20px;
}

@media (max-width: 1180px) {
  .akaar1-dashboard-layout,
  .akaar1-config-layout,
  .akaar1-editor-layout,
  .akaar1-designer-shell {
    grid-template-columns: 1fr;
  }

  .akaar1-designer-sidebar {
    max-height: none;
  }
}

@media (max-width: 900px) {
  .akaar1-card-grid,
  .akaar1-plan-grid,
  .akaar1-action-grid,
  .akaar1-product-grid,
  .akaar1-packaging-grid,
  .akaar1-method-grid,
  .akaar1-form-grid.two,
  .akaar1-export-grid {
    grid-template-columns: 1fr;
  }

  .akaar1-centered-brand h1 {
    font-size: 42px;
  }

  .akaar1-tagline {
    font-size: 18px;
  }
}

/* Visual refinement pass for screenshot parity */
.akaar1-app-shell {
  background:
    radial-gradient(circle at 50% 32%, rgba(50, 70, 150, 0.22), transparent 22%),
    radial-gradient(circle at 50% 70%, rgba(34, 50, 110, 0.16), transparent 28%),
    linear-gradient(180deg, #020407 0%, #030812 100%);
  position: relative;
  overflow: hidden;
}

.akaar1-app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(28, 38, 91, 0.24), transparent 26%),
    radial-gradient(circle at 48% 55%, rgba(45, 58, 124, 0.2), transparent 22%);
  pointer-events: none;
}

.akaar1-app,
.akaar1-auth-shell,
.akaar1-setup-shell {
  position: relative;
  z-index: 1;
}

.akaar1-screen {
  padding-top: 56px;
}

.akaar1-centered-brand-hero {
  margin-bottom: 26px;
}

.akaar1-brand-mark,
.akaar1-brand-mark-hero {
  background: transparent;
  color: var(--akaar1-gold);
  border: 0;
  box-shadow: none;
}

.akaar1-brand-mark {
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.akaar1-brand-mark-hero {
  width: 118px;
  height: 118px;
  font-size: 76px;
}

.akaar1-centered-brand h1 {
  font-size: clamp(52px, 5vw, 84px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.akaar1-tagline {
  font-size: clamp(18px, 1.8vw, 28px);
  color: #d4d9e6;
}

.akaar1-panel-glass,
.akaar1-topbar,
.akaar1-editor-topbar,
.akaar1-editor-left,
.akaar1-editor-right,
.akaar1-canvas-panel,
.akaar1-side-card,
.akaar1-modal {
  background:
    linear-gradient(180deg, rgba(5, 9, 22, 0.96), rgba(4, 8, 20, 0.88)),
    radial-gradient(circle at 50% 50%, rgba(46, 61, 127, 0.12), transparent 38%);
  border-color: rgba(245, 210, 120, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.akaar1-topbar,
.akaar1-editor-topbar {
  padding: 10px 18px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  margin-bottom: 28px;
}

.akaar1-inline-brand {
  margin-bottom: 12px;
}

.akaar1-nav button,
.akaar1-toolbar-actions button,
.akaar1-chip,
.akaar1-ghost-button {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.akaar1-button {
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(233, 184, 58, 0.18);
}

.akaar1-gold-title,
.akaar1-step-label,
.akaar1-inner-title,
.akaar1-side-card h3,
.akaar1-panel h3 {
  color: #f3c75d;
}

.akaar1-step-label {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akaar1-panel h2,
.akaar1-dashboard-title {
  font-size: clamp(34px, 3vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.akaar1-panel h3,
.akaar1-side-card h3,
.akaar1-editor-left h3,
.akaar1-editor-right h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
}

.akaar1-card-grid,
.akaar1-plan-grid,
.akaar1-action-grid,
.akaar1-product-grid,
.akaar1-packaging-grid {
  gap: 14px;
}

.akaar1-select-card,
.akaar1-plan-card,
.akaar1-action-card,
.akaar1-method-card {
  min-height: 150px;
  text-align: left;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: 180ms ease;
}

.akaar1-action-card {
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.akaar1-action-card h3,
.akaar1-select-card h3,
.akaar1-method-card strong {
  margin: 8px 0 8px;
  color: #f3f5fb;
  font-size: 18px;
  font-weight: 500;
}

.akaar1-select-card .icon,
.akaar1-action-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(243, 191, 69, 0.12);
  font-size: 20px;
  margin-bottom: 4px;
}

.akaar1-select-card.is-active,
.akaar1-plan-card.is-active,
.akaar1-action-card.is-active,
.akaar1-method-card.is-active {
  background:
    radial-gradient(circle at 40% 30%, rgba(243, 191, 69, 0.12), transparent 40%),
    rgba(243, 191, 69, 0.05);
  border-color: rgba(243, 191, 69, 0.85);
  box-shadow: inset 0 0 0 1px rgba(243, 191, 69, 0.5), 0 0 22px rgba(243, 191, 69, 0.08);
}

.akaar1-dashboard-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.akaar1-note-star {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--akaar1-gold);
  background: rgba(243, 191, 69, 0.08);
}

.akaar1-dashboard-note-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 500;
}

.akaar1-snapshot-panel ul {
  padding-left: 22px;
  line-height: 1.8;
}

.akaar1-snapshot-link {
  margin-top: 18px;
  color: #f3c75d;
  font-size: 15px;
}

.akaar1-table-wrap {
  background: rgba(255, 255, 255, 0.02);
}

.akaar1-table th {
  font-size: 13px;
  font-weight: 500;
  color: #c0c8dc;
}

.akaar1-table td {
  font-size: 14px;
  color: #e9edf6;
}

.akaar1-config-modal .akaar1-modal-head {
  align-items: flex-start;
}

.akaar1-inner-title {
  margin-bottom: 14px;
  font-size: 16px;
}

.akaar1-side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.akaar1-linkish {
  border: 0;
  background: transparent;
  color: #f3c75d;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.akaar1-method-card p,
.akaar1-action-card p,
.akaar1-select-card p,
.akaar1-plan-card li,
.akaar1-panel p,
.akaar1-field label,
.akaar1-muted {
  font-size: 14px;
  line-height: 1.45;
}

.akaar1-plan-card {
  min-height: 290px;
}

.akaar1-plan-card p strong {
  font-size: 24px;
  font-weight: 700;
  color: #f3c75d;
}

.akaar1-plan-card ul {
  margin: 0;
  padding-left: 18px;
}

.akaar1-input,
.akaar1-select,
.akaar1-textarea {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
}

.akaar1-editor-layout {
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 14px;
}

.akaar1-editor-left,
.akaar1-editor-right,
.akaar1-canvas-panel {
  border-radius: 12px;
}

.akaar1-editor-left {
  padding: 16px 16px 18px;
}

.akaar1-section-block {
  margin-bottom: 18px;
}

.akaar1-field {
  margin-bottom: 11px;
}

.akaar1-lock-item,
.akaar1-issue-card {
  padding: 10px 12px;
  border-radius: 10px;
}

.akaar1-canvas-panel {
  padding: 12px;
}

.akaar1-canvas-head {
  font-size: 12px;
}

.akaar1-canvas {
  min-height: 860px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    #fbfaf5;
  background-size: 18px 18px;
}

.akaar1-canvas-handle {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 58px;
  height: 20px;
  border-radius: 999px;
  background: #2f3344;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.akaar1-canvas-handle::after {
  content: "● ● ●";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 8px;
  letter-spacing: 3px;
  color: #b9c2d6;
}

.akaar1-safe-area {
  inset: 32px;
  border-radius: 8px;
}

.akaar1-node {
  left: 72px;
  right: 72px;
  border-radius: 2px;
  padding: 10px 12px;
}

.akaar1-node.brand {
  top: 88px;
  font-size: 64px;
}

.akaar1-node.generic {
  top: 190px;
  font-size: 17px;
}

.akaar1-node.strength {
  top: 244px;
  font-size: 22px;
}

.akaar1-node.flavor {
  top: 298px;
  padding: 9px 12px;
  background: #eca6b5;
  font-size: 16px;
}

.akaar1-node.drugfacts {
  top: 365px;
  min-height: 225px;
}

.akaar1-node.warning {
  top: 646px;
  min-height: 96px;
  background: #f5d76e;
}

.akaar1-node.barcode {
  top: 748px;
  width: 180px;
  min-height: 76px;
}

.akaar1-editor-right .akaar1-button,
.akaar1-editor-right .akaar1-ghost-button {
  font-size: 15px;
}

.akaar1-status {
  font-size: 16px;
}

.akaar1-modal {
  width: min(780px, 96vw);
}

.akaar1-auth-shell,
.akaar1-setup-shell {
  width: min(1320px, calc(100vw - 48px));
  padding: 42px 0 64px;
}

.akaar1-centered-brand {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.akaar1-centered-brand h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1.08;
  text-wrap: balance;
}

.akaar1-signup-panel,
.akaar1-auth-shell .akaar1-panel,
.akaar1-setup-shell .akaar1-panel {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.akaar1-signup-panel .akaar1-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.akaar1-signup-panel .akaar1-form-grid.two {
  grid-column: span 2;
}

.akaar1-dual-screen {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px;
  align-items: start;
}

.akaar1-dual-screen > .akaar1-panel {
  min-width: 0;
}

.akaar1-dual-screen .akaar1-centered-brand h1 {
  max-width: 640px;
  font-size: clamp(32px, 2.8vw, 54px);
}

.akaar1-dual-screen .akaar1-tagline {
  max-width: 620px;
  font-size: clamp(15px, 1.4vw, 20px);
}

.akaar1-dual-screen .akaar1-plan-grid {
  grid-template-columns: repeat(3, minmax(165px, 1fr));
}

.akaar1-dashboard-layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.85fr);
}

.akaar1-config-layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.95fr);
}

.akaar1-action-grid {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
}

.akaar1-product-grid,
.akaar1-packaging-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.akaar1-select-card,
.akaar1-plan-card,
.akaar1-action-card,
.akaar1-method-card,
.akaar1-side-card {
  overflow: hidden;
}

.akaar1-action-card h3,
.akaar1-select-card h3,
.akaar1-method-card strong,
.akaar1-plan-card h3 {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.akaar1-panel h2,
.akaar1-dashboard-title {
  font-size: clamp(30px, 2.7vw, 48px);
  line-height: 1.08;
}

.akaar1-tagline {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1420px) {
  .akaar1-editor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .akaar1-dashboard-note {
    grid-template-columns: 1fr;
  }

  .akaar1-dual-screen,
  .akaar1-editor-layout,
  .akaar1-dashboard-layout,
  .akaar1-config-layout {
    grid-template-columns: 1fr;
  }

  .akaar1-canvas {
    min-height: 680px;
  }
}

@media (max-width: 1480px) {
  .akaar1-dual-screen {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .akaar1-topbar,
  .akaar1-editor-topbar {
    border-radius: 0;
    padding: 12px;
  }

  .akaar1-signup-panel .akaar1-form-grid,
  .akaar1-signup-panel .akaar1-form-grid.two,
  .akaar1-dual-screen {
    grid-template-columns: 1fr !important;
  }

  .akaar1-auth-shell,
  .akaar1-setup-shell {
    width: min(94vw, 720px);
  }

  .akaar1-app {
    width: min(100vw - 24px, 100%);
    padding-left: 8px;
    padding-right: 8px;
  }

  .akaar1-panel h2,
  .akaar1-dashboard-title {
    font-size: 34px;
  }

  .akaar1-node {
    left: 24px;
    right: 24px;
  }

  .akaar1-node.brand {
    font-size: 42px;
  }

  .akaar1-node.barcode {
    right: 24px;
  }
}
