body>header,main>.eyebrow{display:none!important}body.manager-mode main{padding-top:calc(26px + env(safe-area-inset-top) + var(--tg-content-safe-area-inset-top,0px))}.x-sun-card{background:#242226;color:#f9f1e7;border-radius:20px;padding:24px;margin:24px 0}.x-sun-card h2{color:inherit}.x-sun-card p{color:#dbd4d0;font-size:13px}.x-sun{width:80px;height:80px;flex-shrink:0}.x-counters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}.x-counters button{background:#343038;color:#fff;padding:12px 8px;border-radius:12px;margin:0;font-size:11px;text-align:left;min-width:0}.x-counters strong{font-size:27px;display:block}.x-counters button:nth-child(2) strong{color:#e7db67}.x-counters button:nth-child(3) strong{color:#9ac5ef}.x-feed-link{display:block;margin:24px auto}.x-tags{display:flex;gap:6px;flex-wrap:wrap}.x-tags button{margin:0;font-size:12px}.x-collapsed{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.x-post-text{white-space:pre-wrap}.x-media{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px}.x-media img{width:100%;max-height:380px;object-fit:contain;scroll-snap-align:center;flex-shrink:0;border-radius:12px}.x-react.active{background:#fbe5cc;color:#8b4c20}.x-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.x-achievement{display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;margin:0;min-width:0}.x-achievement strong{font-size:14px}.x-achievement small{font-size:11px;font-weight:400;color:#77717a}.x-locked .x-sun{filter:grayscale(1);opacity:.55}.x-earned{border-color:#d9b36a}.m-profile-action>svg{width:28px;height:28px;flex-shrink:0}dialog button{max-width:100%}.x-post,.x-earned{animation:x-appear .25s ease-out}@keyframes x-appear{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}.motion-paused *{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:380px){.x-sun-card{padding:18px}.x-counters button{padding:10px 6px;font-size:10px}}

.x-medal{width:88px;height:92px;flex-shrink:0}.x-locked .x-medal{filter:grayscale(1);opacity:.6}.x-earned .x-medal{filter:drop-shadow(0 3px 3px #99652625)}

.x-medal-original{border-radius:14px;mix-blend-mode:multiply}.x-source-art{display:block;width:100%;height:auto;margin:18px 0;border-radius:14px}

.x-award-notice{border-left:4px solid #e9b52d;margin-bottom:20px;background:#fff7e7}.x-award-notice p{margin:8px 0}.x-award-notice button{margin:0 6px 0 0}

.x-award-notice{animation:x-appear .3s ease-out}.x-achievement progress{width:100%;height:5px;accent-color:#d98b35}

.x-achievement{color:#252328}.x-achievement strong{color:#252328}input[type=checkbox],input[type=radio]{accent-color:#ed8b32}

.x-product-gallery{display:grid;gap:14px;margin:16px 0}.x-product-photo{margin:0;padding:14px;background:#fff}.x-photo-open{display:block;width:100%;padding:0;background:#fff;color:#6d5d4b;border:0}.x-photo-open img{display:block;width:100%;height:240px;object-fit:contain;background:#fff}.x-photo-open span{display:block;margin-top:8px;font-size:12px}.x-product-photo figcaption{margin-top:8px;font-weight:600;text-align:center;overflow-wrap:anywhere}.x-product-materials button{width:100%;margin:6px 0;white-space:normal;overflow-wrap:anywhere}.x-photo-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:18px;background:#fff}.x-photo-dialog::backdrop{background:#0009}.x-photo-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.x-photo-heading h2{margin:0;font-size:18px;overflow-wrap:anywhere}.x-photo-heading button{flex-shrink:0;width:auto}.x-photo-dialog img{display:block;width:100%;max-height:calc(100dvh - 130px);object-fit:contain;margin-top:12px}@media(min-width:700px){.x-product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.x-product-gallery:has(figure:only-child){grid-template-columns:1fr}.x-photo-open img{height:300px}}@media(prefers-reduced-motion:reduce){.x-photo-dialog{scroll-behavior:auto}}
body.manager-mode .x-photo-open,body.manager-mode .x-photo-open:hover{padding:0;margin:0;background:#fff;color:#6d5d4b;min-height:0}body.manager-mode .x-photo-open:focus-visible{outline:2px solid #e9872c;outline-offset:4px}

.x-home-summary,.x-profile-summary{margin:18px 0;padding:18px}
.x-sun-heading{display:flex;align-items:center;gap:14px}
.x-sun-heading .x-sun{width:64px;height:64px}
.x-sun-heading h2,.x-sun-heading p,.x-profile-summary>h2{margin:0}
.x-sun-heading p,.x-profile-summary>p{margin:4px 0 0}
.x-profile-summary .x-sun-heading{border-top:1px solid #49434c;margin-top:14px;padding-top:12px}
.x-counters button:first-child strong{color:#b9b8be}
.x-counters button:nth-child(2) strong{color:#f3f35a}
.x-counters button:nth-child(3) strong{color:#8bd6ff}
body.manager-mode .x-feed-link,body.manager-mode .x-paper-button{
 background:#fff;border:1px solid #ded9cf;color:#252328
}
body.manager-mode .x-feed-link{border-radius:999px;width:min(182px,100%);margin:18px auto;font-weight:700}
.x-feed-link span{margin-left:12px;color:#994b17}
.x-feed-title-row,.x-post-head,.x-achievement-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.x-feed-title-row h1,.x-achievement-heading h2{margin:0}
body.manager-mode .x-post{position:relative;overflow:hidden;padding:0;margin:0 0 14px;border:1px solid #ded9cf;border-radius:16px;background:#fff}
.x-post-cover:empty,.x-post [hidden]{display:none!important}
.x-post-cover img{display:block;width:100%;height:154px;object-fit:cover;object-position:50% 52%}
.x-post-cover.x-panorama img{height:134px}
.x-post-copy{padding:14px 15px 12px;overflow-wrap:anywhere}
.x-post-head{justify-content:flex-start;flex-wrap:wrap;gap:6px 9px;margin-bottom:7px}
.x-post-head strong{font-size:12px;font-weight:700;color:#974407}
.x-post-head time{font-size:11px;color:#655f6a}
body.manager-mode .x-post h2{margin:0;color:#974407;font-size:18px;font-weight:700;line-height:1.27}
.x-post p.x-post-excerpt{margin:7px 0 0;color:#655f6a;font-size:14px}
.x-post-text p{margin:0 0 11px;color:#252328;font-size:13px}
body.manager-mode .x-post .x-expand{display:flex;align-items:center;gap:6px;width:fit-content;margin:2px 0 0;padding:0;min-height:44px;color:#974407;font-size:12px;font-weight:600;text-align:left}
.x-expand svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.x-expand[aria-expanded=true] svg{transform:rotate(180deg)}
.x-media:empty,.x-post .x-tags:empty{display:none}
.x-media{gap:0;margin:10px 0;background:#f0e9dd;border-radius:10px}
.x-media img{height:clamp(145px,48vw,290px);display:block}
.x-media-count{position:absolute;top:62px;right:26px;border-radius:8px;background:#fff;padding:2px 8px;font-size:12px;pointer-events:none}
.x-post:has(.badge) .x-media-count{top:98px}
.x-feed-search-row{display:flex;align-items:center;gap:6px}
.x-feed-search-row input{flex:1;min-width:0}
body.manager-mode .x-tag{min-height:32px;padding:5px 10px;border-radius:8px;background:#efede9;color:#72513b}
body.manager-mode .x-tag[aria-pressed=true]{background:#fbe5cc;color:#8b4c20}
.x-post .m-reactions{justify-content:flex-start;flex-wrap:wrap;gap:6px;margin-top:0;padding-top:9px;border-top:1px solid #ded9cf}
.x-post .x-post-reading:not(:has(.x-expand))~.m-reactions{margin-top:10px}
body.manager-mode .x-post .x-open-post{width:fit-content;margin:2px 0 0;padding:0;min-height:44px;text-align:left}
.x-post .x-tags:not(:empty){margin-bottom:9px}
body.manager-mode .x-post .m-reactions button{flex:none;margin:0;padding:4px 7px!important;min-width:44px;min-height:32px;border:1px solid transparent;border-radius:9px;background:#f4f1e9;color:#655f6a}
body.manager-mode .x-post .m-reactions button.active{background:#fcebdc;color:#974407;border-color:#974407}
@media(pointer:coarse){body.manager-mode .x-post .m-reactions button{min-height:44px}}
@media(max-width:370px){.x-post-copy{padding-inline:12px}}
body.manager-mode #xNewsForm{background:transparent;border:0;padding:0;margin:12px 0}
body.manager-mode #xNewsForm textarea{min-height:126px}
.x-photo-open img[hidden]{display:none}
.x-news-file{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;background:white;border:1px solid #ded9cf;border-radius:9px;margin:8px 0}
.x-news-file span{min-width:0;overflow-wrap:anywhere}
.x-news-file small{display:block;color:#766f78}
.x-attachment-picker{margin:12px 0}
.x-attachment-picker>.muted{margin:4px 0}
.x-attachment{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.x-job-title{color:#994b17}
.x-profile-achievements .m-link{padding:0 4px;white-space:nowrap}
.x-featured-medals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}
.x-featured-medals small{display:block;overflow-wrap:anywhere}
.x-featured-medals .x-medal{width:min(68px,100%);height:auto;aspect-ratio:1}
body.manager-mode .x-collection .x-achievement{margin:0;padding:16px 12px;overflow-wrap:anywhere}
.x-achievement .x-medal{max-width:100%}
.m-profile-identity>div:last-child,.m-profile-action>span{min-width:0;overflow-wrap:anywhere}
#xProfileActionList{scroll-margin-top:12px}
#xProfileActionList .m-profile-action>svg{box-sizing:border-box;width:48px;height:48px;padding:11px}
#xProfileActionList .m-profile-action{gap:12px;padding:12px!important}
.x-owner-editorial{flex-basis:100%;min-width:0;margin-top:4px}
.x-owner-editorial h2{margin:0 0 8px}
.x-owner-editorial-actions{display:flex;flex-wrap:wrap;gap:8px}
.x-owner-editorial-actions>button{max-width:100%;white-space:normal}
@media(max-width:600px){
 .x-owner-editorial-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .x-owner-editorial-actions>button{min-height:44px;text-align:left}
}
.x-achievement-dialog>details{margin:14px 0}

.x-phrase-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 15px}
.x-phrase-row .x-daily-phrase{margin:0;line-height:1.45;overflow-wrap:anywhere}
.x-phrase-heart{display:grid;place-items:center;flex:none;width:39px;height:36px;border:1px solid #ded9cf;border-radius:13px;background:#fff;color:#9b5d37}
.x-phrase-heart svg{width:18px;height:18px}
.x-home-summary .x-sun-heading .x-sun{width:61px;height:61px}
.x-level{margin-top:12px}
.x-profile-summary>.x-level{margin-top:0}
.x-level-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.x-level-title h2{margin:0;font-size:15px!important}
.x-level-title span{color:#e4dcd7}
.x-level-track{height:4px;border-radius:4px;background:#504955;margin:6px 0}
.x-level p{margin:0;color:#ded4d8;font-size:11px}
.x-home-summary .x-sun-heading p{font-size:12px}
.x-home-summary .x-sun{animation:x-sun-breathe 10s ease-in-out infinite}
@keyframes x-sun-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@media(max-height:760px){
 .x-home-summary{padding:14px;margin:14px 0}
 body.manager-mode .x-feed-link{margin:10px auto}
}
@media(max-width:850px) and (max-height:680px){
 body.manager-mode:has(#xHomeNew) main{padding-top:calc(16px + env(safe-area-inset-top) + var(--tg-content-safe-area-inset-top,0px))}
 body.manager-mode:has(#xHomeNew) #screen>h1{margin:3px 0 8px}
 .x-home-greeting{margin:0 0 8px}
 .x-phrase-row{margin:7px 0 8px}
 .x-phrase-row .x-daily-phrase{line-height:1.35}
 .x-home-summary{padding:11px 12px;margin:8px 0}
 .x-home-summary .x-sun-heading{gap:10px}
 .x-home-summary .x-sun-heading .x-sun{width:53px;height:53px}
 .x-home-summary .x-level{margin-top:8px}
}
.x-report-list>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0}
.x-report-list dd{margin:0;text-align:right;font-weight:600;flex-shrink:0}
.x-engagement-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.x-engagement-tabs button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-2px}
.x-phrase-ranking{padding-inline-start:26px}
.x-phrase-ranking li{padding:10px 0;border-bottom:1px solid var(--border,#d6cfc3)}
.x-phrase-ranking strong{display:inline-block;margin-inline-start:8px;white-space:nowrap}
.x-poor-engagement li{margin-block:8px}
.x-home-overview .x-counters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
.x-home-overview .x-counters button:nth-child(1) strong{color:#ffad62}
.x-home-overview .x-counters button:nth-child(2) strong{color:#dedbe2}
.x-home-overview .x-counters button:nth-child(3) strong{color:#e7db67}
.x-home-overview .x-counters button:nth-child(4) strong{color:#9ac5ef}
body.manager-mode .x-home-overview .x-counters button{padding:6px;font-size:11px;line-height:1.25;min-height:65px}
body.manager-mode .x-home-overview .x-counters button{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;
 padding:7px 6px;min-height:60px;border-radius:10px
}
.x-home-overview .x-counters strong{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}
.x-home-overview .x-counters span{line-height:1.2;overflow-wrap:anywhere}
body.manager-mode:not(.web-mode) #xHomeWork{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px
}
body.manager-mode:not(.web-mode) #xHomeWork>*{grid-column:1/-1;margin:0}
body.manager-mode:not(.web-mode) #xHomeWork>:is(#xHomeNew,#xExpressOpen){
 grid-column:auto;min-height:44px;padding:8px 6px;line-height:1.2
}
body.manager-mode:not(.web-mode) #xHomeResume{min-height:44px;min-width:0;padding:5px 10px}
body.manager-mode:not(.web-mode) #xHomeResume small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.manager-mode:not(.web-mode) #mFeed{
 display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;
 margin:8px 0;padding:8px 14px;border-radius:12px;text-align:left
}
@media(max-height:560px){
 body.manager-mode:not(.web-mode):has(#xHomeNew) main{
  padding-top:calc(6px + env(safe-area-inset-top) + var(--tg-content-safe-area-inset-top,0px))
 }
 body.manager-mode:not(.web-mode):has(#xHomeNew) #screen>h1{font-size:25px;line-height:1.1;margin:0 0 4px}
 body.manager-mode:not(.web-mode) .x-home-greeting{font-size:13px;line-height:1.2;margin:0 0 6px}
 body.manager-mode:not(.web-mode) #xProgressHome{margin:6px 0}
}
@media(max-width:360px){
 .x-home-overview .x-counters{gap:4px}
 body.manager-mode .x-home-overview .x-counters button{padding:7px 4px}
}
#xHomeResume{white-space:normal;overflow-wrap:anywhere}
#xHomeResume small{display:block;margin-top:3px;font-weight:400}
#xHomeAchievements{min-height:44px}
.x-home-summary .x-sun-heading h2,.x-profile-summary .x-sun-heading h2{margin:0;font-size:19px}
.x-sun-heading .x-sun{object-fit:contain}
body.manager-mode .x-phrase-heart{margin:0;padding:0;min-width:44px;min-height:44px;color:#9b5d37;background:#fff}
.x-phrase-heart[aria-pressed=true] svg{fill:#b76948;color:#9b4a28}
#xHomeGoal{font-size:13px;line-height:1.28;margin:7px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#xHomeGoal[hidden],#xFeedTop[hidden]{display:none}
#xHomeFeed{scroll-margin-top:8px;border-top:1px solid #ded9cf;margin-top:12px;padding-top:14px;min-height:55dvh}
#xHomeFeed.x-feed-arrived .x-feed-title-row{animation:x-appear .24s ease-out}
#xHomeFeed .x-feed-heading{font-size:25px}
body.manager-mode #xFeedTop{position:fixed;z-index:4;right:16px;bottom:calc(81px + env(safe-area-inset-bottom));margin:0;width:45px;height:45px;min-height:45px;padding:0;border-radius:50%;box-shadow:0 2px 12px #25232824;font-size:24px}
body.manager-mode .x-feed-search-row button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;margin:0}
.x-feed-search-row button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.x-medal-original{display:inline-block;aspect-ratio:1;height:auto;overflow:hidden;vertical-align:middle;object-fit:contain}
.m-catalog-item>.m-catalog-symbol{position:relative;overflow:hidden}
.m-catalog-symbol>img{position:absolute;inset:0;box-sizing:border-box;width:100%;height:100%;padding:4px;object-fit:contain}
.m-catalog-remote>.m-catalog-symbol{width:68px;height:112px;background:transparent}
.m-catalog-remote>.m-catalog-symbol>img{padding:2px;mix-blend-mode:multiply}
.m-catalog-symbol [hidden]{display:none}
.m-catalog-item .m-catalog-article{color:#974407}
.m-catalog-facts dl{margin:0}
.m-catalog-facts dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px;border-top:1px solid #ded9cf;padding:9px 0}
.m-catalog-facts dt{color:#655f6a}
.m-catalog-facts dd{margin:0;overflow-wrap:anywhere}
.m-catalog-reference{min-width:0}
.m-catalog-reference summary{cursor:pointer;color:#974407;font-weight:700}
.m-reference-table{max-width:100%;overflow:auto;margin:8px 0 16px}
.m-reference-table table{border-collapse:collapse;min-width:100%;font-size:13px}
.m-reference-table th,.m-reference-table td{padding:8px;border:1px solid #ded9cf;text-align:center}
.m-reference-table th{min-width:78px;background:#f4f1e9}
.x-confirmed-photo .x-photo-open img{object-fit:contain;background:#f6f3ef}
.x-photo-dialog .x-diagram-original{overflow:auto;max-height:calc(100dvh - 170px)}
.x-photo-dialog .x-diagram-original img{width:auto;max-width:none;max-height:none}
.x-product-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));align-items:start}
.x-product-photo{min-width:0;overflow:hidden}
.x-photo-open .x-photo-frame{display:grid;place-items:center;min-width:0;overflow:hidden;margin:0;height:clamp(160px,45vw,240px);background:#f6f3ef;border-radius:8px}
.x-photo-open .x-photo-frame img{width:100%;height:100%;min-height:0;object-fit:contain}
.x-photo-open .x-photo-action{min-height:1.5em;overflow-wrap:anywhere}
.x-product-photo figcaption{min-height:2.5em}

/* A notice is a shortcut to the document; the work counters have their own layout. */
body.manager-mode #xHomeNotice{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 14px;margin:8px 0;border-radius:12px}
#xHomeNotice .x-notice-body{min-width:0}
body.manager-mode #xHomeNotice h2{font-size:14px;line-height:1.25;margin:0}
body.manager-mode #xHomeNotice #xOpenNotice{display:block;text-align:left;padding:4px 0;margin:0;min-height:32px;line-height:1.25;overflow-wrap:anywhere}
body.manager-mode #xHomeNotice #xCloseNotice{flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border-radius:50%;font-size:21px;line-height:1}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:9px 13px;margin:8px 0;border-radius:12px;min-width:0}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary) .x-sun-heading{grid-column:1;grid-row:1;display:flex;gap:8px;margin:0;padding:0;border:0}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary) .x-sun{width:36px;height:36px}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary) h2{font-size:15px;line-height:1.2;margin:0}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary) p{font-size:12px;line-height:1.3;margin:2px 0 0}
body.manager-mode .x-sun-card:is(.x-profile-summary,.x-home-summary) .x-level{grid-column:2;grid-row:1;max-width:12ch;margin:0;text-align:right}
body.manager-mode #xBonusBalance{color:#252328;text-align:left}
body.manager-mode #xBonusBalance .muted{color:#625e65}
body.manager-mode #xBonusBalance strong,body.manager-mode #xBonusBalance .muted{display:block}
body.manager-mode #xBonusBalance .muted{font-size:12px;margin-top:3px}

@media(max-height:560px){
 body.manager-mode:not(.web-mode) .x-phrase-row{margin:0 0 5px;gap:8px}
 body.manager-mode:not(.web-mode) .x-daily-phrase{font-size:13px;line-height:1.25}
 body.manager-mode:not(.web-mode) .x-home-greeting{margin-bottom:0}
 body.manager-mode:not(.web-mode) #xHomeWork{gap:4px}
 body.manager-mode:not(.web-mode) #xHomeNotice{min-height:46px;padding:2px 6px 2px 10px}
 body.manager-mode:not(.web-mode) #xHomeNotice #xOpenNotice{padding:1px 0;min-height:26px}
 body.manager-mode:not(.web-mode) #xProgressHome{padding:4px 10px;margin:4px 0}
 body.manager-mode:not(.web-mode) #mFeed{margin:4px 0}
}
@media(max-width:600px) and (max-height:520px){
 body.manager-mode:not(.web-mode):has(#xHomeNew) #screen>h1{float:left;margin:0 10px 0 0;font-size:21px}
 body.manager-mode:not(.web-mode) .x-home-greeting{min-height:24px;display:flex;align-items:center}
 body.manager-mode:not(.web-mode) .x-phrase-row,body.manager-mode:not(.web-mode) #xHomeWork{clear:both}
}
