#hcm-root{max-width:1040px;margin:24px auto 60px;color:#14283b;font-family:inherit}#hcm-root *{box-sizing:border-box}.hcm-head{padding:24px 28px;background:#041e42;color:white;border-radius:14px}.hcm-head h1{margin:0;color:white;font-size:26px}.hcm-head h1 span{font-weight:400}.hcm-head p{margin:5px 0 0;color:#d9e6f3}.hcm-tabs,.hcm-areas,.hcm-actions{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.hcm-tabs button,.hcm-area,#hcm-root button{cursor:pointer}.hcm-tabs button,.hcm-area{padding:11px 15px;background:#fff;border:1px solid #c7d2df;border-radius:9px;color:#041e42}.hcm-tabs .active,.hcm-area.active{background:#041e42;color:#fff;border-color:#041e42}.hcm-panel{background:#fff;border:1px solid #dce3eb;border-radius:12px;padding:22px;margin-top:15px;box-shadow:0 4px 16px #001d3810}.hcm-panel-head,.hcm-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.hcm-panel h2{margin:0 0 15px;font-size:22px}.hcm-primary{background:#041e42!important;border:1px solid #041e42!important;color:white!important;border-radius:8px;padding:11px 16px}.hcm-list{margin-top:20px}.hcm-item{padding:14px 0;border-top:1px solid #e1e6ee;flex-wrap:wrap}.hcm-item img{width:86px;height:64px;object-fit:cover;border-radius:7px}.hcm-item-info{flex:1;min-width:160px}.hcm-item-info strong,.hcm-item-info small{display:block}.hcm-item-info small{color:#68798b}.hcm-item button,.hcm-actions button{border:1px solid #bdcbd9;background:white;color:#041e42;border-radius:7px;padding:9px 12px}.hcm-danger{color:#9c2432!important}.hcm-field{display:block;font-weight:600;margin:14px 0}.hcm-field input,.hcm-field textarea,.hcm-field select{font:inherit;display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #bfcad7;border-radius:7px;background:white;color:#172a3e}.hcm-check{display:flex;align-items:center;gap:9px;margin:18px 0}.hcm-photo{border:1px dashed #9cabc0;border-radius:9px;min-height:90px;padding:16px;margin:10px 0;font-weight:400;color:#5b7084}.hcm-photo img{max-width:260px;max-height:180px;object-fit:contain}#hcm-form{border-top:2px solid #e5edf4;margin-top:18px;padding-top:18px}#hcm-message{margin-top:20px}.hcm-ok{color:#147047}.hcm-error{color:#b12c3c}@media(max-width:650px){.hcm-panel{padding:14px}.hcm-panel-head{align-items:flex-start;flex-direction:column}.hcm-item{align-items:flex-start}.hcm-item button{flex:1}}

body.hcm-standalone{margin:0;padding:12px;background:#f3f6fa;min-height:100vh;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body.hcm-standalone #hcm-root{margin:12px auto 70px}body.hcm-standalone #wpadminbar{display:none}html{scroll-padding-top:12px}

#hcm-root .hcm-hint{font-size:13px;line-height:1.45;color:#52647a;margin:6px 0 14px}#hcm-root .hcm-item-info small{line-height:1.5}

/* Seletor de fotografias independente do painel WordPress — v1.7.9 */
.hcm-media-overlay{position:fixed;inset:0;background:rgba(8,22,38,.68);z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px}
.hcm-media-modal{width:min(900px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:13px;padding:20px;color:#14283b;box-shadow:0 18px 65px #0004}
.hcm-media-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.hcm-media-head h3{margin:0;font-size:22px}.hcm-media-head button{font-size:28px;line-height:1;border:0;background:transparent;cursor:pointer;padding:5px 12px}
.hcm-media-search{display:flex;gap:8px;margin:17px 0}.hcm-media-search input{flex:1;min-width:0;border:1px solid #aebaca;border-radius:8px;padding:11px;font:inherit}.hcm-media-search button,#hcm-media-more{padding:10px 16px;border-radius:8px;background:#041e42;color:#fff;border:0;cursor:pointer}
.hcm-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;margin:14px 0}.hcm-media-item{min-width:0;display:flex;flex-direction:column;gap:7px;padding:7px;border:1px solid #d5dce5;border-radius:9px;background:#fff;cursor:pointer;text-align:left;color:#14283b}.hcm-media-item:hover,.hcm-media-item:focus-visible{outline:2px solid #2377bc}.hcm-media-item img{width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:5px}.hcm-media-item span{font-size:12px;overflow-wrap:anywhere}
@media(max-width:650px){.hcm-media-modal{max-height:94vh;padding:14px}.hcm-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
