/* Отдельная компоновка Japan Office, не изменяет другие темы и бизнес-логику. */
@media screen {
body.workplace-theme[data-theme="japan-office"]{--t-bg:#f2f2f7;--t-panel:#ffffff;--t-soft:#f2f3f8;--t-nav:#ffffffea;--t-text:#1c1c1e;--t-muted:#595963;--t-line:#d6d6df;--t-accent:#0067d9;--t-on:#fff;--t-radius:24px;--t-shadow:0 8px 30px #34456a0a;--t-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background-image:radial-gradient(ellipse at 0% 10%,#c5d9ff88,transparent 45%),radial-gradient(ellipse at 100% 65%,#e5d5f588,transparent 50%),radial-gradient(ellipse at 60% 100%,#cae9e477,transparent 40%);background-attachment:fixed}
body.workplace-theme[data-theme="japan-office"] .window-bar{background:#ffffffba;backdrop-filter:blur(24px) saturate(1.4);border-bottom:1px solid #ffffffb0}
body.workplace-theme[data-theme="japan-office"] .brand-orb{background:linear-gradient(145deg,#6cbbff,#007aff);border-radius:11px;box-shadow:inset 0 1px 2px #fff8}
body.workplace-theme[data-theme="japan-office"] .workspace{display:block;padding:0}
body.workplace-theme[data-theme="japan-office"] .screen{max-width:1220px;margin:auto;padding:32px 34px 140px}
body.workplace-theme[data-theme="japan-office"] .screen h1{font-size:36px;font-weight:750;letter-spacing:-1.3px}
body.workplace-theme[data-theme="japan-office"] .screen-title,body.workplace-theme[data-theme="japan-office"] .dashboard-heading{margin-bottom:28px}
body.workplace-theme[data-theme="japan-office"] :is(.panel,.home-search-panel,.home-analytics){border:1px solid #ffffffd9;background:#ffffffdd;box-shadow:0 10px 36px #343e6310}
body.workplace-theme[data-theme="japan-office"] .screen :is(input,select,textarea){min-height:38px;border-radius:12px;background:#f3f3f8;border-color:transparent}
body.workplace-theme[data-theme="japan-office"] .screen :is(button.active,button.primary){border-radius:12px}
body.workplace-theme[data-theme="japan-office"] .global-search-filters{display:flex;width:max-content;max-width:100%;flex-wrap:wrap;gap:3px;border-radius:13px;background:#eeeeF3!important;padding:4px}
body.workplace-theme[data-theme="japan-office"] .global-search-filters button{border-radius:10px;background:transparent;color:#41414a}
body.workplace-theme[data-theme="japan-office"] .global-search-filters button.active{background:#fff;color:#1c1c1e;border-color:transparent;box-shadow:0 2px 5px #0002}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis article{position:relative;border:0;border-radius:20px;padding:23px;background:#f5f6fa}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis article::before{content:'';display:block;width:26px;height:6px;background:#007aff;border-radius:10px;margin-bottom:13px}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis article:nth-child(3n+2)::before{background:#a04ac9}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis article:nth-child(3n)::before{background:#229762}
body.workplace-theme[data-theme="japan-office"] .analytics-kpis article b{font-size:30px;font-weight:650;letter-spacing:-1px}
body.workplace-theme[data-theme="japan-office"] table th{background:#f5f5fa;font-size:11px;font-weight:600}
body.workplace-theme[data-theme="japan-office"] table td{padding:13px 12px}
body.workplace-theme[data-theme="japan-office"] .sidebar{position:fixed;inset:86px auto 116px 50%;width:min(620px,calc(100vw - 32px));height:auto;transform:translateX(-50%);z-index:65;padding:22px;background:#ffffffeb;backdrop-filter:blur(30px) saturate(1.3);border:1px solid #fff;border-radius:30px;box-shadow:0 24px 90px #182c5040;overflow:auto}
body.workplace-theme[data-theme="japan-office"] #navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:10px;width:auto}
body.workplace-theme[data-theme="japan-office"] :is(.menu-label,.shift-card){display:none}
body.workplace-theme[data-theme="japan-office"] .nav-group-label{grid-column:1/-1;font-size:11px;font-weight:700;letter-spacing:1px;margin:10px 4px 3px}
body.workplace-theme[data-theme="japan-office"] #navigation button{flex-direction:column;justify-content:center;height:82px;margin:0;padding:8px 4px;gap:6px;border-radius:18px;white-space:normal;text-align:center;font-size:11px;background:transparent;color:#3a3a42}
body.workplace-theme[data-theme="japan-office"] #navigation button>span{display:grid;place-items:center;width:32px;height:32px;min-width:32px;background:linear-gradient(145deg,#62b6ff,#007aff);color:white;border-radius:10px;font-size:20px;box-shadow:inset 0 1px 1px #fff7}
body.workplace-theme[data-theme="japan-office"] #navigation button:nth-of-type(4n+2)>span{background:linear-gradient(145deg,#b18bfc,#7654cf)}
body.workplace-theme[data-theme="japan-office"] #navigation button:nth-of-type(4n+3)>span{background:linear-gradient(145deg,#ffba62,#e98b22)}
body.workplace-theme[data-theme="japan-office"] #navigation button:nth-of-type(4n)>span{background:linear-gradient(145deg,#61d89e,#228656)}
body.workplace-theme[data-theme="japan-office"] #navigation button.active{background:#e8effc;color:#005ccc}
body.workplace-theme[data-theme="japan-office"] #iosDock{position:fixed;display:flex;align-items:center;justify-content:center;gap:6px;bottom:18px;left:50%;transform:translateX(-50%);z-index:70;width:min(530px,calc(100vw - 24px));padding:8px;border:1px solid #ffffffed;border-radius:30px;background:#ffffffcc;backdrop-filter:blur(28px) saturate(1.7);box-shadow:0 12px 45px #22345026,inset 0 1px #fff}
body.workplace-theme[data-theme="japan-office"] #iosDock button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:transparent;color:#555561;border-radius:22px;padding:9px 5px;font:600 11px var(--t-font);cursor:pointer}
body.workplace-theme[data-theme="japan-office"] #iosDock button span{font-size:23px;line-height:26px;letter-spacing:1px}
body.workplace-theme[data-theme="japan-office"] #iosDock button.active,body.workplace-theme[data-theme="japan-office"] #iosMore[aria-expanded="true"]{background:#e3edff;color:#005dcc}
body.workplace-theme[data-theme="japan-office"] .modal-window{border-radius:28px;box-shadow:0 25px 100px #20385a30}
.mini-japan-office{background:radial-gradient(at 0% 0%,#a9cdff,transparent 70%),radial-gradient(at 100% 90%,#d5b8f4,transparent 70%),#eef2f9;--mini-ink:#007aff}
.mini-japan-office .mini-nav{left:20%;top:auto;bottom:6%;height:18%;width:60%;border-radius:20px;background:#ffffffcc!important;box-shadow:0 3px 12px #22345020}
.mini-japan-office .mini-title{left:8%;top:10%;width:44%;height:10%;border-radius:4px}
.mini-japan-office .mini-card{top:30%;height:35%;border-radius:10px;width:25%;border:0;box-shadow:0 3px 10px #44668812}
.mini-japan-office .mini-card.a{left:8%}.mini-japan-office .mini-card.b{left:37%}.mini-japan-office .mini-card.c{left:66%}.mini-japan-office .mini-table{display:none}
@media(max-width:800px){body.workplace-theme[data-theme="japan-office"] .screen{padding:22px 14px 125px}body.workplace-theme[data-theme="japan-office"] .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.workplace-theme[data-theme="japan-office"] #navigation{grid-template-columns:repeat(3,minmax(0,1fr))}body.workplace-theme[data-theme="japan-office"] .sidebar{padding:15px}body.workplace-theme[data-theme="japan-office"] .screen h1{font-size:30px}}
}
