:root{--ink:#152349;--muted:#7180a4;--blue:#326bff;--violet:#8b5cf6;--teal:#16d5bc;--bg:#f1f5ff;--line:#e4eafb;--shadow:0 12px 35px rgba(48,71,143,.09)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(140deg,#ddefff,#f8f6ff 55%,#fceafa);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}.app{max-width:530px;min-height:100dvh;margin:auto;background:#f9fbff;position:relative;box-shadow:0 0 50px #586ca91c;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.top{height:76px;padding:14px 17px;display:flex;align-items:center;gap:10px;background:#ffffffed;position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line)}.logo{width:42px;height:42px;background:linear-gradient(135deg,var(--blue),var(--violet));display:grid;place-items:center;border-radius:16px;font-size:22px;box-shadow:0 7px 18px #486dff39}.brand{flex:1;display:flex;flex-direction:column;min-width:0;gap:2px}.brand b{font-size:16px}.brand span{font-size:11px;color:var(--muted)}.avatar{border:0;width:39px;height:39px;border-radius:50%;background:#e8e6ff;font-size:23px}main{padding:16px 16px 28px}.hero{background:linear-gradient(130deg,#2865ff,#7755f4 66%,#b17cf6);border-radius:25px;color:white;min-height:170px;padding:21px 20px;position:relative;overflow:hidden;box-shadow:0 13px 24px #536cf83a}.hero:after{content:'💜';position:absolute;font-size:105px;right:-8px;bottom:-22px;opacity:.24;transform:rotate(-17deg)}.hero h1{font-size:26px;line-height:1.13;letter-spacing:-.6px;margin:0 0 12px;max-width:270px}.hero p{font-size:13px;line-height:1.5;opacity:.92;max-width:280px;margin:0}.hero .hero-badge{display:inline-block;font-size:11px;background:#ffffff32;border:1px solid #ffffff55;border-radius:30px;padding:6px 11px;margin-bottom:10px}.section-title{font-weight:850;font-size:19px;margin:24px 2px 12px}.sub{font-size:13px;color:var(--muted);line-height:1.55;margin:5px 2px 17px}.card{border-radius:21px;background:#fff;border:1px solid #ecf0fc;box-shadow:var(--shadow);padding:17px;margin-bottom:13px}.gradient{background:linear-gradient(115deg,#f4efff,#e8f5ff)}.row{display:flex;align-items:center;gap:12px}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:12px}.bold{font-weight:800}.card h3{margin:0 0 7px;font-size:17px}.card p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.pill{border-radius:40px;padding:6px 10px;background:#e8f9f6;color:#059b80;font-size:12px;font-weight:750}.big-btn,.outline-btn{width:100%;border:0;border-radius:15px;min-height:49px;font-size:14px;font-weight:800;padding:12px;transition:transform .15s}.big-btn{background:linear-gradient(95deg,#306cff,#895dff);color:#fff;box-shadow:0 7px 16px #436dff2a}.big-btn:active,.outline-btn:active,.choice:active{transform:scale(.97)}.big-btn:disabled{opacity:.5;cursor:default}.outline-btn{background:#ebefff;color:#4166d1}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{padding:16px;border-radius:19px;background:white;border:1px solid var(--line);box-shadow:var(--shadow)}.stat .icon{font-size:26px}.stat b{font-size:25px;display:block;margin:8px 0 3px;letter-spacing:-1px}.stat span{font-size:11px;color:#66799b}.mood-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.choice{border:2px solid transparent;background:#fff;border-radius:18px;padding:14px 4px;box-shadow:var(--shadow);display:flex;align-items:center;flex-direction:column;gap:8px;color:var(--ink);font-size:11px;font-weight:750;min-height:108px}.choice .emoji{font-size:39px;filter:drop-shadow(0 4px 6px #c9bfd55c)}.choice.selected{border-color:#7c67fe;background:#f1ecff}.segments{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.segment{padding:11px 4px;border:1px solid var(--line);background:#fff;border-radius:12px;color:#65749e;font-weight:750}.segment.active{background:#e8ecff;color:#3f64e8;border-color:#b9c8ff}.thermo{display:flex;align-items:center;gap:18px;padding:20px 14px;background:white;border-radius:21px;box-shadow:var(--shadow);margin:13px 0}.meter{height:214px;width:26px;border:4px solid #e5edfd;border-radius:30px;background:linear-gradient(0deg,#ff505f,#ffab52 33%,#ffd45f 53%,#8fe49b 77%,#11ccb0);position:relative;flex-shrink:0}.meter:after{content:'';position:absolute;left:7px;right:-9px;top:var(--level,55%);height:4px;background:#1c2d62;border-radius:10px;box-shadow:0 0 0 4px #ffffffa8}.levels{flex:1;display:flex;flex-direction:column;gap:12px;font-size:12px;font-weight:650}.levels div{display:flex;justify-content:space-between;color:#506184}.levels b{font-size:18px}.field{width:100%;padding:13px 14px;border:1px solid #dce5fb;border-radius:14px;outline:0;background:#fff;color:var(--ink)}textarea.field{resize:vertical;min-height:75px}input.field{margin:9px 0}.person{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:12px;margin:9px 0}.person .face{width:49px;height:49px;border-radius:16px;background:linear-gradient(135deg,#e5f5ff,#f2e8ff);font-size:26px;display:grid;place-items:center}.person b{font-size:14px;display:block}.person small{color:var(--muted)}.person .right{margin-left:auto;color:var(--blue);font-size:12px}.score-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.score{border:2px solid transparent;border-radius:14px;background:#f5f7ff;padding:11px 1px;font-size:25px}.score.selected{border-color:var(--violet);background:#eae5ff}.tag-grid{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.tag{border:1px solid #dae3fa;border-radius:30px;background:white;padding:9px 11px;font-size:12px;color:#4c5d85}.tag.selected{background:#e5deff;border-color:#9d83ff;color:#5d42d8}.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.badge{background:linear-gradient(130deg,#fff,#f3f2ff);padding:13px 7px;text-align:center;border:1px solid var(--line);border-radius:17px;font-size:12px;font-weight:750}.badge .symbol{font-size:30px;display:block;margin-bottom:8px}.badge.locked{filter:grayscale(.9);opacity:.55}.bottom{height:calc(77px + env(safe-area-inset-bottom));padding:9px 4px calc(10px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid var(--line);position:fixed;bottom:0;width:100%;max-width:530px;display:grid;grid-template-columns:repeat(5,1fr);z-index:10}.bottom button{border:0;background:none;color:#9aa5bf;font-size:10px;font-weight:650;display:flex;flex-direction:column;align-items:center;gap:4px}.bottom button span{font-size:22px}.bottom button.active{color:#3868f4}.toast{position:fixed;z-index:99;bottom:94px;left:50%;transform:translate(-50%,20px);width:max-content;max-width:90vw;background:#1c2e61;color:#fff;box-shadow:0 15px 30px #1e296b40;border-radius:15px;padding:13px 18px;font-size:13px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{text-align:center;color:#7a88ae;padding:80px 0}.bar-row{display:flex;gap:9px;align-items:center;margin:11px 0;font-size:12px}.bar-row label{width:105px}.bar-track{height:10px;border-radius:10px;background:#edf0fc;flex:1;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#30bff5,#8560f8);border-radius:10px}.alert{color:#b14250;background:#fff0f2;border-radius:14px;padding:12px;font-size:12px;line-height:1.5}.note{padding:12px;background:#eaf9f4;border-radius:13px;color:#137e72;font-size:12px;line-height:1.5}a{color:var(--blue)}
.climate-panel{color:white;border-radius:24px;padding:19px;margin:14px 0;box-shadow:0 14px 30px #3d758833}.climate-panel b{font-size:16px}.climate-panel small{font-size:11px;opacity:.9}.climate-number{font-size:23px;font-weight:900;margin:7px 0}.streak-card{display:flex;align-items:center;gap:14px;padding:17px;background:linear-gradient(105deg,#fff5d8,#effdf0);border:1px solid #d4f2d4;border-radius:21px;margin:12px 0 18px}.streak-card b{display:block}.streak-card strong{font-size:27px;color:#0c9f79}.streak-card small{font-size:11px;color:#658078}.summary-line{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf0f9;padding:11px 0;font-size:12px}.summary-line:last-child{border-bottom:0}.summary-line b{text-align:right}.emotion-editor{display:grid;grid-template-columns:1.2fr 55px 1.6fr 75px;gap:6px;background:white;padding:10px;border:1px solid #e0e8f9;border-radius:16px;margin:9px 0}.emotion-editor .field{min-width:0;padding:10px 7px;font-size:12px}.e-flag{display:flex;align-items:center;gap:6px;font-size:12px;grid-column:span 2}.tiny-remove{border:0;border-radius:8px;background:#ffedf0;color:#c82b51;font-size:22px}.upload-btn{display:block;text-align:center;padding:13px;background:#e8efff;color:#305cce;border-radius:15px;margin:10px 0;cursor:pointer;font-weight:750;font-size:13px}

.day-emotion{border-radius:24px;margin:14px 0;padding:18px;background:linear-gradient(125deg,#ece4ff,#e5fbf4 67%,#fff0cd);border:1px solid #c9c9fc;box-shadow:var(--shadow)}
.day-icon{font-size:44px;display:grid;place-items:center;width:70px;height:70px;background:white;border-radius:22px;flex-shrink:0}.day-emotion h2{font-size:20px;margin:5px 0;color:#49389d}.day-emotion p{line-height:1.5;font-size:13px;color:#405277}.day-info{font-size:12px;background:#ffffff9a;padding:10px;border-radius:12px;margin-top:9px;color:#3e4b77}.quiz-card .face{font-size:24px}.quiz-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.quiz-choices button{border:1px solid #ddd6fe;background:linear-gradient(125deg,#f7f1ff,#edfcff);color:#29385a;padding:12px 7px;border-radius:15px;text-align:left;display:flex;gap:7px;align-items:center;font-size:21px}.quiz-choices button span{font-size:12px;font-weight:700}.challenge-editor{display:grid;grid-template-columns:1.3fr 60px 1.5fr;gap:6px;background:white;padding:10px;border-radius:17px;margin:8px 0;border:1px solid #ddd6fe}.challenge-editor .field{padding:10px 7px;min-width:0;font-size:12px}.challenge-editor .c-desc{grid-column:span 3}.challenge-editor .e-flag{grid-column:span 2}

/* v4: вечерняя карточка и недельный график */
.result-feature{padding:19px;border-radius:26px;background:linear-gradient(128deg,#7155df,#5175ec 54%,#16bca5);box-shadow:0 13px 30px #6459b53d;color:white;margin:12px 0 16px}
.result-feature-head{display:flex;align-items:center;gap:14px}.result-feature-head small{opacity:.86;font-size:11px}.result-feature h2{font-size:19px;line-height:1.3;margin:6px 0}.result-sub{font-size:12px;opacity:.9}.result-medal{font-size:39px;background:#ffffff38;padding:10px;border-radius:19px}
.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:20px 0 14px}.result-grid>div{background:#ffffff23;padding:12px 7px;border-radius:13px;min-width:0}.result-grid strong{font-size:15px;display:block}.result-grid small{font-size:10px;line-height:1.35;opacity:.9;display:block;margin-top:5px}
.result-progress{height:12px;border-radius:20px;background:#ffffff50;overflow:hidden}.result-progress>span{height:100%;display:block;background:#ffe27a;border-radius:20px;transition:width .3s}.result-foot{font-size:12px;opacity:.91;line-height:1.5;margin:12px 0 0}
.week-chart{display:flex;gap:10px;align-items:end;height:155px;margin:24px 0 12px;justify-content:space-between}.week-bar-col{height:100%;flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.week-bar-col b{font-size:10px;color:#5b5c91;height:15px}.week-bar-rail{flex:1;width:100%;max-width:36px;background:#f0edff;border-radius:9px;overflow:hidden;display:flex;align-items:flex-end}.week-bar-fill{background:linear-gradient(#21caa7,#6965ef);width:100%;border-radius:9px;min-height:0}.week-bar-col small{font-size:11px;color:#687799}.result-week-total{background:#f3f5ff;padding:12px;border-radius:13px;display:flex;flex-direction:column;gap:4px}.result-week-total b{font-size:14px}.result-week-total span{font-size:12px;color:#66719a}

/* ═══════════════════════════════════════════════════════════
   ЭМПАТИЯ V5 · mobile-first visual system
   Full-screen team-climate gradient; glass cards; streak path.
   ═══════════════════════════════════════════════════════════ */
:root{--ink:#111c58;--muted:#6573a3;--shadow:0 16px 35px #2339861c;--climate-gradient:linear-gradient(145deg,#7860eb,#b19eff)}
html{background:#eaf1ff}body{background:linear-gradient(140deg,#d1efff,#f4e9ff 60%,#d3fff2);background-attachment:fixed}
.app{background:#f8fbff;isolation:isolate}
.top{height:68px;background:#fffefde8;backdrop-filter:blur(20px);border-bottom:1px solid #ffffffaa}
.logo{box-shadow:0 9px 22px #5464ed61;transform:rotate(-5deg)}.brand b{font-weight:900;letter-spacing:-.4px}.brand span{color:#6968a2;font-size:10px}
.card,.stat,.person,.day-emotion,.streak-card,.thermo,.result-feature{border-radius:24px;box-shadow:0 14px 35px #2441ab18}
.card{border:1px solid #e9edff}.section-title{font-size:21px;font-weight:900;letter-spacing:-.6px}.card h3{font-weight:850}
.choice{border-radius:23px;background:linear-gradient(150deg,#ffffff,#f6f1ff);min-height:115px;box-shadow:0 10px 28px #7663c01b}.choice .emoji{font-size:44px}.choice:nth-child(2n){background:linear-gradient(140deg,#eefaff,#f7f0ff)}.choice.selected{border-color:#8d65f8;box-shadow:0 0 0 3px #9f7bf433,0 10px 24px #7959c02b;transform:translateY(-2px)}
.big-btn{border-radius:18px;min-height:53px;background:linear-gradient(105deg,#1778fb,#4666ff 48%,#9355ed);box-shadow:0 10px 23px #5369fc52}.outline-btn{border-radius:17px;background:linear-gradient(115deg,#e8f1ff,#efe8ff)}
.bottom{border:1px solid #e1e8fe;background:#ffffffed;backdrop-filter:blur(25px);border-top-left-radius:21px;border-top-right-radius:21px;box-shadow:0 -9px 25px #3f64af18}.bottom button{font-size:10px}.bottom button span{font-size:23px}.bottom button.active{color:#245afb;font-weight:900}
.day-emotion{background:linear-gradient(118deg,#fff5b8,#ffebf2 37%,#d9ffea 76%,#e6ebff);border:1.5px solid #ffffffbd}.day-icon{border-radius:23px;background:linear-gradient(135deg,#fffaf0,#fff);box-shadow:0 7px 18px #e5ad5f47}.day-emotion h2{font-size:24px;color:#3622a0}.day-info{background:#ffffffc9}
.meter{height:260px;width:29px;background:linear-gradient(0deg,#ff5c66,#ff9f43 28%,#ffe658 52%,#8cec8b 76%,#08d5a9);box-shadow:0 0 0 5px #f2f7ff,0 6px 20px #23b8a34f}.levels div{align-items:center;min-height:30px}
.result-feature{background:linear-gradient(120deg,#6c58e9,#4d91f4 50%,#11ceb7);border:1px solid #ffffff7a}
/* True background color transition: entire mobile viewport, including behind all cards */
.app.home-mode{background:var(--climate-gradient);transition:background 1.1s ease;min-height:100dvh}
.home-mode .top{background:#ffffffb7;box-shadow:none}.home-mode main{padding:0 14px 35px}
.home-mode .bottom{background:#ffffffed}
.full-sky{position:relative;padding:12px 0 28px;overflow:hidden}
.full-sky:before{content:'';position:absolute;width:290px;height:290px;background:radial-gradient(circle,#ffffff80,transparent 67%);border-radius:50%;top:-125px;right:-90px;pointer-events:none;z-index:-1}
.full-sky:after{content:'';position:absolute;width:280px;height:280px;background:radial-gradient(circle,#fffcd572,transparent 68%);border-radius:50%;top:290px;left:-180px;pointer-events:none;z-index:-1}
.sky-doodle{position:absolute;z-index:0;opacity:.65;pointer-events:none;animation:floaty 5s ease-in-out infinite}.d1{top:24px;right:22px;font-size:28px}.d2{top:205px;left:9px;font-size:35px;color:#fff}.d3{top:390px;right:8px;font-size:28px}
.welcome{min-height:208px;padding:15px 8px 7px;position:relative;isolation:isolate}.sky-kicker{font-size:10px;font-weight:900;color:#224b68;background:#ffffffa6;padding:7px 12px;border-radius:30px;display:inline-flex;letter-spacing:.6px}
.welcome h1{font-size:34px;line-height:1.12;margin:19px 0 9px;color:#102b57;letter-spacing:-1.5px;max-width:66%;text-shadow:0 2px 16px #ffffff61;font-weight:950}.welcome p{font-size:13px;color:#1f4869;font-weight:700;line-height:1.55;max-width:62%;margin:0}.welcome-figure{position:absolute;right:0;top:30px;font-size:116px;filter:drop-shadow(0 12px 13px #366a7960);animation:floaty 4.5s ease-in-out infinite;line-height:1.5}
.glass-card,.streak-v5{background:#ffffffdc;border:1px solid #ffffffee;border-radius:25px;padding:17px;margin:11px 0;box-shadow:0 13px 32px #224e7429;backdrop-filter:blur(12px)}
.glass-card h3{margin:0 0 8px;font-size:17px}.glass-card .card{border:0;box-shadow:none;background:transparent;padding:2px;margin:2px 0}.glass-card .note{background:#e8f7ff}
.feature-emoji{font-size:43px;line-height:1.3}.eyebrow{text-transform:uppercase;letter-spacing:.35px;font-size:10px;color:#51728c;font-weight:900}.climate-today h3{color:#0b7659;font-size:20px;margin:4px 0}.climate-today p{font-size:11px;color:#617d91;margin:0}
.mood-track{display:flex;justify-content:space-between;border-radius:20px;background:linear-gradient(90deg,#ff8a5d,#ffdd5b,#31de99);margin:13px 0 0;padding:3px 12px;font-size:17px;box-shadow:inset 0 2px 5px #ffffff5b}
.home-mode .day-emotion{margin:11px 0;border-color:#ffffffee;box-shadow:0 14px 28px #204a7729}.home-mode .day-info{font-size:11px}.home-mode .day-emotion .outline-btn{background:#ffffffd6}
.glass-link{width:100%;border:1px solid #ffffffea;background:#ffffffc7;border-radius:18px;padding:13px 15px;color:#3f4aa2;text-align:left;font-weight:850;display:flex;justify-content:space-between;box-shadow:0 7px 20px #2e54951b;margin:8px 0}
.streak-v5{background:linear-gradient(110deg,#fff7d0ed,#ffffffed 48%,#dcffeded);padding:19px 16px;border:2px solid #ffffffec}
.streak-flame{font-size:48px;filter:drop-shadow(0 6px 4px #ff9b4e55);animation:floaty 3s ease-in-out infinite}
.streak-v5 h2{font-size:25px;font-weight:950;margin:3px 0;color:#198e61;letter-spacing:-.5px}.streak-v5 small{font-size:11px;color:#7c8970}
.streak-dots{display:flex;gap:5px;justify-content:space-between;margin:18px 0 11px;align-items:center}.streak-dot{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:16px;flex:0 1 33px;background:#ededea;color:#bfc3c9}.streak-dot.success{color:white;background:linear-gradient(130deg,#38e29d,#07ae78);box-shadow:0 4px 10px #00bd825e}.streak-dot.fail{color:white;background:linear-gradient(130deg,#ff9f72,#ed6471)}.streak-dot.pending{color:#aeb4ba;background:#ecf0f0}.streak-caption{font-size:10.5px;line-height:1.5;color:#6a826e}.main-cta{margin:13px 0;background:linear-gradient(95deg,#1687ed,#3c65fb,#9253ff);font-size:15px}
.mini-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.mini-duo button{border:1.5px solid #ffffffed;background:#ffffffd9;border-radius:22px;padding:15px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#263574;box-shadow:0 8px 19px #285b8c2a}.mini-duo span{font-size:35px}.mini-duo b{font-size:12px}.mini-duo small{font-size:10px;color:#7182a2}
.home-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;text-align:center}.home-stats>div{display:flex;flex-direction:column}.home-stats span{font-size:28px}.home-stats b{font-size:26px;font-weight:950}.home-stats small{font-size:11px;color:#72809b}
.manager-hero{position:relative;border-radius:28px;margin:0 0 18px;background:linear-gradient(115deg,#60e3c1,#54c7fb 48%,#a489ff);padding:20px;color:#10284e;min-height:195px;box-shadow:0 12px 27px #4fa6d743;overflow:hidden}.manager-hero>span{font-size:10px;font-weight:900;letter-spacing:1px}.manager-hero h1{font-size:29px;letter-spacing:-1px;margin:12px 0 5px;max-width:75%}.manager-hero p{font-size:12px;max-width:65%;line-height:1.4}.manager-emoji{position:absolute;font-size:85px;right:7px;top:10px;filter:drop-shadow(0 10px 8px #4b94ab77)}.manager-streak{border-radius:16px;background:#ffffffb5;padding:10px;font-weight:800;font-size:12px;max-width:90%;margin-top:10px}.admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.admin-actions button{font-size:12px;padding:10px 6px}
.staff-card{background:#fff;border-radius:22px;padding:16px;border:1px solid #e1eaff;margin:12px 0;box-shadow:0 10px 22px #3447a517}.staff-avatar{border-radius:15px;display:grid;place-items:center;background:#eaf3ff;width:48px;height:48px;font-size:25px}.staff-card small{display:block;font-size:11px;color:#8791b4;margin-top:4px}.staff-card label{font-size:11px;font-weight:750;color:#68729c;display:block;margin-top:10px}.staff-card .field{margin:4px 0;padding:10px}.staff-split{display:grid;grid-template-columns:1fr 1fr;gap:8px}.staff-flags{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0 13px}.staff-flags label{display:flex;gap:5px;align-items:center}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.sky-doodle,.welcome-figure,.streak-flame{animation:none}}
@media(max-width:380px){.welcome-figure{font-size:90px;top:53px}.welcome h1{font-size:29px}.streak-dot{width:29px;height:29px}.bottom button{font-size:9px}.admin-actions{grid-template-columns:1fr}.emotion-editor{grid-template-columns:1fr 48px 1fr 60px}}


/* ===== V6 cartoon refinement ===== */
body{background:linear-gradient(145deg,#d5ecff,#f6e9ff 55%,#d8fff0)!important;background-attachment:fixed}
.logo{border:3px solid #ffffffc7}.top{border-bottom:none;box-shadow:0 6px 22px rgba(109,104,190,.08)}
.avatar{background:linear-gradient(135deg,#fff,#ebe7ff);box-shadow:0 8px 18px rgba(94,84,226,.18);display:grid;place-items:center}
.mini-avatar{display:grid;place-items:center;width:100%;height:100%;font-size:22px}
.avatar-blob,.staff-avatar,.hero-avatar,.face{position:relative;display:grid;place-items:center;border-radius:22px;overflow:hidden;border:2px solid #ffffffdc;box-shadow:0 12px 24px rgba(80,92,196,.18)}
.avatar-blob:before,.staff-avatar:before,.hero-avatar:before,.face:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#ffd9bf 0 45%,transparent 45% 100%);opacity:.35}
.avatar-blob.female,.staff-avatar.female,.hero-avatar.female,.face.female{background:linear-gradient(145deg,#ffd7e8,#ffe9b9 48%,#d8fff4)}
.avatar-blob.male,.staff-avatar.male,.hero-avatar.male,.face.male{background:linear-gradient(145deg,#d7ecff,#e8dcff 48%,#d7fff0)}
.avatar-emoji{position:relative;z-index:1;filter:drop-shadow(0 2px 0 rgba(255,255,255,.45))}
.person .face,.quiz-card .face{width:54px;height:54px;font-size:28px}
.staff-avatar{width:52px;height:52px;font-size:28px}
.hero-avatar{width:126px;height:126px;font-size:74px;border-radius:34px;transform:rotate(6deg)}
.welcome-figure{position:absolute;right:8px;top:30px;font-size:unset;filter:none;animation:floaty 4.5s ease-in-out infinite;line-height:1}
.welcome{min-height:232px;padding:17px 8px 10px}.welcome h1{max-width:58%;font-size:36px}.welcome p{max-width:56%;font-size:13px}
.d4{top:126px;right:120px;font-size:22px}.sky-doodle{opacity:.9}
.glass-card,.streak-v6,.streak-v5,.day-emotion,.card,.person,.thermo{background:rgba(255,255,255,.82);backdrop-filter:blur(14px)}
.top-action{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,245,253,.95));border:1px solid #fffffffa}
.action-burst{width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#ffedf8,#fff7b9);font-size:30px;box-shadow:0 10px 20px rgba(255,145,195,.18)}
.main-cta{margin-top:14px;min-height:58px;font-size:16px;box-shadow:0 15px 28px rgba(88,92,255,.35)}
.day-emotion{padding:20px;background:linear-gradient(130deg,rgba(255,245,184,.92),rgba(255,233,242,.92) 40%,rgba(217,255,234,.95) 76%,rgba(230,235,255,.95));}
.day-emotion h2{font-weight:950;letter-spacing:-.5px}
.glass-link{font-size:14px}
.streak-v6{background:linear-gradient(130deg,rgba(255,248,213,.98),rgba(255,255,255,.95) 45%,rgba(218,255,237,.98));padding:20px 17px;border-radius:28px;border:2px solid rgba(255,255,255,.95);box-shadow:0 16px 35px rgba(61,129,92,.17)}
.streak-v6 h2{font-size:28px;font-weight:950;margin:4px 0;color:#149260;letter-spacing:-.7px}
.streak-v6 small{font-size:11px;color:#687d68}
.streak-dot{width:35px;height:35px;font-size:17px;box-shadow:0 5px 10px rgba(0,0,0,.05)}
.choice,.stat,.badge,.score,.tag,.segment,.big-btn,.outline-btn,.glass-link,.mini-duo button{transition:transform .18s ease, box-shadow .18s ease, filter .18s ease}
.choice:hover,.big-btn:hover,.outline-btn:hover,.glass-link:hover,.mini-duo button:hover,.person:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(72,87,197,.18)}
.person{border-radius:22px;background:linear-gradient(145deg,#fff,#f8f4ff)}
.person b{font-size:15px}.person small{font-size:12px}
.mini-duo button{background:linear-gradient(145deg,#ffffffee,#f7f0ff);border-radius:24px}
.home-stats{gap:10px}.home-stats>div{padding:10px 8px;border-radius:18px;background:linear-gradient(145deg,#fff,#f7f1ff)}
.climate-today h3,.glass-card h3,.card h3{font-weight:900;letter-spacing:-.3px}
.manager-hero{background:linear-gradient(125deg,#86efd0,#66d4ff 45%,#b998ff);min-height:220px}.manager-hero h1{font-size:31px}.manager-emoji{font-size:88px}
.bottom button span{filter:drop-shadow(0 2px 4px rgba(63,90,255,.09))}
@media(max-width:420px){.welcome h1{font-size:32px;max-width:56%}.hero-avatar{width:112px;height:112px;font-size:64px}.welcome-figure{top:48px}}

.profile-avatar{width:78px;height:78px;font-size:42px;border-radius:24px;margin-right:8px}
.manager-avatar{width:94px;height:94px;font-size:56px;border-radius:28px;transform:rotate(4deg)}
.manager-emoji{position:absolute;right:12px;top:14px;filter:none;line-height:1}

/* ═══ V6.1 · Illustrated cartoon world ═══ */
:root{--ink:#15215d;--blue:#226bff;--violet:#9055ff;--shadow:0 15px 38px rgba(67,83,190,.18)}
.app{background:#f8faff}.app.home-mode{background:var(--climate-gradient)}
.top{background:rgba(255,255,255,.88);height:75px}.logo{border-radius:16px;background:linear-gradient(138deg,#28d6c7,#5b88ff 54%,#9860ff);font-size:23px;box-shadow:0 8px 19px #667bff4f}
.brand b{font-weight:950;font-size:16px}.brand span{color:#786da4;font-weight:650}
.illustrated-avatar{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;filter:drop-shadow(0 5px 10px #3e418e30)}
.avatar-blob,.staff-avatar,.hero-avatar,.face{background:transparent!important;padding:0;overflow:hidden;border:3px solid #ffffffed}
.avatar-blob:before,.staff-avatar:before,.hero-avatar:before,.face:before{display:none}
.mini-avatar{border-radius:50%;overflow:hidden;box-shadow:0 4px 13px #725ced22}
.mini-avatar .illustrated-avatar{border-radius:50%}
.avatar{width:43px;height:43px;padding:2px;border:2px solid white;background:linear-gradient(135deg,#efe8ff,#ccf9ff)}
.hero-avatar{width:148px;height:172px;border-radius:42px;transform:rotate(5deg);box-shadow:0 18px 30px #166b8850}
.welcome-figure{right:7px;top:20px;z-index:1;animation:floaty 4s ease-in-out infinite}
.welcome{min-height:217px;padding:21px 11px 5px;z-index:0}
.welcome h1{max-width:60%;font-weight:1000;color:#102956;text-shadow:0 2px 9px #ffffff99;margin:22px 0 11px;position:relative;z-index:2}
.welcome p{max-width:57%;font-weight:850;color:#1b4678;text-shadow:0 1px 7px #fff9;font-size:13px;position:relative;z-index:2}
.sky-kicker{color:#3753ae;font-size:9px;font-weight:1000;background:#ffffffd5;border:1px solid #fff;box-shadow:0 4px 16px #3a6f8a12}
.full-sky{padding-top:2px;isolation:isolate}.full-sky:before{background:radial-gradient(circle,#fffdb0aa,transparent 69%)}
.top-action{margin:4px 0 13px!important;background:linear-gradient(125deg,#fffdf5ec,#fff5ffeb 55%,#eafffbea)!important;border:2px solid #fffffff2;box-shadow:0 17px 30px #8b62b338}
.top-action h3{font-size:18px!important;color:#2b2c8a}.top-action p{font-size:12px;line-height:1.35;color:#7571a4}
.action-burst{border:2px solid white;background:linear-gradient(155deg,#f6daff,#ffe29a);font-size:35px;animation:pulsePop 3.2s ease-in-out infinite}
.main-cta{border:2px solid #ffffffd4;border-bottom:5px solid #334ed5;background:linear-gradient(105deg,#198af5,#695efb 52%,#a04fe4);border-radius:20px;min-height:64px;letter-spacing:.1px;font-weight:950;box-shadow:0 10px 23px #5f69ff4a}
.main-cta:active{border-bottom-width:2px;transform:translateY(3px)}
.glass-card{border-radius:28px!important;border:2px solid #ffffffde;box-shadow:0 14px 34px #3869ae26}
.climate-today{background:#fffffff0!important}.feature-emoji{font-size:48px!important;filter:drop-shadow(0 5px 6px #ffa7755c)}
.day-emotion{border-radius:28px;background:linear-gradient(126deg,#fff3a9,#f7dcff 49%,#c9ffed)!important;box-shadow:0 15px 34px #c478ad2b}
.day-icon{font-size:54px;width:82px;height:82px;border:3px solid white;box-shadow:0 8px 17px #c087c24a;animation:floaty 4s ease-in-out infinite}
.streak-v6{border:2px solid white;box-shadow:0 13px 31px #efad5150;background:linear-gradient(128deg,#fff6c9,#fffbe6 53%,#d6ffdc)!important}
.streak-flame{font-size:57px;animation:pulsePop 2.7s ease-in-out infinite}
.streak-dot{border:2px solid white;width:38px;height:38px;border-radius:14px;box-shadow:0 5px 11px #00bd8238}
.streak-dot.success{background:linear-gradient(145deg,#49ec9f,#08b478);transform:rotate(-6deg)}
.streak-dot.fail{background:linear-gradient(145deg,#ffc083,#fa6175)}
.streak-v6 h2{font-size:30px;color:#07976c;text-shadow:0 1px #fff}
.mini-duo button{border:2px solid white;box-shadow:0 10px 23px #7562a32c}.mini-duo span{font-size:42px}
.choice{border-radius:25px;min-height:124px;border:2px solid white;background:linear-gradient(145deg,#fff7d7,#fff0fc)!important;box-shadow:0 10px 22px #9f70c02a}
.choice:nth-child(2n){background:linear-gradient(145deg,#d9f6ff,#f6e8ff)!important}
.choice .emoji{font-size:51px;transition:transform .2s ease}.choice:active .emoji,.choice:hover .emoji{transform:scale(1.15) rotate(-7deg)}
.choice.selected{background:linear-gradient(145deg,#fde9fd,#d8fff4)!important;border:3px solid #8d61fd;box-shadow:0 0 0 4px #9e81fb22,0 12px 26px #8d61fd37}
.card,.stat,.person,.thermo,.badge{border:2px solid #e5e8ff;border-radius:26px;box-shadow:0 10px 24px #6268bd20}
.person{background:linear-gradient(145deg,#fff,#f6f2ff)!important}.person .face{width:58px;height:58px;border-radius:20px}
.staff-avatar{width:55px;height:55px}.profile-avatar{width:85px;height:96px;border-radius:23px}.manager-avatar{width:105px;height:116px;border-radius:27px}
.manager-hero{min-height:220px;background:linear-gradient(125deg,#b7ffdb,#65cfff 42%,#ba90ff);border:2px solid #fff}
.big-btn{font-weight:900}.bottom{box-shadow:0 -11px 26px #6473be25;border-top:2px solid #fff}
.bottom button.active span{transform:translateY(-3px);filter:drop-shadow(0 5px 7px #3a6aff5e)}
.v61-confetti i{position:absolute;font-style:normal;z-index:0;font-weight:900;animation:twinkle 4s infinite}.v61-confetti i:nth-child(1){top:8px;right:145px;color:#ff76c4;font-size:22px}.v61-confetti i:nth-child(2){top:88px;right:3px;color:#ff6b9f;font-size:27px;animation-delay:1.1s}.v61-confetti i:nth-child(3){top:185px;left:15px;color:#ffee58;font-size:19px;animation-delay:2s}.v61-confetti i:nth-child(4){top:330px;right:5px;color:#15cbbb;font-size:25px;animation-delay:.6s}.v61-confetti i:nth-child(5){top:505px;left:0;color:#ff8bbe;font-size:23px;animation-delay:1.5s}
@keyframes twinkle{0%,100%{transform:scale(.75) rotate(-12deg);opacity:.35}50%{transform:scale(1.2) rotate(12deg);opacity:1}}
@keyframes pulsePop{0%,100%{transform:scale(1) rotate(-3deg)}50%{transform:scale(1.08) rotate(5deg)}}
@media(max-width:400px){.hero-avatar{width:114px;height:148px}.welcome h1{font-size:30px}.welcome p{font-size:12px}.welcome{min-height:195px}.top-action h3{font-size:16px!important}.streak-dot{width:31px;height:32px}}
@media(prefers-reduced-motion:reduce){.action-burst,.streak-flame,.day-icon,.v61-confetti i{animation:none!important}}

/* V6.2: animated-film portraits and contrast audit */
:root{--ink:#101b4d;--muted:#44547c}
.illustrated-avatar{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.avatar-blob:before{display:none!important}
.avatar-blob{background:linear-gradient(135deg,#bdeaff,#fee5fa)!important;box-shadow:0 8px 22px #354b9e22}
.hero-avatar{transform:rotate(4deg)}
.avatar-picker-preview{display:flex;align-items:center;gap:18px;padding:18px;background:linear-gradient(110deg,#d5f6ff,#f7deff);border-radius:25px;margin:14px 0;box-shadow:0 12px 28px #2a488c18}
.avatar-picker-preview b{font-size:18px;color:#0e235b}.avatar-picker-preview p{font-size:12px;color:#3f4d7c}
.picker-preview-avatar{width:110px;height:110px;font-size:0;border-radius:30px;flex-shrink:0}
.avatar-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}
.avatar-tabs button{min-height:46px;border-radius:18px;border:1px solid #d4d6ff;background:#ffffffd9;color:#202d6b;font-weight:850}
.avatar-tabs button.active{background:linear-gradient(120deg,#457bff,#9663f4);color:white;box-shadow:0 8px 18px #495af03d}
.avatar-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:14px 0}
.avatar-option{position:relative;aspect-ratio:1;border:3px solid #fff;border-radius:23px;overflow:hidden;background:#fff;box-shadow:0 9px 19px #36549a1d;padding:0;transition:transform .2s,box-shadow .2s}
.avatar-option img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-option.selected{border-color:#6c53ff;box-shadow:0 0 0 3px #8975ff55,0 10px 25px #6c53ff35}
.avatar-option.selected span{position:absolute;right:5px;bottom:5px;background:#7255f1;color:white;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-weight:900}
.avatar-option:active{transform:scale(.94)}
.avatar-tip{font-size:12px;color:#22315d}
/* Clear text on every gradient and translucent panel */
.welcome h1,.welcome p,.sky-kicker{color:#10214d;text-shadow:0 2px 12px #ffffffb8}
.glass-card,.streak-v6,.streak-v5,.day-emotion,.card{background:rgba(255,255,255,.93);color:#111f4d}
.glass-card p,.streak-v6 p,.day-emotion p,.card p,.glass-card small{color:#39486e;opacity:1}
.hero,.result-feature{color:#fff}
.hero p,.result-feature small,.result-feature p{color:#fff!important;opacity:1}
.climate-today .eyebrow{color:#2a4c61}.climate-today h3{color:#07644e}
.streak-v6 small,.streak-caption{color:#3d6557}
.manager-hero h1,.manager-hero p,.manager-hero>span{color:#122b55;text-shadow:0 1px 6px #fff9}
.day-emotion h2{color:#33247a}.day-emotion .small,.day-info{color:#323e72}
.pill{color:#066b57}.note{color:#0b6156}.sub{color:#48587c}
.choice,.person,.badge,.stat,.segment,.tag{color:#142553}
@media(prefers-reduced-motion:reduce){.avatar-option,.avatar-gallery{transition:none!important}}


/* ===== V6.3 readability + volume ===== */
:root{--ink-strong:#10214d;--ink-soft:#334467;--glass-strong:rgba(255,255,255,.95)}
.full-sky{padding-top:8px}
.full-sky:before{width:340px;height:340px;top:-120px;left:-120px;background:radial-gradient(circle,#fff3b8d1,transparent 67%)}
.full-sky:after{width:320px;height:320px;right:-140px;left:auto;top:120px;background:radial-gradient(circle,#ffffffc9,transparent 68%)}
.welcome{background:linear-gradient(90deg,rgba(255,255,255,.22),rgba(255,255,255,.08));border-radius:32px;padding:22px 16px 14px;backdrop-filter:blur(4px);box-shadow:inset 0 1px 0 rgba(255,255,255,.32)}
.welcome::before{content:'';position:absolute;inset:0;border-radius:32px;background:linear-gradient(90deg,rgba(255,255,255,.42),rgba(255,255,255,0) 62%);z-index:-1}
.welcome h1,.welcome p,.sky-kicker{color:var(--ink-strong)!important;text-shadow:0 2px 14px rgba(255,255,255,.92)!important}
.welcome h1{font-size:37px;line-height:1.06;letter-spacing:-1.7px}
.welcome p{max-width:54%;font-size:14px;color:#203b67!important}
.sky-kicker{font-size:10px;background:rgba(255,255,255,.92)!important;color:#1c3772!important;box-shadow:0 6px 20px rgba(52,92,180,.12)}
.hero-avatar{width:156px;height:184px;border:4px solid rgba(255,255,255,.95);box-shadow:0 22px 40px rgba(22,107,136,.35),0 8px 14px rgba(255,255,255,.38) inset}
.illustrated-avatar{image-rendering:auto;backface-visibility:hidden;transform:translateZ(0)}
.glass-card,.streak-v6,.streak-v5,.day-emotion,.card,.person,.thermo,.staff-card{background:var(--glass-strong)!important;color:var(--ink-strong)!important;box-shadow:0 14px 36px rgba(49,78,145,.12);border:1px solid rgba(255,255,255,.75)}
.glass-card p,.glass-card small,.card p,.card small,.person small,.streak-v6 small,.streak-caption,.time-hint{color:var(--ink-soft)!important;opacity:1}
.top-action{box-shadow:0 18px 34px rgba(96,86,207,.22), inset 0 1px 0 rgba(255,255,255,.75)!important}
.top-action h3,.glass-card h3,.card h3{color:#1a2876!important}
.big-btn{box-shadow:0 16px 28px rgba(85,91,255,.28), inset 0 1px 0 rgba(255,255,255,.35)}
.streak-v6{box-shadow:0 16px 36px rgba(255,171,54,.22)!important}
.streak-dot{border:2px solid rgba(255,255,255,.92)}
.avatar-gallery{grid-template-columns:repeat(5,1fr)}
.avatar-option{border-radius:24px;box-shadow:0 10px 22px rgba(54,84,154,.18);background:linear-gradient(180deg,#fff,#fbfbff)}
.avatar-option img{filter:contrast(1.03) saturate(1.04)}
.avatar-option.selected{transform:translateY(-2px);border-color:#6c53ff;box-shadow:0 0 0 3px #8975ff55,0 14px 26px #6c53ff42}
.avatar-picker-preview{background:linear-gradient(135deg,#fffdf7,#f6efff 55%,#effdff);border:1px solid rgba(255,255,255,.8)}
.time-hint{padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#f9f5ff,#eef8ff)!important;font-size:12px;font-weight:700}
.summary-line{color:var(--ink-strong)}
.summary-line b{color:#1a2d68}
.note{background:linear-gradient(135deg,#eef9ff,#effff4)!important;color:#2e5668!important}
.person,.staff-card{border-radius:24px}
.manager-hero{box-shadow:0 20px 40px rgba(88,74,206,.28) inset, 0 12px 24px rgba(65,73,175,.14)}
.manager-streak{background:rgba(255,255,255,.2);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.32)}
@media(max-width:440px){.avatar-gallery{grid-template-columns:repeat(4,1fr)}.welcome h1{font-size:33px}.welcome p{max-width:52%;font-size:13px}.hero-avatar{width:144px;height:170px}}


/* ===== V6.4 hero avatar clarity ===== */
.full-sky{padding-top:10px}
.welcome{background:linear-gradient(90deg,rgba(255,255,255,.32),rgba(255,255,255,.12) 45%,rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px rgba(46,55,146,.12)}
.welcome::after{content:'';position:absolute;inset:0;border-radius:32px;background:radial-gradient(circle at 25% 20%,rgba(255,255,255,.30),transparent 35%),linear-gradient(180deg,rgba(255,255,255,.12),transparent 60%);pointer-events:none;z-index:-1}
.welcome h1{color:#0d2350!important;text-shadow:0 2px 16px rgba(255,255,255,.96)!important}
.welcome p{color:#173e70!important;text-shadow:0 1px 12px rgba(255,255,255,.9)!important;font-weight:800}
.welcome-figure{right:10px;top:16px;z-index:1}
.hero-avatar{width:162px;height:194px;border-radius:44px;border:4px solid rgba(255,255,255,.98);background:linear-gradient(180deg,#ffffff,#f8f6ff);box-shadow:0 24px 48px rgba(57,69,188,.28),0 12px 26px rgba(20,106,134,.22), inset 0 1px 0 rgba(255,255,255,.55);transform:rotate(4deg) translateZ(0)}
.hero-avatar .illustrated-avatar{width:100%;height:100%;object-fit:cover;object-position:center top;filter:contrast(1.06) saturate(1.05);image-rendering:auto}
.profile-avatar{width:88px;height:88px;border-radius:28px}
.manager-avatar{width:98px;height:98px;border-radius:30px}
.mini-avatar{overflow:hidden;border-radius:50%}
.mini-avatar .illustrated-avatar{filter:contrast(1.04) saturate(1.03)}
.card.gradient{background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,243,255,.96) 58%,rgba(236,255,255,.95))!important}
.top-action,.climate-today,.streak-v6,.glass-card,.card,.person,.staff-card{box-shadow:0 16px 34px rgba(39,57,141,.12)!important}
@media(max-width:430px){.hero-avatar{width:150px;height:180px}.welcome h1{max-width:54%}.welcome p{max-width:51%}}
@media(max-width:395px){.hero-avatar{width:138px;height:168px}.welcome-figure{top:26px}.welcome h1{font-size:31px}}

/* V6.5 — tactile playful components and legibility */
.avatar-option{background:linear-gradient(155deg,#fff 0%,#f4edff 55%,#e6fbff 100%);border:3px solid #fff;box-shadow:0 5px 0 #c2caff,0 12px 24px #5264c331}
.avatar-option img{display:block;width:100%;height:100%;object-fit:cover;filter:contrast(1.05) saturate(1.09)}
.avatar-option.selected{border-color:#7855ff;box-shadow:0 0 0 3px #b2a0ff,0 6px 0 #6243d5,0 14px 27px #634ccb55}
.choice{border:2px solid #fff;box-shadow:0 5px 0 #deddfd,0 13px 20px #8c78d62e;background:linear-gradient(150deg,#fffefa,#f4edff)}
.choice .emoji{filter:drop-shadow(0 6px 5px #8676bc57);transition:transform .25s}
.choice.selected .emoji{transform:scale(1.13) rotate(-5deg)}
.mood-grid .choice:nth-child(3n+2){background:linear-gradient(145deg,#ebfaff,#f3f0ff)}
.mood-grid .choice:nth-child(3n){background:linear-gradient(145deg,#fff0f4,#fff8df)}
.big-btn{border:1px solid #ffffff80;box-shadow:0 6px 0 #364ed1,0 13px 23px #4c57bb42;text-shadow:0 1px 2px #22379642}
.big-btn:active{transform:translateY(4px)!important;box-shadow:0 2px 0 #364ed1,0 7px 12px #4c57bb30}
.day-icon{box-shadow:0 5px 0 #e9d4ef,0 9px 20px #b873aa36;animation:v65bob 4s ease-in-out infinite}
.streak-flame{filter:drop-shadow(0 6px 4px #f89a4d6c)}
.streak-dot.success{box-shadow:0 4px 0 #079d6d,0 9px 14px #01b98445}
.streak-dot.fail{box-shadow:0 4px 0 #ce505e,0 9px 14px #f66c7250}
.glass-card,.top-action,.streak-v6,.card{outline:1px solid #ffffffb8;outline-offset:-2px}
.home-mode .glass-card h3,.home-mode .glass-card p,.home-mode .glass-card small,.home-mode .glass-card .eyebrow,.home-mode .streak-v6 .streak-caption{color:#142c55!important;text-shadow:none!important}
.welcome h1,.welcome p{position:relative;z-index:2;filter:none}
@keyframes v65bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.day-icon{animation:none}.choice .emoji{transition:none}}


/* V6.5.1: coherent, soft action states — no jumping or hard shadow ridges */
.big-btn,.outline-btn,.mini-duo button,.glass-link,.person,.choice,.score,.tag,.avatar-option{
  transition:box-shadow .18s ease,filter .18s ease,background-color .18s ease,border-color .18s ease !important;
}
.big-btn,.big-btn:hover,.big-btn:focus-visible,.big-btn:active{
  transform:none !important;
  box-shadow:0 9px 24px rgba(70,79,201,.24),inset 0 1px 0 rgba(255,255,255,.28) !important;
}
.big-btn:hover{filter:brightness(1.055)}
.big-btn:active{filter:brightness(.96)}
.outline-btn:hover,.outline-btn:active,.mini-duo button:hover,.mini-duo button:active,
.glass-link:hover,.glass-link:active,.person:hover,.person:active,
.choice:hover,.choice:active,.score:hover,.score:active,.tag:hover,.tag:active{
  transform:none !important;
}
.outline-btn:hover,.mini-duo button:hover,.glass-link:hover,.person:hover{
  box-shadow:0 9px 20px rgba(60,79,154,.14) !important;
}
.choice,.choice:hover,.choice:active{
  box-shadow:0 7px 19px rgba(91,89,176,.15) !important;
}
.choice.selected,.choice.selected:hover,.choice.selected:active{
  transform:none !important;
  border-color:#8763f7;
  box-shadow:0 0 0 2px rgba(139,99,247,.2),0 8px 22px rgba(92,77,178,.18) !important;
}
.choice .emoji,.choice:hover .emoji,.choice:active .emoji,.choice.selected .emoji{
  transform:none !important;
  transition:none !important;
}
.avatar-option:hover,.avatar-option:active{transform:none !important}
.avatar-option,.avatar-option.selected{
  box-shadow:0 8px 19px rgba(60,76,151,.18) !important;
}
.avatar-option.selected{box-shadow:0 0 0 3px rgba(125,91,244,.35),0 9px 20px rgba(65,70,165,.22) !important}
.main-cta:hover,.main-cta:active{transform:none!important;border-bottom-width:initial!important}
@media (hover:none){.big-btn:hover,.outline-btn:hover,.mini-duo button:hover,.person:hover,.glass-link:hover{filter:none}}

/* 6.5.2 — stable avatar grid and non-flickering interaction */
.avatar-gallery {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:12px!important;align-items:start!important;justify-items:stretch!important;overflow:visible!important;margin:17px 0 22px!important}
.avatar-option {display:block!important;width:100%!important;height:auto!important;min-width:0!important;aspect-ratio:1/1!important;position:relative!important;margin:0!important;padding:0!important;line-height:0!important;border-radius:20px!important;overflow:hidden!important;transform:none!important;transition:none!important;animation:none!important;filter:none!important;will-change:auto!important;box-shadow:0 5px 16px rgba(49,56,137,.16)!important;border:3px solid white!important;vertical-align:top!important}
.avatar-option img{display:block!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important;object-fit:cover!important;object-position:center center!important;transform:none!important;transition:none!important;animation:none!important;filter:none!important}
.avatar-option span {line-height:25px!important;z-index:1}
.avatar-option.selected,.avatar-option.selected:hover,.avatar-option.selected:active,.avatar-option:hover,.avatar-option:focus {transform:none!important;filter:none!important;animation:none!important;border-color:#7563ec!important;box-shadow:0 0 0 2px rgba(113,94,231,.26),0 7px 18px rgba(61,68,142,.20)!important}
.avatar-category-label{background:rgba(255,255,255,.95);border:1px solid #dce5ff;padding:12px 16px;border-radius:16px;font-size:14px;font-weight:900;color:#1d3169}
.gender-prompt{background:white;padding:18px;border-radius:22px;box-shadow:0 8px 20px #5668af1c}.gender-prompt h3{margin:0 0 7px}.gender-prompt p{font-size:12px;color:#415578;line-height:1.5}
.gender-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.gender-choices button{border:1px solid #d5dcff;border-radius:15px;background:linear-gradient(135deg,#f0f7ff,#f8f0ff);padding:14px 8px;font-weight:850;color:#202d6a}
/* Existing stacked CSS versions defined several conflicting animations/shadows.
   Disable hover movement, box-shadow transitions and scale on all action controls. */
.big-btn,.outline-btn,.mini-duo button,.glass-link,.person,.choice,.score,.tag,.avatar-option,.segment,.badge,.day-icon,.streak-dot,.avatar-tabs button {
  animation:none!important;transition:none!important;will-change:auto!important;
}
.big-btn:hover,.big-btn:active,.big-btn:focus,.outline-btn:hover,.outline-btn:active,
.mini-duo button:hover,.mini-duo button:active,.glass-link:hover,.glass-link:active,
.person:hover,.person:active,.choice:hover,.choice:active,.score:hover,.score:active,
.tag:hover,.tag:active,.segment:hover,.segment:active,.avatar-option:hover,.avatar-option:active {
  transform:none!important;animation:none!important;filter:none!important;
}
.big-btn,.big-btn:hover,.big-btn:active,.big-btn:focus {
  border-bottom:1px solid rgba(255,255,255,.5)!important;
  box-shadow:0 8px 21px rgba(65,75,171,.23)!important;
}
.outline-btn,.outline-btn:hover,.outline-btn:active,.mini-duo button,.mini-duo button:hover,
.glass-link,.glass-link:hover,.person,.person:hover {box-shadow:0 7px 19px rgba(62,75,150,.12)!important}
.choice,.choice:hover,.choice:active,.choice.selected,.choice.selected:hover,.choice.selected:active {
  box-shadow:0 6px 18px rgba(70,66,146,.13)!important;
}
.choice.selected {outline:3px solid #8164ed;outline-offset:0}
.choice .emoji,.choice:hover .emoji,.choice:active .emoji {transform:none!important;animation:none!important;transition:none!important}
@media(max-width:390px){.avatar-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}


/* v6.5.3: final stable control surface and image grid */
.avatar-gallery {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:10px!important;align-items:stretch!important;align-content:start!important;contain:layout style!important;}
.avatar-gallery .avatar-option {display:block!important;position:relative!important;inline-size:100%!important;block-size:auto!important;aspect-ratio:1!important;min-inline-size:0!important;min-block-size:0!important;padding:0!important;margin:0!important;line-height:normal!important;border:3px solid #fff!important;outline:0!important;border-radius:19px!important;overflow:hidden!important;box-shadow:0 7px 16px rgba(48,69,140,.14)!important;transform:none!important;animation:none!important;transition:none!important;}
.avatar-gallery .avatar-option img {position:absolute!important;inset:0!important;inline-size:100%!important;block-size:100%!important;object-fit:cover!important;object-position:center 39%!important;display:block!important;pointer-events:none!important;transform:none!important;filter:none!important;animation:none!important;transition:none!important;}
.avatar-gallery .avatar-option:focus-visible,.avatar-gallery .avatar-option.selected{border-color:#7d62ef!important;box-shadow:0 0 0 3px rgba(125,98,239,.36),0 7px 16px rgba(48,69,140,.14)!important;}
.avatar-gallery .avatar-option:hover,.avatar-gallery .avatar-option:active {transform:none!important;box-shadow:0 7px 16px rgba(48,69,140,.14)!important;}
/* Ignore hover on touch screens and ensure large action cards don't flash or move. */
.mini-duo,.mini-duo button,.mini-duo button *, .mini-duo button::before,.mini-duo button::after{animation:none!important;transition:none!important;transform:none!important;will-change:auto!important;}
.mini-duo button{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:rgba(255,255,255,.96)!important;border:2px solid #fff!important;box-shadow:0 8px 18px rgba(42,58,135,.13)!important;filter:none!important;backdrop-filter:none!important;}
.mini-duo button:hover,.mini-duo button:focus,.mini-duo button:active,.mini-duo button:focus-visible{background:rgba(255,255,255,.96)!important;box-shadow:0 8px 18px rgba(42,58,135,.13)!important;filter:none!important;transform:none!important;}
.mini-duo button::before,.mini-duo button::after{pointer-events:none!important;opacity:0!important;content:none!important;}
.v61-confetti,.v61-confetti *, .sky-doodle,.sky-doodle *, .welcome-figure,.day-icon,.streak-flame{pointer-events:none!important;}
@media(max-width:390px){.avatar-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* v6.6 — pointer, work calendar, scrollable team, weekly stats */
.mood-track{position:relative;margin-top:27px!important;overflow:visible!important}
.climate-pin{position:absolute;bottom:26px;transform:translateX(-50%);z-index:3;display:flex;align-items:center;flex-direction:column;font-size:24px;line-height:1;filter:drop-shadow(0 2px 2px #fff)}
.climate-pin small{background:#fff;border-radius:11px;color:#19244c!important;padding:3px 8px;font-size:11px;font-weight:900;box-shadow:0 2px 8px #1c3b7e33}
.calendar-widget{padding:18px}.tiny-calendar,.calendar-more{border:0;border-radius:14px;background:#e9f1ff;color:#2544a9;font-size:12px;font-weight:800;padding:11px}
.calendar-more{width:100%;margin-top:14px}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:14px}
.week-day{padding:7px 2px;display:flex;align-items:center;flex-direction:column;gap:5px;border-radius:14px;background:#e5fbee;color:#2d5162;min-width:0;font-size:12px}
.week-day span{font-weight:900}.week-day em{font-style:normal}.week-day.is-off{background:#edf0f8;color:#78819d}.week-day.is-today{outline:2px solid #7f63fc}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:15px 0}.month-grid>small{text-align:center;color:#61719c}.month-day{min-height:57px;border-radius:12px;background:#e9fbf0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0}.month-day.offday{background:#edf0f7}.month-day.current{outline:2px solid #6c5df1}.month-day span{font-size:19px}.month-day b{font-size:12px}
.leave-item{border-bottom:1px solid #e6ecf7;padding:12px 0;display:flex;gap:5px;flex-direction:column}.leave-item small{color:#64748b}.leave-buttons{display:flex;gap:8px}.leave-buttons button{border:1px solid #cdd7f1;border-radius:10px;background:#f5f6ff;padding:10px}
.scroll-people{height:min(820px,max(440px,calc(100dvh - 500px)));max-height:calc(100dvh - 420px);min-height:440px;overflow-y:auto;overscroll-behavior:contain;padding:4px 8px 14px 4px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#9b8de0 #edf0ff}
.scroll-people::-webkit-scrollbar{width:9px}
.scroll-people::-webkit-scrollbar-track{background:#edf0ff;border-radius:12px}
.scroll-people::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8e75ee,#b2a7ff);border:2px solid #edf0ff;border-radius:12px}
.staff-card{margin:12px 2px 14px 0}
@media(max-height:760px){.scroll-people{height:calc(100dvh - 350px);min-height:300px;max-height:calc(100dvh - 350px)}}.leader-person{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:0;border-bottom:1px solid #e9eef8;padding:10px 0;color:#22325c}.leader-person .face{width:43px;height:43px;flex:0 0 43px}.leader-person small{display:block;font-size:11px;color:#536785;margin-top:3px}.leader-person:hover{background:#f2f4ff}.staff-card[hidden]{display:none}
.chart-svg svg{width:100%;max-height:165px}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;color:#526581;font-size:10px;text-align:center}.chart-note{font-size:11px;color:#526581;margin-top:10px}.radar-box svg{width:100%;max-height:270px}.radar-legend{display:grid;gap:5px;color:#314368;font-size:12px}.narrow{width:44px;min-height:40px;padding:3px!important}
.holiday-list{margin-top:12px}.holiday-list .row{padding:8px 0;border-top:1px solid #e8edf8}

.leader-disclosure{margin:12px 0}.leader-disclosure>summary{font-size:14px;color:#1d3270;font-weight:900;cursor:pointer;list-style-position:inside;padding:4px 0}.leader-disclosure>summary::marker{color:#7159d2}.leader-disclosure[open] summary{margin-bottom:12px}.leader-disclosure .scroll-people{max-height:280px}

/* v6.7 — fixed markers, scroll views, predictable cards */
.climate-track{position:relative;margin-top:21px!important;overflow:visible!important}
.climate-pointer{position:absolute;top:-20px;left:clamp(12px,var(--climate-percent),calc(100% - 12px));transform:translateX(-50%);font-style:normal;color:#16305b;font-size:21px;filter:drop-shadow(0 2px 2px #fff);z-index:2}
.green-total-inline{border-radius:16px;padding:12px;background:#ecfff3;color:#086e4b;font-size:13px;font-weight:900;margin:9px 0}
.green-total{background:#eafff2!important;color:#086e4b!important;font-size:15px;font-weight:850}
.team-scroll{max-height:430px;overflow-y:auto;padding-right:5px;margin-top:14px;scrollbar-width:thin;overscroll-behavior:contain}
.team-scroll .person{margin:8px 0;transform:none!important;animation:none!important}
.timeline-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#8679f5 #e6eaff;padding:8px 0 12px;overscroll-behavior-x:contain}
.timeline-inner{min-width:100%}.timeline-labels{display:flex;justify-content:space-around;font-size:9px;color:#3d4e79;white-space:nowrap}.timeline-labels small{flex:0 0 45px;text-align:center}
.month-day span,.week-day em{font-size:22px;white-space:nowrap}.month-day.working{background:#f4f8ff!important}.month-day.offday{background:#edf0f7!important}
.mini-duo button,.mini-duo button:hover,.mini-duo button:active{transform:none!important;animation:none!important;transition:none!important;filter:none!important;box-shadow:0 5px 15px rgba(40,70,130,.15)!important}


/* v6.9.1 UI fixes */
.team-scroll{max-height:calc(100dvh - 290px);min-height:52dvh;padding-right:6px;padding-bottom:4px;}
@media (max-width:530px){.team-scroll{max-height:calc(100dvh - 305px);min-height:50dvh;}}
#teamPeople{display:flex;flex-direction:column;gap:8px}
#teamPeople .person{margin:0}
.timeline-viewport{overflow-x:auto;overflow-y:hidden;padding-bottom:6px;margin-top:8px;scrollbar-width:thin}
.timeline-inner{min-width:100%}
.timeline-labels{display:grid;grid-auto-flow:column;grid-auto-columns:48px;gap:0;color:#526581;font-size:10px;text-align:center;margin-top:4px}
.timeline-labels small{white-space:nowrap}
.bright-radar svg{max-height:290px}
.vivid-legend{margin-top:8px;gap:8px}
.vivid-legend span{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;background:linear-gradient(135deg,#f7f3ff,#eef5ff);font-size:12px;color:#2b3d70}
.vivid-legend i{width:10px;height:10px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px rgba(124,77,255,.12)}
.review-card.colorful{background:linear-gradient(135deg,#ffffff,#f8f3ff 62%,#eef8ff);border:1px solid #e5e2ff;padding:16px 16px 14px}
.review-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.review-target{display:flex;align-items:center;gap:12px;min-width:0}
.review-target b{display:block;font-size:16px;color:#203567;margin-bottom:2px}
.review-target small{display:block;color:#6d7da3}
.review-avatar{width:56px;height:56px;border-radius:18px;flex:0 0 56px;background:linear-gradient(135deg,#def8ff,#f6e9ff);overflow:hidden;box-shadow:0 10px 20px rgba(106,89,230,.12)}
.author-avatar{width:32px;height:32px;border-radius:50%;flex:0 0 32px;overflow:hidden;background:linear-gradient(135deg,#def8ff,#f6e9ff)}
.review-score{font-size:18px;line-height:1;filter:drop-shadow(0 2px 4px rgba(255,191,0,.18))}
.review-pill-row{margin-bottom:10px}
.bright-pill{background:linear-gradient(90deg,#dff8f0,#d9eefc)!important;color:#057c68!important;font-weight:800;border:1px solid #c9ece3}
.review-note{font-size:14px!important;line-height:1.55!important;color:#233763!important;margin-bottom:10px!important}
.review-author{display:flex;align-items:center;gap:9px;padding-top:10px;border-top:1px dashed #d8def4}
.review-author small{font-size:12px;color:#5d6f98!important}
.reviews-list{display:grid;gap:12px}
.chart-note{font-size:12px;color:#4f6188;margin-top:10px;line-height:1.5}


/* ═══════════ v6.9.2 · cartoon UX polish ═══════════ */
.profile-hero-card{position:relative;overflow:hidden;padding:20px;border-radius:30px;background:linear-gradient(130deg,#fff0f7 0%,#f1eaff 45%,#e3fbff 100%);border:2px solid #fff;box-shadow:0 17px 36px rgba(92,91,190,.18);margin:8px 0 14px}
.profile-hero-card:after{content:'✦';position:absolute;right:18px;top:8px;font-size:42px;color:#ffb5d7;opacity:.75}
.profile-hero-main{display:flex;align-items:center;gap:16px;position:relative;z-index:1}
.profile-hero-avatar{width:112px;height:112px;flex:0 0 112px;border-radius:32px;box-shadow:0 12px 24px rgba(88,88,180,.2);transform:rotate(-3deg)}
.profile-kicker{font-size:9px;font-weight:1000;letter-spacing:1.2px;color:#8064d7}
.profile-hero-main h2{font-size:21px;line-height:1.15;margin:5px 0;color:#19285e}
.profile-hero-main p{font-size:12px;color:#596b96;margin:0 0 9px}
.profile-zone-pill{display:inline-flex;padding:6px 10px;border-radius:30px;background:linear-gradient(90deg,#d8fff0,#e6f7ff);color:#078568;font-size:11px;font-weight:900}
.profile-avatar-edit{position:relative;z-index:1;margin-top:14px;border:0;border-radius:14px;padding:10px 14px;background:#fff;color:#6551d5;font-weight:900;box-shadow:0 6px 15px rgba(90,75,190,.1)}
.profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.profile-metric{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:12px 10px;border-radius:20px;border:2px solid #fff;box-shadow:0 9px 20px rgba(77,92,165,.11)}
.profile-metric span{font-size:21px}.profile-metric b{font-size:22px;line-height:1.2;margin:6px 0 2px;color:#20356e}.profile-metric small{font-size:9px;font-weight:800;color:#5d6f96;white-space:nowrap}
.metric-points{background:linear-gradient(145deg,#fff4c9,#fff)}.metric-rating{background:linear-gradient(145deg,#e4f8ff,#fff)}.metric-green{background:linear-gradient(145deg,#d9ffeb,#fff)}.metric-streak{background:linear-gradient(145deg,#ffe7d7,#fff)}
.profile-chart-card,.profile-radar-card{padding:18px;border:2px solid #fff;background:linear-gradient(145deg,#fff,#f5f3ff 58%,#effaff)}
.profile-block-title{display:flex;align-items:center;gap:11px;margin-bottom:10px}.profile-block-title h3{margin:0!important;font-size:17px}.profile-block-title small{display:block;color:#7180a3;font-size:11px;margin-top:3px}.section-emoji{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(140deg,#ffe3f2,#e7e3ff);font-size:24px;box-shadow:0 7px 14px rgba(124,93,216,.14)}
.chart-periods{display:flex;gap:7px;margin:10px 0 5px}.chart-period{border:1px solid #dce2fb;border-radius:12px;padding:8px 14px;background:#fff;color:#63729a;font-size:11px;font-weight:850}.chart-period.active{background:linear-gradient(100deg,#3479ff,#9257f4);color:#fff;border-color:transparent;box-shadow:0 6px 14px rgba(89,92,232,.2)}
.timeline-viewport{border-radius:16px;background:linear-gradient(180deg,#fff,#f7f8ff);border:1px solid #e8ebfb;padding:10px 6px 8px!important;scrollbar-color:#8a6df5 #e8eaff!important}
.timeline-labels{display:grid!important;grid-auto-flow:column;grid-auto-columns:48px;justify-content:initial!important;gap:0;padding-top:5px;color:#53658f!important;font-size:10px!important}
.chart-scale-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:10px;font-weight:800;color:#5d6d92}.chart-scale-legend span{display:flex;align-items:center;gap:5px}.chart-scale-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.chart-scale-legend .good{background:#17c99a}.chart-scale-legend .mid{background:#ffbd35}.chart-scale-legend .low{background:#ff657f}
.radar-shell{position:relative;padding:12px 8px 14px;border-radius:24px;background:radial-gradient(circle at 50% 42%,#f0eaff,#fff 68%);border:1px solid #e7e2ff;overflow:hidden}.radar-shell svg{width:100%;max-height:310px;display:block}.radar-bubble{position:absolute;right:10px;top:10px;padding:6px 10px;border-radius:30px;background:linear-gradient(90deg,#dff9f1,#e9e4ff);color:#5140b9;font-size:10px;font-weight:950}.radar-legend{display:grid;gap:7px;margin:6px 3px 0}.radar-role-row{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:15px;background:#fff;box-shadow:0 4px 11px rgba(85,94,171,.08)}.radar-role-dot{width:11px;height:11px;border-radius:50%;background:#8a5bff;box-shadow:0 0 0 4px #eee7ff}.radar-role-dot.default{background:#ffad43;box-shadow:0 0 0 4px #fff0d8}.radar-role-row b{display:block;font-size:12px;color:#293a70}.radar-role-row small{display:block;font-size:10px;color:#8190ad;margin-top:2px}.radar-role-row strong{font-size:14px;color:#5b46d5}.radar-empty{padding:18px;border-radius:18px;background:#f7f5ff;color:#6d6b9b;text-align:center;font-size:12px}
.admin-hero{position:relative;overflow:hidden;border-radius:30px;padding:20px;color:#17305e;background:linear-gradient(125deg,#82f0d2,#79d9ff 47%,#c3a0ff);box-shadow:0 16px 32px rgba(71,130,204,.22);margin:6px 0 14px}.admin-hero:after{content:'💫';position:absolute;right:22px;bottom:14px;font-size:65px;opacity:.5;transform:rotate(-12deg)}.admin-hero-top{display:flex;justify-content:space-between;align-items:center}.admin-kicker{font-size:9px;font-weight:1000;letter-spacing:1px;background:#ffffffb8;border-radius:30px;padding:7px 10px}.admin-hero h1{font-size:30px;margin:14px 0 4px;font-weight:1000}.admin-hero p{font-size:12px;max-width:72%;line-height:1.5;color:#37527e}.admin-hero-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.admin-hero-foot span{padding:8px 11px;border-radius:14px;background:#ffffffc9;font-size:11px;font-weight:900}.admin-hero-avatar{width:66px;height:66px;border-radius:23px;transform:rotate(4deg);box-shadow:0 8px 16px rgba(66,80,156,.2)}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 20px}.admin-kpi{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:9px;padding:12px;border:2px solid #fff;border-radius:20px;box-shadow:0 9px 20px rgba(73,86,156,.1)}.admin-kpi>span{grid-row:1/3;width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#ffffffa8;font-size:23px}.admin-kpi b{font-size:23px;color:#1c3269;line-height:1.1}.admin-kpi small{font-size:10px;color:#64759b;font-weight:800}.kpi-blue{background:linear-gradient(135deg,#d9edff,#fff)}.kpi-green{background:linear-gradient(135deg,#d9ffed,#fff)}.kpi-pink{background:linear-gradient(135deg,#ffe0f0,#fff)}.kpi-orange{background:linear-gradient(135deg,#ffebd4,#fff)}
.admin-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:18px 3px 9px}.admin-section-heading h2{font-size:18px;margin:0;color:#1c2e68}.admin-section-heading small{font-size:10px;color:#7b89a8;text-align:right}.admin-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.admin-hub{min-width:0;min-height:142px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;padding:14px;border:2px solid #fff;border-radius:22px;color:#1f326a;box-shadow:0 9px 20px rgba(68,82,155,.12);transition:transform .16s ease,box-shadow .16s ease}.admin-hub>span{font-size:27px}.admin-hub b{font-size:14px}.admin-hub small{font-size:10px;color:#68799f;line-height:1.35}.admin-hub i{font-style:normal;font-size:10px;font-weight:900;margin-top:auto;color:#5545c8}.hub-team{background:linear-gradient(140deg,#e0f2ff,#fff)}.hub-reviews{background:linear-gradient(140deg,#ffe5f2,#fff)}.hub-absence{background:linear-gradient(140deg,#fff0d8,#fff)}.hub-calendar{background:linear-gradient(140deg,#ddfff1,#fff)}.hub-emotions{background:linear-gradient(140deg,#e8e4ff,#fff)}.hub-challenge{background:linear-gradient(140deg,#fff4bd,#fff)}.hub-roles{background:linear-gradient(140deg,#e1f6ff,#fff)}.admin-hub:active{transform:scale(.985)}.admin-team-card{padding:14px}.admin-people-list{display:grid;gap:8px;max-height:65dvh;overflow-y:auto;padding:3px 4px 5px;scrollbar-width:thin}.admin-people-list .leader-person{padding:10px;border:1px solid #e8e9ff;border-radius:18px;background:linear-gradient(135deg,#fff,#f7f4ff);box-shadow:0 5px 12px rgba(78,86,165,.08)}.admin-people-list .leader-person .face{width:52px;height:52px;flex:0 0 52px}.admin-climate-card{background:linear-gradient(145deg,#fff,#f4faff)}
.reviews-toolbar{padding:17px;background:linear-gradient(135deg,#fff2f8,#f0eaff 52%,#e7fbff);border:2px solid #fff}.reviews-toolbar-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}.reviews-toolbar-title>span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:#fff;font-size:24px;box-shadow:0 6px 14px #b98bd32b}.reviews-toolbar-title b{display:block;color:#26376d}.reviews-toolbar-title small{display:block;color:#7280a3;font-size:10px;margin-top:3px}.reviews-toolbar .field{margin:5px 0 10px}.reviews-toolbar .big-btn{min-height:45px}.reviews-total{display:flex;align-items:center;gap:8px;margin-top:12px;padding:9px 12px;border-radius:15px;background:#ffffffb8;color:#344879}.reviews-total span{font-size:20px}.reviews-total b{font-size:20px}.reviews-total small{font-size:10px;color:#7886a4}.reviews-feed-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 3px 10px}.reviews-feed-heading h3{font-size:16px;margin:0;color:#1c2e68}.reviews-feed-heading span{font-size:10px;color:#7c89a8}.reviews-list{display:grid;gap:13px}.review-card{position:relative;overflow:hidden;padding:15px;border:2px solid #fff;border-radius:25px;box-shadow:0 12px 25px rgba(64,82,158,.13)}.review-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#24d0a6,#55aaff,#a16aff)}.review-positive{background:linear-gradient(135deg,#fff,#effff8 65%,#e8f7ff)}.review-neutral{background:linear-gradient(135deg,#fff,#fff9e7 65%,#f4f1ff)}.review-support{background:linear-gradient(135deg,#fff,#fff0e9 65%,#f7edff)}.review-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.review-recipient{display:flex;align-items:center;gap:11px;min-width:0}.review-avatar{width:62px;height:62px;flex:0 0 62px;border-radius:20px;display:block;overflow:hidden;background:linear-gradient(135deg,#dff8ff,#f8e4ff);border:3px solid #fff;box-shadow:0 8px 17px rgba(79,90,171,.18)}.review-avatar .illustrated-avatar{width:100%;height:100%;object-fit:cover;display:block}.review-name-block{min-width:0}.review-overline{display:block;font-size:8px;font-weight:1000;letter-spacing:1px;color:#8a78c9;margin-bottom:4px}.review-name-block b{display:block;font-size:14px;line-height:1.2;color:#1c3268;overflow-wrap:anywhere}.review-name-block small{display:block;font-size:10px;color:#7181a1;margin-top:4px}.review-rating{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 9px;border-radius:14px;background:#fff;box-shadow:0 5px 12px rgba(89,94,153,.1)}.review-rating strong{font-size:16px;color:#2e3c7c}.review-rating span{font-size:10px;color:#ffb52f;letter-spacing:1px}.review-category{display:inline-flex;align-items:center;gap:6px;margin:12px 0 8px;padding:7px 11px;border-radius:30px;background:linear-gradient(90deg,#d9fff0,#e3f4ff);border:1px solid #c9eee5;color:#087d68;font-size:11px;font-weight:950}.review-category span{font-size:14px}.review-comment{padding:11px 13px;border-radius:16px;background:#ffffffc9;color:#263a6e;font-size:13px;line-height:1.5;font-weight:650}.review-empty{color:#8995b0;font-weight:500;font-style:italic}.review-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed #d6dff2}.review-author-avatar{display:flex;align-items:center;gap:8px;min-width:0}.author-avatar{width:38px;height:38px;flex:0 0 38px;display:block;overflow:hidden;border-radius:50%;border:2px solid #fff;box-shadow:0 4px 10px rgba(75,85,155,.15)}.author-avatar .illustrated-avatar{width:100%;height:100%;object-fit:cover;display:block}.review-author-avatar small{display:block;font-size:8px;letter-spacing:.7px;color:#8994ad}.review-author-avatar b{display:block;font-size:11px;color:#334779;margin-top:2px}.review-profile-link{border:0;border-radius:12px;padding:8px 10px;background:#fff;color:#5d4bd0;font-size:10px;font-weight:900;box-shadow:0 5px 12px rgba(90,80,175,.1)}.reviews-empty{display:flex;align-items:center;flex-direction:column;gap:6px;padding:35px}.reviews-empty span{font-size:36px}.reviews-empty b{color:#334579}.reviews-empty small{color:#7b89a8}.reviews-pagination{display:flex;align-items:center;gap:8px;margin:14px 0}.reviews-pagination span{flex:1;text-align:center;font-size:11px;color:#6f7da0}.reviews-pagination button{flex:1}
@media(max-width:390px){.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metric{padding:10px 12px}.profile-metric small{font-size:10px}.profile-hero-avatar{width:94px;height:94px;flex-basis:94px}.profile-hero-main h2{font-size:18px}.review-avatar{width:54px;height:54px;flex-basis:54px}.review-profile-link{font-size:9px;padding:7px}.admin-hub{min-height:132px;padding:12px}}
@media(prefers-reduced-motion:reduce){.admin-hub,.chart-period{transition:none!important}}

.reviews-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:5px 0 10px}.reviews-filter-grid label{font-size:9px;font-weight:850;color:#7785a5}.reviews-filter-grid .field{margin:4px 0 0;padding:10px;font-size:11px}.reviews-toolbar .field{min-width:0}


/* v6.10: consistent personal climate, readable radar labels, private diary and achievement collection */
.profile-hero-card.climate-green{background:linear-gradient(125deg,#dcfff0 0%,#d5f9ed 45%,#d9f3ff 100%)!important}
.profile-hero-card.climate-yellow{background:linear-gradient(125deg,#fff2c8 0%,#ffefb5 48%,#fff8dc 100%)!important}
.profile-hero-card.climate-orange{background:linear-gradient(125deg,#ffe0c5 0%,#ffd0bd 52%,#fff0ce 100%)!important}
.profile-hero-card.climate-neutral{background:linear-gradient(125deg,#f2edff,#e8f8ff 100%)!important}
.profile-zone-pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:30px;font-weight:900}
.profile-zone-pill.zone-green{background:#c9f8df!important;color:#087b50!important}
.profile-zone-pill.zone-yellow{background:#fff0b8!important;color:#8a5a00!important}
.profile-zone-pill.zone-orange{background:#ffd8c3!important;color:#a23e1c!important}
.profile-zone-pill.zone-neutral{background:#e9e8f7!important;color:#555477!important}
.radar-shell svg{overflow:visible}
.radar-shell{overflow:visible}
.radar-shell svg text{paint-order:stroke;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
.radar-shell svg rect{stroke-width:1.2}
.profile-earned-badges{display:flex;align-items:center;gap:7px;margin-top:12px;flex-wrap:wrap}
.profile-earned-badges span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(145deg,#fff,#eee9ff);box-shadow:0 5px 12px #6d61a52b;font-size:20px}
.profile-earned-badges small{color:#52638b;font-weight:800}
.achievement-entry{margin:12px 0 16px}
.history-preview,.history-list{display:grid;gap:10px;margin:12px 0}
.history-row{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:18px;background:linear-gradient(120deg,#fff,#f2f7ff);box-shadow:0 7px 18px #344a8210}
.history-emoji{font-size:26px;flex:0 0 34px}
.history-row small,.history-entry-head small{display:block;color:#66779c;font-size:12px;margin-top:3px}
.history-row p{margin:7px 0 0;padding:8px 10px;border-radius:12px;background:#f0eaff;color:#36466d;white-space:pre-wrap;overflow-wrap:anywhere}
.history-tools{padding:14px;border-radius:20px;background:#fff;box-shadow:0 8px 22px #394b7915;margin:12px 0}
.history-periods,.achievement-filter{display:flex;gap:7px;overflow-x:auto;padding:8px 0}
.history-periods button,.achievement-filter button{border:1px solid #d8dcff;border-radius:22px;padding:9px 13px;background:#fff;color:#344578;font-weight:800;white-space:nowrap}
.history-periods button.active,.achievement-filter button.active{background:linear-gradient(110deg,#397cff,#9255ed);color:#fff;border-color:transparent}
.history-entry{padding:15px;border-radius:20px;background:#fff;box-shadow:0 8px 22px #33487915}
.history-entry-head{display:flex;align-items:center;gap:10px}
.history-entry-head strong{font-size:16px;color:#5141cb}
.history-score-track,.achievement-progress{height:8px;border-radius:10px;background:#e8ebf8;overflow:hidden;margin:10px 0}
.history-score-track span,.achievement-progress span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#ff9c55,#f5cf50,#28d6a1)}
.history-note{padding:10px 12px;border-radius:14px;background:linear-gradient(120deg,#f5efff,#effaff);margin-top:10px;color:#34466f}
.history-note p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.history-note>span{color:#8a96b0;font-size:12px}
.achievement-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:15px;border-radius:22px;background:linear-gradient(120deg,#e7f4ff,#f4eaff);margin:12px 0}
.achievement-summary div{text-align:center;display:grid;gap:4px}
.achievement-summary b{font-size:23px;color:#4639b5}
.achievement-summary small{font-size:11px;color:#53658d}
.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.achievement-card{min-width:0;padding:13px;border-radius:20px;background:linear-gradient(145deg,#fff,#f3f7ff);box-shadow:0 8px 20px #3d4c8217;border:1px solid #fff}
.achievement-card.is-unlocked{background:linear-gradient(145deg,#fff9d8,#e5fff3);border-color:#bcebd8}
.achievement-card.is-secret{background:linear-gradient(145deg,#e9e6ff,#dcecff)}
.achievement-card-top{display:flex;align-items:center;justify-content:space-between;gap:5px}
.achievement-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#fff;box-shadow:0 5px 12px #364a7c20;font-size:27px}
.achievement-rarity{font-size:9px;font-weight:900;color:#6c5ac8;text-align:right}
.achievement-card h3{font-size:14px;line-height:1.2;margin:10px 0 5px;color:#182b5d}
.achievement-card p{font-size:11px;line-height:1.45;color:#56688f;min-height:48px;margin:0}
.achievement-state{font-size:11px;font-weight:900;color:#07845e;margin-top:10px}
.secret-state{color:#6551bb}
.achievement-card>small{font-size:10px;color:#617196}
.reveal-achievement{width:100%;border:0;border-radius:14px;padding:10px 6px;margin-top:10px;background:linear-gradient(110deg,#377dff,#9253ec);color:#fff;font-size:11px;font-weight:900}
.rarity-epic .achievement-icon{box-shadow:0 0 0 2px #c8a5ff,0 6px 14px #8a54d733}
.rarity-legendary .achievement-icon,.rarity-mythic .achievement-icon{box-shadow:0 0 0 2px #ffca65,0 6px 14px #d78a2d44}
@media(max-width:420px){.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.achievement-card{padding:10px}.achievement-card p{min-height:58px}.achievement-rarity{font-size:8px}}

.person-badges{display:flex;gap:4px;margin-top:5px}.person-badges i{font-style:normal;display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#f0eaff;font-size:14px}


/* v6.11 — separated achievements, public cosmetic rewards and the smile shop */
.name-cosmetic{display:inline-grid;place-items:center;margin-left:4px;font-size:15px;vertical-align:middle}
.name-title{display:block;color:#7a64cb;font-size:10px;font-weight:800;margin-top:3px}
.avatar-blob{position:relative;isolation:isolate}
.avatar-cosmetic{position:absolute;right:-5px;bottom:-5px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 2px 8px #263d7128;font-style:normal;font-size:13px;z-index:2}
.cosmetic-frame-leaf{box-shadow:0 0 0 3px #a8e7b6,0 0 0 6px #eaffef}
.cosmetic-frame-kindness{box-shadow:0 0 0 3px #ffc4bd,0 0 0 6px #fff0ed}
.cosmetic-frame-flame{box-shadow:0 0 0 3px #ffb46d,0 0 0 6px #fff0d8}
.cosmetic-frame-mystery{box-shadow:0 0 0 3px #aa82ff,0 0 0 7px #e9ddff}
.cosmetic-frame-bridge{box-shadow:0 0 0 3px #6ecdd0,0 0 0 6px #ffe2ef}
.cosmetic-frame-sunrise{box-shadow:0 0 0 3px #ffbf8c,0 0 0 6px #fff1d9}
.cosmetic-frame-crown{box-shadow:0 0 0 3px #f5d26b,0 0 0 7px #fff5cb}
.cosmetic-frame-lilac{box-shadow:0 0 0 3px #c8b5ff,0 0 0 6px #f1eaff}
.cosmetic-frame-neon{box-shadow:0 0 0 3px #5de8d3,0 0 0 7px #d4fff7,0 0 18px #57d9d1}
.cosmetic-frame-gold{box-shadow:0 0 0 3px #f0c34c,0 0 0 7px #fff1b8,0 0 16px #edc65b}
.cosmetic-frame-galaxy{box-shadow:0 0 0 3px #9871ec,0 0 0 7px #d8c7ff,0 0 20px #8b6ae8}
.cosmetic-theme-mint{background:linear-gradient(125deg,#e0fff0,#e2f7ff)!important}
.cosmetic-theme-sunset{background:linear-gradient(125deg,#fff0d7,#ffe0e7 55%,#eee0ff)!important}
.cosmetic-theme-night{background:linear-gradient(125deg,#25264e,#464477 55%,#343d69)!important;color:#fff!important}
.cosmetic-theme-rainbow{background:linear-gradient(125deg,#fff0d9,#fce4ff 45%,#dff6ff)!important}
.cosmetic-theme-ocean{background:linear-gradient(125deg,#dff6ff,#dbe7ff)!important}
.cosmetic-theme-mauve{background:linear-gradient(125deg,#f4e6ff,#e7e4ff)!important}
.achievement-tabs,.shop-tabs{display:flex;gap:8px;margin:14px 0;overflow-x:auto;padding:2px 0}
.achievement-tabs button,.shop-tabs button{border:1px solid #d9ddff;border-radius:18px;padding:11px 14px;background:#fff;color:#3d4e80;font-weight:900;white-space:nowrap}
.achievement-tabs button.active,.shop-tabs button.active{background:linear-gradient(110deg,#397cff,#9255ed);border-color:transparent;color:#fff}
.achievement-card{display:flex;flex-direction:column}
.achievement-card p{min-height:unset;flex:1}
.achievement-reward-line{display:block;margin-top:9px;color:#168467;font-weight:850}
.achievement-card.is-secret{background:linear-gradient(145deg,#f0edff,#e9f4ff);border-style:dashed}
.mystery-open{background:linear-gradient(110deg,#302a65,#8060d8)}
.empty-achievements{padding:22px;border:1px dashed #cbd4f2;border-radius:20px;background:#fff;color:#66769b;text-align:center;line-height:1.5}
.shop-balance{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px;border-radius:23px;background:linear-gradient(110deg,#ffb13c,#f17b9a 55%,#9c62eb);color:#fff;box-shadow:0 12px 28px #8d69df25}
.shop-balance small{display:block;opacity:.9}
.shop-balance strong{display:block;font-size:24px;margin:7px 0}
.shop-balance p{margin:0;font-size:12px;max-width:320px;opacity:.92}
.shop-balance>span{font-size:44px;opacity:.8}
.shop-intro{padding:12px 14px;border-radius:18px;background:#fff;margin:12px 0;color:#273c70}
.shop-intro p{margin:5px 0 0;color:#6d7b9c;font-size:12px}
.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0}
.shop-card{display:flex;flex-direction:column;min-width:0;padding:14px;border-radius:20px;background:linear-gradient(145deg,#fff,#f3f6ff);box-shadow:0 8px 22px #3a4e7a14;border:1px solid #fff}
.shop-card.shop-owned{background:linear-gradient(145deg,#f0fff7,#eaf5ff);border-color:#c8eddb}
.shop-card-head{display:flex;align-items:center;justify-content:space-between;gap:5px}
.shop-emoji{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#fff;box-shadow:0 5px 13px #344a7c18;font-size:25px}
.shop-price{font-size:11px;font-weight:950;color:#6c51cf;text-align:right}
.shop-card h3{font-size:14px;line-height:1.25;color:#1c3265;margin:11px 0 5px}
.shop-card p{font-size:11px;line-height:1.45;color:#66769a;margin:0 0 12px;flex:1}
.shop-action{border:0;border-radius:13px;padding:10px 8px;background:linear-gradient(110deg,#3d7cff,#9255ec);color:#fff;font-size:11px;font-weight:950}
.shop-action:disabled{opacity:.45}
.shop-equip{background:linear-gradient(110deg,#10a77b,#54c99b)}
.shop-date-label{font-size:10px;font-weight:800;color:#65749a;margin:0 0 8px}
.shop-date-label input{margin-top:5px;padding:8px;font-size:12px}
.shop-requests{display:grid;gap:9px;margin:12px 0}
.shop-request{display:flex;align-items:flex-start;gap:11px;padding:13px;border-radius:17px;background:#fff;box-shadow:0 6px 18px #3a4b7712}
.shop-request>span{font-size:25px}
.shop-request small{display:block;color:#7582a0;font-size:11px;margin-top:4px}
.shop-request p{font-size:11px;color:#68789b}
.shop-admin-actions{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}
.shop-admin-actions button{border:0;border-radius:11px;padding:8px 10px;background:#e9f8f0;color:#087a52;font-weight:850;font-size:11px}
.shop-admin-actions button+button{background:#fff0ee;color:#ad4438}
.admin-reward-queue{margin-top:18px;padding:14px;border-radius:20px;background:linear-gradient(135deg,#fff,#f2f5ff)}
.admin-reward-queue h3{margin:0 0 10px}
@media(max-width:430px){.shop-grid{gap:8px}.shop-card{padding:11px}.shop-card h3{font-size:13px}.shop-card p{font-size:10px}.shop-balance strong{font-size:21px}}

.smile-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.smile-rules h3{grid-column:1/-1;margin:0 0 2px;color:#1d3267}
.smile-rules>div{display:flex;align-items:center;gap:10px;padding:11px;border-radius:15px;background:#fff;border:1px solid #e2e7ff}
.smile-rules>div b{font-size:19px;color:#5746c7;min-width:30px}
.smile-rules>div span{font-size:11px;color:#68789b}
.challenge-leaderboard{padding:15px;border-radius:21px;background:#fff;box-shadow:0 8px 22px #3b4e7914;margin:14px 0}
.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.leaderboard-heading h3{margin:0;color:#1d3267;font-size:16px}
.leaderboard-heading small{display:block;color:#7783a1;font-size:11px;margin-top:4px}
.leaderboard-heading>span{font-size:9px;color:#6c59c8;background:#f0eaff;padding:6px 8px;border-radius:20px;white-space:nowrap}
.challenge-rank-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #edf0fa}
.challenge-rank-row:last-child{border-bottom:0}
.challenge-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:9px;background:#f0edff;color:#5e4bc4}
.challenge-rank-row:nth-of-type(2) .challenge-rank{background:#fff1c9;color:#9c6a00}
.challenge-rank-row strong{font-size:12px;color:#263b70}
.challenge-rank-row small{display:block;font-size:10px;color:#7a87a3;margin-top:3px}
.challenge-points{font-size:12px;color:#5b4bc6;white-space:nowrap}
.cosmetic-theme-night h2,.cosmetic-theme-night p,.cosmetic-theme-night .profile-kicker{color:#fff!important}

/* v6.12 premium collection and visible home rewards */
.home-reward-showcase{margin:0 0 14px;padding:13px 15px;border-radius:20px;background:linear-gradient(125deg,#fff8e8,#f2eaff 52%,#e4f8ff);border:1px solid #fff;box-shadow:0 10px 24px #435c9b18}
.home-reward-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#26366b;font-size:13px}
.home-reward-title button{border:0;background:transparent;color:#6554c7;font-weight:900;font-size:10px}
.home-reward-items{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.home-reward-chip{padding:6px 9px;border-radius:12px;background:#fff;color:#5549a5;font-size:10px;font-weight:850;box-shadow:0 3px 10px #44518c12}
.home-reward-empty{font-size:11px;color:#6f7c9e;line-height:1.45}
.avatar-blob{overflow:visible}
.avatar-blob>img{position:relative;z-index:1;border-radius:inherit}
.avatar-blob.cosmetic-frame-lilac,.avatar-blob.cosmetic-frame-neon,.avatar-blob.cosmetic-frame-gold,.avatar-blob.cosmetic-frame-galaxy,.avatar-blob.cosmetic-frame-flame,.avatar-blob.cosmetic-frame-crown{border:3px solid #fff}
.cosmetic-frame-lilac{outline:3px solid #a78aff;box-shadow:0 0 0 7px #e8ddff,0 0 22px #a78aff99!important}
.cosmetic-frame-neon{outline:3px solid #51e3d4;box-shadow:0 0 0 7px #d5fff8,0 0 25px #35d7c599!important}
.cosmetic-frame-gold{outline:3px solid #f5c64c;box-shadow:0 0 0 7px #fff0b8,0 0 24px #eebd4899!important}
.cosmetic-frame-galaxy{outline:3px solid #9270ee;box-shadow:0 0 0 7px #e2d8ff,0 0 27px #8b6aebaa!important}
.cosmetic-frame-flame{outline:3px solid #ff9a55;box-shadow:0 0 0 7px #ffe0c5,0 0 22px #ff965599!important}
.cosmetic-frame-crown{outline:3px solid #e9bf43;box-shadow:0 0 0 7px #fff1bb,0 0 25px #e5bd4599!important}
.avatar-cosmetic{right:-8px;bottom:-8px;width:27px;height:27px;border:2px solid #fff;box-shadow:0 3px 12px #283b7530;font-size:15px}
.avatar-cosmetic-avatar_fx01,.avatar-cosmetic-avatar_mx01{background:linear-gradient(135deg,#fff4c7,#ffd778)}
.premium-avatar-section{margin:16px 0;padding:15px;border-radius:22px;background:linear-gradient(140deg,#fff,#f3f1ff 55%,#e9f8ff);border:1px solid #fff;box-shadow:0 9px 24px #384e8d15}
.premium-avatar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.premium-avatar-heading h3{margin:0;color:#1f3268;font-size:15px}
.premium-avatar-heading p{margin:5px 0 0;color:#7280a1;font-size:11px}
.premium-avatar-heading>span{padding:6px 9px;border-radius:20px;background:#e8e2ff;color:#604bc6;font-size:10px;font-weight:900}
.premium-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.premium-avatar-option{border-radius:18px}
.premium-avatar-option img{transition:filter .2s,transform .2s}
.premium-avatar-option.premium-locked img{filter:blur(5px) grayscale(.5) brightness(.78);transform:scale(1.06)}
.premium-avatar-option.premium-locked:after{content:'🔒';position:absolute;inset:0;display:grid;place-items:center;font-size:22px;background:#17224b22}
.premium-avatar-option .premium-lock{display:none}
.premium-avatar-option .premium-check{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#7054ee;color:#fff;font-style:normal;font-weight:950}
.premium-hint{font-size:11px;color:#7180a0;line-height:1.45;margin:9px 0 0}
.shop-avatar-art{width:64px;height:64px;object-fit:cover;border-radius:17px;border:2px solid #fff;box-shadow:0 6px 14px #33477c22}
.shop-card:has(.shop-avatar-art){background:linear-gradient(145deg,#fff8e9,#f1eaff 55%,#e5f7ff)}
.shop-card:has(.shop-avatar-art) .shop-card-head{align-items:flex-start}
@media(max-width:390px){.premium-gallery{gap:6px}.premium-avatar-option{border-radius:13px}.premium-avatar-section{padding:11px}}

/* v6.13.0 — premium cartoon avatars, team climate leaderboard and expressive feedback */
.sky-doodle.d2{display:none!important}
.leaderboard-wrap{margin:12px 0 16px;padding:15px;border-radius:25px;background:linear-gradient(145deg,#ffffff,#f1f4ff 58%,#f2ecff);border:1px solid #fff;box-shadow:0 13px 30px #344a8b18}
.leaderboard-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.leaderboard-head h3{margin:0;color:#1d326c;font-size:16px}
.leaderboard-head p{margin:5px 0 0;color:#7583a6;font-size:11px;line-height:1.35}
.leaderboard-total{flex:none;padding:7px 10px;border-radius:20px;background:#e9e5ff;color:#6550ce;font-size:10px;font-weight:950}
.leader-zone{margin-top:10px;padding:11px;border-radius:19px;border:1px solid #fff;background:#fff;box-shadow:0 6px 15px #263b7410}
.leader-zone-head{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 8px;margin-bottom:7px}
.leader-zone-head b{font-size:12px;color:#24376b}
.leader-zone-head small{grid-column:1;color:#7a87a5;font-size:10px}
.leader-zone-head strong{grid-column:2;grid-row:1/3;font-size:18px;color:#34477d}
.leader-zone-green{background:linear-gradient(120deg,#f0fff5,#fff)}
.leader-zone-yellow{background:linear-gradient(120deg,#fffbed,#fff)}
.leader-zone-red{background:linear-gradient(120deg,#fff1f2,#fff)}
.leader-zone-unrated{background:linear-gradient(120deg,#f4f6fb,#fff)}
.leader-person{display:flex;align-items:center;gap:9px;padding:8px 3px;border-top:1px solid #e9edf8}
.leader-avatar{width:42px;height:42px;flex:none;border:2px solid white;border-radius:14px;overflow:hidden;box-shadow:0 4px 10px #30457b20}
.leader-avatar img{width:100%;height:100%;object-fit:cover}
.leader-person .grow{min-width:0}
.leader-person .grow>b{display:block;color:#1c3268;font-size:12px;line-height:1.35}
.leader-person .grow>small{display:block;margin-top:2px;color:#7784a4;font-size:10px}
.leader-score{min-width:48px;text-align:right;color:#273b76;font-size:17px;font-weight:950}
.leader-score small{font-size:9px;color:#8490ac}
.you-label{font-size:9px;font-style:normal;color:#fff;background:#7257e9;border-radius:9px;padding:2px 5px;vertical-align:1px}
.feedback-score-card{overflow:hidden}
.feedback-score-hint{margin:-2px 0 12px;color:#7885a5;font-size:11px;line-height:1.4}
.feedback-score-card .score-grid{gap:6px;align-items:stretch}
.feedback-score-card .score{min-width:0;min-height:98px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 2px;border:1px solid #e6eaff;border-radius:17px;background:linear-gradient(160deg,#fff,#f3f5ff);box-shadow:0 4px 10px #40528d0c;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s}
.feedback-score-card .score:active{transform:scale(.97)}
.feedback-score-card .score.selected{border:2px solid #8762ff;background:linear-gradient(160deg,#f1eaff,#e5f3ff);box-shadow:0 6px 16px #8a69ee35}
.feedback-score-card .score-face{font-size:28px;line-height:1.25;filter:drop-shadow(0 2px 2px #25376c22)}
.feedback-score-card .score>b{font-size:10px;color:#344a86}
.feedback-score-card .score>small{font-size:8px;line-height:1.15;color:#7481a1;white-space:normal;min-height:19px}
.score-current{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:10px 12px;border-radius:14px;background:linear-gradient(100deg,#f0eaff,#e9f8ff);font-size:11px;color:#657396}
.score-current strong{color:#443b9b;font-size:12px;text-align:right}
.bottom{padding:10px 7px calc(8px + env(safe-area-inset-bottom));gap:4px}
.bottom button{min-width:0;flex:1;gap:5px;font-size:10px;font-weight:800;transition:color .15s,transform .15s}
.bottom button span{width:37px;height:34px;display:grid;place-items:center;border-radius:13px;font-size:23px;line-height:1;background:linear-gradient(145deg,#fff,#e9edff);box-shadow:0 4px 9px #31457c20, inset 0 1px 0 #fff;filter:drop-shadow(0 1px 1px #293b7222);transition:transform .15s,box-shadow .15s}
.bottom button.active span{background:linear-gradient(145deg,#fff,#e8e1ff);box-shadow:0 5px 12px #7658e83a,inset 0 1px 0 #fff;transform:translateY(-3px) scale(1.04)}
.bottom button:active span{transform:scale(.94)}
.premium-avatar-option{aspect-ratio:1/1;position:relative;overflow:hidden;background:#fff;border:2px solid #fff;box-shadow:0 5px 13px #32477e26}
.premium-avatar-option img{width:100%;height:100%;object-fit:cover;display:block}
.premium-avatar-option.premium-locked img{filter:blur(8px) brightness(.8) saturate(.7);transform:scale(1.08)}
.premium-avatar-option.premium-locked:after{content:'🔒';position:absolute;inset:0;display:grid;place-items:center;background:#25325c24;font-size:21px}
.premium-avatar-option.premium-owned img{filter:none}
.premium-avatar-option.selected{border-color:#7556ff;box-shadow:0 0 0 3px #c9baff,0 7px 17px #7556ff40}
@media(max-width:370px){.feedback-score-card .score{min-height:88px}.feedback-score-card .score-face{font-size:24px}.feedback-score-card .score>small{font-size:7px}.leaderboard-wrap{padding:11px}}

/* v6.14 unified employee identity: theme is persistent; emotional zone is a separate signal */
.person-theme-card{position:relative;isolation:isolate;border:1px solid rgba(255,255,255,.94)!important;box-shadow:0 8px 22px rgba(49,67,133,.10)!important;overflow:hidden}
.person-theme-card:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.18;z-index:0;background:radial-gradient(circle at 92% 8%,rgba(255,255,255,.95),transparent 28%),radial-gradient(circle at 8% 100%,rgba(255,255,255,.8),transparent 32%)}
.person-theme-card>*{position:relative;z-index:1}
.person-theme-card.cosmetic-theme-mint{background:linear-gradient(135deg,#dffff0 0%,#e8fff8 48%,#e1f5ff 100%)!important}
.person-theme-card.cosmetic-theme-sunset{background:linear-gradient(135deg,#fff0d2 0%,#ffe0e8 52%,#f0e2ff 100%)!important}
.person-theme-card.cosmetic-theme-night{background:linear-gradient(135deg,#28244f 0%,#45427c 55%,#303e68 100%)!important;color:#fff!important}
.person-theme-card.cosmetic-theme-rainbow{background:linear-gradient(125deg,#fff1d9 0%,#fbe4ff 44%,#dcf6ff 100%)!important}
.person-theme-card.cosmetic-theme-ocean{background:linear-gradient(135deg,#d9f7ff 0%,#dfeaff 55%,#e8f3ff 100%)!important}
.person-theme-card.cosmetic-theme-mauve{background:linear-gradient(135deg,#f5e5ff 0%,#e9e5ff 55%,#f9eafa 100%)!important}
.person-theme-card.cosmetic-theme-night,.person-theme-card.cosmetic-theme-night b,.person-theme-card.cosmetic-theme-night h2,.person-theme-card.cosmetic-theme-night h3,.person-theme-card.cosmetic-theme-night p,.person-theme-card.cosmetic-theme-night small,.person-theme-card.cosmetic-theme-night .leader-score,.person-theme-card.cosmetic-theme-night .name-title{color:#fff!important}
.person-theme-card.cosmetic-theme-night .person-zone-pill{color:#19264b!important}
.person-theme-card .person-zone-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:5px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:850;line-height:1.3;background:#fff9;border:1px solid #ffffffa8;color:#26365e}
.person-zone-pill.zone-green{background:#d8ffeb;border-color:#8ce1b6;color:#08784d}
.person-zone-pill.zone-yellow{background:#fff3c8;border-color:#f5d56d;color:#886000}
.person-zone-pill.zone-red,.person-zone-pill.zone-orange{background:#ffe0df;border-color:#ffaaa6;color:#a52b38}
.person-zone-pill.zone-neutral,.person-zone-pill.zone-unrated{background:#edf1fa;border-color:#dce4f4;color:#63708e}
.leader-score-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:0 0 auto}
.leader-score-wrap .person-zone-pill{font-size:8px;margin:0}
.person-theme-card .person-badges{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}
.person-theme-card .person-badges i{font-style:normal;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:8px;background:#ffffffc9;border:1px solid #ffffff;box-shadow:0 2px 5px #25345c18;font-size:14px}
.profile-hero-card.person-theme-card{border-radius:30px}
.profile-hero-card.person-theme-card[data-emotional-zone="green"]{border-bottom:5px solid #26c982!important}
.profile-hero-card.person-theme-card[data-emotional-zone="yellow"]{border-bottom:5px solid #efc342!important}
.profile-hero-card.person-theme-card[data-emotional-zone="orange"]{border-bottom:5px solid #f28a55!important}
.profile-hero-card.person-theme-card[data-emotional-zone="red"]{border-bottom:5px solid #e85b67!important}
.review-card.person-theme-card{padding:15px}
.staff-card.person-theme-card{padding:14px}
.premium-avatar-option.premium-locked img{filter:blur(19px) brightness(.12) grayscale(1)!important;opacity:.22!important;transform:scale(1.22)!important}
.premium-avatar-option.premium-locked:after{content:'🔒';background:rgba(20,29,66,.48)!important;backdrop-filter:blur(2px);font-size:24px!important}
.person-theme-card.cosmetic-theme-night .welcome h1,.person-theme-card.cosmetic-theme-night .welcome p,.person-theme-card.cosmetic-theme-night .sky-kicker,.person-theme-card.cosmetic-theme-night .profile-zone-pill{color:#fff!important}
.person-theme-card.cosmetic-theme-night .sky-kicker{background:#ffffff22;border-color:#ffffff55}


/* v6.14.1 — restore the established home composition and classic navigation */
/* The generic person-theme layer must never override the absolute hero portrait. */
.person-theme-card>.welcome-figure{position:absolute!important;right:10px!important;top:16px!important;z-index:3!important;display:block!important;pointer-events:none!important}
.welcome{min-height:217px!important;padding:21px 16px 14px!important}
.welcome h1{max-width:58%!important;font-size:34px!important;line-height:1.08!important;margin:22px 0 9px!important}
.welcome p{max-width:56%!important;font-size:13px!important;line-height:1.45!important}
.hero-avatar{width:144px!important;height:170px!important;border-radius:38px!important;transform:rotate(3deg)!important}
.welcome .sky-kicker{position:relative;z-index:2}
.sky-doodle.d4{display:none!important}
.home-reward-showcase{position:relative;z-index:2;margin-top:0!important}
/* Keep the emotional climate on the page background; profile theme decorates the identity card only. */
.welcome.person-theme-card{isolation:isolate}
.welcome.person-theme-card:before{opacity:.12}
/* Original five recognizable pictograms, now with restrained raised depth. */
.bottom{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important}
.bottom button{min-width:0!important;flex:initial!important;justify-content:flex-start!important;gap:4px!important;color:#98a4bf!important;font-weight:800!important}
.bottom button span{width:36px!important;height:34px!important;border-radius:12px!important;display:grid!important;place-items:center!important;font-size:23px!important;line-height:1!important;background:linear-gradient(145deg,#fff 0%,#f2f4ff 58%,#e2e8ff 100%)!important;border:1px solid #e7ebfb!important;box-shadow:0 4px 7px rgba(43,60,112,.16),inset 0 1px 0 #fff,inset 0 -2px 3px rgba(91,105,158,.08)!important;filter:none!important;transform:none!important}
.bottom button.active{color:#245afb!important}
.bottom button.active span{background:linear-gradient(145deg,#fff,#e9e5ff)!important;border-color:#d8d0ff!important;box-shadow:0 5px 11px rgba(95,83,210,.22),inset 0 1px 0 #fff,inset 0 -2px 3px rgba(95,83,210,.09)!important;transform:translateY(-2px)!important}
.bottom button:active span{transform:translateY(0) scale(.97)!important}
.profile-cosmetic-collection{margin:14px 0;padding:15px;border-radius:25px;background:linear-gradient(145deg,#fff,#f1f4ff 58%,#f4edff);border:1px solid #fff;box-shadow:0 12px 28px rgba(49,67,133,.10)}
.profile-cosmetic-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.profile-cosmetic-head h3{margin:0;color:#23366f;font-size:15px}
.profile-cosmetic-head p{margin:4px 0 0;color:#7885a5;font-size:10px;line-height:1.35}
.profile-cosmetic-head>button{border:0;background:#e9e5ff;color:#5c4bc4;border-radius:12px;padding:8px 10px;font-size:10px;font-weight:900;white-space:nowrap}
.profile-cosmetic-grid{display:grid;gap:7px}
.profile-cosmetic-item{display:flex;align-items:center;gap:9px;padding:9px;border-radius:15px;background:#fff;border:1px solid #e8edff;box-shadow:0 4px 10px rgba(45,64,120,.06);min-width:0}
.profile-cosmetic-symbol{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#fff4d8,#eee8ff);font-size:20px;box-shadow:0 3px 7px #394a8218}
.profile-cosmetic-item .grow{min-width:0}
.profile-cosmetic-item b{display:block;font-size:11px;color:#23366f;line-height:1.3}
.profile-cosmetic-item small{display:block;font-size:9px;color:#7d89a8;margin-top:2px}
.cosmetic-use{flex:none;border:0;border-radius:11px;padding:8px 9px;background:linear-gradient(100deg,#e7efff,#eee7ff);color:#4d56b9;font-size:9px;font-weight:950;max-width:108px}
.cosmetic-use.is-active{background:#e2fff0;color:#07845b}
.profile-cosmetic-empty{padding:12px;border-radius:13px;background:#fff;color:#7180a0;font-size:11px;line-height:1.45}
@media(max-width:390px){.hero-avatar{width:126px!important;height:150px!important}.welcome{min-height:205px!important}.welcome h1{font-size:30px!important;max-width:57%!important}.welcome p{max-width:55%!important}.profile-cosmetic-item{gap:7px;padding:8px}.cosmetic-use{font-size:8px;padding:7px}}


/* v6.14.2 — team grouping, classic feedback scale and avatar crops */
.leader-zone[open] .zone-expand{transform:rotate(180deg)}
.leader-zone-head{list-style:none;cursor:pointer;position:relative;padding:3px 22px 3px 0}
.leader-zone-head::-webkit-details-marker{display:none}
.leader-zone-head .leader-zone-title{font-size:12px;font-weight:900;color:#24376b}
.leader-zone-head small{display:block;grid-column:1;color:#7a87a5;font-size:10px}
.leader-zone-head strong{grid-column:2;grid-row:1/3;font-size:18px;color:#34477d}
.zone-expand{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:18px;color:#6d5bd3;transition:transform .18s}
.leader-zone-list{display:flex;flex-direction:column;gap:0;margin-top:8px;border-radius:15px;overflow:hidden;background:#fff}
.leader-zone-list .leader-person{display:flex;width:100%;min-height:64px;box-sizing:border-box;align-items:center;gap:9px;margin:0;padding:9px 7px;border:0;border-top:1px solid #e9edf8;border-radius:0;background:#fff}
.leader-zone-list .leader-person:first-child{border-top:0}
.leader-zone-list .leader-person .leader-avatar{width:42px;height:42px;flex:0 0 42px}
.leader-zone-list .leader-person .leader-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.team-scroll{max-height:none!important;overflow:visible!important;padding-right:0!important}
.team-scroll .person{display:flex!important;align-items:center;gap:12px;width:100%;min-height:76px;box-sizing:border-box;margin:9px 0!important;padding:11px 13px!important;border:1px solid #e8eaff!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f6f7ff)!important;box-shadow:0 7px 17px #33477c12!important;overflow:hidden}
.team-scroll .person .face{width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:17px!important}
.team-scroll .person .grow{min-width:0;flex:1}
.team-scroll .person .grow>b{display:block;font-size:13px;line-height:1.25}
.team-scroll .person .grow>small{display:block;margin-top:4px;font-size:11px;color:#657496}
.team-scroll .person .right{flex:0 0 auto;margin-left:5px;font-weight:750}
.feedback-score-classic .score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.feedback-score-classic .score{min-height:76px;padding:9px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #e5eaff;border-radius:17px;background:linear-gradient(160deg,#fff,#f1f4ff);box-shadow:0 4px 10px #40528d0d}
.feedback-score-classic .score-face{font-size:29px;line-height:1.2}
.feedback-score-classic .score>b{font-size:11px;color:#344a86}
.feedback-score-classic .score.selected{border:2px solid #805cff;background:linear-gradient(150deg,#f2eaff,#e4f5ff);box-shadow:0 5px 14px #8a69ee28}
.feedback-score-classic .score-current{margin-top:10px}
.shop-avatar-art{width:64px!important;height:64px!important;aspect-ratio:1/1;object-fit:cover!important;object-position:center 36%!important;border-radius:17px;display:block;flex:0 0 64px}


/* v7.0 — scrollable team list, clear reward affordability, rarity colors and unlock celebration */
.team-scroll{
 height: min(68vh,760px)!important;
 min-height: 280px!important;
 max-height: 68vh!important;
 overflow-y: scroll!important;
 overflow-x: hidden!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 justify-content:flex-start!important;
 gap:11px!important;
 padding:7px 9px 14px 4px!important;
 scrollbar-gutter:stable!important;
 scrollbar-width:auto!important;
 scrollbar-color:#8874e8 #e8edff!important;
 overscroll-behavior:contain;
}
.team-scroll::-webkit-scrollbar{width:10px}
.team-scroll::-webkit-scrollbar-track{background:#e8edff;border-radius:12px}
.team-scroll::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#735fe0,#a99bf4);border:2px solid #e8edff;border-radius:12px}
.team-scroll>.person{
 flex:0 0 auto!important;
 width:100%!important;
 min-height:72px;
 margin:0!important;
 align-self:stretch!important;
}
.leader-score{min-width:42px!important;font-variant-numeric:tabular-nums}
.leader-score small{display:none!important}
.leader-person .leader-score-wrap{display:flex;align-items:center;justify-content:flex-end;min-width:42px}
.shop-action.is-unaffordable,
.shop-action:disabled{
 opacity:1!important;
 cursor:not-allowed!important;
 color:#8189a3!important;
 background:linear-gradient(110deg,#d9deea,#cbd2e2)!important;
 box-shadow:none!important;
 filter:saturate(.45);
}
.shop-action.is-unaffordable{font-size:10px}
.profile-decoration-entry{
 width:100%;
 display:flex;
 align-items:center;
 justify-content:flex-start;
 gap:12px;
 margin:12px 0 16px;
 padding:14px 16px;
 text-align:left;
 border:1px solid #fff;
 background:linear-gradient(115deg,#e8f2ff,#f1eaff);
 color:#253a73;
 box-shadow:0 9px 22px #394b8418;
}
.decoration-entry-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:14px;background:#fff;color:#7257e8;font-size:25px;box-shadow:0 5px 13px #46568a1c}
.decoration-entry-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.decoration-entry-copy b{font-size:13px;font-weight:950}
.decoration-entry-copy small{font-size:10px;line-height:1.4;color:#68799d;font-weight:650}
.decoration-entry-arrow{font-size:21px;color:#6854d4}
.achievement-rarity{padding:5px 8px;border-radius:999px;border:1px solid transparent}
.rarity-common .achievement-rarity{color:#53718c;background:#edf4fa;border-color:#d7e4f0}
.rarity-rare .achievement-rarity{color:#087e70;background:#dcfaf2;border-color:#a7eadb}
.rarity-epic .achievement-rarity{color:#6541c8;background:#eee5ff;border-color:#d3c0ff}
.rarity-legendary .achievement-rarity{color:#a05a00;background:#fff0c9;border-color:#ffd47d}
.rarity-mythic .achievement-rarity,.rarity-secret .achievement-rarity{color:#a52e72;background:#ffe4f2;border-color:#f8b5d8}
.rarity-common .achievement-icon{box-shadow:0 0 0 1px #d7e4f0,0 5px 12px #364a7c20}
.rarity-rare .achievement-icon{box-shadow:0 0 0 2px #72d8c5,0 5px 12px #168b7624}
.rarity-epic .achievement-icon{box-shadow:0 0 0 2px #b99aff,0 5px 12px #8a54d733}
.rarity-legendary .achievement-icon{box-shadow:0 0 0 2px #ffc65c,0 5px 12px #d78a2d44}
.rarity-mythic .achievement-icon,.rarity-secret .achievement-icon{box-shadow:0 0 0 2px #ed91c2,0 5px 12px #bd4c8e33}
.achievement-toast-host{
 position:fixed;z-index:99999;top:calc(env(safe-area-inset-top,0px) + 14px);
 left:50%;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));
 display:flex;flex-direction:column;gap:9px;pointer-events:none;
}
.achievement-toast{
 display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:19px;
 background:linear-gradient(120deg,#fff,#f0f4ff 65%,#f8edff);
 border:1px solid #fff;box-shadow:0 14px 38px #263b7438;
 opacity:0;transform:translateY(-18px) scale(.97);transition:opacity .28s ease,transform .28s ease;
 pointer-events:auto;
}
.achievement-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.achievement-toast-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;background:#fff;font-size:28px;box-shadow:0 5px 15px #354b7c20}
.achievement-toast-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.achievement-toast-copy small{font-size:9px;letter-spacing:.35px;font-weight:950;color:#6652c5}
.achievement-toast-copy b{font-size:14px;color:#1c3268}
.achievement-toast-copy span{font-size:11px;color:#657598}
.achievement-toast>button{border:0;background:#e9edfa;color:#607096;border-radius:10px;width:27px;height:27px;font-size:18px}
.achievement-toast.rarity-rare{border-color:#8ce0d1}
.achievement-toast.rarity-epic{border-color:#c3a6ff}
.achievement-toast.rarity-legendary{border-color:#ffd27a}
.achievement-toast.rarity-mythic,.achievement-toast.rarity-secret{border-color:#ef9bc8}
.full-sky:after{display:none!important}
.full-sky .sky-doodle,.full-sky .v61-confetti{display:none!important}
@media(max-width:480px){
 .team-scroll{height:64vh!important;max-height:64vh!important;min-height:250px!important}
 .achievement-toast{padding:11px;border-radius:16px}
 .achievement-toast-icon{width:42px;height:42px;flex-basis:42px}
}

/* v7.0 rarity is readable at a glance on the whole achievement card */
.achievement-card.rarity-common{border-color:#dbe6f0}
.achievement-card.rarity-rare{border-color:#a7e7d8;background:linear-gradient(145deg,#f4fffc,#e8fbf5)}
.achievement-card.rarity-epic{border-color:#cbb4ff;background:linear-gradient(145deg,#fbf8ff,#f0eaff)}
.achievement-card.rarity-legendary{border-color:#ffd27b;background:linear-gradient(145deg,#fffaf0,#fff0d5)}
.achievement-card.rarity-mythic,.achievement-card.rarity-secret{border-color:#f1afd0;background:linear-gradient(145deg,#fff7fc,#fce8f3)}

/* v7.0.1 — clear department separation in the colleague directory */
.team-department-group{display:flex;flex-direction:column;gap:9px;margin:0 0 15px}
.team-department-heading{position:sticky;top:0;z-index:2;margin:0;padding:10px 12px;border-radius:12px;background:linear-gradient(100deg,#edf2ff,#f6efff);color:#344b83;font-size:13px;font-weight:950;letter-spacing:.2px;border:1px solid #e1e7fb;box-shadow:0 3px 9px #314b8510}
.team-department-group .person{margin:0!important}

/* Monthly KPI plan */
#nav.bottom { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.plan-card, .plan-controls, .plan-form { display: grid; gap: 12px; }
.plan-card h3, .plan-card h4, .plan-card p { margin: 0; }
.plan-month { text-transform: capitalize; }
.plan-group, .plan-metric, .plan-checkpoint { display: grid; gap: 7px; }
.plan-group + .plan-group { margin-top: 8px; }
.plan-metric, .plan-edit, .plan-assessment { border-top: 1px solid var(--line); padding-top: 12px; }
.plan-metric-title, .plan-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.plan-caption { font-size: 13px; }
.plan-card small { font-size: 12px; }
.plan-checkpoint { gap: 4px; padding-bottom: 4px; }
.plan-track { height: 8px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, currentColor 12%, transparent); }
.plan-track span { display: block; height: 100%; border-radius: inherit; background: currentColor; }
.plan-green { color: #168254; }
.plan-yellow { color: #946000; }
.plan-red { color: #bb364b; }
.plan-edit summary { cursor: pointer; font-weight: 700; }
.plan-edit summary small { margin-left: 6px; }
.plan-form, .plan-edit p { margin-top: 10px; }
.plan-form .field, .plan-controls .field { margin-bottom: 0; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.plan-ranking { margin: 8px 0 0; padding-left: 22px; }
.plan-ranking li { padding: 7px 0 7px 3px; }
.plan-ranking li + li { border-top: 1px solid var(--line); }
.department-editor { display: grid; gap: 12px; }
.department-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.department-form .field { margin-bottom: 0; }
