/* Home extends the existing Persom surfaces; every rule is scoped to Home. */
.p22-home-host{--h-bg:var(--app-page-background);--h-surface:var(--app-surface-background);--h-ink:#1f2412;--h-secondary:#4a5138;--h-muted:#626a52;--h-accent:#56680c;--h-primary:#4f5d0e;--h-line:rgb(31 36 18 / .14);--h-soft:#eef0e5;--h-tint:#e9f0c7;--h-danger:#8a3b2e;--h-ui:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue','PingFang SC',sans-serif;--h-display:Newsreader,Georgia,serif;--h-unit:8px;--h-radius:12px;--h-control:8px;--h-enter:200ms;--h-exit:140ms;--h-feedback:150ms;--h-body:16px;--h-suggestion-size:14px;--h-suggestion-row-height:36px;--h-suggestion-touch-height:44px;--h-suggestion-pad-y:4px;--h-suggestion-logo-size:14px;--h-suggestion-logo-opacity:.55;--h-meta:13px;--h-label:12px;--h-title:28px;--h-width:760px;--h-entry-top:16px;--h-entry-height:48px;--h-entry-label:18px;--h-entry-icon:20px;--h-entry-pad:16px;--h-entry-arrow-pad:36px;--h-entry-hover:#eeeeec;--h-entry-radius:999px;--h-entry-shadow:0 2px 12px rgb(31 36 18 / .06);--h-thread-top:80px;--h-composer-bottom:24px;--h-composer-side:40px;--h-composer-radius:32px;--h-composer-min:56px;--h-input-min:44px;--h-input-max:120px;--h-composer-clearance:112px;--h-composer-shadow:0 4px 24px rgb(31 36 18 / .08);--h-composer-fade:16px;--h-composer-backdrop-tint:rgb(246 246 241 / .32);--h-composer-blur:12px;--h-composer-backdrop-mask:linear-gradient(to bottom,transparent,#000 var(--h-composer-fade),#000 100%);min-width:0!important;display:flow-root;}
.p22-home-host .p22-home-window{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;margin:0;width:100%;height:100%;}
.p22-home-window>main{overflow:hidden!important;display:flex;flex-direction:column;min-height:0;}
.p22-home-window>aside{width:216px!important;}
.p22-home-window>aside>nav [aria-current=page]{background:#e7ebd8!important;color:var(--h-ink)!important;}
.p22-home-window .p22-home{min-height:0;min-width:0;height:100%;flex:1;position:relative;isolation:isolate;display:grid;grid-template-rows:minmax(0,1fr);color:var(--h-ink);font:var(--h-body)/1.65 var(--h-ui);}
/* Preserve the Home design scope while mounting dialogs above the whole client window. */
.p22-home-window>.p22-home.h-window-modal{position:absolute;inset:0;z-index:70;display:block;flex:none;width:100%;height:100%;border-radius:inherit;overflow:hidden;}
.p22-home *{box-sizing:border-box;}
.p22-home :is(h1,h2,h3,p){margin:0;}
.p22-home button,.p22-home textarea{font:inherit;color:inherit;}
.p22-home button{appearance:none;cursor:pointer;touch-action:manipulation;border:0;background:transparent;}
.p22-home button:disabled{cursor:default;opacity:.48;}
.p22-home button:focus-visible,.p22-home textarea:focus-visible,.p22-home input:focus-visible,.p22-home summary:focus-visible{outline:2px solid var(--h-accent);outline-offset:4px;}
.p22-home svg{width:18px;height:18px;display:block;flex:none;}
/* Floating task entry: no separate header row; the thread reserves its initial clearance. */
.p22-home .h-brand{position:absolute;top:var(--h-entry-top);left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--h-entry-height);max-width:calc(100% - 32px);padding:8px var(--h-entry-pad);border:1px solid var(--h-line);border-radius:var(--h-entry-radius);background:var(--h-surface);box-shadow:var(--h-entry-shadow);white-space:nowrap;}
.p22-home .h-brand img{width:var(--h-entry-icon);height:auto;display:block;border-radius:6px;flex:none;}
.p22-home .h-brand .wordmark{display:block;font:400 var(--h-entry-label)/1 var(--h-display);letter-spacing:-.02em;}
.p22-home .h-brand svg{position:absolute;right:12px;width:16px;height:16px;color:var(--h-secondary);opacity:0;transform:translateX(-4px);pointer-events:none;transition:opacity var(--h-feedback) ease-out,transform var(--h-feedback) ease-out;}
.p22-home .h-brand:focus-visible{padding-right:var(--h-entry-arrow-pad);background:var(--h-entry-hover);}
.p22-home .h-brand:focus-visible svg{opacity:1;transform:translateX(0);}
.p22-home .h-scroll{min-height:0;overflow-y:auto;overscroll-behavior-x:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#c9cebc transparent;scroll-padding-top:var(--h-thread-top);scroll-padding-bottom:var(--h-composer-clearance);}
.p22-home .h-thread{max-width:var(--h-width);padding:var(--h-thread-top) 0 var(--h-composer-clearance);margin:0 auto;width:calc(100% - 80px);}
.p22-home .h-date{display:flex;align-items:center;justify-content:center;gap:16px;color:var(--h-muted);font-size:var(--h-label);margin:8px 0 24px;}
.p22-home .h-date:before,.p22-home .h-date:after{content:'';height:1px;max-width:48px;flex:1;background:var(--h-line);}
.p22-home .h-message{margin:0 0 28px;min-width:0;scroll-margin-block:24px;}
.p22-home .h-message-body{max-width:100%;overflow-wrap:anywhere;}
.p22-home .h-message.user{display:flex;flex-direction:column;align-items:flex-end;margin-top:32px;}
.p22-home .h-user{max-width:85%;padding:12px 20px;border-radius:16px 16px 4px 16px;background:#e7ebd8;white-space:pre-wrap;}
.p22-home .h-inline-quote{display:block;border-left:2px solid var(--h-accent);padding-left:12px;color:var(--h-secondary);font-size:var(--h-meta);margin-bottom:8px;}
.p22-home .h-message-actions{display:flex;align-items:center;gap:12px;min-height:32px;padding:4px 0 0;color:var(--h-muted);font-size:var(--h-label);}
.p22-home .h-reply{display:flex;align-items:center;gap:4px;min-height:28px;padding:0 4px;border-radius:4px;font-size:var(--h-label);}
.p22-home .h-reply svg{width:14px;height:14px;}
.p22-home .h-message time{visibility:hidden;font-size:var(--h-label);}
.p22-home .h-message:focus-within time{visibility:visible;}
/* Keep reply actions in the layout and keyboard order while hiding them until needed. */
@media(hover:hover){
  .p22-home .h-reply{opacity:0;pointer-events:none;}
  .p22-home .h-message:is(:hover,:focus-within) .h-reply{opacity:1;pointer-events:auto;}
}
.p22-home .h-card{border:1px solid var(--h-line);border-radius:var(--h-radius);background:var(--h-surface);padding:24px;min-width:0;}
.p22-home .h-card-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.p22-home .h-card-head>.od-field{--od-gap:0px;}
.p22-home .h-card h2,.p22-home .h-card h3{font:400 24px/1.25 var(--h-display);letter-spacing:-.01em;}
.p22-home .h-kicker{font-size:var(--h-label);color:var(--h-accent);letter-spacing:.08em;text-transform:uppercase;font-weight:600;}
.p22-home .h-icon-tile{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:var(--h-tint);color:var(--h-accent);flex:none;}
.p22-home .h-meta{font-size:var(--h-meta);color:var(--h-muted);display:block;line-height:1.55;}
.p22-home .h-section{padding:16px 0;}
.p22-home .h-section+.h-section{border-top:1px solid var(--h-line);}
.p22-home .h-section:last-child{padding-bottom:0;}
.p22-home .h-section .h-section-label{display:block;font-size:var(--h-label);font-weight:600;letter-spacing:.08em;color:var(--h-muted);margin-bottom:8px;text-transform:uppercase;}
.p22-home .h-section-row{display:flex;align-items:flex-start;gap:16px;}
.p22-home .h-section-row>.od-field{--od-gap:4px;}
.p22-home .h-section-row .h-open{margin-top:4px;}
.p22-home .h-open{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:6px;color:var(--h-accent);}
.p22-home .h-card-copy{margin-top:8px;color:var(--h-secondary);line-height:1.6;}
.p22-home .h-evidence{display:flex;align-items:center;gap:8px;font-size:var(--h-meta);color:var(--h-muted);margin-top:12px;}
.p22-home .h-evidence svg{width:16px;height:16px;}
.p22-home .h-card-foot{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px;}
.p22-home .h-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 16px;border:1px solid var(--h-line);border-radius:var(--h-control);background:var(--h-surface);font-size:var(--h-meta);font-weight:500;line-height:1.4;white-space:nowrap;transition:background var(--h-feedback) ease-out;}
.p22-home .h-btn.primary{background:var(--h-primary);color:#fff;border-color:var(--h-primary);}
.p22-home .h-btn.danger{color:var(--h-danger);}
.p22-home .h-text-btn{display:inline-flex;align-items:center;gap:8px;color:var(--h-accent);font-size:var(--h-meta);min-height:36px;padding:4px 0;}
.p22-home .h-status{display:inline-flex;align-items:center;gap:8px;min-height:28px;font-size:var(--h-meta);color:var(--h-accent);}
.p22-home .h-status svg{width:16px;height:16px;}
.p22-home .h-status.muted{color:var(--h-muted);}
.p22-home .h-avatar{width:40px;height:40px;display:grid;place-items:center;flex:none;background:#e3e8d8;color:var(--h-accent);border-radius:50%;font:400 24px/1 var(--h-display);}
.p22-home .h-person{margin-bottom:16px;--od-gap:12px;}
.p22-home .h-person .od-field{--od-gap:0;}
.p22-home .h-person-name{font-weight:500;}
.p22-home .h-welcome-title{font:400 clamp(28px,3vw,36px)/1.2 var(--h-display);letter-spacing:-.02em;margin-bottom:16px;}
.p22-home .h-welcome-guide{margin-top:var(--h-unit);}
.p22-home .h-welcome-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0;}
.p22-home .h-welcome-links button{display:grid;align-content:start;gap:8px;text-align:left;padding:16px 12px;border:1px solid var(--h-line);border-radius:var(--h-control);background:var(--h-surface);}
.p22-home .h-welcome-links strong{font-size:var(--h-meta);font-weight:500;display:block;}
.p22-home .h-welcome-links small{display:block;font-size:var(--h-label);line-height:1.55;color:var(--h-muted);}
.p22-home .h-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;}
.p22-home .h-source{display:grid;gap:8px;text-align:left;background:var(--h-surface);border:1px solid var(--h-line);border-radius:8px;padding:12px 16px;}
.p22-home .h-source .h-source-title{display:block;font-size:var(--h-meta);font-weight:500;}
.p22-home .h-source small{font-size:var(--h-label);color:var(--h-muted);}
.p22-home .h-source-ref{display:inline-flex;justify-content:center;min-width:24px;padding:0 4px;color:var(--h-accent);font-size:var(--h-meta);vertical-align:baseline;}
.p22-home .h-answer p+p{margin-top:12px;}
.p22-home .h-number-list{padding-left:24px;margin:12px 0;}
.p22-home .h-number-list li{padding-left:4px;margin:8px 0;}
/* Floating app chrome: history flows behind it; measured clearance keeps the end reachable. */
.p22-home .h-composer-wrap{position:absolute;z-index:3;bottom:0;inset-inline:0;max-width:none;margin:0;border:0;background:transparent;padding:0 var(--h-composer-side) var(--h-composer-bottom);pointer-events:none;}
.p22-home .h-composer-inner{width:100%;max-width:var(--h-width);margin:0 auto;}
.p22-home .h-composer-inner :is(.h-input-box,.h-new){pointer-events:auto;}
/* Suggested questions belong to the scrolling thread, outside the composer. */
.p22-home .h-suggestions{display:flex;flex-direction:column;gap:0;margin:0;}
.p22-home .h-suggestions-title{display:block;margin:0 0 var(--h-unit);padding:0 var(--h-unit);font-family:var(--h-ui);font-size:var(--h-suggestion-size);font-weight:600;line-height:1.5;color:var(--h-muted);text-align:left;}
.p22-home .h-suggestion{display:flex;align-items:center;gap:var(--h-unit);width:100%;min-height:var(--h-suggestion-row-height);padding:var(--h-suggestion-pad-y) var(--h-unit);border:0;border-radius:var(--h-control);background:transparent;font-size:var(--h-suggestion-size);color:var(--h-muted);line-height:1.65;text-align:left;white-space:normal;overflow-wrap:anywhere;}
.p22-home .h-suggestion-logo{display:block;flex:0 0 var(--h-suggestion-logo-size);width:var(--h-suggestion-logo-size);height:auto;filter:grayscale(1);opacity:var(--h-suggestion-logo-opacity);}
.p22-home .h-suggestion-label{display:block;min-width:0;}
@media(max-width:767px),(pointer:coarse){.p22-home .h-suggestion{min-height:var(--h-suggestion-touch-height);}}
.p22-home .h-input-box{position:relative;min-height:var(--h-composer-min);border:1px solid rgb(31 36 18 / .22);border-radius:var(--h-composer-radius);background:var(--h-surface);padding:4px 8px 4px 24px;box-shadow:var(--h-composer-shadow);}
/* The decorative backdrop spans the conversation bottom; only its upper edge fades. */
.p22-home .h-composer-wrap::before{content:"";display:block;position:absolute;z-index:-1;top:calc(0px - var(--h-composer-fade));left:0;width:100%;height:calc(100% + var(--h-composer-fade));background:var(--h-composer-backdrop-tint);pointer-events:none;-webkit-mask-image:var(--h-composer-backdrop-mask);mask-image:var(--h-composer-backdrop-mask);}
@supports (background:color-mix(in srgb,white,transparent)){
  .p22-home .h-composer-wrap::before{background:color-mix(in srgb,var(--h-bg) 32%,transparent);}
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .p22-home .h-composer-wrap::before{-webkit-backdrop-filter:blur(var(--h-composer-blur));backdrop-filter:blur(var(--h-composer-blur));}
}
@media (prefers-reduced-transparency:reduce){
  .p22-home .h-composer-wrap::before{display:none;}
}
.p22-home .h-input-box:focus-within{border-color:var(--h-accent);box-shadow:var(--h-composer-shadow),0 0 0 2px rgb(86 104 12 / .08);}
.p22-home .h-sr-only{position:absolute;display:block;width:1px;height:1px;padding:0;margin:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.p22-home .h-input-line{display:flex;align-items:flex-end;gap:12px;}
.p22-home textarea{display:block;resize:none;width:100%;min-width:0;min-height:var(--h-input-min);max-height:var(--h-input-max);line-height:1.5;padding:10px 0;background:transparent;border:0;outline:none!important;font-size:var(--h-body);}
.p22-home textarea::placeholder{color:var(--h-muted);}
.p22-home .h-send{display:grid;place-items:center;flex:none;width:var(--h-input-min);height:var(--h-input-min);border-radius:50%;background:var(--h-primary);color:#fff;}
.p22-home .h-send:disabled{background:#e1e5d6;color:#747b64;opacity:1;}
.p22-home .h-input-box.has-context{--h-context-background:#f0f1ed;--h-context-inset:12px;--h-context-radius:20px;--h-context-input-indent:12px;padding:var(--h-context-inset) var(--h-context-inset) 4px;}
.p22-home .h-input-box.has-context .h-input-line{padding-left:var(--h-context-input-indent);}
.p22-home .h-context{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;background:var(--h-context-background);border-radius:var(--h-context-radius);font-size:var(--h-meta);}
.p22-home .h-context>svg{flex:none;}
.p22-home .h-context .od-field{--od-gap:0;min-width:0;overflow-wrap:anywhere;}
.p22-home .h-context .h-icon-btn{width:44px;height:44px;}
@container persom-window (max-width:767px){.p22-home .h-input-box.has-context{--h-context-input-indent:4px;}}
.p22-home .h-icon-btn{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:6px;}
.p22-home .h-new-wrap{display:flex;justify-content:center;margin-bottom:12px;}
.p22-home .h-new{background:var(--h-primary);color:#fff;border-radius:24px;min-height:36px;padding:4px 16px;font-size:var(--h-meta);display:flex;align-items:center;gap:8px;box-shadow:0 4px 16px rgb(31 36 18 / .1);}
.p22-home .h-preparing{display:flex;align-items:center;gap:12px;color:var(--h-muted);}
.p22-home .h-preparing i{display:block;width:8px;height:8px;background:var(--h-accent);border-radius:50%;animation:home-pulse 1s ease-in-out infinite;}
.p22-home .h-notice{margin-top:12px;font-size:var(--h-meta);color:var(--h-muted);}
.p22-home .h-error{font-size:var(--h-meta);color:var(--h-danger);margin:12px 0;}
.p22-home .h-layer{position:absolute;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:24px;background:rgb(31 36 18 / .18);animation:home-appear var(--h-enter) ease-out;}
.p22-home .h-dialog{width:min(600px,100%);max-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:var(--h-surface);border:1px solid var(--h-line);border-radius:var(--h-radius);box-shadow:0 24px 64px rgb(31 36 18 / .15);min-height:0;}
.p22-home .h-dialog-head{display:flex;gap:16px;align-items:flex-start;padding:24px 24px 16px;border-bottom:1px solid var(--h-line);}
.p22-home .h-dialog-head .od-field{--od-gap:4px;}
.p22-home .h-dialog-head h2{font:400 var(--h-title)/1.2 var(--h-display);}
.p22-home .h-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px;}
.p22-home .h-dialog-foot{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:16px 24px;border-top:1px solid var(--h-line);}
.p22-home .h-prose{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--h-body);line-height:1.7;}
.p22-home .h-prose h3{font-size:var(--h-body);font-weight:600;margin:20px 0 8px;}
.p22-home .h-prose p{margin-bottom:12px;}
.p22-home .h-file{margin-top:20px;border:1px solid var(--h-line);padding:12px 16px;border-radius:8px;font-size:var(--h-meta);overflow-wrap:anywhere;}
.p22-home .h-file summary{cursor:pointer;}
.p22-home .h-file pre{white-space:pre-wrap;font:var(--h-meta)/1.65 ui-monospace,monospace;}
.p22-home .h-agent-options{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0;}
.p22-home .h-check{display:flex;align-items:center;gap:8px;font-size:var(--h-meta);cursor:pointer;}
.p22-home .h-check input{appearance:none;display:grid;place-items:center;width:18px;height:18px;margin:0;border:1px solid var(--h-muted);border-radius:4px;background:var(--h-surface);}
.p22-home .h-check input:checked{background:var(--h-primary);border-color:var(--h-primary);}
.p22-home .h-check input:checked:after{content:'✓';font-size:13px;line-height:1;color:#fff;}
.p22-home .h-drawer-layer{justify-content:flex-end;padding:0;background:rgb(31 36 18 / .12);}
.p22-home .h-drawer{width:min(392px,100%);height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);background:var(--h-surface);border-left:1px solid var(--h-line);box-shadow:-12px 0 40px rgb(31 36 18 / .07);}
.p22-home .h-drawer-head{display:flex;align-items:center;gap:16px;padding:24px;}
.p22-home .h-drawer-head h2{font:400 var(--h-title)/1.2 var(--h-display);}
.p22-home .h-task-list{--h-task-padding:16px;--h-task-gap:12px;display:flex;flex-direction:column;gap:var(--h-task-gap);padding:0 24px 24px;overflow-y:auto;min-height:0;}
.p22-home .h-task{flex:none;min-width:0;padding:var(--h-task-padding);border:0;border-radius:var(--h-radius);background:var(--h-soft);box-shadow:none;}
.p22-home .h-task .od-field{--od-gap:4px;}
.p22-home .h-task-name{text-align:left;font-size:var(--h-body);font-weight:500;padding:0;min-height:32px;}
.p22-home .h-task-tools{display:flex;justify-content:space-between;align-items:center;margin-top:8px;position:relative;}
.p22-home .h-switch{display:block;flex:none;width:36px;height:22px;border-radius:12px;background:#ccd1c0;padding:3px;border:1px solid transparent;}
.p22-home .h-switch:before{content:'';display:block;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform var(--h-feedback) ease-out;}
.p22-home .h-switch[aria-checked=true]{background:var(--h-primary);}
.p22-home .h-switch[aria-checked=true]:before{transform:translateX(14px);}
.p22-home .h-task-menu{position:absolute;right:0;top:36px;z-index:2;width:max-content;min-width:112px;padding:4px;background:var(--h-surface);border:1px solid var(--h-line);border-radius:8px;box-shadow:0 8px 24px rgb(31 36 18 / .12);}
.p22-home .h-task-menu button{display:block;width:100%;text-align:left;min-height:36px;padding:4px 12px;border-radius:4px;font-size:var(--h-meta);white-space:nowrap;}
.p22-home .h-task-menu .h-danger{color:var(--h-danger);}
.p22-home .h-task-menu button:disabled{color:var(--h-muted);cursor:default;background:transparent;}
.p22-home .h-toast{position:absolute;left:50%;bottom:200px;transform:translateX(-50%);z-index:90;width:max-content;max-width:calc(100% - 32px);padding:8px 16px;border-radius:8px;background:var(--h-ink);color:#fff;font-size:var(--h-meta);text-align:center;}
.p22-home .h-detail-grid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 20px;margin:16px 0;}
.p22-home .h-detail-grid dt{color:var(--h-muted);font-size:var(--h-meta);}
.p22-home .h-detail-grid dd{margin:0;overflow-wrap:anywhere;}
.p22-home .h-loading-line{height:8px;max-width:240px;background:var(--h-soft);border-radius:4px;margin:12px 0;}
@media(hover:hover){.p22-home .h-brand:hover{padding-right:var(--h-entry-arrow-pad);background:var(--h-entry-hover);}.p22-home .h-brand:hover svg{opacity:1;transform:translateX(0);}.p22-home :is(.h-reply,.h-open,.h-icon-btn,.h-task-menu button:not(:disabled)):hover{background:var(--h-soft);}.p22-home :is(.h-btn:not(.primary),.h-source,.h-suggestion,.h-welcome-links button):hover{background:#e9eddd;}.p22-home .h-btn.primary:hover,.p22-home .h-send:not(:disabled):hover{background:#3e4a0b;}.p22-home .h-text-btn:hover,.p22-home .h-task-name:hover{color:#354206;text-decoration:underline;}.p22-home .h-message:hover time{visibility:visible;}}
@keyframes home-pulse{50%{opacity:.35;}}
@keyframes home-appear{from{opacity:0;}to{opacity:1;}}
@container persom-window (min-width:1440px){.p22-home-host .p22-home-window{margin:32px;height:calc(100% - 64px);}}
@container persom-window (max-width:1023px){.p22-home-window>aside{width:184px!important;}.p22-home .h-thread{width:calc(100% - 48px);}.p22-home{--h-composer-side:24px;}.p22-home .h-welcome-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@container persom-window (max-width:767px){.p22-home-host .p22-home-window{margin:0;height:100%;border-radius:0!important;box-shadow:none!important;}.p22-home-window>aside{width:64px!important;padding:16px 8px 12px!important;}.p22-home-window>aside>div:first-child{display:none!important;}.p22-home-window>aside>nav>div{justify-content:center;padding:12px!important;min-height:44px;}.p22-home-window>aside>nav>div>span{display:none!important;}.p22-home-window>aside>div:last-child>div>span:not(:first-child){display:none!important;}.p22-home-window>aside>div:last-child>div{justify-content:center;padding:8px!important;}.p22-home-window>aside>div:last-child>div>span:first-child{flex: none!important;}.p22-home .h-brand{gap:8px;}.p22-home .h-thread{width:calc(100% - 32px);padding-top:var(--h-thread-top);}.p22-home .h-card{padding:16px;}.p22-home .h-card h2,.p22-home .h-card h3{font-size:24px;}.p22-home .h-card-head{gap:8px;}.p22-home .h-icon-tile{width:32px;height:32px;}.p22-home .h-section-row{gap:8px;}.p22-home .h-open{width:28px;}.p22-home .h-source-list{grid-template-columns:minmax(0,1fr);}.p22-home{--h-composer-side:16px;--h-composer-bottom:max(16px,env(safe-area-inset-bottom));}.p22-home .h-input-box{padding:4px 8px 4px 16px;}.p22-home textarea{font-size:16px;}.p22-home .h-welcome-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.p22-home .h-welcome-links button{padding:12px 8px;}.p22-home .h-layer{padding:12px;}.p22-home .h-drawer-layer{padding:0;}.p22-home .h-dialog-head,.p22-home .h-dialog-body{padding:16px;}.p22-home .h-dialog-foot{padding:12px 16px;}.p22-home .h-dialog-foot .h-btn{min-height:44px;}.p22-home .h-user{max-width:94%;padding:12px;}.p22-home .h-card-foot{gap:8px;}.p22-home .h-btn{min-height:44px;}.p22-home .h-reply{min-height:36px;}.p22-home .h-input-box .h-icon-btn{width:32px;}.p22-home .h-drawer-head{padding:16px;}.p22-home .h-task-list{padding:0 16px 16px;}.p22-home .h-task-tools .h-icon-btn{width:44px;height:44px;}.p22-home .h-task-menu{top:44px;}.p22-home .h-task-menu button{min-height:44px;}.p22-home .h-toast{bottom:260px;}.p22-home .h-switch{outline:10px solid transparent;}.p22-home .h-detail-grid{grid-template-columns:minmax(0,1fr);gap:4px;}.p22-home .h-detail-grid dd{margin-bottom:8px;}}
@media(prefers-reduced-motion:reduce){.p22-home *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@container persom-window (max-width:767px){.p22-home :is(.h-reply,.h-open,.h-send,.h-icon-btn){min-width:44px;min-height:44px;}.p22-home .h-brand{min-height:44px;}.p22-home .h-source-ref{min-width:32px;min-height:32px;}.p22-home .h-welcome-links button{min-height:112px;}}

/* Daily Recap continues the Home component language. */
.p22-home .h-recap{--h-recap-mark:24px;--h-recap-gap:12px;--h-recap-pad:12px;--h-recap-copy-min:160px;--h-recap-copy-max:320px;}
.p22-home .h-recap-section[aria-labelledby="h-recap-recorded"]{--h-recap-pad:8px;}
.p22-home .h-recap .h-recap-heading{font:600 var(--h-body)/1.5 var(--h-ui);letter-spacing:0;margin:0 0 8px;}
.p22-home .h-recap-rows{--od-gap:0px;}
.p22-home .h-recap-row{display:grid;grid-template-columns:var(--h-recap-mark) minmax(0,1fr) auto 16px;align-items:start;gap:var(--h-recap-gap);width:100%;padding:var(--h-recap-pad) 0;text-align:left;border-radius:4px;transition:background var(--h-feedback) ease-out;}
.p22-home .h-recap-row>*{min-width:0;}
.p22-home .h-recap-text{--od-gap:4px;overflow-wrap:anywhere;}
.p22-home .h-recap-text>span{display:block;}
.p22-home .h-recap-mark{display:grid;place-items:center;width:var(--h-recap-mark);min-height:var(--h-recap-mark);margin-top:2px;color:var(--h-secondary);}
.p22-home .h-recap-mark svg{width:24px;height:24px;}
.p22-home .h-recap-dot{display:block;width:8px;height:8px;margin:10px auto 0;border-radius:50%;background:var(--h-accent);}
.p22-home .h-recap-portrait,.p22-home .h-recap-logo{display:block;width:24px;height:auto;}
.p22-home .h-recap-portrait{border-radius:8px;}
.p22-home .h-recap-tail{display:flex;align-items:center;min-height:26px;}
.p22-home .h-recap-chevron{display:grid;place-items:center;min-height:26px;color:var(--h-muted);}
.p22-home .h-recap-chevron svg{width:16px;height:16px;}
.p22-home .h-recap-friends{display:flex;align-items:center;gap:4px;}
.p22-home .h-recap-friends>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--h-tint);color:var(--h-accent);font-size:12px;}
.p22-home .h-recap-friends img{display:block;width:24px;height:auto;border-radius:50%;}
.p22-home .h-recap-days{margin-top:4px;}
.p22-home .h-recap-detail{--od-gap:16px;overflow-wrap:anywhere;}
.p22-home .h-recap-detail .h-number-list li{margin-block:12px;}
.p22-home .h-recap-person{display:block;width:40px;height:auto;flex:none;border-radius:8px;}
.p22-home .h-recap-person.h-avatar{display:grid;height:40px;}
.p22-home .h-recap-copy-field{--od-gap:8px;}
.p22-home .h-recap-copy-field label{display:block;font-size:var(--h-meta);font-weight:600;}
.p22-home textarea.h-recap-copy{display:block;box-sizing:border-box;width:100%;min-height:160px;max-height:320px;padding:16px;border:1px solid var(--h-line);border-radius:var(--h-control);background:var(--h-soft);font:14px/1.65 var(--h-ui);resize:vertical;overflow-y:auto;white-space:pre-wrap;}
.p22-home textarea.h-recap-copy:focus-visible{outline:2px solid var(--h-accent)!important;outline-offset:4px;}
.p22-home .h-recap-skill-section{margin-block:24px;}
.p22-home .h-recap-skill-section h3{font-size:18px;margin-bottom:8px;}
@media(hover:hover){.p22-home .h-recap-row:hover{background:var(--h-soft);}.p22-home .h-recap-row:hover .h-recap-chevron{color:var(--h-accent);}}
@media(max-width:767px){.p22-home .h-recap-row{grid-template-columns:24px minmax(0,1fr) 16px;min-height:44px;}.p22-home .h-recap-tail{grid-column:2;grid-row:2;}.p22-home .h-recap-chevron{grid-column:3;grid-row:1;}}
@media(prefers-reduced-motion:reduce){.p22-home .h-recap-row{transition:none;}}
