@media(min-width:801px){body:has(.fc-home-v4) .app{grid-template-columns:minmax(0,1fr)!important}body:has(.fc-home-v4) .app>.sidebar{display:none!important}}
.fc-home-v4{padding:clamp(12px,2.5vw,32px);max-width:1500px;margin:auto}.fc-home-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}.fc-home-welcome h1{margin:0;font-size:clamp(23px,2.4vw,34px)}.fc-home-welcome p{color:#71829c;margin:8px 0 0}.fc-home-shortcuts{display:flex;gap:8px;flex-wrap:wrap}.fc-home-shortcuts button{border:1px solid #dce4ed;border-radius:11px;background:#fff;color:#294a70;min-width:70px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.fc-home-shortcuts span{font-size:12px}.fc-home-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fc-home-panel{background:#fff;border:1px solid #dce4ed;border-radius:14px;padding:22px;min-width:0}.fc-home-panel h2{font-size:17px;margin:0 0 18px}.fc-home-notices{display:grid}.fc-home-notices button,.fc-home-events button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #edf1f5;padding:13px 2px;cursor:pointer;color:#294a70}.fc-home-notices button span:first-of-type{flex:1}.fc-home-count{font-weight:700}.fc-home-events p{color:#66758a}.fc-home-events button{font-weight:650}
@media(max-width:800px){.fc-home-v4{padding:10px}.fc-home-welcome{display:block;margin-bottom:20px}.fc-home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:16px}.fc-home-shortcuts button{min-width:0;flex-direction:column;padding:8px 2px;gap:3px}.fc-home-shortcuts span{font-size:11px}.fc-home-panels{grid-template-columns:1fr;gap:12px}.fc-home-panel{padding:15px}}
/* Full-width home must explicitly override catalog-zone's grid placement. */
@media(min-width:801px){body:has(.fc-home-v4) .app{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}body:has(.fc-home-v4) .app>.top{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0}body:has(.fc-home-v4) .app>.main{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-width:0}}
/* Approved 1920x1080 visual design */
.fc-home-v4{max-width:none;width:100%;padding:20px clamp(18px,2.2vw,44px) 34px;background:linear-gradient(160deg,#e9f3ff 0%,#f6faff 48%,#edf5ff 100%);min-height:100%;color:#122b53}
.fc-home-hero{display:flex;align-items:center;justify-content:flex-start;gap:clamp(24px,4vw,90px);padding:26px 30px 35px;border-radius:22px;background:linear-gradient(115deg,#edf6ff 0%,#e1f0ff 70%,#c7e5ff 100%);position:relative;overflow:hidden;margin-bottom:22px}
.fc-home-hero:after{content:'';position:absolute;right:-80px;bottom:-120px;width:470px;height:200px;border:36px solid rgba(35,133,230,.12);border-radius:50%;transform:rotate(-18deg);pointer-events:none}
.fc-home-greeting{display:flex;align-items:center;gap:22px;flex:0 1 710px;min-width:0;z-index:1}.fc-home-greeting h1{font-size:clamp(25px,2.2vw,39px);margin:3px 0 7px;line-height:1.18}.fc-home-greeting p{margin:0;color:#5e789e;font-size:clamp(13px,1.1vw,18px)}.fc-home-greeting .fc-home-date{font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:750;color:#4786c4}.fc-home-emblem{width:74px;height:74px;flex:0 0 74px;display:grid;place-items:center;border-radius:50%;color:white;font-size:36px;background:radial-gradient(circle at 25% 20%,#5ed2ee,#2784d7 58%,#1557ad);box-shadow:0 9px 22px #377cc52e}
.fc-home-shortcuts{display:flex;gap:12px;flex-wrap:nowrap;z-index:1}.fc-home-shortcuts button{min-width:125px;min-height:62px;border-radius:15px;gap:10px;font-size:15px;font-weight:700;box-shadow:0 5px 14px #1c579b0b;transition:transform .15s,box-shadow .15s}.fc-home-shortcuts button:hover,.fc-home-favorite:hover{transform:translateY(-2px);box-shadow:0 8px 20px #2461a020}.fc-home-shortcuts button span{font-size:14px}.fc-home-shortcuts .fc-action-symbol{font-size:27px;line-height:1}.fc-action-mail{background:#e8f5ff!important;color:#1172d6!important}.fc-action-chat{background:#e5fbf3!important;color:#049f75!important}.fc-action-call{background:#f0eaff!important;color:#8957d5!important}.fc-action-calendar{background:#fff1e5!important;color:#d76b11!important}
.fc-home-favorites{background:#ffffffb8;border-radius:19px;padding:19px 24px 23px;margin-bottom:22px}.fc-home-section-title,.fc-home-panel-heading{display:flex;align-items:center;gap:10px}.fc-home-section-title h2{font-size:20px;margin:0}.fc-home-heading-icon{color:#187cdb;font-size:26px;line-height:1}.fc-home-favorite-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:14px;margin-top:18px}.fc-home-favorite{background:#fff;border:1px solid #dceafa;border-radius:15px;min-width:0;min-height:91px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#18345b;font-weight:700;font-size:13px;cursor:pointer;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 10px #295e9c0a}.fc-home-favorite-symbol{font-size:30px;color:#1681e5;line-height:1}.fc-home-favorite:nth-child(3n+2) .fc-home-favorite-symbol{color:#1aa888}.fc-home-favorite:nth-child(4n+3) .fc-home-favorite-symbol{color:#865ddc}.fc-home-favorite:nth-child(5n+4) .fc-home-favorite-symbol{color:#e48a18}
.fc-home-panels{gap:20px}.fc-home-panel{border:1px solid #dceafa;border-radius:20px;padding:25px 28px;box-shadow:0 7px 18px #2b639a12}.fc-home-panel h2{display:flex;align-items:center;gap:12px;font-size:22px;margin:0 0 18px}.fc-home-panel-heading{justify-content:space-between}.fc-home-panel-heading h2{margin-bottom:18px}.fc-home-panel-heading>button{background:transparent;border:0;color:#147bd7;font-weight:750;cursor:pointer}.fc-home-notices button{gap:16px;padding:15px 3px;color:#18345b}.fc-notice-icon{width:49px;height:49px;border-radius:12px;display:grid;place-items:center;flex:0 0 49px;font-size:25px}.fc-notice-mail{background:#e8f3ff;color:#1275d7}.fc-notice-chat{background:#e5fbf2;color:#00a87b}.fc-notice-invite{background:#fff6e7;color:#d39a11}.fc-notice-text{display:flex;flex-direction:column;gap:5px;flex:1;text-align:left}.fc-notice-text strong{font-size:16px}.fc-notice-text small{color:#7085a4;font-size:12px}.fc-home-count:not(:empty){background:#e5f1ff;border-radius:11px;padding:5px 12px;color:#1572d0}.fc-home-empty{display:flex;align-items:center;gap:18px;background:#f2f7fe;border-radius:13px;padding:20px;color:#647e9f}.fc-home-empty>span{font-size:28px;color:#1885e0}.fc-home-empty p{margin:0}.fc-home-events button{width:auto}
@media(max-width:1250px){.fc-home-hero{flex-wrap:wrap;gap:18px}.fc-home-favorite-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.fc-home-shortcuts button{min-width:105px}}
@media(max-width:800px){.fc-home-v4{padding:10px}.fc-home-hero{padding:18px 14px;gap:12px}.fc-home-emblem{width:46px;height:46px;flex-basis:46px;font-size:24px}.fc-home-greeting{gap:12px}.fc-home-greeting h1{font-size:23px}.fc-home-greeting p{font-size:12px}.fc-home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:6px}.fc-home-shortcuts button{min-width:0;min-height:62px;flex-direction:column;gap:2px;padding:7px 1px}.fc-home-shortcuts button span{font-size:11px}.fc-home-shortcuts .fc-action-symbol{font-size:21px}.fc-home-favorites{padding:15px 12px}.fc-home-favorite-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.fc-home-favorite{min-height:75px;font-size:10px;padding:5px 2px}.fc-home-favorite-symbol{font-size:24px}.fc-home-panels{grid-template-columns:1fr}.fc-home-panel{padding:17px 14px}.fc-home-panel h2{font-size:17px}.fc-notice-text strong{font-size:14px}.fc-notice-text small{font-size:11px}}
/* Fit desktop Home inside the available viewport, without vertical/horizontal scrollbars. */
@media(min-width:801px){
 body:has(.fc-home-v4) .app>.main,body:has(.fc-home-v4) .main>.content{min-height:0;min-width:0;overflow:hidden!important}
 body:has(.fc-home-v4) #view{height:100%;min-height:0;overflow:hidden}
 .fc-home-v4{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:clamp(8px,1.3vh,17px);padding:clamp(10px,1.7vh,20px) clamp(16px,2vw,40px)}
 .fc-home-hero{flex:0 0 auto;margin:0;padding:clamp(12px,2.2vh,24px) clamp(16px,2vw,30px);min-height:0}
 .fc-home-emblem{height:clamp(48px,6vh,74px);width:clamp(48px,6vh,74px);flex-basis:clamp(48px,6vh,74px)}
 .fc-home-favorites{flex:0 0 auto;margin:0;padding:clamp(10px,1.6vh,18px) clamp(14px,1.5vw,24px)}
 .fc-home-favorite-grid{margin-top:clamp(8px,1.3vh,16px);gap:clamp(7px,1vw,14px)}
 .fc-home-favorite{min-height:clamp(57px,8.5vh,86px);gap:4px}
 .fc-home-favorite-symbol{font-size:clamp(21px,3vh,29px)}
 .fc-home-panels{flex:1 1 auto;min-height:0;gap:clamp(10px,1vw,20px)}
 .fc-home-panel{min-height:0;overflow:hidden;padding:clamp(12px,2vh,23px) clamp(14px,1.5vw,27px)}
 .fc-home-panel h2{font-size:clamp(17px,2.2vh,22px);margin-bottom:clamp(8px,1.2vh,16px)}
 .fc-home-notices button{padding:clamp(7px,1.3vh,14px) 3px}
 .fc-notice-icon{height:clamp(35px,5vh,49px);width:clamp(35px,5vh,49px);flex-basis:clamp(35px,5vh,49px)}
}
@media(min-width:801px) and (max-height:720px){.fc-home-v4{gap:7px;padding-top:8px;padding-bottom:8px}.fc-home-hero{padding-top:9px;padding-bottom:9px}.fc-home-favorites{padding-top:8px;padding-bottom:8px}.fc-home-favorite{min-height:52px}.fc-home-panel{padding-top:9px;padding-bottom:9px}.fc-home-notices button{padding-top:6px;padding-bottom:6px}.fc-home-greeting h1{font-size:25px}}
.fc-home-events .fc-home-event-row{display:flex;gap:16px;align-items:center;padding:13px 10px;border-bottom:1px solid #e5edf6;text-align:left;color:#18345b;width:100%}.fc-home-events .fc-home-event-row:hover{background:#eef6ff;border-radius:9px}.fc-home-event-time{flex:0 0 120px;color:#357ac1;font-weight:650;font-size:13px}.fc-home-event-row strong{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){.fc-home-event-time{flex-basis:95px;font-size:12px}}

.fc-home-v4 .fc-home-notices>button{display:grid!important;grid-template-columns:40% minmax(0,1fr) 36px 12px;gap:12px;align-items:center}.fc-home-v4 .fc-home-notices .fc-notice-icon{width:100%!important;min-width:0}.fc-home-v4 .fc-home-notices .fc-notice-text{min-width:0}.fc-home-v4 .fc-home-notices .fc-home-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;justify-self:center;box-sizing:border-box;width:34px!important;min-width:34px!important;height:30px!important;padding:0!important;border-radius:999px!important;background:#dcecff!important;color:#0754a5!important;font-size:15px!important;font-weight:700!important}.fc-home-v4 .fc-home-notices>button>span:last-child{justify-self:end}
