
:root{
  --dt07-ink:#0B1830;
  --dt07-ink2:#142642;
  --dt07-gold:#C89A43;
  --dt07-gold2:#E2BE73;
  --dt07-ivory:#F6F1E8;
  --dt07-paper:#FFFCF7;
  --dt07-line:#E7DED0;
  --dt07-green:#1A745B;
  --dt07-blue:#173D6B;
  --dt07-purple:#6755A6;
  --dt07-shadow:0 12px 34px rgba(15,28,50,.07);
}

/* Overall background */
html,body{background:var(--dt07-ivory)!important}
body{color:var(--dt07-ink)!important}
.screen{
  background:
    radial-gradient(circle at 100% -10%,rgba(200,154,67,.10),transparent 28%),
    linear-gradient(180deg,#F8F4EC 0%,#F6F1E8 44%,#F3EDE3 100%)!important;
}
.page{background:transparent!important;padding-bottom:108px!important}

/* Executive top bar — menu/home buttons are NOT targeted */
.topnav{
  width:calc(100% - 20px)!important;
  height:68px!important;
  margin:10px 10px 0!important;
  padding:0 12px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#0A172C 0%,#10233F 58%,#183557 100%)!important;
  box-shadow:0 14px 32px rgba(11,24,48,.18)!important;
  position:relative!important;
}
.topnav:before{
  content:"";position:absolute;left:54px;top:0;width:76px;height:2px;
  background:linear-gradient(90deg,transparent,var(--dt07-gold2),transparent);
}
.topnav-logo{
  width:42px!important;height:42px!important;border-radius:14px!important;
  background:linear-gradient(145deg,#D9B45D,#A97828)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.50),0 8px 18px rgba(200,154,67,.20)!important;
}
.topnav-logo svg{width:20px!important;height:20px!important;stroke:#0B1830!important}
.topnav-info h1{color:#FFF9ED!important;font-size:16px!important;font-weight:900!important}
.topnav-info p{color:#D8CDBA!important;font-size:10.5px!important}
.topnav-right{gap:6px!important}
.icon-btn{
  width:36px!important;height:36px!important;border-radius:12px!important;
  background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.10)!important;
  color:#EADFCB!important;box-shadow:none!important;
}
.user-av{
  width:36px!important;height:36px!important;background:#F7E8C7!important;
  color:#10213A!important;border:2px solid rgba(255,255,255,.24)!important;font-weight:900!important;
}
.dropdown{
  border-radius:18px!important;border:1px solid #E7DDCD!important;background:#FFFDF8!important;
  box-shadow:0 18px 44px rgba(12,26,49,.18)!important;
}

/* Hero */
.dt07-extra-hero{
  position:relative;overflow:hidden;margin:14px 0 10px;border-radius:24px;
  padding:17px 16px 15px;color:#fff;
  background:linear-gradient(135deg,#10223E 0%,#17375C 56%,#1E4D63 100%);
  box-shadow:0 16px 34px rgba(13,32,57,.15);isolation:isolate;
}
.dt07-extra-hero:before{
  content:"";position:absolute;width:190px;height:190px;border:1px solid rgba(226,190,115,.22);
  border-radius:50%;right:-82px;top:-106px;box-shadow:0 0 0 18px rgba(226,190,115,.04);z-index:-1;
}
.dt07-extra-hero:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,#C89A43,#EDD592,#1A745B);
}
.dt07-extra-kicker{display:flex;align-items:center;gap:7px;color:#E0C98F;font-size:8px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px}
.dt07-extra-kicker:before{content:"";width:18px;height:2px;border-radius:2px;background:#DDBB70}
.dt07-extra-hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.dt07-extra-hero-copy h2{margin:0 0 4px;font-size:22px;line-height:1.05;font-weight:900;letter-spacing:-.03em;color:#FFF9EE}
.dt07-extra-hero-copy p{margin:0;color:#C9D3DE;font-size:10px;line-height:1.4;max-width:235px}
.dt07-extra-focus-ring{
  width:64px;height:64px;border-radius:50%;display:grid;place-items:center;flex:0 0 64px;
  background:conic-gradient(#D8B15B 0 72%,rgba(255,255,255,.12) 72% 100%);position:relative;
}
.dt07-extra-focus-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#142C49}
.dt07-extra-focus-ring strong{position:relative;z-index:1;font-size:16px;color:#FFF7E6}
.dt07-extra-focus-ring span{position:absolute;z-index:1;margin-top:27px;color:#B9C7D5;font-size:6px;text-transform:uppercase;font-weight:800}
.dt07-extra-hero-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.dt07-extra-hero-chip{min-width:0;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.07);border-radius:11px;padding:7px 8px}
.dt07-extra-hero-chip b{display:block;color:#FFF9EF;font-size:11px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt07-extra-hero-chip small{display:block;color:#BFCBDA;font-size:7px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt07-extra-hero-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid rgba(255,255,255,.12)}
.dt07-extra-meta-left,.dt07-extra-meta-tools{display:flex;align-items:center;gap:5px;min-width:0}
.dt07-extra-pill{height:24px;padding:0 7px;border-radius:999px;display:flex;align-items:center;gap:4px;font-size:7.5px;font-weight:900;white-space:nowrap;background:rgba(255,255,255,.08);color:#E4EAF0}
.dt07-extra-pill.branch{color:#F2D58D;background:rgba(226,190,115,.11);max-width:105px;overflow:hidden;text-overflow:ellipsis}
.dt07-extra-pill.online i{width:6px;height:6px;border-radius:50%;background:#5FD4A8}
.dt07-extra-pill.offline i{background:#E7A3A3}
.dt07-extra-tool{
  position:relative;width:29px;height:29px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.075);
  color:#FFF7E4;border-radius:9px;display:grid;place-items:center;cursor:pointer;font-size:13px;font-weight:900;
}
.dt07-extra-tool b{
  position:absolute;right:-3px;top:-4px;min-width:14px;height:14px;padding:0 3px;border-radius:999px;
  display:grid;place-items:center;background:#D95D5D;color:#fff;border:2px solid #10233E;font-size:6px;
}

/* Smart cards */
.dt07-extra-smart{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
.dt07-extra-section{
  background:rgba(255,253,248,.98);border:1px solid var(--dt07-line);border-radius:17px;
  box-shadow:0 6px 18px rgba(20,37,58,.05);overflow:hidden;
}
.dt07-extra-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px 8px}
.dt07-extra-head small{display:block;margin-bottom:2px;color:#A27D36;font-size:6.8px;font-weight:950;letter-spacing:.12em}
.dt07-extra-head h3{margin:0;color:#1D3046;font-size:12px;line-height:1.2;font-weight:900}
.dt07-extra-head .date{padding:4px 7px;border-radius:8px;background:#F6EFE2;color:#85662D;font-size:7px;font-weight:900}
.dt07-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 10px 10px}
.dt07-focus-card{
  min-height:55px;border:1px solid #EDE5D9;border-radius:13px;background:linear-gradient(180deg,#FFFFFF,#FCFAF6);
  display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;padding:8px;text-align:left;color:#1D3046;cursor:pointer;
}
.dt07-focus-card .ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:11px;font-weight:950}
.dt07-focus-card .amber{background:#F8EFD8;color:#9A711F}.dt07-focus-card .green{background:#E9F4EE;color:#28785C}.dt07-focus-card .blue{background:#EAF1F8;color:#356790}
.dt07-focus-card b{display:block;font-size:8.7px;line-height:1.15;font-weight:900}
.dt07-focus-card small{display:block;margin-top:2px;color:#8B93A0;font-size:6.6px;font-weight:750}
.dt07-summary-grid{display:flex;gap:0;padding:0 8px 9px}
.dt07-summary-item{flex:1 1 25%;min-width:0;min-height:46px;border:0;border-right:1px solid #EEE8DF;background:transparent;padding:5px 6px;text-align:center;cursor:pointer}
.dt07-summary-item:last-child{border-right:0}
.dt07-summary-item b{display:block;color:#1D3046;font-size:13px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt07-summary-item span{display:block;margin-top:2px;color:#8A93A1;font-size:6.8px;font-weight:800}
.dt07-activity-row{display:grid;grid-template-columns:29px 1fr auto;align-items:center;gap:8px;padding:8px 11px;border-top:1px solid #F0EAE1}
.dt07-activity-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:950;background:#F8EFD8;color:#936E25}
.dt07-activity-copy b{display:block;color:#1D3046;font-size:8.5px;font-weight:900}.dt07-activity-copy small{display:block;margin-top:2px;color:#8E96A1;font-size:6.7px}
.dt07-activity-date{color:#9B9185;font-size:6.4px;font-weight:850}

/* Filter/search controls — does NOT restyle existing menu buttons */
.dt07-extra-menu-tools{margin:0 0 8px}
.dt07-filter-row{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none;padding:1px}
.dt07-filter-row::-webkit-scrollbar{display:none}
.dt07-filter-chip{
  flex:0 0 auto;height:31px;padding:0 9px;border:1px solid #E8DED0;border-radius:10px;
  background:#FFFDF8;color:#675D50;font-size:7.8px;font-weight:900;cursor:pointer;
}
.dt07-filter-chip.active{background:#10233E;color:#FFF8E8;border-color:#10233E}
.dt07-search-toggle{
  flex:0 0 34px;width:34px;height:31px;border:1px solid #173D6B;border-radius:10px;
  background:#10233E;color:#FFF8E8;display:grid;place-items:center;cursor:pointer;
}
.dt07-search-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dt07-extra-search{display:none;margin-top:6px;height:38px;border:1px solid #E5D9C6;border-radius:12px;background:#FFFDF8;align-items:center;padding:0 9px;gap:7px}
.dt07-extra-search.open{display:flex}
.dt07-extra-search svg{width:15px;height:15px;stroke:#8A6A31;fill:none;stroke-width:2}
.dt07-extra-search input{flex:1;height:100%;border:0;outline:0;background:transparent;color:#26364A;font:800 9.5px var(--font,system-ui)}
.dt07-extra-search button{border:0;background:none;color:#9D9488;font-size:16px;cursor:pointer}

/* Panels and metric styling */
#dashboard.metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 10px!important}
#dashboard .metric{
  min-height:88px!important;border-radius:18px!important;padding:13px!important;border:1px solid #E6DDCF!important;
  box-shadow:0 7px 18px rgba(24,35,54,.05)!important;background:#FFFDF9!important;
}
#dashboard .metric-lbl{margin-top:8px!important;font-size:8px!important;letter-spacing:.08em!important;color:#7C7E7B!important;font-weight:900!important}
#dashboard .metric-val{font-size:27px!important;color:#10233E!important;font-weight:950!important}
#dashboard .metric-sub{font-size:8px!important;color:#9A958C!important;margin-top:4px!important;font-weight:750!important}
.panel,.dt17-social-card{border:1px solid #E5DCCF!important;border-radius:20px!important;background:#FFFDF9!important;box-shadow:var(--dt07-shadow)!important}
.panel-head{padding:14px 15px!important;background:linear-gradient(180deg,#FFFDF9,#FBF7F0)!important;border-bottom:1px solid #EEE5D9!important}
.panel-title{font-size:13px!important;color:#10223D!important;font-weight:900!important}
.panel-count{background:#F3EBDD!important;color:#695A43!important;border-color:#E1D4C2!important}
.panel-body{background:#FFFDF9!important}

/* Inputs/forms, but not action buttons */
.toast{background:#0D1C33!important;color:#FFF8EA!important;border:1px solid rgba(226,190,115,.25)!important;border-radius:16px!important}
.finput,.fselect,.ftextarea{background:#FFFCF7!important;border-color:#DED4C5!important;color:#17243A!important}
.finput:focus,.fselect:focus,.ftextarea:focus{border-color:#C89A43!important;box-shadow:0 0 0 4px rgba(200,154,67,.10)!important}

/* Bottom nav styling from the preferred Executive version.
   The nav items themselves are not reordered or renamed. */
#dt17GoldBottomNav{
  left:10px!important;right:10px!important;bottom:8px!important;
  height:calc(72px + env(safe-area-inset-bottom))!important;
  padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#0B1830,#132B49)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 42px rgba(10,24,47,.28)!important;
}
#dt17GoldBottomNav .dt17-gold-item{color:#AEBAC7!important;text-shadow:none!important;border-radius:15px!important;font-size:8.5px!important}
#dt17GoldBottomNav .dt17-gold-ico{width:31px!important;height:31px!important;border-radius:11px!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.08)!important;color:#C9D4DF!important}
#dt17GoldBottomNav .dt17-gold-item.active{color:#F2D99C!important}
#dt17GoldBottomNav .dt17-gold-item.active .dt17-gold-ico{background:linear-gradient(145deg,#DDB75F,#A97828)!important;color:#0B1830!important;border-color:#E5C77D!important;box-shadow:0 5px 14px rgba(200,154,67,.25)!important}
#dt17GoldBottomNav .dt17-gold-item.profile .dt17-gold-ico{width:46px!important;height:46px!important;margin-top:-16px!important;border:3px solid #122945!important;background:#F5E5BE!important;color:#142842!important}
#dt17GoldBottomNav .dt17-gold-label{font-size:8.5px!important;font-weight:850!important}

/* Sheets / notifications / quick action */
.dt07-extra-overlay{position:fixed;inset:0;background:rgba(8,20,36,.42);backdrop-filter:blur(2px);z-index:2100;opacity:0;pointer-events:none;transition:.18s}
.dt07-extra-overlay.show{opacity:1;pointer-events:auto}
.dt07-extra-sheet{
  position:fixed;left:50%;bottom:0;z-index:2110;width:min(520px,100%);max-height:76vh;overflow-y:auto;
  transform:translate(-50%,105%);transition:.22s ease;background:#FFFDF8;border:1px solid #E8DED0;
  border-radius:24px 24px 0 0;padding:9px 14px calc(18px + env(safe-area-inset-bottom));
  box-shadow:0 -16px 44px rgba(10,24,47,.20);
}
.dt07-extra-sheet.show{transform:translate(-50%,0)}
.dt07-extra-handle{width:40px;height:4px;border-radius:999px;background:#D9D0C5;margin:1px auto 10px}
.dt07-extra-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.dt07-extra-sheet-head small{display:block;color:#A27D36;font-size:7px;font-weight:950;letter-spacing:.12em}
.dt07-extra-sheet-head h3{margin:1px 0 0;color:#1D3046;font-size:14px}
.dt07-extra-sheet-head button{width:30px;height:30px;border:1px solid #E7DED2;border-radius:10px;background:#F8F4ED;color:#675F55;font-size:17px}
.dt07-notify-list{display:grid;gap:6px}
.dt07-notify-list>button{
  width:100%;min-height:52px;border:1px solid #EAE1D5;border-radius:13px;background:#fff;
  display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:8px;text-align:left;color:#354559;
}
.dt07-notify-list>button>span{width:29px;height:29px;border-radius:9px;background:#F6EFE2;display:grid;place-items:center}
.dt07-notify-list b{display:block;font-size:8.8px}.dt07-notify-list small{display:block;margin-top:2px;color:#9299A2;font-size:6.8px}.dt07-notify-list i{font-style:normal;color:#B1A89D}
.dt07-quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.dt07-quick-grid button{min-height:68px;border:1px solid #E7DED2;border-radius:14px;background:#fff;padding:9px;text-align:left;color:#28394E}
.dt07-quick-grid span{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;margin-bottom:6px;font-size:12px;font-weight:950;background:#F7ECD5;color:#966E21}
.dt07-quick-grid b{display:block;font-size:9px}.dt07-quick-grid small{display:block;margin-top:2px;color:#949BA5;font-size:6.7px}
.dt07-extra-fab{
  position:fixed;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:2050;
  width:43px;height:43px;border:3px solid #F6F1E8;border-radius:14px;background:#C89A43;color:#10233E;
  box-shadow:0 9px 22px rgba(16,35,62,.20);font-size:22px;font-weight:500;display:grid;place-items:center;cursor:pointer;
}

/* Dark mode */
body.dt07-extra-dark{background:#0B1420!important;color:#E8EEF6!important}
body.dt07-extra-dark .screen{background:#0B1420!important}
body.dt07-extra-dark .dt07-extra-section,
body.dt07-extra-dark .panel,
body.dt07-extra-dark .dt17-social-card,
body.dt07-extra-dark .dt07-extra-sheet{background:#121E2C!important;border-color:#263445!important;box-shadow:none!important}
body.dt07-extra-dark .dt07-extra-head h3,
body.dt07-extra-dark .dt07-focus-card b,
body.dt07-extra-dark .dt07-summary-item b,
body.dt07-extra-dark .dt07-activity-copy b{color:#EAF0F7!important}
body.dt07-extra-dark .dt07-focus-card,
body.dt07-extra-dark .dt07-summary-item,
body.dt07-extra-dark .dt07-filter-chip,
body.dt07-extra-dark .dt07-extra-search,
body.dt07-extra-dark .dt07-notify-list>button,
body.dt07-extra-dark .dt07-quick-grid button{background:#172434!important;border-color:#2A394B!important;color:#EAF0F7!important}
body.dt07-extra-dark .dt07-extra-search input{color:#EAF0F7!important}
body.dt07-extra-dark .finput,body.dt07-extra-dark .fselect,body.dt07-extra-dark .ftextarea{background:#172434!important;color:#EAF0F7!important;border-color:#2A394B!important}

@media(max-width:620px){
  .dt07-focus-grid{display:flex;overflow-x:auto;scrollbar-width:none}
  .dt07-focus-grid::-webkit-scrollbar{display:none}
  .dt07-focus-card{flex:0 0 73%}
  .dt07-extra-hero-copy h2{font-size:20px}
  .dt07-extra-focus-ring{width:58px;height:58px;flex-basis:58px}
}
@media(min-width:700px){
  .dt07-extra-hero,.dt07-extra-smart,#dashboard.metrics,.panel,.dt17-social-card{max-width:860px;margin-left:auto!important;margin-right:auto!important}
  #dashboard.metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #dt17GoldBottomNav{width:min(520px,calc(100% - 36px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
}
