/* Auto Lease Calculator Styles - Calculator.net Clone */

.ale-page-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 15px 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  box-sizing: border-box;
}

/* Top Utility Bar */
.ale-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.ale-breadcrumbs {
  color: #0844a4;
}

.ale-breadcrumbs a {
  color: #0844a4;
  text-decoration: none;
}

.ale-breadcrumbs a:hover {
  text-decoration: underline;
}

.ale-breadcrumbs .sep {
  color: #666666;
  margin: 0 4px;
}

.ale-breadcrumbs .current {
  color: #333333;
}

.ale-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ale-top-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-family: inherit;
  color: #0844a4;
  cursor: pointer;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ale-top-btn:hover {
  color: #002266;
}

.ale-badge-btn {
  background: #f4f6f8;
  border: 1px solid #b5c7d8;
  color: #003366;
  font-size: 11.5px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ale-badge-btn:hover {
  background: #e2eaf2;
}

/* Page Title & Intro */
.ale-page-title {
  font-size: 24px;
  color: #003366;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding: 0;
}

.ale-intro-text {
  font-size: 13px;
  line-height: 1.55;
  color: #333333;
  margin: 0 0 18px 0;
}

.ale-intro-text a {
  color: #0844a4;
  text-decoration: none;
}

.ale-intro-text a:hover {
  text-decoration: underline;
}

/* Main Layout Grid */
.ale-main-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.ale-content-col {
  flex: 1;
  min-width: 0;
}

.ale-calc-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

/* Form Container */
.ale-form-container {
  width: 320px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Calculator.net Signature Tabs */
.ale-tabs {
  display: flex;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.ale-tab {
  padding: 6px 14px;
  font-size: 12.5px;
  cursor: pointer;
  border: 1px solid #c1c9d3;
  text-decoration: none;
  display: inline-block;
  user-select: none;
}

.ale-tab.active {
  background-color: #f4f6f8;
  color: #000000;
  font-weight: bold;
  border-bottom: 1px solid #f4f6f8;
}

.ale-tab.inactive {
  background-color: #2b5a88;
  color: #ffffff;
  border-color: #2b5a88;
  font-weight: bold;
}

.ale-tab.inactive:hover {
  background-color: #214467;
}

.ale-form-box {
  background-color: #f4f6f8;
  border: 1px solid #c1c9d3;
  padding: 12px 14px;
  box-sizing: border-box;
}

.ale-form-table {
  width: 100%;
  border-collapse: collapse;
}

.ale-form-table td {
  padding: 5px 2px;
  font-size: 12.5px;
  vertical-align: middle;
}

.ale-form-table td:first-child {
  width: 52%;
  color: #222222;
}

.ale-form-table td:last-child {
  width: 48%;
}

.ale-help-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: #0844a4;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 13px;
  cursor: help;
  margin-left: 2px;
  vertical-align: middle;
}

.ale-input-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid #999999;
  background-color: #ffffff;
  border-radius: 2px;
  padding: 0 4px;
  height: 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 145px;
}

.ale-input-group:focus-within {
  border-color: #0844a4;
  outline: 1px solid #0844a4;
}

.ale-input-symbol,
.ale-input-unit {
  font-size: 12px;
  color: #555555;
  user-select: none;
}

.ale-input-symbol {
  margin-right: 3px;
}

.ale-input-unit {
  margin-left: 3px;
}

.ale-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  font-family: inherit;
  color: #000000;
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.ale-select {
  border: 1px solid #999999;
  border-radius: 2px;
  height: 24px;
  font-size: 11.5px;
  font-family: inherit;
  width: 100%;
  max-width: 145px;
  padding: 0 3px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.ale-hint-text {
  display: block;
  font-size: 10.5px;
  color: #666666;
  margin-top: 2px;
}

/* Button Row */
.ale-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ale-btn-calculate {
  background-color: #5b9a38;
  color: #ffffff;
  border: 1px solid #4a802d;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.ale-btn-calculate:hover {
  background-color: #4a802d;
}

.ale-btn-clear {
  background-color: #e4e7eb;
  color: #333333;
  border: 1px solid #b5bec8;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.ale-btn-clear:hover {
  background-color: #d2d8e0;
}

/* Results Box */
.ale-results-container {
  flex: 1;
  min-width: 320px;
  border: 1px solid #b7c4d3;
  background-color: #ffffff;
  box-sizing: border-box;
}

.ale-results-header {
  background-color: #3d7a26;
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
}

.ale-results-header-text {
  display: inline-block;
}

.ale-save-btn {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #14532d;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ale-save-btn:hover {
  background: #dcfce7;
}

.ale-results-body {
  padding: 12px 14px;
}

.ale-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.ale-breakdown-table td {
  padding: 5px 4px;
}

.ale-breakdown-table tr:nth-child(even) {
  background-color: #f7f9fa;
}

.ale-breakdown-table .label {
  color: #333333;
  width: 65%;
}

.ale-breakdown-table .val {
  font-weight: bold;
  text-align: right;
  color: #000000;
  width: 35%;
}

.ale-breakdown-table tr.separator td {
  border-bottom: 1px solid #c9d5e2;
  padding: 2px 0;
}

.ale-breakdown-table tr.highlight-row {
  background-color: #eaf3ff;
}

.ale-breakdown-table tr.highlight-row .val {
  color: #0844a4;
  font-size: 13.5px;
}

/* Charts Section in Results */
.ale-charts-section {
  margin-top: 16px;
  border-top: 1px solid #e0e5eb;
  padding-top: 12px;
}

.ale-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ale-chart-box {
  background: #fafbfc;
  border: 1px solid #e5e9ee;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.ale-chart-title {
  font-size: 12px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 8px;
}

.ale-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ale-donut-svg {
  width: 95px;
  height: 95px;
}

.ale-legend {
  font-size: 11px;
  text-align: left;
  line-height: 1.6;
}

.ale-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ale-legend-box {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.ale-legend-box.depreciation { background-color: #2b5a88; }
.ale-legend-box.finance { background-color: #e67e22; }
.ale-legend-box.tax { background-color: #27ae60; }
.ale-legend-box.down { background-color: #8e44ad; }
.ale-legend-box.residual { background-color: #16a085; }

/* Schedule Section */
.ale-schedule-section {
  background-color: #ffffff;
  border: 1px solid #b7c4d3;
  margin-top: 20px;
  box-sizing: border-box;
}

.ale-schedule-header {
  background-color: #24588e;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
}

.ale-schedule-tabs {
  display: flex;
  border-bottom: 1px solid #d0d7de;
  background-color: #f4f6f8;
  padding: 6px 12px 0;
  gap: 4px;
}

.ale-schedule-tab {
  padding: 5px 14px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  background-color: transparent;
  color: #0844a4;
  user-select: none;
}

.ale-schedule-tab.active {
  background-color: #ffffff;
  color: #000000;
  font-weight: bold;
  border: 1px solid #d0d7de;
  border-bottom: 1px solid #ffffff;
  margin-bottom: -1px;
}

.ale-schedule-body {
  padding: 12px;
}

.ale-schedule-grid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ale-table-wrap {
  flex: 1;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #e1e4e8;
}

.ale-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ale-schedule-table th {
  background-color: #eaf1f7;
  color: #003366;
  padding: 6px 8px;
  border: 1px solid #d1d9e2;
  text-align: right;
  position: sticky;
  top: 0;
  z-index: 1;
}

.ale-schedule-table th:first-child {
  text-align: center;
}

.ale-schedule-table td {
  padding: 5px 8px;
  border: 1px solid #e1e4e8;
  text-align: right;
}

.ale-schedule-table td:first-child {
  text-align: center;
  font-weight: bold;
}

.ale-schedule-table tr:nth-child(even) {
  background-color: #f9fbfc;
}

.ale-line-chart-wrap {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid #e1e4e8;
  background-color: #fafbfc;
  padding: 10px;
  box-sizing: border-box;
}

.ale-line-chart-title {
  font-size: 12px;
  font-weight: bold;
  color: #003366;
  text-align: center;
  margin-bottom: 6px;
}

.ale-line-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 8px;
}

.ale-line-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ale-line-indicator {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 1px;
}

.ale-line-indicator.balance { background-color: #2b5a88; }
.ale-line-indicator.payments { background-color: #27ae60; }
.ale-line-indicator.residual { background-color: #e67e22; }

.ale-line-svg {
  width: 100%;
  height: 200px;
}

/* Fraction Arithmetic & Lease Ratio Box (Requirement 1 & 5) */
.ale-fraction-box {
  margin-top: 24px;
  background-color: #f7f9fa;
  border: 1px solid #b7c4d3;
  padding: 14px 16px;
  box-sizing: border-box;
}

.ale-fraction-header {
  font-size: 14px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 6px;
}

.ale-fraction-desc {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.45;
  margin-bottom: 12px;
}

.ale-fraction-ratios-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.ale-fraction-ratio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333333;
}

.ale-ratio-pill {
  background-color: #e2e8f0;
  color: #0f172a;
  font-family: monospace;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.ale-fraction-calc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.fraction-stacked-input {
  display: inline-flex;
  flex-direction: column;
  width: 65px;
  text-align: center;
}

.fraction-stacked-input input {
  width: 100%;
  height: 26px;
  text-align: center;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  box-sizing: border-box;
}

.fraction-divider-line {
  height: 2px;
  background-color: #334155;
  margin: 3px 0;
  border-radius: 1px;
}

.fraction-op-select {
  height: 32px;
  font-size: 15px;
  font-weight: bold;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  padding: 0 4px;
}

.fraction-equal-sign {
  font-size: 20px;
  font-weight: bold;
  color: #1e293b;
}

.fraction-result-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 12px;
  min-width: 90px;
}

.fraction-res-value {
  font-size: 15px;
  font-weight: bold;
  color: #0844a4;
  font-family: monospace;
}

.fraction-dec-value {
  font-size: 11.5px;
  color: #64748b;
  font-family: monospace;
}

.fraction-btn-calculate {
  background-color: #24588e;
  color: #ffffff;
  border: 1px solid #1c4570;
  font-size: 12px;
  font-weight: bold;
  padding: 7px 14px;
  border-radius: 3px;
  cursor: pointer;
}

.fraction-btn-calculate:hover {
  background-color: #1a426b;
}

.fraction-btn-secondary {
  background-color: #ffffff;
  color: #24588e;
  border: 1px solid #24588e;
  font-size: 12px;
  font-weight: bold;
  padding: 7px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.fraction-btn-secondary:hover {
  background-color: #f0f4f9;
}

.fraction-steps-output {
  margin-top: 8px;
  font-size: 12px;
  color: #1e293b;
  font-family: monospace;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 4px;
  line-height: 1.5;
  border-left: 3px solid #24588e;
}

/* Right Sidebar (Search + Financial Directory) */
.ale-sidebar-col {
  width: 250px;
  flex-shrink: 0;
}

.ale-search-box {
  display: flex;
  border: 1px solid #999999;
  border-radius: 2px;
  background-color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.ale-search-input {
  flex: 1;
  border: none;
  padding: 6px 8px;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.ale-search-btn {
  background-color: #f0f2f5;
  border: none;
  border-left: 1px solid #cccccc;
  padding: 0 10px;
  font-size: 12px;
  cursor: pointer;
  color: #333333;
}

.ale-search-btn:hover {
  background-color: #e2e5e9;
}

.ale-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #999999;
  border-top: none;
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ale-search-dropdown-item {
  padding: 7px 10px;
  font-size: 12px;
  color: #0844a4;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ale-search-dropdown-item:hover {
  background-color: #f4f6f8;
  text-decoration: underline;
}

.ale-search-dropdown-cat {
  font-size: 10px;
  color: #888888;
  font-weight: normal;
}

/* Sidebar Financial Card */
.ale-sidebar-card {
  border: 1px solid #b7c4d3;
  background-color: #f7f9fa;
}

.ale-sidebar-card-header {
  background-color: #24588e;
  color: #ffffff;
  font-weight: bold;
  font-size: 12.5px;
  padding: 7px 10px;
}

.ale-sidebar-card-body {
  padding: 10px;
}

.ale-sidebar-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
  font-size: 11.5px;
  line-height: 1.5;
}

.ale-sidebar-links-grid a {
  color: #0844a4;
  text-decoration: none;
}

.ale-sidebar-links-grid a:hover {
  text-decoration: underline;
}

.ale-sidebar-links-grid a.active {
  color: #000000;
  font-weight: bold;
}

.ale-sidebar-footer-links {
  border-top: 1px solid #d0d7de;
  padding: 8px 10px;
  font-size: 11px;
  color: #666666;
  text-align: center;
}

.ale-sidebar-footer-links a {
  color: #0844a4;
  text-decoration: none;
}

.ale-sidebar-footer-links a:hover {
  text-decoration: underline;
}

/* Editorial SEO / AEO / GEO Section */
.ale-seo-article {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #d0d7de;
  font-size: 13.5px;
  line-height: 1.65;
  color: #24292f;
}

.ale-seo-article h2 {
  font-size: 18px;
  color: #003366;
  margin: 18px 0 10px 0;
}

.ale-seo-article h3 {
  font-size: 15px;
  color: #003366;
  margin: 14px 0 8px 0;
}

.ale-seo-article p {
  margin: 0 0 12px 0;
}

.ale-seo-article ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.ale-seo-article li {
  margin-bottom: 6px;
}

.ale-seo-box {
  background-color: #f1f5f9;
  border-left: 4px solid #0844a4;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 13px;
  border-radius: 2px;
}

.ale-aeo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 12px 0;
}

.ale-aeo-card h4 {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #1e3a8a;
}

.ale-geo-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 14px 0;
}

.ale-geo-box h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #166534;
}

.ale-seo-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.ale-seo-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.ale-seo-summary-table th,
.ale-seo-summary-table td {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.ale-seo-summary-table th {
  background-color: #f1f5f9;
  font-weight: bold;
  color: #0f172a;
}

.ale-seo-summary-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* Modals */
.ale-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 15px;
  box-sizing: border-box;
}

.ale-modal-dialog {
  background: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  box-sizing: border-box;
}

.ale-modal-dialog-lg {
  max-width: 780px;
}

.ale-modal-header {
  background-color: #24588e;
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.ale-modal-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
}

.ale-modal-close-icon {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.ale-modal-body {
  padding: 14px;
  overflow-y: auto;
  font-size: 13px;
}

.ale-modal-footer {
  background: #f4f6f8;
  padding: 10px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #e1e4e8;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.ale-modal-btn {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
}

.ale-modal-btn.primary {
  background-color: #24588e;
  color: #ffffff;
  border-color: #1a426b;
  font-weight: bold;
}

.ale-modal-btn.primary:hover {
  background-color: #1a426b;
}

/* Instant Tool Modal Fields (Exact match to Image 1) */
.instant-tool-intro {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
}

.instant-input-group {
  margin-bottom: 12px;
}

.instant-input-group label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 4px;
}

.instant-input-group input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  font-size: 13px;
  box-sizing: border-box;
}

.instant-compute-btn {
  width: 100%;
  background-color: #204d74;
  color: #ffffff;
  border: 1px solid #183a58;
  font-size: 13px;
  font-weight: bold;
  padding: 8px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 6px;
}

.instant-compute-btn:hover {
  background-color: #183a58;
}

.instant-result-box {
  margin-top: 14px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 12px;
}

/* Printable Sheet */
.ale-print-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ale-print-sheet {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 16px;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

/* Toast */
.ale-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 12.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: none;
  z-index: 10000;
}

/* Responsive Media Queries */
@media (max-width: 820px) {
  .ale-main-layout {
    flex-direction: column;
  }
  .ale-sidebar-col {
    width: 100%;
  }
  .ale-calc-row {
    flex-direction: column;
  }
  .ale-form-container {
    width: 100%;
  }
  .ale-results-container {
    width: 100%;
    min-width: 0;
  }
  .ale-schedule-grid {
    flex-direction: column;
  }
  .ale-line-chart-wrap {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ale-charts-grid {
    grid-template-columns: 1fr;
  }
  .ale-sidebar-links-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Stylesheet */
@media print {
  header.site-header,
  footer
  .ale-top-bar,
  .ale-sidebar-col,
  .ale-btn-row,
  .ale-tabs,
  .ale-save-btn,
  .ale-modal-backdrop,
  .ale-toast,
  .ale-fraction-box,
  .ale-seo-article {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }
  .ale-page-container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .ale-main-layout {
    display: block !important;
  }
  .ale-content-col {
    width: 100% !important;
  }
  .ale-results-container,
  .ale-form-box,
  .ale-schedule-section {
    border: 1px solid #999999 !important;
    page-break-inside: avoid;
  }
}
