:root{
  --agent-primary:#152945;
  --agent-secondary:#e42313;
  --bg:#eef2f6;
  --card:#ffffff;
  --text:#111827;
  --muted:#64748b;
  --line:#e5e7eb;
  --green:#16875f;
  --radius:20px;
  --shadow:0 18px 50px rgba(15,23,42,.10);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--agent-primary) 16%, transparent), transparent 34%),
    var(--bg);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

input,
select,
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 15px;
  font-size:16px;
  background:#fff;
}

label{
  display:block;
  font-weight:800;
  font-size:14px;
  color:#1f2937;
}

label input,
label select,
label textarea{
  margin-top:8px;
}

.login-screen{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:20px;
  background:linear-gradient(rgba(15,41,54,.34),rgba(15,41,54,.34)),url("welcome.jpg") center/cover no-repeat fixed;
}

.login-card{
  width:min(440px, 100%);
  background:#fff;
  border-radius:28px;
  padding:32px;
  box-shadow:var(--shadow);
}

.login-card h1{
  margin:0 0 8px;
  font-size:34px;
}

.login-card p{
  color:var(--muted);
  margin:0 0 24px;
}

.login-card form{display:grid;gap:20px}
.login-card form label{margin:0}
.login-card form label input{margin-top:8px}
.login-card .login-submit{justify-self:start;margin-top:2px}

.login-mark{
  width:82px;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  background:transparent;
}

.login-mark img{display:block;width:100%;height:100%;object-fit:contain}
.login-submit{background:#107e78!important;color:#fff!important}
.login-submit:hover{background:#0b6d68!important}

.alert{
  background:#fff1f2;
  color:#b42318;
  border:1px solid #fecdd3;
  border-radius:14px;
  padding:12px;
  margin:16px 0;
}

.portal-header{
  position:sticky;
  top:16px;
  z-index:10;
  width:calc(100% - 40px);
  max-width:1500px;
  margin:16px auto 0;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.75);
  border-radius:24px;
  box-shadow:0 12px 36px rgba(15,23,42,.12);
  padding:14px;
  display:flex;
  align-items:center;
  gap:22px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}

.logo-box{
  width:58px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--agent-primary);
  color:#fff;
  font-weight:900;
}

.portal-header nav{
  display:flex;
  gap:16px;
  flex:1;
}

.portal-header nav a,
.header-actions a{
  font-weight:800;
  color:#334155;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.new-order-btn,
.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:var(--agent-secondary);
  color:#fff !important;
  border-radius:16px;
  padding:14px 20px;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
}

.secondary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  background:#fff;
  color:#111827;
  border-radius:16px;
  padding:14px 20px;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
}

.secondary-btn.inline{
  margin-top:20px;
}

.portal-shell{
  width:calc(100% - 40px);
  max-width:1500px;
  margin:28px auto 60px;
}

.dashboard-grid,
.wizard-layout{
  display:grid;
  grid-template-columns:minmax(0, 7fr) minmax(320px, 3fr);
  gap:20px;
  align-items:start;
}

.dashboard-main,
.dashboard-side{
  display:grid;
  gap:20px;
}

.promo-card,
.panel,
.side-card,
.form-card,
.quote-card,
.view-card{
  background:#fff;
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  border:1px solid rgba(226,232,240,.9);
  overflow:hidden;
  position:relative;
}

.promo-card{
  min-height:220px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--agent-primary) 92%, #000), var(--agent-primary));
  color:#fff;
}

.promo-card h1{
  margin:8px 0;
  font-size:38px;
  line-height:1.05;
  max-width:760px;
}

.promo-card p{
  max-width:650px;
  color:rgba(255,255,255,.82);
  font-size:18px;
}

