/* Compact browsing; shared layout editing continues to use its existing grid. */
.home-deck{margin:20px 0}.home-deck-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.home-deck-heading h2{font:28px var(--page3-straight);margin:0}.home-deck-heading button{min-height:44px}.home-deck-help{font-size:12px;color:#695c60;margin:8px 0}
.home-group-picker{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.home-group-picker button{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #cab8bd;border-radius:24px;background:#fff;color:#3e2930;font:600 12px system-ui;cursor:pointer}.home-group-picker button[aria-pressed=true]{background:#8c1427;color:#fff;border-color:#8c1427}.home-group-picker button span{font-size:11px;border-radius:20px;padding:3px 6px;background:#8882}
.home-deck-panel{min-width:0;border:1px solid #d8cdd0;border-top:4px solid #3f3537;border-radius:16px;background:linear-gradient(145deg,#fffdfa,#f4f0ed);padding:12px;margin-top:10px}.home-deck-panel h3{font:20px var(--page3-straight);margin:0 0 8px}.home-card-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:3px;overscroll-behavior-x:contain;scrollbar-width:thin;padding:4px 3px 8px;scroll-behavior:smooth}.home-deck-card{flex-grow:0;flex-shrink:0;flex-basis:calc(50% - 6px);max-width:100%;min-width:min(260px,100%);scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column}.home-deck-card>.action-card{width:100%;height:100%;min-height:140px!important}.home-deck-card>.dashboard-widget{margin:0;min-height:160px;height:100%}.home-deck-card .tool-logo-widget{aspect-ratio:auto;min-height:180px;padding:10px}.home-deck-card .dashboard-tool-logo{max-height:120px}.home-deck-card .tool-logo-widget-actions{position:static;flex-wrap:wrap}.home-deck-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px}.home-deck-controls button{height:44px;width:44px;border:1px solid #cfbcc2;background:#fff;border-radius:50%;color:#8c1427;font:24px system-ui;cursor:pointer}.home-deck-controls button:disabled{opacity:.35;cursor:default}.home-deck-controls span{font:12px system-ui;color:#705e63}.home-deck button:focus-visible,.home-card-track:focus-visible{outline:3px solid #8c1427;outline-offset:3px}.app-shell .is-dashboard .page3-hero-actions:not(:has(button)){display:none}
.is-all-tools .home-card-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.is-all-tools .home-deck-card{max-width:none}.is-all-tools .home-deck-controls{display:none}
@media(max-width:799px){.app-shell .is-dashboard .dashboard-hero{padding:12px 14px}.app-shell .is-dashboard .dashboard-hero .page-title,.app-shell .is-dashboard .dashboard-hero .page-title span{font-size:25px;line-height:1.15}.app-shell .is-dashboard .dashboard-hero .page-subtitle,.app-shell .is-dashboard .page3-quick-intro{display:none}.app-shell .is-dashboard .dashboard-hero-copy{gap:8px}.app-shell .is-dashboard .page3-toolkit-lead{font-size:12px}.app-shell .is-dashboard .page3-toolkit-lead>span{font-size:10px;margin-top:0}.app-shell .is-dashboard .page3-quick-actions{margin:10px 0;gap:8px}.app-shell .is-dashboard .page3-create-action{min-height:64px;padding:9px;display:grid;grid-template-columns:28px 1fr;gap:8px}.app-shell .is-dashboard .page3-create-action .page3-create-symbol{width:28px;height:28px}.app-shell .is-dashboard .page3-create-action strong{font-size:18px}.app-shell .is-dashboard .page3-create-action small{font-size:10px;margin-top:3px}.app-shell .is-dashboard .page3-create-action>span:last-child{display:none}.home-deck{margin:16px 0}.home-deck-heading h2{font-size:23px}.home-deck-heading .button-row{gap:4px}.home-deck-heading button{font-size:12px;padding:7px 10px}.home-group-picker{gap:6px;margin:8px 0}.home-group-picker button{flex:1 1 25%;font-size:11px;padding:6px;gap:4px;justify-content:center}.home-group-picker button:nth-child(-n+2){flex-basis:calc(50% - 6px)}.home-deck-card{flex-basis:83%}.home-deck-card:only-child{flex-basis:100%}.app-shell .is-dashboard .home-deck-card .action-card{min-height:124px!important;display:flex;flex-direction:column;align-items:flex-start;padding:14px;gap:6px}.app-shell .is-dashboard .home-deck-card .action-title{font-size:21px}.app-shell .is-dashboard .home-deck-card .action-copy{font-size:12px}.is-all-tools .home-card-track{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.home-card-track{scroll-behavior:auto}.home-deck-card *{animation:none!important;transition:none!important}}

.home-deck-heading .button-row{display:flex;flex-direction:row;flex-wrap:nowrap;width:auto;gap:8px}.home-deck-heading .button-row>button{width:auto;flex:0 0 auto}.app-shell .is-dashboard .home-deck .action-card{opacity:1!important;animation:none!important;transform:none!important}.home-deck-card .action-card>svg{display:none}

/* Dimensions are stylesheet rules: production CSP intentionally blocks inline styles. */
.home-deck-card[data-deck-width="1"]{flex-basis:calc(25% - 6px)}
.home-deck-card[data-deck-width="3"]{flex-basis:calc(75% - 6px)}
.home-deck-card[data-deck-width="4"]{flex-basis:100%}
.home-deck-card{min-height:124px}
.home-deck-card[data-deck-height="2"]{min-height:248px}
.home-deck-card[data-deck-height="3"]{min-height:372px}
.home-deck-card[data-deck-height="4"]{min-height:496px}
.home-deck-card[data-deck-height="5"]{min-height:620px}
.home-deck-card[data-deck-height="6"]{min-height:744px}
.home-layout-item[data-layout-width="1"]{--home-width:1}
.home-layout-item[data-layout-width="2"]{--home-width:2}
.home-layout-item[data-layout-width="3"]{--home-width:3}
.home-layout-item[data-layout-width="4"]{--home-width:4}
.home-layout-item[data-layout-height="1"]{--home-height:1}
.home-layout-item[data-layout-height="2"]{--home-height:2}
.home-layout-item[data-layout-height="3"]{--home-height:3}
.home-layout-item[data-layout-height="4"]{--home-height:4}
.home-layout-item[data-layout-height="5"]{--home-height:5}
.home-layout-item[data-layout-height="6"]{--home-height:6}
@media(max-width:799px){.home-deck-card[data-deck-width]{min-width:0;flex-basis:83%}.home-deck-card[data-deck-width]:only-child{flex-basis:100%}}
