/* =============================================
   Glass Configurator v1.2.0
   Screen-based navigation within Spectra block
   ============================================= */
#gc-app, #gc-app * { box-sizing: border-box; }

/* ── Root container — fits Spectra block ──── */
.gc-app-root {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #e8e8e8;
  background: #12121f;
}

/* ── Screens — each fills the full container ── */
.gc-screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: #12121f;
  z-index: 1;
}
.gc-screen.active { display: flex; }
.gc-screen--overlay {
  z-index: 10;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
}
.gc-screen--canvas { background: #0d0d1a; }

/* ── Centered screens (mode, success) ───── */
.gc-screen-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 28px; text-align: center;
  max-width: 760px; margin: 0 auto; width: 100%;
}
.gc-screen-logo   { font-size: 48px; margin-bottom: 12px; }
.gc-screen-title  { margin: 0 0 10px; font-size: 24px; font-weight: 700; color: #fff; }
.gc-screen-sub    { margin: 0 0 28px; color: #888; font-size: 14px; line-height: 1.6; }

/* ── Scrollable screens (params, shapes, order) ── */
.gc-screen-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid #2a2a4e; flex-shrink: 0;
  background: #1a1a2e;
}
.gc-screen-header-title { margin: 0; font-size: 18px; font-weight: 700; }
.gc-screen-scroll {
  flex: 1; overflow-y: auto; padding: 24px;
  scrollbar-width: thin; scrollbar-color: #3a3a6e #1a1a2e;
}
.gc-screen-scroll::-webkit-scrollbar { width: 6px; }
.gc-screen-scroll::-webkit-scrollbar-track { background: #1a1a2e; }
.gc-screen-scroll::-webkit-scrollbar-thumb { background: #3a3a6e; border-radius: 3px; }
.gc-screen-footer {
  padding: 16px 24px; border-top: 1px solid #2a2a4e; flex-shrink: 0;
  background: #1a1a2e;
}

/* ── Back button ──────────────────────────── */
.gc-back-btn {
  background: none; border: 1px solid #3a3a5e; border-radius: 6px;
  color: #888; padding: 7px 14px; font-size: 12px; cursor: pointer; transition: all .2s;
}
.gc-back-btn:hover { border-color: #4a90e2; color: #fff; }

/* ── Mode cards ───────────────────────────── */
.gc-mode-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; width: 100%;
}
.gc-mode-card {
  background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 12px;
  padding: 28px 20px; cursor: pointer; text-align: center; color: #e8e8e8;
  transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.gc-mode-card:hover { border-color: #4a90e2; background: #1e2a4a; transform: translateY(-2px); }
.gc-mode-icon { font-size: 32px; }
.gc-mode-card strong { font-size: 15px; color: #fff; display: block; }
.gc-mode-card span   { font-size: 12px; color: #888; line-height: 1.5; }
.gc-btn-link { background:none; border:none; color:#4a90e2; font-size:13px; cursor:pointer; text-decoration:underline; }

/* ── Params form ──────────────────────────── */
.gc-param-group  { margin-bottom: 20px; }
.gc-param-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing:.06em; color:#666; margin-bottom: 8px; }
.gc-btn-group    { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-toggle-btn {
  background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 8px;
  color: #aaa; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: all .18s;
}
.gc-toggle-btn:hover  { border-color: #4a90e2; color: #fff; }
.gc-toggle-btn.active { border-color: #4a90e2; background: #1e3a5f; color: #fff; }

.gc-select {
  width: 100%; background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 8px;
  color: #e8e8e8; padding: 10px 14px; font-size: 14px; cursor: pointer; appearance: auto;
}
.gc-select:focus { outline: none; border-color: #4a90e2; }
.gc-select option[disabled] { color: #e25555; font-style: italic; }

.gc-params-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.gc-price-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.gc-price-cell { background: #1a1a2e; border-radius: 8px; padding: 14px 16px; }
.gc-price-cell span   { font-size: 11px; color: #666; display: block; margin-bottom: 6px; }
.gc-price-cell strong { font-size: 18px; color: #4a90e2; }

/* ── Shape selection ──────────────────────── */
.gc-shapes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gc-shape-card {
  background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 10px;
  padding: 20px 12px; cursor: pointer; text-align: center; color: #e8e8e8;
  transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.gc-shape-card:hover { border-color: #4a90e2; background: #1e2a4a; transform: translateY(-2px); }
.gc-shape-icon { width: 70px; height: 70px; }
.gc-shape-icon svg { width: 100%; height: 100%; stroke: #888; }
.gc-shape-card:hover .gc-shape-icon svg { stroke: #4a90e2; }
.gc-shape-card span strong { font-size: 13px; color: #ccc; display: block; margin-bottom: 2px; }
.gc-shape-card span { font-size: 11px; color: #666; }

/* ── Dimensions overlay card ──────────────── */
.gc-overlay-card {
  background: #2a2a3e; border-radius: 14px; padding: 32px;
  max-width: 380px; width: 100%; color: #e8e8e8;
}
.gc-overlay-card h3 { margin: 0 0 20px; font-size: 18px; }
.gc-overlay-actions { display: flex; gap: 10px; margin-top: 4px; }
.gc-dim-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.gc-dim-field { display: flex; flex-direction: column; gap: 5px; }
.gc-dim-field label { font-size: 12px; color: #aaa; }
.gc-dim-field input {
  background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 8px;
  color: #fff; padding: 11px 14px; font-size: 15px; width: 100%;
}
.gc-dim-field input:focus { outline: none; border-color: #4a90e2; }

/* ── Canvas screen layout ─────────────────── */
.gc-sheet-bar {
  display: flex; align-items: center; gap: 8px;
  background: #0d0d1a; border-bottom: 1px solid #2a2a4e;
  padding: 5px 12px; flex-shrink: 0; overflow-x: auto;
}
.gc-sheet-tabs { display: flex; gap: 5px; }
.gc-sheet-tab { background: #1a1a2e; border: 1px solid #2a2a4e; border-radius: 5px 5px 0 0; color: #555; padding: 3px 12px; font-size: 11px; white-space: nowrap; }
.gc-sheet-tab--current { background: #1e3a5f; border-color: #4a90e2; color: #fff; font-weight: 600; }
.gc-sheet-add { background: none; border: 1px dashed #3a3a5e; border-radius: 5px; color: #4a90e2; padding: 3px 10px; font-size: 11px; cursor: pointer; }
.gc-sheet-add:hover { background: #1e3a5f; }

.gc-toolbar {
  display: flex; flex-direction: column; gap: 5px;
  background: #1a1a2e; border-bottom: 1px solid #2a2a4e;
  padding: 6px 10px; flex-shrink: 0;
}
.gc-toolbar-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.gc-toolbar-push { margin-left: auto; }
.gc-toolbar-sep { width: 1px; height: 18px; background: #2a2a4e; margin: 0 2px; }
.gc-tool-btn {
  background: #2a2a4e; border: 1px solid #3a3a6e; border-radius: 5px;
  color: #aaa; padding: 5px 10px; font-size: 12px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.gc-tool-btn:hover    { background: #3a3a6e; color: #fff; }
.gc-tool-btn:disabled { opacity: .35; cursor: default; }
.gc-tool-btn.active   { background: #1e3a5f; border-color: #4a90e2; color: #4a90e2; }
.gc-tool-btn--order   { background: #4a90e2; border-color: #4a90e2; color: #fff; font-weight: 700; }
.gc-tool-btn--order:hover { background: #3a7fd2; }
.gc-mill-hint { font-size: 11px; color: #e2a84a; animation: gc-pulse 1.4s infinite; max-width: 260px; white-space: normal; line-height: 1.25; }
.gc-draw-hint { font-size: 11px; color: #7fb4ff; max-width: 420px; white-space: normal; line-height: 1.25; }
@keyframes gc-pulse { 0%,100%{opacity:1}50%{opacity:.4} }

.gc-workspace { display: flex; flex: 1; overflow: hidden; min-height: 0; }

.gc-tools-side {
  width: 42px; background: #1a1a2e; border-right: 1px solid #2a2a4e;
  display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 3px; flex-shrink: 0;
}
.gc-side-btn {
  width: 32px; height: 32px; background: none; border: 1px solid transparent;
  border-radius: 5px; color: #555; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.gc-side-btn:hover  { background: #2a2a4e; color: #fff; }
.gc-side-btn.active { background: #1e3a5f; border-color: #4a90e2; color: #4a90e2; }
.gc-side-sep { width: 22px; height: 1px; background: #2a2a4e; margin: 3px 0; }

.gc-canvas-wrap { flex: 1; background: #0d0d1a; overflow: hidden; position: relative; }
.gc-draw-length {
  position: absolute; z-index: 50;
  width: 78px; padding: 4px 6px;
  background: #0e1626; color: #cfe3ff;
  border: 1px solid #4a90e2; border-radius: 4px;
  font: bold 12px Arial, sans-serif; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
  outline: none;
}
.gc-draw-length::placeholder { color: #5d7aa3; font-weight: normal; }
.gc-draw-length:focus { border-color: #43d17a; background: #102016; color: #c8f5d5; }
#gc-canvas { display: block; }

/* ── Right panel ──────────────────────────── */
.gc-side-panel {
  width: 230px; background: #1a1a2e; border-left: 1px solid #2a2a4e;
  overflow-y: auto; display: flex; flex-direction: column; flex-shrink: 0;
  scrollbar-width: thin; scrollbar-color: #2a2a4e #1a1a2e;
}
.gc-panel-section { padding: 12px 14px; border-bottom: 1px solid #1e1e3a; }
.gc-panel-title   { font-size: 10px; text-transform: uppercase; letter-spacing:.07em; color: #444; margin-bottom: 8px; font-weight: 700; }
.gc-params-summary { font-size: 11px; line-height: 1.8; color: #777; margin-bottom: 8px; }
.gc-params-summary strong { color: #bbb; }

.gc-price-table { display: flex; flex-direction: column; gap: 5px; }
.gc-price-item  { display: flex; justify-content: space-between; font-size: 12px; }
.gc-price-item span    { color: #555; }
.gc-price-item strong  { color: #ccc; }
.gc-price-item--gross strong { color: #4a90e2; font-size: 14px; }

.gc-hole-types { display: flex; flex-wrap: wrap; gap: 5px; }
.gc-holes-list { margin-top: 8px; }
.gc-hole-item  { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 11px; color: #777; border-bottom: 1px solid #1e1e3a; }
.gc-hole-remove { background: none; border: none; color: #c04040; cursor: pointer; font-size: 12px; line-height: 1; }

/* ── Order form ───────────────────────────── */
.gc-order-summary {
  background: #1a1a2e; border-radius: 8px; padding: 16px; margin-bottom: 20px;
  font-size: 13px; line-height: 1.8; color: #aaa;
}
.gc-order-sheet { padding: 8px 0; border-bottom: 1px solid #2a2a4e; }
.gc-order-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: #4a90e2; border-top: 2px solid #4a90e2; margin-top: 8px; padding-top: 8px; }
.gc-order-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.gc-form-group { display: flex; flex-direction: column; gap: 5px; }
.gc-form-group label { font-size: 12px; color: #888; }
.gc-form-group--wide { grid-column: 1/-1; }
.gc-form-group--check label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.5; }
.gc-input {
  background: #1a1a2e; border: 2px solid #3a3a5e; border-radius: 8px;
  color: #fff; padding: 10px 14px; font-size: 14px; font-family: inherit; transition: border-color .2s;
}
.gc-input:focus { outline: none; border-color: #4a90e2; }
textarea.gc-input { resize: vertical; }
.gc-error { background: #3a1a1a; border-radius: 6px; padding: 10px 14px; color: #ffaaaa; font-size: 13px; margin-bottom: 12px; }

/* ── Buttons ──────────────────────────────── */
.gc-btn-primary {
  background: #4a90e2; border: none; border-radius: 8px;
  color: #fff; font-weight: 700; padding: 13px 24px; font-size: 15px;
  cursor: pointer; transition: background .2s;
}
.gc-btn-primary:hover { background: #3a7fd2; }
.gc-btn-wide { width: 100%; }
.gc-btn-secondary {
  background: #2a2a4e; border: 2px solid #3a3a6e; border-radius: 8px;
  color: #aaa; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: all .2s;
}
.gc-btn-secondary:hover { border-color: #4a90e2; color: #fff; }
.gc-btn-sm { padding: 5px 10px; font-size: 11px; }
.gc-btn-hole { font-size: 11px; padding: 4px 8px; }

/* ── Hole popup ───────────────────────────── */
.gc-hole-popup {
  position: absolute; bottom: 60px; right: 10px; z-index: 50;
  background: #1e3a5f; border: 2px solid #4a90e2; border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 8px 32px rgba(0,0,0,.7); min-width: 210px;
}
.gc-hole-popup__title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.gc-hole-popup .gc-dim-field { margin-bottom: 10px; }
.gc-hole-popup .gc-dim-field label { display: block; font-size: 11px; color: #aaa; margin-bottom: 4px; }
.gc-hole-popup .gc-dim-field input { width: 100%; background: #0d0d1a; border: 2px solid #4a90e2; border-radius: 6px; color: #fff; padding: 8px 12px; font-size: 15px; }

/* ── Dim edit inline popup ────────────────── */
.gc-dim-edit-popup {
  position: fixed; z-index: 9999;
  background: #1e3a5f; border: 2px solid #4a90e2; border-radius: 10px;
  padding: 12px 14px; box-shadow: 0 8px 32px rgba(0,0,0,.7); min-width: 180px;
}
.gc-dim-edit-popup label { display: block; font-size: 11px; color: #aaa; margin-bottom: 7px; }
.gc-dim-edit-row { display: flex; align-items: center; gap: 6px; }
.gc-dim-edit-row input { width: 80px; background: #0d0d1a; border: 2px solid #4a90e2; border-radius: 6px; color: #fff; padding: 7px 10px; font-size: 14px; }
.gc-dim-edit-row input:focus { outline: none; }
.gc-dim-edit-row span { color: #888; font-size: 12px; }
.gc-dim-edit-row button { width: 30px; height: 30px; border-radius: 6px; border: none; cursor: pointer; font-size: 14px; font-weight: bold; }
#gc-dim-apply  { background: #4a90e2; color: #fff; }
#gc-dim-cancel { background: #2a2a4e; color: #aaa; }

/* ── Grid ─────────────────────────────────── */
.gc-grid-on .gc-canvas-wrap {
  background-image: radial-gradient(circle, #2a2a4e 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 900px) {
  .gc-app-root { height: 720px; }
  .gc-shapes-grid { grid-template-columns: repeat(3,1fr); }
  .gc-params-row  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gc-app-root { height: 780px; }
  .gc-mode-cards  { grid-template-columns: 1fr; }
  .gc-shapes-grid { grid-template-columns: repeat(2,1fr); }
  .gc-params-row  { grid-template-columns: 1fr; }
  .gc-order-form-grid { grid-template-columns: 1fr; }
  .gc-side-panel  { display: none; }
}

/* ── Hero logo ─────────────────────────────── */
.gc-hero-logo {
  margin-bottom: 16px;
  opacity: .9;
}

/* ── Order type cards (new design) ─────────── */
.gc-order-type-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 20px;
}

.gc-order-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #1a1a2e;
  border: 2px solid #2a2a4e;
  border-left: 4px solid #4a90e2;
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  color: #e8e8e8;
  transition: all .2s;
  width: 100%;
}
.gc-order-card:hover {
  border-color: #4a90e2;
  border-left-color: #6ab0ff;
  background: #1e2a4a;
  transform: translateX(3px);
}
.gc-order-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(74,144,226,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-order-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gc-order-card__text strong {
  font-size: 15px;
  color: #fff;
  display: block;
}
.gc-order-card__text span {
  font-size: 12px;
  color: #778;
  line-height: 1.5;
}
.gc-order-card__arrow {
  color: #4a90e2;
  font-size: 20px;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .2s, transform .2s;
}
.gc-order-card:hover .gc-order-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .gc-order-card { flex-wrap: wrap; }
  .gc-order-card__icon { width: 36px; height: 36px; }
}

/* ── Hole edit side panel ─────────────── */
.gc-hole-edit-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 12px; border-bottom: 1px solid #1e1e3a;
}
.gc-hole-edit-row span { color: #666; }
.gc-hole-edit-row strong { color: #e8e8e8; }
.gc-hole-edit-input {
  display: flex; align-items: center; gap: 4px;
}
.gc-hole-edit-input input {
  width: 62px; background: #0d0d1a; border: 1px solid #3a3a5e;
  border-radius: 4px; color: #fff; padding: 4px 8px; font-size: 13px; font-weight: 700;
}
.gc-hole-edit-input input:focus { outline: none; border-color: #4a90e2; }
.gc-hole-edit-input span { font-size: 11px; color: #666; }
.gc-hole-pos-box {
  background: #0d1a0d; border: 1px solid #1a4a1a;
  border-radius: 6px; padding: 6px 8px; margin-top: 8px;
}
.gc-hole-pos-box .gc-hole-edit-row { border-bottom-color: #1a4a1a; }
.gc-hole-pos-box .gc-hole-edit-row strong { color: #4ae24a; font-size: 13px; }

/* ── Right panel with tabs ───────────── */
.gc-right-panel {
  width: 300px; flex-shrink: 0; min-width: 260px;
  background: #1a1a2e; border-left: 1px solid #2a2a4e;
  display: flex; flex-direction: column; overflow: hidden;
}
.gc-rp-title {
  padding: 10px 14px; font-size: 13px; font-weight: 700;
  color: #ccc; border-bottom: 1px solid #2a2a4e; flex-shrink: 0;
  background: #12121f;
}
.gc-rp-tabs {
  display: flex; border-bottom: 2px solid #2a2a4e;
  flex-shrink: 0; overflow-x: auto;
}
.gc-rp-tab {
  flex: 1; padding: 8px 4px; font-size: 11px; font-weight: 600;
  background: none; border: none; color: #666;
  cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .15s;
}
.gc-rp-tab:hover  { color: #aaa; background: rgba(255,255,255,.03); }
.gc-rp-tab.active { color: #4a90e2; border-bottom-color: #4a90e2; }
.gc-rp-body {
  display: none; flex: 1; overflow-y: auto; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: #2a2a4e #1a1a2e;
}
.gc-rp-body.active { display: flex; }
.gc-rp-list { padding: 8px; flex: 1; }
.gc-rp-empty { color: #444; font-size: 12px; padding: 12px 4px; text-align: center; }
.gc-rp-hint  { color: #555; font-size: 11px; padding: 4px 8px 6px; margin: 0; }

/* ── Angle / length rows ─────────────── */
.gc-rp-row {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 4px; border-bottom: 1px solid #1e1e3a;
  font-size: 12px;
}
.gc-rp-row-label { color: #777; flex: 1; font-size: 11px; }
.gc-rp-row input {
  width: 72px; background: #0d0d1a; border: 1px solid #3a3a5e;
  border-radius: 4px; color: #fff; padding: 4px 7px; font-size: 12px;
  text-align: right;
}
.gc-rp-row input:focus { outline: none; border-color: #4a90e2; }
.gc-rp-row .gc-unit { color: #555; font-size: 11px; width: 18px; }
.gc-rp-apply {
  background: #2a2a4e; border: 1px solid #3a3a6e; border-radius: 4px;
  color: #aaa; padding: 3px 7px; font-size: 10px; cursor: pointer; white-space: nowrap;
}
.gc-rp-apply:hover { background: #3a3a6e; color: #fff; }

/* ── Holes add bar ───────────────────── */
.gc-holes-add-bar {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 8px;
  border-bottom: 1px solid #2a2a4e; flex-shrink: 0;
}
.gc-add-hole-btn {
  background: #1a1a2e; border: 1px solid #3a3a5e; border-radius: 4px;
  color: #aaa; padding: 4px 8px; font-size: 11px; cursor: pointer; transition: all .15s;
}
.gc-add-hole-btn:hover { border-color: #e25555; color: #e25555; background: #2a1a1a; }

/* ── Hole entry ──────────────────────── */
.gc-hole-entry {
  border: 1px solid #2a2a4e; border-radius: 6px; margin: 4px; padding: 8px;
  background: #12121f;
}
.gc-hole-entry-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.gc-hole-entry-header strong { font-size: 12px; color: #ccc; }
.gc-hole-del {
  background: none; border: none; color: #e25555; cursor: pointer;
  font-size: 14px; line-height: 1; padding: 0 4px;
}
.gc-hole-size-row {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 1px solid #2a2a4e;
}
.gc-hole-size-row label { color: #777; font-size: 11px; flex: 1; }
.gc-hole-size-row input { width: 64px; background: #0d0d1a; border: 1px solid #e25555; border-radius: 4px; color: #fff; padding: 4px 7px; font-size: 13px; font-weight: 700; text-align: center; }
.gc-hole-size-row input:focus { outline: none; }
.gc-hole-dists { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gc-hole-dist-field { display: flex; flex-direction: column; gap: 2px; }
.gc-hole-dist-field label { font-size: 10px; color: #555; }
.gc-hole-dist-field input {
  background: #0d0d1a; border: 1px solid #3a3a5e; border-radius: 4px;
  color: #4ae24a; padding: 4px 7px; font-size: 12px; font-weight: 700;
  text-align: right; width: 100%;
}
.gc-hole-dist-field input:focus { outline: none; border-color: #4ae24a; }
.gc-hole-dist-field span { font-size: 9px; color: #444; text-align: right; }

/* ── Area panel ──────────────────────── */
.gc-area-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 4px; border-bottom: 1px solid #1e1e3a; font-size: 13px;
}
.gc-area-row span { color: #666; font-size: 12px; }
.gc-area-row strong { color: #fff; }
.gc-area-row.gc-area-total strong { color: #4a90e2; font-size: 16px; }

/* ── Glass panel ─────────────────────── */
.gc-glass-row {
  display: flex; justify-content: space-between; padding: 6px 4px;
  border-bottom: 1px solid #1e1e3a; font-size: 12px;
}
.gc-glass-row span { color: #666; }
.gc-glass-row strong { color: #ccc; }

/* ── Toolbar side buttons inline ─────── */
.gc-toolbar .gc-side-btn {
  width: auto; height: auto; background: #2a2a4e; border: 1px solid #3a3a6e; border-radius: 5px;
  color: #aaa; padding: 5px 10px; font-size: 12px; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.gc-toolbar .gc-side-btn:hover  { background: #3a3a6e; color: #fff; }
.gc-toolbar .gc-side-btn.active { background: #1e3a5f; border-color: #4a90e2; color: #4a90e2; }

/* Responsywność panelu prawego */
@media (max-width: 1200px) {
  .gc-right-panel { width: 260px; }
}
@media (max-width: 960px) {
  .gc-workspace { flex-direction: column; }
  .gc-right-panel { width: 100%; border-left: none; border-top: 1px solid #2a2a4e; max-height: 340px; }
  .gc-rp-body { overflow-y: auto; }
}
