.mc-questionnaire{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.gs-layout .mc-question{min-width:0;margin:0 0 14px;padding:14px 16px 16px;border:1px solid var(--line);border-radius:9px}
.mc-question legend{padding:0 6px;color:var(--text);font-size:14px;font-weight:650;max-width:100%;white-space:normal}
.mc-choices,.mc-fields{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}
.gs-layout .mc-choices label{display:inline-flex;align-items:center;gap:7px;min-width:84px;cursor:pointer}
.gs-layout .mc-question input[type=radio],.gs-layout .mc-question input[type=checkbox]{appearance:auto;accent-color:var(--accent-2);width:17px;height:17px;flex:none;margin:0;padding:0;vertical-align:middle}
.gs-layout .mc-fields label{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.mc-percent{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.gs-layout .mc-percent input{width:94px;flex:none;text-align:right}
.mc-conditional{background:#0d121b}
.gs-layout .mc-skill-table{min-width:650px}
.gs-layout .mc-skill-table th,.gs-layout .mc-skill-table td{text-align:center;padding:7px 9px}
.gs-layout .mc-skill-table th:first-child{width:33%}
.gs-layout .mc-skill-table td input[type=text]{box-sizing:border-box;width:min(100%,220px)}
.gs-layout .mc-skill-table td input[type=number]{box-sizing:border-box;width:90px;text-align:right}
.gs-layout .mc-skill-table input[readonly]{color:var(--accent-2);background:var(--panel)}
.gs-layout .mc-remove-skill{margin:4px;font-size:11px;padding:4px 8px}
.gs-layout #mc-add-skill{width:100%;border-style:dashed;color:var(--accent-2)}
.gs-layout .mc-other-skill strong{font-weight:650;color:var(--accent-2)}
.gs-layout #mc-share-status{margin-bottom:0}
.gs-layout #mc-share-status.mc-invalid{color:#f17575}
@media(max-width:600px){.gs-layout .mc-question{padding:12px 10px}.mc-fields{gap:10px}.gs-layout .mc-fields label{width:100%;justify-content:space-between}}
.mc-engraving-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 12px}
.mc-engraving{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:6px 8px;border:1px solid var(--line);border-radius:7px}
.gs-layout .mc-engraving label{display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}
.gs-layout .mc-engraving select{padding:6px 8px;min-width:62px}
.mc-crit-guide{padding:8px 14px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px}
.gs-layout #mc-common-preview{color:var(--accent-2);font-weight:650;margin-bottom:0}

/* Review: engraving icons, high-contrast guidance and aligned editable skill rows. */
.gs-layout .mc-engraving label{gap:5px}
.gs-layout .mc-engraving-icon{width:24px;height:24px;flex:none;object-fit:contain;border-radius:4px}
.gs-layout .mc-crit-guide{color:#f7f9ff;font-weight:650}
.gs-layout .mc-crit-guide p{color:#f7f9ff;font-weight:650;line-height:1.65}
.gs-layout .mc-highlight{color:#ffd36a;font-weight:750}
.gs-layout .mc-question p{line-height:1.65}
.gs-layout .mc-skill-table{min-width:650px}
.gs-layout .mc-skill-table th:first-child{width:34%}
.gs-layout .mc-skill-name-cell{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:7px}
.gs-layout .mc-skill-name-cell input[type=text]{min-width:0;width:100%}
.gs-layout .mc-remove-skill{margin:0;white-space:nowrap;padding:5px 3px;font-size:11px}
.gs-layout .mc-remove-placeholder{display:block;width:40px;height:1px}
.gs-layout .mc-skill-table td input[type=number]{width:85px}

/* Match each survey question to its content, not the full-page width. */
.gs-layout #mc-form>.mc-question{box-sizing:border-box;width:100%;max-width:980px}
.gs-layout #mc-form>.mc-question-compact{max-width:560px}
.gs-layout #mc-form>.mc-question-engravings{max-width:960px}
.gs-layout #mc-form>.mc-question-speed{max-width:980px}
.gs-layout #mc-common{max-width:740px}
.gs-layout #mc-skills{max-width:980px}
.gs-layout #mc-crit-guide{max-width:960px;box-sizing:border-box}
.gs-layout .mc-engraving-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gs-layout .mc-engraving{box-sizing:border-box;width:100%;min-width:0;min-height:46px}
.gs-layout .mc-engraving label{min-width:0}
.gs-layout .mc-engraving select{flex:none}
.gs-layout .mc-question-note{display:block;padding-top:9px;line-height:1.5}
@media(max-width:840px){.gs-layout .mc-engraving-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.gs-layout .mc-engraving-grid{grid-template-columns:1fr}}

/* Explain whether the gem skills came from Armory or stored manual input. */
.mc-skill-import-status{font-size:13px;color:var(--accent-2);font-weight:650;line-height:1.6;margin:6px 0 12px}

/* Remove browser numeric steppers from every numeric field in this simulator.
   Keep input[type=number] so existing min/max/step and validation still work. */
.gs-layout input[type="number"]{-moz-appearance:textfield;appearance:textfield}
.gs-layout input[type="number"]::-webkit-inner-spin-button,
.gs-layout input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
