:root{
 --fg:#13243c;--muted:#596a81;--text-secondary:#40526c;--line:#dce4ef;--bg:#f7f9fc;--side:#f3f6fb;
 --surface-soft:#f0f5fd;--surface-hover:#e9f1ff;--control-line:#a9b9cd;--accent:#1259d5;
 --accent-hover:#1047b0;--accent-soft:#e8f1ff;--accent-line:#b1cdf9;--primary:#1259d5;
}
.inbox{background:linear-gradient(160deg,#0b1b38 0%,#122d53 72%,#16375e);color:#f5f8ff;border-color:transparent}
.inbox-brand{gap:11px;padding:26px 21px 22px;align-items:center}
.inbox-brand .butler-logo,.butler-account-mark .butler-logo{width:45px;height:45px;object-fit:contain}
.inbox-brand strong{font-size:22px;color:white;line-height:1.18;letter-spacing:.03em}
.inbox-brand strong small{display:block;color:#a8c6ec;font-size:12px;font-weight:500;letter-spacing:.12em;margin-top:5px}
.inbox .desk-nav-label{color:#a6bad5;font-size:12px}
.inbox .desk-entry,.inbox .account-foot{color:#d8e5f7}
.inbox .desk-entry:hover,.inbox .account-foot:hover{background:#213f65;color:white}
.inbox .desk-entry[aria-current="page"]{color:white;background:#165fec;box-shadow:0 3px 10px #071b3c33}
.inbox .account-foot{border-color:#31496b}.inbox .account-foot small{color:#bccde2}
.inbox .company-menu nav{color:var(--fg)}.inbox .account-initial{color:#15366d;background:#dceaff}
.butler-face{display:inline-flex;width:32px;height:32px;align-items:center;flex:none}
.ayuan-avatar{
  position:relative;display:block;border-radius:999px;overflow:hidden;
  box-shadow:0 0 1px #4779bb,0 0 0.3em #4298ff52;
}
.ayuan-avatar img{display:block;width:100%;height:auto}
.butler-face .ayuan-avatar{width:100%}
.ayuan-lid{display:none}

@media (prefers-reduced-motion:no-preference){
  .convo-head .ayuan-avatar,.office-welcome .ayuan-avatar{
    animation:ayuan-float 5.6s ease-in-out var(--avatar-delay,0ms) infinite;
  }
  .office-welcome .ayuan-avatar{--ayuan-lift:-5px}
  .convo-head .ayuan-avatar{--ayuan-lift:-1.5px}
  .convo-head.is-replying .ayuan-avatar{
    animation:ayuan-float 5.6s ease-in-out var(--avatar-delay,0ms) infinite,ayuan-reply 1.25s ease-in-out infinite;
  }
  :is(.convo-head,.office-welcome) .ayuan-lid{
    position:absolute;display:grid;place-items:center;top:35%;width:10.7%;height:28%;
    opacity:0;pointer-events:none;
    animation:ayuan-blink 7.2s ease-in-out var(--avatar-delay,0ms) infinite;
  }
  .ayuan-lid-left{left:31.2%;background:linear-gradient(110deg,#001849,#001642 55%,#001441)}
  .ayuan-lid-right{left:59.6%;background:linear-gradient(110deg,#001037,#011139 55%,#02113a)}
  .ayuan-lid::before{
    content:"";width:70%;height:87%;border-radius:99px;background:linear-gradient(#f8fbff,#e8f1fb);
    animation:ayuan-eye-close 7.2s ease-in-out var(--avatar-delay,0ms) infinite;
  }
}
@keyframes ayuan-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(var(--ayuan-lift))}
}
@keyframes ayuan-blink{
  0%,32.5%,36%,100%{opacity:0}
  33.5%,35%{opacity:1}
}
@keyframes ayuan-eye-close{
  0%,32.5%,36%,100%{transform:scaleY(1)}
  34%,34.8%{transform:scaleY(.10)}
}
@keyframes ayuan-reply{
  0%,100%{box-shadow:0 0 1px #4779bb,0 0 3px #448fff55}
  50%{box-shadow:0 0 2px #4779bb,0 0 9px #3e92ffc4}
}
.butler-scroll{overflow:auto;min-height:0;flex:1;background:#f6f8fc}
.butler-page{max-width:1280px;margin:auto;padding:clamp(20px,3vw,44px) clamp(17px,3.5vw,53px) 44px}
.butler-greeting,.butler-section-head,.butler-me>header,.service-ticket header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.butler-greeting{margin-bottom:23px}
.butler-greeting h1{margin:5px 0 0;color:#102344;font-size:clamp(26px,2.6vw,37px);line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.butler-greeting p,.butler-section-head small,.butler-me header p{margin:0;color:var(--muted);font-size:14px}
.butler-account,.butler-text{color:var(--accent);font-size:14px;font-weight:600;white-space:nowrap}
.butler-account{background:white;border:1px solid var(--line);border-radius:12px;padding:8px 13px}
.butler-hero{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:clamp(220px,20vw,264px);padding:32px clamp(21px,3.2vw,52px);
 border:1px solid #cfdef1;border-radius:23px;background:linear-gradient(113deg,#e9f3ff 3%,#e3f2ff 42%,#a8d8ff 100%)}
.butler-hero::before,.butler-hero::after{position:absolute;z-index:-1;content:"";width:95%;height:160%;border-radius:50%;pointer-events:none}
.butler-hero::before{top:59%;left:21%;background:linear-gradient(120deg,#b5d9ff22,#69b8fe66);transform:rotate(-11deg)}
.butler-hero::after{top:79%;left:-24%;background:linear-gradient(90deg,#abd8ff80,#f1f9ff99);transform:rotate(-9deg)}
.hero-content{position:relative;z-index:2;max-width:64%;color:#10284e}
.hero-content>p{margin:0 0 11px;font-size:14px;font-weight:700;letter-spacing:.08em;color:#315e92}
.hero-content h2{margin:0;font-size:clamp(31px,3.35vw,52px);line-height:1.16;letter-spacing:-.055em;color:#0d284e;text-wrap:balance}
.hero-content>span{display:block;margin:12px 0 22px;font-size:16px;line-height:1.6;color:#395875}
.hero-cta{display:inline-flex;align-items:center;gap:9px;background:#115bea;border:0;border-radius:13px;color:white;font-weight:650;font-size:16px;padding:12px 19px;box-shadow:0 4px 13px #114eac30}
.hero-cta:hover{background:#0a4aca}.hero-cta .icon{width:18px;height:18px}
.hero-art{position:absolute;inset:0 1.5% 0 auto;width:36%;pointer-events:none}
.hero-art .butler-logo{position:absolute;z-index:2;width:min(66%,203px);height:auto;aspect-ratio:1;object-fit:contain;left:50%;top:46%;transform:translate(-50%,-50%)}
.hero-orbit{position:absolute;left:11%;right:11%;bottom:10%;height:16%;border:2px solid #f5fcff;border-radius:50%;background:radial-gradient(ellipse,#4698e373 0%,#9bcfff77 55%,#d7efff 66%,#87c5ff 100%);box-shadow:0 8px 0 #80bff0,0 13px 12px #74a9e05e}
.art-tile{position:absolute;display:grid;place-items:center;width:clamp(35px,4vw,58px);height:clamp(35px,4vw,58px);border:1px solid #e2f3ff;border-radius:13px;background:linear-gradient(140deg,#ffffff91,#99cbff77);color:#4e93d4;box-shadow:0 7px 16px #5e98d722}
.art-tile.chart{left:0;top:30%;transform:rotate(-10deg)}.art-tile.sheet{right:1%;top:20%;transform:rotate(8deg)}
.art-tile .icon{width:50%;height:50%}
.butler-section{margin-top:27px}
.butler-section h2,.butler-me h2,.service-desk h2{margin:0;font-size:20px;color:#122743;font-weight:700}
.butler-section-head{margin-bottom:12px}
.butler-shortcuts,.butler-stats,.butler-account-actions,.butler-plans>div{display:grid;gap:12px}
.butler-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
.butler-shortcut,.butler-stat,.butler-activity,.butler-empty{background:#fff;border:1px solid #dde5f0;border-radius:15px}
.butler-shortcut,.butler-stat{min-width:0;text-align:left;transition:border-color .15s,background .15s}
.butler-shortcut:hover,.butler-stat:hover{background:#fbfdff;border-color:#9ebfee}
.butler-shortcut{display:flex;align-items:center;gap:11px;padding:17px 12px}
.butler-shortcut strong,.butler-shortcut small{display:block}.butler-shortcut strong{color:#1a2d48;font-size:16px}
.butler-shortcut small{margin-top:3px;color:#5d6d82;font-size:13px;text-wrap:balance}
.shortcut-symbol{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:14px}
.shortcut-symbol .icon{width:22px;height:22px}.sky{color:#1a62d0;background:#e6f1ff}.violet{color:#6a4bba;background:#f1ebff}
.orange{color:#ac5a13;background:#fff0dd}.teal{color:#197c83;background:#e0f5f3}
.butler-stats{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.butler-stat{padding:18px 20px}.butler-stat span{display:flex;align-items:center;gap:7px;font-size:14px;color:#53667f}
.butler-stat .icon{width:16px;height:16px}.butler-stat strong{display:block;margin-top:8px;font:650 clamp(22px,2.4vw,34px)/1.1 "Inter","Segoe UI",sans-serif;color:#13294a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.butler-empty,.butler-task{display:flex;align-items:center;gap:12px;padding:17px;color:var(--muted)}
.butler-empty .butler-text,.butler-task small{margin-left:auto}
.butler-task{width:100%;text-align:left}.butler-task span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.butler-task small{white-space:nowrap}
.butler-task+.butler-task{border-top:1px solid var(--line)}
.butler-tabs{display:none}
.office-welcome{flex:1;display:grid;justify-items:center;align-content:center;min-height:0;overflow:auto;padding:16px;text-align:center}
.office-welcome .ayuan-avatar{width:90px;height:auto;margin:4px 0 9px}.office-welcome h2{margin:8px 0 4px;font-size:24px}
.office-welcome p{margin:0 0 14px;color:var(--muted);text-wrap:balance}.office-welcome>div{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.office-welcome button,.auth-explore{border:1px solid var(--line);border-radius:12px;background:white;padding:9px 12px;color:var(--accent)}
.auth-explore{display:block;width:100%;max-width:100%;margin-top:10px;font-weight:650}
.hero-content>span{text-wrap:balance}
.butler-team{display:flex;flex-wrap:wrap;gap:10px}
.butler-colleague,.butler-add{display:flex;align-items:center;gap:12px;padding:12px 17px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;min-height:52px}
.butler-colleague img{width:42px;height:42px}.butler-colleague small,.butler-colleague strong{display:block}.butler-colleague small{color:var(--muted);font-size:13px}
.butler-add{color:var(--accent);border-style:dashed;font-weight:600}.dictate{min-width:42px;align-self:center;padding:6px;color:var(--accent);font-size:14px}
.dictate[aria-pressed="true"]{background:#e6efff;border-radius:8px}
.preview-gold{display:block;margin-top:13px;background:#f6deb4;color:#392a16;border-radius:8px;padding:7px 11px;font-size:14px}
.previewing-gold .inbox{background:linear-gradient(150deg,#1d1c1c,#332d26)}
.previewing-gold .inbox .desk-entry[aria-current="page"],.previewing-gold .hero-cta{background:#684d24;color:#fff6e7}
.previewing-gold .inbox-brand small,.previewing-gold .inbox .desk-nav-label{color:#d9cbb8}
.previewing-gold .butler-hero{border-color:#ddcfb9;background:linear-gradient(115deg,#fcf7ee,#eee3d0 60%,#dac196)}
.previewing-gold .butler-hero::before,.previewing-gold .butler-hero::after{background:#c7a66c28}
.previewing-gold .hero-content :is(h2,p,span){color:#44331f}
.previewing-gold .hero-orbit{background:#d9c9b2;border-color:#fff5e6;box-shadow:0 8px 0 #c2a882,0 13px 12px #ab936944}
.previewing-gold .art-tile{color:#927247;background:#f6ebd8a8;border-color:#e7d6bc}
.butler-me,.service-desk{max-width:850px;margin:0 auto;width:100%}
.butler-me>header{justify-content:flex-start;margin-bottom:24px}.butler-me h1,.service-desk h1{font-size:28px;color:var(--fg);margin:0}
.butler-account-actions{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:16px 0 30px}
.butler-account-actions button,.butler-plans article,.service-ticket,.service-demo,.service-desk form{padding:18px;background:white;border:1px solid var(--line);border-radius:14px}
.butler-plans>div:not(.sectionhead){grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));margin-top:12px}.butler-plans>.sectionhead{display:flex;justify-content:space-between;align-items:center}.butler-plans article img{width:50px;border-radius:12px}
.butler-plans article p,.service-desk>p,.butler-plans>p{color:var(--muted);line-height:1.6}.butler-plans article b{font-size:22px}
.butler-plans article small{font-size:14px;font-weight:400}.butler-plans .black-gold{background:linear-gradient(120deg,#221e18,#3b3020);color:#ffdfaa;border-color:#57472b}
.black-gold p,.butler-plans .black-gold p{color:#e1d0b4}.service-desk form,.service-demo{margin:20px 0}.service-desk form textarea{width:100%;resize:vertical}
.service-ticket{margin:12px 0}.service-ticket strong,.service-ticket p{white-space:pre-wrap;overflow-wrap:anywhere}
.service-ticket time,.service-ticket small{color:var(--muted);font-size:13px}.service-ticket small{white-space:nowrap}.service-ticket p b{display:block;margin:6px 0}
.auth-page{--auth-ink:#122749;--auth-border:#bfd0e4;--auth-link:#1559c7}
.auth-stage{background:radial-gradient(ellipse at 85% 98%,#c9e7ff,transparent 51%),linear-gradient(145deg,#f7fbff,#eaf2ff)}
.auth-stage::before,.auth-stage::after{background:repeating-radial-gradient(ellipse at 50% 108%,transparent 0 17px,#71aff32a 18px,transparent 19px 35px)}
.auth-submit{background:#155ce4}.auth-submit:hover:enabled{background:#0e48bb}.auth-mascot img{inset:0;width:100%}
.butler-page button:focus-visible,.butler-tabs button:focus-visible{outline:3px solid #2368d1;outline-offset:2px}
@media(max-width:1090px){.butler-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-content>span{font-size:15px}}
@media(max-width:700px){
 .butler-page{padding:18px 14px 25px}.butler-greeting{margin-bottom:13px}.butler-account{display:none}
 .butler-hero{min-height:185px;border-radius:18px;padding:20px 16px}.hero-content{max-width:66%}
 .hero-content>p{font-size:12px;margin:0 0 7px}.hero-content h2{font-size:clamp(23px,5.65vw,33px);letter-spacing:-.04em}
 .hero-content>span{font-size:14px;margin:8px 0 13px}.hero-cta{min-height:42px;padding:8px 13px;font-size:14px}
 .hero-art{width:36%;right:0}.hero-art .butler-logo{width:84%;top:48%}.hero-orbit{bottom:22%;left:3%;right:4%;height:9%}
 .art-tile{display:none}.butler-section{margin-top:20px}.butler-section-head{margin-bottom:9px}.butler-section h2{font-size:18px}
 .butler-shortcuts,.butler-stats{gap:8px}.butler-shortcut{padding:12px 9px;gap:7px}.shortcut-symbol{width:35px;height:35px;border-radius:11px}
 .butler-shortcut strong{font-size:15px}.butler-shortcut small{font-size:12px}
 .butler-stats{grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}.butler-stat{padding:12px 8px}.butler-stat span{font-size:12px;gap:3px}.butler-stat .icon{display:none}.butler-stat strong{font-size:19px}
 .butler-tabs{position:fixed;z-index:5;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));padding:4px 8px max(4px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
 .butler-tab{display:grid;justify-items:center;align-content:center;gap:2px;min-height:48px;color:#5b6c85;font-size:12px;border-radius:10px}
 .butler-tab .icon{width:20px;height:20px}.butler-tab[aria-current="page"]{color:var(--accent);font-weight:650}
 .messenger:has(.butler-tabs)>.conversation{padding-bottom:calc(57px + env(safe-area-inset-bottom))}
 .show-list .butler-tabs{display:none}.butler-empty{gap:7px;font-size:14px}.butler-plans>div{gap:8px}.butler-plans article{padding:12px}
}


/* Enterprise dashboard, desktop and compact navigation */
.on-board .butler-scroll{background:linear-gradient(150deg,#f7fbff 0,#eff5fd 42%,#f8faff 100%)}
.butler-page{max-width:1440px;padding:clamp(20px,2.5vw,38px) clamp(20px,3vw,48px) 36px}
.butler-greeting{margin:0 0 20px;gap:12px}
.dashboard-intro{min-width:0;flex:1}
.butler-greeting h1{display:flex;align-items:center;gap:10px;margin:0 0 4px;font-size:clamp(22px,2vw,30px);line-height:1.32}
.greeting-wave{font-size:.86em}.butler-greeting p{font-size:14px}
.dashboard-greeting-actions{display:flex;align-items:center;gap:19px}
.dashboard-inbox,.dashboard-account summary{display:flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer;border-radius:12px}
.dashboard-inbox{position:relative;width:44px;background:transparent;color:#1f3554}
.dashboard-inbox .icon{width:22px;height:22px}
.dashboard-inbox b{position:absolute;top:2px;right:0;min-width:15px;padding:0 3px;border-radius:10px;background:#c02f49;color:white;font:650 11px/15px system-ui}
.dashboard-inbox:hover,.dashboard-account summary:hover{background:#e8f0fd}
.dashboard-account{position:relative;z-index:3}
.dashboard-account summary{gap:8px;font-size:14px;font-weight:650;list-style:none;padding:0 6px}
.dashboard-account summary span:nth-child(2){max-width:18ch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dashboard-account summary .icon{width:15px;height:15px}
.dashboard-account summary::-webkit-details-marker,.enterprise-nav summary::-webkit-details-marker{display:none}
.dashboard-initial{background:linear-gradient(145deg,#236dca,#12335d);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:white}
.dashboard-account-menu{position:absolute;right:0;top:calc(100% + 6px);width:185px;display:grid;gap:4px;padding:8px;border:1px solid #d8e3f2;border-radius:14px;background:white;box-shadow:0 12px 40px #193a661f}
.dashboard-account-menu :is(button,select,.store-fixed){background:white;color:#183552;padding:8px;border:0;border-radius:7px;text-align:left;font-size:14px}
.dashboard-account-menu button:hover{background:#eef5ff}
.workspace-nav:has(.enterprise-nav){padding-top:12px}
.workspace-nav .enterprise-nav summary{cursor:pointer;list-style:none}
.enterprise-nav summary .icon:last-child{margin-left:auto;width:14px;transition:transform .15s}
.enterprise-nav[open] summary .icon:last-child{transform:rotate(180deg)}
.enterprise-nav>div{display:grid;padding-left:9px}
.dashboard-content{display:flex;flex-direction:column;gap:17px}
.dashboard-content>.butler-section{margin:0}
.dashboard-content .butler-hero{min-height:clamp(224px,20.4vw,314px);padding:28px clamp(21px,3.4vw,54px);border:1px solid #d1e5fa;border-radius:20px;
 background:radial-gradient(ellipse at 64% 0%,#fbfeff 0,transparent 40%),radial-gradient(ellipse at 10% 83%,#c8e9ff 0,transparent 53%),linear-gradient(112deg,#deefff 10%,#dcecff 52%,#a9d4ff)}
.dashboard-content .hero-content h2{font-size:clamp(29px,3vw,49px);font-weight:800;line-height:1.22;letter-spacing:-.045em;text-wrap:initial}
.hero-content>.hero-services{display:flex;align-items:center;gap:.8em;margin:14px 0 19px;font-size:clamp(13px,1.05vw,17px);font-weight:500;color:#294863;letter-spacing:0;white-space:nowrap}
.hero-services i{height:.9em;border-left:1px solid #7f99b3}
.dashboard-content .hero-cta{border-radius:999px;background:linear-gradient(105deg,#0089ec,#0856e5);padding:10px 20px;font-size:15px}
.hero-cta .icon{fill:currentColor;width:14px;height:14px}
.dashboard-content .hero-art{width:44%;right:2%}
.dashboard-content .hero-art .butler-logo{width:min(63%,265px);top:48%;filter:drop-shadow(0 8px 9px #365d9330)}
.dashboard-content .hero-orbit{left:12%;right:10%;height:18%;bottom:6%;border-width:4px;background:radial-gradient(ellipse,#71b7f0 0,#b9e3ff 59%,#eefaff 71%,#82bbef 93%);box-shadow:0 10px 0 #89bff1,0 17px 17px #357ec32e}
.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dashboard-metrics .butler-stat{display:flex;align-items:center;min-width:0;gap:11px;padding:13px 12px;min-height:84px;border:1px solid #e1eaf5;background:white;border-radius:15px;box-shadow:0 4px 15px #23426906}
.dashboard-metrics .dashboard-metric-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:15px}
.dashboard-metric-icon .icon{display:block;width:23px;height:23px;stroke-width:2}
.dashboard-metrics .dashboard-metric-text{display:block;min-width:0}
.dashboard-metrics .dashboard-metric-text>span{display:block;font-size:13px;color:#41546d}
.dashboard-metrics strong{margin-top:3px;font-size:clamp(19px,1.9vw,29px);color:#0e203f}
.dashboard-metrics strong small{font:500 13px/1.3 system-ui;margin-left:5px;color:#4a607b;white-space:nowrap}
.dashboard-team{padding:clamp(15px,1.45vw,25px);border-radius:18px;border:1px solid #e0e9f5;background:white;box-shadow:0 5px 18px #23426907}
.dashboard-team .butler-section-head{margin-bottom:15px}
.dashboard-team .butler-section-head h2{font-size:clamp(17px,1.45vw,22px)}
.dashboard-team .butler-text{display:inline-flex;align-items:center;gap:5px}.dashboard-team .butler-text .icon,.custom-role>.icon{width:14px;height:14px}
.dashboard-team .dashboard-lead{display:inline-flex;align-items:center;gap:6px;margin-right:auto;border-radius:999px;background:#f2f6ff;padding:4px 10px 4px 5px;color:#294e86;font-size:12px}
.hero-art .butler-logo.gold-mark{filter:grayscale(1) sepia(1) saturate(2) drop-shadow(0 8px 9px #52422e30)}
.dashboard-lead .butler-logo{width:24px;height:24px}
.desktop-team-title,.dashboard-team .butler-text{white-space:nowrap}
.mobile-team-title,.dashboard-quick{display:none}
.dashboard-team .butler-team{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(5px,.8vw,15px)}
.dashboard-team .butler-colleague,.dashboard-team .butler-add{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-width:0;min-height:126px;padding:12px 5px;border:1px solid #e3ebf7;border-radius:13px;text-align:center;background:linear-gradient(155deg,#edf3ff,#f9fbff)}
.dashboard-team .butler-colleague:nth-child(2n){background:linear-gradient(155deg,#f1effc,#fafbff)}
.dashboard-team .butler-colleague:nth-child(4n){background:linear-gradient(155deg,#fff5e9,#fffdf9)}
.dashboard-team .butler-add{color:#2358b4;border-style:dashed;background:#f8fbff}
.dashboard-team .butler-colleague:hover,.dashboard-team .butler-add:hover,.custom-role:hover{border-color:#9cbdf0}
.dashboard-team .butler-colleague strong,.dashboard-team .butler-add strong{font-size:clamp(13px,1.05vw,16px);overflow-wrap:anywhere;text-wrap:balance}
.dashboard-team .butler-colleague small{font-size:12px}
.employee-tile-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px}
.employee-tile-icon .icon{width:25px;height:25px;stroke-width:2}.employee-tile-icon img{width:35px;height:35px}
.dashboard-team small.employee-available{color:#247051}
.employee-available::before{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#28a773;vertical-align:2px;content:""}
.custom-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px}
.custom-role{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dce6f2;background:#fff;border-radius:12px;text-align:left}.custom-role>.icon{margin-left:auto}
.previewing-gold .dashboard-content .butler-hero{background:linear-gradient(110deg,#fff6e6,#eddbb8)}
.previewing-gold .dashboard-content .hero-cta{background:#684d24}
@media(min-width:701px) and (max-width:980px){
 .dashboard-team .butler-team{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-content .hero-content h2{font-size:clamp(24px,2.9vw,32px)}
 .hero-content>.hero-services{gap:.35em;font-size:12px}
}
@media(max-width:700px){
 .butler-page{padding:20px 16px 28px}.butler-greeting{gap:9px;margin-bottom:16px}
 .butler-greeting h1{font-size:24px;letter-spacing:-.04em}.butler-greeting p{font-size:13px}
 .butler-greeting .list-button{margin:0;width:32px;height:44px;color:#375171}
 .dashboard-account summary>span:nth-child(2),.dashboard-account summary>.icon,.greeting-wave,.dashboard-content .butler-hero,.dashboard-metrics,.desktop-team-title{display:none}
 .dashboard-greeting-actions{gap:2px}.dashboard-account summary{min-width:38px;padding:2px}.mobile-team-title,.dashboard-quick{display:block}
 .dashboard-content{gap:18px}
 .dashboard-quick .butler-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .dashboard-quick .butler-shortcut{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:14px 4px;min-height:98px;background:white;border-color:#e3ebf5;box-shadow:0 3px 12px #1c487206}
 .dashboard-quick .shortcut-symbol{width:34px;height:34px;border-radius:10px}
 .dashboard-quick strong{font-size:15px}.dashboard-quick small{display:none}
 .dashboard-team{padding:14px 11px}.dashboard-team .butler-section-head{margin-bottom:11px}
 .dashboard-team .butler-section-head{flex-wrap:wrap;gap:6px}
 .dashboard-team .dashboard-lead{order:2;width:100%;margin:3px 0 0;padding:7px 10px;border-radius:9px;font-size:14px}
 .dashboard-team .butler-text{margin-left:auto}
 .dashboard-team .butler-team{grid-template-columns:minmax(0,1fr);gap:6px}
 .dashboard-team .butler-colleague,.dashboard-team .butler-add{min-height:57px;flex-direction:row;justify-content:flex-start;gap:10px;padding:8px 10px;background:#f6f9ff}
 .dashboard-team .butler-colleague strong,.dashboard-team .butler-add strong{font-size:14px}
 .dashboard-team .butler-colleague small{margin-left:auto;white-space:nowrap}
 .dashboard-team .employee-tile-icon{width:31px;height:31px;border-radius:9px}
 .dashboard-team .employee-tile-icon .icon,.dashboard-team .employee-tile-icon img{width:23px;height:23px}
 .butler-page .dashboard-inbox{width:44px}
}
.workflow-tabs{margin-bottom:20px}
.project-heading{align-items:start;flex-wrap:wrap;margin-bottom:17px}
.project-heading p,.project-meta{color:#53657d;line-height:1.5;margin:5px 0;font-size:14px}
.workflow-empty{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#516780}
.project-ticket>header{align-items:start}
.project-ticket>header>strong{font-size:18px}
.project-status{flex:none;max-width:55%;color:#2056ad;border-radius:8px;background:#edf4ff;padding:4px 8px;font-size:14px;overflow-wrap:anywhere}
.project-description{margin:14px 0}
.project-steps,.project-events{list-style:none;padding:0;display:grid;gap:8px}
.project-steps li{display:flex;align-items:center;gap:10px;padding:9px 10px;background:#f6f8fc;border:1px solid #e6ecf5;border-radius:9px}
.project-steps .is-current{background:#edf5ff;border-color:#c2d9fb}
.project-steps .is-approved .project-step-number{background:#ddf3e8;color:#1d694b}
.project-steps li>span:last-child{margin-left:auto;color:#44638d;font-size:14px}
.project-step-number{display:grid;place-items:center;flex:none;min-width:27px;min-height:27px;background:#e4eefa;color:#225ca4;font-weight:700;border-radius:8px}
.project-steps small,.project-events time{display:block;margin-top:3px}
.project-events li{border-left:2px solid #d4e3fa;padding:7px 10px;overflow-wrap:anywhere}
.project-events p{margin:6px 0 0}
.project-ticket details{margin-top:14px}
.project-purchase-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:8px;margin:12px 0}
.project-purchase-totals>div{padding:8px 10px;background:var(--surface-soft);border:1px solid var(--line);border-radius:9px}
.project-purchase-totals dt{font-size:12px;color:var(--muted)}
.project-purchase-totals dd{margin:4px 0 0;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.project-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.project-dates input{min-width:0}
@media(max-width:700px){
 .project-heading h1{font-size:24px}
}



.dashboard-recent{padding:clamp(16px,2vw,26px);background:white;border:1px solid #e0e9f5;border-radius:18px}
.dashboard-recent .butler-text{display:inline-flex;align-items:center;gap:4px}
.dashboard-recent .butler-text .icon{width:14px}
.dashboard-recent .lineItem{border:0;border-radius:11px;padding:10px;min-width:0}
.dashboard-recent .lineItem:hover{background:#f2f6ff}
.dashboard-recent .lineItem>span:nth-child(2){min-width:0}
.dashboard-recent .lineItem strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.dashboard-recent .tag{flex:none}
.office-welcome>.office-action-grid,.office-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:min(100%,520px)}
.office-welcome .office-action,.office-action{display:flex;align-items:center;gap:10px;padding:12px;text-align:left;border:1px solid #dbe4f1;border-radius:12px;background:white;color:#183456}
.office-action strong,.office-action small{display:block}
.office-action small{font-size:12px;color:#52647c;text-wrap:balance}
.office-action:hover,.office-action:focus-visible{background:#f2f6ff;border-color:#95b3df}
.office-action .orange{background:#fff0dd;color:#99530b}
.convo-head [data-act=office-tools]{margin-left:auto}
.convo-head [data-act=office-tools]+button{margin-left:0}
@media(max-width:460px){
 .office-welcome{align-content:safe center;padding:12px}
 .office-welcome .ayuan-avatar{width:54px;height:auto}
 .office-action-grid .office-action{padding:9px 7px;gap:6px}
 .office-action .shortcut-symbol{width:28px;height:31px;border-radius:8px}
 .office-action .shortcut-symbol svg{width:17px}
 .office-action small{display:none}
 .convo-head .head-tool{font-size:12px;padding:7px 6px;white-space:nowrap}
}
@media(max-width:400px){
 .workspace-header .dashboard-widgets span{display:none}
 .workspace-header .dashboard-widgets{padding-inline:8px}
}


.directory-row{flex-wrap:wrap;gap:8px 12px}
.directory-details{flex:1 1 105px;min-width:0;overflow-wrap:anywhere}
.directory-details small{display:block;margin-top:3px;color:var(--muted)}
.directory-actions{display:flex;gap:6px;flex:none}

.company-directory .directory-row:first-child{border-top:0;padding-top:0}
.specialist-workspace{display:flex;flex-direction:column;height:100dvh;background:var(--bg)}
.specialist-workspace .workspace-header{flex-wrap:wrap;height:auto;min-height:60px;padding-block:8px}
.specialist-workspace .workspace-header .actions{margin-left:auto}
.specialist-workspace .workspace-header [aria-current="page"]{background:var(--accent-soft);border-color:var(--accent-line);color:var(--accent);font-weight:700}
.specialist-workspace .business-scroll{flex:1;min-height:0;overflow:auto}
.specialist-workspace .business-content{max-width:960px}
.directory-row>.tag:nth-child(2){flex:none}

.specialist-workspace .service-desk>.panel+.panel{margin-top:14px}

.service-history-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.service-history-filters .search{flex:1 1 200px}
.service-ticket[hidden],[data-knowledge-sheet][hidden]{display:none}
.service-ticket .service-history-number{display:block;margin-top:4px;white-space:normal;overflow-wrap:anywhere}

.service-customization-review {display:grid;gap:5px;margin:10px 0;padding:10px 12px;border:1px solid var(--control-line);border-radius:10px;background:var(--surface-soft)}
.service-customization-review h3 {font-size:15px}
.service-customization-review p {overflow-wrap:anywhere}
