/* Resident-only compact home, quick publication and bottom navigation. */
.resident-notice-rows{list-style:none;margin:0;padding:0 10px}.resident-notice-row{display:grid;grid-template-columns:48px minmax(0,1fr) 62px 28px;align-items:center;gap:6px;min-height:36px;padding:7px 0;border-bottom:1px solid #edf1eb;font-size:11px;line-height:20px}.resident-notice-row>*{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resident-notice-kind{font-size:10px;color:#60796a}.resident-notice-summary{color:#354e42}.resident-notice-row time{font-size:10px;color:#87978b}.resident-notice-row a{font-size:11px;text-align:center}
.resident-mine-cards .review-draft{color:#52616d;background:#edf0f3}.resident-mine-cards .review-pending{color:#805208;background:#fff0c7}.resident-mine-cards .review-approved{color:#23613d;background:#e1f3e7}.resident-mine-cards .review-rejected{color:#a33434;background:#fbe6e6}.resident-mine-cards .review-processed{color:#245d94;background:#e4effb}.resident-mine-cards .review-withdrawn{color:#735439;background:#f1e8df}.resident-mine-cards .review-superseded{color:#70439a;background:#eee5f8}.resident-mine-cards .review-not-required{color:#266c72;background:#e1f1f2}
.surface-resident{--resident-cover-height:120px;--resident-category-height:44px;--resident-filter-height:44px}
.surface-resident .surface-switch,.surface-resident .layout-notice,.surface-resident .page-footer{display:none}
.surface-resident:has(.resident-home) .topbar,.surface-resident:has(.resident-quick-publish) .topbar{display:none}
.surface-resident .workspace{padding-bottom:calc(51px + env(safe-area-inset-bottom,0px))}
.surface-resident main{padding:6px 12px 0}
.surface-resident .resident-bottom-nav{box-sizing:border-box;min-height:0;height:calc(44px + env(safe-area-inset-bottom,0px));padding:2px 8px calc(2px + env(safe-area-inset-bottom,0px))}
.surface-resident .resident-bottom-nav .bottom-item{min-height:0;gap:0;line-height:14px;font-size:11px}
.surface-resident .resident-bottom-nav .nav-icon{width:18px;height:18px}
.resident-home .resident-section{margin-bottom:6px}
.resident-home .official-grid,.resident-home .market-grid{gap:6px}
.resident-home :is(.official-card,.market-card){box-sizing:border-box;height:var(--resident-category-height);min-height:0;padding:5px 4px;border-radius:6px;text-align:center}
.resident-home :is(.official-card,.market-card) h3{font-size:12px;line-height:17px;margin:0;font-weight:600}
.resident-home :is(.official-card,.market-card) p{font-size:10px;line-height:15px;margin:0}
.resident-home .resident-feed>.panel-heading{padding:3px 10px;min-height:24px}
.resident-home .resident-feed>.panel-heading h2{font-size:11px;line-height:18px;margin:0}
.resident-home .resident-feed>.panel-heading .neutral-badge{font-size:10px;padding:1px 5px}
.resident-feed-filter{display:flex;align-items:center;gap:3px;height:var(--resident-filter-height);box-sizing:border-box;padding:6px;border-bottom:1px solid #edf1eb}
.resident-feed-filter :is(input,select,button){box-sizing:border-box;min-width:0;height:30px;border:1px solid #dde8e1;border-radius:5px;background:#f5f9f6;color:#37614d;font-size:11px;line-height:16px;padding:3px}
.resident-feed-filter input[type=search]{flex:1;width:60px;min-width:44px}
.resident-feed-filter select{flex:0 0 49px;width:49px;padding-right:0}
.resident-feed-filter select[name=scope]{flex-basis:52px;width:52px}
.resident-feed-filter button{flex:0 0 32px;background:#27634f;color:white}
.surface-resident:has(.resident-quick-publish) main{box-sizing:border-box;min-height:calc(100dvh - 51px - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}
.surface-resident .resident-quick-publish{flex:1;display:flex;flex-direction:column}
.resident-quick-publish>.panel-heading{padding:6px 10px;min-height:34px}
.resident-quick-publish>.panel-heading h2,.resident-account-title{font-size:14px;font-weight:600;color:var(--ink);margin:0;line-height:20px}
.resident-quick-publish>.panel-heading a{font-size:11px}
.resident-quick-publish .pub-body{padding:8px 10px 0;flex:1;display:flex;flex-direction:column}
.resident-quick-publish [data-publication-form]{flex:1;display:flex;flex-direction:column}
.resident-quick-publish .mb-3{margin-bottom:8px!important}
.resident-quick-publish .form-label{margin-bottom:3px;font-size:12px;line-height:18px}
.resident-quick-publish :is(input.form-control,select.form-select){height:34px;padding-top:5px;padding-bottom:5px}
.resident-quick-publish textarea{min-height:100px;height:clamp(100px,20dvh,190px);padding:6px 8px}
.resident-quick-publish .form-text{font-size:10px;line-height:14px;margin-top:3px}
.resident-publish-extra{font-size:12px;margin-bottom:8px}
.resident-publish-extra summary{box-sizing:border-box;height:34px;cursor:pointer;padding:6px 10px;line-height:20px;font-size:13px;border-radius:6px;color:#376a50}
.resident-publish-extra[open] summary{margin-bottom:8px}
.resident-quick-publish .pub-actions{margin-top:0;padding:0;gap:8px}
.resident-quick-publish .pub-actions .btn{height:34px;font-size:12px;line-height:20px;padding:6px 12px}
.resident-community-cover{height:var(--resident-cover-height);position:relative;overflow:hidden;border-radius:8px;background:linear-gradient(135deg,#bfd9cd,#547e6b);margin-bottom:6px}
.resident-community-cover img{width:100%;height:100%;object-fit:cover;display:block}
.resident-community-cover>span{position:absolute;inset:auto 0 0;padding:7px 10px;background:linear-gradient(transparent,#143d32b3);color:white;font-size:13px;line-height:20px}
.resident-community-cover small{font-size:10px;margin-left:8px}
.official-new{display:inline-block;margin-left:5px;padding:0 4px;border-radius:7px;background:#bc4437;color:white;font-size:9px;line-height:14px;vertical-align:1px}
.official-new[hidden]{display:none}
.resident-account-toolbar{box-sizing:border-box;min-height:148px;display:grid;grid-template-columns:64px minmax(0,1fr) 36px;align-items:center;gap:14px;padding:26px 18px;margin:0;background:#183f36;color:#fff}
.resident-account-title{margin-right:auto;flex-shrink:0}
.resident-account-identity{min-width:0}.resident-account-identity h2{margin:0 0 6px;font-size:24px;font-weight:700;line-height:1.3}
.resident-account-identity p{margin:0;color:#bdceac;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.resident-account-identity .resident-account-location{margin-top:2px}
.resident-account-toolbar form{margin:0;display:flex}
.resident-account-toolbar .resident-account-avatar{display:grid;place-items:center;width:64px;height:64px;padding:0;border:0;border-radius:50%;font-size:32px;line-height:1;font-weight:400;color:#26715e;background:#dce6c4}
.resident-account-toolbar .resident-account-display-name{display:inline;padding:0;border:0;border-radius:3px;font:inherit;color:#fff;background:transparent;text-align:left;overflow-wrap:anywhere}
.resident-account-toolbar .resident-account-exit{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:6px;color:#bdceac;background:transparent}
.resident-account-toolbar .nav-icon{width:22px;height:22px}
@media(max-width:360px){.resident-account-toolbar{grid-template-columns:54px minmax(0,1fr) 32px;gap:10px;padding:22px 14px;min-height:138px}.resident-account-toolbar .resident-account-avatar{width:54px;height:54px;font-size:28px}.resident-account-identity h2{font-size:22px}.resident-account-toolbar .resident-account-exit{width:32px}}
.resident-mine-shell main{padding:8px 12px 0}
.resident-mine-shell .pub-query-bar{padding:0;gap:6px}
.resident-mine-shell .pub-tabs.pub-mobile-single-row{padding:4px 0}
.resident-mine-shell .pub-workspace{display:block;padding:0}
.resident-mine-shell .pub-list-panel{border:0;border-radius:0}
.resident-mine-shell .pub-table td:first-child{width:18px;padding-left:0;padding-right:0;text-align:left;white-space:nowrap}
.resident-mine-shell .pub-table td:nth-child(2){width:auto}
.resident-mine-shell .pub-table td:nth-child(3){width:18%}
.resident-mine-shell .pub-table td:nth-child(4){width:16%}
.resident-mine-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:6px}
.resident-mine-tab{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:7px 3px;border:0;border-radius:9px;color:#21624f;background:#edf5f0;text-decoration:none}
.resident-mine-tab strong{font-size:14px;line-height:19px;font-weight:600}.resident-mine-tab span{font-size:10px;line-height:15px;color:#81968a}
.surface-resident .resident-mine-shell .resident-mine-tabs a.resident-mine-tab.active[aria-current="page"]{color:white;background:#246c58}.resident-mine-tab.active span{color:#cee2d6}
.resident-mine-filter{display:grid;grid-template-columns:minmax(60px,1.5fr) repeat(4,minmax(0,1fr)) 34px;align-items:center;gap:4px;padding:6px 0 10px}
.resident-mine-field{min-width:0;margin:0}.resident-mine-filter :is(input:not([type=hidden]),select,button){box-sizing:border-box;width:100%;min-width:0;height:34px;font-size:11px;line-height:18px;padding:4px;border-radius:6px;color:#23634d;background-color:#edf5f0;border:1px solid #e0ebe4}
.resident-mine-filter select{padding-right:13px;background-position:right 3px center;background-size:9px 7px}.resident-mine-filter button{padding:4px 1px}.resident-mine-filter select:disabled{color:#8e9e95;background-color:#f3f5f3;opacity:1}
.resident-notice-detail .pub-body{padding:12px}.resident-notice-detail .pub-body h2{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.resident-mine-shell .resident-account-toolbar{height:var(--resident-cover-height);min-height:var(--resident-cover-height);width:calc(100% - 24px);max-width:736px;margin:6px 12px 0;padding:12px 16px;border-radius:8px;overflow:hidden}
.resident-account-identity h2{font-size:22px;margin-bottom:4px}.resident-account-toolbar .resident-account-display-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resident-account-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resident-account-location{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.resident-mine-tab{box-sizing:border-box;height:var(--resident-category-height);min-height:var(--resident-category-height);padding:5px 4px;border-radius:6px;gap:0}.resident-mine-tab strong{font-size:12px;line-height:17px}.resident-mine-tab span{font-size:10px;line-height:15px}
.resident-mine-filter{height:var(--resident-filter-height);box-sizing:border-box;grid-template-columns:minmax(0,1fr) 58px 55px 34px;gap:3px;padding:6px;border-bottom:1px solid #edf1eb}.resident-mine-filter :is(input:not([type=hidden]),select,button){height:30px;padding-top:3px;padding-bottom:3px}
.resident-mine-cards{padding:0 10px}.resident-mine-result-heading{padding:3px 10px;min-height:24px}.resident-mine-result-heading h2{font-size:11px;line-height:18px;margin:0}.resident-mine-result-heading .neutral-badge{font-size:10px;padding:1px 5px}
.surface-resident main.resident-account-has-nav{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
