:root{
  --navy:#002549;--royal:#004fc1;--blue:#008bff;--cyan:#00dbff;
  --pink:#ff105a;--purple:#b200b7;--ink:#202b38;--muted:#6d7d8f;
  --paper:#f4f8fc;--line:#dce5ee;--soft:#eef6fd;--white:#fff;
  --shadow:0 14px 36px rgba(0,37,73,.09);--shadow-soft:0 8px 22px rgba(0,37,73,.06);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;min-height:100%;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);
  background:radial-gradient(circle at 0 0,rgba(0,219,255,.11),transparent 28%),
             radial-gradient(circle at 100% 0,rgba(255,16,90,.08),transparent 26%),
             linear-gradient(#f8fbfe,#f3f7fb);-webkit-font-smoothing:antialiased}
button,input{font:inherit}button{cursor:pointer}
a{text-decoration:none;color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.shell{width:min(1500px,calc(100% - 36px));margin:0 auto}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.icon.sm{width:16px;height:16px}.icon.lg{width:30px;height:30px}
.header-wrap{position:sticky;top:0;z-index:20;padding:8px 0;background:rgba(247,251,254,.97);
  border-bottom:1px solid rgba(220,230,239,.78);box-shadow:0 5px 16px rgba(0,37,73,.035)}
.app-header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:#fff;border:1px solid #d2e0ed;border-radius:20px;padding:0 18px;
  box-shadow:0 7px 22px rgba(0,37,73,.06);position:relative}
.app-header:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:0;
  background:linear-gradient(90deg,var(--cyan),var(--royal),var(--pink));opacity:.85;border-radius:0 0 20px 20px}
