body:has(.whiteboard-layout){height:100%;overflow:hidden}.page-shell:has(#page-content.whiteboard-layout),.whiteboard-page:has(.whiteboard-layout){height:100dvh;min-height:0;padding:max(12px,env(safe-area-inset-top)) 14px max(12px,env(safe-area-inset-bottom));overflow:hidden}.page-width:has(#page-content.whiteboard-layout){width:100%;height:100%;max-width:920px;margin:auto}.whiteboard-layout.whiteboard-layout,#page-content.whiteboard-layout{display:grid;width:100%;height:100%;max-width:920px;margin:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:44px 176px 44px minmax(0,1fr) 44px;gap:8px;min-height:0;position:relative}.whiteboard-layout .whiteboard-nav{grid-column:1;grid-row:1;min-width:0;margin:0}.whiteboard-layout .whiteboard-context{grid-column:1;grid-row:2;min-height:0;min-width:0;margin:0}.whiteboard-layout .whiteboard-heading{grid-column:1;grid-row:3;min-width:0;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;background:#ffffffdc;border-radius:12px}.whiteboard-layout .whiteboard-surface{grid-column:1;grid-row:4;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;flex:none;align-self:stretch;position:relative;border:0;border-radius:12px;background:#fffdf8;box-shadow:0 0 0 1px #dce1e6;overflow:hidden}.whiteboard-layout .whiteboard-footer{grid-column:1;grid-row:5;min-width:0;min-height:0;height:44px;margin:0}.whiteboard-layout .board-card,.whiteboard-layout .whiteboard-card,.whiteboard-layout .whiteboard-content{display:contents}.whiteboard-layout .whiteboard-card[hidden]{display:none!important}.whiteboard-layout .whiteboard-image-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.whiteboard-layout .whiteboard-image{width:100%;height:100%;border-radius:0;object-fit:contain;background:#fffdf8}.whiteboard-layout .whiteboard-canvas{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:0;max-width:100%;max-height:100%}.whiteboard-layout .whiteboard-topbar{display:flex;justify-content:space-between;align-items:center}.whiteboard-layout .page-title.editor-title{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip-path:none;font-size:1.1rem}.whiteboard-layout .app-header{margin:0}.whiteboard-layout .whiteboard-context.home-context{display:grid;grid-template-rows:minmax(0,1fr) 52px;gap:8px}.whiteboard-layout .hero-card{margin:0;min-height:0}.whiteboard-layout .hero-card__inner{padding:0}.whiteboard-layout .hero-card .eyebrow{display:none}.whiteboard-layout .hero-title{font-size:1.5rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whiteboard-layout .hero-subtitle{font-size:.75rem;margin:3px 0}.whiteboard-layout .hero-countdowns{padding-top:3px;gap:8px;min-height:44px;border-top:1px solid var(--border-soft,#dce1e6)}.whiteboard-layout .hero-countdowns__list{gap:2px}.whiteboard-layout .hero-countdown-item{display:flex;flex-wrap:nowrap;gap:8px;font-size:.75rem;line-height:1.25}.whiteboard-layout .hero-countdown-item__title{max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.whiteboard-layout .hero-countdown-item__value,.whiteboard-layout .hero-countdowns__empty{font-size:.75rem}.whiteboard-layout .hero-countdowns__button{font-size:.75rem;min-height:44px;max-width:90px;padding:0}.whiteboard-layout .shopping-card{margin:0;align-self:stretch;position:relative;z-index:10}.whiteboard-layout .shopping-summary{padding:11px 16px;min-height:50px;height:50px}.whiteboard-layout .shopping-body{position:absolute;top:100%;left:-1px;right:-1px;max-height:var(--shopping-space,40dvh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--border-soft);border-radius:0 0 16px 16px;padding:0 16px 8px;box-shadow:0 14px 28px #28334726}.whiteboard-layout .section-head h2{margin:0;font-size:.85rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.whiteboard-layout .whiteboard-heading>div:first-child{min-width:0}.whiteboard-layout .whiteboard-time{margin:1px 0 0;font-size:.65rem;white-space:nowrap}.whiteboard-layout .whiteboard-header-actions{flex-shrink:0}.whiteboard-layout .whiteboard-message-wrap{display:block;background:#ffffffdc;border-radius:10px;padding:0}.whiteboard-layout .whiteboard-message-preview{display:block;width:100%;height:44px;padding:4px 12px;border:0;border-radius:10px;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer;overflow:hidden}.whiteboard-layout .whiteboard-message{margin:0;font-size:.8rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.whiteboard-layout .editor-context{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}.whiteboard-layout .inline-tools-slot{min-height:0}.whiteboard-layout .whiteboard-tools{display:grid;grid-template-rows:44px 72px;gap:8px}.whiteboard-layout .tool-tabs{min-width:0}.whiteboard-layout .tool-tab{min-width:0;font-size:.75rem}.whiteboard-layout .tool-panel-shell{padding:0;min-height:0;display:flex;align-items:center}.whiteboard-layout .tool-panel{width:100%;min-height:0}.whiteboard-layout .slider-label{line-height:16px;font-size:.8rem}.whiteboard-layout .tool-slider{min-height:32px;height:32px;margin:0;display:block}.whiteboard-layout .slider-help{font-size:.7rem;line-height:12px}.whiteboard-layout .colour-picker{gap:4px}.whiteboard-layout .colour-btn{width:40px;height:40px}.whiteboard-layout .save-status{margin:0;max-height:44px;min-height:0;overflow-y:auto;padding:4px 8px;font-size:.75rem}.whiteboard-layout .board-shortcuts{display:flex;gap:8px}.whiteboard-layout .board-shortcuts button{min-width:0;font-size:.8rem;padding:4px}.whiteboard-layout .button-row{margin:0;display:flex;gap:8px}.whiteboard-layout .action-btn{flex:none;min-width:64px;padding:6px 12px;font-size:.85rem}.whiteboard-layout .editor-recipient{font-size:.85rem;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.whiteboard-layout .whiteboard-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px)}.whiteboard-layout .whiteboard-dialog .whiteboard-tools{display:grid;grid-template-rows:auto auto;gap:16px}.whiteboard-layout .whiteboard-dialog .tool-panel-shell{min-height:94px}.whiteboard-layout .whiteboard-dialog .colour-btn{width:44px;height:44px}@media(min-width:560px)and (max-height:540px){.whiteboard-layout.whiteboard-layout,#page-content.whiteboard-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);grid-template-rows:44px minmax(0,1fr) 44px;gap:8px 12px}.whiteboard-layout .whiteboard-nav{grid-column:1;grid-row:1}.whiteboard-layout .whiteboard-context{grid-column:1;grid-row:2 / 4;align-self:start;height:176px}.whiteboard-layout .whiteboard-heading{grid-column:2;grid-row:1}.whiteboard-layout .whiteboard-surface{grid-column:2;grid-row:2}.whiteboard-layout .whiteboard-footer{grid-column:2;grid-row:3}.whiteboard-layout .hero-title{font-size:1.2rem}.whiteboard-layout .whiteboard-topbar{display:flex;flex-wrap:nowrap}}.whiteboard-layout .board-shortcuts{flex-direction:row}.whiteboard-layout .board-shortcuts button{flex:1}.whiteboard-layout .whiteboard-nav .notification-pill,.whiteboard-layout .whiteboard-nav .control-pill{font-size:.8rem;min-height:44px;padding:8px 10px}.whiteboard-layout .whiteboard-nav .control-pill--menu{width:44px;padding:0}.page-width:has(.whiteboard-layout)>.whiteboard-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid #dce1e6;border-radius:16px;background:#fafaff;color:#24332f;overscroll-behavior:contain}.page-width:has(.whiteboard-layout)>.whiteboard-dialog[open]{display:grid;grid-template-rows:44px minmax(0,1fr);gap:12px}.page-width:has(.whiteboard-layout)>.whiteboard-dialog::backdrop{background:#25354e66}.page-width:has(.whiteboard-layout)>.whiteboard-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-width:has(.whiteboard-layout)>.whiteboard-dialog h2{margin:0;font-size:1.1rem}.page-width:has(.whiteboard-layout)>.whiteboard-dialog button{min-height:44px;padding:6px 14px;border:1px solid #dce1e6;border-radius:10px;background:#fff;color:inherit;font:inherit}#whiteboard-full-message{max-height:calc(100dvh - 140px);overflow-y:auto;overscroll-behavior:contain;margin:0}@media(max-width:380px){.whiteboard-layout .whiteboard-dialog .tool-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.whiteboard-layout .whiteboard-dialog .tool-tab{min-height:44px;font-size:.85rem}}
