:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142035;background:#f4f7fb;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#1658a3;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}.wrap{max-width:1160px;margin:auto;padding:0 24px}.topbar{background:#111d32;color:#fff;border-bottom:3px solid #33c29a}.bar-inner{min-height:70px;display:flex;align-items:center;gap:26px}.brand{font-weight:800;color:#fff;font-size:1.2rem;white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;background:#31c29a;color:#102035;border-radius:9px;font-size:.85rem;margin-right:6px}.topbar nav{display:flex;gap:18px;margin-left:auto}.topbar nav a,.text-button{color:#e0e8f4;font-size:.92rem}.text-button{border:0;background:none;cursor:pointer;padding:8px}.logout-form{margin-left:0}.main{padding-top:42px;padding-bottom:65px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow{color:#078a68;font-size:.78rem;letter-spacing:.13em;font-weight:800;margin:0 0 8px}h1{font-size:clamp(1.7rem,3vw,2.55rem);line-height:1.15;letter-spacing:-.03em;margin:0 0 10px}h2{font-size:1.12rem;line-height:1.38;margin:0 0 10px}.muted,.agency,.source-note{color:#607086;line-height:1.55}.page-head .muted{margin:0}.auth-card,.panel,.opportunity-card,.empty{background:#fff;border:1px solid #dce5ef;border-radius:16px;box-shadow:0 8px 30px rgba(17,29,50,.04)}.auth-card{max-width:500px;padding:34px;margin:20px auto}.auth-card .muted{margin-bottom:25px}.form-stack{display:grid;gap:17px}.form-stack label{display:grid;gap:7px;font-weight:650;font-size:.9rem}.form-stack input,.form-stack select,.form-stack textarea{width:100%;padding:12px 13px;border:1px solid #bfcede;border-radius:9px;background:#fff;color:#142035;outline:none}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{border-color:#087f64;box-shadow:0 0 0 3px #d3f3e8}.form-foot{margin:22px 0 0;color:#607086}.button{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:9px;border:1px solid transparent;font-weight:750;font-size:.9rem;cursor:pointer;min-height:44px;text-align:center}.button:hover{text-decoration:none}.primary{background:#087f64;color:#fff}.primary:hover{background:#056a53}.secondary{background:#fff;border-color:#a7b9c9;color:#173149}.secondary:hover{background:#eff5f9}.danger{background:#fff;border-color:#d49a96;color:#9b2c26}.danger:hover{background:#fff0ef;border-color:#c96f68}.profile-panel{padding:26px;max-width:650px}.company-name{font-weight:800;margin:0 0 22px}.company-name span{color:#718097;font-weight:400}.notice{padding:13px 16px;border-radius:9px;margin-bottom:18px;background:#e4f6ee;color:#126144}.notice.error{background:#ffebe9;color:#8c2b27}.notice.caution{background:#fff2d5;color:#72521b}.search-summary{display:flex;flex-wrap:wrap;gap:11px;margin-bottom:24px}.search-summary span{background:#e8eef5;border-radius:7px;padding:9px 12px;color:#38506b;font-size:.9rem}.search-summary strong{color:#1a334f;margin-right:5px}.results-count{font-weight:700;color:#38506b}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.opportunity-card{padding:22px}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.pill{background:#dbf4ea;color:#075f49;padding:5px 9px;border-radius:20px;font-size:.79rem;font-weight:800}.date{color:#72829b;font-size:.82rem}.opportunity-card h2{font-size:1.08rem}.agency{margin:0 0 18px}.details{border-top:1px solid #e5ebf1;padding-top:14px;display:flex;gap:20px;flex-wrap:wrap;color:#2b3c52;font-size:.85rem}.details span{display:grid;gap:3px}.details strong{color:#68788d;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em}.card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:20px}.card-actions form{margin:0}.saved-label{color:#087f64;font-weight:750}.empty{padding:36px;max-width:660px}.empty p{color:#607086}.source-note{font-size:.84rem;margin-top:22px}@media(max-width:700px){.wrap{padding:0 16px}.bar-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:10px}.brand{width:100%}.topbar nav{margin-left:0;gap:14px;flex:1}.main{padding-top:28px}.page-head{display:block}.page-head>.button{margin-top:8px}.cards{grid-template-columns:1fr}.auth-card{padding:24px 20px;margin:8px auto}.details{gap:14px}.card-actions .button{width:100%}.card-actions form{width:100%}}
.detail-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:18px}.detail-panel{padding:24px;min-width:0}.detail-list{margin:0 0 22px}.detail-list div{padding:10px 0;border-bottom:1px solid #e5ebf1}.detail-list dt{color:#68788d;font-size:.78rem;font-weight:750;text-transform:uppercase}.detail-list dd{margin:4px 0 0;overflow-wrap:anywhere}.document-list{list-style:none;padding:0;margin:0}.document-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #e5ebf1}.document-list li:first-child{border-top:0}.document-list span{display:block;color:#607086;font-size:.83rem;margin-top:3px}.document-list strong{overflow-wrap:anywhere}
@media(max-width:800px){.detail-grid{grid-template-columns:1fr}}
.page-head>.button{flex-shrink:0;white-space:nowrap}.expired-pill{background:#fff2d5;color:#72521b}.card-top{flex-wrap:wrap}
.activity-fieldset{margin:0;padding:0;border:0}.activity-fieldset legend{font-weight:750;margin-bottom:11px}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.form-stack .activity-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #bfcede;border-radius:9px;cursor:pointer;font-weight:550;min-height:48px}.form-stack .activity-option:has(input:checked){border-color:#087f64;background:#e4f6ee}.form-stack .activity-option input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#087f64}.activity-option span{line-height:1.3}@media(max-width:650px){.activity-grid{grid-template-columns:1fr}}
.analysis-teaser{padding:22px;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:24px}.analysis-teaser p{margin:5px 0}.analysis-teaser .button{flex-shrink:0}.report-header{margin:30px 0 14px}.report-header p{color:#607086}.report-section{padding:24px;margin-top:16px}.report-entry{border-top:1px solid #e5ebf1;padding:17px 0}.report-entry h3{font-size:1rem;margin:0 0 6px}.report-source{font-size:.83rem;color:#607086;margin:0 0 8px}.report-entry blockquote{margin:0;padding:12px 15px;background:#f4f7fb;border-left:3px solid #087f64;color:#38506b;line-height:1.5;overflow-wrap:anywhere}@media(max-width:700px){.analysis-teaser{display:block}.analysis-teaser .button{margin-top:13px;width:100%}}
.print-report{margin:16px 0 3px}@media print{.topbar,.print-report,#report-form,.page-head>.button,.notice.success{display:none!important}.wrap{max-width:none}.main{padding:0}.panel,.report-section{box-shadow:none;break-inside:avoid}.report-entry{break-inside:avoid}body{background:#fff;color:#111}}
.report-table-scroll{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;font-size:1rem}.report-table th,.report-table td{width:55%;text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #dce5ef;font-weight:400}.report-table th:last-child,.report-table td:last-child{width:45%}.report-table thead{background:#e5f3ee;color:#087f64}.report-table tbody tr:nth-child(even){background:#f6f9fa}.report-reference+.report-reference{margin-top:5px}@media(max-width:650px){.report-table{min-width:540px}}

.location-filter-panel{padding:16px 18px;margin:-4px 0 18px}.location-filter-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.location-filter-main,.location-filter-state{display:grid;gap:6px}.location-filter-main{min-width:250px;flex:1}.location-filter-state{min-width:150px}.location-filter-form label{font-size:.78rem;font-weight:800;color:#38506b;text-transform:uppercase;letter-spacing:.04em}.location-filter-form select{min-height:44px;padding:10px 12px;border:1px solid #bfcede;border-radius:9px;background:#fff;color:#142035}.location-filter-help{margin:8px 0 0;font-size:.83rem}@media(max-width:700px){.location-filter-form{display:grid;grid-template-columns:1fr}.location-filter-main,.location-filter-state{min-width:0}.location-filter-form .button{width:100%}}

/* =========================================================
   LICIQUEST — OPORTUNIDADES EM TELA CHEIA
   ========================================================= */

@media (min-width: 1200px){

  .container,
  .page-container,
  .content,
  .main-content{
    width:100% !important;
    max-width:none !important;
  }

  main{
    width:100% !important;
    max-width:none !important;
  }

  .opportunities-page,
  .opportunities-shell,
  .dashboard-shell{
    width:100% !important;
    max-width:none !important;
    padding-left:48px !important;
    padding-right:48px !important;
  }

  .opportunity-grid,
  .opportunities-grid{
    width:100% !important;
    max-width:none !important;
  }

}

/* =========================================================
   LICIQUEST — DASHBOARD DE OPORTUNIDADES TELA CHEIA
   ========================================================= */

@media (min-width:1200px){

  main.wrap.main:has(.dashboard-full){
    width:calc(100% - 96px) !important;
    max-width:none !important;
    margin-left:48px !important;
    margin-right:48px !important;
  }

  .dashboard-full{
    width:100% !important;
    max-width:none !important;
  }

  .dashboard-full .page-head,
  .dashboard-full .location-filter-panel,
  .dashboard-full .search-summary,
  .dashboard-full .notice,
  .dashboard-full .results-count,
  .dashboard-full .cards,
  .dashboard-full .source-note{
    width:100% !important;
    max-width:none !important;
  }

  .dashboard-full .cards{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:24px !important;
  }

  .dashboard-full .opportunity-card{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

}

@media (min-width:1800px){

  main.wrap.main:has(.dashboard-full){
    width:calc(100% - 120px) !important;
    margin-left:60px !important;
    margin-right:60px !important;
  }

}