.promo-card a{
  background:#fff;
  color:var(--agent-primary);
  border-radius:16px;
  padding:14px 18px;
  font-weight:900;
  white-space:nowrap;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:color-mix(in srgb, var(--agent-secondary) 14%, #fff);
  color:var(--agent-secondary);
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.panel-head h2,
.form-card h2,
.quote-card h2,
.view-card h1{
  margin:0;
}

.panel-head span{
  color:var(--muted);
  font-weight:800;
}

.order-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto auto auto;
  align-items:center;
  gap:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  margin-bottom:10px;
}

.order-row small{
  display:block;
  color:var(--muted);
  margin-top:4px;
}

.order-row a{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
}

.status,
.status-large{
  background:color-mix(in srgb, var(--agent-primary) 10%, #fff);
  color:var(--agent-primary);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
}

.status.done{
  background:#ecfdf5;
  color:#047857;
}

.status-large{
  display:inline-flex;
  margin:16px 0;
}

.panel-complete{
  border-top:5px solid var(--green);
}

.empty{
  color:var(--muted);
}

.agent-card{
  text-align:center;
}

.agency-logo{
  height:110px;
  display:grid;
  place-items:center;
  border:1px dashed var(--line);
  border-radius:18px;
  margin-bottom:14px;
  color:var(--muted);
  font-weight:900;
}

.agency-logo img{
  max-width:100%;
  max-height:100%;
}

.person-row,
.team-member{
  display:flex;
  align-items:center;
  gap:12px;
}

.avatar{
  width:54px;
  height:54px;
  flex:0 0 auto;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:var(--agent-primary);
  color:#fff;
  font-weight:900;
}

.phone-link{
  display:block;
  font-size:26px;
  font-weight:950;
  margin:16px 0;
}

.open-pill{
  display:inline-flex;
  background:#ecfdf5;
  color:#047857;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
}

.team-member{
  padding:12px 0;
  border-top:1px solid var(--line);
}

.team-member span{
  display:inline-flex;
  margin-top:5px;
  background:#f1f5f9;
  border-radius:999px;
  padding:6px 9px;
  color:#475569;
  font-size:12px;
  font-weight:900;
}

.wizard-title{
  margin-bottom:20px;
}

.wizard-title h1{
  font-size:42px;
  line-height:1.06;
  margin:12px 0 8px;
}

.wizard-title p{
  color:var(--muted);
  font-size:18px;
}

.progress-wrap{
  margin-bottom:20px;
}

.progress-bar{
  height:13px;
  background:#e2e8f0;
  border-radius:999px;
  overflow:hidden;
}

.progress-bar span{
  display:block;
  height:100%;
  background:linear-gradient(90deg, var(--agent-primary), var(--agent-secondary));
  border-radius:999px;
  transition:.25s ease;
}

.progress-wrap small{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-weight:900;
}

.wizard-step{
  display:none;
}

.wizard-step.is-active{
  display:block;
}

.form-card h2{
  font-size:30px;
  margin-bottom:10px;
}

.form-card h3{
  margin:24px 0 12px;
  font-size:18px;
}

.hint{
  color:var(--muted);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form-grid.two{
  grid-template-columns:1fr 1fr;
}

.form-grid.three{
  grid-template-columns:1fr 1fr 1fr;
  margin-top:20px;
}

.icon-grid,
.service-grid,
.pill-grid{
  display:grid;
  gap:12px;
}

.icon-grid{
  grid-template-columns:repeat(5, 1fr);
}

.service-grid{
  grid-template-columns:repeat(3, 1fr);
}

.pill-grid{
  grid-template-columns:repeat(4, 1fr);
}

.choice-card,
.service-card,
.pill-choice span{
  border:1px solid var(--line);
  background:#fff;
  border-radius:20px;
  padding:16px;
  cursor:pointer;
  transition:.18s ease;
}

.choice-card,
.service-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:130px;
}

.choice-card input,
.service-card input,
.pill-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.choice-card span,
.service-icon{
  font-size:34px;
}

.choice-card:hover,
.service-card:hover,
.pill-choice span:hover{
  transform:translateY(-2px);
  border-color:var(--agent-secondary);
}

.choice-card.is-selected,
.service-card.is-selected,
.pill-choice input:checked + span{
  border-color:var(--agent-secondary);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--agent-secondary) 16%, transparent);
  background:color-mix(in srgb, var(--agent-secondary) 5%, #fff);
}

.service-card em{
  margin-top:auto;
  color:var(--agent-primary);
  font-style:normal;
  font-weight:950;
}

.service-card.is-disabled{
  opacity:.35;
  pointer-events:none;
  display:none;
}

.pill-choice span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  font-weight:900;
}

.vendor-contribution-field{
  margin-top:14px;
}

.wizard-actions{
  display:flex;
  justify-content:space-between;
  margin-top:20px;
}

.quote-panel{
  position:sticky;
  top:118px;
}

.quote-card{
  border-top:6px solid var(--agent-secondary);
}

.summary-line,
.summary-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.summary-row span{
  color:#334155;
}

.selected-services p{
  color:var(--muted);
}

.price-stack{
  margin-top:18px;
  border-radius:18px;
  background:#f8fafc;
  padding:14px;
}

.price-stack div{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
}

.price-stack .total{
  border-top:1px solid var(--line);
  margin-top:8px;
  padding-top:14px;
  font-size:22px;
}

.review-box{
  display:grid;
  gap:12px;
}

.review-section{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#f8fafc;
}

.review-section h3{
  margin-top:0;
}

.submit-btn{
  width:100%;
  margin-top:20px;
  min-height:60px;
}

.view-card{
  max-width:900px;
  margin:0 auto;
}

.view-card h1{
  font-size:42px;
  margin-top:10px;
}

@media (max-width: 980px){
  .portal-header{
    position:relative;
    top:0;
    flex-wrap:wrap;
  }

  .dashboard-grid,
  .wizard-layout{
    grid-template-columns:1fr;
  }

  .quote-panel{
    position:relative;
    top:0;
  }

  .icon-grid,
  .service-grid,
  .pill-grid,
  .form-grid,
  .form-grid.two,
  .form-grid.three{
    grid-template-columns:1fr;
  }

  .order-row{
    grid-template-columns:1fr;
  }

  .promo-card{
    flex-direction:column;
    align-items:flex-start;
  }

  .promo-card h1,
  .wizard-title h1{
    font-size:32px;
  }
  
}
/* =========================
   HEADER - CLEAN RESET
   ========================= */

.portal-header{
  position:sticky;
  top:16px;
  z-index:10;
  width:calc(100% - 40px);
  max-width:1500px;
  margin:16px auto 0;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.75);
  border-radius:24px;
  box-shadow:0 12px 36px rgba(15,23,42,.12);
  padding:12px 18px;

  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo-box{
  width:48px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--agent-primary);
  color:#fff;
  font-size:14px;
  font-weight:700;
  flex:0 0 auto;
}

