/*
 * FieldDock Technician Workspace v1.6.2
 * Dedicated override loaded after style.css so the tech portal cannot fall
 * back to the legacy horizontal shell due to older shared CSS rules.
 */
:root{--fd-tech-rail:268px;}
.fd-tech-portal-body{
  --fd-tech-rail:268px;
  margin:0!important;
  min-height:100vh;
  background:#f4f7fb!important;
  color:#142d54;
}
.fd-tech-portal-body .fd-topbar{min-height:76px;height:76px;padding:8px max(22px,calc((100vw - 1040px)/2));border-bottom:1px solid #e6ebf2;box-shadow:0 1px 4px rgba(13,34,70,.025);}
.fd-tech-portal-body .fd-header-logo{height:54px;max-width:205px;object-fit:contain;}
.fd-tech-portal-body .fd-nav a{font-size:12px;font-weight:700;padding:8px 10px;}
.fd-tech-portal-body .fd-shell{width:min(1040px,calc(100% - 32px));padding:20px 0 70px;}
.fd-portal-desktop-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;padding:10px 12px 10px 14px;margin-bottom:18px;box-shadow:var(--shadow);}
.fd-portal-desktop-identity{display:flex;align-items:center;gap:10px;min-width:0;}
.fd-portal-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#0b438f,#0aa7a0);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;}
.fd-portal-desktop-identity>span:last-child{display:flex;flex-direction:column;}
.fd-portal-desktop-identity strong{font-size:12px;color:#193358;}
.fd-portal-desktop-identity small{font-size:9.5px;color:#8290a3;margin-top:2px;}
.fd-portal-desktop-links{display:flex;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end;}
.fd-portal-desktop-links a{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:8px;color:#66758b;font-size:10.5px;font-weight:700;}
.fd-portal-desktop-links a .fd-ui-icon{width:15px;height:15px;}
.fd-portal-desktop-links a:hover,.fd-portal-desktop-links a.is-active{background:#eaf9f8;color:#087d78;}
.fd-mobile-bottom-nav{display:none;}

.fd-tech-dashboard{max-width:760px;margin:0 auto;}
.fd-tech-welcome{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 19px;}
.fd-tech-welcome h1{margin:0;color:#0b2452;font-size:29px;letter-spacing:-.65px;line-height:1.1;}
.fd-tech-welcome p{margin:7px 0 0;display:flex;align-items:center;gap:6px;color:#77869c;font-size:12px;}
.fd-tech-welcome p .fd-ui-icon{width:15px;height:15px;}
.fd-tech-profile-chip{display:none;}

.fd-tech-priority{border:1px solid #bceae7;background:linear-gradient(145deg,#fbffff,#f1fbfb);border-radius:16px;padding:17px 18px;margin-bottom:24px;box-shadow:0 8px 28px rgba(8,92,102,.055);}
.fd-tech-priority.is-danger{border-color:#ffd4d5;background:linear-gradient(145deg,#fffefe,#fff7f7);}
.fd-tech-priority.is-warning{border-color:#ffe1ba;background:linear-gradient(145deg,#fffefd,#fff9ef);}
.fd-tech-priority.is-clear{border-color:#cde9dd;background:linear-gradient(145deg,#fdfffe,#f2fbf7);}
.fd-tech-priority-top{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:13px;}
.fd-tech-priority-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#078c8a,#12b8ae);}
.fd-tech-priority.is-danger .fd-tech-priority-icon{background:linear-gradient(145deg,#df414a,#fb6063);}
.fd-tech-priority.is-warning .fd-tech-priority-icon{background:linear-gradient(145deg,#ea8018,#ff9b2c);}
.fd-tech-priority.is-clear .fd-tech-priority-icon{background:linear-gradient(145deg,#0b8c69,#19b787);}
.fd-tech-priority-icon .fd-ui-icon{width:23px;height:23px;}
.fd-tech-priority h2{margin:0;color:#102b56;font-size:16px;}
.fd-tech-priority p{margin:4px 0 0;color:#66758b;font-size:11.5px;line-height:1.45;}
.fd-tech-priority>.fd-btn{width:100%;min-height:42px;display:flex;align-items:center;justify-content:center;}
.fd-tech-priority-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;}
.fd-tech-priority-actions form{margin:0;}
.fd-tech-priority-actions .fd-btn{width:100%;height:100%;min-height:42px;justify-content:center;}

.fd-tech-section{margin:0 0 24px;}
.fd-tech-section>h2,.fd-tech-section-head h2{margin:0 0 11px;color:#0d2753;font-size:15px;letter-spacing:-.2px;}
.fd-tech-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.fd-tech-section-head>a{margin-bottom:11px;color:#1769e8;font-size:10.5px;font-weight:700;}
.fd-tech-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;}
.fd-tech-quick-grid>a{min-height:112px;background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:13px 8px;transition:transform .16s ease,box-shadow .16s ease;}
.fd-tech-quick-grid>a:hover{transform:translateY(-2px);box-shadow:var(--shadow-card);}
.fd-tech-quick-grid>a>span{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;}
.fd-tech-quick-grid>a>span .fd-ui-icon{width:21px;height:21px;}
.fd-tech-quick-grid .is-blue{background:linear-gradient(145deg,#195bd2,#287df7);}
.fd-tech-quick-grid .is-orange{background:linear-gradient(145deg,#f76815,#ff8a1f);}
.fd-tech-quick-grid .is-teal{background:linear-gradient(145deg,#078c8a,#0dbab0);}
.fd-tech-quick-grid .is-purple{background:linear-gradient(145deg,#6550d9,#816cf0);}
.fd-tech-quick-grid strong{font-size:11.5px;color:#142b51;}

.fd-tech-week-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;}
.fd-tech-week-grid>a{background:#fff;border:1px solid var(--fd-border);border-radius:13px;padding:14px 14px 13px;box-shadow:var(--shadow);min-width:0;}
.fd-tech-stat-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;margin-bottom:10px;}
.fd-tech-stat-icon .fd-ui-icon{width:17px;height:17px;}
.fd-tech-stat-icon.is-green{background:linear-gradient(145deg,#0b9a70,#12b883);}
.fd-tech-stat-icon.is-blue{background:linear-gradient(145deg,#1c63da,#3488f9);}
.fd-tech-stat-icon.is-red{background:linear-gradient(145deg,#e4424b,#ff6365);}
.fd-tech-week-grid small{display:block;color:#65748a;font-size:10px;}
.fd-tech-week-grid strong{display:block;color:#0c2c59;font-size:22px;margin:4px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-tech-week-grid em{display:block;color:#8d99aa;font-size:9px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.fd-tech-upcoming,.fd-tech-recent-list,.fd-tech-denied-list{background:#fff;border:1px solid var(--fd-border);border-radius:13px;overflow:hidden;box-shadow:var(--shadow);}
.fd-tech-upcoming-row,.fd-tech-recent-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid var(--line-soft);}
.fd-tech-upcoming-row:last-child,.fd-tech-recent-row:last-child{border-bottom:0;}
.fd-tech-upcoming-row:hover,.fd-tech-recent-row:hover{background:#fbfcfe;}
.fd-tech-upcoming-icon,.fd-tech-recent-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#2d78eb;}
.fd-tech-upcoming-icon.is-orange{background:#f8a000;}
.fd-tech-upcoming-icon.is-purple{background:#7257df;}
.fd-tech-upcoming-icon .fd-ui-icon,.fd-tech-recent-icon .fd-ui-icon{width:17px;height:17px;}
.fd-tech-upcoming-row>span:nth-child(2),.fd-tech-recent-row>span:nth-child(2){min-width:0;display:flex;flex-direction:column;}
.fd-tech-upcoming-row strong,.fd-tech-recent-row strong{font-size:11.5px;color:#183158;}
.fd-tech-upcoming-row small,.fd-tech-recent-row small{font-size:9.8px;color:#8390a3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-tech-upcoming-row .fd-status,.fd-tech-recent-row .fd-status{font-size:8.5px;padding:4px 8px;white-space:nowrap;}
.fd-tech-recent-icon{background:linear-gradient(145deg,#0b8b88,#0eb4ab);}
.fd-tech-empty{padding:25px 16px;text-align:center;color:#8290a3;font-size:11px;}

.fd-tech-denied-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid var(--line-soft);}
.fd-tech-denied-row:last-child{border-bottom:0;}
.fd-tech-denied-row>span{min-width:0;display:flex;flex-direction:column;}
.fd-tech-denied-row strong{font-size:11.5px;color:#b42318;}
.fd-tech-denied-row small{font-size:9.8px;color:#7d899b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.fd-tech-more-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;}
.fd-tech-more-grid>a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;padding:13px 14px;box-shadow:var(--shadow);}
.fd-tech-more-grid>a>.fd-ui-icon{width:20px;height:20px;color:#0a938d;}
.fd-tech-more-grid>a>span{display:flex;flex-direction:column;min-width:0;}
.fd-tech-more-grid strong{font-size:11px;color:#19325a;}
.fd-tech-more-grid small{font-size:9.5px;color:#8592a5;margin-top:3px;}

/* ── Mobile behavior ─────────────────────────────────────────────────── */
@media (max-width:1100px){
  .fd-command-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fd-command-grid{grid-template-columns:1fr;}
}

@media (max-width:980px){
  .fd-command-layout{grid-template-columns:1fr!important;}
  .fd-command-sidebar{
    display:block!important;
    position:fixed!important;
    left:0;top:0;bottom:0;
    width:min(300px,86vw)!important;
    height:100vh!important;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:15px 0 40px rgba(2,19,46,.25);
  }
  .fd-sidebar-close{display:grid;place-items:center;flex:0 0 34px;}
  .fd-command-brand>a.fd-command-brand-plate{min-width:0;padding:8px 10px!important;}
  .fd-command-brand-wordmark{width:174px;}
  .fd-sidebar-scrim{display:block;position:fixed;inset:0;z-index:55;background:rgba(2,15,38,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;}
  .fd-sidebar-open .fd-command-sidebar{transform:translateX(0);}
  .fd-sidebar-open .fd-sidebar-scrim{opacity:1;pointer-events:auto;}
  .fd-command-menu{display:inline-flex;}
  .fd-command-topbar{padding:0 18px;}
  .fd-global-search{width:min(580px,100%);}
  .fd-command-main{padding:22px 18px 38px!important;}
}

@media (max-width:760px){
  .fd-command-topbar{height:66px;gap:10px;}
  .fd-global-search{height:39px;}
  .fd-global-search kbd{display:none;}
  .fd-command-user{padding-left:0;border-left:0;}
  .fd-command-user-copy{display:none;}
  .fd-command-avatar{width:36px;height:36px;}
  .fd-command-page-head{align-items:flex-start;}
  .fd-command-page-head h1{font-size:24px;}
  .fd-command-head-actions{display:none;}
  .fd-command-metrics{grid-template-columns:1fr 1fr;gap:10px;}
  .fd-command-metric{padding:13px;gap:10px;align-items:flex-start;}
  .fd-command-metric-icon{width:40px;height:40px;}
  .fd-command-metric-icon .fd-ui-icon{width:18px;height:18px;}
  .fd-command-metric-copy strong{font-size:23px;}
  .fd-command-metric-copy em{display:none;}
  .fd-command-lower-grid{grid-template-columns:1fr;}
  .fd-overview-strip{grid-template-columns:repeat(2,1fr);row-gap:12px;}
  .fd-overview-strip>div:nth-child(2){border-right:0;}
  .fd-overview-strip>div:nth-child(3){padding-left:0;}
  .fd-job-bar-row{grid-template-columns:72px minmax(90px,1fr) 64px;}
  .fd-attention-row{grid-template-columns:36px minmax(0,1fr) auto 14px;padding:12px 13px;gap:9px;}
  .fd-attention-icon{width:33px;height:33px;}
  .fd-attention-copy strong{font-size:11px;}
  .fd-attention-copy small{font-size:9.5px;}
  .fd-priority-pill{font-size:8.5px;padding:4px 8px;}
  .fd-command-tools{grid-template-columns:1fr;}
  .fd-command-tools>a{border-right:0;}

  .fd-tech-portal-body .fd-topbar{height:68px;min-height:68px;padding:7px 16px;}
  .fd-tech-portal-body .fd-header-logo{height:46px;max-width:175px;}
  .fd-tech-portal-body .fd-header-tagline{display:none;}
  .fd-tech-portal-body .fd-nav{display:none;}
  .fd-tech-portal-body .fd-shell{width:100%;padding:17px 16px 108px;}
  .fd-tech-portal-body .fd-footer{display:none;}
  .fd-portal-desktop-nav{display:none;}
  .fd-tech-dashboard{max-width:620px;}
  .fd-tech-welcome{margin-top:2px;}
  .fd-tech-welcome h1{font-size:26px;}
  .fd-tech-profile-chip{display:grid;width:36px;height:36px;border-radius:50%;place-items:center;background:#0b438f;color:#fff;box-shadow:0 6px 14px rgba(11,67,143,.18);}
  .fd-tech-profile-chip span{font-size:11px;font-weight:800;}
  .fd-tech-priority{padding:15px;margin-bottom:22px;}
  .fd-tech-priority-top{grid-template-columns:48px minmax(0,1fr) 14px;gap:12px;}
  .fd-tech-priority-icon{width:48px;height:48px;}
  .fd-tech-priority h2{font-size:15px;}
  .fd-tech-priority-actions{grid-template-columns:1fr;}
  .fd-tech-section{margin-bottom:22px;}
  .fd-tech-quick-grid{gap:9px;}
  .fd-tech-quick-grid>a{min-height:102px;}
  .fd-tech-quick-grid>a>span{width:46px;height:46px;}
  .fd-tech-quick-grid strong{font-size:10.5px;}
  .fd-tech-week-grid{gap:9px;}
  .fd-tech-week-grid>a{padding:12px 11px;}
  .fd-tech-week-grid strong{font-size:18px;}
  .fd-tech-more-tools{padding-bottom:8px;}

  .fd-mobile-bottom-nav{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:end;
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:80;
    min-height:73px;
    padding:8px max(7px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
    background:rgba(255,255,255,.98);
    border-top:1px solid #dfe5ed;
    box-shadow:0 -8px 28px rgba(9,31,66,.07);
    backdrop-filter:blur(14px);
  }
  .fd-mobile-bottom-nav>a,.fd-mobile-more-menu>summary{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#64738a;font-size:8.5px;font-weight:600;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent;}
  .fd-mobile-bottom-nav>a .fd-ui-icon,.fd-mobile-more-menu>summary .fd-ui-icon{width:21px;height:21px;}
  .fd-mobile-bottom-nav>a.is-active{color:#079b96;}
  .fd-mobile-bottom-nav .fd-mobile-primary-action{width:54px;height:54px;align-self:start;justify-self:center;margin-top:-23px;border-radius:50%;background:linear-gradient(145deg,#0b9f99,#0bb9af);color:#fff;border:5px solid #fff;box-shadow:0 6px 18px rgba(8,151,144,.28);}
  .fd-mobile-bottom-nav .fd-mobile-primary-action .fd-ui-icon{width:22px;height:22px;}
  .fd-mobile-more-menu{position:relative;min-width:0;}
  .fd-mobile-more-menu>summary::-webkit-details-marker{display:none;}
  .fd-mobile-more-panel{position:absolute;right:0;bottom:57px;width:210px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;padding:7px;box-shadow:0 18px 45px rgba(6,28,64,.18);display:flex;flex-direction:column;gap:2px;}
  .fd-mobile-more-panel a{display:flex;align-items:center;gap:9px;padding:10px;border-radius:8px;color:#304564;font-size:11px;font-weight:700;}
  .fd-mobile-more-panel a:hover{background:#f3f7fb;}
  .fd-mobile-more-panel a .fd-ui-icon{width:17px;height:17px;color:#0b938e;}
}

@media (max-width:500px){
  .fd-command-main{padding-left:12px!important;padding-right:12px!important;}
  .fd-command-page-head{margin-bottom:16px;}
  .fd-command-page-head h1{font-size:21px;}
  .fd-command-metrics{grid-template-columns:1fr 1fr;}
  .fd-command-metric{display:block;min-height:118px;}
  .fd-command-metric-icon{margin-bottom:10px;}
  .fd-command-metric-copy small{font-size:10px;}
  .fd-command-metric-copy strong{font-size:22px;margin-bottom:0;}
  .fd-overview-strip{padding:12px;}
  .fd-job-bars{padding:13px 12px 15px;}
  .fd-job-bar-row{grid-template-columns:66px minmax(70px,1fr) 56px;gap:7px;}
  .fd-job-bar-label,.fd-job-bar-row>strong{font-size:9px;}
  .fd-command-panel-head{padding-left:13px;padding-right:13px;}

  .fd-tech-portal-body .fd-shell{padding-left:13px;padding-right:13px;}
  .fd-tech-welcome h1{font-size:23px;}
  .fd-tech-quick-grid{grid-template-columns:repeat(4,1fr);gap:7px;}
  .fd-tech-quick-grid>a{min-height:92px;border-radius:11px;padding:10px 4px;}
  .fd-tech-quick-grid>a>span{width:42px;height:42px;}
  .fd-tech-quick-grid strong{font-size:9.5px;}
  .fd-tech-week-grid{gap:7px;}
  .fd-tech-week-grid>a{padding:11px 9px;border-radius:11px;}
  .fd-tech-stat-icon{width:32px;height:32px;}
  .fd-tech-week-grid small{font-size:9px;}
  .fd-tech-week-grid strong{font-size:16px;}
  .fd-tech-week-grid em{font-size:8px;}
  .fd-tech-upcoming-row,.fd-tech-recent-row{padding:12px 11px;gap:9px;grid-template-columns:36px minmax(0,1fr) auto;}
  .fd-tech-upcoming-icon,.fd-tech-recent-icon{width:33px;height:33px;}
  .fd-tech-more-grid{grid-template-columns:1fr;}
}

/* Global search results */
.fd-search-results{display:flex;flex-direction:column;}
.fd-search-result-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;gap:12px;align-items:center;padding:13px 17px;border-bottom:1px solid var(--line-soft);}
.fd-search-result-row:last-child{border-bottom:0;}
.fd-search-result-row:hover{background:#fbfcfe;}
.fd-search-result-icon{width:36px;height:36px;border-radius:10px;background:#edf5ff;color:#1769e8;display:grid;place-items:center;}
.fd-search-result-icon .fd-ui-icon{width:18px;height:18px;}
.fd-search-result-copy{min-width:0;display:flex;flex-direction:column;}
.fd-search-result-copy small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#0a9891;font-weight:800;}
.fd-search-result-copy strong{margin-top:2px;font-size:12px;color:#173157;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-search-result-copy em{margin-top:2px;font-size:9.8px;color:#8491a4;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media(max-width:600px){.fd-search-result-row{grid-template-columns:36px minmax(0,1fr) 15px;padding:12px 13px;gap:9px}.fd-search-result-row>.fd-status{display:none}.fd-search-result-icon{width:33px;height:33px}.fd-search-result-copy strong{font-size:11px}}

/* ── CSpire Billing guided form ─────────────────────────────────────── */
.fd-billing-shell{max-width:1080px;margin:0 auto;}
.fd-billing-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 18px;}
.fd-billing-page-head>div>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#0a938d;font-weight:800;margin-bottom:5px;}
.fd-billing-page-head h1{margin:0;color:#0a2451;font-size:29px;letter-spacing:-.6px;}
.fd-billing-page-head p{margin:6px 0 0;color:#77869b;font-size:11.5px;}
.fd-billing-page-head>.fd-btn{height:38px;display:inline-flex;align-items:center;}
.fd-billing-steps{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto 1fr auto;align-items:start;gap:9px;margin:0 0 18px;padding:0 8px;}
.fd-billing-steps>a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#7a879b;font-size:9.5px;font-weight:700;min-width:58px;}
.fd-billing-steps>a:first-child{color:#0a938d;}
.fd-billing-steps b{width:31px;height:31px;border-radius:50%;border:1px solid #d8dfeb;background:#fff;display:grid;place-items:center;color:#52627c;font-size:10px;box-shadow:0 1px 2px rgba(13,34,70,.03);}
.fd-billing-steps>a:first-child b{background:#0aa7a0;border-color:#0aa7a0;color:#fff;box-shadow:0 6px 14px rgba(10,167,160,.16);}
.fd-billing-steps i{height:1px;background:#d8dfeb;margin-top:15px;}
.fd-billing-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:16px;align-items:start;}
.fd-billing-main{min-width:0;}
.fd-billing-card{background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);margin-bottom:13px;overflow:hidden;scroll-margin-top:95px;}
.fd-billing-card-head{display:flex;align-items:center;gap:10px;padding:12px 15px;border-bottom:1px solid var(--line-soft);}
.fd-billing-card-icon{width:31px;height:31px;border-radius:9px;background:#e8f9f7;color:#078a84;display:grid;place-items:center;}
.fd-billing-card-icon.is-blue{background:#edf4ff;color:#1769e8;}
.fd-billing-card-icon.is-purple{background:#f1edff;color:#7357df;}
.fd-billing-card-icon.is-orange{background:#fff1e5;color:#ef6d13;}
.fd-billing-card-icon.is-teal{background:#e8f9f7;color:#078a84;}
.fd-billing-card-icon .fd-ui-icon{width:16px;height:16px;}
.fd-billing-card-head h2{margin:0;color:#17315a;font-size:13.5px;}
.fd-billing-card-head p{margin:2px 0 0;color:#8a96a8;font-size:9.5px;}
.fd-billing-card-body{padding:14px 15px 15px;}
.fd-billing-card-body .fd-form-grid{gap:12px 14px;}
.fd-billing-card label{font-size:10.5px;color:#314766;margin-bottom:5px;}
.fd-billing-card input,.fd-billing-card select,.fd-billing-card textarea{font-size:11px;border-color:#dce3ed;border-radius:8px;padding:10px 11px;}
.fd-billing-card input[readonly]{background:#f6f8fb;color:#5d6d82;}
.fd-billing-card .fd-help{font-size:9.3px;margin-top:5px;margin-bottom:0;}
.fd-billing-job-types{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;}
.fd-billing-job-type{margin:0!important;cursor:pointer;}
.fd-billing-job-type input{position:absolute;opacity:0;pointer-events:none;}
.fd-billing-job-type>span{min-height:57px;border:1px solid #dce3ed;border-radius:9px;background:#fbfcfe;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;color:#5c6c83;transition:.14s ease;}
.fd-billing-job-type>span .fd-ui-icon{width:15px;height:15px;opacity:.25;}
.fd-billing-job-type strong{font-size:9.8px;white-space:nowrap;}
.fd-billing-job-type input:checked+span{border-color:#0aa7a0;background:#eafaf8;color:#07857f;box-shadow:0 0 0 2px rgba(10,167,160,.06);}
.fd-billing-job-type input:checked+span .fd-ui-icon{opacity:1;}
.fd-billing-conditional{margin-top:13px;padding:12px;border:1px solid #e3e8ef;background:#f8fafc;border-radius:9px;}
.fd-billing-check{padding:12px!important;border:1px solid #e2e7ef!important;border-radius:9px!important;background:#fafbfd!important;margin:0!important;}
.fd-billing-side{position:sticky;top:92px;display:flex;flex-direction:column;gap:12px;}
.fd-billing-side-card{background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);padding:14px 15px;}
.fd-billing-side-title{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.fd-billing-side-card h2{margin:0;color:#17315a;font-size:12.5px;}
.fd-billing-side-card>p{margin:8px 0 0;display:flex;align-items:center;gap:5px;color:#7f8ca0;font-size:9.5px;}
.fd-billing-side-card>p .fd-ui-icon{width:14px;height:14px;color:#0aa079;}
.fd-billing-checklist{margin-top:11px;display:flex;flex-direction:column;}
.fd-billing-checklist>span{position:relative;display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line-soft);}
.fd-billing-checklist>span:last-child{border-bottom:0;}
.fd-billing-checklist i{width:10px;height:10px;border:1.5px solid #aab6c7;border-radius:50%;background:#fff;}
.fd-billing-checklist b{font-size:9.8px;color:#52627a;}
.fd-billing-checklist em{font-size:8.7px;color:#9aa5b4;font-style:normal;}
.fd-billing-checklist>span.is-complete i{background:#12a777;border-color:#12a777;box-shadow:inset 0 0 0 2px #fff;}
.fd-billing-checklist>span.is-complete em{color:#0b976d;}
.fd-billing-actions-card{display:flex;flex-direction:column;gap:8px;}
.fd-billing-actions-card h2{margin-bottom:2px;}
.fd-billing-actions-card .fd-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;font-size:10.5px;}
.fd-billing-actions-card .fd-ui-icon{width:15px;height:15px;}
.fd-billing-side-help{display:block!important;line-height:1.45;margin-top:2px!important;color:#8d99aa!important;}

@media(max-width:900px){
  .fd-billing-form-layout{grid-template-columns:1fr;}
  .fd-billing-side{position:static;display:grid;grid-template-columns:1fr 1fr;}
  .fd-billing-actions-card{grid-column:1/-1;}
}
@media(max-width:700px){
  .fd-billing-page-head{align-items:flex-start;}
  .fd-billing-page-head h1{font-size:24px;}
  .fd-billing-page-head>.fd-btn{display:none;}
  .fd-billing-steps{grid-template-columns:auto 1fr auto 1fr auto 1fr auto 1fr auto;gap:4px;padding:0;margin-bottom:14px;}
  .fd-billing-steps>a{min-width:42px;font-size:8px;}
  .fd-billing-steps b{width:27px;height:27px;}
  .fd-billing-steps i{margin-top:13px;}
  .fd-billing-job-types{grid-template-columns:repeat(2,1fr);}
  .fd-billing-job-type:last-child{grid-column:1/-1;}
  .fd-billing-side{display:flex;}
}
@media(max-width:500px){
  .fd-billing-page-head h1{font-size:22px;}
  .fd-billing-page-head p{font-size:10.5px;}
  .fd-billing-card-head{padding:11px 12px;}
  .fd-billing-card-body{padding:12px;}
  .fd-billing-card-body .fd-form-grid{grid-template-columns:1fr;}
  .fd-billing-card-body .fd-field.full{grid-column:auto;}
  .fd-billing-steps span{display:none;}
  .fd-billing-steps>a{min-width:27px;}
}

/* ========================================================================
   Submissions + Quality Control overhaul — v1.2
   ======================================================================== */
.fd-page-eyebrow{display:block;margin-bottom:5px;color:#078f8a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}

/* Queue hero */
.fd-queue-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 18px;padding:3px 2px 0;}
.fd-queue-hero-copy{min-width:0;max-width:780px;}
.fd-queue-hero h1{margin:0;color:#071e4a;font-size:30px;line-height:1.08;letter-spacing:-.72px;font-weight:800;}
.fd-queue-hero p{margin:8px 0 0;color:#718098;font-size:12.5px;line-height:1.5;}
.fd-queue-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.fd-queue-hero-actions .fd-btn{min-height:40px;display:inline-flex;align-items:center;gap:7px;}
.fd-queue-hero-actions .fd-ui-icon{width:16px;height:16px;}

/* KPI cards */
.fd-queue-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;}
.fd-queue-metric{min-width:0;min-height:102px;display:flex;align-items:center;gap:13px;padding:15px 16px;background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}
a.fd-queue-metric:hover{transform:translateY(-2px);box-shadow:var(--shadow-card);border-color:#d3dceb;}
.fd-queue-metric-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;color:#fff;}
.fd-queue-metric-icon .fd-ui-icon{width:20px;height:20px;}
.fd-queue-metric>span:last-child{min-width:0;display:flex;flex-direction:column;}
.fd-queue-metric small{color:#66758c;font-size:10.5px;font-weight:650;}
.fd-queue-metric strong{margin:4px 0 4px;color:#071e4a;font-size:25px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums;}
.fd-queue-metric em{color:#8491a4;font-size:9.5px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-queue-metric.is-blue .fd-queue-metric-icon{background:linear-gradient(145deg,#1558c9,#2d7ff5);}
.fd-queue-metric.is-orange .fd-queue-metric-icon{background:linear-gradient(145deg,#ef6e14,#ff922e);}
.fd-queue-metric.is-green .fd-queue-metric-icon{background:linear-gradient(145deg,#0a8b68,#15b584);}
.fd-queue-metric.is-red .fd-queue-metric-icon{background:linear-gradient(145deg,#dc4149,#fa6366);}
.fd-queue-metric.is-teal .fd-queue-metric-icon{background:linear-gradient(145deg,#078a87,#0fb6ad);}

/* Queue attention */
.fd-queue-attention-panel{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:18px;padding:15px 16px;background:linear-gradient(135deg,#fff9f1,#fffdf9);border:1px solid #f5d7aa;border-left:4px solid #f18a1a;border-radius:13px;box-shadow:var(--shadow);}
.fd-queue-attention-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#fff0db;color:#e67110;}
.fd-queue-attention-icon .fd-ui-icon{width:21px;height:21px;}
.fd-queue-attention-copy>span{display:block;color:#d66a0b;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;}
.fd-queue-attention-copy h2{margin:3px 0 3px;color:#203657;font-size:14px;}
.fd-queue-attention-copy p{margin:0;color:#7c6750;font-size:10.5px;line-height:1.4;}
.fd-queue-exception-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px;}
.fd-queue-exception-chips>span{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #f1ddc0;border-radius:7px;background:#fff;color:#7d6548;font-size:8.8px;}
.fd-queue-exception-chips strong{color:#5d472c;}
.fd-queue-attention-panel>.fd-btn{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.fd-queue-attention-panel>.fd-btn .fd-ui-icon{width:14px;height:14px;}

/* Main queue panels */
.fd-queue-panel{margin-bottom:14px;background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);overflow:hidden;}
.fd-queue-panel-head{min-height:70px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft);}
.fd-queue-panel-head h2{margin:0;color:#112b56;font-size:15px;letter-spacing:-.2px;}
.fd-queue-panel-head p{margin:4px 0 0;color:#8491a3;font-size:10px;}
.fd-queue-panel-head p strong{color:#3b526f;}
.fd-queue-export-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.fd-queue-export-actions .fd-btn{display:inline-flex;align-items:center;gap:5px;}
.fd-queue-export-actions .fd-ui-icon{width:14px;height:14px;}

.fd-queue-job-tabs{display:flex;align-items:stretch;gap:0;overflow-x:auto;border-bottom:1px solid var(--line-soft);background:#fbfcfe;scrollbar-width:thin;}
.fd-queue-job-tabs>a{position:relative;min-width:max-content;display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 14px;color:#6d7b90;font-size:10.5px;font-weight:750;border-right:1px solid #edf1f6;}
.fd-queue-job-tabs>a:hover{background:#fff;color:#24446f;}
.fd-queue-job-tabs>a.is-active{background:#fff;color:#0b458e;}
.fd-queue-job-tabs>a.is-active:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#1769e8,#0aa7a0);}
.fd-queue-job-tabs b{min-width:23px;height:21px;padding:0 7px;border-radius:999px;background:#eef2f7;color:#66758c;display:inline-flex;align-items:center;justify-content:center;font-size:9px;}
.fd-queue-job-tabs>a.is-active b{background:#e8f3ff;color:#1769e8;}

.fd-queue-filterbar{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto auto auto;gap:9px;align-items:end;padding:12px 14px;background:#fff;}
.fd-queue-search{height:40px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid #dbe2ec;border-radius:9px;background:#fff;color:#8693a6;}
.fd-queue-search:focus-within{border-color:#77a8e6;box-shadow:0 0 0 3px rgba(23,105,232,.08);}
.fd-queue-search .fd-ui-icon{width:16px;height:16px;}
.fd-queue-search input{height:auto!important;width:100%;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:10.5px!important;outline:0!important;}
.fd-queue-select{display:flex;flex-direction:column;gap:4px;}
.fd-queue-select>span{font-size:8.8px;color:#738097;font-weight:750;letter-spacing:.03em;text-transform:uppercase;}
.fd-queue-select select{height:40px;font-size:10.5px!important;}
.fd-queue-filterbar>.fd-btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;}
.fd-queue-filterbar>.fd-btn .fd-ui-icon{width:14px;height:14px;}

.fd-queue-results{margin-top:0;}
.fd-queue-bulkbar{position:sticky;top:74px;z-index:12;display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;margin:0 0 10px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border:1px solid var(--fd-border);border-radius:11px;box-shadow:0 5px 20px rgba(13,34,70,.055);}
.fd-queue-bulkbar .fd-check{margin:0!important;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:750;color:#465a78;}
.fd-queue-bulkbar>#bulk-selected-count{font-size:9.5px;color:#8a96a6;}
.fd-queue-bulk-spacer{flex:1;}
.fd-queue-bulkbar select{max-width:205px;height:34px;padding:6px 9px;font-size:9.8px!important;}

/* Grouped table restyle */
.fd-queue-page .fd-month-details{margin-bottom:12px;border:1px solid var(--fd-border);border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden;}
.fd-queue-page .fd-month-details>summary{min-height:50px;padding:11px 14px;background:linear-gradient(180deg,#fff,#fbfcfe);}
.fd-queue-page .fd-month-details>summary span strong{font-size:12px;color:#17345e;}
.fd-queue-page .fd-month-details>summary span em{font-size:8.8px;color:#91a0b2;}
.fd-queue-page .fd-month-details>summary>b{background:#eef5ff;color:#1769e8;font-size:9.5px;}
.fd-queue-page .fd-week-details{border-top:1px solid var(--line-soft);}
.fd-queue-page .fd-week-details>summary{padding:10px 14px;background:#f9fbfd;}
.fd-queue-page .fd-week-details>summary span strong{font-size:10.5px;color:#405777;}
.fd-queue-page .fd-week-details>summary span em{font-size:8.5px;}
.fd-queue-page .fd-week-details>summary>b{font-size:9px;min-height:25px;padding:4px 8px;}
.fd-queue-page .fd-week-export-btn{font-size:8px!important;min-height:26px!important;padding:4px 8px!important;}
.fd-queue-page .fd-week-table{margin:0;border:0;border-radius:0;box-shadow:none;}
.fd-queue-page .fd-week-table table{min-width:1080px;}
.fd-queue-page .fd-week-table th{padding:9px 11px!important;background:#fff!important;color:#8a96a8!important;font-size:8.5px!important;border-bottom:1px solid var(--line-soft)!important;}
.fd-queue-page .fd-week-table td{padding:11px!important;color:#516079;font-size:9.5px!important;vertical-align:middle;border-bottom:1px solid #eff2f6!important;}
.fd-queue-page .fd-week-table tbody>tr:not(.fd-day-row):hover td{background:#fbfdff;}
.fd-queue-page .fd-day-row td{padding:8px 11px!important;background:#f4f7fb!important;color:#526682!important;}
.fd-queue-page .fd-day-row strong{font-size:9.3px;}
.fd-queue-page .fd-day-row span{font-size:8.4px;}
.fd-queue-row.has-warning td:first-child{box-shadow:inset 3px 0 0 #f3a231;}
.fd-queue-check-cell{width:34px;text-align:center!important;}
.fd-queue-primary-text{display:block;color:#223b61;font-size:10.2px;font-weight:750;white-space:nowrap;}
.fd-queue-subtext{display:block;max-width:210px;margin-top:3px;color:#8a97a9;font-size:8.7px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-queue-status-stack{display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:250px;}
.fd-queue-status-stack .fd-status,.fd-queue-page .fd-week-table .fd-status{font-size:8px!important;padding:4px 6px!important;line-height:1.1;}
.fd-queue-status-stack .fd-inline-flags{display:contents;}
.fd-queue-action-cell{white-space:nowrap;}
.fd-queue-action-cell>.fd-btn{display:inline-flex;align-items:center;gap:3px;}
.fd-queue-action-cell>.fd-btn .fd-ui-icon{width:12px;height:12px;}

/* QC overview mode selector + banners */
.fd-qc-offline-banner{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:16px;padding:13px 14px;border:1px solid #cfe0f5;border-radius:12px;background:#f5f9ff;box-shadow:var(--shadow);}
.fd-qc-offline-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#e5f0ff;color:#1769e8;}
.fd-qc-offline-icon .fd-ui-icon{width:19px;height:19px;}
.fd-qc-offline-banner strong{display:block;color:#24466f;font-size:11px;}
.fd-qc-offline-banner p{margin:3px 0 0;color:#7c8ca2;font-size:9.7px;line-height:1.4;}
.fd-qc-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px;}
.fd-qc-mode-switch>a{position:relative;display:grid;grid-template-columns:39px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;padding:12px 14px;border:1px solid var(--fd-border);border-radius:12px;background:#fff;box-shadow:var(--shadow);}
.fd-qc-mode-switch>a>span{grid-row:1/3;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#f0f4fa;color:#6f819a;}
.fd-qc-mode-switch>a>span .fd-ui-icon{width:18px;height:18px;}
.fd-qc-mode-switch strong{align-self:end;color:#354b6c;font-size:11px;}
.fd-qc-mode-switch small{align-self:start;margin-top:2px;color:#8d9bad;font-size:8.8px;}
.fd-qc-mode-switch>a.is-active{border-color:#b7dbdb;background:linear-gradient(145deg,#fff,#f4fcfb);}
.fd-qc-mode-switch>a.is-active:after{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#0aa7a0;}
.fd-qc-mode-switch>a.is-active>span{background:#e7f9f7;color:#078d87;}
.fd-qc-mode-switch>a.is-active strong{color:#0c555b;}
.fd-segmented-control{display:flex;align-items:center;padding:3px;border-radius:9px;background:#f1f4f8;border:1px solid #e4e9f0;}
.fd-segmented-control>a{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:7px;color:#718097;font-size:9.5px;font-weight:700;}
.fd-segmented-control>a.is-active{background:#fff;color:#195ea9;box-shadow:0 1px 4px rgba(13,34,70,.08);}
.fd-segmented-control b{font-size:8px;background:#e8edf4;border-radius:999px;padding:2px 5px;}
.fd-segmented-control>a.is-active b{background:#e6f2ff;color:#1769e8;}

/* QC project cards */
.fd-qc-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px;}
.fd-qc-project-card{position:relative;min-width:0;padding:14px;border:1px solid #e4e9f0;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(13,34,70,.025);}
.fd-qc-project-card.has-attention{border-color:#d9e6f7;box-shadow:0 7px 22px rgba(17,70,138,.065);}
.fd-qc-project-card.has-attention:before{content:"";position:absolute;left:-1px;top:13px;bottom:13px;width:3px;border-radius:4px;background:#1769e8;}
.fd-qc-project-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.fd-qc-project-type{display:inline-flex;align-items:center;gap:5px;color:#166e91;font-size:8.7px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.fd-qc-project-type .fd-ui-icon{width:13px;height:13px;color:#0aa7a0;}
.fd-qc-project-type.is-coax{color:#6a54c9;}.fd-qc-project-type.is-coax .fd-ui-icon{color:#7357df;}
.fd-qc-project-card-copy{margin:12px 0;}
.fd-qc-project-card-copy h3{margin:0;color:#152f59;font-size:14px;letter-spacing:-.15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-qc-project-card-copy p{margin:4px 0 0;color:#8a97a9;font-size:9px;}
.fd-qc-project-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:9px;border-radius:9px;background:#f8fafc;border:1px solid #eef1f5;}
.fd-qc-project-stats>span{padding-right:7px;border-right:1px solid #e8edf3;}.fd-qc-project-stats>span:last-child{border-right:0;padding-right:0;}
.fd-qc-project-stats small{display:block;color:#8c98aa;font-size:8px;}
.fd-qc-project-stats strong{display:block;margin-top:3px;color:#294160;font-size:13px;}
.fd-qc-project-stats .is-attention strong{color:#1769e8;}
.fd-qc-project-alert,.fd-qc-project-clean{display:flex;align-items:center;gap:6px;margin-top:9px;padding:7px 8px;border-radius:8px;font-size:8.8px;font-weight:700;}
.fd-qc-project-alert{background:#edf5ff;color:#2467b5;}.fd-qc-project-clean{background:#eef9f5;color:#198260;}
.fd-qc-project-alert .fd-ui-icon,.fd-qc-project-clean .fd-ui-icon{width:13px;height:13px;}
.fd-qc-project-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px;}
.fd-qc-project-actions form{margin:0;}
.fd-qc-project-actions .fd-btn-primary{margin-right:auto;display:inline-flex;align-items:center;gap:3px;}
.fd-qc-project-actions .fd-btn-primary .fd-ui-icon{width:12px;height:12px;}
.fd-queue-empty{padding:42px 20px;text-align:center;color:#8a97a8;}
.fd-queue-empty>span{width:44px;height:44px;margin:0 auto 10px;border-radius:12px;background:#f0f4f9;color:#8190a4;display:grid;place-items:center;}
.fd-queue-empty>span .fd-ui-icon{width:21px;height:21px;}
.fd-queue-empty h3{margin:0;color:#3f5473;font-size:13px;}.fd-queue-empty p{margin:5px auto 12px;max-width:420px;font-size:9.5px;line-height:1.5;}

/* QC queue tables */
.fd-qc-searchbar{grid-template-columns:minmax(300px,1fr) auto auto;}
.fd-qc-queue-table{border-radius:13px;border-color:var(--fd-border);box-shadow:var(--shadow);}
.fd-qc-queue-table table{min-width:880px;}
.fd-qc-queue-table th{padding:10px 13px!important;background:#fbfcfe!important;color:#8592a5!important;font-size:8.6px!important;}
.fd-qc-queue-table td{padding:12px 13px!important;font-size:9.5px!important;vertical-align:middle;}
.fd-qc-row.has-attention td:first-child{box-shadow:inset 3px 0 0 #1769e8;}
.fd-qc-row:hover td{background:#fbfdff;}
.fd-qc-delete-form{display:inline-block;margin-left:4px;vertical-align:middle;}
.fd-icon-danger{width:29px;height:29px;border:1px solid #f1d7d8;border-radius:8px;background:#fff;color:#c44b50;display:inline-grid;place-items:center;cursor:pointer;}
.fd-icon-danger:hover{background:#fff4f4;border-color:#eebabc;}
.fd-icon-danger .fd-ui-icon{width:13px;height:13px;}
.fd-inline-empty{padding:22px;text-align:center;color:#8996a7;font-size:10px;}

/* Project hero */
.fd-qc-project-hero-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:10px;}
.fd-qc-project-hero-badges .fd-status{font-size:8.5px!important;}

/* QC review page */
.fd-qc-review-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px;}
.fd-qc-review-meta>div{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;padding:12px 13px;border:1px solid var(--fd-border);border-radius:11px;background:#fff;box-shadow:var(--shadow);min-width:0;}
.fd-qc-review-meta>div>span{grid-row:1/4;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}
.fd-qc-review-meta>div:nth-child(2)>span{background:#eaf9f7;color:#0a948e;}.fd-qc-review-meta>div:nth-child(3)>span{background:#fff4e8;color:#ee7816;}.fd-qc-review-meta>div:nth-child(4)>span{background:#f2edff;color:#7357df;}
.fd-qc-review-meta .fd-ui-icon{width:17px;height:17px;}
.fd-qc-review-meta small{align-self:end;color:#8c99ab;font-size:8px;}
.fd-qc-review-meta strong{margin-top:2px;color:#233d63;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-qc-review-meta em{margin-top:2px;color:#8c99aa;font-size:8.5px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.fd-qc-install-card{margin-bottom:14px;border:1px solid var(--fd-border);border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden;}
.fd-qc-install-head{display:flex;align-items:center;gap:9px;padding:11px 13px;border-bottom:1px solid var(--line-soft);}
.fd-qc-install-head>span{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}.fd-qc-install-head>span .fd-ui-icon{width:16px;height:16px;}
.fd-qc-install-head small{display:block;color:#0a958f;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}.fd-qc-install-head h2{margin:2px 0 0;color:#284163;font-size:11.5px;}
.fd-qc-install-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:0;}
.fd-qc-install-grid>div{min-height:66px;padding:11px 13px;border-right:1px solid var(--line-soft);}.fd-qc-install-grid>div:last-child{border-right:0;}
.fd-qc-install-grid small{display:block;color:#8a97a9;font-size:8px;}.fd-qc-install-grid strong{display:block;margin-top:4px;color:#405576;font-size:9.7px;line-height:1.45;font-weight:700;}.fd-qc-install-grid em{display:block;margin-top:3px;color:#8491a3;font-size:8.4px;font-style:normal;line-height:1.4;}

.fd-qc-workflow-banner{display:grid;grid-template-columns:39px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:12px;padding:12px 13px;border:1px solid #d9e7f8;border-radius:11px;background:#f6faff;}
.fd-qc-workflow-banner>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#e7f2ff;color:#1769e8;}.fd-qc-workflow-banner>span .fd-ui-icon{width:17px;height:17px;}
.fd-qc-workflow-banner strong{display:block;color:#315276;font-size:10.5px;}.fd-qc-workflow-banner p{margin:3px 0 0;color:#8291a4;font-size:9px;line-height:1.45;}
.fd-qc-workflow-banner.is-success{border-color:#cae8dc;background:#f5fbf8;}.fd-qc-workflow-banner.is-success>span{background:#e4f7ef;color:#0d9c74;}
.fd-qc-workflow-banner.is-danger{border-color:#f1ced0;background:#fff8f8;}.fd-qc-workflow-banner.is-danger>span{background:#ffe9ea;color:#d84c52;}
.fd-qc-workflow-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:12px 13px;border:1px solid var(--fd-border);border-radius:11px;background:#fff;box-shadow:var(--shadow);}
.fd-qc-workflow-card.has-error{border-color:#f0cacc;background:#fffafa;}
.fd-qc-workflow-card>div:first-child{display:flex;align-items:center;gap:10px;}.fd-qc-workflow-card>div:first-child>span{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#eef4fb;color:#52759f;}.fd-qc-workflow-card>div:first-child>span .fd-ui-icon{width:16px;height:16px;}
.fd-qc-workflow-card small{display:block;color:#8995a7;font-size:8px;}.fd-qc-workflow-card h3{margin:2px 0 0;color:#334c70;font-size:10.5px;}.fd-qc-workflow-card p{margin:3px 0 0;color:#8491a4;font-size:8.8px;}
.fd-qc-workflow-card form{margin:0;}

.fd-qc-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:14px;align-items:start;}
.fd-qc-photo-panel{min-width:0;border:1px solid var(--fd-border);border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden;}
.fd-qc-photo-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border-bottom:1px solid var(--line-soft);}
.fd-qc-photo-panel-head h2{margin:0;color:#17345d;font-size:14px;}.fd-qc-photo-panel-head p{margin:4px 0 0;color:#8794a6;font-size:9px;line-height:1.45;}
.fd-qc-photo-progress{flex:0 0 auto;display:inline-flex;align-items:baseline;gap:3px;padding:7px 9px;border-radius:8px;background:#eef5ff;color:#567395;font-size:8.5px;font-weight:700;}.fd-qc-photo-progress strong{color:#1769e8;font-size:12px;}
.fd-qc-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px;}
.fd-qc-photo-card{min-width:0;border:1px solid #e4e9f0;border-radius:11px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease;}
.fd-qc-photo-card.is-flagged{border-color:#f2bd71;box-shadow:0 0 0 2px rgba(239,126,24,.05);}.fd-qc-photo-card.is-missing{border-color:#efc6c8;}
.fd-qc-photo-title{min-height:62px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 11px;border-bottom:1px solid var(--line-soft);}
.fd-qc-photo-title>div{min-width:0;}.fd-qc-photo-title strong{display:block;color:#344d70;font-size:10px;}.fd-qc-photo-title span{display:block;margin-top:3px;color:#8b98aa;font-size:7.8px;line-height:1.35;}
.fd-qc-photo-title em{flex:0 0 auto;padding:4px 6px;border-radius:999px;background:#fff0dc;color:#d9700c;font-size:7.5px;font-style:normal;font-weight:800;}
.fd-qc-photo-media{height:195px;background:#f3f5f8;overflow:hidden;}
.fd-qc-photo-media>a{position:relative;display:block;width:100%;height:100%;}.fd-qc-photo-media img{width:100%;height:100%;display:block;object-fit:cover;}
.fd-qc-photo-media>a>span{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:rgba(4,28,62,.82);color:#fff;font-size:7.8px;font-weight:700;white-space:nowrap;backdrop-filter:blur(7px);}.fd-qc-photo-media>a>span .fd-ui-icon{width:11px;height:11px;}
.fd-qc-missing-photo{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;text-align:center;color:#bd676b;background:#fff8f8;}.fd-qc-missing-photo .fd-ui-icon{width:24px;height:24px;margin-bottom:7px;}.fd-qc-missing-photo strong{font-size:10px;}.fd-qc-missing-photo span{margin-top:4px;color:#aa8587;font-size:8px;line-height:1.4;}
.fd-qc-photo-note{display:block;padding:9px 10px 10px;}.fd-qc-photo-note>span{display:block;margin-bottom:5px;color:#6f7d91;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.03em;}.fd-qc-photo-note textarea{min-height:70px!important;resize:vertical;font-size:9px!important;line-height:1.45;}

.fd-qc-review-side{position:sticky;top:89px;display:flex;flex-direction:column;gap:10px;}
.fd-qc-review-side-card{padding:13px 14px;border:1px solid var(--fd-border);border-radius:12px;background:#fff;box-shadow:var(--shadow);}
.fd-qc-review-status-head{margin:7px 0 9px;}.fd-qc-review-status-head .fd-status{font-size:8.5px!important;}
.fd-qc-side-stat{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-soft);}.fd-qc-side-stat:last-child{border-bottom:0;}
.fd-qc-side-stat span{color:#8592a4;font-size:8.8px;}.fd-qc-side-stat strong{color:#314a6c;font-size:9.3px;text-align:right;}
.fd-qc-decision-card h3{margin:3px 0 5px;color:#243f65;font-size:12px;}.fd-qc-decision-card>p{margin:0 0 11px;color:#8290a3;font-size:8.8px;line-height:1.5;}
.fd-qc-decision-card>.fd-btn{width:100%;min-height:38px;margin-top:7px;display:flex;align-items:center;justify-content:center;gap:6px;}.fd-qc-decision-card>.fd-btn .fd-ui-icon{width:14px;height:14px;}
.fd-qc-save-btn{background:#fff!important;color:#49617e!important;box-shadow:none!important;}.fd-qc-approve-btn{min-height:42px!important;}
.fd-qc-goback-check{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:9px;border:1px solid #f0d5b7;border-radius:9px;background:#fffaf4;cursor:pointer;}.fd-qc-goback-check input{margin-top:2px;}.fd-qc-goback-check span{display:flex;flex-direction:column;}.fd-qc-goback-check strong{color:#77512b;font-size:8.8px;}.fd-qc-goback-check small{margin-top:2px;color:#a47d56;font-size:7.8px;line-height:1.35;}
.fd-qc-deny-btn{background:#fff5f5!important;color:#c73f46!important;border-color:#f0c4c6!important;box-shadow:none!important;}.fd-qc-deny-btn:hover{background:#ffecec!important;}
.fd-qc-readonly-card{text-align:center;padding:18px 14px;}.fd-qc-readonly-card>.fd-ui-icon{width:28px;height:28px;color:#7391b6;}.fd-qc-readonly-card h3{margin:7px 0 4px;color:#405a7e;font-size:11px;}.fd-qc-readonly-card p{margin:0;color:#8996a7;font-size:8.7px;line-height:1.45;}

@media(max-width:1180px){
  .fd-queue-filterbar{grid-template-columns:minmax(230px,1fr) 180px auto auto;}.fd-queue-print{display:none!important;}
  .fd-qc-review-meta{grid-template-columns:1fr 1fr;}
}
@media(max-width:980px){
  .fd-queue-metrics{grid-template-columns:1fr 1fr;}
  .fd-queue-hero{align-items:flex-start;}.fd-queue-hero-actions{max-width:430px;}
  .fd-qc-project-grid{grid-template-columns:1fr;}
  .fd-qc-review-layout{grid-template-columns:1fr;}.fd-qc-review-side{position:static;display:grid;grid-template-columns:1fr 1fr;}.fd-qc-decision-card,.fd-qc-readonly-card{grid-column:auto;}
}
@media(max-width:760px){
  .fd-queue-hero{display:block;}.fd-queue-hero h1{font-size:25px;}.fd-queue-hero-actions{margin-top:12px;justify-content:flex-start;max-width:none;}
  .fd-queue-attention-panel{grid-template-columns:38px minmax(0,1fr);}.fd-queue-attention-icon{width:36px;height:36px;}.fd-queue-attention-panel>.fd-btn{grid-column:1/-1;width:100%;justify-content:center;}
  .fd-queue-panel-head{align-items:flex-start;}.fd-queue-export-actions{justify-content:flex-start;}
  .fd-queue-filterbar,.fd-qc-searchbar{grid-template-columns:1fr 1fr;}.fd-queue-search{grid-column:1/-1;}.fd-queue-filterbar>.fd-btn{width:100%;}.fd-queue-select{min-width:0;}
  .fd-queue-bulkbar{top:72px;flex-wrap:wrap;}.fd-queue-bulk-spacer{display:none;}.fd-queue-bulkbar select{margin-left:auto;}
  .fd-qc-offline-banner{grid-template-columns:36px minmax(0,1fr);}.fd-qc-offline-banner>.fd-btn{grid-column:1/-1;justify-content:center;}
  .fd-qc-mode-switch{grid-template-columns:1fr;}
  .fd-qc-install-grid{grid-template-columns:1fr 1fr;}.fd-qc-install-grid>div:nth-child(2){border-right:0;}.fd-qc-install-grid>.is-wide{grid-column:1/-1;border-top:1px solid var(--line-soft);border-right:0;}
  .fd-qc-photo-grid{grid-template-columns:1fr;}.fd-qc-photo-media{height:260px;}
  .fd-qc-review-side{display:flex;}
}
@media(max-width:520px){
  .fd-queue-metrics{gap:8px;}.fd-queue-metric{min-height:92px;padding:12px 10px;gap:9px;}.fd-queue-metric-icon{width:38px;height:38px;border-radius:10px;}.fd-queue-metric-icon .fd-ui-icon{width:17px;height:17px;}.fd-queue-metric small{font-size:8.6px;}.fd-queue-metric strong{font-size:20px;}.fd-queue-metric em{font-size:7.8px;}
  .fd-queue-hero-actions{display:grid;grid-template-columns:1fr 1fr;}.fd-queue-hero-actions .fd-btn{justify-content:center;}.fd-queue-hero-actions .fd-btn-primary{grid-column:1/-1;}
  .fd-queue-panel-head{display:block;}.fd-queue-export-actions{margin-top:10px;}
  .fd-queue-filterbar,.fd-qc-searchbar{grid-template-columns:1fr;}.fd-queue-search{grid-column:auto;}.fd-queue-bulkbar select{width:100%;max-width:none;margin-left:0;}.fd-queue-bulkbar .fd-btn{width:100%;}
  .fd-qc-review-meta{grid-template-columns:1fr;}.fd-qc-review-meta>div{min-height:60px;}
  .fd-qc-photo-media{height:220px;}
  .fd-qc-workflow-card{align-items:flex-start;flex-direction:column;}.fd-qc-workflow-card>.fd-actions{width:100%;}.fd-qc-workflow-card>.fd-actions .fd-btn{width:100%;justify-content:center;}
  .fd-segmented-control{width:100%;margin-top:10px;}.fd-segmented-control>a{flex:1;justify-content:center;}
}

/* ========================================================================
   FieldDock v1.3 — People, Training & Calendar
   ======================================================================== */
.fd-section-kicker{display:block;margin:0 0 5px;color:#0b8e88;font-size:9px;font-weight:850;letter-spacing:.085em;text-transform:uppercase;}
.fd-people-hero,.fd-calendar-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 16px;}
.fd-people-hero h1,.fd-calendar-hero h1{margin:0;color:#071e4a;font-size:28px;line-height:1.12;letter-spacing:-.6px;font-weight:850;}
.fd-people-hero p,.fd-calendar-hero p{max-width:780px;margin:6px 0 0;color:#738198;font-size:11px;line-height:1.5;}
.fd-people-hero .fd-actions,.fd-calendar-hero .fd-actions{margin:0;flex-wrap:wrap;justify-content:flex-end;}
.fd-people-hero .fd-btn,.fd-calendar-hero .fd-btn{display:inline-flex;align-items:center;gap:6px;min-height:37px;}
.fd-people-hero .fd-btn .fd-ui-icon,.fd-calendar-hero .fd-btn .fd-ui-icon{width:14px;height:14px;}

.fd-people-metrics,.fd-calendar-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;}
.fd-people-metric,.fd-calendar-metric{min-width:0;display:flex;align-items:center;gap:12px;padding:14px 15px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;box-shadow:var(--shadow);}
.fd-people-metric>span,.fd-calendar-metric>span{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:linear-gradient(145deg,#1769e8,#2e82f4);}
.fd-people-metric>span .fd-ui-icon,.fd-calendar-metric>span .fd-ui-icon{width:18px;height:18px;}
.fd-people-metric.is-teal>span,.fd-calendar-metric.is-teal>span{background:linear-gradient(145deg,#078b88,#0bb8ae);}
.fd-people-metric.is-purple>span,.fd-calendar-metric.is-purple>span{background:linear-gradient(145deg,#684bd2,#8066ed);}
.fd-people-metric.is-orange>span,.fd-calendar-metric.is-orange>span{background:linear-gradient(145deg,#ed7412,#ff922f);}
.fd-people-metric.is-red>span,.fd-calendar-metric.is-red>span{background:linear-gradient(145deg,#db424a,#f56165);}
.fd-people-metric.is-green>span,.fd-calendar-metric.is-green>span{background:linear-gradient(145deg,#078b65,#12ad7d);}
.fd-people-metric.is-muted>span,.fd-calendar-metric.is-muted>span{background:linear-gradient(145deg,#718198,#8795a8);}
.fd-people-metric div,.fd-calendar-metric div{min-width:0;display:flex;flex-direction:column;}
.fd-people-metric small,.fd-calendar-metric small{color:#718098;font-size:9.5px;font-weight:650;}
.fd-people-metric strong,.fd-calendar-metric strong{margin:3px 0 2px;color:#0a214d;font-size:22px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums;}
.fd-people-metric em,.fd-calendar-metric em{color:#91a0b2;font-size:8.5px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.fd-people-toolbar,.fd-contacts-toolbar,.fd-training-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;box-shadow:var(--shadow);}
.fd-people-search{height:38px;min-width:240px;flex:1;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dce3ec;border-radius:9px;background:#fff;color:#8694a7;}
.fd-people-search .fd-ui-icon{width:15px;height:15px;}
.fd-people-search input{min-width:0;width:100%;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:10px!important;outline:0;}
.fd-people-toolbar select,.fd-contacts-toolbar select,.fd-training-toolbar select{height:38px;min-width:160px;font-size:9.5px;}
.fd-people-status-tabs{display:flex;align-items:center;padding:3px;border:1px solid #e4e9f0;border-radius:9px;background:#f3f6f9;}
.fd-people-status-tabs a{padding:7px 10px;border-radius:7px;color:#78869a;font-size:9px;font-weight:750;}
.fd-people-status-tabs a.is-active{background:#fff;color:#1769e8;box-shadow:0 1px 4px rgba(13,34,70,.08);}
.fd-people-carrier-tabs{flex:0 0 auto;}
.fd-people-empty{padding:44px 20px;text-align:center;}
.fd-people-empty>span{width:48px;height:48px;margin:0 auto 10px;border-radius:13px;display:grid;place-items:center;background:#edf4ff;color:#477ab7;}
.fd-people-empty>span .fd-ui-icon{width:22px;height:22px;}.fd-people-empty h3{margin:0;color:#324d72;font-size:13px;}.fd-people-empty p{margin:5px 0 12px;color:#8b98aa;font-size:9.5px;}

/* Technician roster cards */
.fd-tech-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.fd-tech-card{min-width:0;padding:14px;background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;}
.fd-tech-card:hover{transform:translateY(-2px);border-color:#d4deeb;box-shadow:0 12px 30px rgba(13,34,70,.08);}.fd-tech-card.is-archived{opacity:.72;}
.fd-tech-card-head{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:10px;align-items:start;}
.fd-tech-avatar,.fd-contact-avatar{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#0d4da2,#0ba69e);color:#fff;font-size:12px;font-weight:850;box-shadow:0 8px 18px rgba(16,92,171,.13);}
.fd-tech-card-title{min-width:0;}.fd-tech-card-title-row{display:flex;align-items:center;gap:6px;min-width:0;}.fd-tech-card-title h3{margin:0;color:#19375f;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-tech-card-title p{margin:3px 0 5px;color:#8b98aa;font-size:8.8px;}
.fd-tech-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;}.fd-tech-badges .fd-status{font-size:7.4px!important;padding:3px 5px!important;}
.fd-tech-menu{position:relative;}.fd-tech-menu-button{list-style:none;width:28px;height:28px;display:grid;place-items:center;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#738096;font-size:18px;line-height:1;cursor:pointer;}.fd-tech-menu-button::-webkit-details-marker{display:none;}.fd-tech-menu[open] .fd-tech-menu-button{background:#f3f7fb;color:#1769e8;}
.fd-tech-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:12px 0 10px;padding:9px;border:1px solid #edf1f5;border-radius:9px;background:#f8fafc;}
.fd-tech-card-stats>div{padding:0 8px;border-right:1px solid #e7ecf2;}.fd-tech-card-stats>div:last-child{border-right:0;}.fd-tech-card-stats small{display:block;color:#8c98aa;font-size:7.7px;}.fd-tech-card-stats strong{display:block;margin-top:3px;color:#284261;font-size:15px;}.fd-tech-card-stats .has-attention strong{color:#e46c12;}
.fd-tech-card-info{display:grid;grid-template-columns:1.3fr .7fr;gap:8px;padding:9px 0;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6;}.fd-tech-card-info>div{min-width:0;display:flex;align-items:center;gap:7px;}.fd-tech-card-info>.fd-ui-icon{width:14px;height:14px;color:#738caf;}.fd-tech-card-info span{min-width:0;display:flex;flex-direction:column;}.fd-tech-card-info small{color:#95a0b0;font-size:7.4px;}.fd-tech-card-info strong{margin-top:2px;color:#60718a;font-size:8.1px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-tech-card-footer{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:10px;}.fd-tech-region-form{margin:0;flex:1;max-width:160px;}.fd-tech-region-form label{display:flex;flex-direction:column;gap:3px;color:#8b98aa;font-size:7.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}.fd-tech-region-form select{height:31px;padding:4px 28px 4px 8px!important;font-size:8.5px!important;}.fd-tech-card-footer>.fd-btn{display:inline-flex;align-items:center;gap:4px;}.fd-tech-card-footer>.fd-btn .fd-ui-icon{width:11px;height:11px;}

/* Technician operational profile */
.fd-tech-profile-hero{position:relative;margin:-4px 0 14px;padding:15px 17px;background:linear-gradient(135deg,#fff 0%,#f7fbff 58%,#f2fbfa 100%);border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);overflow:hidden;}.fd-tech-profile-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-130px;background:radial-gradient(circle,rgba(10,167,160,.11),rgba(10,167,160,0) 68%);pointer-events:none;}
.fd-tech-profile-back{display:inline-flex;align-items:center;gap:4px;margin-bottom:11px;color:#6b7d96;font-size:8.8px;font-weight:700;}.fd-tech-profile-back .fd-ui-icon{width:12px;height:12px;}
.fd-tech-profile-identity{position:relative;z-index:1;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:14px;align-items:center;}.fd-tech-profile-avatar{width:60px;height:60px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#0b4faa,#0aa59d);color:#fff;font-size:18px;font-weight:900;box-shadow:0 12px 28px rgba(13,83,160,.18);}.fd-tech-profile-copy{min-width:0;}.fd-tech-profile-name-row{display:flex;align-items:center;gap:8px;}.fd-tech-profile-name-row h1{margin:0;color:#0c2450;font-size:24px;line-height:1.1;letter-spacing:-.5px;}.fd-tech-profile-copy>p{margin:4px 0 7px;color:#7e8da2;font-size:9.5px;}.fd-tech-profile-contact-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}.fd-tech-profile-contact-row a{display:inline-flex;align-items:center;gap:5px;color:#536b89;font-size:8.5px;font-weight:650;}.fd-tech-profile-contact-row .fd-ui-icon{width:12px;height:12px;color:#0a9892;}.fd-tech-profile-actions{margin:0;display:flex;align-items:center;justify-content:flex-end;}.fd-tech-profile-actions form{margin:0;}.fd-tech-profile-actions .fd-btn{display:inline-flex;align-items:center;gap:5px;}.fd-tech-profile-actions .fd-ui-icon{width:13px;height:13px;}
.fd-tech-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:13px;}.fd-profile-metric{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid var(--fd-border);border-radius:11px;background:#fff;box-shadow:var(--shadow);}.fd-profile-metric>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}.fd-profile-metric>span .fd-ui-icon{width:17px;height:17px;}.fd-profile-metric.is-teal>span{background:#e7f9f7;color:#078f89;}.fd-profile-metric.is-green>span{background:#eaf8f2;color:#0b946d;}.fd-profile-metric.is-orange>span{background:#fff2e5;color:#ea7414;}.fd-profile-metric.is-purple>span{background:#f1edff;color:#7057d4;}.fd-profile-metric.is-red>span{background:#ffecec;color:#db4b50;}.fd-profile-metric div{min-width:0;display:flex;flex-direction:column;}.fd-profile-metric small{color:#8794a7;font-size:8px;}.fd-profile-metric strong{margin:2px 0;color:#223d65;font-size:17px;line-height:1;}.fd-profile-metric em{color:#94a0b0;font-size:7.8px;font-style:normal;}
.fd-tech-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:13px;align-items:start;}.fd-tech-profile-main{display:flex;flex-direction:column;gap:13px;min-width:0;}.fd-tech-profile-side{position:sticky;top:88px;display:flex;flex-direction:column;gap:10px;}
.fd-profile-panel,.fd-profile-side-card{background:#fff;border:1px solid var(--fd-border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;}.fd-profile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-bottom:1px solid var(--line-soft);}.fd-profile-panel-head h2{margin:0;color:#203d65;font-size:13px;}.fd-profile-panel-head p{margin:3px 0 0;color:#8c99aa;font-size:8.6px;}.fd-profile-panel-head .fd-btn{flex:0 0 auto;}
.fd-profile-job-list{display:flex;flex-direction:column;}.fd-profile-job-row{display:grid;grid-template-columns:32px minmax(180px,1.45fr) minmax(90px,.7fr) 50px minmax(82px,.7fr) 15px;gap:9px;align-items:center;padding:9px 12px;border-bottom:1px solid #f0f2f5;transition:background .12s;}.fd-profile-job-row:last-child{border-bottom:0;}.fd-profile-job-row:hover{background:#f9fbfd;}.fd-profile-job-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}.fd-profile-job-icon .fd-ui-icon{width:13px;height:13px;}.fd-profile-job-copy{min-width:0;display:flex;flex-direction:column;}.fd-profile-job-copy strong{color:#345070;font-size:9px;}.fd-profile-job-copy small{margin-top:2px;color:#8d9bad;font-size:7.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-profile-job-date{color:#8491a4;font-size:8px;}.fd-profile-job-row>.fd-ui-icon{width:12px;height:12px;color:#98a5b5;}
.fd-profile-empty{padding:28px;text-align:center;color:#8493a6;}.fd-profile-empty>span{width:40px;height:40px;margin:0 auto 8px;display:grid;place-items:center;border-radius:10px;background:#f1f5f9;color:#7890ae;}.fd-profile-empty>span .fd-ui-icon{width:18px;height:18px;}.fd-profile-empty strong{display:block;color:#425b7d;font-size:10px;}.fd-profile-empty p{margin:4px 0 0;font-size:8.5px;}
.fd-profile-qc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;}.fd-profile-qc-card{padding:10px;border:1px solid #e9edf3;border-radius:9px;background:#fbfcfe;}.fd-profile-qc-card>div{display:flex;align-items:center;gap:8px;margin-bottom:7px;}.fd-profile-qc-card>div>span{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#eaf8f6;color:#0a948e;}.fd-profile-qc-card>div>span .fd-ui-icon{width:14px;height:14px;}.fd-profile-qc-card>div>div{min-width:0;}.fd-profile-qc-card small{display:block;color:#8c99ab;font-size:7.4px;}.fd-profile-qc-card strong{display:block;margin-top:2px;color:#405777;font-size:8.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-profile-qc-card>p{margin:6px 0 0;color:#929dac;font-size:7.6px;}
.fd-profile-side-card{padding:12px 13px;}.fd-profile-side-card h3{margin:1px 0 9px;color:#294665;font-size:11px;}.fd-profile-side-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}.fd-profile-side-head a{color:#1769e8;font-size:7.8px;font-weight:700;}.fd-profile-access-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 0;border-bottom:1px solid #f0f2f5;}.fd-profile-access-row span{color:#8794a6;font-size:8px;}.fd-profile-access-row strong{color:#50637f;font-size:8.2px;text-align:right;}.fd-profile-access-row strong.is-good{color:#0a8f68;}.fd-profile-access-row strong.is-warn{color:#d76b10;}.fd-profile-side-card>.fd-btn{width:100%;margin-top:9px;justify-content:center;}
.fd-profile-course-row{display:grid;grid-template-columns:31px minmax(0,1fr);gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #f0f2f5;}.fd-profile-course-row:last-child{border-bottom:0;}.fd-profile-course-dot{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;background:#eff3f8;color:#7f91a9;}.fd-profile-course-dot .fd-ui-icon{width:13px;height:13px;}.fd-profile-course-dot.is-done{background:#e7f7f0;color:#0d956d;}.fd-profile-course-dot.is-danger{background:#ffeded;color:#d8484d;}.fd-profile-course-row>span:last-child{min-width:0;}.fd-profile-course-row strong{display:block;color:#455d7c;font-size:8.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-profile-course-row small{display:block;margin-top:2px;color:#909cac;font-size:7.4px;}.fd-profile-side-empty{margin:0;color:#8e9bad;font-size:8.4px;line-height:1.5;}.fd-profile-event-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #f0f2f5;}.fd-profile-event-row:last-child{border-bottom:0;}.fd-profile-event-date{width:34px;height:34px;border-radius:8px;background:#eef5ff;display:flex;flex-direction:column;align-items:center;justify-content:center;}.fd-profile-event-date strong{color:#1769e8;font-size:11px;line-height:1;}.fd-profile-event-date small{margin-top:2px;color:#7089ab;font-size:6.8px;text-transform:uppercase;}.fd-profile-event-row>span:last-child strong{display:block;color:#455b79;font-size:8.3px;}.fd-profile-event-row>span:last-child small{display:block;margin-top:2px;color:#8e9bad;font-size:7.3px;}.fd-profile-notes{margin:0;color:#6f7f94;font-size:8.5px;line-height:1.55;}

/* Contact cards */
.fd-contact-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.fd-contact-card{min-width:0;padding:14px;background:#fff;border:1px solid var(--fd-border);border-radius:13px;box-shadow:var(--shadow);}.fd-contact-card.is-pinned{border-color:#d3e3f5;box-shadow:0 8px 24px rgba(20,76,147,.065);}.fd-contact-card.is-archived{opacity:.72;}.fd-contact-card-head{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:10px;align-items:start;}.fd-contact-card-head>div{min-width:0;}.fd-contact-name-row{display:flex;align-items:center;gap:6px;}.fd-contact-name-row h3{margin:0;color:#294566;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-contact-card-head p{margin:3px 0 5px;color:#7f8da1;font-size:8.5px;}.fd-contact-category{display:inline-flex;padding:3px 6px;border-radius:999px;background:#edf5ff;color:#3d6da8;font-size:7.2px;font-weight:750;}.fd-contact-lines{display:flex;flex-direction:column;gap:6px;margin:12px 0 10px;padding:9px;border:1px solid #edf1f5;border-radius:9px;background:#fafbfd;}.fd-contact-lines>a{min-width:0;display:grid;grid-template-columns:29px minmax(0,1fr);gap:8px;align-items:center;}.fd-contact-lines>a>span{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eaf8f6;color:#0b958f;}.fd-contact-lines>a>span .fd-ui-icon{width:13px;height:13px;}.fd-contact-lines>a>div{min-width:0;}.fd-contact-lines small{display:block;color:#929dac;font-size:7.2px;}.fd-contact-lines strong{display:block;margin-top:1px;color:#50627d;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-contact-note{min-height:32px;margin:0;color:#7c899c;font-size:8.2px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}.fd-contact-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid #f0f2f5;}

/* Training library cards */
.fd-training-toolbar{flex-wrap:wrap;}.fd-training-carriers{margin-left:auto;}.fd-training-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}.fd-training-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:start;padding:13px;background:#fff;border:1px solid var(--fd-border);border-radius:12px;box-shadow:var(--shadow);}.fd-training-card.is-pinned:before{content:"";position:absolute;left:-1px;top:12px;bottom:12px;width:3px;border-radius:4px;background:#0aa7a0;}.fd-training-card.is-archived{opacity:.7;}.fd-training-card-icon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#edf5ff,#e6f9f7);color:#1769e8;}.fd-training-card-icon .fd-ui-icon{width:19px;height:19px;}.fd-training-card-body{min-width:0;}.fd-training-card-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-bottom:5px;}.fd-training-card-badges .fd-status{font-size:7.1px!important;padding:3px 5px!important;}.fd-training-card h3{margin:0;color:#294665;font-size:11px;}.fd-training-card p{margin:4px 0 8px;color:#8592a4;font-size:8.3px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}.fd-training-card-meta{display:flex;align-items:center;gap:12px;color:#9aa5b3;font-size:7.4px;}.fd-training-card-meta span{display:inline-flex;align-items:center;gap:4px;}.fd-training-card-meta .fd-ui-icon{width:10px;height:10px;}.fd-training-card-actions{display:flex;align-items:center;gap:5px;}.fd-training-card-actions .fd-btn{display:inline-flex;align-items:center;gap:4px;}.fd-training-card-actions .fd-ui-icon{width:11px;height:11px;}

/* Education command center */
.fd-education-course-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-bottom:13px;}.fd-education-course-card{padding:12px 13px;background:#fff;border:1px solid var(--fd-border);border-radius:11px;box-shadow:var(--shadow);}.fd-education-course-card.has-attention{border-color:#efd5b8;}.fd-education-course-head{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;}.fd-education-course-head>span{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#f0edff;color:#6f57d2;}.fd-education-course-head>span .fd-ui-icon{width:15px;height:15px;}.fd-education-course-head small{display:block;color:#8996a8;font-size:7.2px;text-transform:uppercase;letter-spacing:.04em;}.fd-education-course-head h3{margin:2px 0 0;color:#405775;font-size:9.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-education-progress{display:grid;grid-template-columns:minmax(0,1fr) 35px;gap:8px;align-items:center;margin:9px 0;}.fd-education-progress>span,.fd-education-tech-progress>span{height:6px;border-radius:999px;background:#edf1f5;overflow:hidden;}.fd-education-progress i,.fd-education-tech-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#1769e8,#0aa7a0);}.fd-education-progress strong{color:#45617f;font-size:8.5px;text-align:right;}.fd-education-course-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding-top:8px;border-top:1px solid #f0f2f5;}.fd-education-course-stats span{padding:0 7px;border-right:1px solid #edf1f5;}.fd-education-course-stats span:first-child{padding-left:0;}.fd-education-course-stats span:last-child{border-right:0;}.fd-education-course-stats small{display:block;color:#949faf;font-size:6.9px;}.fd-education-course-stats strong{display:block;margin-top:2px;color:#405776;font-size:10px;}.fd-education-course-stats .is-danger strong{color:#d54d52;}
.fd-education-roster-panel{overflow:hidden;}.fd-education-search{max-width:320px;}.fd-education-tech-list{display:flex;flex-direction:column;}.fd-education-tech-row{position:relative;display:grid;grid-template-columns:210px 120px minmax(320px,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #f0f2f5;}.fd-education-tech-row:last-child{border-bottom:0;}.fd-education-tech-row:hover{background:#fbfcfe;}.fd-education-tech-identity{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;}.fd-education-mini-avatar{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(145deg,#165fca,#0ba69e);color:#fff;font-size:9px;font-weight:850;}.fd-education-tech-identity strong{display:block;color:#3c5675;font-size:8.8px;}.fd-education-tech-identity small{display:block;margin-top:2px;color:#909cad;font-size:7.2px;}.fd-education-tech-progress{display:grid;grid-template-columns:1fr;gap:3px;}.fd-education-tech-progress small{color:#8f9bad;font-size:7px;}.fd-education-course-pills{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:2px 0;}.fd-education-course-pill{min-width:155px;max-width:190px;display:grid;grid-template-columns:27px minmax(0,1fr) 23px;gap:6px;align-items:center;padding:6px;border:1px solid #e8edf3;border-radius:8px;background:#f9fafc;}.fd-education-course-pill>span{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#eef2f6;color:#8393a8;}.fd-education-course-pill>span .fd-ui-icon{width:12px;height:12px;}.fd-education-course-pill>div{min-width:0;}.fd-education-course-pill strong{display:block;color:#65758d;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-education-course-pill small{display:block;margin-top:1px;color:#97a2b0;font-size:6.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-education-course-pill form{margin:0;}.fd-education-course-pill button{width:22px;height:22px;border:0;border-radius:6px;background:#e9eef4;color:#6d7d92;font-size:13px;cursor:pointer;}.fd-education-course-pill.is-passed{border-color:#d6ecdf;background:#f6fbf8;}.fd-education-course-pill.is-passed>span{background:#e3f6ec;color:#0d956d;}.fd-education-course-pill.is-passed strong{color:#3a765e;}.fd-education-course-pill.is-progress{border-color:#d9e6f6;background:#f6f9fd;}.fd-education-course-pill.is-progress>span{background:#eaf2ff;color:#1769e8;}.fd-education-course-pill.is-danger{border-color:#f0cccc;background:#fff8f8;}.fd-education-course-pill.is-danger>span{background:#ffe8e8;color:#d5474d;}.fd-education-course-pill.is-danger strong{color:#a34d51;}.fd-education-attention-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:999px;background:#fff0e8;color:#cb6615;font-size:7px;font-weight:750;white-space:nowrap;}.fd-education-attention-badge .fd-ui-icon{width:10px;height:10px;}

/* Modern operations calendar */
.fd-calendar-shell{width:100%;}.fd-calendar-metrics{margin-bottom:10px;}.fd-calendar-metric{padding:10px 12px;}.fd-calendar-metric>span{width:36px;height:36px;border-radius:9px;}.fd-calendar-metric>span .fd-ui-icon{width:15px;height:15px;}.fd-calendar-metric strong{font-size:17px;}.fd-calendar-panel{background:#fff;border:1px solid var(--fd-border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;}.fd-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px;border-bottom:1px solid var(--line-soft);}.fd-calendar-month-nav{display:flex;align-items:center;gap:7px;}.fd-calendar-month-nav>div{min-width:110px;text-align:center;display:flex;flex-direction:column;}.fd-calendar-month-nav small{color:#929eae;font-size:6.8px;text-transform:uppercase;letter-spacing:.05em;}.fd-calendar-month-nav strong{margin-top:1px;color:#344f70;font-size:10px;}.fd-calendar-nav-btn{width:28px;height:28px;border:1px solid #dfe5ed;border-radius:8px;display:grid;place-items:center;color:#5e7491;background:#fff;}.fd-calendar-nav-btn .fd-ui-icon{width:12px;height:12px;}.fd-calendar-today{padding:7px 9px;border:1px solid #dfe5ed;border-radius:8px;color:#1769e8;font-size:8px;font-weight:700;background:#fff;}.fd-calendar-legend{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;}.fd-calendar-legend span{display:inline-flex;align-items:center;gap:4px;color:#8794a6;font-size:7.2px;}.fd-calendar-legend i{width:7px;height:7px;border-radius:2px;}
.fd-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e8edf3;width:100%;overflow:hidden;}.fd-cal-dow{background:#f7f9fb;text-align:center;font-size:7.4px;font-weight:800;color:#748399;padding:5px 3px;text-transform:uppercase;letter-spacing:.07em;}.fd-cal-day{background:#fff;min-width:0;overflow:hidden;padding:5px;cursor:pointer;transition:background .1s;position:relative;}.fd-cal-day:hover{background:#fbfcfe;}.fd-cal-day.is-today{background:#f3f8ff;box-shadow:inset 0 0 0 1px #d5e5fb;}.fd-cal-day.is-other-month{background:#fafbfc;cursor:default;}.fd-cal-day.is-other-month .fd-cal-day-num{color:#b5bfcc;}.fd-cal-day-num{font-size:8.3px;font-weight:750;color:#566983;display:inline-grid;place-items:center;width:20px;height:20px;margin-bottom:2px;}.fd-cal-day.is-today .fd-cal-day-num{background:#1769e8;color:#fff;border-radius:50%;}.fd-cal-event{position:relative;font-size:6.9px;font-weight:700;padding:3px 4px 3px 7px;border-radius:5px;color:#40546f;margin-bottom:2px;cursor:pointer;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:color-mix(in srgb,var(--event-color) 12%,white);border:1px solid color-mix(in srgb,var(--event-color) 25%,white);}.fd-cal-event:before{content:"";position:absolute;left:2px;top:3px;bottom:3px;width:2px;border-radius:3px;background:var(--event-color);}.fd-cal-event-more{font-size:6.8px;color:#55779f;padding:2px 4px;cursor:pointer;font-weight:700;}
.fd-cal-modal-bg{display:none;position:fixed;inset:0;background:rgba(3,21,49,.48);backdrop-filter:blur(2px);z-index:1000;align-items:center;justify-content:center;padding:18px;}.fd-cal-modal-bg.is-open{display:flex;}.fd-cal-modal{background:#fff;border:1px solid #dde4ed;border-radius:13px;width:100%;max-width:470px;max-height:90vh;overflow-y:auto;box-shadow:0 24px 70px rgba(3,22,54,.24);}.fd-cal-modal-head{padding:14px 16px 11px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;}.fd-cal-modal-head h2{font-size:12px;color:#284665;font-weight:800;margin:0;}.fd-cal-modal-close{background:#f3f6f9;border:0;width:28px;height:28px;border-radius:8px;font-size:18px;cursor:pointer;color:#687990;line-height:1;}.fd-cal-modal-body{padding:14px 16px;}.fd-cal-modal-body .fd-field{margin-bottom:10px;}.fd-cal-modal-body label{display:block;font-size:8.4px;font-weight:700;color:#60718a;margin-bottom:4px;}.fd-cal-modal-body input,.fd-cal-modal-body select,.fd-cal-modal-body textarea{width:100%;font-size:9px!important;padding:7px 8px!important;border:1px solid #dce3ec;border-radius:8px;font-family:inherit;}.fd-cal-modal-body textarea{min-height:70px;resize:vertical;}.fd-cal-modal-footer{padding:10px 16px 14px;display:flex;gap:7px;border-top:1px solid #edf1f5;align-items:center;}.fd-cal-modal-footer .fd-btn-primary{flex:1;text-align:center;justify-content:center;}.fd-cal-delete{margin-left:auto;flex:none;}

/* Sidebar attention badges */
.fd-sidebar-badge{margin-left:auto;min-width:20px;height:19px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);color:#fff;font-size:8px;font-weight:850;line-height:1;}.fd-sidebar-item:not(.is-active) .fd-sidebar-badge{background:#1b65c8;color:#fff;}.fd-sidebar-badge.is-warn{background:#e86f18!important;}.fd-sidebar-badge.is-danger{background:#d94b50!important;}

/* Wider global search on roomy screens */
@media(min-width:1200px){.fd-global-search{width:min(650px,55vw);}}

@media(max-width:1200px){
  .fd-tech-card-grid,.fd-contact-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fd-education-tech-row{grid-template-columns:190px 105px minmax(260px,1fr);}.fd-education-attention-badge{grid-column:1/-1;justify-self:start;}
}
@media(max-width:980px){
  .fd-people-metrics,.fd-calendar-metrics,.fd-tech-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fd-tech-profile-layout{grid-template-columns:1fr;}.fd-tech-profile-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.fd-tech-profile-side>.fd-profile-side-card:last-child:nth-child(odd){grid-column:1/-1;}
  .fd-training-card-grid{grid-template-columns:1fr;}.fd-education-tech-row{grid-template-columns:180px 100px minmax(240px,1fr);overflow-x:auto;}
  body.fd-calendar-page{overflow:auto;}body.fd-calendar-page .fd-admin-main{overflow:visible;height:auto;display:block;}body.fd-calendar-page .fd-calendar-shell{display:block;}body.fd-calendar-page .fd-calendar-panel{display:block;}.fd-cal-grid{min-height:640px;}
}
@media(max-width:760px){
  .fd-people-hero,.fd-calendar-hero{display:block;}.fd-people-hero .fd-actions,.fd-calendar-hero .fd-actions{margin-top:10px;justify-content:flex-start;}.fd-people-hero h1,.fd-calendar-hero h1{font-size:24px;}
  .fd-people-toolbar,.fd-contacts-toolbar,.fd-training-toolbar{display:grid;grid-template-columns:1fr 1fr;}.fd-people-search{grid-column:1/-1;}.fd-people-carrier-tabs,.fd-training-carriers{grid-column:1/-1;width:100%;}.fd-people-carrier-tabs a,.fd-training-carriers a{flex:1;justify-content:center;}.fd-people-status-tabs{justify-self:end;}
  .fd-tech-card-grid,.fd-contact-card-grid{grid-template-columns:1fr;}.fd-tech-profile-identity{grid-template-columns:54px minmax(0,1fr);}.fd-tech-profile-avatar{width:52px;height:52px;border-radius:14px;}.fd-tech-profile-actions{grid-column:1/-1;justify-content:flex-start;}.fd-profile-job-row{grid-template-columns:30px minmax(0,1fr) auto 12px;}.fd-profile-job-row>.fd-status:nth-of-type(1),.fd-profile-job-date{display:none;}.fd-profile-qc-grid{grid-template-columns:1fr;}.fd-tech-profile-side{display:flex;}
  .fd-training-card{grid-template-columns:42px minmax(0,1fr);}.fd-training-card-actions{grid-column:1/-1;justify-content:flex-end;}.fd-education-tech-row{display:block;}.fd-education-tech-progress{margin:8px 0;}.fd-education-course-pills{padding-bottom:4px;}.fd-education-attention-badge{margin-top:7px;}
  .fd-calendar-toolbar{align-items:flex-start;flex-direction:column;}.fd-calendar-legend{justify-content:flex-start;}.fd-cal-grid{min-width:720px;}.fd-calendar-panel{overflow-x:auto;}
}
@media(max-width:520px){
  .fd-people-metrics,.fd-calendar-metrics,.fd-tech-profile-metrics{grid-template-columns:1fr 1fr;gap:8px;}.fd-people-metric,.fd-calendar-metric,.fd-profile-metric{padding:10px;gap:8px;}.fd-people-metric>span,.fd-calendar-metric>span{width:36px;height:36px;}.fd-people-metric strong,.fd-calendar-metric strong{font-size:18px;}.fd-profile-metric>span{width:34px;height:34px;}.fd-profile-metric strong{font-size:14px;}
  .fd-people-toolbar,.fd-contacts-toolbar,.fd-training-toolbar{grid-template-columns:1fr;}.fd-people-search,.fd-people-toolbar select,.fd-contacts-toolbar select,.fd-training-toolbar select{grid-column:auto;width:100%;min-width:0;}.fd-people-status-tabs{justify-self:stretch;}.fd-people-status-tabs a{flex:1;text-align:center;}.fd-tech-card-info{grid-template-columns:1fr;}.fd-tech-card-footer{align-items:stretch;flex-direction:column;}.fd-tech-region-form{max-width:none;}.fd-tech-profile-contact-row{align-items:flex-start;flex-direction:column;gap:5px;}.fd-tech-profile-actions{display:grid;grid-template-columns:1fr;}.fd-tech-profile-actions .fd-btn{width:100%;justify-content:center;}.fd-tech-profile-side{display:flex;}.fd-profile-panel-head{align-items:flex-start;flex-direction:column;}.fd-profile-panel-head .fd-btn{width:100%;justify-content:center;}.fd-contact-card-grid,.fd-training-card-grid{gap:8px;}
}

/* ======================================================================
   FieldDock v1.4 — Releases, Surveys, Access, System & Authentication
   ====================================================================== */
.fd-page-command-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px;}
.fd-page-command-head>div:first-child{min-width:0;}
.fd-page-command-head h1{margin:3px 0 0;color:#071e4a;font-size:27px;line-height:1.1;letter-spacing:-.65px;font-weight:850;}
.fd-page-command-head p{margin:7px 0 0;color:#75849a;font-size:11px;line-height:1.5;max-width:780px;}
.fd-page-command-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0;}
.fd-page-command-actions .fd-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;white-space:nowrap;}
.fd-page-command-actions .fd-ui-icon{width:15px;height:15px;}
.fd-section-kicker{display:block;color:#078f89;font-size:8px;line-height:1;text-transform:uppercase;letter-spacing:.09em;font-weight:850;}

.fd-command-panel-head .fd-section-kicker{margin-bottom:4px;}
.fd-command-panel-head .fd-btn{display:inline-flex;align-items:center;gap:5px;}
.fd-command-filter{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:8px;align-items:end;padding:12px 14px;background:#fbfcfe;border-bottom:1px solid var(--line-soft);}
.fd-command-filter>select{height:38px;min-width:145px;margin:0;}
.fd-command-search{height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dbe2ec;border-radius:9px;background:#fff;color:#8b98aa;}
.fd-command-search:focus-within{border-color:#77a8e6;box-shadow:0 0 0 3px rgba(23,105,232,.08);}
.fd-command-search .fd-ui-icon{width:15px;height:15px;flex:0 0 auto;}
.fd-command-search input{height:auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;width:100%;font-size:10.5px!important;}
.fd-command-tabs{display:flex;align-items:center;gap:0;overflow-x:auto;border-bottom:1px solid var(--line-soft);background:#fff;}
.fd-command-tabs a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-right:1px solid #edf1f5;color:#65758d;font-size:9.3px;font-weight:700;white-space:nowrap;}
.fd-command-tabs a:hover{background:#fbfcfe;color:#18365f;}
.fd-command-tabs a.is-active{color:#1769e8;box-shadow:inset 0 -2px #1769e8;}
.fd-command-tabs b,.fd-mini-segmented b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#edf3ff;color:#1769e8;font-size:7.5px;}
.fd-mini-segmented{display:inline-flex;padding:3px;background:#f3f6fa;border:1px solid #e2e7ef;border-radius:9px;}
.fd-mini-segmented a{display:inline-flex;align-items:center;gap:4px;padding:6px 8px;border-radius:6px;color:#6d7b91;font-size:8px;font-weight:750;}
.fd-mini-segmented a.is-active{background:#fff;color:#1769e8;box-shadow:0 1px 4px rgba(15,32,62,.08);}
.fd-icon-button{width:34px;height:34px;padding:0;border:1px solid #dbe2ec;border-radius:8px;background:#fff;color:#687991;display:inline-grid;place-items:center;cursor:pointer;}
.fd-icon-button:hover{background:#f7f9fc;color:#17355f;}
.fd-icon-button.is-danger{border-color:#f1c7c9;color:#d94a50;background:#fffafa;}
.fd-icon-button .fd-ui-icon{width:14px;height:14px;}
.fd-command-empty{min-height:150px;justify-content:center;flex-direction:column;text-align:center;gap:7px;}
.fd-command-empty>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf5ff;color:#2772df;}
.fd-command-empty>span .fd-ui-icon{width:18px;height:18px;}
.fd-command-empty h3{margin:3px 0 0;color:#18365f;font-size:12px;}
.fd-command-empty p{margin:0;}
.fd-command-empty.is-compact{min-height:110px;padding:16px;}
.fd-command-empty.is-compact>span{width:34px;height:34px;border-radius:9px;}

/* Release Center */
.fd-release-metrics{grid-template-columns:repeat(4,minmax(0,1fr));}
.fd-release-panel{margin-top:0;}
.fd-release-tabs{padding-left:1px;}
.fd-release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:12px;background:#f9fbfd;}
.fd-release-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e0e6ef;border-radius:11px;padding:13px;box-shadow:0 2px 8px rgba(15,36,70,.035);}
.fd-release-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#67809f;}
.fd-release-card.is-awaiting:before{background:#f08a21;}.fd-release-card.is-complete:before{background:#0c9b70;}
.fd-release-card-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:start;}
.fd-release-card-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}
.fd-release-card.is-awaiting .fd-release-card-icon{background:#fff2e5;color:#ec7715;}.fd-release-card.is-complete .fd-release-card-icon{background:#eaf8f2;color:#0b956d;}
.fd-release-card-icon .fd-ui-icon{width:16px;height:16px;}
.fd-release-card-title{min-width:0;}.fd-release-card-title small{display:block;margin-bottom:3px;color:#98a3b2;font-size:7.5px;}.fd-release-card-title h3{margin:0;color:#17345e;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-release-card-title p{margin:3px 0 0;color:#75849a;font-size:8.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-release-facts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:11px 0 10px;padding:8px;background:#f8fafc;border:1px solid #edf1f5;border-radius:8px;}.fd-release-facts div{min-width:0;display:flex;flex-direction:column;}.fd-release-facts span{color:#9aa5b4;font-size:7px;text-transform:uppercase;letter-spacing:.04em;font-weight:700;}.fd-release-facts strong{margin-top:3px;color:#405775;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-release-card-actions{display:flex;align-items:center;gap:6px;}.fd-release-card-actions form{margin:0;}.fd-release-card-actions .fd-btn{height:34px;min-height:34px;display:inline-flex;align-items:center;gap:5px;font-size:8.5px;}.fd-release-card-actions .fd-ui-icon{width:12px;height:12px;}.fd-release-card-actions .fd-icon-button{margin-left:auto;}

/* Survey Command Center */
.fd-survey-metrics{grid-template-columns:repeat(4,minmax(0,1fr));}
.fd-survey-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr);gap:12px;margin:0 0 12px;align-items:start;}
.fd-survey-rank-list{display:flex;flex-direction:column;}
.fd-survey-rank-row{display:grid;grid-template-columns:30px minmax(150px,1fr) minmax(150px,.9fr) 55px;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #edf1f5;}.fd-survey-rank-row:last-child{border-bottom:0;}
.fd-survey-rank{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#f1f4f8;color:#6b7b91;font-size:8px;font-weight:850;}.fd-survey-rank.is-top{background:linear-gradient(145deg,#1769e8,#0aa7a0);color:#fff;}
.fd-survey-tech{min-width:0;display:flex;flex-direction:column;}.fd-survey-tech strong{color:#203b63;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-survey-tech small{margin-top:2px;color:#91a0b2;font-size:7.2px;}
.fd-survey-score-bar{display:grid;grid-template-columns:minmax(70px,1fr) 39px;gap:6px;align-items:center;}.fd-survey-score-bar>span{height:7px;border-radius:99px;background:#edf1f5;overflow:hidden;}.fd-survey-score-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0a9e87,#13b47d);}.fd-survey-score-bar small{color:#344c6c;font-size:7.5px;font-weight:750;text-align:right;}
.fd-survey-low{justify-self:end;padding:4px 6px;border-radius:99px;background:#f2f5f8;color:#8a96a7;font-size:6.8px;font-weight:750;}.fd-survey-low.has-low{background:#fff0ef;color:#d74a50;}
.fd-open-survey-links{display:flex;flex-direction:column;}.fd-open-survey-links>a{display:grid;grid-template-columns:29px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f5;}.fd-open-survey-links>a:last-child{border-bottom:0;}.fd-open-survey-links>a:hover{background:#fbfcfe;}.fd-open-survey-links>a>span{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}.fd-open-survey-links .fd-ui-icon{width:12px;height:12px;}.fd-open-survey-links div{min-width:0;display:flex;flex-direction:column;}.fd-open-survey-links strong{color:#263f63;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-open-survey-links small{margin-top:2px;color:#96a2b2;font-size:6.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-open-survey-links em{color:#8492a5;font-size:7px;font-style:normal;}
.fd-survey-response-list{display:flex;flex-direction:column;}.fd-survey-response-row{display:grid;grid-template-columns:62px minmax(200px,1fr) 68px auto;gap:10px;align-items:center;padding:10px 13px;border-bottom:1px solid #edf1f5;}.fd-survey-response-row:last-child{border-bottom:0;}.fd-survey-response-row.is-low{background:#fffafa;}.fd-survey-response-score{display:flex;flex-direction:column;align-items:flex-start;}.fd-survey-response-score strong{color:#0b956d;font-size:11px;}.fd-survey-response-row.is-low .fd-survey-response-score strong{color:#d94b51;}.fd-survey-response-score small{color:#9ca7b5;font-size:6.6px;margin-top:1px;}.fd-survey-response-main{min-width:0;display:flex;flex-direction:column;}.fd-survey-response-main strong{color:#243e65;font-size:9px;}.fd-survey-response-main span{margin-top:2px;color:#8492a5;font-size:7.3px;}.fd-survey-response-main p{margin:4px 0 0;color:#60728b;font-size:7.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-survey-response-date{display:flex;flex-direction:column;text-align:right;}.fd-survey-response-date strong{color:#526681;font-size:8px;}.fd-survey-response-date small{color:#9aa4b2;font-size:6.8px;margin-top:1px;}.fd-survey-response-actions{display:flex;align-items:center;gap:5px;}.fd-survey-response-actions form{margin:0;}.fd-survey-response-actions .fd-btn{height:31px;min-height:31px;font-size:8px;}

/* Property Access Vault */
.fd-access-metrics{grid-template-columns:repeat(3,minmax(0,1fr));}
.fd-access-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;background:#f9fbfd;}
.fd-access-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0e6ef;border-radius:11px;padding:13px;box-shadow:0 2px 8px rgba(15,36,70,.035);}
.fd-access-card-head{display:flex;align-items:center;gap:9px;}.fd-access-card-head>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf9f7;color:#088e87;}.fd-access-card-head>span .fd-ui-icon{width:15px;height:15px;}.fd-access-card-head div{min-width:0;}.fd-access-card-head small{display:block;color:#94a0b0;font-size:6.6px;text-transform:uppercase;letter-spacing:.06em;font-weight:750;}.fd-access-card-head h3{margin:3px 0 0;color:#19375f;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-access-code-list{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 9px;}.fd-access-code-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid #dce5ef;border-radius:8px;background:#f8fbff;color:#173d6c;cursor:pointer;}.fd-access-code-pill:hover{border-color:#98bfeb;background:#f3f8ff;}.fd-access-code-pill code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:850;}.fd-access-code-pill small{color:#8a99ac;font-size:6.2px;font-weight:700;}.fd-access-code-empty{color:#9ba6b5;font-size:8px;}
.fd-access-note{min-height:34px;margin:0 0 11px;color:#65768e;font-size:8px;line-height:1.45;}.fd-access-note.is-empty{color:#a1aab8;font-style:italic;}.fd-access-card-actions{margin-top:auto;display:flex;align-items:center;gap:5px;}.fd-access-card-actions form{margin:0;}.fd-access-card-actions .fd-btn{height:32px;min-height:32px;display:inline-flex;align-items:center;gap:4px;font-size:7.8px;}.fd-access-card-actions .fd-ui-icon{width:11px;height:11px;}.fd-access-card-actions .fd-icon-button{margin-left:auto;width:32px;height:32px;}

/* Settings */
.fd-settings-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px;}
.fd-settings-overview-card{min-width:0;display:flex;align-items:center;gap:10px;padding:12px 13px;background:#fff;border:1px solid var(--fd-border);border-radius:11px;box-shadow:var(--shadow);transition:transform .15s ease,border-color .15s ease;}.fd-settings-overview-card:hover{transform:translateY(-1px);border-color:#cfd9e7;}.fd-settings-overview-card>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;background:#edf5ff;color:#1769e8;}.fd-settings-overview-card>span .fd-ui-icon{width:15px;height:15px;}.fd-settings-overview-card>div{min-width:0;display:flex;flex-direction:column;}.fd-settings-overview-card small{color:#8996a8;font-size:7.5px;}.fd-settings-overview-card strong{margin:2px 0;color:#243f66;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-settings-overview-card em{color:#99a4b3;font-size:6.7px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-settings-overview-card.is-green>span{background:#eaf8f2;color:#0b956d}.fd-settings-overview-card.is-danger>span{background:#ffeded;color:#d84a50}.fd-settings-overview-card.is-teal>span{background:#e8f9f7;color:#078f89}.fd-settings-overview-card.is-purple>span{background:#f1edff;color:#7057d4}.fd-settings-overview-card.is-muted>span{background:#f1f3f6;color:#7f8c9d}
.fd-settings-jump{position:sticky;top:84px;z-index:20;display:flex;align-items:center;gap:3px;padding:5px;margin-bottom:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid var(--fd-border);border-radius:10px;box-shadow:var(--shadow);overflow-x:auto;}.fd-settings-jump a{padding:7px 9px;border-radius:7px;color:#65768d;font-size:7.8px;font-weight:750;white-space:nowrap;}.fd-settings-jump a:hover{background:#eef7f7;color:#087f79;}.fd-settings-anchor{scroll-margin-top:135px;}
.fd-settings-card{scroll-margin-top:135px;padding:16px 17px!important;}.fd-settings-card>h2{margin:0 0 5px!important;color:#18355e!important;font-size:14px!important;}.fd-settings-card>.fd-help{font-size:9px!important;line-height:1.5;max-width:1000px;}.fd-settings-card-head{display:flex;align-items:center;gap:9px;margin-bottom:7px;}.fd-settings-card-head>span{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#edf5ff;color:#1769e8;}.fd-settings-card-head>span .fd-ui-icon{width:14px;height:14px;}.fd-settings-card-head small{display:block;color:#0a948e;font-size:6.6px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;}.fd-settings-card-head h2{margin:2px 0 0!important;}.fd-settings-card .fd-field label,.fd-settings-card>label{font-size:8px;}.fd-settings-card input,.fd-settings-card select,.fd-settings-card textarea{font-size:9px!important;}.fd-settings-card .fd-valuebox{font-size:9px;min-height:36px;display:flex;align-items:center;}.fd-settings-card .fd-btn{min-height:34px;height:auto;font-size:8px;}.fd-settings-card .fd-admin-field label{font-size:7px;}.fd-settings-card .fd-table-wrap{border-radius:9px;overflow:auto;}.fd-settings-card table th{font-size:7px!important;}.fd-settings-card table td{font-size:8px!important;}.fd-settings-card code{font-size:.9em;}

/* Diagnostics */
.fd-diagnostic-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px;}.fd-diagnostic-stat{display:flex;align-items:center;gap:10px;padding:12px 13px;background:#fff;border:1px solid var(--fd-border);border-radius:11px;box-shadow:var(--shadow);}.fd-diagnostic-stat>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;background:#edf5ff;color:#1769e8;}.fd-diagnostic-stat>span .fd-ui-icon{width:15px;height:15px;}.fd-diagnostic-stat div{min-width:0;display:flex;flex-direction:column;}.fd-diagnostic-stat small{font-size:7px;color:#8996a8;}.fd-diagnostic-stat strong{margin:2px 0;color:#233f66;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-diagnostic-stat em{font-size:6.6px;color:#9aa5b4;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fd-diagnostic-stat.is-green>span{background:#eaf8f2;color:#0b956d}.fd-diagnostic-stat.is-red>span{background:#ffeded;color:#d84a50}.fd-diagnostic-stat.is-teal>span{background:#e8f9f7;color:#078f89}.fd-diagnostic-stat.is-orange>span{background:#fff2e5;color:#e77816}.fd-diagnostic-stat.is-muted>span{background:#f1f3f6;color:#8190a3}
.fd-diagnostic-card{scroll-margin-top:135px;padding:15px 16px!important;}.fd-diagnostic-card h2{margin:0 0 7px!important;color:#18355e!important;font-size:13px!important;}.fd-diagnostic-card .fd-help{font-size:8.5px!important;line-height:1.45;}.fd-diagnostic-card table{border-collapse:separate;border-spacing:0;width:100%;}.fd-diagnostic-card table td{padding:8px 9px!important;font-size:8px!important;border-bottom:1px solid #edf1f5!important;}.fd-diagnostic-card table tr:last-child td{border-bottom:0!important;}.fd-diagnostic-card table td:first-child{width:32%;color:#64758d;font-weight:700;}.fd-diagnostic-card code{font-size:7.5px;color:#314a69;word-break:break-word;}.fd-diagnostic-jump{top:84px;}

/* Authentication */
.fd-auth-body{min-height:100vh;background:#f4f7fb!important;font-family:Inter,Arial,sans-serif!important;overflow-x:hidden;}.fd-auth-body>.fd-topbar,.fd-auth-body>.fd-footer{display:none!important;}.fd-auth-body>.fd-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:100vh;}.fd-auth-direct-main{width:100%;min-height:100vh;}.fd-auth-shell{width:100%;min-height:100vh;display:grid;grid-template-columns:minmax(380px,.96fr) minmax(430px,1.04fr);}
.fd-auth-brand-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:42px 52px;background:linear-gradient(150deg,#031b48 0%,#062b68 52%,#07508a 100%);color:#fff;}.fd-auth-brand-panel:before{content:"";position:absolute;right:-130px;top:-150px;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,rgba(8,190,179,.28),rgba(8,190,179,0) 68%);}.fd-auth-brand-panel:after{content:"";position:absolute;left:-150px;bottom:-210px;width:470px;height:470px;border-radius:50%;background:radial-gradient(circle,rgba(37,112,235,.25),rgba(37,112,235,0) 68%);}.fd-auth-logo{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:220px;height:70px;padding:8px 13px;background:#fff;border-radius:13px;box-shadow:0 14px 35px rgba(0,13,38,.28);}.fd-auth-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain;}.fd-auth-brand-copy{position:relative;z-index:1;margin:auto 0;max-width:560px;}.fd-auth-brand-copy .fd-section-kicker{color:#58d4cc;font-size:9px;}.fd-auth-brand-copy h1{margin:12px 0 14px;color:#fff;font-size:42px;line-height:1.05;letter-spacing:-1.3px;font-weight:850;}.fd-auth-brand-copy p{margin:0;color:#c3d4ec;font-size:13px;line-height:1.65;max-width:500px;}.fd-auth-feature-list{display:flex;flex-direction:column;gap:10px;margin-top:27px;}.fd-auth-feature-list span{display:flex;align-items:center;gap:9px;color:#e4edf9;font-size:10.5px;font-weight:650;}.fd-auth-feature-list .fd-ui-icon{width:16px;height:16px;color:#5ad4cd;}.fd-auth-brand-foot{position:relative;z-index:1;color:#819fc9;font-size:8.5px;letter-spacing:.02em;}
.fd-auth-form-panel{display:flex;align-items:center;justify-content:center;padding:48px 58px;background:linear-gradient(145deg,#fff 0%,#fbfdff 100%);}.fd-auth-form-wrap{width:min(430px,100%);}.fd-auth-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;margin-bottom:20px;background:linear-gradient(145deg,#1769e8,#0c4ca8);color:#fff;box-shadow:0 11px 25px rgba(23,105,232,.18);}.fd-auth-icon.is-teal{background:linear-gradient(145deg,#078f89,#0ab4a9);box-shadow:0 11px 25px rgba(10,167,160,.18);}.fd-auth-icon.is-warn{background:linear-gradient(145deg,#ed7616,#ff9b31);box-shadow:0 11px 25px rgba(237,118,22,.17);}.fd-auth-icon .fd-ui-icon{width:21px;height:21px;}.fd-auth-form-wrap>.fd-section-kicker{font-size:8.5px;}.fd-auth-form-wrap h2{margin:6px 0 0;color:#082351;font-size:30px;letter-spacing:-.7px;}.fd-auth-subtitle{margin:8px 0 24px;color:#78869a;font-size:11px;line-height:1.5;}.fd-auth-form{display:flex;flex-direction:column;gap:14px;}.fd-auth-form .fd-field{margin:0;}.fd-auth-form label{margin-bottom:6px;color:#314866;font-size:9px;font-weight:750;}.fd-auth-form input{height:45px!important;border:1px solid #d8e1ec!important;border-radius:10px!important;background:#fff!important;font-size:11px!important;padding:0 13px!important;box-shadow:0 1px 2px rgba(14,31,59,.02)!important;}.fd-auth-form input:focus{border-color:#76a7e5!important;box-shadow:0 0 0 3px rgba(23,105,232,.09)!important;outline:0;}.fd-auth-submit{width:100%;min-height:45px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin-top:3px;border-radius:10px!important;font-size:10.5px!important;background:linear-gradient(135deg,#0aa7a0,#078f8c)!important;border-color:#078f8c!important;}.fd-auth-submit .fd-ui-icon{width:14px;height:14px;}.fd-auth-help{margin:16px 0 0;color:#8794a6;font-size:8.5px;line-height:1.5;text-align:center;}.fd-auth-switch{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:22px;padding-top:18px;border-top:1px solid #e8edf3;color:#8c98a8;font-size:8.5px;}.fd-auth-switch a{color:#0b8d87;font-weight:750;}.fd-auth-form-wrap>.fd-alert{margin:0 0 16px;font-size:9px;}.fd-auth-form .fd-valuebox{min-height:43px;display:flex;align-items:center;border-radius:9px;background:#f5f8fb;font-size:10px;}
.fd-auth-choice-wrap{width:min(480px,100%);}.fd-auth-choice-card{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:14px;margin-top:10px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(14,31,59,.035);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;}.fd-auth-choice-card:hover{transform:translateY(-2px);border-color:#a9c5e8;box-shadow:0 10px 24px rgba(15,45,88,.08);}.fd-auth-choice-card>span{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#eaf9f7;color:#078f89;}.fd-auth-choice-card.is-admin>span{background:#edf5ff;color:#1769e8;}.fd-auth-choice-card>span .fd-ui-icon{width:20px;height:20px;}.fd-auth-choice-card>div{display:flex;flex-direction:column;min-width:0;}.fd-auth-choice-card strong{color:#18375f;font-size:11px;}.fd-auth-choice-card small{margin-top:3px;color:#8c98a9;font-size:8px;}.fd-auth-choice-card>.fd-ui-icon{width:16px;height:16px;color:#91a0b3;}

@media(max-width:1100px){
  .fd-release-grid{grid-template-columns:1fr;}.fd-access-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.fd-survey-layout{grid-template-columns:1fr;}.fd-survey-side{display:grid;grid-template-columns:1fr;}.fd-settings-overview,.fd-diagnostic-overview{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fd-auth-shell{grid-template-columns:minmax(330px,.85fr) minmax(420px,1.15fr);}.fd-auth-brand-panel{padding:36px 38px;}.fd-auth-brand-copy h1{font-size:35px;}.fd-auth-form-panel{padding:40px;}
}
@media(max-width:760px){
  .fd-page-command-head{align-items:flex-start;flex-direction:column;}.fd-page-command-actions{width:100%;justify-content:flex-start;}.fd-page-command-actions .fd-btn{flex:1;}.fd-command-filter{grid-template-columns:1fr 1fr;}.fd-command-search{grid-column:1/-1;}.fd-release-metrics,.fd-survey-metrics,.fd-access-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}.fd-access-card-grid{grid-template-columns:1fr;}.fd-survey-rank-row{grid-template-columns:28px minmax(120px,1fr) 50px;}.fd-survey-score-bar{grid-column:2/4;}.fd-survey-low{grid-column:3;grid-row:1;}.fd-survey-response-row{grid-template-columns:54px minmax(0,1fr) auto;}.fd-survey-response-date{display:none;}.fd-survey-response-actions{grid-column:2/4;justify-content:flex-end;}.fd-settings-overview,.fd-diagnostic-overview{grid-template-columns:1fr 1fr;}.fd-settings-jump{top:74px;}.fd-settings-card .fd-form-grid.three{grid-template-columns:1fr;}
  .fd-auth-shell{display:block;min-height:100vh;}.fd-auth-brand-panel{min-height:250px;padding:24px 22px 34px;}.fd-auth-logo{width:170px;height:58px;}.fd-auth-brand-copy{margin:38px 0 0;}.fd-auth-brand-copy h1{font-size:30px;margin:9px 0 10px;}.fd-auth-brand-copy p{font-size:10.5px;}.fd-auth-feature-list{display:none;}.fd-auth-brand-foot{display:none;}.fd-auth-form-panel{padding:30px 20px 40px;min-height:calc(100vh - 250px);align-items:flex-start;}.fd-auth-form-wrap{margin:0 auto;}.fd-auth-icon{width:43px;height:43px;margin-bottom:15px;}.fd-auth-form-wrap h2{font-size:25px;}.fd-auth-subtitle{margin-bottom:18px;}
}
@media(max-width:500px){
  .fd-release-metrics,.fd-survey-metrics,.fd-access-metrics,.fd-settings-overview,.fd-diagnostic-overview{grid-template-columns:1fr 1fr;gap:7px;}.fd-page-command-head h1{font-size:23px;}.fd-page-command-actions{display:grid;grid-template-columns:1fr 1fr;}.fd-page-command-actions .fd-btn:last-child:nth-child(odd){grid-column:1/-1;}.fd-command-filter{grid-template-columns:1fr;}.fd-command-search{grid-column:auto;}.fd-command-filter>select{width:100%;}.fd-release-card-top{grid-template-columns:34px minmax(0,1fr);}.fd-release-card-top>.fd-status{grid-column:2;justify-self:start;}.fd-release-facts{grid-template-columns:1fr;}.fd-release-card-actions{flex-wrap:wrap;}.fd-release-card-actions .fd-btn{flex:1;justify-content:center;}.fd-release-card-actions .fd-icon-button{margin-left:0;}.fd-survey-rank-row{padding:9px 10px;gap:7px;}.fd-survey-response-row{padding:9px;}.fd-access-card-grid{padding:8px;}.fd-settings-jump{margin-left:-2px;margin-right:-2px;}.fd-auth-brand-panel{min-height:220px;}.fd-auth-brand-copy{margin-top:28px;}.fd-auth-brand-copy h1{font-size:27px;}.fd-auth-form-panel{padding-top:26px;}.fd-auth-choice-card{grid-template-columns:42px minmax(0,1fr) 16px;padding:12px;}.fd-auth-choice-card>span{width:40px;height:40px;}
}

@media print{
  .fd-page-command-actions,.fd-settings-jump,.fd-command-filter,.fd-survey-response-actions,.fd-release-card-actions,.fd-access-card-actions{display:none!important;}
}
.fd-access-editor{max-width:860px;padding:17px!important;}.fd-access-editor .fd-field label{font-size:8.5px;}.fd-access-editor input,.fd-access-editor textarea{font-size:9.5px!important;}.fd-access-editor .fd-help{font-size:8px!important;}.fd-release-detail-card{border-top:3px solid #0aa7a0!important;}


/* ============================================================
   FieldDock v1.5 — full consistency / legacy-layout bridge
   Brings the remaining working screens into the Command Center
   visual system without replacing their business logic.
   ============================================================ */

/* Older admin pages still using the original generic heading now read like
   Command Center pages instead of a white boxed utility header. */
.fd-admin-body .fd-admin-top{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:3px 0 9px!important;
  margin:0 0 12px!important;
  align-items:flex-end!important;
}
.fd-admin-body .fd-admin-top>div:first-child{min-width:0;}
.fd-admin-body .fd-admin-top h1{
  margin:0!important;
  color:#082351!important;
  font-size:27px!important;
  line-height:1.08!important;
  letter-spacing:-.55px!important;
  font-weight:850!important;
}
.fd-admin-body .fd-admin-top .fd-help{
  display:block;
  max-width:760px;
  margin-top:5px!important;
  color:#75849a!important;
  font-size:9.25px!important;
  line-height:1.45!important;
}
.fd-admin-body .fd-admin-top .fd-actions{margin:0!important;justify-content:flex-end;}

/* Shared control surface for the remaining admin CRUD/reporting pages. */
.fd-admin-body .fd-card,
.fd-admin-body .fd-filter-card,
.fd-admin-body .fd-admin-filters{
  border-color:#dfe6ef!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(19,48,86,.045)!important;
}
.fd-admin-body .fd-admin-filters,
.fd-admin-body .fd-filter-card{
  background:#fff!important;
  padding:12px 13px!important;
}
.fd-admin-body .fd-card>h2:first-child,
.fd-admin-body .fd-card>h3:first-child{
  color:#17375f!important;
  letter-spacing:-.15px;
}
.fd-admin-body .fd-field label{
  color:#53657d!important;
  font-size:8px!important;
  font-weight:800!important;
  letter-spacing:.035em!important;
  text-transform:uppercase;
}
.fd-admin-body input:not([type=checkbox]):not([type=radio]),
.fd-admin-body select,
.fd-admin-body textarea{
  border-color:#d7e0eb!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18355e!important;
  box-shadow:0 1px 2px rgba(14,31,59,.02)!important;
}
.fd-admin-body input:focus,
.fd-admin-body select:focus,
.fd-admin-body textarea:focus{
  border-color:#78a8e6!important;
  box-shadow:0 0 0 3px rgba(23,105,232,.08)!important;
  outline:0!important;
}
.fd-admin-body .fd-table-wrap{
  border:1px solid #dfe6ef!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 3px 12px rgba(19,48,86,.045)!important;
  overflow:auto;
}
.fd-admin-body .fd-table-wrap table{margin:0!important;background:#fff;}
.fd-admin-body .fd-table-wrap thead th{
  background:#f6f8fb!important;
  color:#718096!important;
  border-bottom:1px solid #e4eaf1!important;
  font-size:7px!important;
  font-weight:850!important;
  text-transform:uppercase;
  letter-spacing:.045em!important;
  padding:9px 10px!important;
}
.fd-admin-body .fd-table-wrap tbody td{
  color:#294361;
  border-bottom:1px solid #edf1f5!important;
  padding:9px 10px!important;
  font-size:8.4px!important;
  vertical-align:middle;
}
.fd-admin-body .fd-table-wrap tbody tr:last-child td{border-bottom:0!important;}
.fd-admin-body .fd-table-wrap tbody tr:hover td{background:#fbfdff;}
.fd-admin-body .fd-compact-stat-grid{gap:9px!important;margin-bottom:12px!important;}
.fd-admin-body .fd-compact-stat{
  min-height:78px;
  border-radius:12px!important;
  border-color:#dfe6ef!important;
  box-shadow:0 3px 12px rgba(19,48,86,.04)!important;
}
.fd-admin-body .fd-compact-stat strong{color:#082351!important;font-size:24px!important;}
.fd-admin-body .fd-compact-stat span{color:#7b899d!important;font-size:8px!important;}
.fd-admin-body .fd-status{border-radius:999px!important;font-weight:800!important;}
.fd-admin-body .fd-actions .fd-btn{white-space:nowrap;}
.fd-admin-body .fd-admin-note{
  border-left:0!important;
  border-top:3px solid #efa44a!important;
  background:linear-gradient(180deg,#fffdf8,#fff)!important;
}

/* The remaining public/tech workflow pages use the same restrained FieldDock
   card language. Exclude the custom dashboard/auth experiences. */
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body){
  background:#f4f7fb!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-topbar{
  border-bottom:1px solid #e3e9f1!important;
  box-shadow:0 1px 8px rgba(15,45,88,.035)!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-shell{
  width:min(1120px,calc(100% - 30px));
  padding-top:20px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff 0%,#f4fcfb 100%)!important;
  border:1px solid #dce7ee!important;
  border-left:0!important;
  border-radius:13px!important;
  box-shadow:0 4px 15px rgba(21,50,86,.045)!important;
  padding:20px 21px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head:after{
  content:"";
  position:absolute;
  top:0;left:0;bottom:0;
  width:4px;
  background:linear-gradient(180deg,#1769e8,#0aa7a0);
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head h1{
  color:#082351!important;
  font-size:27px!important;
  line-height:1.08!important;
  letter-spacing:-.5px!important;
  font-weight:850!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head p{
  color:#718096!important;
  font-size:10px!important;
  line-height:1.55!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-section-kicker{
  color:#078f89!important;
  font-size:7.5px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-card{
  border:1px solid #dfe6ef!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 4px 15px rgba(21,50,86,.045)!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card{
  padding:19px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card h3{
  color:#18375f!important;
  font-size:13px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card>p{
  color:#7b899b!important;
  font-size:9.25px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-field label{
  color:#53657d!important;
  font-size:8px!important;
  font-weight:800!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) input:not([type=checkbox]):not([type=radio]),
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) select,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) textarea{
  border:1px solid #d7e0eb!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18355e!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) input:focus,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) select:focus,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) textarea:focus{
  border-color:#78a8e6!important;
  box-shadow:0 0 0 3px rgba(23,105,232,.08)!important;
  outline:0!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-notice,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-map-helper,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-upload-box,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-subsection{
  border-radius:10px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-actions .fd-btn{
  border-radius:8px!important;
}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-footer{
  border-top:1px solid #e4eaf1;
  background:#fff;
  color:#8a98a9;
}

/* Portal utility pages (schedule, education, password, docs) keep the dashboard
   nav but get a matching content surface. */
.fd-tech-portal-body .fd-page-head,
.fd-tech-portal-body .fd-form-card,
.fd-tech-portal-body .fd-card,
.fd-tech-portal-body .fd-table-wrap{
  border-color:#dfe6ef!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(19,48,86,.045)!important;
}
.fd-tech-portal-body .fd-page-head{
  background:linear-gradient(135deg,#fff,#f4fcfb)!important;
  border-left:0!important;
}
.fd-tech-portal-body .fd-page-head h1{color:#082351!important;letter-spacing:-.45px!important;}
.fd-tech-portal-body .fd-page-head p{color:#718096!important;}
.fd-tech-portal-body .fd-table-wrap thead th{background:#f6f8fb!important;color:#728198!important;}
.fd-tech-portal-body .fd-table-wrap tbody td{border-bottom-color:#edf1f5!important;}

/* Confirmation / invalid-link pages should look intentional rather than like
   orphaned form output. */
.fd-confirmation-card,
.fd-empty-state{
  border-radius:13px!important;
  border-color:#dfe6ef!important;
  box-shadow:0 4px 15px rgba(21,50,86,.045)!important;
}

@media (max-width:760px){
  .fd-admin-body .fd-admin-top{align-items:flex-start!important;flex-direction:column!important;gap:9px!important;}
  .fd-admin-body .fd-admin-top .fd-actions{width:100%;justify-content:flex-start!important;}
  .fd-admin-body .fd-admin-top .fd-actions .fd-btn{flex:1;justify-content:center;}
  .fd-admin-body .fd-table-wrap tbody td{font-size:8px!important;}
  body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-shell{width:min(100% - 18px,1120px);padding-top:10px!important;}
  body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head{padding:17px!important;}
  body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head h1{font-size:23px!important;}
  body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card{padding:14px!important;}
}

/* Submission/detail screens that pre-date the command-center components. */
.fd-admin-body .fd-section-card,
.fd-admin-body .fd-side-card{
  border-color:#dfe6ef!important;
  border-radius:12px!important;
  box-shadow:0 3px 12px rgba(19,48,86,.045)!important;
  background:#fff!important;
}
.fd-admin-body .fd-section-head{
  background:#f8fafc!important;
  border-bottom:1px solid #e6ebf2!important;
  padding:10px 12px!important;
}
.fd-admin-body .fd-section-head h3{
  margin:0!important;
  color:#18375f!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
.fd-admin-body .fd-section-body{padding:12px!important;}
.fd-admin-body .fd-field-item label{color:#7a899d!important;font-size:7px!important;font-weight:850!important;letter-spacing:.045em!important;}
.fd-admin-body .fd-field-item .val{color:#223f62!important;font-size:9px!important;}
.fd-admin-body .fd-file-grid a{background:#f8fafc!important;border-color:#e1e7ef!important;color:#245080!important;border-radius:9px!important;}
.fd-admin-body .fd-file-grid a:hover{border-color:#9fbde2!important;background:#f2f8ff!important;}

/* ======================================================================
   FieldDock v1.5.1 — readability + workflow correction pass
   Screenshots from the real 1440p admin deployment showed that the v1.5
   compatibility bridge compressed secondary text too aggressively. This
   layer deliberately restores a comfortable reading floor. FieldDock is an
   operations tool, not a spreadsheet that should require squinting.
   ====================================================================== */

/* Admin shell / command-center readability floor */
.fd-admin-body .fd-command-main{font-size:14px;}
.fd-admin-body .fd-global-search input{font-size:13.5px!important;}
.fd-admin-body .fd-global-search kbd{font-size:11px;}
.fd-admin-body .fd-command-user{padding:4px 0 4px 12px;}
.fd-admin-body .fd-command-user-copy strong{font-size:14px!important;}
.fd-admin-body .fd-command-user-copy small{font-size:11.5px!important;}
.fd-admin-body .fd-command-sidebar .fd-sidebar-section-label{font-size:11px;}
.fd-admin-body .fd-sidebar-item{font-size:14px;}
.fd-admin-body .fd-page-eyebrow,
.fd-admin-body .fd-section-kicker{font-size:10.5px!important;line-height:1.2;}
.fd-admin-body .fd-page-command-head p,
.fd-admin-body .fd-command-page-head p{font-size:13px!important;line-height:1.55;}
.fd-admin-body .fd-command-panel-head h2{font-size:16px!important;}
.fd-admin-body .fd-command-panel-head p{font-size:12.5px!important;line-height:1.45;}
.fd-admin-body .fd-command-panel-head>a{font-size:12.5px;}
.fd-admin-body .fd-period-pill{font-size:11.5px;}
.fd-admin-body .fd-command-empty h3{font-size:14px!important;}
.fd-admin-body .fd-command-empty p{font-size:12.5px!important;}

/* Dashboard */
.fd-admin-body .fd-command-metric-copy small{font-size:12.5px!important;}
.fd-admin-body .fd-command-metric-copy strong{font-size:29px!important;}
.fd-admin-body .fd-command-metric-copy em{font-size:11.5px!important;}
.fd-admin-body .fd-attention-copy strong{font-size:13px!important;}
.fd-admin-body .fd-attention-copy small{font-size:11.5px!important;}
.fd-admin-body .fd-priority-pill{font-size:10.5px!important;}
.fd-admin-body .fd-overview-strip small{font-size:11px!important;}
.fd-admin-body .fd-overview-strip strong{font-size:22px!important;}
.fd-admin-body .fd-job-bars h3{font-size:13px!important;}
.fd-admin-body .fd-job-bar-label{font-size:12px!important;}
.fd-admin-body .fd-job-bar-row>strong{font-size:12px!important;}
.fd-admin-body .fd-command-table th{font-size:11px!important;}
.fd-admin-body .fd-command-table td{font-size:13px!important;line-height:1.45;}
.fd-admin-body .fd-queue-cards strong,
.fd-admin-body .fd-command-tools strong{font-size:13px!important;}
.fd-admin-body .fd-queue-cards small,
.fd-admin-body .fd-command-tools small{font-size:11.5px!important;line-height:1.4;}
.fd-admin-body .fd-queue-cards b{font-size:11.5px!important;}

/* Queue pages: Billing / Drop Bury / White Sheet / Time Off / Inventory */
.fd-admin-body .fd-queue-hero p{font-size:13px!important;}
.fd-admin-body .fd-queue-metric small{font-size:12px!important;}
.fd-admin-body .fd-queue-metric strong{font-size:28px!important;}
.fd-admin-body .fd-queue-metric em{font-size:11.5px!important;}
.fd-admin-body .fd-queue-attention-copy>span{font-size:10.5px!important;}
.fd-admin-body .fd-queue-attention-copy h2{font-size:16px!important;}
.fd-admin-body .fd-queue-attention-copy p{font-size:12.5px!important;line-height:1.5;}
.fd-admin-body .fd-queue-exception-chips>span{font-size:11px!important;}
.fd-admin-body .fd-queue-panel-head h2{font-size:17px!important;}
.fd-admin-body .fd-queue-panel-head p{font-size:12.5px!important;}
.fd-admin-body .fd-queue-job-tabs>a{font-size:12px!important;}
.fd-admin-body .fd-queue-job-tabs b{font-size:10.5px!important;}
.fd-admin-body .fd-queue-search input{font-size:13px!important;}
.fd-admin-body .fd-queue-select>span{font-size:10.5px!important;}
.fd-admin-body .fd-queue-select select{font-size:12.5px!important;}
.fd-admin-body .fd-queue-automation-note{font-size:12px!important;line-height:1.5;}

/* v1.5 compatibility bridge — undo the over-compression */
.fd-admin-body .fd-admin-top h1{font-size:28px!important;}
.fd-admin-body .fd-admin-top .fd-help{font-size:13px!important;line-height:1.55!important;}
.fd-admin-body .fd-field label{font-size:11.5px!important;letter-spacing:.025em!important;}
.fd-admin-body input:not([type=checkbox]):not([type=radio]),
.fd-admin-body select,
.fd-admin-body textarea{font-size:13px!important;line-height:1.4;}
.fd-admin-body .fd-help{font-size:12.5px!important;line-height:1.55;}
.fd-admin-body .fd-table-wrap thead th{font-size:10.5px!important;padding:11px 12px!important;}
.fd-admin-body .fd-table-wrap tbody td{font-size:12.5px!important;padding:11px 12px!important;line-height:1.45;}
.fd-admin-body .fd-compact-stat span{font-size:10.5px!important;}
.fd-admin-body .fd-status{font-size:11px!important;line-height:1.2;}
.fd-admin-body .fd-btn{font-size:12.5px;}
.fd-admin-body .fd-btn-sm{font-size:11.5px!important;min-height:34px;}

/* Submission detail views */
.fd-admin-body .fd-section-head{padding:12px 14px!important;}
.fd-admin-body .fd-section-head h3{font-size:14px!important;}
.fd-admin-body .fd-section-body{padding:14px!important;}
.fd-admin-body .fd-field-item label{font-size:10.5px!important;}
.fd-admin-body .fd-field-item .val{font-size:13px!important;line-height:1.45;}
.fd-admin-body .fd-timeline-status{font-size:12.5px!important;}
.fd-admin-body .fd-timeline-meta{font-size:11.5px!important;}
.fd-admin-body .fd-timeline-note{font-size:12.5px!important;line-height:1.5;}
.fd-admin-body .fd-email-row{font-size:12.5px!important;}
.fd-admin-body .fd-file-grid a{font-size:12px!important;}

/* Release Center */
.fd-admin-body .fd-release-card-title small{font-size:11px!important;}
.fd-admin-body .fd-release-card-title h3{font-size:15px!important;}
.fd-admin-body .fd-release-card-title p{font-size:12px!important;}
.fd-admin-body .fd-release-facts span{font-size:10px!important;}
.fd-admin-body .fd-release-facts strong{font-size:12px!important;}
.fd-admin-body .fd-release-card-actions .fd-btn{font-size:11.5px!important;}
.fd-admin-body .fd-command-tabs a{font-size:11.5px!important;}
.fd-admin-body .fd-command-tabs b,
.fd-admin-body .fd-mini-segmented b{font-size:10px!important;}
.fd-admin-body .fd-mini-segmented a{font-size:11px!important;}
.fd-admin-body .fd-command-search input{font-size:13px!important;}

/* Surveys */
.fd-admin-body .fd-survey-rank{font-size:11px!important;}
.fd-admin-body .fd-survey-tech strong{font-size:13px!important;}
.fd-admin-body .fd-survey-tech small{font-size:11px!important;}
.fd-admin-body .fd-survey-score-bar small{font-size:11px!important;}
.fd-admin-body .fd-survey-low{font-size:10px!important;}
.fd-admin-body .fd-open-survey-links strong{font-size:12.5px!important;}
.fd-admin-body .fd-open-survey-links small,
.fd-admin-body .fd-open-survey-links em{font-size:10.5px!important;}
.fd-admin-body .fd-survey-response-score strong{font-size:14px!important;}
.fd-admin-body .fd-survey-response-score small{font-size:10.5px!important;}
.fd-admin-body .fd-survey-response-main strong{font-size:12.5px!important;}
.fd-admin-body .fd-survey-response-main span,
.fd-admin-body .fd-survey-response-main p{font-size:11px!important;}
.fd-admin-body .fd-survey-response-date strong{font-size:11.5px!important;}
.fd-admin-body .fd-survey-response-date small{font-size:10px!important;}
.fd-admin-body .fd-survey-response-actions .fd-btn{font-size:11px!important;}

/* Access Codes */
.fd-admin-body .fd-access-card-head small{font-size:10px!important;}
.fd-admin-body .fd-access-card-head h3{font-size:14px!important;}
.fd-admin-body .fd-access-code-pill code{font-size:13px!important;}
.fd-admin-body .fd-access-code-pill small{font-size:10px!important;}
.fd-admin-body .fd-access-code-empty,
.fd-admin-body .fd-access-note{font-size:11.5px!important;line-height:1.5;}
.fd-admin-body .fd-access-card-actions .fd-btn{font-size:11px!important;}
.fd-admin-body .fd-access-editor .fd-field label{font-size:11.5px!important;}
.fd-admin-body .fd-access-editor input,
.fd-admin-body .fd-access-editor textarea{font-size:13px!important;}
.fd-admin-body .fd-access-editor .fd-help{font-size:12px!important;}

/* Settings + Diagnostics */
.fd-admin-body .fd-settings-overview-card small,
.fd-admin-body .fd-diagnostic-stat small{font-size:11px!important;}
.fd-admin-body .fd-settings-overview-card strong,
.fd-admin-body .fd-diagnostic-stat strong{font-size:14px!important;}
.fd-admin-body .fd-settings-overview-card em,
.fd-admin-body .fd-diagnostic-stat em{font-size:10.5px!important;}
.fd-admin-body .fd-settings-jump a{font-size:11px!important;}
.fd-admin-body .fd-settings-card>h2,
.fd-admin-body .fd-settings-card-head h2,
.fd-admin-body .fd-diagnostic-card h2{font-size:16px!important;}
.fd-admin-body .fd-settings-card>.fd-help,
.fd-admin-body .fd-diagnostic-card .fd-help{font-size:12.5px!important;}
.fd-admin-body .fd-settings-card-head small{font-size:10px!important;}
.fd-admin-body .fd-settings-card .fd-field label,
.fd-admin-body .fd-settings-card>label,
.fd-admin-body .fd-settings-card .fd-admin-field label{font-size:11px!important;}
.fd-admin-body .fd-settings-card input,
.fd-admin-body .fd-settings-card select,
.fd-admin-body .fd-settings-card textarea,
.fd-admin-body .fd-settings-card .fd-valuebox{font-size:13px!important;}
.fd-admin-body .fd-settings-card .fd-btn{font-size:11.5px!important;}
.fd-admin-body .fd-settings-card table th{font-size:10.5px!important;}
.fd-admin-body .fd-settings-card table td{font-size:12.5px!important;}
.fd-admin-body .fd-diagnostic-card table td{font-size:12.5px!important;padding:10px 11px!important;}
.fd-admin-body .fd-diagnostic-card code{font-size:11.5px!important;}

/* CSpire guided form */
.fd-admin-body .fd-billing-page-head>div>span{font-size:10.5px!important;}
.fd-admin-body .fd-billing-page-head p{font-size:13px!important;}
.fd-admin-body .fd-billing-steps>a{font-size:11px!important;}
.fd-admin-body .fd-billing-card-head h2{font-size:15px!important;}
.fd-admin-body .fd-billing-card-head p{font-size:11.5px!important;}
.fd-admin-body .fd-billing-card label{font-size:12px!important;}
.fd-admin-body .fd-billing-card input,
.fd-admin-body .fd-billing-card select,
.fd-admin-body .fd-billing-card textarea{font-size:13px!important;}
.fd-admin-body .fd-billing-card .fd-help{font-size:11.5px!important;}
.fd-admin-body .fd-billing-job-type strong{font-size:11.5px!important;}
.fd-admin-body .fd-billing-side-card h2{font-size:14px!important;}
.fd-admin-body .fd-billing-side-card>p{font-size:11.5px!important;}
.fd-admin-body .fd-billing-checklist b{font-size:11.5px!important;}
.fd-admin-body .fd-billing-checklist em{font-size:10.5px!important;}
.fd-admin-body .fd-billing-actions-card .fd-btn{font-size:12px!important;}

/* QC review console */
.fd-admin-body .fd-qc-review-meta small,
.fd-admin-body .fd-qc-install-head small,
.fd-admin-body .fd-qc-install-grid small,
.fd-admin-body .fd-qc-workflow-card small,
.fd-admin-body .fd-qc-photo-title span,
.fd-admin-body .fd-qc-photo-note>span,
.fd-admin-body .fd-qc-side-stat span{font-size:10.5px!important;}
.fd-admin-body .fd-qc-review-meta strong,
.fd-admin-body .fd-qc-install-grid strong,
.fd-admin-body .fd-qc-workflow-banner strong,
.fd-admin-body .fd-qc-workflow-card h3,
.fd-admin-body .fd-qc-photo-title strong,
.fd-admin-body .fd-qc-side-stat strong{font-size:12px!important;}
.fd-admin-body .fd-qc-review-meta em,
.fd-admin-body .fd-qc-install-grid em,
.fd-admin-body .fd-qc-workflow-banner p,
.fd-admin-body .fd-qc-workflow-card p,
.fd-admin-body .fd-qc-decision-card>p{font-size:11px!important;}
.fd-admin-body .fd-qc-install-head h2{font-size:14px!important;}
.fd-admin-body .fd-qc-photo-panel-head h2{font-size:16px!important;}
.fd-admin-body .fd-qc-photo-panel-head p{font-size:11.5px!important;}
.fd-admin-body .fd-qc-photo-progress{font-size:10.5px!important;}
.fd-admin-body .fd-qc-photo-progress strong{font-size:14px!important;}
.fd-admin-body .fd-qc-photo-title em{font-size:10px!important;}
.fd-admin-body .fd-qc-photo-media>a>span{font-size:10px!important;}
.fd-admin-body .fd-qc-missing-photo strong{font-size:12px!important;}
.fd-admin-body .fd-qc-missing-photo span{font-size:10.5px!important;}
.fd-admin-body .fd-qc-photo-note textarea{font-size:12.5px!important;}
.fd-admin-body .fd-qc-review-status-head .fd-status{font-size:11px!important;}
.fd-admin-body .fd-qc-decision-card h3{font-size:14px!important;}
.fd-admin-body .fd-qc-goback-check strong{font-size:11.5px!important;}
.fd-admin-body .fd-qc-goback-check small{font-size:10.5px!important;}
.fd-admin-body .fd-qc-readonly-card h3{font-size:13px!important;}
.fd-admin-body .fd-qc-readonly-card p{font-size:11.5px!important;}

/* Inventory Count Center */
.fd-inventory-table{min-width:900px;}
.fd-table-subline{display:block;margin-top:4px;color:#8492a5;font-size:11px!important;line-height:1.35;}
.fd-inventory-actions{white-space:nowrap;text-align:right;}
.fd-inventory-actions form{margin:0;}
.fd-inventory-panel .fd-command-filter{grid-template-columns:minmax(280px,1fr) 220px auto auto;}
.fd-inventory-panel .fd-queue-select select{height:38px;}

/* Public technician forms / utility screens need to be readable outdoors. */
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head p{font-size:13px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-section-kicker{font-size:10.5px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card h3{font-size:16px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card>p{font-size:12.5px!important;line-height:1.5;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-field label{font-size:11.5px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) input:not([type=checkbox]):not([type=radio]),
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) select,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) textarea{font-size:14px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-help{font-size:12.5px!important;line-height:1.55;}

/* Portal utility screens */
.fd-tech-portal-body .fd-page-head p,
.fd-tech-portal-body .fd-help{font-size:12.5px!important;line-height:1.55;}
.fd-tech-portal-body .fd-field label{font-size:11.5px!important;}
.fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),
.fd-tech-portal-body select,
.fd-tech-portal-body textarea{font-size:14px!important;}
.fd-tech-portal-body .fd-table-wrap thead th{font-size:10.5px!important;}
.fd-tech-portal-body .fd-table-wrap tbody td{font-size:12.5px!important;}
.fd-tech-portal-body .fd-portal-desktop-links a{font-size:12px!important;}
.fd-tech-portal-body .fd-portal-desktop-identity strong{font-size:13px!important;}
.fd-tech-portal-body .fd-portal-desktop-identity small{font-size:11px!important;}

/* Authentication also gets a normal reading floor. */
.fd-auth-body .fd-auth-brand-copy .fd-section-kicker,
.fd-auth-body .fd-auth-form-wrap>.fd-section-kicker{font-size:10.5px!important;}
.fd-auth-body .fd-auth-brand-copy p{font-size:14px!important;}
.fd-auth-body .fd-auth-feature-list span{font-size:12.5px!important;}
.fd-auth-body .fd-auth-brand-foot{font-size:10.5px!important;}
.fd-auth-body .fd-auth-subtitle{font-size:13px!important;}
.fd-auth-body .fd-auth-form label{font-size:11.5px!important;}
.fd-auth-body .fd-auth-form input{font-size:14px!important;}
.fd-auth-body .fd-auth-submit{font-size:13px!important;}
.fd-auth-body .fd-auth-help,
.fd-auth-body .fd-auth-switch{font-size:11.5px!important;}
.fd-auth-body .fd-auth-form-wrap>.fd-alert{font-size:12px!important;}
.fd-auth-body .fd-auth-form .fd-valuebox{font-size:12.5px!important;}
.fd-auth-body .fd-auth-choice-card strong{font-size:13px!important;}
.fd-auth-body .fd-auth-choice-card small{font-size:11.5px!important;}

@media(max-width:760px){
  .fd-admin-body .fd-table-wrap tbody td{font-size:12.5px!important;}
  .fd-admin-body .fd-command-table td{font-size:12.5px!important;}
  .fd-inventory-panel .fd-command-filter{grid-template-columns:1fr;}
  .fd-inventory-panel .fd-command-search{grid-column:auto;}
  .fd-inventory-panel .fd-queue-select{width:100%;}
  body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head p{font-size:12.5px!important;}
}

/* v1.5.1 hard readability floor ------------------------------------------------
   Real production screenshots showed several legacy selectors with enough
   specificity to keep 7-9px text alive despite the first correction layer.
   These rules intentionally win. Desktop operations pages should be readable
   at normal browser zoom; fitting more rows on screen is secondary. */
body.fd-admin-body .fd-command-main p{font-size:13px;line-height:1.5;}
body.fd-admin-body .fd-command-main small{font-size:11.5px!important;line-height:1.4;}
body.fd-admin-body .fd-command-main label{font-size:12px!important;line-height:1.35;}
body.fd-admin-body .fd-command-main .fd-help,
body.fd-admin-body .fd-command-main .help,
body.fd-admin-body .fd-command-main .muted,
body.fd-admin-body .fd-command-main .fd-muted{font-size:12.5px!important;line-height:1.5;}
body.fd-admin-body .fd-command-main .fd-status{font-size:11px!important;line-height:1.2;}
body.fd-admin-body .fd-command-main .fd-btn{font-size:12.5px!important;line-height:1.2;}
body.fd-admin-body .fd-command-main table thead th{font-size:11.5px!important;line-height:1.25;}
body.fd-admin-body .fd-command-main table tbody td{font-size:13px!important;line-height:1.45;}
body.fd-admin-body .fd-command-main input:not([type=checkbox]):not([type=radio]),
body.fd-admin-body .fd-command-main select,
body.fd-admin-body .fd-command-main textarea{font-size:13.5px!important;line-height:1.35;}
body.fd-admin-body .fd-command-main .fd-field-item label{font-size:11.5px!important;}
body.fd-admin-body .fd-command-main .fd-field-item .val{font-size:13px!important;line-height:1.45;}
body.fd-admin-body .fd-command-main .fd-section-head h3{font-size:14px!important;}
body.fd-admin-body .fd-command-main .fd-table-subline{font-size:11.5px!important;}
body.fd-admin-body .fd-command-main .fd-aging-badge,
body.fd-admin-body .fd-command-main .fd-queue-flag,
body.fd-admin-body .fd-command-main .fd-sidebar-badge{font-size:10.5px!important;}
body.fd-admin-body .fd-command-user-text-only{min-width:150px;justify-content:flex-end;text-align:right;}

@media(max-width:760px){
  body.fd-admin-body .fd-command-main p{font-size:12.5px;}
  body.fd-admin-body .fd-command-main small{font-size:11px!important;}
  body.fd-admin-body .fd-command-main table thead th{font-size:11px!important;}
  body.fd-admin-body .fd-command-main table tbody td{font-size:12.5px!important;}
  body.fd-admin-body .fd-command-main input:not([type=checkbox]):not([type=radio]),
  body.fd-admin-body .fd-command-main select,
  body.fd-admin-body .fd-command-main textarea{font-size:14px!important;}
}

/* ==========================================================================\
   FieldDock v1.6 — completion polish
   Carrier-aware technician experience + final admin/access consistency layer.
   ========================================================================== */
:root{
  --fd-navy:#09275b;
  --fd-navy-2:#103d7c;
  --fd-teal:#159b98;
  --fd-teal-dark:#0c7f7b;
  --fd-canvas:#f4f7fb;
  --fd-soft:#f8fafc;
  --fd-border:#dfe7f0;
  --fd-text:#10224a;
  --fd-muted:#687991;
}

/* Technician app shell ---------------------------------------------------- */
.fd-tech-portal-body{
  background:linear-gradient(180deg,#f7faff 0,#f4f7fb 210px,#f4f7fb 100%)!important;
  color:var(--fd-text);
}
.fd-tech-portal-body .fd-topbar{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #e2e9f2!important;
  box-shadow:0 1px 0 rgba(11,42,92,.02)!important;
  backdrop-filter:blur(12px);
}
.fd-tech-portal-body .fd-brand{display:flex;align-items:center;gap:10px;text-decoration:none;}
.fd-tech-portal-body .fd-header-logo{filter:none!important;}
.fd-tech-portal-body .fd-shell{max-width:1180px!important;}
.fd-tech-portal-body .fd-portal-desktop-nav{
  border:1px solid #dce5ef!important;
  border-radius:16px!important;
  padding:11px 14px!important;
  box-shadow:0 9px 28px rgba(11,42,92,.055)!important;
  background:rgba(255,255,255,.98)!important;
}
.fd-tech-portal-body .fd-portal-avatar{
  background:linear-gradient(145deg,#245fc8,#20a39d)!important;
  box-shadow:0 5px 14px rgba(23,91,160,.2);
}
.fd-tech-portal-body .fd-portal-desktop-links{gap:4px;}
.fd-tech-portal-body .fd-portal-desktop-links a{
  min-height:38px;padding:9px 12px!important;border-radius:10px!important;color:#52647c!important;
}
.fd-tech-portal-body .fd-portal-desktop-links a:hover{background:#f2f7fb!important;color:#12386f!important;}
.fd-tech-portal-body .fd-portal-desktop-links a.is-active{background:#e9f7f6!important;color:#0d817d!important;}
.fd-tech-portal-body .fd-page-head{
  padding:23px 25px!important;border:1px solid #dfe7f0!important;border-left:5px solid var(--fd-teal)!important;
  border-radius:16px!important;background:linear-gradient(120deg,#fff 0%,#fff 72%,#edf9f8 100%)!important;
  box-shadow:0 8px 28px rgba(11,42,92,.05)!important;margin-bottom:18px!important;
}
.fd-tech-portal-body .fd-page-head .fd-section-kicker{font-size:11px!important;letter-spacing:.08em;color:#168b87!important;}
.fd-tech-portal-body .fd-page-head h1{font-size:29px!important;line-height:1.08!important;margin:5px 0 7px!important;}
.fd-tech-portal-body .fd-page-head p{font-size:14px!important;line-height:1.55!important;max-width:760px;}
.fd-tech-portal-body .fd-card,
.fd-tech-portal-body .fd-form-card,
.fd-tech-portal-body .fd-table-wrap{
  border-radius:16px!important;border:1px solid #dfe7f0!important;background:#fff!important;
  box-shadow:0 7px 24px rgba(11,42,92,.045)!important;
}
.fd-tech-portal-body .fd-form-card{padding:22px!important;}
.fd-tech-portal-body .fd-form-card h2,
.fd-tech-portal-body .fd-form-card h3{color:#102958!important;}
.fd-tech-portal-body .fd-form-card h3{font-size:17px!important;margin-top:4px;}
.fd-tech-portal-body .fd-form-card>p{font-size:13px!important;color:#718197!important;}
.fd-tech-portal-body .fd-field label{font-size:12px!important;font-weight:750!important;color:#344a68!important;margin-bottom:6px!important;}
.fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),
.fd-tech-portal-body select,
.fd-tech-portal-body textarea{
  min-height:44px!important;border:1px solid #d7e0eb!important;border-radius:10px!important;background:#fff!important;
  color:#14284a!important;box-shadow:0 1px 2px rgba(14,41,80,.02)!important;
}
.fd-tech-portal-body textarea{min-height:104px!important;}
.fd-tech-portal-body input:focus,
.fd-tech-portal-body select:focus,
.fd-tech-portal-body textarea:focus{border-color:#42aaa7!important;box-shadow:0 0 0 3px rgba(21,155,152,.11)!important;outline:0!important;}
.fd-tech-portal-body .fd-btn{border-radius:10px!important;min-height:39px;font-weight:750!important;}
.fd-tech-portal-body .fd-btn-primary{background:linear-gradient(135deg,#279d9a,#168b87)!important;border-color:#168b87!important;box-shadow:0 5px 14px rgba(22,139,135,.15);}
.fd-tech-portal-body .fd-stepper,
.fd-tech-portal-body .fd-tab-bar,
.fd-tech-portal-body .fd-admin-filters{border-radius:14px!important;border-color:#dfe7f0!important;}
.fd-tech-portal-body .fd-table-wrap table{font-size:13px!important;}
.fd-tech-portal-body .fd-table-wrap thead th{font-size:11.5px!important;letter-spacing:.025em!important;padding:12px!important;}
.fd-tech-portal-body .fd-table-wrap tbody td{font-size:13px!important;padding:13px 12px!important;}
.fd-tech-portal-body .fd-status{font-size:11px!important;font-weight:750!important;}
.fd-tech-portal-body .fd-help{color:#708096!important;}
.fd-tech-portal-body hr{border:0;border-top:1px solid #e7edf4;margin:20px 0;}
.fd-tech-portal-body .fd-tech-identity-card{border-radius:13px!important;background:#f4f9fb!important;border:1px solid #d9eaee!important;}

/* Stronger empty state for carrier-filtered education. */
.fd-education-empty{display:flex;align-items:center;gap:16px;padding:24px!important;}
.fd-education-empty-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#eeeaff;color:#6d4fd9;flex:0 0 auto;}
.fd-education-empty-icon .fd-ui-icon{width:24px;height:24px;}
.fd-education-empty h2{margin:0 0 4px;font-size:17px;color:#102958;}

/* Technician access editor ------------------------------------------------ */
.fd-tech-edit-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:16px;border:1px solid #dce6ef;border-left:5px solid #159b98;border-radius:16px;background:linear-gradient(125deg,#fff 0,#fff 70%,#eaf8f7 100%);box-shadow:0 8px 28px rgba(11,42,92,.045);}
.fd-tech-edit-hero h1{font-size:30px;line-height:1.05;margin:6px 0 7px;color:#102451;letter-spacing:-.6px;}
.fd-tech-edit-hero p{margin:0;color:#6f7e93;font-size:13px;}
.fd-tech-manage-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start;}
.fd-tech-manage-main{display:grid;gap:16px;}
.fd-tech-manage-side{display:grid;gap:16px;position:sticky;top:92px;}
.fd-manage-section{padding:21px!important;border-radius:16px!important;}
.fd-manage-section-head{display:flex;align-items:flex-start;gap:12px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e7edf4;}
.fd-manage-section-head h2{margin:2px 0 3px;font-size:17px;color:#102958;}
.fd-manage-section-head p{margin:0;color:#75859a;font-size:12.5px;}
.fd-manage-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ebf2ff;color:#2868d9;flex:0 0 auto;}
.fd-manage-icon.is-teal{background:#e8f7f5;color:#148b86}.fd-manage-icon.is-purple{background:#f0ecff;color:#7155d9}.fd-manage-icon .fd-ui-icon{width:20px;height:20px;}
.fd-password-row{display:flex;gap:8px}.fd-password-row input{flex:1;}
.fd-access-toggle{display:flex!important;gap:11px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #edf1f5;cursor:pointer;}
.fd-access-toggle input{margin-top:3px;accent-color:#159b98;}
.fd-access-toggle span{display:grid;gap:2px}.fd-access-toggle strong{font-size:13px;color:#173055}.fd-access-toggle small{font-size:11.5px;color:#78889c;}
.fd-access-state{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:14px 0;border-bottom:1px solid #edf1f5;}
.fd-access-state span{font-size:11.5px;color:#8491a3}.fd-access-state strong{font-size:11.5px;color:#344b6b;text-align:right;}
.fd-manage-save-card{padding:18px!important;background:linear-gradient(145deg,#0c326b,#0b5a78)!important;color:#fff!important;border:0!important;}
.fd-manage-save-card strong{font-size:15px}.fd-manage-save-card p{font-size:12px;color:#d2e2f0;margin:5px 0 14px;line-height:1.5}.fd-btn-block{width:100%;justify-content:center;}
.fd-autofill-decoy{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}

/* Public/customer workflows ---------------------------------------------- */
.fd-public-workflow-body,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body){background:#f5f8fc!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-topbar{background:#fff!important;border-bottom:1px solid #e2e9f2!important;box-shadow:0 2px 10px rgba(11,42,92,.035)!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head{border-radius:16px!important;border-left:5px solid #159b98!important;background:linear-gradient(120deg,#fff,#fff 75%,#edf9f8)!important;box-shadow:0 8px 26px rgba(11,42,92,.045)!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-page-head h1{color:#102451!important;font-size:28px!important;}
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-card,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-form-card{border-radius:16px!important;border:1px solid #dfe7f0!important;box-shadow:0 7px 24px rgba(11,42,92,.045)!important;}

/* Admin v1.6 final reading / polish -------------------------------------- */
.fd-admin-body .fd-command-main{font-size:14px;}
.fd-admin-body .fd-command-main .fd-section-kicker,
.fd-admin-body .fd-command-main .fd-page-eyebrow{font-size:11px!important;}
.fd-admin-body .fd-command-main small{font-size:12px!important;}
.fd-admin-body .fd-command-main table tbody td{font-size:13.5px!important;}
.fd-admin-body .fd-command-main table thead th{font-size:11.5px!important;}
.fd-admin-body .fd-command-main .fd-help{font-size:13px!important;}
.fd-admin-body .fd-command-main .fd-status{font-size:11.5px!important;}
.fd-admin-body .fd-command-main .fd-queue-subtext{font-size:11.5px!important;}

@media(max-width:900px){
  .fd-tech-manage-grid{grid-template-columns:1fr;}
  .fd-tech-manage-side{position:static;}
  .fd-tech-edit-hero{align-items:flex-start;flex-direction:column;}
}
@media(max-width:760px){
  .fd-tech-portal-body .fd-page-head{padding:18px!important;border-radius:14px!important;}
  .fd-tech-portal-body .fd-page-head h1{font-size:24px!important;}
  .fd-tech-portal-body .fd-page-head p{font-size:13px!important;}
  .fd-tech-portal-body .fd-form-card{padding:15px!important;}
  .fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),.fd-tech-portal-body select,.fd-tech-portal-body textarea{font-size:16px!important;}
  .fd-tech-edit-hero{padding:18px;margin-bottom:12px;}.fd-tech-edit-hero h1{font-size:25px;}
  .fd-manage-section{padding:16px!important;}.fd-password-row{flex-direction:column;}
}

/* ======================================================================
   FieldDock v1.6.1 — Technician Workspace completion pass
   Every authenticated technician page now uses the same command-center
   visual language as Admin: navy rail, roomy workspace, readable type,
   consistent cards/forms/tables and the existing mobile bottom nav.
   ====================================================================== */
.fd-tech-portal-body{
  --fd-tech-rail:260px;
  font-family:Inter,Arial,Helvetica,sans-serif!important;
  background:#f4f7fb!important;
  color:#142744;
  min-height:100vh;
}
.fd-tech-portal-body .fd-topbar{display:none!important;}
.fd-tech-portal-body .fd-footer{display:none!important;}
.fd-tech-portal-body .fd-shell{
  width:auto!important;
  max-width:none!important;
  margin:0 0 0 var(--fd-tech-rail)!important;
  padding:28px 30px 58px!important;
  min-height:100vh;
}
.fd-tech-portal-body .fd-shell>.fd-form,
.fd-tech-portal-body .fd-shell>.fd-tech-dashboard,
.fd-tech-portal-body .fd-shell>.fd-training-hero,
.fd-tech-portal-body .fd-shell>.fd-training-filterbar,
.fd-tech-portal-body .fd-shell>.fd-onboard-banner,
.fd-tech-portal-body .fd-shell>.fd-quick-access-wrap,
.fd-tech-portal-body .fd-shell>.fd-training-cat-nav,
.fd-tech-portal-body .fd-shell>.fd-training-section,
.fd-tech-portal-body .fd-shell>.fd-training-results-notice{
  width:100%;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Desktop technician command rail */
.fd-tech-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:var(--fd-tech-rail);
  z-index:70;
  display:flex;
  flex-direction:column;
  padding:14px 12px 18px;
  color:#dce8f7;
  background:linear-gradient(180deg,#08275c 0%,#0b3476 55%,#0b3f82 100%);
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:8px 0 28px rgba(5,24,57,.10);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.24) transparent;
}
.fd-tech-sidebar-brand-wrap{padding:0 1px 13px;}
.fd-tech-sidebar-brand{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(255,255,255,.45);
  border-radius:14px;
  padding:13px 14px;
  box-shadow:0 9px 22px rgba(2,19,46,.15);
}
.fd-tech-sidebar-brand img{display:block;width:100%;height:auto;max-height:48px;object-fit:contain;}
.fd-tech-sidebar-user{
  display:grid;
  grid-template-columns:43px minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin:2px 2px 12px;
  padding:11px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.065);
}
.fd-tech-sidebar-avatar{
  width:43px;height:43px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(145deg,#1c68d8,#11afa7);color:#fff;font-size:12px;font-weight:850;
  box-shadow:0 7px 18px rgba(0,0,0,.13);
}
.fd-tech-sidebar-user-copy{display:flex;flex-direction:column;min-width:0;}
.fd-tech-sidebar-user-copy strong{font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fd-tech-sidebar-user-copy small{font-size:10px;color:#b9cce5;margin-top:2px;}
.fd-tech-sidebar-user-copy em{font-size:9px;color:#7fe2dc;font-style:normal;font-weight:750;margin-top:3px;text-transform:uppercase;letter-spacing:.035em;}
.fd-tech-sidebar-primary{
  min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;
  margin:0 2px 13px;padding:10px 12px;border-radius:10px;
  background:linear-gradient(135deg,#12aea6,#0a918d);color:#fff;font-size:11.5px;font-weight:800;
  box-shadow:0 8px 18px rgba(5,122,119,.22);
}
.fd-tech-sidebar-primary:hover{filter:brightness(1.04);}
.fd-tech-sidebar-primary .fd-ui-icon{width:17px;height:17px;}
.fd-tech-sidebar-nav{display:flex;flex-direction:column;gap:3px;padding-bottom:14px;}
.fd-tech-sidebar-label{
  margin:12px 10px 5px;color:#8fabd0;font-size:8.5px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;
}
.fd-tech-sidebar-nav>a{
  min-height:39px;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;
  color:#d6e3f3;font-size:11.5px;font-weight:700;transition:background .13s ease,color .13s ease,transform .13s ease;
}
.fd-tech-sidebar-nav>a .fd-ui-icon{width:17px;height:17px;color:#a8c3e3;flex:0 0 auto;}
.fd-tech-sidebar-nav>a:hover{background:rgba(255,255,255,.075);color:#fff;transform:translateX(1px);}
.fd-tech-sidebar-nav>a:hover .fd-ui-icon{color:#d8f4f1;}
.fd-tech-sidebar-nav>a.is-active{
  background:linear-gradient(90deg,#32aaa7,#49a6ae);color:#fff;box-shadow:0 6px 17px rgba(4,83,93,.22);
}
.fd-tech-sidebar-nav>a.is-active .fd-ui-icon{color:#fff;}
.fd-tech-mobile-head{display:none;}

/* Impersonation warning becomes part of the workspace instead of old-site chrome. */
.fd-impersonation-banner{
  margin-left:var(--fd-tech-rail);
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:8px 18px;
  background:#8b3215;
  color:#fff;
  font-family:Inter,Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:750;
  position:sticky;
  top:0;
  z-index:65;
  box-shadow:0 3px 12px rgba(81,31,9,.12);
}
.fd-impersonation-banner form{margin:0;display:inline-flex;}
.fd-impersonation-banner button{background:#fff;color:#7c2d12;border:0;border-radius:8px;padding:6px 10px;font:inherit;font-size:11px;font-weight:850;cursor:pointer;}

/* Shared authenticated technician pages */
.fd-tech-portal-body .fd-form{max-width:1320px!important;margin:0 auto!important;}
.fd-tech-portal-body .fd-tech-dashboard{max-width:1180px!important;margin:0 auto!important;}
.fd-tech-portal-body .fd-page-head{
  padding:24px 26px!important;
  margin:0 0 18px!important;
  border:1px solid #dce5ef!important;
  border-left:5px solid #159b98!important;
  border-radius:15px!important;
  background:linear-gradient(120deg,#fff 0%,#fff 74%,#eaf8f7 100%)!important;
  box-shadow:0 8px 26px rgba(11,42,92,.045)!important;
}
.fd-tech-portal-body .fd-page-head h1{font-size:30px!important;line-height:1.08!important;letter-spacing:-.55px!important;color:#102451!important;margin:5px 0 7px!important;}
.fd-tech-portal-body .fd-page-head p{font-size:14px!important;color:#667891!important;line-height:1.55!important;margin:0!important;max-width:860px!important;}
.fd-tech-portal-body .fd-section-kicker{font-size:10.5px!important;letter-spacing:.075em!important;font-weight:850!important;color:#128b87!important;text-transform:uppercase!important;}
.fd-tech-portal-body .fd-card,
.fd-tech-portal-body .fd-form-card,
.fd-tech-portal-body .fd-table-wrap{
  border:1px solid #dce5ef!important;
  border-radius:14px!important;
  box-shadow:0 6px 22px rgba(11,42,92,.045)!important;
  background:#fff!important;
}
.fd-tech-portal-body .fd-card{padding:20px!important;}
.fd-tech-portal-body .fd-form-card{padding:22px!important;}
.fd-tech-portal-body .fd-form-card h2,
.fd-tech-portal-body .fd-form-card h3,
.fd-tech-portal-body .fd-card h2,
.fd-tech-portal-body .fd-card h3{color:#142d54!important;letter-spacing:-.15px;}
.fd-tech-portal-body .fd-form-card h2,.fd-tech-portal-body .fd-card h2{font-size:19px!important;}
.fd-tech-portal-body .fd-form-card h3,.fd-tech-portal-body .fd-card h3{font-size:17px!important;}
.fd-tech-portal-body .fd-help{font-size:12.5px!important;line-height:1.5!important;color:#74849a!important;}
.fd-tech-portal-body label{font-size:12px!important;color:#344c6b!important;font-weight:750!important;}
.fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),
.fd-tech-portal-body select,
.fd-tech-portal-body textarea{
  min-height:45px!important;
  border:1px solid #d5dfeb!important;
  border-radius:10px!important;
  padding:10px 12px!important;
  color:#142744!important;
  background:#fff!important;
  font-size:13px!important;
}
.fd-tech-portal-body textarea{min-height:110px!important;line-height:1.5!important;}
.fd-tech-portal-body input:focus,
.fd-tech-portal-body select:focus,
.fd-tech-portal-body textarea:focus{outline:0!important;border-color:#4aacaa!important;box-shadow:0 0 0 3px rgba(21,155,152,.10)!important;}
.fd-tech-portal-body .fd-btn{
  border-radius:9px!important;min-height:38px!important;padding:8px 13px!important;font-size:12px!important;font-weight:750!important;
}
.fd-tech-portal-body .fd-btn-primary{background:linear-gradient(135deg,#24a09b,#138984)!important;border-color:#138984!important;color:#fff!important;box-shadow:0 5px 14px rgba(19,137,132,.14)!important;}
.fd-tech-portal-body .fd-actions{gap:8px!important;}
.fd-tech-portal-body .fd-status{font-size:10.5px!important;font-weight:800!important;padding:5px 8px!important;}
.fd-tech-portal-body .fd-identity-card,
.fd-tech-portal-body .fd-tech-identity-card{
  border:1px solid #dce7ed!important;border-radius:12px!important;background:#f5fafb!important;padding:12px 14px!important;
}
.fd-tech-portal-body .fd-identity-text strong{font-size:12.5px!important;color:#183455!important;}
.fd-tech-portal-body .fd-identity-text span{font-size:10.5px!important;color:#75869a!important;}
.fd-tech-portal-body .fd-table-wrap{overflow:auto!important;padding:0!important;}
.fd-tech-portal-body .fd-table-wrap table{min-width:760px;width:100%;border-collapse:collapse;font-size:13px!important;}
.fd-tech-portal-body .fd-table-wrap thead th{padding:12px 13px!important;background:#f7f9fc!important;color:#6c7d93!important;font-size:10.5px!important;letter-spacing:.045em!important;text-transform:uppercase!important;}
.fd-tech-portal-body .fd-table-wrap tbody td{padding:13px!important;color:#334d6e!important;font-size:12.5px!important;border-bottom:1px solid #e9eef4!important;}
.fd-tech-portal-body .fd-table-wrap tbody tr:hover{background:#fbfdff!important;}
.fd-tech-portal-body .fd-form-grid{gap:15px!important;}
.fd-tech-portal-body .fd-form-grid.three{gap:15px!important;}

/* QC's old extra identity bar becomes two clean workflow tabs. */
.fd-qc-workflow-tabs{
  display:inline-flex;align-items:center;gap:6px;padding:5px;margin:0 0 16px;
  border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(11,42,92,.035);
}
.fd-qc-workflow-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:8px;color:#5f718a;font-size:11.5px;font-weight:750;}
.fd-qc-workflow-tabs a .fd-ui-icon{width:15px;height:15px;}
.fd-qc-workflow-tabs a:hover{background:#f4f8fb;color:#214e86;}
.fd-qc-workflow-tabs a.is-active{background:#e9f8f7;color:#0b837f;}

/* Portal dashboard scale upgraded to desktop command-center proportions. */
.fd-tech-portal-body .fd-tech-welcome{margin:0 0 20px!important;}
.fd-tech-portal-body .fd-tech-welcome h1{font-size:31px!important;color:#102451!important;}
.fd-tech-portal-body .fd-tech-welcome p{font-size:12.5px!important;}
.fd-tech-portal-body .fd-tech-priority{border-radius:15px!important;box-shadow:0 8px 28px rgba(11,42,92,.045)!important;}
.fd-tech-portal-body .fd-tech-priority h2{font-size:17px!important;}
.fd-tech-portal-body .fd-tech-priority p{font-size:12.5px!important;}
.fd-tech-portal-body .fd-tech-section>h2,.fd-tech-portal-body .fd-tech-section-head h2{font-size:16px!important;}
.fd-tech-portal-body .fd-tech-section-head>a{font-size:11.5px!important;}
.fd-tech-portal-body .fd-tech-quick-grid strong{font-size:12px!important;}
.fd-tech-portal-body .fd-tech-week-grid small{font-size:10.5px!important;}
.fd-tech-portal-body .fd-tech-week-grid em{font-size:9.5px!important;}
.fd-tech-portal-body .fd-tech-upcoming-row strong,.fd-tech-portal-body .fd-tech-recent-row strong{font-size:12px!important;}
.fd-tech-portal-body .fd-tech-upcoming-row small,.fd-tech-portal-body .fd-tech-recent-row small{font-size:10.5px!important;}
.fd-tech-portal-body .fd-tech-more-grid strong{font-size:12px!important;}
.fd-tech-portal-body .fd-tech-more-grid small{font-size:10px!important;}

/* Continued Education / course experience */
.fd-tech-portal-body .fd-ce-shell{max-width:980px;margin:0 auto;border:1px solid #dce5ef!important;border-radius:15px!important;box-shadow:0 8px 26px rgba(11,42,92,.045)!important;}
.fd-tech-portal-body .fd-ce-progress-row{padding:17px 22px 0!important;}
.fd-tech-portal-body .fd-ce-progress-label{font-size:10.5px!important;color:#65768c!important;}
.fd-tech-portal-body .fd-ce-progress-track{height:8px!important;margin:8px 22px 0!important;}
.fd-tech-portal-body .fd-ce-dots{padding:12px 22px 0!important;gap:6px!important;}
.fd-tech-portal-body .fd-ce-dot{width:8px!important;height:8px!important;}
.fd-tech-portal-body .fd-ce-body{padding:25px 26px!important;}
.fd-tech-portal-body .fd-ce-eyebrow{font-size:10.5px!important;}
.fd-tech-portal-body .fd-ce-title{font-size:22px!important;color:#142d54!important;margin-bottom:17px!important;}
.fd-tech-portal-body .fd-ce-p,.fd-tech-portal-body .fd-ce-list{font-size:14px!important;color:#354b66!important;line-height:1.72!important;}
.fd-tech-portal-body .fd-ce-nav-row{padding:14px 20px!important;background:#f7f9fc!important;}
.fd-tech-portal-body .fd-education-empty h2{font-size:18px!important;}
.fd-tech-portal-body .fd-form>a>.fd-card{transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;}
.fd-tech-portal-body .fd-form>a>.fd-card:hover{transform:translateY(-1px);border-color:#b9d5db!important;box-shadow:0 10px 28px rgba(11,42,92,.07)!important;}

/* Training Library: undo admin-card class collision and make resources readable. */
.fd-tech-portal-body .fd-training-hero{border-radius:15px!important;border:1px solid #dce5ef!important;border-left:5px solid #159b98!important;box-shadow:0 8px 26px rgba(11,42,92,.045)!important;background:linear-gradient(120deg,#fff,#fff 72%,#eaf8f7)!important;padding:22px 24px!important;}
.fd-tech-portal-body .fd-training-hero h1{font-size:29px!important;color:#102451!important;}
.fd-tech-portal-body .fd-training-hero p{font-size:13px!important;color:#6d7e94!important;}
.fd-tech-portal-body .fd-training-stat strong{font-size:20px!important;}
.fd-tech-portal-body .fd-training-stat span{font-size:9.5px!important;}
.fd-tech-portal-body .fd-training-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(310px,1fr))!important;gap:14px!important;}
.fd-tech-portal-body .fd-training-card{
  display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important;align-items:stretch!important;
  min-width:0!important;padding:17px 18px!important;border:1px solid #dce5ef!important;border-radius:13px!important;background:#fff!important;
}
.fd-tech-portal-body .fd-training-card--pinned{border-color:#e8c86d!important;background:linear-gradient(180deg,#fffef8,#fff)!important;}
.fd-tech-portal-body .fd-training-card:before{display:none!important;}
.fd-tech-portal-body .fd-training-card-top{margin-bottom:8px!important;}
.fd-tech-portal-body .fd-training-card-badges{margin:0 0 7px!important;gap:5px!important;}
.fd-tech-portal-body .fd-training-card-badges .fd-status{font-size:10px!important;padding:4px 7px!important;}
.fd-tech-portal-body .fd-training-card-title,.fd-tech-portal-body .fd-training-card h3{font-size:14.5px!important;line-height:1.35!important;color:#173454!important;margin:0 0 8px!important;white-space:normal!important;overflow:visible!important;}
.fd-tech-portal-body .fd-training-copy,.fd-tech-portal-body .fd-training-description,.fd-tech-portal-body .fd-training-card p{font-size:12.5px!important;line-height:1.55!important;color:#5d6f86!important;margin:0 0 10px!important;display:block!important;overflow:visible!important;}
.fd-tech-portal-body .fd-training-preview{display:-webkit-box!important;-webkit-line-clamp:4!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.fd-tech-portal-body .fd-training-card .fd-actions,.fd-tech-portal-body .fd-training-actions{display:flex!important;grid-column:auto!important;justify-content:flex-start!important;margin-top:auto!important;padding-top:10px!important;gap:6px!important;border-top:1px solid #edf1f5!important;}
.fd-tech-portal-body .fd-training-card-actions{display:flex!important;grid-column:auto!important;}
.fd-tech-portal-body .fd-training-section-header{border-radius:12px!important;border-color:#dce5ef!important;padding:13px 15px!important;}
.fd-tech-portal-body .fd-training-section-title{font-size:14px!important;}
.fd-tech-portal-body .fd-training-section-desc,.fd-tech-portal-body .fd-training-section-count{font-size:11px!important;}
.fd-tech-portal-body .fd-training-filterbar,.fd-tech-portal-body .fd-quick-access-wrap,.fd-tech-portal-body .fd-onboard-banner{border-radius:13px!important;border-color:#dce5ef!important;box-shadow:0 5px 18px rgba(11,42,92,.035)!important;}

/* Contact cards and submission cards/tables get the same readable density. */
.fd-tech-portal-body .fd-contact-grid,.fd-tech-portal-body .fd-contact-cards{gap:12px!important;}
.fd-tech-portal-body .fd-contact-card{border-radius:13px!important;border-color:#dce5ef!important;box-shadow:0 5px 18px rgba(11,42,92,.035)!important;}
.fd-tech-portal-body .fd-submission-week{border-radius:14px!important;border-color:#dce5ef!important;box-shadow:0 6px 22px rgba(11,42,92,.04)!important;}

/* Public/customer pages still use the new visual system even without a tech session. */
.fd-public-workflow-body .fd-shell,
body:not(.fd-admin-body):not(.fd-tech-portal-body):not(.fd-auth-body) .fd-shell{max-width:1120px!important;}

/* Desktop responsiveness */
@media(max-width:1180px){
  .fd-tech-portal-body{--fd-tech-rail:232px;}
  .fd-tech-portal-body .fd-shell{padding-left:22px!important;padding-right:22px!important;}
  .fd-tech-sidebar{padding-left:10px;padding-right:10px;}
  .fd-tech-sidebar-nav>a{font-size:11px;}
  .fd-tech-portal-body .fd-training-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

@media(max-width:860px){
  .fd-tech-portal-body{--fd-tech-rail:0px;}
  .fd-tech-sidebar{display:none!important;}
  .fd-impersonation-banner{margin-left:0!important;position:relative!important;font-size:10.5px!important;line-height:1.35;flex-wrap:wrap;}
  .fd-tech-portal-body .fd-shell{margin:0!important;width:100%!important;padding:0 14px 108px!important;}
  .fd-tech-mobile-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    margin:0 -14px 16px;padding:9px 14px;min-height:68px;
    background:#fff;border-bottom:1px solid #dfe6ee;box-shadow:0 4px 16px rgba(11,42,92,.035);position:sticky;top:0;z-index:60;
  }
  .fd-tech-mobile-brand img{display:block;width:168px;max-height:43px;object-fit:contain;}
  .fd-tech-mobile-user{display:flex;align-items:center;gap:7px;min-width:0;}
  .fd-tech-mobile-user>span{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#245fc8,#20a39d);color:#fff;font-size:10px;font-weight:850;}
  .fd-tech-mobile-user strong{display:none;}
  .fd-tech-portal-body .fd-form,.fd-tech-portal-body .fd-tech-dashboard{max-width:none!important;}
  .fd-tech-portal-body .fd-page-head{padding:18px!important;border-radius:13px!important;}
  .fd-tech-portal-body .fd-page-head h1{font-size:24px!important;}
  .fd-tech-portal-body .fd-page-head p{font-size:12.5px!important;}
  .fd-qc-workflow-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;}
  .fd-qc-workflow-tabs a{justify-content:center;text-align:center;}
  .fd-tech-portal-body .fd-training-grid{grid-template-columns:1fr!important;}
  .fd-tech-portal-body .fd-form-grid.three{grid-template-columns:1fr 1fr!important;}
}

@media(max-width:620px){
  .fd-tech-portal-body .fd-form-card,.fd-tech-portal-body .fd-card{padding:15px!important;}
  .fd-tech-portal-body .fd-form-grid,.fd-tech-portal-body .fd-form-grid.three{grid-template-columns:1fr!important;gap:12px!important;}
  .fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),.fd-tech-portal-body select,.fd-tech-portal-body textarea{font-size:16px!important;}
  .fd-tech-portal-body .fd-ce-body{padding:19px 17px!important;}
  .fd-tech-portal-body .fd-ce-p,.fd-tech-portal-body .fd-ce-list{font-size:14px!important;}
  .fd-tech-portal-body .fd-ce-nav-row{padding:12px 14px!important;}
  .fd-tech-portal-body .fd-training-hero{padding:18px!important;}
  .fd-tech-portal-body .fd-training-hero h1{font-size:24px!important;}
}

/* Tablet uses the mobile navigation shell too; the original bottom-nav
   breakpoint was 760px, which left 761–860px with no navigation once the
   new desktop rail collapsed. */
@media(max-width:860px){
  .fd-mobile-bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:end;
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:80;
    min-height:73px;
    padding:8px max(7px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
    background:rgba(255,255,255,.98);
    border-top:1px solid #dfe5ed;
    box-shadow:0 -8px 28px rgba(9,31,66,.07);
    backdrop-filter:blur(14px);
  }
  .fd-mobile-bottom-nav>a,.fd-mobile-more-menu>summary{
    min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    color:#64738a;font-size:8.5px;font-weight:650;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent;
  }
  .fd-mobile-bottom-nav>a .fd-ui-icon,.fd-mobile-more-menu>summary .fd-ui-icon{width:21px;height:21px;}
  .fd-mobile-bottom-nav>a.is-active{color:#079b96;}
  .fd-mobile-bottom-nav .fd-mobile-primary-action{
    position:absolute;left:50%;top:-23px;transform:translateX(-50%);z-index:2;
    width:54px;height:54px;margin:0;border-radius:50%;display:grid;place-items:center;
    background:linear-gradient(145deg,#0b9f99,#0bb9af);color:#fff;border:5px solid #fff;box-shadow:0 6px 18px rgba(8,151,144,.28);
  }
  .fd-mobile-bottom-nav .fd-mobile-primary-action .fd-ui-icon{width:22px;height:22px;}
  .fd-mobile-more-menu{position:relative;min-width:0;}
  .fd-mobile-more-menu>summary::-webkit-details-marker{display:none;}
  .fd-mobile-more-panel{
    position:absolute;right:0;bottom:57px;width:225px;background:#fff;border:1px solid #dce5ef;border-radius:12px;
    padding:7px;box-shadow:0 18px 45px rgba(6,28,64,.18);display:flex;flex-direction:column;gap:2px;max-height:62vh;overflow:auto;
  }
  .fd-mobile-more-panel a{display:flex;align-items:center;gap:9px;padding:10px;border-radius:8px;color:#304564;font-size:11px;font-weight:700;}
  .fd-mobile-more-panel a:hover{background:#f3f7fb;}
  .fd-mobile-more-panel a .fd-ui-icon{width:17px;height:17px;color:#0b938e;}
}


/* v1.6.2 force overrides */
@media(min-width:861px){
  body.fd-tech-portal-body{padding-left:0!important;}
  .fd-tech-portal-body>.fd-topbar{display:none!important;}
  .fd-tech-portal-body>.fd-impersonation-banner{margin-left:var(--fd-tech-rail)!important;}
  .fd-tech-portal-body>.fd-shell{margin-left:var(--fd-tech-rail)!important;max-width:none!important;width:auto!important;min-height:100vh!important;padding:30px 34px 60px!important;}
  .fd-tech-sidebar{display:flex!important;width:var(--fd-tech-rail)!important;}
  .fd-tech-mobile-head,.fd-mobile-bottom-nav{display:none!important;}
}

/* Page-level Command Center visual language */
.fd-tech-portal-body .fd-page-head,
.fd-tech-portal-body .fd-training-hero,
.fd-tech-portal-body .fd-tech-welcome{
  background:linear-gradient(120deg,#fff 0%,#fff 70%,#eaf8f7 100%)!important;
  border:1px solid #dce5ef!important;
  border-left:5px solid #17a39e!important;
  border-radius:16px!important;
  box-shadow:0 8px 26px rgba(11,42,92,.05)!important;
}
.fd-tech-portal-body .fd-page-head{padding:24px 26px!important;margin-bottom:18px!important;}
.fd-tech-portal-body .fd-page-head h1{font-size:30px!important;line-height:1.12!important;letter-spacing:-.025em!important;color:#102451!important;}
.fd-tech-portal-body .fd-page-head p{font-size:13px!important;line-height:1.55!important;color:#6b7c93!important;max-width:900px!important;}
.fd-tech-portal-body .fd-card,
.fd-tech-portal-body .fd-form-card,
.fd-tech-portal-body .fd-submission-week,
.fd-tech-portal-body .fd-ce-shell{
  border:1px solid #dce5ef!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 7px 24px rgba(11,42,92,.045)!important;
}
.fd-tech-portal-body .fd-form-card{padding:22px!important;}
.fd-tech-portal-body label,.fd-tech-portal-body .fd-label{font-size:12px!important;font-weight:750!important;color:#274463!important;}
.fd-tech-portal-body input:not([type=checkbox]):not([type=radio]),
.fd-tech-portal-body select,
.fd-tech-portal-body textarea{min-height:44px!important;font-size:13.5px!important;border-radius:9px!important;border-color:#cedaea!important;background:#fff!important;}
.fd-tech-portal-body textarea{min-height:110px!important;}
.fd-tech-portal-body .fd-btn,.fd-tech-portal-body button,.fd-tech-portal-body input[type=submit]{min-height:40px;font-size:12px;font-weight:800;border-radius:9px;}
.fd-tech-portal-body table{font-size:12.5px!important;}
.fd-tech-portal-body th{font-size:10.5px!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#60738b!important;}
.fd-tech-portal-body td{font-size:12.5px!important;color:#27405f!important;}
.fd-tech-portal-body .fd-status{font-size:10.5px!important;}

/* QC pages should read as one workspace, not a second mini-site. */
.fd-tech-portal-body .fd-qc-workflow-tabs{max-width:1320px;margin:0 auto 16px;display:flex;gap:8px;}
.fd-tech-portal-body .fd-qc-workflow-tabs a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid #d8e3ee;border-radius:10px;background:#fff;color:#2d4868;font-size:11.5px;font-weight:800;}
.fd-tech-portal-body .fd-qc-workflow-tabs a.is-active{background:#e9f8f7;border-color:#a9dcd8;color:#087e7a;}

/* Give course material a comfortable reading width while still living in command shell. */
.fd-tech-portal-body .fd-ce-shell{max-width:1040px!important;}
.fd-tech-portal-body .fd-ce-title{font-size:24px!important;}
.fd-tech-portal-body .fd-ce-p,.fd-tech-portal-body .fd-ce-list{font-size:14.5px!important;line-height:1.75!important;}

/* Repair resource cards that previously inherited admin Training Library CSS. */
.fd-tech-portal-body .fd-training-grid{align-items:stretch!important;}
.fd-tech-portal-body .fd-training-card{min-height:190px!important;overflow:hidden!important;}
.fd-tech-portal-body .fd-training-card *{min-width:0;}
.fd-tech-portal-body .fd-training-card-title,.fd-tech-portal-body .fd-training-card h3{overflow-wrap:anywhere!important;}
.fd-tech-portal-body .fd-training-card p{overflow-wrap:anywhere!important;}

@media(max-width:860px){
  :root,.fd-tech-portal-body{--fd-tech-rail:0px;}
  .fd-tech-portal-body>.fd-shell{margin:0!important;padding:0 14px 106px!important;}
  .fd-tech-sidebar{display:none!important;}
  .fd-tech-mobile-head{display:flex!important;}
  .fd-mobile-bottom-nav{display:grid!important;}
  .fd-tech-portal-body .fd-page-head{padding:18px!important;margin-top:10px!important;}
  .fd-tech-portal-body .fd-page-head h1{font-size:24px!important;}
}
