/* Extend Re:Site's supplied tokens and components; no page-wide theme reset. */
[data-builder-service] .service-provider-entry .provider-row{margin:14px 0 8px;gap:12px}
[data-builder-service] .provider-icon{width:44px;height:44px}
.service-account{scroll-margin-top:100px}.service-message{font-size:14px;line-height:1.7;color:var(--blue);white-space:pre-line;overflow-wrap:anywhere}.service-message:not(:empty){padding:18px 0}
.service-account-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;border:1px solid var(--line);border-radius:var(--radius);padding:26px 30px;margin:24px 0;background:#f6faff}.service-account-inner h2{font-size:24px;margin:8px 0}.service-account-inner .field-help{margin:10px 0}.service-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}.service-profile-details{font-size:14px;color:var(--muted)}.service-profile-details summary{min-height:44px;cursor:pointer;padding:10px 0}.service-profile-details p{overflow-wrap:anywhere}.service-quotas{display:flex;flex-wrap:wrap;gap:12px;align-self:center}.service-quota{padding:20px 24px;min-width:165px;border-radius:12px;background:white;border:1px solid #dfebfc}.service-quota span{font-size:14px;color:var(--muted)}.service-quota strong{display:block;font-size:26px;color:var(--blue);margin:7px 0}.service-quota small{font-size:13px;color:var(--muted)}
.service-gate{padding:18px;background:var(--sky);border:1px solid #dce9fc;border-radius:12px;margin-bottom:20px;font-size:15px}.service-gate .btn{margin-top:12px}#service-form-fields{padding:0;margin:0;border:0;min-width:0}#service-form-fields:disabled{opacity:.48}.service-work{padding-top:35px;padding-bottom:65px}.service-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.service-work h3{font-size:22px}.service-section-top{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.service-work .field-help,.service-master-main .field-help{font-size:14px;line-height:1.75;margin:14px 0}.service-work form>label,.service-master-main form>label,.service-dialog form>label{display:block;font-weight:650;font-size:14px;margin:18px 0 7px}.service-work select,.service-work textarea,.service-master-main input,.service-dialog input:not([type=checkbox]){width:100%;min-width:0;font:inherit;color:var(--ink);background:#fff;padding:12px;border:1px solid #d5dfed;border-radius:9px;min-height:46px}.service-work textarea{resize:vertical}.service-work form>.btn,.service-master-main form>.btn,.service-dialog form>.btn{margin-top:20px;width:100%}.service-job{padding:22px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.service-job:last-child{border:0}.service-job p{font-size:13px;color:var(--muted);margin:8px 0}.service-job .btn{margin:10px 8px 0 0}.service-job img{width:100%;max-height:230px;object-fit:contain;border-radius:10px;margin:14px 0}.service-progress{font-size:18px;font-weight:800;color:#d40000;display:block}
.service-dialog{width:min(510px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:var(--radius);padding:28px;color:var(--ink);background:#fff;box-shadow:var(--shadow)}.service-dialog::backdrop{background:#14274888;backdrop-filter:blur(3px)}.service-dialog .icon-btn{width:44px;height:44px}.service-dialog h2{font-size:27px;line-height:1.4;margin:10px 0 14px;letter-spacing:-1px}.service-dialog .field-help{font-size:14px;line-height:1.75}.service-required{font-size:12px;color:#b72f47;margin-left:5px}.service-auth-note{margin:20px 0 10px;padding:12px 14px;border-radius:9px;background:#f4f7fc;color:#53637a;font-size:13px;line-height:1.75}.service-dialog details{font-size:13px;line-height:1.75;color:#53637a}.service-dialog summary{cursor:pointer;min-height:44px;padding:10px 0}.service-check{display:flex!important;align-items:flex-start;gap:9px;font-weight:400!important;line-height:1.7}.service-check input{margin:4px 0;flex-shrink:0;width:18px;height:18px}.service-error{font-size:14px;color:#b52439;line-height:1.7;margin-top:12px}
.service-master-main{padding-top:48px;padding-bottom:65px;min-height:65vh}.service-master-main h1{font-size:36px;letter-spacing:-1px}.service-master-login{max-width:520px;margin:30px auto}.service-member{padding:26px 0;border-bottom:1px solid var(--line)}.service-member p,.service-member small{overflow-wrap:anywhere}.service-member p{font-size:15px;margin:8px 0}.service-member small{font-size:13px;color:var(--muted)}.service-member-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-top:18px}.service-member-fields label{font-size:14px;font-weight:600}.service-member-fields input,.service-member-fields select{width:100%;min-width:0;padding:12px;margin-top:7px;border:1px solid #d5dfed;border-radius:9px;font:inherit;background:#fff}.service-member>.btn{width:auto!important}.service-member:last-child{border:0}
@media(max-width:800px){.service-account-inner{grid-template-columns:1fr;padding:22px}.service-quotas{width:100%}.service-quota{flex:1}.service-work-grid{grid-template-columns:1fr}.service-member-fields{grid-template-columns:1fr}.service-master-main h1{font-size:30px}}
/* Consent labels provide the touch target; do not stretch the checkbox like a text input. */
.service-work form>label.service-consent{display:flex;align-items:flex-start;gap:10px;min-height:44px;line-height:1.7;cursor:pointer}.service-work .service-consent input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:2px 0 0;padding:0;accent-color:var(--blue)}
#analysis-ai-report{overflow-wrap:anywhere}#analysis-ai-report h4{margin-top:18px}#image-plan{max-width:100%}
/* Three counters stack on small screens so Korean labels remain readable. */
@media(max-width:450px){.service-dialog{padding:20px}.service-dialog h2{font-size:24px}.service-account-inner{padding:20px}.service-quota{min-width:0;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px}.service-quota strong{font-size:21px;white-space:nowrap}.service-quotas{display:grid;grid-template-columns:1fr;gap:8px}.service-quota small{font-size:12px;grid-column:1/-1}.service-work{padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){html[data-builder-service]{scroll-behavior:auto}[data-builder-service] .btn:hover,[data-builder-service] .provider-icon:hover{transform:none}}
.service-legal { max-width: 860px; margin: 40px auto; padding: 24px; font-family: sans-serif; color: #172234; }
.service-legal-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: 14px; }
.service-legal-links { padding-top: 16px; padding-bottom: 16px; }
.service-check{min-height:44px;box-sizing:border-box;padding:8px 0}
/* Billing review fields also exist outside the budget settings form. */
#budget-panel label{display:block;margin:14px 0 7px;overflow-wrap:anywhere}
#budget-panel textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:90px;resize:vertical;font:inherit;color:var(--ink);background:#fff;padding:12px;border:1px solid #d5dfed;border-radius:9px}
.service-budget-confirm{box-sizing:border-box;overflow-wrap:anywhere}
.service-budget-confirm .service-actions{justify-content:flex-end}
.service-budget-confirm .btn{min-height:44px}