.logo-box img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.brand strong{
  font-size:16px;
  font-weight:700;
  color:#111827;
  white-space:nowrap;
}

.portal-header nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:20px;
  min-width:0;
}

.portal-header nav a,
.header-actions a{
  font-weight:600;
  color:#334155;
  white-space:nowrap;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
}

.new-order-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:var(--agent-secondary);
  color:#fff !important;
  border-radius:16px;
  padding:13px 18px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  white-space:nowrap;
}

@media (max-width: 980px){
  .portal-header{
    position:relative;
    top:0;
    grid-template-columns:1fr;
    row-gap:14px;
  }

  .portal-header nav,
  .header-actions{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}

/* Scheduling v2 support */
.calendar-actions{display:flex;gap:10px;flex-wrap:wrap;}
.primary-btn,.secondary-btn{white-space:nowrap;}

/* v3.2 role-aware ops dashboard */
.dashboard-grid--ops{
  grid-template-columns:1fr !important;
}
.dashboard-grid--ops .dashboard-main{
  max-width:100%;
}

/* =========================
   V3.5 HEADER / LOGO POLISH
   ========================= */
.portal-header{
  min-height:78px;
  grid-template-columns:auto minmax(0,1fr) minmax(210px,290px) auto;
  align-items:center !important;
}

.brand{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  height:100%;
}

.logo-box{
  width:56px !important;
  height:56px !important;
  padding:0 !important;
  border-radius:18px !important;
  background:transparent !important;
  color:var(--agent-primary);
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:0 !important;
  overflow:visible !important;
}

.logo-box img{
  display:block !important;
  width:54px !important;
  height:54px !important;
  max-width:54px !important;
  max-height:54px !important;
  object-fit:contain !important;
  object-position:center !important;
}

.brand strong{
  display:flex !important;
  align-items:center !important;
  min-height:56px;
  margin:0 !important;
  padding:0 !important;
  line-height:1 !important;
  font-size:22px !important;
  font-weight:800 !important;
  color:#111827;
}

.portal-header nav{
  align-items:center !important;
}

.header-settings{position:relative;color:#334155;font-weight:600;white-space:nowrap}
.header-settings summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;user-select:none}
.header-settings summary::-webkit-details-marker{display:none}
.header-settings summary span{font-size:13px;transition:transform .18s ease}
.header-settings[open] summary span{transform:rotate(180deg)}
.portal-header nav>a.is-active,.header-settings.is-active>summary{padding:8px 11px;border-radius:10px;background:#e8f5f3;color:var(--agent-primary);font-weight:800}
.portal-header{position:relative;top:auto}
.header-settings-menu{position:absolute;top:calc(100% + 14px);left:-14px;z-index:30;display:grid;min-width:190px;padding:8px;border:1px solid #e1e6ec;border-radius:14px;background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.16)}
.portal-header nav .header-settings-menu a{padding:11px 12px;border-radius:9px;font-size:14px}
.portal-header nav .header-settings-menu a:hover{background:#edf8f6;color:var(--agent-primary)}

.header-actions{
  align-items:center !important;
}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header-order-search{position:relative;flex:0 1 290px;min-width:190px}.header-order-search input{width:100%;height:44px;padding:10px 38px 10px 15px;border:1px solid #dce3e8;border-radius:14px;background:#f7f9fa;color:#111827;font:inherit;font-size:14px;outline:none}.header-order-search input:focus{border-color:var(--agent-primary);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--agent-primary) 14%,transparent)}.header-order-search__icon{position:absolute;top:10px;right:13px;color:#64748b;font-size:21px;pointer-events:none}.header-order-search__results{position:absolute;top:calc(100% + 10px);right:0;z-index:50;width:min(430px,90vw);max-height:430px;overflow:auto;padding:7px;border:1px solid #dde4e9;border-radius:16px;background:#fff;box-shadow:0 20px 48px rgba(15,23,42,.2)}.header-order-search__results a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px;border-radius:11px;color:#172033!important;text-decoration:none}.header-order-search__results a:hover,.header-order-search__results a.is-active{background:#edf8f6}.header-order-search__main,.header-order-search__meta{display:grid;gap:4px}.header-order-search__main{min-width:0}.header-order-search__main strong,.header-order-search__main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-order-search__main small,.header-order-search__meta small{color:#64748b;font-size:12px}.header-order-search__meta{flex:0 0 auto;justify-items:end;text-align:right}.header-order-search__meta em{padding:4px 8px;border-radius:999px;background:#e5f4f1;color:var(--agent-primary);font-size:11px;font-style:normal;font-weight:800}.header-order-search__message{padding:15px;color:#64748b;font-size:14px;text-align:center}

@media (max-width:1250px){.portal-header{column-gap:18px}.portal-header nav{gap:14px}.header-order-search{min-width:170px}.header-order-search input{padding-left:12px}.header-order-search input::placeholder{color:transparent}}

@media (min-width:761px) and (max-width:980px){.portal-header{grid-template-columns:auto minmax(0,1fr) auto!important}.header-order-search{display:none}.portal-header nav,.header-actions{flex-wrap:nowrap}}

/* Keep mobile tidy: brand only */
@media (max-width: 760px){
  .portal-header{
    width:calc(100% - 28px);
    min-height:74px;
    padding:10px 16px;
    grid-template-columns:1fr !important;
    justify-items:start;
  }

  .portal-header nav,
  .portal-header .header-actions,
  .header-order-search{
    display:none !important;
  }

  .brand{
    width:100%;
  }

  .logo-box{
    width:50px !important;
    height:50px !important;
  }

  .logo-box img{
    width:48px !important;
    height:48px !important;
    max-width:48px !important;
    max-height:48px !important;
  }

  .brand strong{
    min-height:50px;
    font-size:20px !important;
  }
}

/* ==========================================================
   Team management
   ========================================================== */
.team-shell,
.team-form-shell{max-width:1500px}
.team-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:24px 0}
.team-toolbar h1{margin:8px 0 4px;font-size:44px}
.team-panel{padding:24px}
.team-list{display:grid;gap:10px}
.team-row{display:grid;grid-template-columns:8px minmax(260px,1.2fr) 180px minmax(260px,1fr) auto;gap:18px;align-items:center;padding:16px 18px;border:1px solid #e3e8ee;border-radius:18px;background:#fff}
.team-row.is-inactive{opacity:.58;background:#f6f7f9}
.team-colour{width:8px;height:48px;border-radius:99px;background:var(--team-colour)}
.team-person,.team-location{display:grid;gap:4px;min-width:0}
.team-person small,.team-location small{color:#65738a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.team-role{display:inline-flex;margin-right:6px;padding:7px 11px;border-radius:999px;background:#e6f3f1;color:#107e78;font-size:13px;font-weight:800}
.team-role--inactive{background:#eceef2;color:#657083}
.team-form-shell{max-width:1100px}
.team-form-card{max-width:none}
.team-form-card .alert{margin:20px 0;padding:16px 18px;border-radius:14px;background:#fff0ee;color:#a33329}
.team-form-card .alert ul{margin:8px 0 0;padding-left:20px}
.team-password{grid-column:1 / -1}
.team-active{display:flex!important;align-items:center;gap:10px;align-self:end;min-height:54px}
.team-active input{width:20px!important;height:20px!important;margin:0}
.skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 28px}
.skill-option{display:flex!important;align-items:center;gap:10px;padding:14px 16px;border:1px solid #dde3ea;border-radius:14px;background:#f8fafb;cursor:pointer}
.skill-option input{width:19px!important;height:19px!important;margin:0;accent-color:var(--agent-primary)}
.skill-option:has(input:checked){border-color:var(--agent-primary);background:#edf8f6}
.service-list{display:grid;gap:10px}
.service-row{display:grid;grid-template-columns:minmax(280px,1fr) 130px 130px 120px auto;gap:18px;align-items:center;padding:16px 18px;border:1px solid #e3e8ee;border-radius:18px;background:#fff}
.service-description-field{grid-column:1 / -1}
.service-description{overflow-wrap:anywhere}
.service-row.is-inactive{opacity:.58;background:#f6f7f9}
.service-row>div{display:grid;gap:4px}.service-row small{color:#65738a}
.duration-rules{margin:28px 0;padding:22px;border:1px solid #dde3ea;border-radius:18px;background:#f8fafb}
.duration-rules-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.duration-rules-heading h2{margin:0 0 5px;font-size:23px}.duration-rules-heading p{margin:0;color:#65738a}
.duration-rules-labels,.duration-rule-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:center}
.duration-rules-labels{padding:0 2px 7px;color:#65738a;font-size:13px;font-weight:800}
.duration-rule-row{margin-bottom:10px}.duration-rule-row input{width:100%;margin:0}
.duration-rule-remove{min-height:52px;padding:0 15px;border:1px solid #dce2e9;border-radius:13px;background:#fff;color:#a33329;font-weight:800;cursor:pointer}
.assignment-services li{display:flex;justify-content:space-between;gap:20px}.assignment-services li strong{white-space:nowrap;color:var(--agent-primary)}
.client-search-label{display:grid;gap:7px;max-width:680px;margin-bottom:22px;font-weight:800}.client-search-label input{margin:0}
.client-list{display:grid;gap:10px}.client-row{display:grid;grid-template-columns:58px minmax(220px,1.2fr) minmax(220px,1fr) 110px 100px auto;gap:16px;align-items:center;padding:15px 17px;border:1px solid #e3e8ee;border-radius:18px;background:#fff}.client-row.is-inactive{opacity:.58;background:#f6f7f9}.client-row>div{display:grid;gap:4px;min-width:0}.client-row small{color:#65738a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-logo{display:grid!important;place-items:center;width:50px;height:50px;border-radius:13px;background:#eef2f5;color:var(--agent-primary);font-size:22px;font-weight:900;overflow:hidden}.client-logo img{width:100%;height:100%;object-fit:contain}
.client-section{margin-top:28px;padding-top:24px;border-top:1px solid #e1e6ec}.client-section h2{margin:0 0 14px}.client-logo-field{grid-column:1/-1}.client-logo-field img{display:block;max-width:180px;max-height:80px;margin-top:10px;object-fit:contain}
.client-override-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-override-grid label{display:grid;grid-template-columns:1fr 150px;gap:14px;align-items:center;padding:13px 15px;border:1px solid #dde3ea;border-radius:14px;background:#f8fafb}.client-override-grid label span{display:grid;gap:3px}.client-override-grid small{color:#65738a}.client-override-grid input{margin:0}.staff-dot{width:12px;height:36px;border-radius:99px}.skill-option>span:last-child{display:grid;gap:3px}.skill-option small{color:#65738a}.danger-btn{padding:14px 20px;border:1px solid #d54b3d;border-radius:14px;background:#fff;color:#b52f24;font-weight:850;cursor:pointer}
.edit-order-warning{display:grid;gap:5px;margin:18px 0;padding:15px 17px;border-radius:14px;background:#fff4df;color:#914b0b}.success-message{margin:18px 0;padding:14px 17px;border-radius:14px;background:#e8f5f3;color:#17655f;font-weight:800}.edit-order-pills{margin:16px 0}.edit-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.edit-service-option{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #dde3ea;border-radius:14px;background:#f8fafb;cursor:pointer}.edit-service-option input{width:20px!important;height:20px!important;margin:0;accent-color:var(--agent-primary)}.edit-service-option span{display:grid;gap:3px}.edit-service-option small{color:#65738a}.edit-service-option:has(input:checked){border-color:var(--agent-primary);background:#edf8f6}
.setup-status{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:24px 0}
.setup-status>div{display:grid;gap:6px;padding:16px;border:1px solid #e1e6ec;border-radius:14px;background:#f8fafb}
.setup-status span{color:#65738a;font-size:13px;font-weight:700}
.setup-progress{height:12px;margin:20px 0 10px;border-radius:99px;background:#e8edf1;overflow:hidden}
.setup-progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--agent-primary);transition:width .2s ease}

/* Office jobs index */
.office-jobs-shell{max-width:1500px}
.office-jobs-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:30px 0 20px}
.office-jobs-heading h1{margin:0 0 6px;font-size:44px;line-height:1.05}
.office-jobs-heading p{margin:0;color:#65738a}
.office-jobs-count{display:inline-flex;padding:8px 13px;border-radius:999px;background:#e6f3f1;color:var(--agent-primary);font-size:14px;font-weight:850}
.office-jobs-filters{display:grid;grid-template-columns:1fr 1fr 1.25fr 1.25fr auto;gap:12px;align-items:end;margin:0 0 18px;padding:18px 20px;border:1px solid #e1e6ec;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.office-jobs-filters label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:800}
.office-jobs-filters input,.office-jobs-filters select{width:100%;height:46px;margin:0;padding:9px 12px;border:1px solid #dce3e8;border-radius:12px;background:#f8fafb;color:#172033;font:inherit}
.office-jobs-filters input:focus,.office-jobs-filters select:focus{border-color:var(--agent-primary);outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--agent-primary) 12%,transparent)}
.office-jobs-filter-actions{display:flex;align-items:center;gap:12px;min-height:46px}
.office-jobs-filter-actions .primary-btn{height:46px;padding:0 17px;border:0}
.office-jobs-filter-actions a{color:var(--agent-primary);font-size:13px;font-weight:800}
.office-jobs-panel{max-width:none;padding:12px 20px 20px}
.office-jobs-table-wrap{width:100%;overflow-x:auto}
.office-jobs-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1250px;text-align:left}
.office-jobs-table th{padding:15px 12px;border-bottom:1px solid #dfe5eb;color:#65738a;font-size:12px;font-weight:850;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
.office-jobs-table td{padding:16px 12px;border-bottom:1px solid #e6eaee;color:#263247;font-size:14px;vertical-align:middle}
.office-jobs-table tbody tr:last-child td{border-bottom:0}
.office-jobs-table tbody tr:hover td{background:#f8fbfb}
.office-job-id{display:inline-grid;place-items:center;min-width:48px;height:34px;padding:0 10px;border-radius:999px;background:var(--agent-primary);color:#fff;font-weight:900}
.office-job-status{display:inline-flex;padding:7px 10px;border-radius:999px;background:#edf0f3;color:#536073;font-size:12px;font-weight:850;white-space:nowrap}
.office-job-status--new{background:#e5f4f1;color:#107e78}
.office-job-status--booked{background:#e8eefc;color:#315ca8}
.office-job-status--in-progress{background:#fff1d7;color:#995100}
.office-job-status--complete{background:#e8f5e9;color:#397040}
.office-job-status--cancelled{background:#f3e8e7;color:#98433b}
.office-job-address{display:block;max-width:260px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.office-job-postcode{font-weight:800;white-space:nowrap}
.office-job-services{display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:360px}
.office-job-services span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef2f5;color:#435069;font-size:11px;font-weight:750;white-space:nowrap}
.office-job-services small,.office-job-unassigned,.office-job-branch{color:#7a8799}
.office-job-branch{display:block;margin-top:3px;font-size:12px}
.office-job-unassigned{font-style:italic}
.office-job-action{text-align:right}
.office-job-action .secondary-btn{display:inline-flex;padding:10px 15px;border-radius:11px}

@media (max-width:760px){
  .office-jobs-heading{align-items:flex-start;flex-direction:column;margin-top:24px}
  .office-jobs-heading h1{font-size:36px}
  .office-jobs-panel{padding:10px 14px}
  .office-jobs-filters{grid-template-columns:1fr;padding:15px}
  .office-jobs-table{min-width:0;display:block}
  .office-jobs-table thead{display:none}
  .office-jobs-table tbody{display:grid;gap:12px}
  .office-jobs-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1e6ec;border-radius:16px;overflow:hidden}
  .office-jobs-table td{display:grid;gap:5px;padding:11px 13px;border:0}
  .office-jobs-table td::before{content:attr(data-label);color:#7a8799;font-size:10px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
  .office-jobs-table td:nth-child(3),.office-jobs-table td:nth-child(5),.office-jobs-table td:nth-child(7),.office-job-action{grid-column:1/-1}
  .office-job-action{text-align:left;background:#f8fafb}
  .office-job-action::before{display:none}
}

@media (min-width:761px) and (max-width:1100px){.office-jobs-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.office-jobs-filter-actions{grid-column:1/-1}}

/* Order detail */
.order-detail-shell{max-width:1500px}
.order-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.order-detail-actions>div{display:flex;gap:10px}
.order-cancel-form{margin:0}.order-cancel-form .danger-btn{height:100%}
.order-cancel-placeholder:disabled{opacity:.55;cursor:not-allowed;background:#fff}
.order-detail-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);gap:20px;align-items:start}
.order-detail-main,.order-detail-side{display:grid;gap:20px}.order-detail-side{position:sticky;top:122px}
.order-detail-card{padding:26px;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:22px;box-shadow:0 16px 42px rgba(15,23,42,.08);overflow:hidden}
.order-detail-card h1{margin:9px 0 7px;font-size:42px;line-height:1.05}.order-detail-card h2{margin:0 0 16px;font-size:25px}.order-detail-card h3{margin:7px 0 0;font-size:21px}
.order-heading-row,.order-section-heading,.order-appointment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.order-heading-row .status-large{flex:none;margin:0}
.order-full-address{margin:0;color:#526076;font-size:17px}.order-section{margin-top:27px;padding-top:25px;border-top:1px solid #e1e6ec}
.order-property-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.order-property-summary>div,.order-contact-grid>div{display:grid;gap:6px;padding:15px;border-radius:14px;background:#f6f8fa}.order-property-summary span,.order-contact-grid span,.order-info-box>span,.order-assignment-list>span{color:#6b788c;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}
.order-tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.order-tag-row span{padding:7px 11px;border-radius:99px;background:#e6f3f1;color:#107e78;font-size:13px;font-weight:850}
.order-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.order-contact-grid strong{overflow-wrap:anywhere}
.order-info-box{padding:15px;border-radius:14px;background:#f3f5f7}.order-info-box--wide{grid-column:1/-1;margin-top:10px}.order-info-box p{margin:7px 0 0;color:#334155;line-height:1.5}
.order-section-heading{align-items:center;margin-bottom:18px}.order-section-heading h2{margin:6px 0 0}.order-section-heading .primary-btn{padding:11px 15px;border-radius:12px;font-size:14px}
.order-empty-appointment{padding:24px;border:1px dashed #b9c5d0;border-radius:17px;background:#f8fafb;text-align:center}.order-empty-appointment p{margin:7px 0 0;color:#65738a}
.order-appointment-list{display:grid;gap:14px}.order-appointment-card{padding:20px;border:1px solid #dfe5eb;border-radius:18px;background:#fbfcfd}.order-appointment-head .secondary-btn{padding:10px 14px;border-radius:11px;font-size:13px}
.order-appointment-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:18px}.order-appointment-facts>div{display:grid;gap:5px;padding:12px;border-radius:12px;background:#fff;border:1px solid #e5e9ed}.order-appointment-facts span{color:#748195;font-size:11px;font-weight:850;text-transform:uppercase}.order-appointment-facts small{color:#65738a}
.order-assignment-list{margin-top:15px;padding:15px;border-radius:14px;background:#edf7f5}.order-assignment-list>div{display:flex;justify-content:space-between;gap:15px;padding-top:9px;color:#176b65}.order-assignment-list p{margin:8px 0 0;color:#65738a}
.order-appointment-extras{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.order-appointment-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:13px;color:#7a8799;font-size:12px}
.order-internal-note{padding:18px;border-radius:16px;background:#f3f5f7}.order-internal-note>p{min-height:42px;margin:0;line-height:1.55}.order-note-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px;padding-top:14px;border-top:1px solid #dfe4e8;color:#65738a;font-size:13px}
.order-client-card img{display:block;max-width:190px;max-height:76px;margin-bottom:20px;object-fit:contain}.order-client-card h2{margin:7px 0}.order-client-card p{margin:8px 0;color:#526076}.order-client-placeholder{display:grid;place-items:center;width:66px;height:66px;margin-bottom:18px;border-radius:17px;background:#e6f3f1;color:#107e78;font-size:28px;font-weight:900}.order-client-contact{display:grid;gap:6px;margin-top:15px;padding-top:14px;border-top:1px solid #e1e6ec;color:#405067;font-size:14px;overflow-wrap:anywhere}.order-client-contact strong{color:#172033}
.order-definition-list{display:grid;gap:0;margin:0}.order-definition-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e5e9ed}.order-definition-list>div:last-child{border-bottom:0}.order-definition-list dt{color:#65738a}.order-definition-list dd{margin:0;text-align:right;font-weight:800;overflow-wrap:anywhere}

@media (max-width:1000px){.order-detail-grid{grid-template-columns:1fr}.order-detail-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.order-detail-actions,.order-heading-row,.order-section-heading,.order-appointment-head{align-items:stretch;flex-direction:column}.order-detail-actions>div{display:grid;grid-template-columns:1fr 1fr}.order-detail-actions .secondary-btn,.order-detail-actions .danger-btn{width:100%}.order-detail-card{padding:19px}.order-detail-card h1{font-size:33px}.order-property-summary,.order-contact-grid,.order-appointment-facts,.order-detail-side{grid-template-columns:1fr 1fr}.order-appointment-extras{grid-template-columns:1fr}.order-appointment-head .secondary-btn{align-self:flex-start}.order-assignment-list>div{align-items:flex-start;flex-direction:column;gap:3px}}
@media (max-width:480px){.order-property-summary,.order-contact-grid,.order-appointment-facts,.order-detail-side{grid-template-columns:1fr}}

/* Administrator reporting */
.reporting-shell{max-width:1500px;padding-bottom:60px}
.reporting-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:34px 0 20px}.reporting-heading h1{margin:7px 0 8px;font-size:44px;line-height:1.05}.reporting-heading p{max-width:720px;margin:0;color:#65738a}.reporting-planned-pill{padding:9px 13px;border-radius:999px;background:#fff1d7;color:#8b5509;font-size:13px;font-weight:850}
.reporting-tabs{display:flex;gap:5px;margin-bottom:16px;padding:5px;border:1px solid #e0e6eb;border-radius:15px;background:#fff;width:max-content}.reporting-tabs a{padding:10px 16px;border-radius:11px;color:#536073;font-weight:800}.reporting-tabs a.is-active{background:var(--agent-primary);color:#fff}
.reporting-datebar{display:flex;align-items:end;gap:10px;margin-bottom:18px}.reporting-datebar form{margin:0}.reporting-datebar label{display:grid;gap:5px;color:#65738a;font-size:11px;font-weight:850;text-transform:uppercase}.reporting-datebar input{height:44px;margin:0;padding:8px 12px;border:1px solid #dce3e8;border-radius:11px;background:#fff;font:inherit}.reporting-datebar>a:not(.secondary-btn){align-self:center;color:var(--agent-primary);font-size:13px;font-weight:800}
.reporting-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.reporting-cards article{display:grid;gap:8px;min-height:154px;padding:22px;border:1px solid #e0e6eb;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.055)}.reporting-cards article>span{color:#65738a;font-size:12px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}.reporting-cards article>strong{align-self:end;color:#172033;font-size:30px;line-height:1.1}.reporting-cards article>small{color:#708095}.reporting-cards .is-placeholder{background:#f8fafb}.reporting-cards .is-placeholder strong{font-size:21px;color:#758195}
.reporting-warning{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:15px 18px;border-radius:15px;background:#fff4df;color:#914b0b}.reporting-warning span{font-size:13px}
.reporting-panel{max-width:none;padding:22px}.reporting-panel .panel-head{align-items:flex-start}.reporting-panel .panel-head h2{margin:0 0 5px}.reporting-panel .panel-head p{margin:0;color:#65738a;font-size:13px}.reporting-panel .panel-head a{color:var(--agent-primary);font-weight:800}
.reporting-table-wrap{overflow-x:auto}.reporting-table{width:100%;min-width:980px;border-collapse:collapse;text-align:left}.reporting-table th{padding:12px 11px;border-bottom:1px solid #dfe5eb;color:#718096;font-size:11px;font-weight:850;text-transform:uppercase;white-space:nowrap}.reporting-table td{padding:15px 11px;border-bottom:1px solid #e7ebef;color:#344054;font-size:14px}.reporting-table tr:last-child td{border-bottom:0}.reporting-person{display:flex;align-items:center;gap:10px;white-space:nowrap}.reporting-person i{width:9px;height:32px;border-radius:99px;background:var(--person-colour)}.reporting-percent{display:inline-flex;padding:6px 8px;border-radius:999px;background:#e7f4f1;color:#176b65;font-size:12px;font-weight:850}.reporting-percent.is-over{background:#fce8e6;color:#a33b31}.reporting-footnote{margin:14px 0 0;color:#758195;font-size:12px}
.reporting-future{margin-top:18px;padding:24px;border:1px solid #e0e6eb;border-radius:20px;background:#f8fafb}.reporting-future h2{margin:0 0 16px}.reporting-future>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reporting-future article{display:grid;gap:6px;padding:16px;border-radius:14px;background:#fff}.reporting-future span{color:#65738a;font-size:13px}
@media(max-width:1000px){.reporting-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.reporting-future>div{grid-template-columns:1fr}}
@media(max-width:650px){.reporting-heading{align-items:flex-start;flex-direction:column}.reporting-heading h1{font-size:36px}.reporting-tabs{width:100%}.reporting-tabs a{flex:1;text-align:center}.reporting-datebar{align-items:stretch;flex-wrap:wrap}.reporting-datebar form{order:-1;width:100%}.reporting-datebar input{width:100%}.reporting-cards{grid-template-columns:1fr}.reporting-warning{align-items:flex-start;flex-direction:column}.reporting-panel{padding:16px}}

@media (max-width: 1000px){
  .team-row{grid-template-columns:8px 1fr auto}
  .team-row>div:nth-of-type(2),.team-location{grid-column:2}
  .team-row>a{grid-column:3;grid-row:1 / span 2}
  .skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-row{grid-template-columns:1fr 1fr auto}.service-row>div:first-child{grid-column:1/-1}
}
@media (max-width: 700px){
  .team-toolbar{align-items:stretch;flex-direction:column}
  .team-row{grid-template-columns:8px 1fr}
  .team-row>a{grid-column:2;grid-row:auto;justify-self:start}
  .skill-grid{grid-template-columns:1fr}
  .service-row{grid-template-columns:1fr}.service-row>div:first-child{grid-column:auto}
  .duration-rules-heading{flex-direction:column}.duration-rules-labels{display:none}.duration-rule-row{grid-template-columns:1fr}.duration-rule-remove{justify-self:start}
  .client-row{grid-template-columns:50px 1fr}.client-row>a,.client-row>.team-role{grid-column:2;justify-self:start}.client-override-grid{grid-template-columns:1fr}.client-override-grid label{grid-template-columns:1fr}
  .edit-service-grid{grid-template-columns:1fr}
  .setup-status{grid-template-columns:1fr}
}
/* Office task board */
.office-tasks-shell{max-width:1600px}.office-tasks-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.office-tasks-heading h1{margin:0;font-size:34px;color:#172033}.office-tasks-heading p{margin:5px 0 0;color:#68758a}.task-board-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.task-scope-switch{display:flex;padding:4px;border-radius:12px;background:#e9edf1}.task-scope-switch a{padding:9px 15px;border-radius:9px;color:#526178;font-weight:800;text-decoration:none}.task-scope-switch a.is-active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(23,32,51,.08)}.task-assignee-filter label{display:grid;gap:5px;color:#526178;font-size:12px;font-weight:800}.task-assignee-filter select{min-width:190px}.task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.task-column{min-height:500px;padding:16px;border:1px solid #dce2e8;border-radius:18px;background:#f2f4f6;transition:.15s ease}.task-column.is-drop-target{border-color:var(--agent-primary);background:#e8f4f2}.task-column>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.task-column>header h2{margin:0;color:#172033;font-size:19px}.task-column>header span{display:grid;place-items:center;min-width:29px;height:29px;padding:0 8px;border-radius:999px;background:#fff;color:var(--agent-primary);font-weight:850}.task-lane{display:grid;gap:12px}.task-empty{margin:20px 0;text-align:center;color:#8a94a3}.task-card{position:relative;padding:17px;border:1px solid #d9e0e7;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(23,32,51,.055);cursor:grab}.task-card.is-dragging{opacity:.45}.task-card.is-overdue{border-left:5px solid #c74747}.task-card.is-today{border-left:5px solid #e39a23}.task-card>p{margin:0 34px 14px 0;color:#172033;font-size:15px;font-weight:750;line-height:1.45}.task-card-edit{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#7b8797;font-weight:900;cursor:pointer}.task-card-job{display:grid;gap:3px;margin:0 0 14px;padding:11px;border-radius:10px;background:#f1f5f6;color:#172033;text-decoration:none}.task-card-job strong{font-size:13px}.task-card-job span{color:#657388;font-size:12px}.task-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#68758a;font-size:11px;font-weight:800}.task-assignee-dot:before{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--task-colour);content:""}.task-card time{color:inherit}.task-card.is-overdue time{color:#b33a3a}.task-dialog{width:min(560px,calc(100% - 28px));padding:0;border:0;border-radius:20px;box-shadow:0 22px 70px rgba(23,32,51,.28)}.task-dialog::backdrop{background:rgba(20,27,39,.55)}.task-dialog form{display:grid;gap:17px;padding:24px}.task-dialog label{display:grid;gap:7px;color:#526178;font-size:12px;font-weight:800}.task-dialog textarea{resize:vertical}.task-dialog-head,.task-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.task-dialog-head h2{margin:3px 0 0}.task-dialog-head>button{border:0;background:transparent;color:#68758a;font-size:28px;cursor:pointer}.task-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.task-dialog-actions{justify-content:flex-end}.task-form-error{margin:0;padding:10px 12px;border-radius:9px;background:#fdecec;color:#a52f2f;font-weight:700}
@media(max-width:900px){.task-board{grid-template-columns:1fr}.task-column{min-height:180px}.task-board-toolbar{align-items:stretch;flex-direction:column}.task-assignee-filter select{width:100%}}
.office-tasks-shell{max-width:1500px}
.office-tasks-heading--actions{justify-content:flex-end}
.task-toolbar-actions{display:flex;align-items:flex-end;gap:12px}
@media(max-width:900px){.task-toolbar-actions{align-items:stretch;flex-direction:column}.task-toolbar-actions .primary-btn{width:100%}}
