/* Faithful compact dashboard: scoped overrides for legacy dashboard CSS. */
body #dashboardView #companyHomeSection {--p2-green:#163f33;--p2-muted:#62756b;--p2-card:var(--premium-surface);font-family:Arial,Helvetica,sans-serif}
body #dashboardView .role-personal #dashboardWorkSpotlightNext{display:none!important}
body #dashboardView #companyPanelTitle.wf-home-heading{gap:14px!important;margin:16px 0 22px!important;padding:0!important;min-height:0!important}
body #dashboardView .wf-company-logo{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:15px!important;padding:6px!important}
body #dashboardView .wf-company-greeting>span{font-size:clamp(20px,4.7vw,27px)!important;line-height:1.12!important;letter-spacing:-.03em;max-width:420px}
body #dashboardView .wf-company-greeting small{font-size:9px!important;letter-spacing:.12em!important;margin-top:6px!important}
body #dashboardView .p2-company-main,body #dashboardView .p2-company-rest{display:block}
body #dashboardView .p2-company-rest{font-size:.88em;line-height:1.2}
body #dashboardView #companyPanelSubtitle:empty{display:none!important}
body #dashboardView #dashboardWorkSpotlight,body #dashboardView #widgetPersonalActions{background:none!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;gap:0!important;grid-template-columns:1fr!important;margin:0 0 12px!important}
body #dashboardView .p2-work-card{display:flex;flex-direction:column;gap:0;background:linear-gradient(115deg,#184438,#12392e);border-radius:19px;padding:18px 16px 8px;color:#fff;box-shadow:0 7px 18px #153e3210;min-width:0;position:relative}
body #dashboardView .premium-day-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;margin:0!important}
body #dashboardView .premium-day-heading h3{font-size:23px!important;line-height:1.15!important;letter-spacing:-.03em;margin:0 0 6px!important;grid-column:1}
body #dashboardView .premium-day-date{font-size:13px!important;line-height:1.35!important;text-transform:none!important;grid-column:1}
body #dashboardView .p2-status{grid-column:2;grid-row:1/3;align-self:start;max-width:122px;border-radius:30px;background:#ffffff20;color:#d0e0d7;padding:6px 9px;font-size:9px;line-height:1.3;text-align:center}
body #dashboardView .premium-day-shift{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin:20px 0 16px!important;min-height:44px}
body #dashboardView .p2-icon{display:inline-block;width:23px;height:23px;flex:0 0 23px;vertical-align:middle;color:inherit}
body #dashboardView .premium-day-shift>.p2-icon{width:42px;height:42px;flex-basis:42px;padding:10px;box-sizing:border-box;background:#ffffff12;border-radius:50%;color:#e8f2ec}
body #dashboardView .premium-day-shift>span{display:block;min-width:0}
body #dashboardView .premium-day-shift strong{display:block;font-size:22px;line-height:1.25;color:#fff;font-weight:750;letter-spacing:-.02em}
body #dashboardView .premium-day-shift small{display:block;margin-top:3px;font-size:13px;line-height:1.35;color:#c9dbd2;font-weight:400}
body #dashboardView #dashboardWorkSpotlight .wf-work-info{display:none!important}
body #dashboardView #dashboardWorkSpotlight .work-hero-actions{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important}
body #dashboardView #widgetPersonalActions .personal-start-wrap{display:contents!important}
body #dashboardView #companyHomeSection .p2-work-card .work-hero-btn.start,body #dashboardView #companyHomeSection #personalStartBtn{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:#bfea53!important;border:0!important;border-radius:13px!important;padding:12px!important;min-height:46px!important;height:auto!important;font-size:16px!important;line-height:1.25!important;box-shadow:none!important;margin:0!important}
body #dashboardView #companyHomeSection .p2-work-card .work-hero-btn.start strong,body #dashboardView #companyHomeSection #personalStartBtn strong{font-size:16px!important;line-height:1.25!important;font-weight:750!important;color:inherit!important;margin:0!important}
body #dashboardView #companyHomeSection .p2-work-card .work-hero-btn.pause,body #dashboardView #companyHomeSection #personalPauseBtn{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:11px!important;min-height:44px!important;height:auto!important;border:0!important;border-radius:13px!important;background:#ffffff21!important;font-size:16px!important;line-height:1.25!important;box-shadow:none!important;margin:0!important;color:#eef6f1!important}
body #dashboardView #companyHomeSection .p2-work-card .work-hero-btn.pause strong,body #dashboardView #companyHomeSection #personalPauseBtn strong{font-size:16px!important;line-height:1.25!important;font-weight:650!important;margin:0!important;color:inherit!important}
body #dashboardView #companyHomeSection #personalPauseBtn{margin-top:8px!important}
body #dashboardView #companyHomeSection #personalStartBtn .action-symbol,body #dashboardView #companyHomeSection #personalPauseBtn .action-symbol{display:inline-flex!important;width:23px!important;height:23px!important;background:none!important;margin:0!important;padding:0!important}
body #dashboardView #companyHomeSection .p2-work-card button:disabled{opacity:1!important;background:#ffffff26!important;color:#a5bfb1!important;cursor:not-allowed!important}
body.v15-on-leave #dashboardView #companyHomeSection .p2-work-card [data-v15-blocked]{opacity:1!important;background:#97ac6e!important;color:#253d2f!important}
body #dashboardView #companyHomeSection .v15-leave-note{order:2;font-size:11px!important;font-weight:500!important;line-height:1.45!important;padding:7px 10px!important;margin:8px 0 0!important;border:0!important;border-radius:8px!important;color:#e0e9dc!important;background:#ffffff14!important}
body.v15-on-leave #dashboardView .p2-status{font-size:0!important}
body.v15-on-leave #dashboardView .p2-status::after{content:'Nieobecność';font-size:10px}
body #dashboardView #companyHomeSection .p2-work-card .remote-mode-toggle{order:3!important;display:flex!important;align-items:center!important;width:100%!important;gap:10px!important;padding:12px 0 6px!important;margin:13px 0 0!important;min-height:44px!important;border:0!important;border-top:1px solid #ffffff26!important;background:none!important;font-size:13px!important;font-weight:400!important;color:#cbded3!important}
body #dashboardView #companyHomeSection .remote-mode-toggle input[role=switch]{appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;flex:0 0 39px!important;width:39px!important;min-width:39px!important;height:24px!important;margin:0 0 0 auto!important;border:0!important;border-radius:20px!important;background:#ffffff35!important;cursor:pointer;box-shadow:none!important}
body #dashboardView #companyHomeSection .remote-mode-toggle input[role=switch]::before{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}
body #dashboardView #companyHomeSection .remote-mode-toggle input[role=switch]:checked{background:#a4d744!important}
body #dashboardView #companyHomeSection .remote-mode-toggle input[role=switch]:checked::before{transform:translateX(15px)}
body #dashboardView #companyHomeSection .remote-mode-toggle input:focus-visible{outline:2px solid white!important;outline-offset:4px}
body #dashboardView #companyHomeSection .wf-my-schedule{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;margin:12px 0!important;padding:0!important}
body #dashboardView #companyHomeSection .wf-my-schedule button,body #dashboardView #companyHomeSection .wf-my-schedule .work-hero-btn.absence,body #dashboardView #companyHomeSection .wf-my-schedule .personal-action.leave{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;min-height:65px!important;height:auto!important;padding:13px 12px!important;border:0!important;border-radius:17px!important;background:var(--premium-surface)!important;box-shadow:0 5px 18px #173f3408!important;color:var(--premium-ink)!important;font-size:12px!important;line-height:1.3!important;font-weight:650!important;text-align:left!important;grid-column:auto!important}
body #dashboardView #companyHomeSection .wf-my-schedule .p2-button-label{display:block!important;color:inherit!important;font-size:12px!important;font-weight:650!important;line-height:1.3!important;margin:0!important;opacity:1!important}
body #dashboardView #companyHomeSection .wf-my-schedule .p2-icon{width:24px;height:24px;flex-basis:24px}
body #dashboardView #companyHomeSection .wf-my-schedule .p2-icon:last-child{width:12px;height:16px;flex-basis:12px;margin-left:auto;color:var(--premium-muted)}
body #dashboardView #companyHomeSection .p2-next{display:flex!important;align-items:flex-start;gap:14px;width:100%;background:var(--premium-surface)!important;color:var(--premium-ink)!important;border:0!important;box-shadow:0 5px 18px #173f3408!important;border-radius:18px!important;padding:18px!important;text-align:left!important;margin:0!important;font-family:inherit;cursor:pointer;box-sizing:border-box}
body #dashboardView .p2-next>span{flex:1;min-width:0}
body #dashboardView .p2-next strong{display:block;font-size:15px;font-weight:700;margin-bottom:10px}
body #dashboardView .p2-next-value{display:block;font-size:12px;line-height:1.5;color:var(--premium-muted)}
body #dashboardView .p2-next-value>span{display:block}
body #dashboardView .p2-next-value b{display:block;font-size:19px;font-weight:750;color:var(--premium-ink)}
body #dashboardView .p2-next>.p2-icon:last-child{width:15px;flex-basis:15px;color:var(--premium-muted)}
body #dashboardView #companyTourStatus{padding:18px!important;border:0!important;border-radius:18px!important;gap:8px!important;margin:12px 0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body #dashboardView #companyTourStatus .ambilo-team-heading h3{font-size:16px!important;line-height:1.3!important}
body #dashboardView #companyTourStatus .ambilo-team-heading{margin:0 0 8px!important}
body #dashboardView #companyTourStatus .company-status-card{min-height:68px!important;padding:4px!important}
body #dashboardView #companyTourStatus .mini-icon{display:none!important}
body #dashboardView #companyTourStatus .number{font-size:26px!important;font-weight:750!important;margin-bottom:4px!important}
body #dashboardView #companyTourStatus .number::before{content:'';display:inline-block;width:8px;height:8px;margin:0 9px 4px 0;background:#8ccc48;border-radius:50%}
body #dashboardView #companyTourStatus .label{font-size:10px!important;line-height:1.4!important}
body #dashboardView #companyTourStatus .company-status-card:nth-child(n+5) .number::before{background:#97a49c}
body #dashboardView .p2-team-main{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body #dashboardView .p2-team-main .company-status-card+ .company-status-card{border-left:1px solid var(--premium-line)!important;padding-left:10px!important}
body #dashboardView .p2-team-main .company-status-card:last-child .number::before{background:#97a49c!important}
body #dashboardView .p2-team-more{grid-column:1/-1;font-size:11px;color:var(--premium-muted);margin-top:4px}
body #dashboardView .p2-team-more summary{cursor:pointer;min-height:28px;padding:5px 0;box-sizing:border-box}
body #dashboardView .p2-team-more>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body #dashboardView #companyTourStatus h3 .p2-icon{margin-right:10px;width:22px;height:22px}
body #dashboardView .ambilo-mobile-bar{box-shadow:none!important}
@media(max-width:860px){body #dashboardView .ambilo-mobile-bar{padding-top:max(8px,env(safe-area-inset-top))!important;padding-bottom:8px!important;min-height:60px!important;gap:8px!important}body #dashboardView .ambilo-mobile-bar .shell-icon-btn,body #dashboardView .ambilo-menu-button{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}body #dashboardView .ambilo-mobile-bar .account-chip{border:0!important;border-radius:50%!important;background:#dce6df!important}body #dashboardView .ambilo-header-logo{max-width:155px!important}body #dashboardView #companyTourActions{gap:2px!important}}
@media(max-width:360px){body #dashboardView .premium-day-heading h3{font-size:21px!important}body #dashboardView .p2-status{max-width:92px;font-size:8px}body #dashboardView #companyHomeSection .wf-my-schedule button{padding:11px 9px!important;gap:5px!important}body #dashboardView #companyHomeSection .wf-my-schedule .p2-icon{width:20px;height:20px;flex-basis:20px}}
@media(min-width:861px){body #dashboardView .p2-work-card{padding:24px 26px 14px}body #dashboardView .premium-day-heading h3{font-size:28px!important}body #dashboardView .p2-status{font-size:12px;max-width:none}body #dashboardView #companyTourStatus{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){body #dashboardView .remote-mode-toggle input::before{transition:none!important}}
