:root{--paper:#f7f6ef;--ink:#354437;--muted:#8b9285;--line:#e5e7dc;--green:#587b60;--sage:#eef1e7;--white:#fffef9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Noto Sans KR',-apple-system,BlinkMacSystemFont,sans-serif;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b9cba4;outline-offset:4px}[hidden]{display:none!important}.topbar{height:90px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fbfbf5}.brand{display:flex;gap:12px;align-items:center}.brand-icon{font-size:34px;background:#e8eedf;border-radius:15px;width:49px;height:49px;text-align:center;color:#668260}.brand strong{display:block;font-size:19px;letter-spacing:-.7px}.brand small{display:block;font-size:10px;letter-spacing:.2px;color:var(--muted);margin-top:4px}.header-right{display:flex;gap:20px;align-items:center}.connection{font-size:11px;display:flex;align-items:center;gap:7px}.connection:before,.tiny-dot{content:'';width:6px;height:6px;border-radius:50%;background:#82a16e;display:inline-block}.connection.disconnected:before{background:#c39c68}.engine{font-size:11px;color:#6f7d6c}.engine i{font-style:normal;margin-left:5px;color:#9aa394}.icon-button{font-size:21px;color:#84907b;border:1px solid var(--line);border-radius:9px;width:32px;height:32px;line-height:25px}.app{max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 290px;min-height:calc(100vh - 90px)}.workspace{padding:32px 32px 14px 40px;min-width:0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:2.2px;color:#94a087;font-weight:600}h1{font-size:28px;letter-spacing:-1.2px;font-weight:600;margin:7px 0 6px}.workspace-heading p{font-size:11px;color:#90988a;margin:0}.primary{border-radius:9px;background:#5a775a;color:#fffef6;padding:12px 18px;font-size:12px;box-shadow:0 3px 6px #41563c0d}.primary:hover{background:#486747}.viewbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.viewbar nav{display:flex;gap:22px}.view-tab{padding:0 2px 13px;color:#9b9f93;font-size:12px}.view-tab.selected{color:#4d6849;border-bottom:2px solid #71876a;font-weight:600}.quiet{color:#a0a696;font-size:10px;display:flex;gap:6px;align-items:center}.tiny-dot{width:4px;height:4px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.filter{padding:7px 12px;background:#eeefe6;border:1px solid transparent;border-radius:7px;font-size:10px;color:#909783}.filter.active{background:#e5ecdd;color:#4d6845;border-color:#d9e2cc}.filter .filter-dot{display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%}.office{position:relative;min-height:540px;height:calc(100vh - 335px);max-height:850px;border:1px solid #e8e7db;border-radius:15px;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#f3f0df,#e9e9d8 70%,#e5e7d7);isolation:isolate}.office-art{position:absolute;inset:0;background:url('/assets/office.png') center center/cover no-repeat;opacity:.92;z-index:-2}.office:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#f1f0e234,transparent 30%,#e8e8d51a 80%,#ececdd99)}.office-mood{position:absolute;top:17px;left:22px;color:#818d70;letter-spacing:1.7px;font-size:8px}.office-mood span{font-size:17px;margin-right:7px}.office-teams{position:absolute;inset:45px 20px 35px;display:grid;grid-template-columns:.9fr 1.25fr .9fr;grid-template-rows:1fr 1fr;gap:15px 17px;align-items:center}.team-island{min-height:155px;border-radius:24px;padding:12px 8px 8px;position:relative;text-align:center;background:#faf9eb50;box-shadow:inset 0 0 0 1px #fffff140;backdrop-filter:blur(1px);transition:opacity .2s}.team-island[data-team="company"]{grid-column:2;grid-row:1 / 3;min-height:300px;margin-top:25px}.team-island[data-team="hq"]{align-self:start;margin-top:25px}.team-island[data-team="bombom"]{align-self:start;margin-top:35px}.team-island[data-team="think"]{align-self:end;margin-bottom:12px}.team-island[data-team="study"]{grid-column:3;grid-row:2;align-self:end;margin-bottom:100px}.team-island[data-team="media"]{grid-column:3;grid-row:2;align-self:end;margin-bottom:-2px;min-height:110px}.team-island.dimmed{opacity:.18;pointer-events:none}.team-sign{display:inline-flex;align-items:center;gap:5px;color:#58654f;font-size:10px;font-weight:600;letter-spacing:.1px;margin-bottom:12px;background:#fffff3eb;box-shadow:0 3px 8px #535c3f0a;padding:5px 9px;border-radius:5px}.team-sign:before{content:'';height:5px;width:5px;border-radius:50%;background:var(--team-color)}.staff-cluster{display:flex;gap:10px 7px;flex-wrap:wrap;justify-content:center}.staff{position:relative;width:68px;min-height:83px;padding:0 0 5px;display:flex;align-items:center;flex-direction:column;transition:transform .2s}.staff:hover{transform:translateY(-4px)}.staff:before{content:'';position:absolute;top:30px;width:61px;height:25px;background:linear-gradient(165deg,#d4b58d,#ba956e);border-radius:6px;transform:skewY(-5deg);box-shadow:0 10px 0 -5px #98795a,2px 11px 6px #6a654b20;z-index:-1}.animal{font-size:32px;line-height:40px;filter:drop-shadow(0 4px 2px #70604420)}.staff-name{font-size:10px;color:#3f513a;padding:2px 6px;border-radius:5px;background:#fffff2e8;box-shadow:0 1px 4px #615f3b0c;margin-top:8px;white-space:nowrap}.staff-state{display:flex;align-items:center;gap:3px;font-size:8px;color:#81866f;margin-top:3px;background:#f8f8eab8;border-radius:4px;padding:1px 4px;white-space:nowrap}.state-dot{width:4px;height:4px;border-radius:50%;background:#a0aa8d;flex-shrink:0}.running .state-dot{background:#629558}.running .animal{animation:working 1.5s ease-in-out infinite}.waiting .state-dot{background:#d0aa56}.error .state-dot{background:#c17a64}.account-pending .animal{filter:grayscale(.6);opacity:.7}.account-pending .staff-state{color:#959481}.office-bottom{position:absolute;bottom:14px;left:21px;right:21px;display:flex;justify-content:space-between;color:#8c957d;font-size:9px}.workspace-footer{display:flex;justify-content:space-between;color:#a2a895;font-size:9px;padding:12px 2px}.sidebar{border-left:1px solid var(--line);padding:29px 21px 16px;background:#fafbf4;display:flex;flex-direction:column;gap:25px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}h2{margin:0;font-size:13px;font-weight:600}.count{font-size:10px;color:#8a987c;background:#eaf0e1;border-radius:5px;padding:3px 7px}.roster{display:flex;flex-direction:column;gap:13px;max-height:46vh;overflow:auto;scrollbar-width:thin}.roster-team-head{display:flex;justify-content:space-between;font-size:10px;color:#818d75;margin-bottom:7px}.roster-members{display:flex;flex-wrap:wrap;gap:6px}.roster-member{border:1px solid #e7ebdd;border-radius:7px;background:#fffef9;display:flex;gap:5px;align-items:center;padding:5px 7px;font-size:10px}.roster-member:hover{border-color:#adbd9b}.roster-member span:first-child{font-size:15px}.roster-member.account-pending{opacity:.55}.activity-section{border-top:1px solid var(--line);padding-top:22px;flex:1;min-height:120px}.live-label{font-size:8px;letter-spacing:1px;color:#94a584}.activity{max-height:23vh;overflow:auto;scrollbar-width:thin}.activity-item{display:flex;gap:9px;margin-bottom:15px}.activity-animal{font-size:20px;background:#edf0e3;width:29px;height:29px;border-radius:9px;text-align:center;line-height:29px;flex-shrink:0}.activity-text{font-size:10px;line-height:1.7;min-width:0;overflow-wrap:anywhere}.activity-text small{display:block;font-size:8px;color:#a3aa98}.activity-text b{font-weight:500}.empty{font-size:10px;color:#9ba48f;line-height:1.9;padding:12px 0}.side-note{color:#a8af9c;font-size:8px;line-height:2;border-top:1px solid var(--line);padding-top:14px}.side-note span{display:block;font-size:7px;letter-spacing:1.2px}.warning{background:#fff3dc;border:1px solid #eadabe;color:#93763e;border-radius:7px;padding:10px 12px;font-size:11px;margin-bottom:12px}.organization{min-height:540px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.org-team{background:#fffef8;border:1px solid var(--line);border-radius:12px;padding:19px}.org-team h3{font-size:12px;margin:0 0 14px}.org-member{display:flex;text-align:left;gap:10px;align-items:center;width:100%;padding:8px 0;border-top:1px solid #eff0e7}.org-member .animal{font-size:25px}.org-member .org-name{display:block;font-size:11px}.org-member small{color:#929a86;font-size:9px}.org-member .org-status{margin-left:auto;font-size:9px;color:#8d977e}.panel-backdrop{position:fixed;inset:0;background:#29372b3b;z-index:20;backdrop-filter:blur(3px)}.task-panel{position:fixed;right:0;top:0;bottom:0;width:440px;max-width:100%;background:#fafbf5;box-shadow:-10px 0 60px #29392b22;z-index:21;overflow:auto;padding:30px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.panel-head h2{font-size:21px;margin-top:7px}label{display:block;font-size:11px;margin:17px 0 8px;color:#6d7c61}input,select,textarea{width:100%;border:1px solid #dfe5d5;border-radius:8px;background:#fffef9;color:#46543c;padding:11px;outline:none}input:focus,select:focus,textarea:focus{border-color:#8fa47b;box-shadow:0 0 0 3px #c8d7b533}textarea{resize:vertical;line-height:1.8}.agent-detail{font-size:10px;color:#8a977b;line-height:1.8;margin-top:8px}.policy-note{background:#edf0e3;color:#7d886f;font-size:10px;line-height:1.8;padding:10px 12px;border-radius:8px}.fine{font-size:9px;line-height:1.8;color:#939d86}#submit-task{width:100%;margin-top:12px}.form-message{font-size:11px;line-height:1.8;color:#9b754e}.task-history-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.task-history-heading h3{font-size:12px}.task-history-heading span{font-size:9px;color:#a0a892}.task-card{padding:13px;border:1px solid #e2e7d8;background:#fffef8;border-radius:9px;margin-top:9px}.task-card-head{display:flex;justify-content:space-between;gap:8px;font-size:11px}.task-status{font-size:9px;white-space:nowrap;color:#8b9b79}.task-card pre{font-family:inherit;font-size:10px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#78836a;max-height:250px;overflow:auto}.task-card .cancel{font-size:10px;color:#ae8164;margin-top:8px}.artifact{display:block;overflow-wrap:anywhere;font-size:10px;color:#758567;margin-top:8px}.settings{position:fixed;right:30px;top:78px;width:330px;background:#fffef8;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 50px #4f5a3520;z-index:25;padding:20px}.settings p,.settings dl{font-size:11px;color:#87937b;line-height:1.8}.settings dt{float:left;clear:left}.settings dd{text-align:right;margin:6px 0;font-size:10px;color:#a29c85}.desktop-toolbar{display:none}@keyframes working{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1600px){.office-teams{inset:55px 40px 45px;gap:30px}.team-island{padding:20px 12px}.staff{width:80px;min-height:100px}.animal{font-size:38px}.staff:before{width:70px;top:35px}.staff-name{margin-top:13px}}@media(max-width:1150px){.topbar{height:75px;padding:0 25px}.header-right{gap:11px}.brand strong{font-size:16px}.app{grid-template-columns:minmax(0,1fr) 240px;min-height:calc(100vh - 75px)}.workspace{padding:23px 20px}.sidebar{padding:23px 16px}.workspace-heading{margin-bottom:23px}h1{font-size:24px}.office{height:calc(100vh - 310px);min-height:445px}.office-teams{inset:37px 8px 30px;gap:8px;grid-template-columns:.9fr 1.2fr .9fr}.staff{width:52px;min-height:75px}.staff:before{width:48px;top:29px;height:21px}.animal{font-size:28px}.team-island{padding:9px 3px;min-height:140px}.staff-cluster{gap:6px 2px}.team-island[data-team="company"]{min-height:280px}.team-sign{font-size:9px;padding:5px 6px}.team-island[data-team="study"]{margin-bottom:100px}.office-mood{font-size:6px}.staff-name{font-size:9px}.staff-state{font-size:7px}.quiet{font-size:8px}.filter{font-size:9px;padding:6px 9px}.roster{max-height:41vh}.activity{max-height:20vh}.workspace-footer{font-size:8px}}@media(max-width:800px){.app{display:block}.sidebar{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.side-note{display:none}.header-right .engine{display:none}.workspace{padding:22px 14px}.topbar{padding:0 15px}.office{min-height:500px}.workspace-heading .primary{padding:10px;font-size:10px}.workspace-heading p{font-size:9px}h1{font-size:22px}.organization{grid-template-columns:1fr}.quiet{display:none}.office-teams{grid-template-columns:1fr 1.2fr 1fr}.activity-section{padding-top:0;border-top:0}.office-mood{letter-spacing:1px}.brand small{font-size:8px}}body.desktop .topbar,body.desktop .workspace-heading,body.desktop .viewbar,body.desktop .filters,body.desktop .workspace-footer,body.desktop .sidebar{display:none}body.desktop{background:#f0f0e1}body.desktop .app{display:block;max-width:none;min-height:100vh}body.desktop .workspace{padding:0}body.desktop .office{height:100vh;max-height:none;min-height:450px;border:0;border-radius:0}body.desktop .office-teams{inset:7% 5% 6%;gap:3%}body.desktop .desktop-toolbar{display:flex;position:fixed;bottom:12px;left:50%;transform:translateX(-50%);align-items:center;gap:15px;padding:9px 15px;border-radius:12px;background:#fffef2e8;box-shadow:0 3px 25px #5d684229;font-size:10px;z-index:15;white-space:nowrap;backdrop-filter:blur(10px)}body.desktop .desktop-toolbar button,body.desktop .desktop-toolbar a{font-size:9px;color:#7a8b68}body.desktop .office-bottom{bottom:55px}body.desktop .warning{position:absolute;top:12px;left:20px;right:20px;z-index:10}
/* Reserve separate rows for the two right-hand teams at every window size. */
.office-teams{grid-template-rows:repeat(3,minmax(0,1fr))}
.team-island[data-team="hq"]{grid-column:1;grid-row:1;align-self:center;margin:0;min-height:0}
.team-island[data-team="bombom"]{grid-column:3;grid-row:1;align-self:center;margin:0;min-height:0}
.team-island[data-team="company"]{grid-column:2;grid-row:1 / 4;align-self:center;margin:0}
.team-island[data-team="think"]{grid-column:1;grid-row:2 / 4;align-self:end;margin:0;min-height:0}
.team-island[data-team="study"]{grid-column:3;grid-row:2;align-self:center;margin:0;min-height:0}
.team-island[data-team="media"]{grid-column:3;grid-row:3;align-self:center;margin:0;min-height:0}

/* Dedicated animal art: 5 × 4 atlas, no generated text in labels. */
.animal.sprite{display:block;width:62px;height:64px;flex-shrink:0;background-image:url('/assets/staff.png');background-size:500% 400%;background-repeat:no-repeat;font-size:0;line-height:0;filter:drop-shadow(0 3px 2px #66513b20)}
.staff:before{top:47px;height:22px}.staff-name{margin-top:4px}.staff{min-height:99px}.staff-cluster{gap:8px 5px}.team-island{padding-top:10px;padding-bottom:9px}.org-member .animal.sprite{width:40px;height:41px}
@media(min-width:1400px){.staff .animal.sprite{width:78px;height:80px}.staff{width:86px;min-height:115px}.staff:before{top:62px;width:75px}.staff-name{margin-top:4px}}
@media(max-width:1150px){.staff .animal.sprite{width:48px;height:49px}.staff{width:52px;min-height:84px}.staff:before{top:37px;width:47px}.staff-cluster{gap:5px 2px}}

.team-island[data-team="company"] .staff-cluster{display:grid;grid-template-columns:repeat(3,max-content);justify-content:center;gap:12px 7px}

/* Attendance follows actual office-launched CLI process lifecycle. */
.staff.idle .animal{filter:saturate(.72);opacity:.83}.staff.idle .state-dot{background:#a5a99f}.staff.queued .state-dot{background:#d5aa5f}.staff.queued .staff-state{color:#9b7938}.staff.running .staff-state{background:#e5f1dd;color:#47733e}.staff.running .state-dot{width:5px;height:5px;box-shadow:0 0 0 3px #7cb46e22}
/* Each member belongs to a fixed desk in the office image coordinate system. */
.office{background:#f1eadb;min-height:400px}
.office-scene{position:absolute;width:100%;aspect-ratio:1.6;left:50%;top:50%;transform:translate(-50%,-50%);container-type:inline-size}
.office-art{inset:0;background-image:url('/assets/office-front.png'),url('/assets/office.png');background-size:100% 100%;opacity:1;z-index:0}
.office:before{display:none}
.office-mood{top:13px;z-index:3;font-size:7px;pointer-events:none}
.office-teams,body.desktop .office-teams{display:block;position:absolute;inset:0;gap:0}
.staff.seat{position:absolute;width:5.8%;height:9.5%;min-height:0;padding:0;display:block;transform:translate(-50%,-50%);overflow:visible;isolation:isolate;transition:opacity .25s}
.staff.seat:hover{transform:translate(-50%,-50%);z-index:150!important}
.staff.seat:before{display:none}
.staff.seat .seated-avatar{display:block;position:absolute;left:0;right:0;bottom:19%;height:100%;overflow:hidden;clip-path:inset(0 0 23% 0);z-index:1}
.staff.seat .animal.sprite{width:100%;height:100%;max-height:none;position:absolute;left:0;top:0;animation:none!important;filter:drop-shadow(0 2px 2px #51412633);transition:opacity .4s}
.staff.seat .desk-front{position:absolute;left:-3%;right:-3%;top:52%;height:24%;background:linear-gradient(#d7b389 0 13%,#b88e64 14% 20%,#c59e74 21%);box-shadow:0 2px 3px #65462226;border-radius:2px 2px 3px 3px;z-index:2;pointer-events:none}
.staff.seat .desk-front:before{content:'';position:absolute;left:7%;right:7%;top:-11%;height:14%;background:#e9cfab;border-radius:2px}
.staff.seat .staff-name{position:absolute;z-index:3;top:79%;left:50%;transform:translateX(-50%);margin:0;padding:1px 4px;background:#fffdf2e8;box-shadow:0 1px 4px #54442a12;display:flex;gap:4px;align-items:center;font-size:clamp(6px,.9cqw,10px);line-height:1.5;color:#4d503c;white-space:nowrap}
.staff.seat .state-dot{width:4px;height:4px}
.staff.seat .staff-state,.staff.seat .task-bubble{position:absolute;z-index:4;top:104%;left:50%;transform:translateX(-50%);margin:0;padding:1px 4px;background:#fffdf2ed;border-radius:3px;font-size:clamp(5px,.74cqw,9px);color:#8c8c77;line-height:1.5;white-space:nowrap;max-width:200%;overflow:hidden;text-overflow:ellipsis;display:block;box-shadow:0 1px 3px #54442a0d}
.staff.seat .task-bubble{color:#50704a;background:#f7faee;max-width:205%;border:1px solid #d3dec3}
.staff.seat .company-caption{font-size:clamp(5px,.7cqw,8px);max-width:205%}
.staff.seat.idle .animal,.staff.seat.disabled .animal{opacity:0;filter:none}
.staff.seat.idle .staff-name,.staff.seat.disabled .staff-name{color:#8a8a76;background:#f9f6e8d9}
.staff.seat.idle .staff-state,.staff.seat.disabled .staff-state{background:#f9f6e8b0;color:#9b9b87;box-shadow:none}
.staff.seat.running .desk-front{box-shadow:0 2px 3px #65462226,0 0 0 1px #8da57c66}
.staff.seat.running .desk-front:after{content:'···';position:absolute;left:30%;right:30%;top:-65%;font-size:10px;letter-spacing:2px;color:#5a7050;animation:typing 1.5s steps(2,end) infinite}
.staff.seat.dimmed{opacity:.12;pointer-events:none}
.staff.seat.arriving .seated-avatar{animation:arrive-seat 1.15s ease-out both}
.staff.seat.leaving .seated-avatar{animation:leave-seat 1.1s ease-in forwards;opacity:1}
.staff.seat.leaving .animal{opacity:1}
@keyframes arrive-seat{from{transform:translate(var(--travel-x),var(--travel-y));clip-path:inset(0);opacity:0}25%{opacity:1}70%{clip-path:inset(0)}to{transform:translate(0,0);clip-path:inset(0 0 23% 0);opacity:1}}
@keyframes leave-seat{from{transform:translate(0,0);clip-path:inset(0 0 23% 0);opacity:.7}30%{clip-path:inset(0)}to{transform:translate(var(--travel-x),var(--travel-y));clip-path:inset(0);opacity:0}}
@keyframes typing{0%,100%{opacity:.3}50%{opacity:.85}}
.sidebar{position:relative;padding:16px 12px;gap:0}.sidebar-content{min-height:0;display:flex;flex-direction:column;gap:15px;flex:1}.sidebar-toggle{font-size:9px;color:#829073;text-align:right;padding:0 0 10px;white-space:nowrap}.section-heading{margin-bottom:10px}.roster{gap:7px;max-height:none}.roster-team-head{font-size:9px;cursor:pointer;padding:3px 0;margin:0;list-style:none;align-items:center;gap:6px}.roster-team-head:before{content:'⌄';font-size:10px}.roster-team:not([open]) .roster-team-head:before{content:'›'}.roster-team-head span:last-child{margin-left:auto;font-size:8px;color:#a5ac99}.roster-members{display:block;margin:3px 0 5px}.roster-member{display:flex;flex-wrap:nowrap;width:100%;border:0;border-radius:4px;padding:3px 4px;margin:0;gap:5px;background:transparent;height:25px;text-align:left}.roster-member:hover{background:#ebefdf}.roster-member span:first-child{font-size:15px}.roster-name{font-size:10px;flex-shrink:0}.roster-caption{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8c9780;margin-left:auto;min-width:0}.roster-member .state-dot{margin-left:1px}.activity-section{padding-top:12px;flex:initial;min-height:80px}.activity{max-height:125px}.activity-item{display:flex;align-items:center;gap:7px;font-size:8px;line-height:1.8;margin-bottom:4px;white-space:nowrap}.activity-time{color:#a0a78f;font-size:7px;flex-shrink:0}.activity-name{color:#6f7c61;flex-shrink:0}.activity-status{color:#8f987f;overflow:hidden;text-overflow:ellipsis}.side-note{display:none}
body.desktop .sidebar{display:flex;border-left:1px solid #d8dec7;background:#fbfbf2;overflow:auto}
body.desktop .app{display:grid;grid-template-columns:minmax(0,1fr) 220px;min-height:100vh}
body.desktop .workspace{min-width:0}
body.desktop .office{height:100vh;min-height:0}
body.desktop .desktop-toolbar{left:calc((100% - 220px)/2);bottom:8px;padding:6px 11px;font-size:8px;gap:10px}
body.desktop .office-bottom{bottom:42px;font-size:7px}
body.sidebar-collapsed .app{grid-template-columns:minmax(0,1fr) 25px}
body.sidebar-collapsed .sidebar{padding:10px 4px;overflow:hidden}
body.sidebar-collapsed .sidebar-content{display:none}
body.sidebar-collapsed .sidebar-toggle{font-size:16px;text-align:center;padding:0}
body.desktop.sidebar-collapsed .desktop-toolbar{left:calc((100% - 25px)/2)}
@media(max-width:800px){body:not(.desktop) .sidebar{display:flex;max-height:550px}body:not(.desktop) .app{display:block}.office{min-height:360px}body.desktop .app{grid-template-columns:minmax(0,1fr) 190px}body.desktop .desktop-toolbar{left:calc((100% - 190px)/2)}body.desktop.sidebar-collapsed .app{grid-template-columns:minmax(0,1fr) 25px}}
@media(prefers-reduced-motion:reduce){.staff.seat.arriving .seated-avatar,.staff.seat.leaving .seated-avatar,.staff.seat.running .desk-front:after{animation:none!important}.staff.seat.leaving .seated-avatar{opacity:0}}

/* Furniture stays fixed while attendance transitions move only the member. */
.staff.seat .desk-chair{position:absolute;z-index:0;left:21%;right:21%;top:11%;height:49%;border-radius:10px 10px 5px 5px;background:linear-gradient(110deg,#91a18a,#687e63);box-shadow:inset 0 0 0 1px #5c725c55,0 3px 4px #4e503923;pointer-events:none}
.staff.seat .desk-chair:before{content:'';position:absolute;left:-5%;right:-5%;top:70%;height:27%;border-radius:50%;background:#72856a;box-shadow:0 5px 0 -2px #535d4d}
.staff.seat .desk-chair:after{content:'';position:absolute;left:45%;top:100%;width:10%;height:28%;background:#726d59;box-shadow:-9px 9px 0 -1px #726d59,9px 9px 0 -1px #726d59}
.staff.seat .desk-tabletop{position:absolute;z-index:2;left:-17%;right:-17%;top:46%;height:22%;background:linear-gradient(160deg,#eed3ad,#d9b68b);border:1px solid #b68b5c66;border-radius:4px 4px 2px 2px;transform:perspective(120px) rotateX(18deg);box-shadow:0 2px 0 #b68e64,0 4px 4px #6f543123;pointer-events:none}
.staff.seat .desk-front{left:-16%;right:-16%;top:64%;height:12%;background:linear-gradient(#be956d,#caab88);border-radius:0 0 2px 2px;box-shadow:0 3px 4px #6953341c;z-index:3}
.staff.seat .desk-front:before{left:7%;right:7%;top:90%;height:95%;background:linear-gradient(90deg,#8d6d4b 0 7%,transparent 7% 93%,#8d6d4b 93%);border-radius:0;box-shadow:none}
.staff.seat .desk-monitor{position:absolute;z-index:4;left:4%;top:32%;width:28%;height:25%;background:linear-gradient(135deg,#c3d7ce,#829b8f);border:2px solid #636c61;border-radius:2px;box-shadow:1px 2px 2px #52472a20;pointer-events:none}
.staff.seat .desk-monitor:before{content:'';position:absolute;width:20%;height:28%;left:40%;top:100%;background:#6c7469}
.staff.seat .desk-monitor:after{content:'';position:absolute;left:15%;right:15%;top:124%;height:10%;background:#72796c;border-radius:50%}
.staff.seat.running .desk-monitor{background:linear-gradient(140deg,#deedce,#91b6a1)}
.staff.seat.running .desk-front:after{top:-42%;left:48%;right:6%;font-size:clamp(5px,.8cqw,9px);letter-spacing:1px}
/* Muted floor rugs and small plaques give each team a place in the room. */
.room-zone{position:absolute;border-radius:9px;background:color-mix(in srgb,var(--zone-color) 12%,transparent);border:1px solid color-mix(in srgb,var(--zone-color) 30%,transparent);box-shadow:inset 0 0 0 3px #fff8;z-index:1;pointer-events:none;transition:opacity .2s}
.room-zone:after{content:'';position:absolute;inset:5px;border:1px dotted color-mix(in srgb,var(--zone-color) 23%,transparent);border-radius:6px}
.room-plaque{position:absolute;top:-6px;left:7px;background:#faf5e6;color:#6d725c;border:1px solid color-mix(in srgb,var(--zone-color) 35%,#e6decb);padding:2px 5px;border-radius:4px;white-space:nowrap;font-size:clamp(5px,.75cqw,9px);line-height:1.3;letter-spacing:.1px;box-shadow:0 1px 2px #6850300a}
.room-theme{position:absolute;right:5px;bottom:2px;font-size:clamp(4px,.55cqw,7px);color:color-mix(in srgb,var(--zone-color) 75%,#7b735e);opacity:.8}
.room-zone.dimmed,.resting-walker.dimmed{opacity:.12;pointer-events:none}
.staff.seat.resting .seated-avatar{display:none}
.staff.seat.resting .staff-state{background:#f6f1dc;color:#a08b52}
.source-badge{position:absolute;top:60%;right:-33%;z-index:5;font-size:clamp(4px,.55cqw,7px);background:#e7ecdf;color:#819273;padding:1px 3px;border-radius:3px;pointer-events:none;white-space:nowrap}
.staff.seat.account-pending.running .animal,.staff.seat.account-pending.waiting .animal{opacity:1;filter:drop-shadow(0 2px 2px #51412633)}
.resting-walker{position:absolute;width:5.8%;height:9.5%;padding:0;z-index:180;animation:wander-common 24s linear infinite;transform-origin:center bottom}
.resting-walker .animal.sprite{width:100%;height:100%;filter:drop-shadow(0 2px 2px #66513b22);opacity:.95}
.walker-name{position:absolute;left:50%;top:98%;transform:translateX(-50%);font-size:clamp(5px,.65cqw,8px);color:#8d815b;background:#fff8e7e8;border-radius:3px;padding:1px 4px;white-space:nowrap;line-height:1.5}
.resting-walker:before{content:'';position:absolute;left:20%;right:20%;bottom:0;height:9%;border-radius:50%;background:#75674620;filter:blur(1px)}
@keyframes wander-common{0%,100%{transform:translate(0,0)}25%{transform:translate(120%,0)}50%{transform:translate(145%,45%)}75%{transform:translate(-15%,60%)}}
.resting .state-dot{background:#b5a266}.roster-source{font-size:6px;color:#839775;background:#eaf0e2;border-radius:3px;padding:0 2px;flex-shrink:0}.roster-caption{max-width:120px}.observation-note{font-size:9px;color:#8b9a7c;background:#eef2e6;border-radius:4px;padding:5px 7px;margin-top:7px}
.briefing-card{border:1px solid #e4e5d6;background:#f6f5e9;border-radius:7px;padding:8px 9px;font-size:9px;color:#838a73}.briefing-card summary{font-size:10px;color:#697b59;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.briefing-card summary span{font-size:8px;color:#97a187}.briefing-card strong{display:block;font-size:10px;font-weight:500;margin-top:10px}.briefing-card p{font-size:8px;line-height:1.8;margin:5px 0}.briefing-card a{display:block;color:#718861;font-size:8px;margin-top:7px;text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:reduce){.resting-walker{animation:none!important;transform:none!important}}
.roster-member.account-pending:has(.roster-source){opacity:1}

/* Activity shows a job label and a separate lifecycle stage in one compact row. */
.activity-item{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:5px}
.activity-task{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#64765a}
.activity-status{max-width:94px;font-size:7px;color:#929b85;white-space:nowrap}
.activity-item{font-size:10px;line-height:1.6;min-height:21px}
.activity-time{font-size:9px}.activity-status{font-size:9px}
body.desktop .activity-item{font-size:8px;min-height:15px}
body.desktop .activity-time,body.desktop .activity-status{font-size:7px}

.review-request{display:block;width:100%;text-align:left;background:#fff9;border:1px solid #e4e5d6;border-radius:4px;margin-top:5px;padding:5px;color:#6e785f;font-size:9px;cursor:pointer}.staff.seat.review .staff-state,.staff.seat.review .task-bubble{background:#fff0d1;color:#997444}.review .state-dot,.state-dot.review{background:#d2a853}
.deliveryWaiting .state-dot,.state-dot.deliveryWaiting{background:#d2a853}.staff.seat.deliveryWaiting .task-bubble{background:#fff0d1;color:#997444}

/* Reading and deciding happens in a generous task detail, separate from new work. */
.task-panel.detail-open{width:min(920px,94vw);right:50%;transform:translateX(50%);top:3vh;bottom:3vh;border-radius:18px;padding:28px 36px;box-shadow:0 18px 100px #29392b44}
.detail-open .panel-head h2{font-size:24px;line-height:1.45}.detail-open .panel-head{position:sticky;top:-28px;background:#fafbf5;z-index:2;padding:12px 0;margin-bottom:10px}
.secondary{border:1px solid #cbd6c1;border-radius:8px;padding:10px 14px;background:#fffef9;color:#536b4b;font-size:13px}.task-open{margin-top:12px;width:100%;text-align:left}
.detail-meta{font-size:14px;line-height:1.7;color:#6f7d64}.detail-open .policy-note{font-size:14px;padding:14px 18px;line-height:1.75}.detail-chat-link{display:inline-block;border-bottom:1px solid #96ac87;margin:8px 0 18px;font-size:15px}
.conversation-message{padding:20px 24px;margin:16px 0;border:1px solid #dce4d3;background:#fffef9;border-radius:12px}.conversation-message h3{font-size:16px;margin:0 0 18px}.conversation-message h4{font-size:13px;color:#7a8c6d;margin:20px 0 8px}.conversation-message pre{font:inherit;font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;margin:0;color:#384a35}.conversation-message .user-message{background:#eef3e7;border-radius:8px;padding:14px}.detail-pending{font-size:15px;line-height:1.8;color:#857744}
#followup-form{padding:8px 0 20px}#followup-form label{font-size:16px}#followup-prompt{font-size:16px;line-height:1.8;min-height:120px}#submit-followup{font-size:15px;padding:14px 20px}#followup-form .fine{font-size:12px}#followup-message{font-size:14px}
#review-inbox{padding:12px 14px}#review-inbox summary{font-size:14px;line-height:1.5}#review-inbox summary span{font-size:12px}#review-inbox p{font-size:12px;line-height:1.7}.review-request{font-size:13px;line-height:1.6;padding:12px;margin-top:10px;min-height:48px}
@media(max-width:600px){.task-panel.detail-open{width:100%;max-width:100%;right:0;transform:none;top:0;bottom:0;border-radius:0;padding:20px 16px}.detail-open .panel-head h2{font-size:20px}.conversation-message{padding:16px}.conversation-message pre{font-size:16px}.detail-open .panel-head{top:-20px}.detail-open .policy-note{font-size:13px}.detail-open .task-history{display:none}}

.detail-decision{padding:18px 22px;margin:16px 0;border:1px solid #d8c99d;border-radius:12px;background:#fff8e5}.detail-decision h3{font-size:17px;margin:0 0 10px}.detail-decision pre{font:inherit;font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.detail-decision button{margin-top:8px}

/* Presentation-only seating preview: never changes execution or attendance data. */
body.seating-preview .app,body.desktop.seating-preview .app{display:block;grid-template-columns:1fr}
body.seating-preview .sidebar,body.seating-preview .desktop-toolbar,body.seating-preview .office-bottom{display:none!important}
body.seating-preview .staff.seat .animal.sprite{opacity:1!important;filter:drop-shadow(0 2px 2px #51412633)!important}
body.seating-preview .staff.seat .seated-avatar{display:block!important;animation:none!important;transform:none!important;clip-path:inset(0 0 23% 0)!important}
body.seating-preview .resting-walker,body.seating-preview .staff-state,body.seating-preview .task-bubble,body.seating-preview .source-badge,body.seating-preview .state-dot{display:none!important}
body.seating-preview .staff.seat{opacity:1!important}
body.seating-preview .staff-name{background:#fffdf2f5!important;color:#4d503c!important;font-size:clamp(8px,1cqw,13px)!important}
body.seating-preview .desk-front:after{display:none!important}
.preview-note{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:10;padding:9px 18px;border-radius:30px;background:#fffef5ed;border:1px solid #d8dfca;color:#637454;font-size:13px;white-space:nowrap;box-shadow:0 3px 12px #35443712;pointer-events:none}

.preview-note a{margin-left:12px;color:#526a48;text-decoration:underline;pointer-events:auto;font-size:12px}@media(max-width:650px){.preview-note{font-size:10px;padding:8px 10px;white-space:normal;width:max-content;max-width:95%;text-align:center}.preview-note a{display:block;margin:5px 0 0;font-size:10px}}

/* Twelve desks have reserved labels; shared lounge furniture stays outside work zones. */
.room-plaque{top:5%;left:6%;font-size:clamp(7px,.9cqw,12px);padding:3px 7px;z-index:6}.room-theme{display:none}
.staff.seat .staff-name{top:90%;font-size:clamp(7px,1cqw,12px);padding:2px 6px}.staff.seat .task-bubble,.staff.seat .staff-state{top:121%;font-size:clamp(6px,.75cqw,10px)}
.staff.seat.on-duty .animal.sprite{opacity:1;filter:drop-shadow(0 2px 2px #51412633)}
.staff.seat.on-duty .seated-avatar{display:block}.staff.seat.resting.roaming .seated-avatar{display:none}
.staff.seat.on-duty.account-pending .animal{filter:drop-shadow(0 2px 2px #51412633)}
.rest-area{position:absolute;z-index:2;border:1px solid #cbbfa777;border-radius:10px;background:#fffcf033;pointer-events:none}
.rest-area-name{position:absolute;left:7%;top:-13%;font-size:clamp(7px,.95cqw,12px);background:#fff9ed;color:#786f58;padding:3px 7px;border-radius:6px;white-space:nowrap;z-index:3}
.rest-furniture{position:absolute;pointer-events:none}
.rest-coffee .rest-furniture{left:22%;right:22%;top:28%;height:50%;border-radius:50%;background:radial-gradient(ellipse at 50% 20%,#f5dfb6,#d1ac7a);border:1px solid #bb9565;box-shadow:0 4px 0 #a78661,0 8px 8px #665b3233}
.rest-coffee .rest-furniture:after{content:'☕  ☕';position:absolute;inset:15% 0;text-align:center;font-size:clamp(8px,1.4cqw,19px)}
.rest-meeting .rest-furniture{left:16%;right:16%;top:29%;height:43%;border-radius:8px;background:linear-gradient(150deg,#e2c59c,#bca07a);border:1px solid #af906c;box-shadow:0 5px 0 #9d825f,0 8px 8px #665b3233}
.rest-meeting:before,.rest-meeting:after{content:'';position:absolute;top:15%;left:24%;width:18%;height:20%;border-radius:7px;background:#8b9f8b;box-shadow:53px 0 #8b9f8b,0 50px #8b9f8b,53px 50px #8b9f8b}
.rest-tv .rest-furniture{left:52%;right:8%;top:3%;height:48%;background:linear-gradient(140deg,#466368,#94b4a1);border:4px solid #555d51;border-radius:5px;box-shadow:0 4px 0 #bda57a}
.rest-tv .rest-furniture:after{content:'✦';color:#e9efd5;display:block;text-align:center;font-size:clamp(8px,1.5cqw,20px)}
.lounge-walker{animation:visit-lounge 120s linear infinite;width:5.8%;height:9.5%}.lounge-walker .walker-name{font-size:clamp(6px,.8cqw,11px);background:#fff8e8f5}
@keyframes visit-lounge{0%,100%{transform:translate(var(--from-x),var(--from-y))}9%,91%{transform:translate(0,0)}}
body.seating-preview .staff.seat.resting.roaming .seated-avatar{display:block!important}
@media(prefers-reduced-motion:reduce){.lounge-walker{animation:none!important;transform:none!important}}

/* Rest coordinates are centers, just like seats; names stay inside the room. */
.lounge-walker{margin-left:-2.9%;margin-top:-4.75%}
.staff.seat .task-bubble{max-width:155%;font-size:clamp(6px,.7cqw,9px)}
.rest-area-name{top:-15%;font-size:clamp(7px,.85cqw,11px)}

/* Keep desk captions compact; detailed jobs remain in the roster and hover tooltip. */
.room-plaque{top:1.5%;left:5%;font-size:clamp(7px,.85cqw,11px);padding:2px 5px}
.room-zone[data-team="hq"] .room-plaque{top:-8%}
.room-zone[data-team="study"] .room-plaque{top:30%;left:-24%;font-size:clamp(7px,.75cqw,10px);padding:2px 4px}
.rest-area-name{top:-25%}
.staff.seat .staff-state,.staff.seat .source-badge,.staff.seat .task-bubble{display:none}
.staff.seat:hover .task-bubble,.staff.seat:focus-visible .task-bubble{display:block}
.lounge-walker .walker-name{opacity:0;pointer-events:none}
.lounge-walker:hover .walker-name,.lounge-walker:focus-visible .walker-name{opacity:1}

/* The office floor shows names and status dots only; details live in the panel. */
.room-plaque,.room-theme,.rest-area-name{display:none}
.staff.seat .staff-state,.staff.seat .source-badge,.staff.seat .task-bubble,
.staff.seat:hover .task-bubble,.staff.seat:focus-visible .task-bubble{display:none}
.state-dot.running{background:#56a66b}
.state-dot.resting,.state-dot.idle,.state-dot.disabled{background:#a7ada6}
.state-dot.queued,.state-dot.waiting,.state-dot.review,.state-dot.deliveryWaiting{background:#d2a853}
.state-dot.error{background:#d27870}
.walker-name .state-dot{display:inline-block;margin-left:4px}

/* 세션 기록 */
.archive{min-height:540px;padding:18px 0}.archive-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}.archive-summary{font-size:11px;color:#56634b;margin:6px 0 0}.archive-note{font-size:10px;color:#5f6a55;max-width:360px;line-height:1.7;margin:0}.archive-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-bottom:12px}.archive-controls label{margin:0;font-size:10px;display:flex;flex-direction:column;gap:4px;min-width:110px}.archive-controls select,.archive-controls input[type=search]{padding:7px 9px;font-size:11px}.archive-controls .archive-check{flex-direction:row;align-items:center;gap:6px;min-width:auto}.archive-check input{width:auto}.archive-groupby{display:flex;gap:7px;margin-bottom:10px}.archive-group{background:#fffef8;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:10px}.archive-group summary{cursor:pointer;font-size:12px;font-weight:600;display:flex;gap:8px;align-items:center}.archive-live{font-size:9px;color:#3d6b34;font-weight:500}.archive-list{list-style:none;margin:8px 0 0;padding:0}.archive-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #eff0e7}.archive-main{min-width:0;flex:1}.archive-title{display:block;font-size:11px;color:#3f513a;overflow-wrap:anywhere}a.archive-title:hover{text-decoration:underline}.archive-meta{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:4px}.archive-meta span{font-size:9px;color:#56614c;background:#f1f3ea;border-radius:4px;padding:1px 5px;overflow-wrap:anywhere}.archive-side{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;text-align:right}.archive-side small{font-size:9px;color:#5f6a55}.archive-status{font-size:9px;border-radius:4px;padding:1px 6px;background:#eceee4;color:#4f5a45}.status-active .archive-status{background:#e1eedb;color:#2f5f28}.status-archived .archive-status,.status-missing .archive-status{background:#f3ece0;color:#74552c}.archive-reason{color:#7a5a2e!important}.archive-board{font-size:10px;color:#5f6a55;margin-top:10px}
@media(max-width:800px){.archive-row{flex-direction:column;gap:4px}.archive-side{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:8px}.archive-controls label{min-width:calc(50% - 6px)}}
/* 업무 대화 줄기 */
.conversation-where{font-size:13px;color:#5d6e52;margin:8px 0 4px;overflow-wrap:anywhere}.resume-command{font-size:12px;background:#eef3e7;border-radius:6px;padding:2px 6px;user-select:all}
.conversation-timeline{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:12px}
.conversation-timeline .turn{max-width:92%;border-radius:12px;padding:12px 16px;border:1px solid #dce4d3;background:#fffef9}
.conversation-timeline .turn.user{align-self:flex-end;background:#eef3e7;border-color:#cfdcc0}
.conversation-timeline .turn.agent{align-self:flex-start}
.conversation-timeline .turn.agent.final{border-color:#9db487;box-shadow:0 1px 0 #9db487}
.conversation-timeline .turn.live{border-style:dashed}
.conversation-timeline .turn.system{align-self:center;max-width:100%;border:0;background:none;padding:0}
.conversation-timeline .turn.agent.note{border:0;background:none;padding:0}
.turn-head{font-size:12px;color:#5d6e52;margin-bottom:6px}
.turn pre{font:inherit;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#384a35}
.turn-status{font-size:12px;color:#5d6e52}.turn.error .turn-status{color:#8a3b2e}
.agent-note summary{cursor:pointer;font-size:12px;color:#5d6e52}.agent-note pre{font-size:13px;color:#4a5a40;background:#f6f8f1;border-radius:8px;padding:10px;margin-top:6px}
.conversation-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
@media(max-width:600px){.conversation-timeline .turn{max-width:100%}}
.app-open{font-weight:600;color:#3f6b2f;text-decoration:underline}
