/* Reviewed November design: one responsive office, using the real account and task data. */
.fw-mobile-nav{display:none}
.freya-world-mode .fw-brand .fw-logo{background:transparent url('./assets/design-v2/brand/freya_symbol.svg') center/contain no-repeat;clip-path:none;transform:none}
.freya-world-mode .fw-room img{object-fit:contain;width:100%;height:100%}
.freya-world-mode .fw-reception img{object-fit:contain}
.freya-world-mode .fw-promptmaker{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#64348555,transparent 60%),linear-gradient(145deg,#252440,#121b34);border:1px solid #9476bd;border-radius:20px;padding:20px;text-align:center}
.freya-world-mode .fw-promptmaker h2{margin:5px 0 0;font-size:23px}
.freya-world-mode .fw-promptmaker h3{margin:0 0 8px;font-size:19px;color:#fff}
.freya-world-mode .fw-promptmaker p{font-size:13px;line-height:1.6;color:#ded4ec}
.freya-world-mode .fw-prompt-hero{display:block;width:100%;max-width:260px;height:190px;object-fit:contain;margin:0 auto}
.freya-world-mode .fw-promptmaker .fw-primary{width:100%;min-height:48px}
.freya-world-mode .fw-prompt-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0}
.freya-world-mode .fw-prompt-steps img{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.freya-world-mode .fw-prompt-steps span{font-size:10px;line-height:1.4;display:block;color:#ded4ec}
.freya-world-mode .fw-more-grid{display:grid;gap:12px;margin:22px 0}
.freya-world-mode .fw-more-grid button{display:flex;align-items:center;gap:12px;min-height:64px;text-align:left;font-size:15px;padding:14px}
.freya-world-mode .fw-more-grid img{width:26px;height:26px;filter:brightness(0) invert(1)}
.freya-world-mode .fw-more-grid svg{margin-left:auto}
.freya-world-mode .fw-briefing-art{width:82px;height:82px;object-fit:contain;float:right;margin:0 0 8px 12px}
.freya-world-mode .fw-briefing-card{display:flow-root}
.f2-builder-art{display:block;width:140px;height:110px;object-fit:contain;margin:0 auto}
.freya-world-mode .fw-chief-card.fw-v2-portrait h2{font-size:clamp(22px,2.3vw,31px)}
@media(min-width:701px){
 .freya-world-mode .fw-body{grid-template-columns:minmax(0,1fr) minmax(340px,390px)}
 .freya-world-mode .fw-mobile-team{display:block}
 .freya-world-mode .fw-mobile-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:700px){
 .freya-world-mode .fw-app{padding-bottom:calc(82px + env(safe-area-inset-bottom));min-height:100dvh}
 .freya-world-mode .fw-topbar{position:sticky;top:0;z-index:45;height:66px;min-height:66px;padding:0 16px}
 .freya-world-mode .fw-topnav{display:none}
 .freya-world-mode .fw-top-actions{margin-left:auto}
 .freya-world-mode .fw-mobile-nav{position:fixed;inset:auto 0 0;z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:8px 10px calc(9px + env(safe-area-inset-bottom));background:linear-gradient(150deg,#18213af7,#17152ff7);border-top:1px solid #8b67b7;box-shadow:0 -10px 30px #070a1c99;backdrop-filter:blur(16px)}
 .freya-world-mode .fw-mobile-nav button{border:1px solid transparent;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:51px;min-width:0;padding:6px 2px;background:transparent;color:#e4d9f4;font:inherit;font-size:10px;cursor:pointer}
 .freya-world-mode .fw-mobile-nav img{width:21px;height:21px;object-fit:contain;filter:brightness(0) invert(1)}
 .freya-world-mode .fw-mobile-nav button.is-active{color:#fff;border-color:#c6a3fb;background:linear-gradient(145deg,#a879f3,#633ac1);box-shadow:inset 0 1px #ffffff88,0 0 14px #9951df66}
 .freya-world-mode .fw-body{display:block;min-height:0}
 .freya-world-mode .fw-chief-panel{display:block;padding:16px 14px 28px;overflow:visible;border:0;max-height:none;width:100%;min-width:0}
 .freya-world-mode .fw-app .fw-map-section{display:none}
 .freya-world-mode .fw-app[data-mobile-page="office"] .fw-map-section{display:flex;flex-direction:column;border:0}
 .freya-world-mode .fw-app[data-mobile-page="office"] .fw-chief-panel{display:none}
 .freya-world-mode .fw-map-viewport{height:calc(100dvh - 250px);max-height:none;min-height:390px;width:100%;order:initial}
 .freya-world-mode .fw-map-heading{min-height:80px;padding:18px 16px 0}
 .freya-world-mode .fw-map-heading h1{font-size:23px}
 .freya-world-mode .fw-map-footer{order:initial}
 .freya-world-mode .fw-room-list{display:flex;order:initial;flex-wrap:nowrap;overflow:auto;max-width:100%;padding:10px 14px 16px}
 .freya-world-mode .fw-room-list button{flex:0 0 auto}
 .freya-world-mode .fw-chief-card.fw-v2-portrait{min-height:170px;display:flex;align-items:center;padding:18px 16px;margin-bottom:16px}
 .freya-world-mode .fw-chief-card.fw-v2-portrait>img{height:100%;width:49%;right:0;bottom:0;object-fit:cover;object-position:center}
 .freya-world-mode .fw-chief-card.fw-v2-portrait>div{padding-top:0;max-width:54%}
 .freya-world-mode .fw-chief-card.fw-v2-portrait h2{font-size:26px;line-height:1.12}
 .freya-world-mode .fw-chief-card.fw-v2-portrait p{font-size:12px}
 .freya-world-mode .fw-chief-card.fw-v2-portrait:after{background:linear-gradient(90deg,#1c2040 0%,#1c2040f0 43%,transparent 78%)}
 .freya-world-mode .fw-today{margin-bottom:18px}
 .freya-world-mode .fw-today-stat{min-height:85px}
 .freya-world-mode .fw-promptmaker{margin:18px 0}
 .freya-world-mode .f2-launcher{bottom:calc(88px + env(safe-area-inset-bottom));width:54px;height:54px;right:14px}
 .freya-world-mode .fw-mobile-team{display:block}
 .freya-world-mode .fw-app button:focus-visible,.freya-world-mode .fw-app a:focus-visible{outline:3px solid #f0ccff;outline-offset:2px}
}
@media(max-width:360px){
 .freya-world-mode .fw-chief-card.fw-v2-portrait h2{font-size:23px}
 .freya-world-mode .fw-chief-panel{padding-inline:10px}
 .freya-world-mode .fw-mobile-nav{gap:2px;padding-inline:6px}
 .freya-world-mode .fw-mobile-nav button{font-size:9px}
}


/* Profiles stay readable in both the organogram and individual departments. */
.freya-world-mode .fw-s4-member{margin-block:10px;min-width:0}
.freya-world-mode .fw-s4-member-summary{display:flex;gap:12px;align-items:center;min-height:78px;padding:12px;cursor:pointer;list-style:none}
.freya-world-mode .fw-s4-member-summary .fw-mobile-team-portrait{width:58px;height:70px;flex:0 0 58px;object-fit:contain;border-radius:10px}
.freya-world-mode .fw-s4-member-detail{padding:12px 16px}
.freya-world-mode .fw-s4-member-detail p,.freya-world-mode .fw-s4-member-detail dd{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.freya-world-mode .fw-s4-member-detail dl>div{display:block;margin-block:12px}
.freya-world-mode .fw-s4-member-detail dt{font-size:12px;font-weight:700;margin-bottom:4px}
.freya-world-mode .fw-s4-member-detail dd{margin:0}
.freya-world-mode .fw-s4-member-heading small{font-size:12px;line-height:1.5}
.freya-world-mode .fw-s4-member{display:block;padding:0;overflow:hidden;border:1px solid #3c5385;border-radius:13px;background:#182a49}
.freya-world-mode .fw-s4-member[open]{border-color:#9476e7}
.freya-world-mode .fw-s4-member-heading{min-width:0;flex:1}
.freya-world-mode .fw-s4-member-heading strong,.freya-world-mode .fw-s4-member-heading small{display:block;color:#eef3ff;overflow-wrap:anywhere}
.freya-world-mode .fw-s4-member-heading small{color:#c2d2f5;margin-top:4px}
.freya-world-mode .fw-s4-member-detail{border-top:1px solid #55639c78;color:#eef3ff}
.freya-world-mode .fw-s4-member-detail dt{color:#b4c9e6}
.freya-world-mode .fw-s4-member-summary:focus-visible{outline:3px solid #b7a2ff;outline-offset:-3px;border-radius:12px}

/* Mobile refinement: compact reception, quiet surfaces and one clear next action. */
.freya-world-mode .fw-cleanup{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 0;margin:0 0 16px;border-bottom:1px solid #77668b45}
.freya-world-mode .fw-cleanup>div{flex:1;min-width:160px}
.freya-world-mode .fw-cleanup strong{font-size:13px;color:#eee5fb}
.freya-world-mode .fw-cleanup p{margin:4px 0 0;font-size:12px;line-height:1.45;color:#bdb4d2}
.freya-world-mode .fw-cleanup .fw-button{min-height:44px;font-size:12px;padding:10px 12px}
.freya-world-mode .fw-cleanup .fw-cleanup-status{flex-basis:100%;overflow-wrap:anywhere}
.freya-world-mode .fw-cleanup-status:empty{display:none}
.freya-world-mode .fw-home-compose,.freya-world-mode .fw-home-tools{border:1px solid #77668b55;border-radius:15px;margin:12px 0;background:#19213a}
.freya-world-mode .fw-home-compose>summary,.freya-world-mode .fw-home-tools>summary{padding:15px;cursor:pointer;font-weight:600;font-size:14px;color:#eee6fa;min-height:48px}
.freya-world-mode .fw-home-compose .fw-composer,.freya-world-mode .fw-home-tools .fw-promptmaker{margin:0;border:0;box-shadow:none}
.freya-world-mode .fw-today-stat--queued{background:linear-gradient(140deg,#303756,#242a43);border-color:#727d9c}
.freya-world-mode .fw-clean-state{font-size:13px;color:#bde6d7;line-height:1.5;margin:14px 0 0}
.freya-world-mode .fw-today-note summary{cursor:pointer;min-height:32px;padding-top:8px}
@media(max-width:700px){
 .freya-world-mode .fw-app{background:radial-gradient(ellipse at 90% 0,#30214366,transparent 40%),#11172b;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 .freya-world-mode .fw-topbar{height:60px;min-height:60px;padding-inline:16px;box-shadow:none;border-color:#81709f44;padding-right:64px}
 .freya-world-mode .fw-brand{font-size:21px;letter-spacing:1.2px}
 .freya-world-mode .fw-logo{width:25px;height:25px}
 .freya-world-mode .fw-chief-panel{padding:14px 16px 24px;background:transparent}
 .freya-world-mode .fw-chief-card.fw-v2-portrait{min-height:156px;padding:18px;margin:0 0 14px;border-radius:20px;border-color:#8c73ad88;background:linear-gradient(125deg,#292341,#1c223a);box-shadow:0 8px 24px #070a182e;overflow:hidden}
 .freya-world-mode .fw-chief-card.fw-v2-portrait>div{max-width:59%;padding:0;position:relative;z-index:2}
 .freya-world-mode .fw-chief-card.fw-v2-portrait>img{width:44%;height:100%;right:0;bottom:0;object-fit:cover;object-position:50% 24%;filter:none}
 .freya-world-mode .fw-chief-card.fw-v2-portrait:after{background:linear-gradient(90deg,#24213d 0%,#24213def 47%,transparent 72%)}
 .freya-world-mode .fw-chief-card.fw-v2-portrait h2{font-size:clamp(23px,6vw,28px);line-height:1.14;letter-spacing:-.04em;margin:7px 0}
 .freya-world-mode .fw-chief-card.fw-v2-portrait h2 small{font-size:12px;margin-top:8px;font-weight:500}
 .freya-world-mode .fw-chief-card.fw-v2-portrait p{font-size:12px;line-height:1.5;max-width:22ch;margin:9px 0 0;color:#c8bfd8}
 .freya-world-mode .fw-chief-card.fw-v2-portrait .fw-eyebrow{font-size:9px;letter-spacing:1.8px;color:#ceb3ed}
 .freya-world-mode .fw-today{padding:16px;margin:0 0 4px;border-radius:18px;border-color:#76658f66;background:linear-gradient(145deg,#22233d,#19243a);box-shadow:0 6px 20px #06091833}
 .freya-world-mode .fw-today:before{opacity:.06;width:140px;height:140px}
 .freya-world-mode .fw-today .fw-section-heading{gap:5px;margin-bottom:14px;align-items:flex-start;flex-direction:column}
 .freya-world-mode .fw-today h2{font-size:19px;line-height:1.3;letter-spacing:-.025em}
 .freya-world-mode .fw-today .fw-section-heading>span{font-size:11px;color:#b8b1c9}
 .freya-world-mode .fw-today-grid{gap:8px}
 .freya-world-mode .fw-today-stat{min-height:65px;padding:12px;border-radius:12px;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;border-color:#9281af55;box-shadow:none;background:#292943}
 .freya-world-mode .fw-today-stat strong{font-size:27px;min-width:30px;font-weight:700;letter-spacing:-1px}
 .freya-world-mode .fw-today-stat span{font-size:11px;color:#dfd8ea;line-height:1.35}
 .freya-world-mode .fw-today-stat--active{background:#22344c}.freya-world-mode .fw-today-stat--blocked{background:#3a2c3c}.freya-world-mode .fw-today-stat--queued{background:#2a3044}
 .freya-world-mode .fw-today-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
 .freya-world-mode .fw-today-actions button{min-height:44px;padding:10px 8px;font-size:12px;background:#29334f;border:1px solid #77698e77;box-shadow:none;border-radius:11px}
 .freya-world-mode .fw-today-actions button:first-child{grid-column:1/-1;background:linear-gradient(110deg,#704bc4,#8554ca);border-color:#ae8ddd88;box-shadow:inset 0 1px #d8bafa33}
 .freya-world-mode .fw-today-actions button:last-child{grid-column:auto;background:#29334f;border-color:#77698e77;box-shadow:none}
 .freya-world-mode .fw-today-note{font-size:10px;line-height:1.5;color:#afa7c0;margin:8px 0 0}
 .freya-world-mode .fw-mobile-nav{padding:7px 12px calc(8px + env(safe-area-inset-bottom));gap:8px;background:#161c30f2;border-color:#77668b66;box-shadow:0 -4px 20px #080d2144}
 .freya-world-mode .fw-mobile-nav button{min-height:49px;border-radius:12px;font-size:10px;color:#afa9c2;gap:5px}
 .freya-world-mode .fw-mobile-nav button.is-active{background:linear-gradient(145deg,#6844a6,#53338d);border-color:#a98bd177;box-shadow:inset 0 1px #c8a8ed22;color:#fff}
 .freya-world-mode .fw-mobile-nav img{width:20px;height:20px}
 .freya-world-mode .fw-app[data-mobile-page="today"] .fw-home-team{display:none}
 .freya-world-mode .fw-desk-numbers{gap:8px}.freya-world-mode .fw-approval-card{border-color:#77668b66;box-shadow:none;border-radius:14px}
 /* The existing Freya entry stays accessible in the header, clear of all content. */
 .freya-world-mode .f2-launcher{top:10px;bottom:auto;right:16px;width:39px;height:39px;border-width:1px;border-color:#aa8bd6;box-shadow:0 2px 8px #080b2433;z-index:50}
 .freya-world-mode .f2-launcher .f2-dot{width:15px;height:15px;font-size:9px;border-width:1px;right:-2px;bottom:-2px}
}
@media(max-width:360px){
 .freya-world-mode .fw-chief-panel{padding-inline:12px}
 .freya-world-mode .fw-chief-card.fw-v2-portrait{padding:15px;min-height:154px}
 .freya-world-mode .fw-chief-card.fw-v2-portrait h2{font-size:23px}
 .freya-world-mode .fw-today-stat{gap:6px;padding:10px}.freya-world-mode .fw-today-stat span{font-size:10px}
}

/* Direct chat: one scrolling conversation and a composer that stays in view. */
.f2-sheet.f2-chat-sheet{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;overflow:hidden;padding:0;width:min(100%,480px);border-radius:0;background:#121a2e}
.f2-chat-sheet>.f2-head{flex:0 0 auto;padding:14px 16px;border-bottom:1px solid #73618e55;gap:10px;background:#1d2039}
.f2-chat-sheet>.f2-head>img{width:40px;height:40px;border-radius:12px}
.f2-chat-sheet .f2-head h2{font-size:20px;line-height:1.2}.f2-chat-sheet .f2-head p{font-size:12px;margin:3px 0 0}
.f2-chat-sheet .f2-close{align-self:center;min-width:40px;min-height:40px;padding:4px;font-size:25px;line-height:1;border:0;background:transparent}
.f2-chat-sheet>.f2-note[hidden]{display:none}
.f2-chat{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:0;flex:1;min-height:0;overflow:hidden}
.f2-chat .f2-convo-history,.f2-chat .f2-convo-settings{margin:0;padding:0 16px;border-bottom:1px solid #73618e33;max-height:32dvh;overflow:auto;background:#171e33}
.f2-chat summary{cursor:pointer;color:#c3b7db;font-size:12px;line-height:1.5;padding:9px 0;min-height:36px}
.f2-chat .f2-convo-toolbar{margin:0 0 12px;gap:8px}
.f2-chat .f2-convo-toolbar button{font-size:12px;padding:10px;min-height:40px;background:#28334d;border:1px solid #77658e66;border-radius:10px}
.f2-chat .f2-convo-toolbar select,.f2-chat .f2-convo-settings>select{width:100%;font:inherit;font-size:13px;min-height:42px;padding:10px;color:#f3effa;background:#202c43;border:1px solid #77658e66;border-radius:10px;margin:0 0 8px}
.f2-chat .f2-local-consent{font-size:12px;line-height:1.5;padding:10px;margin:0 0 8px;background:#202c43;border-color:#77658e55}
.f2-chat .f2-local-model-note{font-size:11px;margin:8px 0 12px;line-height:1.5}
.f2-chat .f2-convo-messages{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;margin:0;padding:16px;display:flex;flex-direction:column;gap:14px;background:transparent;border:0;border-radius:0}
.f2-chat .f2-chat-empty{margin:auto 0;text-align:center;padding:30px 12px;color:#c2bad1;line-height:1.5}
.f2-chat-empty strong{font-size:20px;font-weight:650;color:#f4effa}.f2-chat-empty p{font-size:13px;margin:10px 0}
.f2-chat .f2-convo-bubble{flex:0 0 auto;max-width:92%;padding:12px 14px;margin:0;border-radius:16px;overflow-wrap:anywhere;line-height:1.55}
.f2-chat .f2-convo-bubble--user{align-self:flex-end;background:#3b315c;border:1px solid #9380b333;border-bottom-right-radius:5px}
.f2-chat .f2-convo-bubble--assistant{align-self:flex-start;background:#202d44;border:1px solid #63799833;border-bottom-left-radius:5px}
.f2-chat .f2-convo-bubble p{font-size:14px;line-height:1.6;margin:5px 0 0}.f2-chat .f2-convo-bubble strong{font-size:11px;color:#bcb0d1}
.f2-chat .f2-message-options{margin-top:5px}.f2-chat .f2-message-options summary{font-size:10px;padding:4px 0;min-height:24px;color:#b6a9ce}
.f2-chat .f2-message-options button{font-size:11px;padding:8px;min-height:36px;background:#29364e;box-shadow:none}
.f2-chat .f2-convo-send{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin:0;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #73618e55;background:#171e33}
.f2-chat .f2-convo-send textarea{width:100%;min-height:48px;height:52px;max-height:140px;resize:none;margin:0;padding:12px;font-size:16px;line-height:1.5;box-sizing:border-box;border-radius:15px;background:#202c43;border:1px solid #81709c77}
.f2-chat .f2-convo-send>button{width:auto;min-height:48px;padding:10px 14px;border-radius:14px;font-size:13px;text-align:center;background:#7850bb;border:1px solid #a989d6;box-shadow:none}
.f2-chat .f2-convo-send>.f2-intake-status{grid-column:1/-1;font-size:12px;line-height:1.45;margin:0;padding:0;border:0;background:transparent;color:#cfc3df;overflow-wrap:anywhere}
.f2-chat .f2-intake-status:empty{display:none}
.f2-chat-sheet:focus-visible{outline:2px solid #bea0ed;outline-offset:-2px}
@media(max-width:700px){.f2-overlay:has(.f2-chat-sheet){align-items:stretch}.f2-sheet.f2-chat-sheet{width:100%;border:0}.f2-chat .f2-convo-bubble{max-width:94%}}
