.gs-dialog { width: min(760px, calc(100vw - 20px)); max-width: none; max-height: min(94vh, 940px); padding: 0; border: 1px solid #EFE9E4; border-radius: 16px; color: #6E4C41; background: #FDFBF8; box-shadow: 0 24px 80px #39251f55; font: 16px Jost, sans-serif; }
.gs-dialog::backdrop { background: #30221dcc; }
.gs-panel { max-height: min(94vh, 940px); overflow: auto; padding: 22px; box-sizing: border-box; }
.gs-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gs-eyebrow { margin: 0 0 5px; color: #C2611E; font-size: 11px; letter-spacing: .13em; }
.gs-header h2 { margin: 0; font: 400 22px Marcellus, Georgia, serif; }
.gs-close,.gs-secondary,.gs-primary { border: 1px solid #EFE9E4; border-radius: 999px; padding: 9px 14px; background: #fff; color: #6E4C41; font: inherit; cursor: pointer; }
.gs-primary { border-color: #C2611E; background: #C2611E; color: white; }
.gs-context { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.gs-chip { border: 1px solid #EFE9E4; border-radius: 999px; padding: 5px 10px; background: white; font-size: 13px; overflow-wrap: anywhere; }
.gs-day-note,.gs-muted { color: #806d62; font-size: 13px; }
.gs-day-note { margin: 10px 0 5px; }
.gs-notice { min-height: 20px; margin: 8px 0; font-size: 13px; }
.gs-notice.is-error,.gs-error { color: #a1392a; }
.gs-details { margin-top: 12px; border: 1px solid #EFE9E4; border-radius: 13px; background: #fff; }
.gs-details > summary { padding: 12px 14px; cursor: pointer; font: 400 16px Marcellus, Georgia, serif; }
.gs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 14px 14px; }
.gs-field { display: grid; min-width: 0; gap: 4px; font-size: 13px; }
.gs-field input,.gs-field select,.gs-search-row input { min-width: 0; width: 100%; box-sizing: border-box; border: 1px solid #d9cec7; border-radius: 9px; padding: 9px 10px; background: white; color: #6E4C41; font: 16px Jost,sans-serif; }
.gs-own-glass { grid-column: 1 / -1; padding: 0; }
.gs-source { grid-column: 1 / -1; font-size: 13px; overflow-wrap: anywhere; }
.gs-source-note { color: #806d62; font-size: 12px; overflow-wrap: anywhere; }
.gs-source a,.gs-source { color: #9a4818; }
.gs-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gs-search-row { padding: 0 14px 12px; }
.gs-fabric-legend { margin: 0; padding: 0 14px 10px; }
.gs-fabric-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 280px; overflow: auto; border-top: 1px solid #EFE9E4; }
.gs-choice { display: flex; min-width: 0; align-items: flex-start; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #f2eeea; font-size: 13px; }
.gs-choice input,.gs-review-check input { flex: 0 0 auto; margin-top: 3px; accent-color: #C2611E; }
.gs-choice.is-active { background: #f9f1e9; }
.gs-choice-copy { display: grid; min-width: 0; gap: 2px; overflow-wrap: anywhere; }
.gs-choice-copy small { color: #806d62; }
.gs-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 0 12px 12px; }
.gs-result { min-width: 0; border: 1px solid #EFE9E4; border-radius: 11px; padding: 11px; background: #FDFBF8; overflow-wrap: anywhere; }
.gs-result-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.gs-result-head strong { font-weight: 500; }
.gs-status { font-size: 12px; }
.gs-result-metrics { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.gs-result-metrics span { border-radius: 7px; padding: 4px 6px; background: #fff; font-size: 12px; }
.gs-method,.gs-unavailable { font-size: 12px; }
.gs-unavailable { color: #9c3e2d; }
.gs-row-actions,.gs-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gs-text-button { padding: 0; border: 0; background: transparent; color: #9a4818; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.gs-danger { color: #9c3e2d; }
.gs-override-panel,.gs-import-review,.gs-label-review { margin-top: 12px; border: 1px solid #EFE9E4; border-radius: 13px; padding: 14px; background: #fff; }
.gs-override-panel h3,.gs-import-review h3,.gs-label-review h3 { margin: 0 0 8px; font: 400 16px Marcellus, Georgia, serif; }
.gs-override-panel > .gs-field { margin-top: 8px; }
.gs-error { font-size: 13px; }
.gs-import-fabrics { max-height: 220px; overflow: auto; border: 1px solid #EFE9E4; border-radius: 8px; }
.gs-label-pending { border-left: 3px solid #E9A13B; padding-left: 10px; font-size: 13px; }
.gs-review-check { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; font-size: 13px; }
.gs-footer { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding-top: 12px; margin-top: 12px; background: linear-gradient(transparent,#FDFBF8 18%); }
@media (max-width: 560px) {
  .gs-panel { padding: 14px; }
  .gs-header h2 { font-size: 18px; }
  .gs-grid,.gs-results,.gs-fabric-choices { grid-template-columns: minmax(0,1fr); }
  .gs-tools > button { flex: 1 1 140px; font-size: 13px; padding: 8px 10px; }
  .gs-result-metrics { display: grid; }
  .gs-close { padding: 8px 11px; }
}
