.amcos-app{--green:#164b36;--gold:#c49a48;--cream:#faf7ef;max-width:1120px;margin:32px auto 70px;color:#1b3027;font-family:inherit}.amcos-app *{box-sizing:border-box}.amcos-hero{padding:56px 42px;border-radius:22px;background:linear-gradient(115deg,#113d2c,#267052);color:white}.amcos-hero span{color:#e4c88e;font-size:12px;font-weight:800;letter-spacing:2px}.amcos-hero h1{font-size:clamp(32px,5vw,55px);line-height:1.1;margin:15px 0}.amcos-hero p{opacity:.92;font-size:17px}.amcos-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.amcos-card{display:flex;flex-direction:column;gap:12px;padding:30px 24px;background:var(--cream);border:1px solid #e9e1d0;border-radius:18px;text-decoration:none!important;color:var(--green)!important;transition:transform .2s,box-shadow .2s}.amcos-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px #113d2c15}.amcos-icon{display:grid;place-items:center;background:#e9dfc8;border-radius:12px;width:48px;height:48px;font-weight:800;color:var(--green)}.amcos-card strong{font-size:22px}.amcos-card small{color:#56645c;font-size:14px}.amcos-card>span:last-child{color:#8b6829;font-weight:800;margin-top:10px}.amcos-form-wrap{border:1px solid #e7e4d8;border-radius:20px;padding:32px;background:white;margin-top:28px}.amcos-form-wrap h2{color:var(--green);margin-top:0}.amcos-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.amcos-app label{display:block;font-size:14px;font-weight:650;color:#244a39}.amcos-app input:not([type=checkbox]):not([type=file]){width:100%;display:block;margin-top:7px;padding:12px;border:1px solid #cbd8d0;border-radius:8px;font-size:16px;background:white}.amcos-app input[type=file]{display:block;width:100%;margin-top:10px;font-size:14px}.amcos-app fieldset{border:1px solid #d9e2da;border-radius:12px;padding:20px;margin:24px 0}.amcos-app legend{font-weight:800;color:var(--green);padding:0 8px}.amcos-person{border-top:1px solid #e2e9e4;margin:20px 0;padding-top:12px}.amcos-person h3{color:var(--green)}.amcos-sign{width:100%;height:150px;border:2px dashed #bac9bd;border-radius:9px;background:#fff;touch-action:none;margin-top:8px}.amcos-clear{border:1px solid #bbc9bd;background:#fff;color:var(--green);border-radius:6px;padding:6px 14px;cursor:pointer}.amcos-check{display:flex!important;gap:12px;align-items:flex-start;margin:20px 0}.amcos-check input{margin-top:5px}.amcos-submit{background:var(--green);color:#fff;border:0;padding:16px 30px;border-radius:10px;font-size:16px;font-weight:750;cursor:pointer}.amcos-submit:hover{background:#236c4c}.amcos-small{font-size:12px;color:#8a583b}.amcos-notice{background:#e9f5ed;border-left:4px solid var(--green);padding:15px;margin-top:20px}@media(max-width:720px){.amcos-hero{padding:38px 22px}.amcos-cards,.amcos-fields{grid-template-columns:1fr}.amcos-form-wrap{padding:20px}}

/* AMCOS 0.3: enforce contrast and conventional typography inside the plugin only */
.amcos-app,.amcos-app input,.amcos-app select,.amcos-app button{font-family:Arial,Helvetica,sans-serif!important}
.amcos-app .amcos-hero h1{color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;opacity:1!important;text-shadow:none!important}
.amcos-app .amcos-hero p{color:#f4f7f4!important;font-family:Arial,Helvetica,sans-serif!important}
.amcos-app .amcos-card strong{font-family:Arial,Helvetica,sans-serif!important}
.amcos-phone{display:flex;gap:8px;align-items:stretch;margin-top:7px}.amcos-phone select{width:45%;min-width:130px;border:1px solid #cbd8d0;border-radius:8px;background:#fff;padding:10px;font-size:14px}.amcos-app .amcos-phone input{margin-top:0!important;min-width:0;flex:1}.amcos-app label small{display:block;color:#596e62;font-weight:400;margin-top:5px}
@media(max-width:450px){.amcos-phone{flex-direction:column}.amcos-phone select{width:100%}}

/* v0.3.1 — narrow viewport containment and accessible signature controls */
.amcos-app,.amcos-app .amcos-form-wrap,.amcos-app .amcos-fields,.amcos-app .amcos-person,.amcos-app .amcos-signature-area,.amcos-app fieldset{min-width:0;max-width:100%}
.amcos-app{width:100%;overflow-wrap:anywhere}
.amcos-app .amcos-hero,.amcos-app .amcos-form-wrap,.amcos-app fieldset{overflow-wrap:anywhere}
.amcos-app .amcos-fields>label,.amcos-app .amcos-person>label{min-width:0;max-width:100%}
.amcos-app input,.amcos-app select,.amcos-app textarea{max-width:100%}
.amcos-app input[type=file]{min-width:0;max-width:100%;white-space:normal}
.amcos-app .amcos-signature-area{width:100%;margin:18px 0 8px}
.amcos-app .amcos-sign-label{display:block;font-weight:700;color:#244a39;font-size:14px}
.amcos-app .amcos-sign{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:620/150;min-height:110px;touch-action:none;cursor:crosshair}
.amcos-app .amcos-sign-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:12px;max-width:100%}
.amcos-app .amcos-clear{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;white-space:normal;flex-shrink:0}
.amcos-app .amcos-sign-upload{display:block;flex:1 1 210px;min-width:0}
.amcos-app .amcos-sign-upload input[type=file]{width:100%;margin-top:6px}
.amcos-app .amcos-money[readonly],.amcos-app input[readonly]{background:#f2f5f0!important;color:#244a39}
.amcos-app .amcos-documents p{max-width:100%}
@media(max-width:720px){
 .amcos-app{margin:16px auto 40px;padding:0 10px}
 .amcos-app .amcos-form-wrap{padding:20px 14px;margin-top:18px}
 .amcos-app fieldset{padding:15px 12px;margin:18px 0}
 .amcos-app .amcos-fields{grid-template-columns:minmax(0,1fr);gap:14px}
 .amcos-app .amcos-card{padding:20px}
 .amcos-app .amcos-hero{padding:30px 18px}
 .amcos-app .amcos-hero h1{font-size:clamp(27px,8vw,39px)}
 .amcos-app .amcos-person{margin:14px 0;padding-top:10px}
 .amcos-app .amcos-sign-actions{align-items:stretch;flex-direction:column}
 .amcos-app .amcos-sign-upload{flex:auto;width:100%}
 .amcos-app .amcos-sign{min-height:108px}
}

/* v0.3.2: override theme/YOOtheme desktop sizing and inherited no-wrap rules. */
.amcos-app,.amcos-app *{box-sizing:border-box!important}
.amcos-app{display:block!important;width:100%!important;max-width:1120px!important;min-width:0!important;margin-inline:auto!important;overflow:visible!important}
.amcos-app .amcos-hero,.amcos-app .amcos-cards,.amcos-app .amcos-card,.amcos-app .amcos-form-wrap,.amcos-app form,.amcos-app fieldset,.amcos-app .amcos-person,.amcos-app .amcos-fields,.amcos-app .amcos-fields>label,.amcos-app .amcos-signature-area{min-width:0!important;max-width:100%!important}
.amcos-app h1,.amcos-app h2,.amcos-app h3,.amcos-app p,.amcos-app legend,.amcos-app label,.amcos-app strong,.amcos-app small,.amcos-app span:not(.amcos-phone){white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;max-width:100%!important}
.amcos-app .amcos-form-wrap h2{font-size:clamp(27px,5vw,44px)!important;line-height:1.18!important}
.amcos-app .amcos-sign{width:100%!important;max-width:100%!important;display:block}
.amcos-app input[type=file]{width:100%!important;min-width:0!important;white-space:normal!important}
.amcos-app .amcos-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.amcos-app .amcos-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.amcos-app #amcos-application-form{scroll-margin-top:90px}
@media(max-width:720px){
 .amcos-app{padding:0 10px!important;margin:16px auto 40px!important}
 .amcos-app .amcos-cards,.amcos-app .amcos-fields{grid-template-columns:minmax(0,1fr)!important}
 .amcos-app .amcos-hero{padding:28px 18px!important}
 .amcos-app .amcos-form-wrap{padding:18px 14px!important}
 .amcos-app fieldset{padding:14px 12px!important}
 .amcos-app .amcos-signature-area{width:100%!important}
 .amcos-app .amcos-sign-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .amcos-app .amcos-clear{width:100%!important}
 .amcos-app .amcos-form-wrap h2{font-size:clamp(26px,8vw,36px)!important}
 .amcos-app .amcos-hero h1{font-size:clamp(29px,8vw,40px)!important}
}
