:root{
  --oco-blue:#0f2d52;
  --oco-blue-2:#123e71;
  --oco-green:#0e6b5c;
  --oco-green-2:#15856f;
  --oco-text:#102235;
  --oco-text-soft:#4b6075;
  --oco-bg:#f4f7fb;
  --oco-card:#ffffff;
  --oco-border:#d8e3ef;
  --oco-shadow:0 18px 55px rgba(12,31,56,.08);
  --oco-radius:24px;
}
.oco-wrap{max-width:1220px;margin:36px auto;padding:0 18px;color:var(--oco-text);font-family:Arial,Helvetica,sans-serif}
.oco-hero{background:linear-gradient(135deg,var(--oco-blue),var(--oco-green));border-radius:32px;padding:34px 38px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:var(--oco-shadow);position:relative;overflow:hidden;margin-bottom:26px}
.oco-hero:before,.oco-hero:after{content:"";position:absolute;border-radius:999px;background:rgba(255,255,255,.09)}
.oco-hero:before{width:210px;height:210px;left:-60px;bottom:-90px}.oco-hero:after{width:250px;height:250px;right:-70px;top:-85px}
.oco-hero.small{padding:30px 38px}
.oco-hero h1,.oco-hero.small h1{margin:0 0 8px;font-size:42px;line-height:1.05;color:#fff !important;text-shadow:0 1px 0 rgba(0,0,0,.08)}
.oco-hero.small h1{font-size:34px}
.oco-hero p{margin:0;max-width:720px;font-size:18px;line-height:1.5;color:#fff !important}
.oco-chip{display:inline-block;margin-top:18px;padding:12px 18px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);border-radius:999px;font-weight:700;color:#fff}
.oco-grid{display:grid;gap:24px}.oco-grid.two{grid-template-columns:1fr 1fr}.oco-grid.two-mini{grid-template-columns:1fr 1fr}.oco-grid.three{grid-template-columns:1fr 1fr 1fr}
.oco-card{background:var(--oco-card);border:1px solid var(--oco-border);border-radius:var(--oco-radius);box-shadow:var(--oco-shadow);padding:28px}
.oco-card h2{margin:0 0 8px;font-size:28px;color:var(--oco-blue)}
.oco-sub{margin:0 0 24px;color:var(--oco-text-soft);font-size:17px;line-height:1.5}
.oco-form{display:flex;flex-direction:column;gap:12px}
.oco-form label{font-weight:700;color:var(--oco-text);font-size:15px}
.oco-form input,.oco-form select,.oco-form textarea{border:1px solid #bfcfe2;border-radius:14px;padding:0 16px;font-size:15px;background:#fff;color:#0f172a;outline:none;box-sizing:border-box;width:100%}
.oco-form input,.oco-form select{height:54px}
.oco-form textarea{padding:14px 16px;min-height:160px}
.oco-form input:focus,.oco-form select:focus,.oco-form textarea:focus{border-color:var(--oco-green-2);box-shadow:0 0 0 4px rgba(21,133,111,.12)}
.oco-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border-radius:14px;text-decoration:none;border:1px solid transparent;cursor:pointer;font-weight:800;font-size:16px;transition:.2s ease;white-space:nowrap}
.oco-btn:hover{transform:translateY(-1px)}
.oco-btn-primary{background:linear-gradient(135deg,var(--oco-green),var(--oco-blue));color:#fff !important;border-color:#103867;box-shadow:0 12px 28px rgba(12,31,56,.12)}
.oco-btn-primary *{color:#fff !important}
.oco-btn-light{background:#fff;color:var(--oco-blue) !important;border-color:#c3d3e5}
.oco-btn-logout{background:#ffffff14;color:#fff !important;border:1px solid rgba(255,255,255,.45)}
.oco-btn-logout:hover{background:#ffffff22}
.oco-actions-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.oco-links-row{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:8px}
.oco-links-row a{color:var(--oco-green);text-decoration:none;font-weight:700}
.oco-response{display:none;padding:14px 16px;border-radius:14px;font-size:14px;line-height:1.5;margin-top:10px}
.oco-response.success{display:block;background:#eaf8f1;color:#106741}.oco-response.error{display:block;background:#fff0ef;color:#b83829}
.oco-steps{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 22px}.oco-steps span{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:999px;border:1px solid #cfdae8;color:var(--oco-blue);background:#f7fafc;font-weight:800}.oco-steps span.active{background:#e7f5f1;border-color:#a7d8c9;color:var(--oco-green)}.oco-steps span.done{background:#eef4ff;border-color:#cbdcf7}
.oco-highlight-box{background:#eef8ff;border:1px solid #d4e8f8;color:var(--oco-blue);padding:16px 18px;border-radius:16px;margin-bottom:18px;line-height:1.6}
.oco-loading{padding:18px;border-radius:18px;background:#edf4fb;color:var(--oco-blue);font-weight:800;text-align:center}
.oco-estimate-box{background:linear-gradient(180deg,#fcfffd,#f1f8f5);border:1px solid #d5e8e1;padding:22px;border-radius:22px;box-shadow:var(--oco-shadow)}
.oco-estimate-kicker{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--oco-green);font-weight:800}.oco-estimate-price{font-size:48px;line-height:1.05;color:var(--oco-blue);font-weight:900;margin:8px 0 10px}
.oco-topmenu{position:relative;display:inline-block}.oco-topmenu-trigger{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid #d5e3f0;color:var(--oco-blue);text-decoration:none;font-weight:800;box-shadow:var(--oco-shadow)}
.oco-avatar{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,var(--oco-green),var(--oco-blue));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.oco-topmenu-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:230px;background:#fff;border:1px solid #d8e3ef;border-radius:18px;box-shadow:var(--oco-shadow);padding:10px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:999}
.oco-topmenu:hover .oco-topmenu-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.oco-topmenu-dropdown a{display:block;padding:12px 14px;border-radius:12px;text-decoration:none;color:var(--oco-blue);font-weight:700}.oco-topmenu-dropdown a:hover{background:#f3f8fd}
.oco-history-list{display:flex;flex-direction:column;gap:14px}.oco-history-item{border:1px solid var(--oco-border);border-radius:18px;padding:18px;background:#fbfdff}.oco-history-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;color:var(--oco-blue)}
.oco-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;color:var(--oco-text-soft);font-size:14px}.oco-history-grid span{line-height:1.6}.oco-history-price{margin-top:14px;font-size:28px;font-weight:900;color:var(--oco-green)}
.oco-empty,.oco-alert{padding:18px;border-radius:16px;background:#fff8df;color:#7b5a00}
.oco-modal{position:fixed;inset:0;background:rgba(8,18,30,.48);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}.oco-modal-box{width:100%;max-width:480px;background:#fff;border-radius:24px;padding:24px;box-shadow:var(--oco-shadow)}
@media (max-width:980px){.oco-grid.two,.oco-grid.three{grid-template-columns:1fr}.oco-hero{padding:26px;align-items:flex-start;flex-direction:column}.oco-hero h1{font-size:34px}.oco-estimate-price{font-size:40px}}
@media (max-width:640px){.oco-wrap{padding:0 12px}.oco-card{padding:20px}.oco-hero h1{font-size:30px}.oco-form input,.oco-form select,.oco-btn{min-height:50px;height:50px}.oco-history-grid,.oco-grid.two-mini{grid-template-columns:1fr}.oco-links-row{flex-direction:column}}

.oco-card-login{align-self:start}
.oco-form .oco-actions-row{margin-top:8px}
.oco-btn[disabled]{opacity:.75;cursor:not-allowed;transform:none}
.oco-step-form .oco-response{margin-top:14px}
.status-novo strong{color:#0e6b5c}.status-lida strong{color:#0f2d52}.status-em_analise strong{color:#7c5c00}.status-em_processamento strong{color:#0d5ea7}.status-cancelado strong,.status-excluido strong{color:#b42318}
.wrap .widefat td{vertical-align:top}

.oco-ssw-card{padding:30px}
.oco-ssw-form .oco-ssw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.oco-ssw-form .oco-field{display:flex;flex-direction:column;gap:8px}
.oco-ssw-form .oco-field .oco-help{font-size:12px;color:var(--oco-text-soft);margin-top:-2px}
.oco-ssw-result-box{margin-top:22px}
.oco-ssw-destaques{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0 18px}
.oco-ssw-card-result{background:linear-gradient(180deg,#233F56 0%, #17324b 100%);color:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 26px rgba(35,63,86,.16)}
.oco-ssw-card-result span{display:block;font-size:13px;opacity:.88;margin-bottom:10px}
.oco-ssw-card-result strong{display:block;font-size:28px;line-height:1.1;color:#fff}
.oco-ssw-aviso{margin:0 0 18px;background:rgba(35,63,86,.05);border-left:4px solid #233F56;padding:12px 14px;border-radius:10px;font-size:14px;color:var(--oco-text)}
.oco-ssw-alerta{margin:0 0 18px;background:rgba(17,97,46,.08);border-left:4px solid #11612E;padding:12px 14px;border-radius:10px;font-size:14px;color:var(--oco-text)}
.oco-ssw-grid-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.oco-ssw-item{background:#f8fbfd;border:1px solid rgba(35,63,86,.08);border-radius:14px;padding:14px}
.oco-ssw-item .titulo{display:block;color:#233F56;font-size:13px;font-weight:700;margin-bottom:8px}
.oco-ssw-item .valor{display:block;color:#242424;font-size:16px;font-weight:700;line-height:1.45}
.oco-quote-actions{margin-top:20px}
#oco-request-quote-btn{min-width:220px}
@media (max-width:1024px){.oco-ssw-form .oco-ssw-grid,.oco-ssw-destaques,.oco-ssw-grid-result{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:767px){.oco-ssw-form .oco-ssw-grid,.oco-ssw-destaques,.oco-ssw-grid-result{grid-template-columns:1fr;}.oco-ssw-card{padding:20px}}

.oco-unit-select-wrap{margin-top:20px;padding:16px 18px;border:1px solid #d8e3ef;background:#f8fbff;border-radius:16px}
.oco-unit-select-wrap label{display:block;margin-bottom:8px;font-weight:800;color:var(--oco-blue)}
.oco-unit-select{width:100%;height:52px;border:1px solid #bfd0e2;border-radius:14px;padding:0 14px;font-size:15px}
.oco-history-accordion summary{list-style:none;cursor:pointer}
.oco-history-accordion summary::-webkit-details-marker{display:none}
.oco-history-summary{display:block}
.oco-history-body{padding-top:14px;border-top:1px solid #e5edf5;margin-top:14px}
.oco-history-payload{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-top:14px;color:var(--oco-text-soft);font-size:14px;line-height:1.6}
.oco-history-payload div{padding:10px 12px;background:#f7fafc;border:1px solid #e3ebf3;border-radius:12px}
@media (max-width:640px){.oco-history-payload{grid-template-columns:1fr}}


/* v15 refinements */
.oco-btn,.oco-btn-primary,.oco-btn-light,.oco-btn-logout,.oco-actions-row .oco-btn,.oco-form button,.oco-form a.oco-btn{border-radius:999px !important;}
.oco-quote-actions{margin-top:18px;align-items:center}
.oco-unit-select-wrap{margin-top:20px}
.oco-unit-select-card{background:linear-gradient(180deg,#f8fbff 0%,#f1f7f4 100%);border:1px solid #dfeaf2;border-radius:20px;padding:20px 20px 18px;box-shadow:0 10px 28px rgba(14,35,64,.06)}
.oco-unit-select-head{margin-bottom:14px}
.oco-unit-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--oco-green);margin-bottom:8px}
.oco-unit-select-head h4{margin:0 0 8px;color:var(--oco-blue);font-size:22px;line-height:1.2}
.oco-unit-select-head p{margin:0;color:var(--oco-text-soft);line-height:1.6}
.oco-unit-select-wrap label{display:block;font-weight:800;color:var(--oco-blue);margin:0 0 10px}
.oco-unit-select{width:100%;min-height:54px;border:1px solid #cfe0ea;border-radius:16px;background:#fff;padding:0 16px;font-size:15px;box-sizing:border-box;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.oco-unit-select:focus{outline:none;border-color:var(--oco-green);box-shadow:0 0 0 4px rgba(22,122,91,.12)}
.oco-help{display:block;margin-top:10px;color:var(--oco-text-soft)}
.oco-history-summary{position:relative;padding-right:38px}
.oco-history-summary::after{content:"⌄";position:absolute;top:8px;right:6px;font-size:26px;line-height:1;color:var(--oco-green);font-weight:700;transition:transform .2s ease}
.oco-history-accordion[open] .oco-history-summary::after{transform:rotate(180deg)}
.oco-history-head strong::after{content:"  •  Toque para ver mais";font-size:12px;font-weight:600;color:var(--oco-text-soft);margin-left:8px}
@media (max-width:640px){.oco-unit-select-card{padding:18px}.oco-unit-select-head h4{font-size:19px}.oco-history-summary{padding-right:32px}.oco-history-head{flex-direction:column;align-items:flex-start}.oco-history-head strong::after{display:block;content:"Toque para ver mais";margin-left:0;margin-top:4px}}


/* v16 refinements */
.oco-btn,
button.oco-btn,
a.oco-btn,
input[type="submit"].oco-btn {border-radius:999px !important;min-height:52px;padding:0 22px}
.oco-unit-select-wrap {margin-top:22px;padding:22px;border:1px solid #d8e3ef;background:linear-gradient(180deg,#f8fbff 0%,#eef6fb 100%);border-radius:22px;box-shadow:0 10px 30px rgba(15,45,82,.06)}
.oco-unit-select-card {display:flex;flex-direction:column;gap:10px}
.oco-unit-select-head h4 {margin:0;color:var(--oco-blue);font-size:22px;line-height:1.2}
.oco-unit-select-head p {margin:0;color:var(--oco-text-soft);line-height:1.6}
.oco-unit-kicker {display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--oco-green);margin-bottom:4px}
.oco-unit-select {width:100%;min-height:54px;border:1px solid #bfd0e2;border-radius:18px;padding:0 16px;font-size:15px;background:#fff;color:var(--oco-text)}
.oco-history-accordion {overflow:hidden}
.oco-history-summary {position:relative;padding-right:44px}
.oco-history-summary::after {content:"⌄";position:absolute;right:0;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#eef4fb;color:var(--oco-blue);font-size:18px;font-weight:800;transition:transform .2s ease, background .2s ease}
.oco-history-accordion[open] .oco-history-summary::after {transform:translateY(-50%) rotate(180deg);background:#e7f5f1;color:var(--oco-green)}
.oco-history-body {margin-top:14px;padding-top:16px;border-top:1px solid var(--oco-border)}
.oco-quote-actions .oco-btn,.oco-actions-row .oco-btn {min-width:190px}
.oco-ssw-item,.oco-estimate-box,.oco-history-item {border-radius:20px}


/* v17 final refinements */
.oco-actions-row .oco-btn,
.oco-quote-actions .oco-btn,
#oco-request-quote-btn{border-radius:999px !important;min-height:54px;padding:0 24px;}
.oco-quote-actions{display:flex;gap:14px;flex-wrap:wrap;}
.oco-quote-actions .oco-btn{box-shadow:0 8px 22px rgba(14,35,64,.08);}
.oco-history-more{display:inline-flex;align-items:center;gap:8px;margin-top:10px;color:var(--oco-text-soft);font-size:13px;font-weight:700;}
.oco-history-more-arrow{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#eaf2fb;color:var(--oco-blue);font-size:16px;line-height:1;transition:transform .2s ease, background .2s ease, color .2s ease;}
.oco-history-accordion[open] .oco-history-more-arrow{transform:rotate(180deg);background:#e7f5f1;color:var(--oco-green);}
.oco-history-accordion[open] .oco-history-more{color:var(--oco-green);}
/* segurança visual para instalações com cache antigo */
#oco-open-exact-btn,.oco-open-exact-btn,.oco-btn-exact{display:none !important;}


/* Ajuste final da sanfona do histórico: apenas uma seta centralizada */
.oco-history-summary::after{display:none !important;content:none !important;}
.oco-history-head strong::after{display:none !important;content:none !important;}
.oco-history-summary{padding-right:0 !important;}
.oco-history-more{
  width:100%;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  text-align:center;
  color:var(--oco-text-soft);
  font-size:14px;
  font-weight:700;
}
.oco-history-more-arrow{
  width:auto !important;
  height:auto !important;
  background:transparent !important;
  border-radius:0 !important;
  font-size:18px !important;
  color:var(--oco-blue) !important;
}
.oco-history-accordion[open] .oco-history-more-arrow{
  transform:rotate(180deg);
  color:var(--oco-green) !important;
}
.oco-history-accordion[open] .oco-history-more{color:var(--oco-green);}


/* v19 final fixes */
.oco-history-list{
  max-height: 720px;
  overflow-y: auto;
  padding-right: 8px;
}
.oco-history-list::-webkit-scrollbar{width:10px}
.oco-history-list::-webkit-scrollbar-track{background:#eef4fb;border-radius:999px}
.oco-history-list::-webkit-scrollbar-thumb{background:#c8d8ea;border-radius:999px}
.oco-history-list::-webkit-scrollbar-thumb:hover{background:#b7c9de}

.oco-history-summary::after,
.oco-history-head strong::after,
.oco-history-head::after,
.oco-history-item::after,
.oco-history-item summary::after,
.oco-history-item summary .oco-history-head strong::after{
  display:none !important;
  content:none !important;
}

.oco-history-summary{
  padding-right:0 !important;
}

.oco-history-more{
  width:100%;
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  padding-top:6px;
  text-align:center;
  color:var(--oco-text-soft);
  font-size:14px;
  font-weight:700;
}

.oco-history-more-arrow{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:16px !important;
  line-height:1 !important;
  color:var(--oco-blue) !important;
  transform:none;
}

.oco-history-accordion[open] .oco-history-more-arrow{
  transform:rotate(180deg) !important;
  color:var(--oco-green) !important;
}

.oco-history-accordion[open] .oco-history-more{
  color:var(--oco-green) !important;
}

@media (max-width: 980px){
  .oco-history-list{max-height:560px;}
}


/* v20 history accordion cleanup */
.oco-history-list{max-height:820px;overflow-y:auto;overflow-x:hidden;padding-right:8px;}
.oco-history-item{overflow:visible !important;}
.oco-history-summary::after,.oco-history-head strong::after,.oco-history-head::after,.oco-history-item::after,.oco-history-item summary::after,.oco-history-item summary .oco-history-head strong::after,.oco-history-more-arrow{display:none !important;content:none !important;}
.oco-history-summary{padding-right:0 !important;}
.oco-history-more{width:100%;display:flex !important;align-items:center;justify-content:center;gap:0 !important;margin-top:12px;padding-top:8px;text-align:center;color:var(--oco-text-soft);font-size:14px;font-weight:700;border-top:0 !important;}
.oco-history-more span{display:inline-block;}
.oco-history-body{overflow:visible !important;}
.oco-history-payload{overflow:visible !important;}
@media (max-width:980px){.oco-history-list{max-height:640px;}}
