/* ==========================================================================
   OvalCropImage.com - Universal Stylesheet (uni-style.css)
   2015 Classic Web Architecture - Pure Human-Crafted CSS
   ========================================================================== */

/* 1. Theme Variables & Typography */
:root,
.theme-light {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  --c-header-bg: #ffffff;
  --c-header-text: #0f172a;
  --c-header-border: #e2e8f0;
  --c-footer-bg: #ffffff;
  --c-footer-text: #0f172a;
  --c-footer-border: #e2e8f0;
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-active: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #0a6c38;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --brand-green: #0a6c38;
  --brand-green-hover: #08542b;
  --btn-primary-bg: #0a6c38;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #08542b;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #0f172a;
  --btn-secondary-border: #e2e8f0;
  --btn-secondary-hover: #f8fafc;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-text: #0f172a;
  --slider-track: #e2e8f0;
  --slider-thumb: #0a6c38;
  --slider-border: #ffffff;
  --checkered-1: #e2e8f0;
  --checkered-2: #ffffff;
}

.theme-dark {
  --c-header-bg: #09090b;
  --c-header-text: #f8fafc;
  --c-header-border: #1f2937;
  --c-footer-bg: #09090b;
  --c-footer-text: #f8fafc;
  --c-footer-border: #1f2937;
  --bg-app: #09090b;
  --bg-surface: #121217;
  --bg-card: #18181b;
  --bg-card-hover: #222228;
  --bg-card-active: #272730;
  --border-subtle: #27272a;
  --border-card: #27272a;
  --border-strong: #3f3f46;
  --border-focus: #0a6c38;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --brand-green: #0a6c38;
  --brand-green-hover: #08542b;
  --btn-primary-bg: #0a6c38;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #08542b;
  --btn-secondary-bg: #18181b;
  --btn-secondary-text: #f8fafc;
  --btn-secondary-border: #27272a;
  --btn-secondary-hover: #27272a;
  --input-bg: #121217;
  --input-border: #27272a;
  --input-text: #f8fafc;
  --slider-track: #27272a;
  --slider-thumb: #0a6c38;
  --slider-border: #ffffff;
  --checkered-1: #18181b;
  --checkered-2: #0f0f13;
}

/* 2. Base Reset & Document Shell */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

body,
.body-oc {
  margin: 0;
  padding: 0;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s, color 0.2s;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul,
menu {
  list-style: none;
}

img,
svg,
video,
canvas {
  vertical-align: middle;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0 solid;
}

button {
  cursor: pointer;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.app-shell-oc {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-app);
  color: var(--text-primary);
  transition: background-color 0.2s, color 0.2s;
}

.main-oc {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tool-hidden-oc {
  display: none !important;
}

/* 3. Header & Navigation Bar */
.header-oc {
  background-color: var(--bg-surface);
  border-bottom: 2px solid #0a6c38;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 50;
  width: 100%;
  user-select: none;
}

.navbar-oc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-oc {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--c-header-text);
  font-weight: 700;
  font-size: 20px;
  padding: 4px 0;
}

.nav-logo-oc:hover {
  opacity: 0.88;
}

.logo-svg-oc {
  display: inline-block;
  user-select: none;
  flex-shrink: 0;
}

.oval-logo-text-oc {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.nav-menu-oc {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-item-oc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-link-oc {
  display: inline-block;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-header-text);
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.nav-link-oc:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-strong);
  color: #0a6c38;
}

.nav-link-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff !important;
  border-color: #075229;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.theme-toggle-oc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-header-text);
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s, border-color 0.15s;
}