.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}
.brand-logo{height:34px;width:auto;display:block;flex:0 0 auto}
.brand-divider{height:26px;border-left:1px solid #d7e1eb}
.brand-label{font-size:17px;font-weight:800;color:var(--navy);letter-spacing:-.03em}
.header-actions{display:flex;align-items:center;gap:12px}
.header-link,.account-pill{height:42px;display:flex;align-items:center;gap:8px;
  border-radius:999px;padding:0 15px;background:#fff;border:1px solid #dae5ee;color:#637488;font-size:11px;font-weight:800}
.header-link:hover{background:#f4f9fd;color:var(--royal)}
.account-pill{height:46px;background:#f4f8fc;border:0;padding:4px 12px 4px 5px;color:var(--navy)}
.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;
  background:linear-gradient(135deg,#004fc1,#ff105a);color:white;font-size:12px;font-weight:900}
.account-copy{min-width:115px;text-align:left;max-width:190px}
.account-copy strong{display:block;font-size:11px;color:var(--navy)}
.account-copy span{display:block;font-size:10px;color:#7a8999;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.page-main{padding:18px 0 40px}
.demo-ribbon{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:12px;
  border:1px solid #dbcf8a;border-radius:12px;background:#fffced;color:#685511;
  font-size:11px;padding:9px 13px}
.demo-ribbon strong{letter-spacing:.07em}
.demo-dot{height:8px;width:8px;border-radius:50%;background:#b68700}
.welcome{min-height:116px;position:relative;overflow:hidden;padding:25px 28px;border-radius:24px;
  border:1px solid #d3e4f2;background:linear-gradient(125deg,rgba(0,219,255,.14) 0%,rgba(0,139,255,.08) 38%,
  rgba(255,255,255,.92) 68%,rgba(255,16,90,.09) 100%);
  box-shadow:0 10px 28px rgba(0,37,73,.055)}
.welcome-content{position:relative;z-index:1}
.welcome h1{font-size:31px;font-weight:900;letter-spacing:-.045em;line-height:1.14;color:var(--navy);margin:0}
.welcome p{font-size:13px;color:#6d8097;margin:10px 0 0;max-width:740px;line-height:1.5}
.eyebrow{font-size:9px;letter-spacing:.18em;color:#376b98;font-weight:900;margin-bottom:7px}
.welcome-art{position:absolute;right:-60px;top:17px;width:340px;height:165px;transform:rotate(-12deg);
  background:repeating-linear-gradient(180deg,transparent 0,transparent 11px,rgba(90,85,194,.18) 12px,rgba(90,85,194,.18) 13px);border-radius:30px}
.workspace{margin-top:14px;border:1px solid #dce5ee;border-radius:23px;background:rgba(255,255,255,.97);
  box-shadow:0 10px 30px rgba(0,37,73,.055);overflow:hidden}
.workspace-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px 22px 12px}
.workspace-top h2{font-size:20px;font-weight:900;letter-spacing:-.03em;color:var(--navy);margin:0}
.workspace-top p{font-size:11px;color:#8191a3;margin:5px 0 0}
.country-tabs{display:flex;gap:5px;flex-wrap:wrap}
.country-tabs button,.env-tabs button,.scope-tabs button,.folder-tabs button,.breadcrumb-btn{border:0;font-size:11px;font-weight:800}
.country-tabs button{height:33px;padding:0 13px;border:1px solid #dde7ef;border-radius:999px;color:#6a7b91;background:#f7fafc}
.country-tabs button:hover{background:#edf5fb}
.country-tabs button.active{color:var(--royal);border-color:#bcd7fa;background:#e9f4ff}
.dash-search{padding:0 22px 15px}
.dash-search-box{width:100%;min-height:44px;display:flex;align-items:center;gap:12px;
  padding:0 14px;border-radius:15px;border:1px solid #d7e3ee;background:#fff;color:var(--navy)}
.dash-search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,139,255,.12)}
.dash-search-box input{width:100%;height:42px;border:0;outline:0;font-size:12px;background:transparent;color:#243d53}
.dash-search-box input::placeholder{color:#8b9db0}
.env-tabs{display:flex;gap:5px;overflow-x:auto;border-top:1px solid #eef2f6;border-bottom:1px solid #e9f0f5;padding:8px 20px 0;scrollbar-width:thin}
.env-tabs button{white-space:nowrap;flex:0 0 auto;background:none;color:#8190a1;border-bottom:3px solid transparent;padding:12px 14px}
.env-tabs button:hover{color:var(--navy)}
.env-tabs button.active{color:var(--royal);border-bottom-color:var(--blue)}
.scope-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
  background:linear-gradient(180deg,#fff,#fbfdff);padding:12px 22px;border-bottom:1px solid #edf2f6}
.scope-tabs{display:flex;gap:3px;background:#edf3f8;border:1px solid #dce6ef;border-radius:12px;padding:3px}
.scope-tabs button{border-radius:9px;min-height:33px;padding:0 14px;color:#7a8aa0;background:transparent}
.scope-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 4px 10px rgba(0,37,73,.07)}
.scope-note{font-size:10px;color:#92a0af;line-height:1.5}
.folder-area{padding:13px 22px 3px;background:#fbfdff;border-bottom:1px solid #eef3f7}
.folder-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#617c97;font-size:11px}
.folder-heading strong{font-size:11px;color:var(--navy)}
.breadcrumbs{display:flex;align-items:center;gap:4px;margin-left:5px}
.breadcrumb-btn{padding:3px 5px;background:none;color:#66829f}
.breadcrumb-btn:hover{text-decoration:underline}
.folder-tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:thin;padding:10px 0 12px}
.folder-tabs button{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 12px;
  border:1px solid #dce7f1;border-radius:11px;background:#fff;color:#5c738e;font-weight:700}
.folder-tabs button.active{background:#eaf4ff;color:#004fc1;border-color:#b8d8fc}
.folder-tabs button:hover{border-color:#95c6fb}
.section{padding:18px 22px 24px;min-height:170px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.section-head h3{font-size:17px;color:var(--navy);font-weight:900;letter-spacing:-.025em;margin:0}
.section-head p{font-size:11px;color:#8191a3;margin:5px 0 0}
.results-count{font-size:10px;font-weight:800;color:#8ea0b1;white-space:nowrap}
.report-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,290px));
  gap:14px;justify-content:start;align-items:stretch}
.report-card{--card-accent:linear-gradient(90deg,#004fc1,#00dbff);
  --icon-bg:linear-gradient(135deg,#e4f5ff,#edf4ff);--icon-color:#004fc1;
  position:relative;display:flex;flex-direction:column;min-height:218px;max-width:290px;width:100%;
  border-radius:20px;padding:17px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  border:1px solid #dfe7ef;box-shadow:0 5px 16px rgba(0,37,73,.045);transition:transform .18s,box-shadow .18s}
.report-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,37,73,.09)}
.report-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--card-accent)}
.report-card[data-env="Fancast"]{--card-accent:linear-gradient(90deg,#004fc1,#b200b7);--icon-bg:linear-gradient(135deg,#edf2ff,#f8eaff);--icon-color:#6a22ad}
.report-card[data-env="Humbi"]{--card-accent:linear-gradient(90deg,#002549,#00dbff);--icon-bg:linear-gradient(135deg,#e9f6fa,#e7fbff);--icon-color:#006c91}
.report-card[data-env="Portals & Websites"]{--card-accent:linear-gradient(90deg,#ff105a,#b200b7);--icon-bg:linear-gradient(135deg,#fff0f5,#f9eaff);--icon-color:#b00070}
.report-card[data-env="CRM"]{--card-accent:linear-gradient(90deg,#ff00aa,#008bff);--icon-bg:linear-gradient(135deg,#fff0fb,#edf5ff);--icon-color:#a30a8d}
.report-card[data-env="Others"]{--card-accent:linear-gradient(90deg,#596879,#9ba8b5);--icon-bg:linear-gradient(135deg,#f0f3f6,#f7f9fb);--icon-color:#566677}
.report-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.report-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--icon-bg);
  color:var(--icon-color);border:1px solid rgba(189,210,228,.75)}
.report-icon.custom{background:linear-gradient(135deg,#fff0f7,#f8e9ff);color:#ad0875}
.report-type{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#7890a5;font-weight:900}
.report-title{margin-top:14px}
.report-title strong{display:block;font-size:14px;font-weight:900;color:var(--navy);line-height:1.35}
.report-subtitle{display:block;margin-top:5px;font-size:10px;color:#7690a7}
.report-desc{font-size:11.5px;line-height:1.58;color:#77899b;min-height:54px;margin:9px 0 10px}
.report-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ecf1f6;padding-top:12px;margin-top:auto}
.report-source{font-size:9px;color:#8b9bac;font-weight:700}
.open-report{height:34px;font-size:10px;font-weight:900;border:1px solid #c8ddf4;border-radius:999px;
  padding:0 12px;color:var(--royal);background:#eef6ff;display:inline-flex;align-items:center;gap:6px}
.open-report:hover{background:var(--royal);color:#fff}
.empty{grid-column:1/-1;padding:35px 18px;border:1px dashed #c8dae8;border-radius:16px;
  color:#7d8ea1;font-size:13px;text-align:center;background:#f8fbfe}
.site-footer{margin-top:16px;border-radius:22px;background:linear-gradient(145deg,#002549,#0b4679);color:#dcecff;
  overflow:hidden;box-shadow:var(--shadow-soft)}
.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px;padding:24px}
.footer-brand-title{display:flex;align-items:center;gap:12px}
.footer-logo{height:34px;width:auto;display:block;flex:0 0 auto;filter:brightness(0) invert(1)}
.footer-divider{height:24px;border-left:1px solid rgba(255,255,255,.35)}
.footer-brand-title strong{color:white;font-size:15px}
.footer-brand p{max-width:400px;font-size:11px;line-height:1.6;color:#aac4dd;margin:10px 0 0}
.footer-col{display:flex;flex-direction:column;align-items:start;gap:8px}
.footer-col strong{font-size:11px;color:#fff;margin-bottom:4px}
.footer-col a,.footer-col button,.footer-col span{font-size:10px;color:#aac4dd;line-height:1.35}
.footer-col button{background:transparent;border:0;padding:0;text-align:left}
.footer-col button:hover,.footer-col a:hover{color:#fff;text-decoration:underline}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;
  flex-wrap:wrap;gap:8px;padding:13px 24px;font-size:9px;color:#83a3c0}
.report-page{padding-top:8px}
.report-tools{background:#fff;border:1px solid #dce6ef;border-radius:17px;padding:12px 15px;box-shadow:var(--shadow-soft)}
.report-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.report-back,.back-help{height:40px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d8e3ed;
  border-radius:999px;background:#fff;color:var(--navy);font-size:11px;font-weight:800;padding:0 14px}
.report-back:hover,.back-help:hover{background:#f1f7fc}
.report-tools-left{display:flex;align-items:center;gap:10px}
.report-tools-left .report-icon{width:39px;height:39px}
.report-name strong{font-size:12px;display:block;color:var(--navy)}
.report-name span{display:block;font-size:10px;color:#8296a9;margin-top:3px}
.report-status{margin-left:auto;font-size:9px;font-weight:900;letter-spacing:.06em;color:#9a7014;background:#fff9dc;padding:7px 9px;border-radius:7px}
.report-shortcuts{display:flex;align-items:center;gap:10px;border-top:1px solid #edf1f5;margin-top:11px;padding-top:10px}
.report-shortcuts-label{flex:0 0 auto;color:#8296a9;font-size:10px;font-weight:800}
#quickAccess{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin}
#quickAccess button{flex:0 0 auto;border:1px solid #dce5ef;background:#f8fbfe;color:#63758b;font-size:10px;
  border-radius:8px;padding:6px 9px}
#quickAccess button.active{color:#004fc1;background:#eaf4ff;border-color:#bbd6f3}
.dashboard-frame{margin-top:13px;border:1px solid #d8e3ed;border-radius:20px;background:#edf4fa;overflow:hidden;
  box-shadow:0 12px 30px rgba(0,37,73,.065)}
.dash-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;background:#f7fbff;
  border-bottom:1px solid #dae4ed;font-size:10px;color:#90a1b2}
.dash-top strong{display:block;color:var(--navy);font-size:13px}
.dash-top span{display:block;margin-top:4px}
.dash-body{padding:14px}
.dash-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:11px}
.widget{background:white;border:1px solid #dce6ef;border-radius:15px;padding:14px;min-width:0}
.widget h4{margin:0 0 12px;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#647b97}
.widget.kpi{grid-column:span 3;min-height:110px}
.metric{font-size:25px;letter-spacing:-.05em;font-weight:900;color:var(--navy)}
.widget.kpi p{font-size:9px;color:#8b9cb0;margin:8px 0 0}
.widget.chart{grid-column:span 7;min-height:260px}
.widget.side{grid-column:span 5;min-height:260px}
.spark{height:165px;border:1px solid #e3ebf3;border-radius:12px;padding:12px;background:linear-gradient(#fff,#f8fbfe)}
.spark svg{width:100%;height:100%}
.bars{height:175px;display:flex;align-items:end;gap:9px;padding:10px 0}
.bars span{flex:1;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#00dbef,#004fc1)}
.bars span:nth-child(1){height:52%}.bars span:nth-child(2){height:78%}.bars span:nth-child(3){height:93%}
.bars span:nth-child(4){height:64%}.bars span:nth-child(5){height:84%}.bars span:nth-child(6){height:70%}
.widget.detail-table{grid-column:span 12;min-height:205px}
.table-scroll{overflow-x:auto}
.detail-table table{border-collapse:collapse;width:100%;min-width:560px;font-size:10px;text-align:left}
.detail-table th{background:#f3f7fb;color:#8193a5;font-weight:800}
.detail-table td{color:#73869a}
.detail-table th,.detail-table td{border-bottom:1px solid #e5edf3;padding:10px 12px}
.page-hero{padding:24px;border:1px solid #dce6ef;border-radius:20px;background:linear-gradient(115deg,#fff,#f4f9fe)}
.page-hero h1{color:var(--navy);margin:0;font-size:25px;letter-spacing:-.03em}
.page-hero p{color:#8192a5;font-size:12px}
.help-section{margin-top:15px;padding:20px;border:1px solid #dce6ef;border-radius:20px;background:#fff}
.help-section h2{margin:0 0 12px;color:var(--navy);font-size:17px}
.help-section p{font-size:12px;color:#768b9f;line-height:1.7}
.help-section details{margin-top:10px;border:1px solid #e6edf4;border-radius:12px;padding:13px;color:var(--navy);font-size:12px}
.help-section summary{font-weight:800;cursor:pointer}
.support-link{font-size:13px;font-weight:800;color:#005fc4}
.back-help{margin-top:16px}
.locked-page{text-align:center;background:#fff;border:1px solid #dde7f0;box-shadow:var(--shadow-soft);
  border-radius:23px;padding:64px 25px;margin:18px auto 0;max-width:860px}
.locked-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:18px;
  margin:0 auto 22px;color:var(--royal);background:#eaf4ff}
.locked-page h1{font-size:26px;color:var(--navy);margin:0}
.locked-page p{max-width:560px;margin:15px auto;color:#6f8398;font-size:13px;line-height:1.75}
.locked-note{display:inline-block;margin-top:14px;border-radius:9px;background:#f4f8fc;
  color:#577089;padding:11px 15px;font-size:10px}
@media(max-width:1050px){
  .report-list{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}
  .report-card{max-width:none}
  .footer-main{grid-template-columns:1.2fr 1fr 1fr}
}
@media(max-width:760px){
  .shell{width:calc(100% - 20px)}
  .header-link{display:none}
  .app-header{padding:0 12px}
  .brand-logo{height:28px}
  .brand-label{font-size:14px}
  .account-copy{max-width:100px;min-width:60px}
  .welcome{padding:23px 20px}
  .welcome h1{font-size:25px}
  .welcome-art{opacity:.35}
  .workspace-top{padding:18px 16px 12px}
  .dash-search{padding:0 16px 12px}
  .env-tabs{padding-left:10px;padding-right:10px}
  .scope-bar{padding:12px 16px}
  .folder-area{padding:12px 16px 0}
  .section{padding:17px 16px}
  .report-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .report-card{min-height:220px;padding:13px}
  .footer-main{grid-template-columns:1fr 1fr;gap:18px}
  .footer-brand{grid-column:1/-1}
  .widget.kpi{grid-column:span 6}
  .widget.chart,.widget.side{grid-column:span 12}
}
@media(max-width:540px){
  .header-actions{gap:3px}
  .brand{gap:7px}
  .brand-logo{height:24px}
  .brand-label{font-size:12px}
  .brand-divider{height:20px}
  .account-copy{display:none}
  .account-pill{padding:4px}
  .welcome h1{font-size:23px}
  .country-tabs{width:100%}
  .country-tabs button{font-size:10px;padding:0 10px}
  .report-list{grid-template-columns:1fr}
  .report-card{min-height:195px}
  .report-desc{min-height:0}
  .section-head{align-items:start}
  .report-toolbar{gap:10px}
  .report-status{margin-left:0}
  .footer-main{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .widget.kpi{grid-column:span 6}
  .metric{font-size:21px}
  .widget{padding:11px}
  .dash-body{padding:8px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Existing Console Cognito login handoff: link, never a new credential form. */
.console-auth-cta,.console-auth-recognized{
  margin:24px auto 0;max-width:490px;padding:17px;
  border-radius:15px;border:1px solid #d8e7f6;background:#f7fbff;
}
.console-auth-link{display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:0 20px;color:#fff;font-size:12px;font-weight:800;
  border-radius:999px;background:linear-gradient(100deg,#004fc1,#008bff);
}
.console-auth-link:hover{background:linear-gradient(100deg,#003d9a,#006acf)}
.console-auth-cta p,.console-auth-recognized p{
  font-size:11px;line-height:1.6;color:#7088a0;margin:12px 0 0;
}
.console-auth-recognized strong{color:#002549;font-size:12px}
.console-auth-signout{margin-top:14px;padding:9px 15px;font-size:11px;
  font-weight:800;color:#004fc1;border:1px solid #bfd7f0;background:#fff;
  border-radius:999px;
}
.console-auth-signout:hover{background:#eaf4ff}
