/* Static, decorative illustrations. Existing window motion is unchanged. */
.tom-moment{--moment-col:0;--moment-row:0;display:block;position:relative;flex:0 0 auto;width:96px;height:96px;overflow:hidden;clip-path:inset(10% 3% 0);pointer-events:none}
.tom-moment>img{position:absolute;display:block;width:100%;height:100%;max-width:none;left:0;top:0}
.tom-moment--calendar{--moment-col:1;width:72px;height:72px}
.tom-moment--sent{--moment-col:2}
.tom-moment--search{--moment-row:1;width:80px;height:80px}
.tom-moment--missing{--moment-col:1;--moment-row:1;width:160px;height:160px}
[data-resource-status]:has(.tom-moment),.calendar-status:has(.tom-moment){display:flex;align-items:center;gap:16px}
.tom-form-success.tom-moment-confirmation{display:grid;grid-template-columns:96px minmax(0,1fr);gap:0 16px;align-items:center;padding:16px}
.tom-moment-confirmation>.tom-moment{grid-row:1/3}
.tom-moment-confirmation>h2{grid-column:2;grid-row:1;margin:0 0 16px}
.tom-moment-confirmation>a{grid-column:2;grid-row:2;justify-self:start}
.search-empty:has(.tom-moment){display:flex;align-items:center;gap:16px;text-align:left}
.search-empty:has(.tom-moment)>div{min-width:0}
.tom-missing-page{min-height:100svh;display:grid;place-items:center;padding:16px;background:var(--canvas)}
.tom-missing-window{width:min(680px,100%);overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}
.tom-missing-bar{height:33px;display:flex;align-items:center;padding:0 14px;background:var(--raised);border-bottom:1px solid var(--border);font-size:12px}
.tom-missing-body{display:flex;align-items:center;gap:16px;padding:16px}
.tom-missing-copy{min-width:0}
.tom-missing-copy h1{font-family:var(--font-heading);font-size:clamp(28px,5vw,38px);font-weight:600;line-height:1.15;letter-spacing:-.02em;margin:0 0 20px}
.tom-missing-copy .eyebrow{margin:0 0 8px}
.tom-missing-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.tom-moment{width:80px;height:80px}.tom-moment--calendar{width:64px;height:64px}.tom-moment--search{width:64px;height:64px}.tom-moment--missing{width:112px;height:112px}[data-resource-status]:has(.tom-moment),.calendar-status:has(.tom-moment),.search-empty:has(.tom-moment){gap:12px}.tom-form-success.tom-moment-confirmation{grid-template-columns:80px minmax(0,1fr);column-gap:12px}.tom-missing-body{gap:12px}.tom-missing-actions{gap:8px}.tom-missing-actions a{font-size:12px;padding:10px 12px}}
@media(max-width:360px){.tom-missing-body{flex-direction:column;align-items:flex-start}}
/* A corner card uses the existing choices and does not animate on arrival. */
.privacy-notice.privacy-notice--corner{inset:auto auto 16px 16px;width:360px;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;justify-content:initial;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 28px #102a4320;overflow:auto}
.privacy-cookie-art{display:block;width:80px;height:80px;align-self:center}
.privacy-cookie-art>img{display:block;width:100%;height:100%;object-fit:contain}
.privacy-notice--corner .privacy-strip-copy{display:block;min-width:0;padding-right:12px}
.privacy-notice--corner .privacy-strip-copy>strong{display:block;font-size:14px;margin:0 0 5px}
.privacy-notice--corner .privacy-strip-copy p{font-size:12px;line-height:1.5;margin:0;max-width:none}
.privacy-notice--corner .privacy-strip-copy a{font-size:12px}
.privacy-notice--corner .privacy-strip-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin:0;width:100%}
.privacy-notice--corner .privacy-strip-actions [data-privacy-settings]{grid-column:1/-1;grid-row:2;justify-self:start;min-height:30px;padding:0 2px;font-size:12px}
.privacy-notice--corner .privacy-strip-actions [data-privacy-choice=necessary]{grid-column:1;grid-row:1}
.privacy-notice--corner .privacy-strip-actions [data-privacy-choice=all]{grid-column:2;grid-row:1}
.privacy-notice--corner .privacy-strip-actions .privacy-choice-button{min-height:40px;padding:8px 10px;font-size:12px;width:100%;white-space:normal}
.privacy-notice--corner .privacy-strip-actions .privacy-strip-close{position:absolute;inset:5px 5px auto auto;grid-column:auto;width:30px;min-height:30px;height:30px;padding:0;border:0;background:transparent;font-size:22px}
@media(max-width:600px){.privacy-notice.privacy-notice--corner{bottom:calc(16px + env(safe-area-inset-bottom,0px));grid-template-columns:64px minmax(0,1fr);width:360px;gap:10px 12px;padding:12px}.privacy-cookie-art{width:64px;height:64px}}
/* Narrow desktop Home scrolls its shortcuts above the card; app windows stay full height. */
@media(min-width:601px) and (max-width:900px){.desktop-shell.is-desktop .workspace-layout{max-height:calc(100% - var(--privacy-card-height,0px))}}
@media(min-width:601px) and (max-width:900px) and (max-height:550px){
.privacy-notice.privacy-notice--corner{width:480px;grid-template-columns:48px minmax(0,1fr);padding:12px;gap:10px 12px}
.privacy-cookie-art{width:48px;height:48px}
.privacy-notice--corner .privacy-strip-actions{grid-template-columns:1fr 1fr auto;gap:10px}
.privacy-notice--corner .privacy-strip-actions [data-privacy-settings]{grid-column:3;grid-row:1;align-self:center;justify-self:center;min-height:40px;padding:0 4px}
}

/* Approved dismissible confirmations; characters remain still. */
.tom-confirmation{width:min(540px,calc(100vw - 36px));padding:32px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--ink);box-sizing:border-box;box-shadow:0 18px 70px #102a4340;max-height:calc(100svh - 32px);overflow:auto}
.tom-confirmation[open]{display:flex;align-items:center;gap:22px}
.tom-confirmation::backdrop{background:#102a4340;backdrop-filter:blur(3px)}
.tom-confirmation>.tom-moment{width:144px;height:144px;flex:0 0 144px;clip-path:none}
.tom-confirmation-copy{min-width:0;padding-right:6px}
.tom-confirmation h2{font-family:var(--font-heading);font-weight:600;font-size:28px;line-height:1.2;letter-spacing:-.02em;margin:0;color:var(--ink)}
.tom-confirmation p{font-size:16px;line-height:1.5;margin:12px 0 0;color:var(--secondary)}
.tom-confirmation-close{position:absolute;top:5px;right:6px;min-width:44px;min-height:44px;background:transparent;border:0;color:inherit;font-size:27px;border-radius:10px}
.search-result-icon.partnerships{background:#e4eee7;display:grid;place-items:center}
.search-result-icon.partnerships img{width:48px;height:48px;max-width:none;object-fit:contain}
@media(max-width:600px){.tom-confirmation{padding:32px 18px 24px}.tom-confirmation[open]{gap:12px}.tom-confirmation>.tom-moment{width:112px;height:112px;flex-basis:112px}.tom-confirmation h2{font-size:24px}.search-result-icon.partnerships img{width:44px;height:44px}}
@media(max-width:350px){.tom-confirmation[open]{flex-direction:column;text-align:center}.tom-confirmation>.tom-moment{flex-basis:auto;flex-shrink:0}}
