/* Coral: dark navigation, a light canvas and rounded, personal widgets. */
body[data-app=home]{--hm-bg:#f6f6f5;--hm-rail:#171a19;--hm-ink:#242725;--hm-muted:#686f6b;--hm-border:#e3e6e2;--hm-accent:#b84430;--hm-dark:#913827;--hm-soft:#fbe9e3;--hc-pop:#e76146;--hm-width:224px;background:var(--hm-bg);color:var(--hm-ink)}
body[data-app=home][data-home-theme=prisma]{--hm-accent:#087d93;--hm-dark:#225566;--hm-soft:#e5f3f7;--hc-pop:#087d93}
body[data-app=home][data-home-theme=mint]{--hm-accent:#24715f;--hm-dark:#225043;--hm-soft:#e4f0e9;--hc-pop:#24715f}
body[data-app=home][data-home-theme=ocean]{--hm-accent:#326a9a;--hm-dark:#244d71;--hm-soft:#e5eff8;--hc-pop:#326a9a}
body[data-app=home][data-home-theme=lavender]{--hm-accent:#755495;--hm-dark:#534068;--hm-soft:#eee7f5;--hc-pop:#755495}
body[data-app=home][data-home-theme=sand]{--hm-accent:#886239;--hm-dark:#634c32;--hm-soft:#f0e8dc;--hc-pop:#886239}
body[data-app=home][data-home-theme=coral]{--hm-bg:#f6f6f5;--hm-ink:#242725;--hm-muted:#686f6b;--hm-border:#e3e6e2;--hm-accent:#b84430;--hm-dark:#913827;--hm-soft:#fbe9e3;--hc-pop:#e76146}
body[data-app=home][data-home-theme]{--hm-bg:#f6f6f5;--hm-rail:#171a19;--hm-ink:#242725;--hm-muted:#686f6b;--hm-border:#e3e6e2}
body[data-app=home] .hm-page,body[data-app=home] .hm-topbar{background:var(--hm-bg)}
body[data-app=home] .hd-rail{background:var(--hm-rail);border-right:0;color:#edf0ed}
body[data-app=home] .hd-logo>span{color:#edf0ed}
body[data-app=home] .hd-logo img{background:transparent;border-radius:0;padding:0}
body[data-app=home] .hd-nav-label,body[data-app=home] .hd-rail nav a,body[data-app=home] .hd-rail-bottom>button,body[data-app=home] #home-profile small{color:#b5beb8}
body[data-app=home] .hd-rail nav a,body[data-app=home] .hd-rail-bottom>button{border-radius:25px}
body[data-app=home] .hd-rail nav a:hover,body[data-app=home] .hd-rail-bottom>button:hover{background:#ffffff12;color:#fff}
body[data-app=home] .hd-rail nav a.selected,body[data-app=home] .hd-rail nav a.selected:hover{background:#fff;color:var(--hm-accent)}
body[data-app=home] .hd-rail-bottom #home-profile{border-color:#ffffff24;color:#edf0ed}
body[data-app=home] #home-profile .hd-avatar{background:#343b37;color:#fff}
body[data-app=home] .home-menu-close{color:#edf0ed}
body[data-app=home] .hc-topbar>strong{display:flex;align-items:center;gap:12px}
body[data-app=home] .hc-topbar>strong>svg{width:21px;height:21px}
body[data-app=home] .hc-top-right{display:flex;align-items:center;gap:22px;min-width:0}
body[data-app=home] .hc-topbar form{display:flex;position:static;transform:none;align-items:center;gap:10px;width:260px;height:42px;background:transparent;border:0;padding:0;min-width:0}
body[data-app=home] .hc-topbar form svg{width:18px;height:18px;flex:none;color:var(--hm-muted)}
body[data-app=home] .hc-topbar input{border:0;box-shadow:none;background:transparent;width:100%;min-width:0;padding:8px 0;font-size:14px;color:var(--hm-ink)}
body[data-app=home] .hc-content{max-width:1760px;margin:0 auto;padding:28px 32px 18px}
body[data-app=home] .hc-greeting{display:flex;align-items:center;gap:24px;justify-content:space-between;min-height:96px;margin-bottom:22px}
body[data-app=home] .hc-greeting h1{font-size:34px;line-height:1.2;font-weight:550;letter-spacing:-1px;margin:0;color:var(--hm-ink)}
body[data-app=home] .hc-greeting p{font-size:16px;color:var(--hm-muted);margin:9px 0 0;line-height:1.5}
body[data-app=home] .hc-today{display:flex;align-items:center;gap:14px;margin-left:auto;font-size:16px;text-transform:capitalize}
body[data-app=home] .hc-today>strong{display:grid;place-items:center;width:70px;height:70px;border:1px solid var(--hm-border);border-radius:50%;font-size:30px;font-weight:500}
body[data-app=home] .hc-today small{display:block;margin-top:4px;font-size:14px;color:var(--hm-muted)}
body[data-app=home] .hc-personalize{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--hc-pop);border:0;border-radius:25px;padding:12px 18px;color:#211f1e;font-size:15px;font-weight:600;cursor:pointer;min-height:44px}
body[data-app=home] .hc-personalize svg{width:17px;height:17px}
body[data-app=home] .hc-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch}
body[data-app=home] .hc-card{background:#fff;border-radius:26px;padding:24px;min-width:0;border:0;color:var(--hm-ink)}
body[data-app=home] .hc-card h2{font-size:22px;font-weight:550;line-height:1.3;letter-spacing:-.5px;margin:0;color:inherit;overflow-wrap:anywhere}
body[data-app=home] .hc-card p{font-size:16px;line-height:1.5;color:var(--hm-muted)}
body[data-app=home] .hc-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}
body[data-app=home] .hc-card-head svg{display:block;width:19px;height:19px;flex:none}
body[data-app=home] .hc-card-head a{color:inherit}
body[data-app=home] .hc-kicker{font-size:12px;letter-spacing:1.6px;font-weight:500;color:var(--hm-muted);line-height:1.5}
body[data-app=home] .hc-link{color:var(--hm-accent);font-size:14px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;min-height:36px}
body[data-app=home] .hc-link:hover{text-decoration:underline}
body[data-app=home] .hc-empty{margin:16px 0;line-height:1.6;font-size:16px;color:var(--hm-muted)}
body[data-app=home] .hc-ticket{grid-column:span 6;display:grid;grid-template-columns:minmax(0,1fr) 155px;padding:0;overflow:hidden;min-height:236px}
body[data-app=home] .hc-ticket-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:25px;min-width:0}
body[data-app=home] .hc-ticket h2{font-size:27px;letter-spacing:-.7px}
body[data-app=home] .hc-ticket p{margin:0;font-size:15px}
body[data-app=home] .hc-ticket .hc-link{margin-top:auto}
body[data-app=home] .hc-ticket-date{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#efefec;border-left:1px dashed #dde1dc;color:var(--hm-ink);padding:15px}
body[data-app=home] .hc-ticket-date strong{font-size:57px;font-weight:550;line-height:1;letter-spacing:-2px}
body[data-app=home] .hc-ticket-date span{text-transform:uppercase;font-size:16px}
body[data-app=home] .hc-ticket-date small{font-size:14px;color:var(--hm-muted)}
body[data-app=home] .hc-ticket-date::before,body[data-app=home] .hc-ticket-date::after{content:"";position:absolute;left:-10px;width:20px;height:20px;border-radius:50%;background:var(--hm-bg)}
body[data-app=home] .hc-ticket-date::before{top:-10px}body[data-app=home] .hc-ticket-date::after{bottom:-10px}
body[data-app=home] .hc-grid>.hm-weather{grid-column:span 3;background:#f3eee7;padding:22px;border:0;border-radius:26px;min-width:0;box-shadow:none;display:flex;flex-direction:column}
body[data-app=home] .hc-grid>.hm-weather .hm-card-head{margin:0 0 12px}
body[data-app=home] .hc-grid>.hm-weather h2{font-size:16px;color:var(--hm-muted);font-weight:500}
body[data-app=home] .hc-grid>.hm-weather .hm-location{font-size:13px;background:transparent;color:var(--hm-muted);padding:0;white-space:nowrap}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-current{display:flex;align-items:center;gap:8px}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-current>div{display:block;min-width:0}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-temp{font-size:46px;font-weight:500;letter-spacing:-2px;line-height:1.1;color:var(--hm-ink)}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-current>svg{width:70px;height:64px;flex:none}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-current strong{display:block;margin-top:7px;font-size:14px;color:var(--hm-muted);font-weight:400}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-current small{display:block;font-size:12px;color:var(--hm-muted);margin-top:3px}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #e4ded5;margin:15px 0 0;padding:12px 0 0}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend>div{background:transparent;padding:0;display:block;min-width:0}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend span{font-size:12px;color:var(--hm-muted)}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend svg{display:none}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend strong{display:block;font-size:14px;font-weight:500;margin-top:5px;text-align:left}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend>div>small{display:block;font-size:12px;margin-top:4px;color:var(--hm-muted)}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-source{margin-top:auto;padding-top:14px;display:flex;flex-wrap:wrap;gap:5px 12px;font-size:12px}
body[data-app=home] .hc-grid>.hm-weather .hm-weather-source a{font-size:12px;color:var(--hm-muted)}
body[data-app=home] .hc-progress{grid-column:span 3;background:#222624;color:#fff;display:flex;flex-direction:column}
body[data-app=home] .hc-progress-body{display:flex;align-items:center;gap:17px;flex:1}
body[data-app=home] .hc-progress-body p{font-size:16px;color:#fff;margin:0;min-width:0;overflow-wrap:anywhere}
body[data-app=home] .hc-progress-body p>small{display:block;margin-top:7px;color:#bac4bc;font-size:14px}
body[data-app=home] .hc-ring{width:108px;height:108px;flex:none;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--hc-pop) var(--hc-done),#444b46 0)}
body[data-app=home] .hc-ring>span{display:grid;place-content:center;text-align:center;width:90px;height:90px;border-radius:50%;background:#222624}
body[data-app=home] .hc-ring strong{font-size:30px;font-weight:550;line-height:1.1;letter-spacing:-1px}
body[data-app=home] .hc-ring small{display:block;font-size:12px;color:#c8d1ca;margin-top:5px}
body[data-app=home] .hc-photo{grid-column:span 5;position:relative;overflow:hidden;border-radius:26px;min-height:315px;display:flex;align-items:flex-end;background:#254234;color:#fff}
body[data-app=home] .hc-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body[data-app=home] .hc-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#10261ded,transparent 90%)}
body[data-app=home] .hc-photo>div{position:relative;z-index:1;padding:25px;min-width:0}
body[data-app=home] .hc-photo .hc-kicker{color:#fff;font-weight:600}
body[data-app=home] .hc-photo h2{font-size:27px;line-height:1.25;letter-spacing:-.7px;margin:8px 0;font-weight:550;color:#fff}
body[data-app=home] .hc-photo p{font-size:15px;margin:0;color:#f0f6f2}
body[data-app=home] .hc-photo a{display:inline-flex;align-items:center;min-height:40px;color:#fff;font-size:15px;margin-top:10px;text-decoration:none}
body[data-app=home] .hc-photo a:hover{text-decoration:underline}
body[data-app=home] .hc-inbox{grid-column:span 4}
body[data-app=home] .hc-tabs{display:flex;flex-wrap:wrap;gap:22px;border-bottom:1px solid var(--hm-border);margin-bottom:2px}
body[data-app=home] .hc-tabs button{font-size:14px;min-height:42px;cursor:pointer;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;color:var(--hm-muted);padding:0 0 10px}
body[data-app=home] .hc-tabs button[aria-selected=true]{color:var(--hm-accent);border-bottom-color:var(--hc-pop)}
body[data-app=home] .hc-task,body[data-app=home] .hc-chat{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid var(--hm-border);color:var(--hm-ink);text-decoration:none;min-width:0}
body[data-app=home] .hc-task:last-of-type,body[data-app=home] .hc-chat:last-of-type{border-bottom:0}
body[data-app=home] .hc-task>span:last-child,body[data-app=home] .hc-chat>span:last-child{min-width:0}
body[data-app=home] .hc-task strong,body[data-app=home] .hc-chat strong{font-size:17px;font-weight:400;line-height:1.5;display:block;overflow-wrap:anywhere}
body[data-app=home] .hc-task small,body[data-app=home] .hc-chat small{display:block;font-size:13px;color:var(--hm-muted);margin-top:4px;line-height:1.5}
body[data-app=home] .hc-task:hover strong,body[data-app=home] .hc-chat:hover strong{color:var(--hm-accent)}
body[data-app=home] .hc-task-square{width:19px;height:19px;flex:none;border:1px solid #8c938e;border-radius:3px;margin-top:3px}
body[data-app=home] .hc-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#efefec;color:var(--hm-ink);font-size:14px;flex:none}
body[data-app=home] .hc-inbox-more{margin-top:7px}
body[data-app=home] .hc-files{grid-column:span 3;background:#efefe9;display:flex;flex-direction:column;align-items:flex-start}
body[data-app=home] .hc-files .hc-card-head{width:100%}
body[data-app=home] .hc-file-art{width:108px;height:108px;background:var(--hm-soft);border-radius:16px;padding:14px;margin:5px 0 20px;display:grid;place-items:center}
body[data-app=home] .hc-file-art>span{display:grid;place-items:center;width:80px;height:80px;background:#fff;border-radius:9px;transform:rotate(-5deg);color:var(--hm-accent)}
body[data-app=home] .hc-file-art svg{width:27px;height:27px}
body[data-app=home] .hc-files>strong{font-size:18px;font-weight:400;overflow-wrap:anywhere;max-width:100%}
body[data-app=home] .hc-files>p{margin:6px 0 13px;font-size:14px;overflow-wrap:anywhere;max-width:100%}
body[data-app=home] .hc-all-files{margin-top:auto;padding-top:10px}
body[data-app=home] .hc-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:25px 0 20px}
body[data-app=home] .hc-conversation-summary{display:flex;align-items:center;gap:12px;min-width:185px;font-size:15px;color:var(--hm-ink)}
body[data-app=home] .hc-conversation-summary>svg{width:22px;height:22px;flex:none}
body[data-app=home] .hc-conversation-summary small{display:block;font-size:13px;color:var(--hm-muted);margin-top:4px}
body[data-app=home] .hc-favorites{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body[data-app=home] .hc-favorites>a{display:flex;align-items:center;gap:9px;border-radius:25px;background:#fff;padding:9px 13px;font-size:14px;min-height:44px;color:var(--hm-ink)}
body[data-app=home] .hc-favorites>a.hc-link{color:var(--hm-accent);background:transparent}
body[data-app=home] .hc-favorites img{width:28px;height:28px;object-fit:contain}
body[data-app=home] .hc-more{margin:14px 0 18px}
body[data-app=home] .hc-more>summary{cursor:pointer;color:var(--hm-muted);font-size:14px;min-height:36px;padding:8px 0}
body[data-app=home] .hc-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:12px}
body[data-app=home] .hc-extra-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--hm-border);color:var(--hm-ink);min-width:0}
body[data-app=home] .hc-extra-row strong{font-size:16px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
body[data-app=home] .hc-extra-row small{display:block;font-size:13px;color:var(--hm-muted);margin-top:3px}
body[data-app=home] .hc-extra-row time{font-size:14px;flex:none}
body[data-app=home] .hc-content .hm-footer{border:0;margin:10px 0 0;padding:0;font-size:13px}
body[data-app=home] .hc-content .hm-footer button{font-size:13px}
body[data-app=home] .hm-atlas-details{font-size:14px;color:var(--hm-muted);margin:12px 0}
@media(min-width:1201px) and (max-width:1550px){
 body[data-app=home] .hc-grid>.hm-weather{padding:20px}
 body[data-app=home] .hc-progress{padding:20px}
 body[data-app=home] .hc-progress-body{flex-direction:column;align-items:flex-start;gap:10px}
 body[data-app=home] .hc-ring{width:94px;height:94px}
 body[data-app=home] .hc-ring>span{width:78px;height:78px}
 body[data-app=home] .hc-progress-body p{font-size:14px}
 body[data-app=home] .hc-progress-body p>small{font-size:13px;margin-top:3px}
 body[data-app=home] .hc-today{display:none}
 body[data-app=home] .hc-inbox{grid-column:span 5}
 body[data-app=home] .hc-photo{grid-column:span 4}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-current>svg{width:54px;height:50px}
}
@media(min-width:761px) and (max-width:1200px){
 body[data-app=home]{--hm-width:200px}
 body[data-app=home] .hc-content{padding:24px}
 body[data-app=home] .hc-today{display:none}
 body[data-app=home] .hc-ticket,body[data-app=home] .hc-photo{grid-column:1/-1}
 body[data-app=home] .hc-grid>.hm-weather,body[data-app=home] .hc-progress{grid-column:span 6}
 body[data-app=home] .hc-inbox{grid-column:span 8}
 body[data-app=home] .hc-files{grid-column:span 4}
 body[data-app=home] .hc-bottom{align-items:flex-start;flex-direction:column}
 body[data-app=home] .hc-favorites{justify-content:flex-start}
 body[data-app=home] .hc-topbar form{width:180px}
 body[data-app=home] .hc-photo{min-height:240px}
 body[data-app=home] .hc-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body[data-app=home] .home-mobile-bar{background:var(--hm-bg);color:var(--hm-ink)}
 body[data-app=home] .hc-content{padding:22px 16px 16px}
 body[data-app=home] .hc-topbar{height:66px;padding:0 16px}
 body[data-app=home] .hc-topbar>strong{display:none}
 body[data-app=home] .hc-top-right{width:100%;gap:14px;justify-content:space-between}
 body[data-app=home] .hc-topbar form{width:auto;flex:1;min-width:0}
 body[data-app=home] .hc-topbar input{font-size:16px}
 body[data-app=home] .hc-topbar .hm-top-actions{gap:12px;flex:none}
 body[data-app=home] .hc-greeting{flex-wrap:wrap;gap:16px;margin-bottom:20px;min-height:0}
 body[data-app=home] .hc-greeting h1{font-size:29px;letter-spacing:-.8px}
 body[data-app=home] .hc-greeting p{font-size:15px}
 body[data-app=home] .hc-today{display:none}
 body[data-app=home] .hc-personalize{font-size:14px;padding:11px 16px}
 body[data-app=home] .hc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body[data-app=home] .hc-grid>.hc-card,body[data-app=home] .hc-photo,body[data-app=home] .hc-grid>.hm-weather{grid-column:1/-1}
 body[data-app=home] .hc-card{padding:22px;border-radius:23px}
 body[data-app=home] .hc-ticket{grid-template-columns:minmax(0,1fr) 100px;padding:0;min-height:230px}
 body[data-app=home] .hc-ticket-info{padding:22px}
 body[data-app=home] .hc-ticket h2{font-size:24px}
 body[data-app=home] .hc-ticket-date{padding:12px}
 body[data-app=home] .hc-ticket-date strong{font-size:47px}
 body[data-app=home] .hc-ticket-date span{font-size:13px}
 body[data-app=home] .hc-ticket-date small{font-size:12px}
 body[data-app=home] .hc-photo{min-height:260px}
 body[data-app=home] .hc-photo>div{padding:24px}
 body[data-app=home] .hc-photo h2{font-size:27px}
 body[data-app=home] .hc-files{min-height:290px}
 body[data-app=home] .hc-bottom{align-items:flex-start;flex-direction:column}
 body[data-app=home] .hc-favorites{justify-content:flex-start;gap:8px}
 body[data-app=home] .hc-favorites>a{padding:8px 11px}
 body[data-app=home] .hc-extra-grid{grid-template-columns:1fr}
}
@media(min-width:761px) and (max-height:800px){
 body[data-app=home] .hd-rail{padding:17px 16px 12px}
 body[data-app=home] .hd-logo{margin-bottom:15px}
 body[data-app=home] .hd-rail nav a{min-height:32px;padding:5px 12px}
 body[data-app=home] .hd-nav-label{margin:9px 0 5px}
 body[data-app=home] .hd-nav-discover{margin-top:13px}
 body[data-app=home] .hd-rail-bottom{padding-top:12px}
 body[data-app=home] .hd-rail-bottom>button{min-height:32px;padding:5px 12px}
 body[data-app=home] .hd-rail-bottom #home-profile{padding:7px 10px;margin-top:3px}
}
@media(min-width:761px) and (max-height:660px){
 body[data-app=home] .hd-rail{padding:8px 12px}
 body[data-app=home] .hd-logo{margin-bottom:8px;min-height:30px}
 body[data-app=home] .hd-logo img{width:30px;height:30px}
 body[data-app=home] .hd-rail nav{gap:1px}
 body[data-app=home] .hd-rail nav a{min-height:28px;padding:3px 10px;font-size:14px}
 body[data-app=home] .hd-nav-label{margin:3px 0}
 body[data-app=home] .hd-nav-discover{margin-top:6px}
 body[data-app=home] .hd-rail-bottom{padding-top:8px;gap:1px}
 body[data-app=home] .hd-rail-bottom>button{min-height:28px;padding:3px 10px}
 body[data-app=home] .hd-rail-bottom #home-profile{min-height:36px;padding:3px 10px;margin-top:3px}
 body[data-app=home] #home-profile .hd-avatar{width:28px;height:28px}
 body[data-app=home] #home-rail-collapse{padding-block:3px;margin-top:0}
}

/* Fit the full rail between the tall-screen and laptop densities. */
@media(min-width:761px) and (min-height:901px) and (max-height:1000px){
 body[data-app=home] .hd-rail{padding:18px 18px 12px}
 body[data-app=home] .hd-logo{margin-bottom:16px}
 body[data-app=home] .hd-rail nav{gap:2px}
 body[data-app=home] .hd-nav-label{margin:8px 0 6px}
 body[data-app=home] .hd-nav-discover{margin-top:14px}
 body[data-app=home] .hd-rail nav a,body[data-app=home] .hd-rail-bottom>button{min-height:38px;padding:7px 13px;line-height:24px}
 body[data-app=home] .hd-rail-bottom{padding-top:12px;gap:2px}
 body[data-app=home] .hd-rail-bottom #home-profile{padding:10px;margin-top:5px;line-height:normal}
 body[data-app=home] #home-rail-collapse{padding:7px 13px;margin-top:0}
}

/* Keep the Home overview within the available desktop height. */
body[data-app=home] .hc-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;min-width:0}
body[data-app=home] .hc-tools>.hc-more,body[data-app=home] .hc-tools>.hm-atlas-details{margin:0;min-width:0}
body[data-app=home] .hc-tools>.hm-atlas-details{padding:0;border:0;background:transparent}
body[data-app=home] .hc-tools>.hm-footer{margin:0 0 0 auto;min-width:0;width:auto;flex:1;justify-content:flex-end}
body[data-app=home] .hc-tools>details>summary{font-size:13px;line-height:20px;min-height:30px;padding:5px 0;cursor:pointer}
body[data-app=home] .hc-tools>.hm-footer button{padding:3px 0;min-height:26px}
@media(min-width:1001px) and (min-height:620px){
 body[data-app=home] .hc-page{--hc-header:64px}
 body[data-app=home] .hc-topbar{height:var(--hc-header);padding-inline:28px}
 body[data-app=home] .hc-content{height:calc(100dvh - var(--hc-header));display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:14px;padding:20px 28px 16px;min-height:0}
 body[data-app=home] .hc-greeting{min-height:64px;gap:20px;margin:0}
 body[data-app=home] .hc-greeting h1{font-size:30px}
 body[data-app=home] .hc-greeting p{font-size:15px;margin-top:7px}
 body[data-app=home] .hc-today>strong{width:58px;height:58px;font-size:26px}
 body[data-app=home] .hc-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,.85fr) minmax(0,1.15fr);gap:14px;min-height:0}
 body[data-app=home] .hc-grid>.hc-card,body[data-app=home] .hc-grid>.hm-weather{min-height:0;padding:20px;border-radius:22px}
 body[data-app=home] .hc-ticket{grid-column:span 6;grid-template-columns:minmax(0,1fr) 130px;min-height:0}
 body[data-app=home] .hc-grid>.hc-ticket{padding:0}
 body[data-app=home] .hc-ticket-info{padding:20px;gap:9px}
 body[data-app=home] .hc-ticket h2{font-size:25px;line-height:1.2}
 body[data-app=home] .hc-ticket-date strong{font-size:48px}
 body[data-app=home] .hc-ticket-date span{font-size:14px}
 body[data-app=home] .hc-grid>.hm-weather{grid-column:span 3}
 body[data-app=home] .hc-progress{grid-column:span 3}
 body[data-app=home] .hc-progress-body{flex-direction:row;align-items:center;gap:14px}
 body[data-app=home] .hc-ring{width:94px;height:94px}
 body[data-app=home] .hc-ring>span{width:78px;height:78px}
 body[data-app=home] .hc-ring strong{font-size:27px}
 body[data-app=home] .hc-photo{grid-column:span 5;min-height:0;border-radius:22px}
 body[data-app=home] .hc-photo>div{padding:22px}
 body[data-app=home] .hc-photo h2{font-size:25px}
 body[data-app=home] .hc-inbox{grid-column:span 4;display:flex;flex-direction:column}
 body[data-app=home] .hc-inbox [role=tabpanel]{display:flex;flex-direction:column;flex:1;min-height:0}
 body[data-app=home] .hc-inbox [role=tabpanel][hidden]{display:none}
 body[data-app=home] .hc-inbox .hc-card-head{margin-bottom:8px}
 body[data-app=home] .hc-card h2{font-size:21px}
 body[data-app=home] .hc-tabs button{min-height:32px;padding-bottom:7px}
 body[data-app=home] .hc-task,body[data-app=home] .hc-chat{padding:7px 0;gap:10px}
 body[data-app=home] .hc-task strong,body[data-app=home] .hc-chat strong{font-size:16px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body[data-app=home] .hc-task small,body[data-app=home] .hc-chat small{font-size:12px;line-height:1.25;margin-top:3px}
 body[data-app=home] .hc-inbox-more{margin-top:auto;min-height:28px;padding-top:4px}
 body[data-app=home] .hc-files{grid-column:span 3}
 body[data-app=home] .hc-file-art{width:90px;height:90px;padding:12px;margin:0 0 14px}
 body[data-app=home] .hc-file-art>span{width:66px;height:66px}
 body[data-app=home] .hc-files>strong{font-size:17px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body[data-app=home] .hc-files>p{margin:6px 0 8px}
 body[data-app=home] .hc-bottom{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;margin:0}
 body[data-app=home] .hc-favorites{gap:7px}
 body[data-app=home] .hc-favorites>a{min-height:36px;padding:6px 10px;font-size:13px}
 body[data-app=home] .hc-favorites img{width:24px;height:24px}
 body[data-app=home] .hc-tools{gap:8px 20px}
 body[data-app=home] .hc-tools .hm-footer{font-size:12px;gap:12px}
 body[data-app=home] .hc-tools>details[open]>.hc-extra-grid,body[data-app=home] .hc-tools>details[open]>#home-atlas-activity{position:fixed;right:28px;bottom:56px;width:min(940px,calc(100vw - var(--hm-width) - 56px));max-height:calc(100dvh - 140px);overflow:auto;overscroll-behavior:contain;margin:0;padding:16px;border:1px solid var(--hm-border);border-radius:20px;background:var(--hm-bg);box-shadow:0 18px 60px #17221e30;z-index:35}
 body[data-app=home] .hc-tools>details[open]>#home-atlas-activity{width:min(700px,calc(100vw - var(--hm-width) - 56px))}
}
/* Compact the main container on laptops, without shrinking the whole page. */
@media(min-width:1001px) and (max-width:1550px), (min-width:1001px) and (max-height:950px){
 body[data-app=home] .hc-page{--hc-header:50px}
 body[data-app=home] .hc-topbar{height:var(--hc-header);padding-inline:18px}
 body[data-app=home] .hc-topbar>strong{font-size:14px;gap:9px}
 body[data-app=home] .hc-topbar>strong>svg{width:18px;height:18px}
 body[data-app=home] .hc-topbar input{font-size:13px}
 body[data-app=home] .hc-topbar .hm-user-avatar{width:32px;height:32px;font-size:12px}
 body[data-app=home] .hc-topbar .hm-user-menu>summary{font-size:13px;gap:8px}
 body[data-app=home] .hc-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;padding:12px 18px;gap:10px;max-height:580px;align-content:start}
 body[data-app=home] .hc-greeting{min-height:44px;gap:14px;margin:0}
 body[data-app=home] .hc-greeting h1{font-size:23px;letter-spacing:-.6px}
 body[data-app=home] .hc-greeting p{font-size:13px;margin-top:4px;line-height:1.35}
 body[data-app=home] .hc-today{display:none}
 body[data-app=home] .hc-personalize{min-height:32px;padding:6px 12px;font-size:12px}
 body[data-app=home] .hc-personalize svg{width:15px;height:15px}
 body[data-app=home] .hc-grid{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:minmax(0,.85fr) minmax(0,1.15fr);gap:10px;max-height:420px}
 body[data-app=home] .hc-ticket{grid-column:span 6}
 body[data-app=home] .hc-grid>.hm-weather,body[data-app=home] .hc-progress,body[data-app=home] .hc-files{grid-column:span 3}
 body[data-app=home] .hc-grid>.hc-card,body[data-app=home] .hc-grid>.hm-weather,body[data-app=home] .hc-photo{min-height:0}
 body[data-app=home] .hc-grid>.hc-card,body[data-app=home] .hc-grid>.hm-weather{padding:13px;border-radius:17px}
 body[data-app=home] .hc-card h2{font-size:16px;line-height:1.25}
 body[data-app=home] .hc-card p{font-size:13px}
 body[data-app=home] .hc-card-head{margin-bottom:8px}
 body[data-app=home] .hc-card-head svg{width:16px;height:16px}
 body[data-app=home] .hc-grid>.hc-ticket{padding:0;grid-template-columns:minmax(0,1fr) 92px}
 body[data-app=home] .hc-ticket-info{padding:14px;gap:6px}
 body[data-app=home] .hc-ticket h2{font-size:20px;line-height:1.2}
 body[data-app=home] .hc-ticket p{font-size:13px;line-height:1.4}
 body[data-app=home] .hc-ticket-date{gap:4px;padding:10px}
 body[data-app=home] .hc-ticket-date strong{font-size:34px}
 body[data-app=home] .hc-ticket-date span,body[data-app=home] .hc-ticket-date small{font-size:12px}
 body[data-app=home] .hc-kicker{font-size:11px;letter-spacing:1px}
 body[data-app=home] .hc-link{font-size:12px;min-height:24px}
 body[data-app=home] .hc-grid>.hm-weather .hm-card-head{margin-bottom:7px}
 body[data-app=home] .hc-grid>.hm-weather h2{font-size:13px}
 body[data-app=home] .hc-grid>.hm-weather .hm-location{font-size:12px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-temp{font-size:31px;letter-spacing:-1.2px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-temp sup{font-size:20px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-current>svg{width:42px;height:38px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-current strong{font-size:12px;margin-top:2px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-current small,body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend>div>small{display:none}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend{gap:8px;margin-top:7px;padding-top:6px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend strong{font-size:12px;margin-top:3px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-source{padding-top:7px;gap:4px 9px;line-height:1.25}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-source a{font-size:11px}
 body[data-app=home] .hc-progress-body{flex-direction:row;gap:9px}
 body[data-app=home] .hc-ring{width:66px;height:66px}
 body[data-app=home] .hc-ring>span{width:54px;height:54px}
 body[data-app=home] .hc-ring strong{font-size:21px}
 body[data-app=home] .hc-ring small{font-size:10px;margin-top:3px}
 body[data-app=home] .hc-progress-body p{font-size:13px;line-height:1.4}
 body[data-app=home] .hc-progress-body p>small{font-size:12px;margin-top:5px}
 body[data-app=home] .hc-photo{grid-column:span 4;border-radius:17px}
 body[data-app=home] .hc-photo>div{padding:15px}
 body[data-app=home] .hc-photo h2{font-size:20px;line-height:1.2;margin:5px 0}
 body[data-app=home] .hc-photo p,body[data-app=home] .hc-photo a{font-size:12px;line-height:1.4}
 body[data-app=home] .hc-photo a{min-height:24px;margin-top:5px}
 body[data-app=home] .hc-inbox{grid-column:span 5;display:flex;flex-direction:column}
 body[data-app=home] .hc-inbox [role=tabpanel]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:min-content;align-content:start;gap:2px 12px}
 body[data-app=home] .hc-inbox [role=tabpanel][hidden]{display:none}
 body[data-app=home] .hc-tabs{gap:14px}
 body[data-app=home] .hc-tabs button{font-size:12px;min-height:28px;padding-bottom:5px}
 body[data-app=home] .hc-task,body[data-app=home] .hc-chat{padding:3px 0;gap:7px}
 body[data-app=home] .hc-task strong,body[data-app=home] .hc-chat strong{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body[data-app=home] .hc-task small,body[data-app=home] .hc-chat small{font-size:12px;line-height:1.3;margin-top:3px}
 body[data-app=home] .hc-task-square{width:14px;height:14px}
 body[data-app=home] .hc-avatar{width:28px;height:28px;font-size:12px}
 body[data-app=home] .hc-inbox-more,body[data-app=home] .hc-inbox .hc-empty{grid-column:1/-1}
 body[data-app=home] .hc-inbox-more{margin-top:0;padding-top:4px}
 body[data-app=home] .hc-files .hc-card-head{margin-bottom:8px}
 body[data-app=home] .hc-file-art{width:58px;height:58px;padding:8px;margin:0 0 9px}
 body[data-app=home] .hc-file-art>span{width:42px;height:42px}
 body[data-app=home] .hc-file-art svg{width:19px;height:19px}
 body[data-app=home] .hc-files>strong{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body[data-app=home] .hc-files>p{font-size:12px;line-height:1.4;margin:4px 0 6px}
 body[data-app=home] .hc-all-files{padding-top:6px}
 body[data-app=home] .hc-bottom{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0}
 body[data-app=home] .hc-conversation-summary{font-size:12px;min-width:145px;gap:8px}
 body[data-app=home] .hc-conversation-summary>svg{width:18px;height:18px}
 body[data-app=home] .hc-conversation-summary small{font-size:12px;margin-top:3px}
 body[data-app=home] .hc-favorites{gap:6px}
 body[data-app=home] .hc-favorites>a{min-height:30px;font-size:12px;padding:4px 8px;gap:5px}
 body[data-app=home] .hc-favorites img{width:20px;height:20px}
 body[data-app=home] .hc-tools{gap:5px 16px}
 body[data-app=home] .hc-tools>details>summary{font-size:12px;min-height:26px;padding:3px 0}
 body[data-app=home] .hc-tools .hm-footer{font-size:12px;gap:10px}
}
/* Leave room for browser chrome on shorter laptop screens. */
@media(min-width:1001px) and (max-height:700px){
 body[data-app=home] .hc-grid>.hc-card,body[data-app=home] .hc-grid>.hm-weather{padding:12px}
 body[data-app=home] .hc-grid>.hc-ticket{padding:0}
 body[data-app=home] .hc-ticket-info{padding:14px;gap:5px}
 body[data-app=home] .hc-grid>.hm-weather .hm-card-head{margin-bottom:4px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-weekend{margin-top:6px;padding-top:5px}
 body[data-app=home] .hc-grid>.hm-weather .hm-weather-source{padding-top:5px}
 body[data-app=home] .hc-inbox .hc-card-head{margin-bottom:4px}
 body[data-app=home] .hc-tabs button{min-height:26px;padding-bottom:4px}
 body[data-app=home] .hc-inbox [role=tabpanel]{row-gap:2px}
 body[data-app=home] .hc-task,body[data-app=home] .hc-chat{padding:4px 0}
 body[data-app=home] .hc-file-art{width:52px;height:52px;padding:7px;margin-bottom:7px}
 body[data-app=home] .hc-file-art>span{width:38px;height:38px}
}
@media(min-width:761px) and (max-width:1000px){
 body[data-app=home] .hc-topbar{height:56px}
 body[data-app=home] .hc-content{padding:16px 20px}
 body[data-app=home] .hc-greeting{min-height:56px;margin-bottom:14px}
 body[data-app=home] .hc-greeting h1{font-size:25px}
 body[data-app=home] .hc-greeting p{font-size:14px}
 body[data-app=home] .hc-grid{gap:14px}
 body[data-app=home] .hc-card{padding:18px}
 body[data-app=home] .hc-card h2{font-size:19px}
 body[data-app=home] .hc-ticket{min-height:190px;padding:0}
 body[data-app=home] .hc-ticket-info{padding:18px}
 body[data-app=home] .hc-ticket h2{font-size:23px}
 body[data-app=home] .hc-photo{min-height:210px}
 body[data-app=home] .hc-photo h2{font-size:23px}
 body[data-app=home] .hc-task strong,body[data-app=home] .hc-chat strong{font-size:15px}
 body[data-app=home] .hc-task,body[data-app=home] .hc-chat{padding:10px 0}
 body[data-app=home] .hc-file-art{width:80px;height:80px;margin-bottom:14px}
 body[data-app=home] .hc-file-art>span{width:60px;height:60px}
}
/* Very short windows keep compact cards in document flow. */
@media(min-width:1001px) and (max-height:619px){
 body[data-app=home] .hc-content{height:auto;max-height:none;grid-template-rows:auto auto auto auto}
 body[data-app=home] .hc-grid{grid-template-rows:170px 230px;max-height:none}
}
@media(max-width:760px){
 body[data-app=home] .hc-tools{align-items:flex-start;gap:8px 20px}
 body[data-app=home] .hc-tools>.hc-more[open]{width:100%}
 body[data-app=home] .hc-tools>.hm-footer{flex:1 0 100%;margin-top:5px}
}

/* Native shared group activity. */
.hg-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.hgn-channels{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.hgn-channels label{margin:0;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e0e3db;border-radius:14px;background:white;padding:22px}.hgn-channels strong,.hgn-channels small{display:block}.hgn-channels strong{font-size:20px;margin-bottom:8px}.hgn-channels small{line-height:1.6;font-size:13px}.hgn-page input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;accent-color:#9b5137}.hgn-info{padding:15px 18px;background:#fff1d9;border-radius:12px;font-size:14px;line-height:1.7}.hgn-info a{text-decoration:underline}.hgn-device{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid #dedfd8;border-radius:14px;background:#fff;margin-bottom:28px}.hgn-device h2{margin:0 0 8px}.hgn-device p{margin:0;color:#687267;font-size:14px}.hgn-device button{flex-shrink:0;min-height:44px}.hgn-groups>p,.hgn-note{font-size:13px;line-height:1.7;color:#667167}.hgn-table{border:1px solid #e1e2da;border-radius:13px;background:#fff;overflow:hidden;margin:18px 0 26px}.hgn-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #e7e8e1}.hgn-row:last-child{border:0}.hgn-row>strong{overflow-wrap:anywhere;font-size:14px}.hgn-row>span:not(:first-child){text-align:center}.hgn-labels{background:#f4f3ed;font-size:13px;font-weight:600}.hgn-page .hm-heading{flex-wrap:wrap;gap:16px}@media(max-width:760px){.hgn-channels{grid-template-columns:1fr;gap:12px}.hgn-channels label{padding:18px}.hgn-device{flex-direction:column;align-items:stretch;padding:18px}.hgn-row{grid-template-columns:minmax(0,1fr) 55px 55px;padding:14px 12px;gap:6px}.hgn-page .hm-main{padding-top:24px}.hm-groups-page .hm-top-actions{gap:5px}.hm-groups-page .hm-top-actions>a{padding:8px;font-size:11px}}
.hg-tabs{display:flex;gap:6px;margin:0 0 18px}.hg-tabs a{padding:9px 16px;border-radius:9px;text-decoration:none;color:var(--hm-ink,#25362e);border:1px solid #e4e7e1;background:#fff}.hg-tabs a[aria-current=page]{background:#f6e4de;border-color:#e9b7a7;color:#763b2b}
.hg-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:22px}.hg-groups{display:flex;flex-direction:column;gap:8px;align-self:start}.hg-groups h2{font-size:16px;margin:0 0 8px}.hg-groups button{text-align:left;border:1px solid #e4e7e1;background:#fff;padding:13px;border-radius:12px;display:flex;flex-direction:column;gap:5px;min-height:60px;white-space:normal;overflow-wrap:anywhere}.hg-groups button[aria-current=page]{background:#f9e9e3;border-color:#dba48f;color:#713724}.hg-groups button small{color:#667367}.hg-groups button>span{font-size:12px;font-weight:650}.hg-groups>a{padding:10px 3px;font-size:13px;line-height:1.5;color:#6b533e}
.hg-content{min-width:0}.hg-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}.hg-summary article{border:1px solid #e7e8e2;border-radius:12px;padding:14px;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:7px;background:#fff}.hg-summary svg{width:22px;height:22px;color:#8d6855}.hg-summary strong{font-size:25px}.hg-summary span{grid-column:1/-1;font-size:12px;color:#657167;line-height:1.4}
.hg-filters{display:grid;grid-template-columns:140px minmax(0,1fr) auto auto;gap:10px;align-items:end;margin-bottom:18px}.hg-filters label{margin:0;min-width:0;font-size:13px}.hg-filters input,.hg-filters select{width:100%;min-width:0;margin:5px 0 0;background:#fff;border:1px solid #dce0d8;border-radius:9px;padding:10px;min-height:44px}.hg-filters button{min-height:44px;margin:0;padding:10px 14px;background:#fff;border:1px solid #dce0d8;color:#4f5b50}.hg-selected-name{font-size:20px;margin:12px 0}.hg-period{font-size:12px;line-height:1.6;color:#667167;margin:12px 0 16px}.hg-access{background:#f7f3eb;border-radius:10px;padding:12px;margin:10px 0;font-size:13px;line-height:1.6}.hg-access summary{cursor:pointer;font-weight:600}.hg-access p{margin:8px 0}.hg-access a{color:#685435}
.hg-items{border:1px solid #e4e7df;border-radius:14px;overflow:hidden;background:#fff}.hg-item{width:100%;display:flex;align-items:center;gap:13px;background:#fff;border:0;border-bottom:1px solid #e9ece5;border-radius:0;text-align:left;padding:16px;color:#26362c;white-space:normal}.hg-item:last-child{border-bottom:0}.hg-item:hover{background:#fcf5ef}.hg-item-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#f5ebe2;border-radius:10px;color:#8b5c40}.hg-item-icon svg{width:20px;height:20px}.hg-item-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}.hg-item-copy small{font-size:11px;color:#78654f}.hg-item-copy strong{font-size:14px;line-height:1.4}.hg-item-copy>span{font-size:12px;color:#667167;line-height:1.5}.hg-item time{font-size:11px;color:#6c786d;max-width:90px;line-height:1.5;text-align:right}.hg-empty{padding:30px;line-height:1.7;color:#536254}.hg-empty h3{margin-top:0;color:#293e2e}.hg-pagination{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.hg-pagination button{background:#fff;color:#634a3a;border:1px solid #dfd5c9;border-radius:9px;min-height:44px;padding:10px 14px}.hg-loading{padding:26px;color:#637264}.hc-group-activity-shortcut{display:flex;justify-content:space-between;align-items:center;margin:20px 0 6px;padding:15px 18px;border:1px solid #e0d4c9;border-radius:12px;color:#684431;text-decoration:none;font-weight:600;background:#fffaf4}
@media(max-width:1050px){.hg-layout{grid-template-columns:185px minmax(0,1fr);gap:16px}.hg-filters{grid-template-columns:1fr 1fr}.hg-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hg-layout{display:flex;flex-direction:column;gap:18px;margin-top:16px}.hg-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));width:100%;gap:8px}.hg-groups h2,.hg-groups>a{grid-column:1/-1}.hg-groups>a{padding:2px 0}.hg-groups button{min-height:70px;padding:11px}.hg-summary{gap:8px;margin-bottom:16px}.hg-summary article{padding:11px}.hg-filters{gap:8px}.hg-filters label:first-child{grid-column:1/-1}.hg-filters label:nth-child(2){grid-column:1/-1}.hg-item{gap:9px;padding:13px 10px;align-items:flex-start}.hg-item-icon{width:32px;height:32px;flex-basis:32px}.hg-item time{max-width:60px;font-size:10px}.hg-item-copy strong{font-size:13px}.hg-item>span:last-child{display:none}.hg-empty{padding:22px}.hg-page .hm-heading{flex-wrap:wrap;gap:12px}.hg-page .hm-heading>a{font-size:12px}.hg-tabs{margin-bottom:15px}}

.hgn-summary{background:#fff;border:1px solid #e0e3db;border-radius:14px;padding:22px;margin-bottom:24px}.hgn-summary h2{margin:0 0 8px}.hgn-summary>p{font-size:14px;color:#667167;line-height:1.7}.hgn-summary-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.hgn-summary-fields label{font-size:13px;min-width:0;margin:0}.hgn-summary-fields select,.hgn-summary-fields input{display:block;width:100%;min-width:0;margin-top:7px;min-height:44px;border:1px solid #dce0d8;border-radius:9px;background:#fff;color:#293e2e;padding:10px}.hgn-summary [hidden]{display:none!important}.hgn-summary-actions{display:flex;gap:18px;align-items:center}.hgn-summary-actions button{flex-shrink:0;min-height:44px}.hgn-summary-actions p{margin:0;font-size:13px;line-height:1.6;color:#667167}.hgn-summary .hgn-note{margin-bottom:0}@media(max-width:760px){.hgn-summary{padding:18px}.hgn-summary-fields{grid-template-columns:1fr;gap:14px}.hgn-summary-actions{align-items:stretch;flex-direction:column;gap:12px}}

.hg-summary{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1050px){.hg-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Current group priorities, sharing the Home card and activity row language. */
.hgp-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.hgp-counts>a,.hgp-counts>button{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid #e4e7df;border-radius:14px;background:#fff;color:#35483a;text-align:left;white-space:normal;text-decoration:none;min-width:0;min-height:94px}
.hgp-counts strong{font-size:26px;line-height:1}.hgp-counts span{font-size:13px;line-height:1.4}.hgp-counts button[aria-pressed=true]{border-color:#b87960;background:#fff3ec}
.hgp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.hgp-toolbar h2{font-size:19px;margin:0 0 6px}.hgp-toolbar p{margin:0;color:#667367;font-size:13px;line-height:1.6}.hgp-toolbar>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.hgp-toolbar button,.hgp-page [data-pending-retry]{background:#fff;border:1px solid #dfd5c9;border-radius:9px;padding:10px 14px;min-height:44px;color:#634a3a}
.hgp-when{display:flex;flex-direction:column;gap:9px;align-items:flex-end;flex-shrink:0}.hgp-when time{max-width:130px;display:block}.hgp-badge{font-size:11px;padding:5px 8px;border-radius:20px;background:#edf2ec;color:#435746;white-space:nowrap}
.hgp-badge[data-status=overdue]{background:#fbe7de;color:#923e25}.hgp-badge[data-status=ongoing],.hgp-badge[data-status=today]{background:#edf1d8;color:#516024}
.hgp-dashboard{margin:22px 0 18px;padding:22px!important}.hgp-dashboard>.hc-card-head{margin-bottom:8px}.hgp-dashboard>p{font-size:13px;color:#667367;margin:0 0 18px}.hgp-dashboard .hg-item{padding:14px}.hgp-dashboard .hgp-counts{margin-bottom:14px}.hgp-dashboard .hgp-counts>a{min-height:75px;padding:15px;background:#fbfaf7}.hgp-dashboard .hg-loading{padding:10px 0}
@media(max-width:760px){.hgp-counts{gap:8px}.hgp-counts>a,.hgp-counts>button{padding:12px;min-height:90px}.hgp-counts strong{font-size:23px}.hgp-counts span{font-size:11px}.hgp-toolbar{align-items:flex-start;flex-direction:column}.hgp-when{max-width:105px}.hgp-when time{max-width:100%;font-size:11px}.hgp-dashboard{padding:16px!important}.hgp-dashboard .hc-card-head{align-items:flex-start;gap:12px}.hgp-dashboard .hc-card-head h2{font-size:17px}.hgp-dashboard .hgp-counts>a{padding:10px}.hgp-dashboard .hg-item{padding:12px 9px}.hgp-dashboard .hg-item>span:last-child{display:none}}

/* The new summary adds a document row; let Home grow with its content. */
body[data-app=home] .hc-content.hc-with-group-pending{height:auto;max-height:none;display:block}
body[data-app=home] .hc-with-group-pending .hc-greeting{margin-bottom:18px}
body[data-app=home] .hc-with-group-pending .hc-grid{grid-template-rows:auto;max-height:none}
body[data-app=home] .hc-with-group-pending .hc-bottom{margin-top:18px}

.hgp-responsibilities{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.hgp-responsibilities button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #dddcd4;border-radius:24px;background:#fff;color:#514b3f;font-size:13px;white-space:normal}
.hgp-responsibilities button[aria-pressed=true]{background:#f8e8df;border-color:#c58a71;color:#783b28}
.hgp-responsibilities small{display:inline-grid;place-items:center;min-width:23px;min-height:23px;padding:1px 5px;background:#f1eee8;border-radius:20px;font-size:11px;color:#4b554b}
.hgp-responsibilities button[aria-pressed=true] small{background:#fff5ef;color:#783b28}
.hgp-responsibility-hint{font-size:12px!important;line-height:1.6!important;color:#667167!important;margin:0 0 16px!important}
.hg-item-copy .hgp-assignee{font-size:12px;font-weight:600;color:#50634e}
.hg-item-copy .hgp-assignee[data-assignment-status=mine]{color:#24654c}
.hg-item-copy .hgp-assignee[data-assignment-status=unassigned],.hg-item-copy .hgp-assignee[data-assignment-status=unavailable]{color:#936127}
@media(max-width:760px){.hgp-responsibilities{gap:6px}.hgp-responsibilities button{padding:9px 12px;font-size:12px}.hgp-responsibility-hint{font-size:11px!important}}

/* Home responsibility editor */
.hgp-row{background:#fff;border-bottom:1px solid #e9ece5}.hgp-row:last-child{border-bottom:0}.hgp-row>.hg-item{border-bottom:0}.hgp-edit{margin:0 16px 14px 67px;min-height:40px;padding:8px 13px;border:1px solid #decbbf;border-radius:8px;background:#fffaf6;color:#884631;font:inherit;font-size:12px;font-weight:600}.hgp-edit:hover{background:#f8e8df}.hgp-edit:focus-visible,.hgp-editor button:focus-visible,.hgp-editor select:focus-visible{outline:3px solid #bc775e;outline-offset:3px}
.hgp-editor{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:26px;border:1px solid #ded9d0;border-radius:18px;background:#fffdf9;color:#26362c;box-shadow:0 18px 65px #17231b33;font-family:inherit}.hgp-editor::backdrop{background:#17231b66}.hgp-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.hgp-editor h2{font-size:21px;line-height:1.3;margin:0}.hgp-editor-head button{flex-shrink:0;border:0;background:transparent;min-width:44px;min-height:44px;font-size:26px;color:#596253}.hgp-editor-task{font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;margin:16px 0 10px}.hgp-editor-current{font-size:13px;color:#50634e;margin:0 0 14px}.hgp-editor-scope{font-size:13px;line-height:1.6;color:#657062;margin:10px 0 18px}.hgp-editor label{display:block;font-size:13px;font-weight:600;margin:16px 0 8px}.hgp-editor select{box-sizing:border-box;width:100%;min-height:48px;padding:10px;border:1px solid #c8cec1;border-radius:9px;background:#fff;color:#26362c;font:inherit;font-size:15px}.hgp-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.hgp-editor-actions button{min-height:44px;padding:10px 18px;border:1px solid #d8d8cb;border-radius:9px;background:#fff;color:#59604e;font:inherit;font-size:14px}.hgp-editor-actions button[type=submit]{background:#a34d38;border-color:#a34d38;color:#fff}.hgp-editor button:disabled,.hgp-editor select:disabled{opacity:.5;cursor:default}.hgp-editor-saving{min-height:1.5em;font-size:13px;color:#657062;margin:10px 0 0}
@media(max-width:760px){.hgp-edit{margin:0 10px 12px 51px;min-height:44px}.hgp-editor{padding:19px;width:calc(100vw - 28px);max-height:calc(100dvh - 28px)}.hgp-editor h2{font-size:19px}.hgp-editor-actions button{flex:1}.hgp-editor-actions{margin-top:16px}}

/* Group pending completion actions */
.hgp-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 16px 14px 67px}.hgp-row-actions .hgp-edit{margin:0}.hgp-complete{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 14px;border:1px solid #b8c9b8;border-radius:8px;background:#edf4eb;color:#315c3d;font:inherit;font-size:12px;font-weight:600}.hgp-complete:hover{background:#e1eddf}.hgp-complete:focus-visible{outline:3px solid #6d986c;outline-offset:3px}.hgp-row-actions button:disabled{opacity:.55;cursor:default}.hgp-complete[aria-busy=true]{opacity:.85}
@media(max-width:760px){.hgp-row-actions{margin:0 10px 12px 51px;gap:7px}.hgp-row-actions .hgp-edit{margin:0}.hgp-complete{padding:9px 12px}}

/* Completed group tasks, using the same accessible controls as pending tasks. */
.hgp-states{display:flex;gap:6px;border-bottom:1px solid #e3e3d9;margin:0 0 20px;padding-bottom:10px}.hgp-states button{min-height:44px;border:1px solid transparent;border-radius:10px;padding:10px 18px;background:transparent;color:#5b6257;font:inherit;font-size:14px;font-weight:600}.hgp-states button[aria-pressed=true]{background:#f8e8df;color:#783b28;border-color:#e2c3b2}.hgp-history-filter{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:13px;color:#596253}.hgp-history-filter label{font-weight:600}.hgp-history-filter select{min-height:44px;border:1px solid #d8d9cc;border-radius:9px;background:#fff;color:#35483a;padding:9px 30px 9px 12px;font:inherit}.hgp-reopen{min-height:44px;padding:9px 14px;border:1px solid #decbbf;border-radius:8px;background:#fffaf6;color:#884631;font:inherit;font-size:12px;font-weight:600}.hgp-reopen:hover{background:#f8e8df}.hgp-reopen:focus-visible,.hgp-states button:focus-visible,.hgp-history-filter select:focus-visible{outline:3px solid #bc775e;outline-offset:3px}.hgp-badge[data-status=completed]{color:#315c3d;background:#edf4eb}.hgp-dashboard>p>a{color:#884631;white-space:nowrap}.hgp-history-filter select:disabled{opacity:.55}
@media(max-width:760px){.hgp-states button{flex:1;padding:10px 12px}.hgp-history-filter select{flex:1;min-width:0}}

/* Search the authorized completion history, including both civil-date limits. */
.hgp-history-search{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(2,minmax(140px,1fr));gap:12px;margin:0 0 14px;padding:17px;background:#fff;border:1px solid #e4e3da;border-radius:14px}.hgp-history-search label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#596253;min-width:0}.hgp-history-search input{box-sizing:border-box;min-width:0;width:100%;min-height:44px;border:1px solid #d5d9cc;border-radius:8px;background:#fff;color:#26362c;font:inherit;font-size:14px;padding:10px 11px}.hgp-history-search input:focus-visible{outline:3px solid #bc775e;outline-offset:2px}.hgp-history-search-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.hgp-history-search button{min-height:44px;padding:10px 15px;border:1px solid #d8d7cb;border-radius:8px;background:#fff;color:#634a3a;font:inherit;font-size:13px}.hgp-history-search button[type=submit]{background:#a34d38;color:#fff;border-color:#a34d38}.hgp-history-search :disabled{opacity:.55;cursor:default}.hgp-search-hint,.hgp-search-error{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0;color:#687364}.hgp-search-error:empty{display:none}.hgp-search-error{color:#943f2a}.hgp-applied-filters{font-size:12px;line-height:1.6;color:#667167;margin:0 0 15px;overflow-wrap:anywhere}
@media(max-width:900px){.hgp-history-search{grid-template-columns:repeat(2,minmax(0,1fr))}.hgp-search-name{grid-column:1/-1}}
@media(max-width:480px){.hgp-history-search{padding:13px;gap:10px;grid-template-columns:minmax(0,1fr)}.hgp-history-search-actions button{flex:1}.hgp-history-search input{font-size:16px}}

/* Personal history views */
.hgp-favorites{padding:18px;border:1px solid var(--hc-border,#e5e7eb);border-radius:14px;background:#fff;margin:12px 0 18px;display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.hgp-favorites>div:first-child{flex:1 1 220px;min-width:0}.hgp-favorites label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.hgp-favorites select{width:100%;min-width:0;min-height:44px;border:1px solid #d6dce3;border-radius:9px;background:white;padding:10px;font:inherit}
.hgp-favorite-actions{display:flex;flex-wrap:wrap;gap:8px}.hgp-favorite-actions button{min-height:44px;padding:10px 13px;border:1px solid #d6dce3;border-radius:9px;background:white;color:inherit;font:inherit;cursor:pointer}
.hgp-favorite-actions [data-favorite-save]{background:#a34d38;color:white;border-color:#a34d38}.hgp-favorite-actions button:disabled{opacity:.45;cursor:default}
.hgp-favorites p{flex:1 1 100%;font-size:12px;color:#657589;margin:0;line-height:1.5}.hgp-favorites :focus-visible{outline:3px solid #f0a08b;outline-offset:2px}
.hgp-editor [data-favorite-form] label{display:grid;gap:8px;font-weight:600}.hgp-editor [data-favorite-form] input{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #ccd4dd;border-radius:8px;padding:10px;font:inherit}
.hgp-editor [data-favorite-error]{color:#9b3328}.hgp-editor [data-favorite-form] p{line-height:1.5}
@media(max-width:480px){.hgp-favorites{padding:14px}.hgp-favorite-actions{width:100%}.hgp-favorite-actions button{flex:1 1 120px}.hgp-editor{width:calc(100% - 32px);box-sizing:border-box}}

.hgp-history-search .hgp-search-period{grid-column:1/-1;max-width:360px}.hgp-search-period select{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #d6dce3;border-radius:9px;background:#fff;color:inherit;font:inherit}.hgp-history-search input:disabled{background:#f4f4ef;color:#73786e;opacity:.65}.hgp-search-period select:focus-visible{outline:3px solid #f0a08b;outline-offset:2px}
@media(max-width:480px){.hgp-history-search .hgp-search-period{max-width:none}}

.hgp-favorite-replace{display:flex!important;align-items:center;gap:10px;min-height:44px;cursor:pointer}.hgp-favorite-replace input{width:18px;height:18px;accent-color:#a34d38;flex-shrink:0}
.hgp-editor [data-edit-favorite-form] input[name=name]{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #ccd4dd;border-radius:8px;padding:10px;font:inherit}
.hgp-favorite-preview{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 12px;padding:14px;background:#f6f4ef;border-radius:10px;font-size:13px;line-height:1.5}.hgp-favorite-preview dt{font-weight:600}.hgp-favorite-preview dd{margin:0;overflow-wrap:anywhere}.hgp-editor [data-edit-favorite-error]{color:#9b3328}
@media(max-width:480px){.hgp-favorite-preview{grid-template-columns:1fr;gap:3px}.hgp-favorite-preview dd{margin-bottom:8px}}

.hgp-default-state{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;width:100%;padding-top:10px;border-top:1px solid #e9e7e1}.hgp-default-state p{flex:1;min-width:150px;overflow-wrap:anywhere}.hgp-default-state button{min-height:44px;padding:8px 12px;border:1px solid #d6dce3;border-radius:9px;background:#fff;color:inherit;font:inherit;font-size:13px;cursor:pointer}

.hhs-dashboard{margin:0 0 24px!important}.hhs-dashboard>p{font-size:13px;color:var(--hc-muted,#686e65);margin:0 0 14px}.hhs-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:10px;margin:0;padding:0}.hhs-list li{min-width:0}.hhs-list a,.hhs-unavailable{display:flex;align-items:center;gap:10px;min-height:74px;height:100%;padding:14px;border:1px solid #e9e7e1;border-radius:12px;text-decoration:none;color:inherit;background:#fff;box-sizing:border-box}.hhs-list a:hover{border-color:#c78673;background:#fbf4f0}.hhs-list a:focus-visible{outline:2px solid #9f4d38;outline-offset:3px}.hhs-list a>span,.hhs-unavailable>span{min-width:0;flex:1}.hhs-list strong{display:block;font-size:14px;overflow-wrap:anywhere}.hhs-list small{display:block;font-size:12px;color:#6e746a;margin-top:5px}.hhs-list em{flex-shrink:0;font-size:10px;font-style:normal;background:#f6e7df;color:#8d4432;border-radius:20px;padding:4px 7px}.hhs-list b{font-weight:400;color:#994a35}.hhs-unavailable{background:#f7f7f4;color:#767a72;flex-wrap:wrap}.hhs-empty p{font-size:14px;color:#687064}.hhs-empty a{color:#954a37;font-size:13px}.hhs-empty button{min-height:44px;padding:9px 14px;border:1px solid #ddd;border-radius:9px;background:#fff;color:inherit;font:inherit}.hhs-dashboard .hc-card-head{gap:12px;flex-wrap:wrap}.hhs-dashboard .hc-card-head h2{font-size:18px}.hhs-dashboard .hc-link{white-space:nowrap}
@media(max-width:1100px){.hhs-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hhs-list{grid-template-columns:1fr}.hhs-dashboard{margin-bottom:20px!important}.hhs-list a{flex-wrap:wrap}.hhs-list em{margin-left:auto}.hhs-dashboard .hc-card-head{align-items:flex-start}.hhs-dashboard .hc-card-head h2{font-size:17px}}

.hhs-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.hhs-tools>span,.hhs-feedback{font-size:12px;color:#687064}.hhs-tools button,.hhs-editor button{min-height:44px;padding:9px 13px;border:1px solid #deded8;border-radius:9px;background:#fff;color:inherit;font:inherit;font-size:13px;cursor:pointer}.hhs-editor{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #e2e2db;border-radius:18px;color:#27302a;background:#fff;box-shadow:0 18px 80px #0003;box-sizing:border-box}.hhs-editor::backdrop{background:#17231d66}.hhs-editor-head{display:flex;justify-content:space-between;gap:16px}.hhs-editor h2{font-size:22px;margin:0 0 8px}.hhs-editor p{font-size:13px;line-height:1.5}.hhs-editor-head>button{flex:none;align-self:flex-start;font-size:22px;padding:4px 12px}.hhs-mode{background:#f8f4ee;border-radius:10px;padding:12px}.hhs-editor-list{list-style:none;padding:0;margin:16px 0}.hhs-editor-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eeeee7}.hhs-editor-list label{display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer}.hhs-editor-list input{width:20px;height:20px;flex:none;accent-color:#a2513e}.hhs-editor-list strong{display:block;font-size:14px;overflow-wrap:anywhere}.hhs-editor-list small{display:block;font-size:12px;line-height:1.4;color:#687064;margin-top:4px}.hhs-order{display:flex;gap:6px;flex:none}.hhs-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;position:sticky;bottom:-24px;background:#fff;padding:14px 0 0}.hhs-editor-actions [type=submit]{background:#a2513e;color:#fff;border-color:#a2513e}.hhs-editor-error{color:#97432e}.hhs-editor button:disabled{opacity:.45;cursor:default}.hhs-editor button:focus-visible,.hhs-editor input:focus-visible{outline:2px solid #a2513e;outline-offset:3px}
@media(max-width:600px){.hhs-editor{padding:18px}.hhs-editor-list li{align-items:flex-start;flex-wrap:wrap}.hhs-order{margin-left:32px}.hhs-editor-actions{bottom:-18px}.hhs-tools{align-items:flex-start}}

.hhs-list .hps-count{flex:0 0 auto;max-width:100%;font-size:12px;font-weight:600;line-height:1.4;color:#894735;background:#f8ece5;border-radius:20px;padding:5px 9px;overflow-wrap:anywhere}.hhs-list .hps-count-missing{font-weight:400;color:#6e746a;background:#f3f3ef}@media(max-width:600px){.hhs-list .hps-count{margin-left:auto}}

.hhs-list a>.hps-counts{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:100%;min-width:0}.hhs-list .hps-overdue-count{font-size:12px;font-weight:600;color:#9c352c;line-height:1.4}.hhs-list a.hps-overdue{border-color:#d89c90;background:#fff8f5}.hhs-list a.hps-overdue:hover{border-color:#b96353;background:#fcece6}@media(max-width:600px){.hhs-list a>.hps-counts{margin-left:auto}}

.hps-shortcut-shell{position:relative;height:100%;min-height:112px}.hhs-list .hps-shortcut-shell>a.hps-main{padding-bottom:54px;min-height:112px}.hhs-list .hps-shortcut-shell>a.hps-overdue-count{position:absolute;right:12px;bottom:4px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;height:44px;padding:7px 9px;border:0;border-radius:8px;background:transparent;text-decoration:underline;text-underline-offset:3px}.hhs-list .hps-shortcut-shell>a.hps-overdue-count:hover{background:#f8e3dc;color:#7d281f}.hgp-due-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin:12px 0;border:1px solid #d89c90;border-radius:12px;background:#fff8f5;color:#89372b}.hgp-due-filter p{margin:0;font-size:13px}.hgp-due-filter strong{display:block;margin-bottom:4px}.hgp-due-filter button{min-height:44px;padding:8px 12px;border:1px solid #d89c90;border-radius:8px;background:#fff;color:inherit;font:inherit}

/* Shared task and event actions keep the current Home layout and theme. */
body[data-app=home] .hc-quick-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 22px;padding:18px 22px;border:1px solid var(--hm-border);border-radius:20px;background:#fff;min-width:0}
body[data-app=home] .hc-quick-actions strong{display:block;font-size:16px;color:var(--hm-ink)}
body[data-app=home] .hc-quick-actions span{display:block;font-size:13px;color:var(--hm-muted);margin-top:4px}
body[data-app=home] .hc-quick-buttons{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
body[data-app=home] .hc-quick-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid var(--hm-border);border-radius:12px;background:var(--hm-soft);color:var(--hm-accent);font:inherit;font-size:14px;cursor:pointer}
body[data-app=home] .hc-quick-buttons svg{width:18px;height:18px;flex:none}
body[data-app=home] .hc-task-actionable{gap:7px}
body[data-app=home] .hc-task-body{flex:1;min-width:0}
body[data-app=home] .hc-task-open{display:block;text-align:left;width:100%;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer;min-width:0;font:inherit}
body[data-app=home] .hc-task-complete{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;margin:-6px 0 0 -9px;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}
body[data-app=home] .hc-task-complete .hc-task-square{margin:0}
body[data-app=home] .hc-task-complete:hover{background:var(--hm-soft)}
body[data-app=home] .hc-task-reschedule{font-size:13px;margin-top:5px;min-width:0}
body[data-app=home] .hc-task-reschedule summary{display:inline-flex;align-items:center;min-height:36px;cursor:pointer;color:var(--hm-accent);list-style:none;padding:3px 0}
body[data-app=home] .hc-task-reschedule summary::-webkit-details-marker{display:none}
body[data-app=home] .hc-task-reschedule[open] summary{font-weight:600}
body[data-app=home] .hc-task-reschedule form{display:grid;gap:8px;padding:12px 0 4px;min-width:0}
body[data-app=home] .hc-task-reschedule label{font-size:13px;color:var(--hm-muted)}
body[data-app=home] .hc-task-reschedule input{box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:44px;padding:8px 9px;border:1px solid var(--hm-border);border-radius:8px;background:#fff;color:var(--hm-ink);font:inherit}
body[data-app=home] .hc-task-reschedule form>div{display:flex;flex-wrap:wrap;gap:8px}
body[data-app=home] .hc-task-reschedule button{min-height:44px;padding:8px 10px;border:1px solid var(--hm-border);border-radius:8px;color:var(--hm-accent);background:var(--hm-soft);font:inherit;cursor:pointer}
body[data-app=home] .hc-task-reschedule button[type=button]{color:var(--hm-muted);background:#fff}
body[data-app=home] .hc-event-action{background:transparent;cursor:pointer;font:inherit;text-align:left;border:0;border-radius:4px}
body[data-app=home] .hc-event-action.hc-link{padding:0;font-size:14px;color:var(--hm-accent)}
body[data-app=home] .hc-event-action.hc-extra-row{width:100%;border-bottom:1px solid var(--hm-border)}
body[data-app=home] .hc-event-action>span{min-width:0}
body[data-app=home] [data-home-action]:disabled,body[data-app=home] .hc-task-reschedule button:disabled{opacity:.6;cursor:wait}
body[data-app=home] .hc-quick-actions button:focus-visible,body[data-app=home] .hc-task-actionable button:focus-visible,body[data-app=home] .hc-task-reschedule summary:focus-visible,body[data-app=home] .hc-event-action:focus-visible{outline:2px solid var(--hm-accent);outline-offset:3px}
@media(max-width:480px){
 body[data-app=home] .hc-quick-actions{padding:16px}
 body[data-app=home] .hc-quick-buttons{width:100%}
 body[data-app=home] .hc-quick-buttons button{flex:1 1 130px}
 body[data-app=home] .hc-task-actionable{gap:4px}
}