.theme-toggle-oc:hover {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

.hamburger-oc {
  display: none;
  cursor: pointer;
  padding: 6px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background-color: var(--bg-card);
}

@media only screen and (max-width: 768px) {
  .hamburger-oc {
    display: block;
  }

  .bar-oc {
    display: block;
    width: 22px;
    height: 2.5px;
    margin: 4px auto;
    transition: all 0.25s ease-in-out;
    background-color: var(--c-header-text);
    border-radius: 1px;
  }

  .hamburger-oc.active-oc .bar-oc:nth-child(2) {
    opacity: 0;
  }

  .hamburger-oc.active-oc .bar-oc:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .hamburger-oc.active-oc .bar-oc:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav-menu-oc {
    position: absolute;
    left: -100%;
    top: 56px;
    flex-direction: column;
    background-color: var(--bg-surface);
    width: 100%;
    text-align: center;
    transition: left 0.25s ease-in-out;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #0a6c38;
    padding: 12px 16px;
    gap: 8px;
    z-index: 100;
  }

  .nav-menu-oc.active-oc {
    left: 0;
  }

  .nav-item-oc {
    width: 100%;
    justify-content: center;
  }

  .nav-link-oc {
    width: 100%;
    padding: 9px 14px;
  }

  .theme-toggle-oc {
    width: 100%;
    padding: 8px 14px;
  }
}

/* 4. Hero & Upload Section */
.hero-sec-oc {
  width: 100%;
  padding: 22px 16px 12px;
  text-align: center;
  user-select: none;
}

.hero-wrap-oc {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-title-oc {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-desc-oc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 18px auto;
  line-height: 1.5;
}

.hero-row-oc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.hero-center-oc {
  order: 1;
  width: 100%;
  max-width: 540px;
  flex: 1 1 auto;
}

.hero-left-oc {
  order: 2;
  flex-shrink: 0;
}

.hero-right-oc {
  order: 3;
  flex-shrink: 0;
}

.hero-card-oc {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 224px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hero-card-oc:hover {
  border-color: #0a6c38;
  box-shadow: 0 2px 6px rgba(10, 108, 56, 0.18);
}

.sample-frame-oc {
  width: 116px;
  height: 144px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.sample-rect-oc {
  border-radius: 4px;
  border: 2px solid var(--border-strong);
}

.sample-oval-oc {
  border-radius: 50%;
  border: 3px solid #0a6c38;
}

.sample-circle-oc {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid #0a6c38;
}

.sample-img-oc {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-tag-oc {
  display: inline-block;
  background-color: #0a6c38;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  border: 1px solid #075229;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.upload-box-oc {
  background-color: var(--bg-card);
  border: 2px dashed #0a6c38;
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 224px;
  cursor: pointer;
  box-shadow: inset 0 0 10px rgba(10, 108, 56, 0.03), 0 1px 3px rgba(0, 0, 0, 0.07);
  transition: background-color 0.15s, border-color 0.15s;
}

.upload-box-oc:hover,
.upload-box-oc.drag-over-oc,
.page-drag-over .upload-box-oc {
  background-color: var(--bg-card-hover);
  border-color: #08542b;
  box-shadow: inset 0 0 14px rgba(10, 108, 56, 0.1), 0 2px 8px rgba(10, 108, 56, 0.16);
}

.upload-icon-oc {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background-color: #0a6c38;
  border: 1px solid #075229;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.14);
}

.upload-btn-oc {
  background-color: #0a6c38;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 3px;
  border: 1px solid #064221;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background-color 0.15s;
}

.upload-btn-oc:hover {
  background-color: #08542b;
}

.upload-hint-oc {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
}

.upload-formats-oc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .hero-title-oc {
    font-size: 32px;
  }

  .hero-desc-oc {
    font-size: 14.5px;
  }

  .hero-row-oc {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
  }

  .hero-left-oc {
    order: 1;
  }

  .hero-center-oc {
    order: 2;
  }

  .hero-right-oc {
    order: 3;
  }
}

/* 5. Main 3-Section Tool Grid & Panels */
.tool-sec-oc {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tool-grid-oc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  align-items: start;
}

.tool-col-left-oc,
.tool-col-center-oc,
.tool-col-right-oc {
  width: 100%;
  min-width: 0;
}

.tool-col-center-oc {
  order: 1;
}

.tool-col-left-oc {
  order: 2;
}

.tool-col-right-oc {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 1024px) {
  .tool-grid-oc {
    grid-template-columns: minmax(310px, 1fr) minmax(360px, 1.2fr) minmax(300px, 0.95fr);
    gap: 16px;
    align-items: start;
  }

  .tool-col-left-oc {
    order: 1;
  }

  .tool-col-center-oc {
    order: 2;
  }

  .tool-col-right-oc {
    order: 3;
  }

  .tool-sticky-oc {
    position: sticky;
    top: 16px;
  }
}

@media (min-width: 1280px) {
  .tool-grid-oc {
    grid-template-columns: minmax(335px, 1fr) minmax(410px, 1.25fr) minmax(325px, 0.95fr);
    gap: 18px;
  }
}

.panel-box-oc {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-primary);
  user-select: none;
}

.panel-head-oc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0a6c38;
}

.panel-title-wrap-oc {
  display: flex;
  align-items: center;
  gap: 7px;
}

.panel-title-oc {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot-oc {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0a6c38;
  display: inline-block;
  flex-shrink: 0;
}

.panel-actions-oc {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 6. Control Cards, Grids, Buttons & Inputs */
.ctrl-stack-oc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.ctrl-card-oc {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ctrl-head-oc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.ctrl-title-oc {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  display: block;
}

.ctrl-hint-oc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
}

.ctrl-badge-oc {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
}

.ctrl-badge-active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  border-color: #064221;
}

.ctrl-badge-green-oc {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid #0a6c38;
  background-color: rgba(10, 108, 56, 0.12);
  color: #0a6c38;
}

.ctrl-tag-btn-oc {
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.ctrl-tag-btn-oc:hover {
  border-color: #0a6c38;
}

.ctrl-tag-btn-oc.active-oc {
  background-color: rgba(10, 108, 56, 0.12);
  color: #0a6c38;
  border-color: #0a6c38;
}

.ctrl-btn-sm-oc {
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, background-color 0.15s;
}

.ctrl-btn-sm-oc:hover {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

.ctrl-btn-sm-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  border-color: #064221;
}

.ctrl-btn-sm-oc:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ctrl-icon-btn-oc {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ctrl-icon-btn-oc:hover {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

.ctrl-grid-2-oc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ctrl-grid-3-oc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ctrl-grid-4-oc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ctrl-grid-5-oc {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.ctrl-grid-5-oc .ctrl-choice-btn-oc {
  padding: 6px 4px;
  font-size: 10.5px;
  gap: 3px;
}

@media (max-width: 420px) {
  .ctrl-grid-5-oc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .ctrl-grid-4-oc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ctrl-choice-btn-oc {
  padding: 7px 9px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctrl-choice-btn-oc:hover {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

.ctrl-choice-btn-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  border-color: #064221;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.ctrl-choice-col-oc {
  flex-direction: column;
  gap: 3px;
  padding: 8px 6px;
}

.ctrl-choice-note-oc {
  font-size: 10px;
  opacity: 0.85;
  font-weight: 500;
}

.ctrl-sub-box-oc {
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctrl-inner-box-oc {
  padding: 9px 10px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ctrl-field-oc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ctrl-label-row-oc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  gap: 6px;
}

.ctrl-label-oc {
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ctrl-val-oc {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #0a6c38;
}

.ctrl-row-between-oc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.ctrl-presets-row-oc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.ctrl-mini-btn-oc {
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
}

.ctrl-mini-btn-oc:hover {
  border-color: #0a6c38;
}

.ctrl-mini-btn-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  border-color: #064221;
  font-weight: 700;
}

.ctrl-link-btn-oc {
  font-size: 11px;
  font-weight: 700;
  color: #0a6c38;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

.ctrl-link-btn-oc:hover {
  color: #08542b;
}

.ctrl-num-input-oc {
  width: 100%;
  padding: 6px 8px;
  border-radius: 3px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-primary);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.ctrl-tab-bar-oc {
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  gap: 2px;
}

.ctrl-tab-btn-oc {
  flex: 1;
  padding: 5px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ctrl-tab-btn-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  font-weight: 700;
}

.swatch-row-oc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.swatch-btn-oc {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid #94a3b8;
  cursor: pointer;
  transition: transform 0.1s;
}

.swatch-btn-oc:hover {
  transform: scale(1.08);
}

.swatch-btn-oc.active-oc {
  outline: 2px solid #0a6c38;
  outline-offset: 1px;
}

.color-input-box-oc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-primary);
  font-size: 11.5px;
  font-family: var(--font-mono);
}

.color-hex-input-oc {
  width: 60px;
  background: transparent;
  border: none;
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
}

.color-picker-oc {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.adv-toggle-btn-oc {
  width: 100%;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, background-color 0.15s;
}

.adv-toggle-btn-oc:hover,
.adv-toggle-btn-oc.active-oc,
.adv-toggle-btn-oc.open-oc {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

.adv-toggle-left-oc {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adv-toggle-icon-oc {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background-color: #0a6c38;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adv-toggle-info-oc {
  text-align: left;
  min-width: 0;
}

.adv-toggle-title-oc {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.adv-toggle-sub-oc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.adv-toggle-arrow-oc {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 1px solid #0a6c38;
  background-color: rgba(10, 108, 56, 0.1);
  color: #0a6c38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.adv-toggle-btn-oc.open-oc .adv-toggle-arrow-oc {
  transform: rotate(180deg);
  background-color: #0a6c38;
  color: #ffffff;
}

.export-est-bar-oc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.download-btn-oc {
  width: 100%;
  background-color: #0a6c38;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid #064221;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.download-btn-oc:hover {
  background-color: #08542b;
}

.download-btn-oc:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ctrl-btn-sec-oc {
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.ctrl-btn-sec-oc:hover {
  border-color: #0a6c38;
  background-color: var(--bg-card-hover);
}

/* 7. Center Live Crop Canvas & Floating Toolbar */
.center-canvas-box-oc {
  width: 100%;
  height: 460px;
}

@media (min-width: 640px) {
  .center-canvas-box-oc {
    height: 520px;
  }
}

@media (min-width: 1024px) {
  .center-canvas-box-oc {
    height: 550px;
  }
}

.canvas-checker-oc {
  background-color: var(--checkered-1);
  background-image: linear-gradient(45deg, var(--checkered-2) 25%, transparent 25%),
    linear-gradient(-45deg, var(--checkered-2) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--checkered-2) 75%),
    linear-gradient(-45deg, transparent 75%, var(--checkered-2) 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.canvas-editor-wrap-oc {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
}

.canvas-stage-oc {
  width: 100%;
  flex: 1;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
  outline: none;
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.canvas-stage-oc:focus-visible {
  border-color: #0a6c38;
  box-shadow: inset 0 0 0 1px #0a6c38;
}

.canvas-el-oc {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: pointer;
}

.canvas-dim-badge-oc {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  pointer-events: none;
  padding: 3px 9px;
  border-radius: 3px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

.canvas-dim-val-oc {
  color: var(--text-primary);
}

.canvas-dim-sep-oc {
  color: var(--border-strong);
  font-weight: 400;
}

.canvas-rot-val-oc {
  color: #0a6c38;
}

.canvas-toolbar-oc {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 3px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  max-width: calc(100% - 16px);
}

.toolbar-btn-oc {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 3px;
  border: 1px solid transparent;
  background-color: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.toolbar-btn-oc:hover {
  background-color: var(--bg-card-hover);
  border-color: #0a6c38;
  color: #0a6c38;
}

.toolbar-btn-oc.active-oc {
  background-color: #0a6c38;
  color: #ffffff;
  border-color: #064221;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.toolbar-zoom-lbl-oc {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  min-width: 42px;
  text-align: center;
  color: var(--text-primary);
}

.toolbar-sep-oc {
  width: 1px;
  height: 16px;
  background-color: var(--border-strong);
  margin: 0 2px;
}

/* 8. Right Column Live Size Previews */
.cameo-stage-oc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 10px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  align-items: end;
  justify-items: center;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.cameo-stage-oc[data-prev-bg="light"] {
  background-color: #f8fafc;
  background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  color: #0f172a;
  border-color: #cbd5e1;
}

.cameo-stage-oc[data-prev-bg="dark"] {
  background-color: #0f172a;
  background-image: linear-gradient(45deg, #1e293b 25%, transparent 25%),
    linear-gradient(-45deg, #1e293b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1e293b 75%),
    linear-gradient(-45deg, transparent 75%, #1e293b 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  color: #f8fafc;
  border-color: #334155;
}

.cameo-item-oc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.cameo-canvas-box-oc {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 114px;
  width: 100%;
}

.cameo-canvas-oc {
  max-width: 100%;
  height: auto !important;
  display: block;
}

.cameo-meta-oc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cameo-name-oc {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* 9. Custom Sliders, Switches, Icons & Shape Helpers */
.ico-2xs-oc {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  display: inline-block;
}

.ico-xs-oc {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: inline-block;
}

.ico-sm-oc {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
}

.ico-md-oc {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.ico-loader-oc {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-block;
  animation: spin 1s linear infinite;
}

.ico-green-oc {
  color: #0a6c38;
}

.ico-gold-oc {
  color: #d97706;
}

.ico-muted-oc {
  color: var(--text-muted);
  opacity: 0.8;
}

.ctrl-btn-text-oc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.orient-icon-vert-oc {
  width: 13px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  background-color: transparent;
  flex-shrink: 0;
  display: inline-block;
}

.orient-icon-horiz-oc {
  width: 18px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  background-color: transparent;
  flex-shrink: 0;
  display: inline-block;
}

.ctrl-choice-btn-oc.active-oc .orient-icon-vert-oc,
.ctrl-choice-btn-oc.active-oc .orient-icon-horiz-oc {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.28);
}

.ctrl-slider-oc {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 2px;
  background: var(--slider-track);
  border: 1px solid var(--border-strong);
  outline: none;
  cursor: pointer;
  margin: 2px 0;
}

.ctrl-slider-oc::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: #0a6c38;
  border: 1px solid #053b1d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.ctrl-slider-oc::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: #0a6c38;
  border: 1px solid #053b1d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.switch-oc {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-oc input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track-oc {
  position: absolute;
  inset: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  transition: background-color 0.15s, border-color 0.15s;
}

.switch-track-oc::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.15s, background-color 0.15s;
}

.switch-oc input:checked + .switch-track-oc {
  background-color: #0a6c38;
  border-color: #064221;
}

.switch-oc input:checked + .switch-track-oc::before {
  transform: translateX(16px);
  background-color: #ffffff;
}

.ratio-shape-wrap-oc {
  width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ratio-shape-oval-oc {
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  background-color: transparent;
  display: block;
}

.ctrl-choice-btn-oc.active-oc .ratio-shape-oval-oc {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.28);
}

.ratio-title-oc {
  font-size: 11px;
  font-weight: 700;
  display: block;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ratio-tag-oc {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 1px 5px;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  opacity: 0.9;
}

.ctrl-choice-btn-oc.active-oc .ratio-tag-oc {
  border-color: rgba(255, 255, 255, 0.6);
}

.grad-dot-oc {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  display: inline-block;
}

.bg-mode-checker-oc {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  display: inline-block;
}

.bg-mode-dot-oc {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  border: 1px solid #64748b;
  flex-shrink: 0;
  display: inline-block;
}

/* 10. Before & After Showcase & CTA Sections */
.showcase-sec-oc {
  width: 100%;
  padding: 34px 16px 38px;
  border-top: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  text-align: center;
  user-select: none;
}

.showcase-wrap-oc {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-badge-oc {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0a6c38;
  background-color: rgba(10, 108, 56, 0.12);
  border: 1px solid #0a6c38;
  border-radius: 3px;
}

.showcase-title-oc {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.showcase-desc-oc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

.showcase-box-oc {
  width: 100%;
  max-width: 860px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.showcase-img-wrap-oc {
  width: 100%;
  background-color: #ffffff;
  padding: 14px;
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img-oc {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
}

.showcase-bar-oc {
  padding: 14px 18px;
  background-color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showcase-info-oc {
  text-align: center;
}

.showcase-sub-oc {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.showcase-note-oc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.showcase-btn-oc {
  background-color: #0a6c38;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 3px;
  border: 1px solid #064221;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.showcase-btn-oc:hover {
  background-color: #08542b;
}

.cta-sec-oc {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  margin-top: 16px;
}

.cta-title-oc {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.cta-desc-oc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}

.cta-btns-oc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-btn-primary-oc {
  display: inline-block;
  background-color: #0a6c38;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 3px;
  border: 1px solid #064221;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.14);
  text-decoration: none;
  transition: background-color 0.15s;
}

.cta-btn-primary-oc:hover {
  background-color: #08542b;
}

.cta-btn-outline-oc {
  display: inline-block;
  background-color: var(--bg-surface);
  color: #0a6c38;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 3px;
  border: 1px solid #0a6c38;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.cta-btn-outline-oc:hover {
  background-color: #0a6c38;
  color: #ffffff;
}

/* 11. Footer */
.footer-oc {
  width: 100%;
  background-color: var(--bg-surface);
  border-top: 2px solid #0a6c38;
  color: var(--c-footer-text);
  padding: 16px 0;
  font-size: 13px;
  user-select: none;
  flex-shrink: 0;
}

.footer-wrap-oc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-copy-oc {
  font-weight: 600;
  color: var(--c-footer-text);
  order: 3;
}

.footer-menu-oc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  order: 1;
}

.footer-item-oc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.footer-item-oc:not(:last-child)::after {
  content: "|";
  margin-left: 14px;
  color: var(--border-strong);
  font-weight: 400;
}

.footer-link-oc {
  color: var(--c-footer-text);
  text-decoration: none;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 2px;
  transition: color 0.15s, background-color 0.15s;
}

.footer-link-oc:hover {
  color: #0a6c38;
  text-decoration: underline;
}

.footer-link-oc.active-oc {
  color: #0a6c38;
  font-weight: 700;
  text-decoration: underline;
}

.footer-brand-oc {
  order: 2;
}

.footer-domain-oc {
  color: #0a6c38;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-domain-oc:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .showcase-title-oc {
    font-size: 28px;
  }

  .showcase-desc-oc {
    font-size: 14.5px;
  }

  .showcase-img-wrap-oc {
    padding: 24px;
  }

  .showcase-bar-oc {
    flex-direction: row;
    text-align: left;
  }

  .showcase-info-oc {
    text-align: left;
  }

  .footer-wrap-oc {
    flex-direction: row;
  }

  .footer-copy-oc {
    order: 1;
  }

  .footer-menu-oc {
    order: 2;
  }

  .footer-brand-oc {
    order: 3;
  }
}

/* 12. Modals & Toast Notifications */
.modal-overlay-oc {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.72);
}

.modal-box-oc {
  width: 100%;
  max-width: 640px;
  background-color: var(--bg-card);
  border: 2px solid #0a6c38;
  border-radius: 4px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-converting-oc {
  padding: 24px;
  text-align: center;
  align-items: center;
}

.modal-stage-oc {
  width: 100%;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  border-radius: 3px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
}

.modal-img-oc {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-foot-oc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.toast-wrap-oc {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  width: 100%;
  pointer-events: none;
}

.toast-item-oc {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 3px;
  background-color: var(--bg-card);
  border: 1px solid #0a6c38;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.toast-text-oc {
  line-height: 1.35;
}

/* 13. Shared Breadcrumb Navigation */
.breadcrumb-oc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.breadcrumb-link-oc {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-link-oc:hover {
  color: #0a6c38;
  text-decoration: underline;
}

.breadcrumb-sep-oc {
  color: var(--text-muted);
}

.breadcrumb-curr-oc {
  font-weight: 600;
  color: var(--text-primary);
}