.ctm-legal-public{max-width:980px;margin:32px auto;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17232e}.ctm-legal-hero{background:linear-gradient(135deg,#14212c,#22394b);color:#fff;border-radius:22px;padding:34px 38px;box-shadow:0 18px 55px rgba(20,33,44,.16)}.ctm-legal-hero>span{font-size:12px;letter-spacing:.18em;font-weight:800;color:#9dd6ef}.ctm-legal-hero h1{font-size:clamp(28px,4vw,44px);line-height:1.08;margin:10px 0 12px;color:#fff}.ctm-legal-hero p{font-size:16px;line-height:1.65;max-width:820px;margin:0;color:#dbe6ed}.ctm-legal-meta{margin-top:18px;font-size:13px;color:#a9c0cf}.ctm-legal-body,.ctm-legal-form,.ctm-legal-note,.ctm-legal-success{background:#fff;border:1px solid #e4e8ec;border-radius:18px;padding:30px 34px;margin-top:18px;box-shadow:0 8px 30px rgba(20,33,44,.06)}.ctm-legal-body h2{font-size:21px;margin:28px 0 8px;color:#17232e}.ctm-legal-body h2:first-child{margin-top:0}.ctm-legal-body p{font-size:15px;line-height:1.72;color:#3d4b56}.ctm-legal-note{background:#f7fafc}.ctm-legal-note p{margin-bottom:0}.ctm-legal-form label{display:block;font-weight:700;margin:0 0 16px;color:#24323d}.ctm-legal-form input,.ctm-legal-form select,.ctm-legal-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #cfd8df;border-radius:10px;padding:12px 13px;background:#fff;font:inherit;color:#17232e}.ctm-legal-form small{font-weight:400;color:#73808a}.ctm-legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ctm-legal-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important;line-height:1.5}.ctm-legal-check input{width:auto!important;margin-top:4px!important}.ctm-legal-primary{border:0;border-radius:10px;background:#17232e;color:#fff;padding:13px 20px;font-weight:800;font-size:15px;cursor:pointer}.ctm-legal-form-foot{font-size:12px;color:#71808b;margin:14px 0 0}.ctm-legal-success span{font-size:12px;font-weight:800;letter-spacing:.14em;color:#27805d}.ctm-legal-success h2{margin:8px 0}.ctm-legal-code{display:inline-block;margin:8px 0 10px;padding:10px 14px;border-radius:9px;background:#edf4f7;font-weight:900;font-size:19px;letter-spacing:.05em}.ctm-legal-floating{position:fixed;z-index:9998;left:18px;bottom:18px;background:#fff;color:#17232e;border:1px solid #cfd8df;border-radius:999px;padding:10px 14px;text-decoration:none!important;font:700 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.05em;box-shadow:0 9px 30px rgba(20,33,44,.15)}.ctm-legal-floating:hover{background:#17232e;color:#fff}.ctm-legal-checkout{border:1px solid #d9e2e8;background:#f7fafc;border-radius:14px;padding:16px 17px;margin:18px 0}.ctm-legal-checkout-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.ctm-legal-checkout-head strong{color:#17232e}.ctm-legal-checkout-head span{font-size:12px;color:#687782}.ctm-legal-checkout .ctm-legal-check{margin:10px 0!important}.ctm-legal-checkout .ctm-legal-check a{font-weight:800}.ctm-legal-threshold-note{font-size:12px;line-height:1.55;color:#5c6b76;margin:12px 0 0}.ctm-legal-admin .description{max-width:900px}.ctm-legal-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:18px 22px;margin:18px 0}.ctm-legal-stats{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;margin:18px 0}.ctm-legal-stats>div{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:16px}.ctm-legal-stats strong{display:block;font-size:24px}.ctm-legal-stats span{color:#5f6b76}.ctm-legal-chip{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.ctm-legal-chip.ok{background:#e7f6ee;color:#1f694b}.ctm-legal-chip.warn{background:#fff4dc;color:#825f0b}.ctm-legal-chip.bad{background:#fde9e7;color:#91392f}.ctm-legal-chip.neutral{background:#edf1f4;color:#4e5d68}.ctm-legal-detail-head{display:flex;justify-content:space-between;align-items:flex-start;background:#17232e;color:#fff;border-radius:14px;padding:22px 24px;margin:16px 0}.ctm-legal-detail-head span{font-size:11px;letter-spacing:.15em;color:#9dd6ef}.ctm-legal-detail-head h2{color:#fff;margin:6px 0}.ctm-legal-detail-head p{margin:0;color:#dce7ed}.ctm-legal-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ctm-legal-detail-grid section{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:16px 18px}.ctm-legal-detail-grid h3{margin-top:0}.ctm-legal-version-body{max-width:880px}.ctm-legal-version-body h2{margin-top:24px}@media(max-width:720px){.ctm-legal-public{margin:16px 12px}.ctm-legal-hero,.ctm-legal-body,.ctm-legal-form,.ctm-legal-note,.ctm-legal-success{padding:22px}.ctm-legal-grid,.ctm-legal-detail-grid{grid-template-columns:1fr}.ctm-legal-stats{grid-template-columns:1fr 1fr}.ctm-legal-floating{left:10px;right:10px;text-align:center}.ctm-legal-checkout-head{align-items:flex-start;flex-direction:column}}

/* Expediente administrativo 0.1.1 */
.ctm-legal-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}.ctm-legal-detail-toolbar>a{text-decoration:none;font-weight:700}.ctm-legal-head-badges{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:180px}.ctm-legal-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:14px 0 18px}.ctm-legal-summary-grid>div{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:15px 16px}.ctm-legal-summary-grid span{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:800;color:#687782}.ctm-legal-summary-grid strong{display:block;font-size:18px;line-height:1.2;margin:6px 0;color:#17232e}.ctm-legal-summary-grid small{color:#687782}.ctm-legal-executive h2{margin-top:0}.ctm-legal-integrity{background:#f6f8fa;border:1px solid #e1e6ea;border-radius:9px;padding:12px 14px;margin-top:14px;overflow-wrap:anywhere}.ctm-legal-integrity code{font-size:11px}.ctm-legal-dl{display:grid;grid-template-columns:minmax(120px,.85fr) 1.15fr;margin:0}.ctm-legal-dl dt,.ctm-legal-dl dd{padding:7px 0;border-bottom:1px solid #eef1f3}.ctm-legal-dl dt{font-weight:700;color:#65717a}.ctm-legal-dl dd{margin:0;color:#17232e;overflow-wrap:anywhere}.ctm-legal-empty{background:#f7f9fa;border-radius:8px;padding:11px 12px;color:#687782}.ctm-legal-hashline{margin:12px 0 0}.ctm-legal-hashline small{display:block;color:#687782;margin-bottom:4px}.ctm-legal-hashline code{display:block;background:#f7f9fa;border-radius:7px;padding:7px;overflow-wrap:anywhere;font-size:10px}.ctm-legal-progress{margin:0 0 14px;color:#56636d}.ctm-legal-progress strong{color:#17232e}.ctm-legal-progress-track{height:8px;border-radius:99px;background:#e7ecef;overflow:hidden;margin-bottom:7px}.ctm-legal-progress-track span{display:block;height:100%;background:#17232e;border-radius:99px}.ctm-legal-request-facts{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}.ctm-legal-request-facts p{background:#f7f9fa;border-radius:9px;padding:10px 12px;margin:0}.ctm-legal-reason{margin-top:14px;border-top:1px solid #edf0f2;padding-top:14px}.ctm-legal-ua{display:block;white-space:normal;overflow-wrap:anywhere;background:#f7f9fa;padding:10px;border-radius:8px;margin-top:8px}.ctm-legal-section-head{display:flex;justify-content:space-between;align-items:flex-start}.ctm-legal-section-head h3{margin:0}.ctm-legal-section-head p{margin:4px 0 0;color:#687782}.ctm-legal-timeline{margin:18px 0 6px;position:relative}.ctm-legal-timeline:before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:#dce3e8}.ctm-legal-timeline-item{position:relative;display:grid;grid-template-columns:14px 1fr;gap:12px;padding:0 0 18px}.ctm-legal-dot{position:relative;z-index:2;width:10px;height:10px;border-radius:50%;background:#17232e;border:2px solid #fff;box-shadow:0 0 0 2px #b8c5ce;margin-top:4px}.ctm-legal-timeline-meta{font-size:11px;color:#71808a;margin-bottom:3px}.ctm-legal-timeline-item p{margin:5px 0 4px}.ctm-legal-transition{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:6px;background:#f1f4f6;font-size:11px;font-weight:700;color:#52606b}.ctm-legal-note-form{border-top:1px solid #e7ebee;margin-top:8px;padding-top:16px}.ctm-legal-note-form textarea{margin-top:7px}.ctm-legal-resolution{border-left:4px solid #17232e}.ctm-legal-refresh-form{margin-top:15px;border-top:1px solid #e7ebee;padding-top:14px}.ctm-legal-refresh-form .description{display:inline-block;margin-left:10px;vertical-align:middle}.ctm-legal-filter-card{padding:13px 16px}.ctm-legal-filter-row{display:grid;grid-template-columns:minmax(250px,1.4fr) minmax(150px,.7fr) minmax(170px,.8fr) auto;gap:12px;align-items:end}.ctm-legal-filter-row label{font-weight:700}.ctm-legal-filter-row input,.ctm-legal-filter-row select{display:block;width:100%;margin-top:5px}.ctm-legal-filter-actions{display:flex;gap:7px}.ctm-legal-request-table td{vertical-align:middle}.ctm-legal-request-table small{color:#687782}
@media(max-width:1100px){.ctm-legal-summary-grid{grid-template-columns:1fr 1fr}.ctm-legal-request-facts{grid-template-columns:1fr 1fr}.ctm-legal-filter-row{grid-template-columns:1fr 1fr}.ctm-legal-filter-actions{align-self:end}}
@media(max-width:720px){.ctm-legal-detail-toolbar{align-items:flex-start;flex-direction:column}.ctm-legal-head-badges{align-items:flex-start;min-width:0}.ctm-legal-summary-grid,.ctm-legal-request-facts,.ctm-legal-filter-row{grid-template-columns:1fr}.ctm-legal-dl{grid-template-columns:1fr}.ctm-legal-dl dt{padding-bottom:0;border-bottom:0}.ctm-legal-dl dd{padding-top:2px}.ctm-legal-refresh-form .description{display:block;margin:8px 0 0}}


/* Controles de ubicación y botón 0.1.2 */
.ctm-legal-inline-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 16px;
    border:1px solid #cfd8df;
    border-radius:999px;
    text-decoration:none!important;
    font:700 12px/1.2 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    letter-spacing:.03em;
    transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.ctm-legal-floating-right{left:auto;right:18px}
.ctm-legal-floating-left{left:18px;right:auto}
.ctm-legal-location-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px 18px;max-width:760px}
.ctm-legal-color-grid{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-end}
.ctm-legal-color-grid label{font-weight:600}
.ctm-legal-color-grid input[type=color]{width:58px;height:34px;padding:2px}
.ctm-legal-button-preview{margin-top:14px;padding:18px;background:#f6f7f7;border:1px solid #dcdcde;border-radius:8px}
.ctm-legal-button-preview span{display:inline-block;border:1px solid #cfd8df;border-radius:999px;padding:10px 14px;font-weight:700;font-size:11px;letter-spacing:.05em}
@media(max-width:720px){
    .ctm-legal-floating.ctm-legal-floating-left,
    .ctm-legal-floating.ctm-legal-floating-right{left:10px;right:10px}
    .ctm-legal-location-grid{grid-template-columns:1fr}
}
