/* The approved corporate home illustrations and card proportions, scoped to the launcher. */
#corporate-home[hidden],#worktime-app[hidden],#corporate-home-button[hidden]{display:none!important}
body.corporate-home-visible{display:block;padding:0;background:var(--wt-surface-alt,#f1f7f4)}
.corporate-home{box-sizing:border-box;width:100%;max-width:1120px;margin:0 auto;padding:24px 32px max(32px,env(safe-area-inset-bottom));color:var(--wt-text,#183d35);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.corporate-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding-bottom:24px;border-bottom:1px solid var(--wt-border,#d9e6df)}
.corporate-brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:650;letter-spacing:-.03em;line-height:1.25}.corporate-brand img{border-radius:14px;width:48px;height:48px;object-fit:contain}
.corporate-account{display:flex;align-items:center;gap:11px;padding:4px;border:0;background:transparent;color:inherit;font-family:inherit;font-size:14px;font-weight:550;line-height:1.35;cursor:pointer;min-width:0}.corporate-account span:last-child{max-width:230px;overflow-wrap:anywhere;text-align:right}.corporate-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--wt-success-soft,#e5f2eb);color:var(--wt-success-text,#1c6652);font-size:18px}
.corporate-theme{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--wt-border,#d9e6df);border-radius:50%;background:var(--wt-surface,#fff);color:inherit;cursor:pointer}.corporate-theme svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.corporate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:30px}.corporate-grid[data-count="1"]{grid-template-columns:minmax(0,352px)}
.corporate-module{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;text-align:left;background:var(--wt-surface,#fff);color:inherit;border:1px solid var(--wt-border,#d9e6df);border-radius:24px;padding:9px;font-family:inherit;cursor:pointer;overflow:hidden;transition:transform .2s,border-color .2s}.corporate-module:hover{transform:translateY(-3px);border-color:#91b9a9}
.corporate-art{display:grid;place-items:center;min-width:0;overflow:hidden;border-radius:17px;background:#e5f1ea;height:184px}.corporate-art img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.corporate-module[data-section=schedule] .corporate-art{background:#edeffb}.corporate-module[data-section=clients] .corporate-art{background:#fbefe3}.corporate-module[data-section=posiflora] .corporate-art{background:#f6eaf0}.corporate-module[data-section=deliveries] .corporate-art{background:#e5f1f5}.corporate-module[data-section=kitchen] .corporate-art{background:#f5efe0}
.corporate-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:17px 13px 13px;box-sizing:border-box;font-size:18px;font-weight:600;letter-spacing:-.025em;line-height:1.3}.corporate-caption > span{min-width:0;overflow-wrap:anywhere}.corporate-caption svg{box-sizing:border-box;flex-shrink:0;width:34px;height:34px;padding:8px;border:1px solid var(--wt-border,#d9e6df);border-radius:50%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#corporate-home-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.corporate-feedback{padding:16px;border:1px solid var(--wt-border,#d9e6df);border-radius:14px;line-height:1.5;background:var(--wt-surface,#fff);color:var(--wt-muted,#647a72)}
.corporate-home button:focus-visible,#corporate-home-button:focus-visible{outline:3px solid var(--wt-success-text,#1c6652);outline-offset:3px}
:root[data-theme=dark] .corporate-art{background:#29483e}:root[data-theme=dark] .corporate-module[data-section=schedule] .corporate-art{background:#373f59}:root[data-theme=dark] .corporate-module[data-section=clients] .corporate-art{background:#514638}:root[data-theme=dark] .corporate-module[data-section=posiflora] .corporate-art{background:#4b3846}:root[data-theme=dark] .corporate-module[data-section=deliveries] .corporate-art{background:#294653}:root[data-theme=dark] .corporate-module[data-section=kitchen] .corporate-art{background:#4a4233}
@media(max-width:850px){.corporate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.corporate-home{padding:18px 16px max(24px,env(safe-area-inset-bottom))}.corporate-header{gap:12px;min-height:48px;padding-bottom:16px}.corporate-brand{flex:0 0 auto;gap:8px;font-size:19px}.corporate-brand img{width:34px;height:34px;border-radius:10px}.corporate-account{justify-content:flex-end;gap:8px;padding:0;font-size:13px}.corporate-account span:last-child{max-width:145px}.corporate-avatar{width:32px;height:32px;font-size:15px}.corporate-theme{width:40px;height:40px}.corporate-grid{gap:12px;padding-top:20px}.corporate-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}.corporate-module{padding:6px;border-radius:20px}.corporate-art{height:126px;border-radius:14px}.corporate-caption{min-height:68px;padding:12px 7px 10px;gap:7px;font-size:14px;line-height:1.35}.corporate-caption svg{width:26px;height:26px;padding:5px}.corporate-grid[data-count="1"] .corporate-art{height:184px}.corporate-grid[data-count="1"] .corporate-caption{font-size:18px}}
@media(prefers-reduced-motion:reduce){.corporate-module{transition:none}.corporate-module:hover{transform:none}}

/* The account remains one live component, including native About and logout validation. */
.identity__heading{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
html body .identity__heading .identity__label{margin:0;min-width:0}
html body #corporate-home-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:40px;width:auto;margin:0;padding:7px 10px;border:0;background:transparent;box-shadow:none;color:var(--wt-success-text,#194c47);font:inherit;font-size:14px;font-weight:600;line-height:1.3}
#corporate-home-button svg{width:19px;height:19px;flex:0 0 auto}
.corporate-avatar{position:relative;overflow:hidden}.corporate-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.corporate-avatar img[hidden]{display:none}
html body #corporate-profile-modal #verified-identity{display:block!important;padding:0;margin:0;border:0;background:transparent}
#corporate-profile-modal .identity__heading{display:none}
html body #corporate-profile-modal .identity__details{margin-top:20px}
html body #corporate-profile-modal .identity__actions{display:flex;margin-top:18px}
html body #corporate-profile-modal #offline-banner:not([hidden]){display:block}
/* Compact dialogs use the same stationary header and body gutters as our editors. */
html body :is(#corporate-profile-modal,#corporate-order-modal){box-sizing:border-box;align-items:center;justify-items:center;padding:16px}
html body :is(#corporate-profile-modal,#corporate-order-modal) .app-modal__backdrop{display:block}
html body :is(#corporate-profile-modal,#corporate-order-modal) .app-modal__sheet{display:flex;flex-direction:column;width:min(100%,560px);height:auto;max-height:calc(100dvh - 32px);padding:0;border-radius:20px;overflow:hidden}
html body :is(#corporate-profile-modal,#corporate-order-modal) .app-modal__sheet > .app-modal__header{position:relative;inset:auto;flex:0 0 auto;align-items:center;gap:16px;margin:0;padding:18px 20px;border-bottom:1px solid var(--wt-success-border,#e0e9e6);background:var(--wt-surface,#fff);box-shadow:none}
html body :is(#corporate-profile-modal,#corporate-order-modal) .app-modal__header h2{margin:0;font-size:20px;line-height:1.3}
html body .corporate-dialog-body{min-height:0;min-width:0;padding:22px 20px 24px;overflow-y:auto;overscroll-behavior:contain}
html body #corporate-profile-modal .identity__name{margin:0;line-height:1.35}
/* The launcher has two independent rows: identity, then personal controls. */
.corporate-arrange{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
#corporate-order-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 0;border:0;background:transparent;color:var(--wt-success-text,#194c47);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
#corporate-order-button[hidden]{display:none}
.corporate-arrange .corporate-theme{flex:0 0 40px;margin-left:auto}
.corporate-arrange svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.corporate-arrange + .corporate-feedback[hidden] + .corporate-grid{padding-top:16px}
html body #corporate-order-modal .app-modal__sheet{width:min(100%,760px)}
.corporate-order-hint{margin:0 0 16px;color:var(--wt-muted,#647a72);font-size:14px;line-height:1.5}
#corporate-order-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:0;list-style:none}
#corporate-order-list li{min-width:0}
.corporate-order-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;min-width:0;padding:6px;border:1px solid var(--wt-border,#d9e6df);border-radius:16px;background:var(--wt-surface,#fff);color:var(--wt-text,#183d35);font:inherit;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
.corporate-order-card .corporate-art{height:110px;border-radius:11px;pointer-events:none}
.corporate-order-label{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 4px 4px;font-size:14px;font-weight:600;line-height:1.3;text-align:center;pointer-events:none}
.corporate-order-card[data-section=posiflora] .corporate-art{background:#f0ecff}
.corporate-order-card[data-section=posiflora] img{width:64px;height:64px}
.corporate-order-card:focus-visible{outline:3px solid var(--wt-success-text,#1c6652);outline-offset:2px}
.corporate-order-card[aria-pressed=true]{border-color:var(--wt-success-text,#1c6652);box-shadow:0 0 0 2px var(--wt-success-text,#1c6652)}
.corporate-order-card.is-dragging{opacity:.3;border-style:dashed}
.corporate-order-ghost{position:fixed;left:0;top:0;z-index:50000;pointer-events:none;opacity:.95;box-shadow:0 12px 28px #0004;cursor:grabbing;will-change:transform}
.corporate-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
@media(max-width:850px){#corporate-order-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#corporate-order-list{gap:10px}.corporate-order-card .corporate-art{height:86px}}
@media(max-width:360px){.corporate-header{gap:8px}.corporate-brand{font-size:17px;gap:6px}.corporate-brand img{width:30px;height:30px}.corporate-account{gap:6px;font-size:12px}.corporate-account .corporate-avatar{width:28px;height:28px}}
#corporate-order-modal .modal-button{width:100%;margin-top:10px}
#corporate-order-feedback{color:var(--wt-error-text,#943c3c);line-height:1.4}
.corporate-module[data-section=posiflora] .corporate-art{background:#f0ecff}
.corporate-module[data-section=posiflora] .corporate-art img{width:76px;height:76px;object-fit:contain}
:root[data-theme=dark] .corporate-module[data-section=posiflora] .corporate-art{background:#eae5ff}
@media(max-width:360px){html body #corporate-home-button{gap:4px;padding-inline:3px;font-size:13px}.identity__heading{gap:6px}html body .identity__heading .identity__label{font-size:12px}}
