.gsc-crp { max-width: 46rem; min-width: 0; margin: 2rem auto; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #d8e1ee; border-radius: 1rem; box-shadow: 0 12px 36px rgba(0,32,96,.07); background: #fff; color: var(--wp--preset--color--contrast, #14253d); box-sizing: border-box; overflow-wrap: anywhere; }
.gsc-crp p { line-height: 1.8; }
.gsc-crp-field { min-width: 0; margin-block: 1rem; }
.gsc-crp label { display: block; font-weight: 600; margin-bottom: .5rem; }
.gsc-crp input:not([type="hidden"]), .gsc-crp textarea, .gsc-crp select { width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; color: var(--wp--preset--color--contrast, #14253d); background: #fff; border: 1px solid #9aaec8; border-radius: .65rem; padding: .75rem .9rem; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.gsc-crp input:not([type="hidden"]):hover, .gsc-crp textarea:hover, .gsc-crp select:hover { border-color: var(--wp--preset--color--secondary, #0066cc); }
.gsc-crp input:not([type="hidden"]):focus-visible, .gsc-crp textarea:focus-visible, .gsc-crp select:focus-visible { border-color: var(--wp--preset--color--secondary, #0066cc); box-shadow: 0 0 0 3px rgba(0,102,204,.17); }
.gsc-crp input[type="file"] { padding: .55rem; overflow: hidden; }
.gsc-crp input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--wp--preset--color--primary, #002060); background: #eaf2fc; border: 1px solid #a7bfdd; border-radius: .45rem; padding: .45rem .75rem; margin-inline-end: .75rem; cursor: pointer; }
.gsc-crp input[type="file"]::file-selector-button:hover { background: #d8eafa; }
.gsc-crp textarea { resize: vertical; }
.gsc-crp-guidance { margin-bottom: 1rem; padding: .75rem 1rem; border: 1px solid #d9e7f6; border-radius: .65rem; background: #f5f9fe; line-height: 1.8; }
.gsc-crp-guidance p { margin-block: .5rem; }
.gsc-crp-guidance ol { padding-inline-start: 1.6rem; margin-block: .5rem .75rem; }
.gsc-crp-guidance li { padding-inline-start: .2rem; margin-block: .3rem; }
.gsc-crp-template-status, .gsc-crp-copy-status { display: block; line-height: 1.8; margin-top: .4rem; }
.gsc-crp button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.gsc-crp-success { padding: 1rem; border-inline-start: 4px solid var(--wp--preset--color--secondary, #0066cc); border-radius: .4rem; background: #f1f7ff; color: var(--wp--preset--color--contrast, #14253d); }
.gsc-crp-success h3 { margin: 0; font-size: 1.25rem; color: var(--wp--preset--color--primary, #002060); }
.gsc-crp-success p { margin-block: .5rem; }
.gsc-crp-success strong { display: block; overflow-wrap: anywhere; user-select: all; }
.gsc-crp button { font: inherit; font-weight: 600; background: var(--wp--preset--color--primary, #002060); color: #fff; padding: .8rem 1.5rem; border: 0; border-radius: .6rem; min-height: 44px; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.gsc-crp button:enabled:hover { background: var(--wp--preset--color--secondary, #0066cc); }
.gsc-crp button:disabled { background: #7c8da7; color: #fff; opacity: 1; cursor: not-allowed; }
.gsc-crp button[type="submit"] { background: var(--wp--preset--color--primary, #002060); color: #fff; }
.gsc-crp button[type="submit"]:enabled:hover { background: var(--wp--preset--color--secondary, #0066CC); }
.gsc-crp button[type="submit"]:focus-visible { outline: 3px solid var(--wp--preset--color--secondary, #0066CC); outline-offset: 3px; }
.gsc-crp :focus-visible { outline: 3px solid var(--wp--preset--color--secondary, #0066cc); outline-offset: 3px; }
.gsc-crp [aria-invalid="true"] { border-color: #a51f1f; }
.gsc-crp-error { display: block; color: #a51f1f; font-size: .95em; }
.gsc-crp-result { margin-top: 1rem; overflow-wrap: anywhere; line-height: 1.8; }
.gsc-crp-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gsc-crp-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 12px; }
.gsc-crp-previews figure { margin: 0; padding: 8px; border: 1px solid #d8e1ee; border-radius: 6px; }
.gsc-crp-previews img { width: 100%; height: 140px; object-fit: contain; display: block; margin-bottom: 8px; }
.gsc-crp-previews button { width: 100%; }
.gsc-crp-photo-error { color: #a51f1f; line-height: 1.8; }
.gsc-crp-line-fallback { padding: 1rem; margin-block: 1rem; border: 2px solid #a55011; border-radius: .5rem; background: #fff8ef; overflow-wrap: anywhere; }
.gsc-crp-line-fallback[hidden] { display: none; }
.gsc-crp a.gsc-crp-line-button { display: inline-block; box-sizing: border-box; max-width: 100%; min-height: 44px; padding: .8rem 1rem; border-radius: .6rem; color: #fff; background: var(--wp--preset--color--primary, #002060); text-decoration: underline; font-weight: 600; }
.gsc-crp a.gsc-crp-line-button:hover { background: var(--wp--preset--color--secondary, #0066cc); }
.gsc-crp-heading, .gsc-crp-group-heading { display: flex; align-items: center; gap: .7rem; min-width: 0; color: var(--wp--preset--color--primary, #002060); line-height: 1.4; }
.gsc-crp-heading { margin: 0 0 .75rem; font-size: clamp(1.45rem, 3vw, 1.8rem); }
.gsc-crp-group-heading { margin: 2rem 0 .85rem; padding-bottom: .65rem; border-bottom: 1px solid #d8e1ee; font-size: 1.18rem; }
.gsc-crp-group-heading--minor { margin-top: 1.5rem; font-size: 1.05rem; }
.gsc-crp-heading svg, .gsc-crp-group-heading svg { flex: none; width: 1.45em; height: 1.45em; padding: .23em; box-sizing: border-box; border-radius: .45rem; background: #eaf2fc; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gsc-crp .gsc-service-location { min-width: 0; margin: 0; }
.gsc-crp .gsc-service-location input, .gsc-crp .gsc-service-location select, .gsc-crp .gsc-service-location textarea { border-color: #9aaec8; border-radius: .65rem; color: var(--wp--preset--color--contrast, #14253d); }
.gsc-crp .gsc-service-location :focus-visible { outline: 3px solid var(--wp--preset--color--secondary, #0066cc); outline-offset: 3px; }
.gsc-crp .gsc-request-price-review { border-color: #d8e1ee; background: #f5f9fe; }
.gsc-crp .gsc-request-price-review button { background: var(--wp--preset--color--primary, #002060); }
.gsc-crp .gsc-request-price-review button:enabled:hover { background: var(--wp--preset--color--secondary, #0066cc); }
.gsc-crp-submit-note { margin-block: 1rem; font-size: .94rem; color: #435872; }
@media (max-width: 390px) { .gsc-crp { margin-block: 1rem; padding: 1rem; } .gsc-crp-heading { font-size: 1.4rem; } .gsc-crp-group-heading { font-size: 1.08rem; } .gsc-crp .gsc-crp-form > button[type="submit"] { width: 100%; } .gsc-crp input[type="file"]::file-selector-button { display: block; margin: 0 0 .4rem; max-width: 100%; } }

.gsc-crp-test-control:empty { display: none; }
.gsc-crp-test-control { display: block; margin-block: 1rem; }
.gsc-crp-test-control label { display: flex; align-items: flex-start; gap: .5rem; }
.gsc-crp-test-control input[type=checkbox] { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; min-height: 0; margin: .15rem 0 0; padding: 0; }
