/* Conversation layout over existing requests. */
body[data-mode="during"]{background:#212121;color:#ececec;color-scheme:dark}
body[data-mode="during"]>#world,body[data-mode="during"]>.vignette,body[data-mode="during"]>#world-labels,body[data-mode="during"]>header,body[data-mode="during"]>#welcome,body[data-mode="during"]>#inside-title,body[data-mode="during"]>#activity,body[data-mode="during"]>#interaction,body[data-mode="during"]>footer,body[data-mode="during"]>#touch-controls,body[data-mode="during"]>#loader,body[data-mode="during"]>#transition,body[data-mode="during"]>#mini-map,body[data-mode="during"]>#game-hud,body[data-mode="during"]>.game-hud{display:none!important}
body[data-mode="after"]>#during-hours{display:none}
.during-shell{position:fixed;inset:0;z-index:8;display:grid;grid-template-columns:260px minmax(0,1fr);background:#212121;color:#ececec;font:14px/1.5 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.during-shell *{box-sizing:border-box}
.during-shell button,.during-shell input,.during-shell select{font:inherit;color:inherit;box-shadow:none;transition:background .15s}
.during-shell button{border:0;cursor:pointer}.during-shell button:hover{filter:none}
.during-shell button:focus-visible,.during-shell a:focus-visible,.during-shell input:focus-visible,.during-shell select:focus-visible{outline:2px solid #b7b7b7;outline-offset:3px}
.during-shell button:disabled{opacity:.5;cursor:wait}.during-backdrop{display:none}
.during-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#171717;padding:12px 10px 10px;overflow:hidden}
.during-side-top{display:flex;justify-content:space-between;align-items:center;padding:0 5px 13px}.during-home{font-size:25px!important;line-height:1;background:none;width:36px;height:36px;border-radius:50%;color:#eee!important}
.during-icon-button{width:36px;height:36px;display:grid;place-items:center;background:transparent;border-radius:8px;font-size:20px!important;color:#aaa!important;flex-shrink:0;padding:0}
.during-icon-button:hover,.during-home:hover{background:#2b2b2b;color:#eee!important}
.during-new-request,.during-side-action{display:block;width:100%;text-align:left;background:transparent;color:#e5e5e5!important;border-radius:8px;padding:11px 12px;font-size:13px!important}
.during-new-request:hover,.during-side-action:hover,.during-side-action.selected{background:#292929}
.during-new-request{font-weight:550!important;padding-top:12px;padding-bottom:12px}
.during-search-wrap{display:flex;align-items:center;gap:8px;border:1px solid #373737;border-radius:8px;margin:7px 5px 19px;padding:8px 10px}
.during-search-icon{color:#929292;font-size:19px;line-height:1}.during-search{font-size:12px!important;background:transparent;border:0;min-width:0;width:100%;padding:0;color:#dedede!important;outline-offset:5px!important}.during-search::placeholder{color:#939393}
.during-list-label{font-size:11px;font-weight:550;color:#8e8e8e;letter-spacing:.1px;margin:0 12px 8px}
.during-request-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#414141 transparent;padding:0 2px 16px}
.during-request-link{display:flex;align-items:center;gap:9px;width:100%;min-width:0;text-align:left;background:transparent;padding:10px 11px;border-radius:8px;font-size:13px!important;line-height:1.4;color:#cfcfcf!important;min-height:39px}
.during-request-link:hover{background:#242424}.during-request-link[aria-current=page]{background:#303030;color:#fff!important}
.during-request-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.during-status-dot{width:5px;height:5px;flex:0 0 5px;background:#747474;border-radius:50%}.during-status-dot.status-building{background:#b7a375}.during-status-dot.status-live{background:#87a693}.during-status-dot.status-rejected{background:#a57777}
.during-sidebar-note{font-size:12px;line-height:1.7;color:#929292;padding:3px 12px;overflow-wrap:anywhere}
.during-side-bottom{flex-shrink:0;border-top:1px solid #2d2d2d;padding:13px 2px 0}.during-club-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#777;margin:0 12px 5px;display:block}
.during-club-select{display:block;width:calc(100% - 20px);min-width:0;margin:0 10px 11px;padding:6px 0;border:0;border-radius:3px;background:#171717;color:#b8b8b8!important;font-size:12px!important;cursor:pointer}
.during-profile{display:flex;align-items:center;gap:11px;width:100%;min-width:0;background:transparent;text-align:left;border-radius:8px;padding:10px 10px 5px;font-size:13px!important}.during-profile:hover{background:#292929}
.during-avatar{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:50%;font-size:23px;background:#37332e;border:1px solid #4b453f}.during-profile-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.during-main{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}
.during-topbar{height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 23px;background:#212121}
.during-top-left{display:flex;align-items:center;gap:12px;min-width:0}.during-menu{display:none}
.during-thread-title{font-weight:550;font-size:16px;color:#bfbfbf;max-width:55vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.during-top-actions{display:flex;align-items:center;gap:5px}.during-top-profile{background:none;border-radius:50%;padding:2px;margin-left:5px}
.during-top-profile .during-avatar{width:29px;height:29px;font-size:21px;flex-basis:29px}
.during-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#515151 transparent;padding:15px 24px 50px}
.during-content{width:100%;min-height:100%;display:flex;flex-direction:column}
.during-feedback{max-width:760px;margin:5px auto 20px;padding:13px 16px;border:1px solid #624f4d;background:#392a28;border-radius:10px;color:#e7c2bd;font-size:13px;overflow-wrap:anywhere}
.during-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:min(62vh,650px);max-width:780px;width:100%;margin:auto;padding:20px 0 8vh}
.during-empty h1{font-family:inherit!important;font-size:30px!important;line-height:1.3!important;font-weight:550!important;letter-spacing:-.8px!important;color:#f2f2f2;margin:0 0 26px!important}
.during-empty-description{font-size:14px;line-height:1.8;color:#9c9c9c;max-width:470px;margin:-8px 0 25px}
.during-start-request{display:flex;align-items:center;gap:13px;max-width:100%;width:650px;min-height:75px;padding:16px 19px;background:#303030;color:#a9a9a9!important;border:1px solid #3c3c3c!important;border-radius:25px;text-align:left;font-size:15px!important}
.during-start-request:hover{background:#343434}.during-compose-plus{font-size:24px;color:#dedede;line-height:1}.during-compose-arrow{display:grid;place-items:center;margin-left:auto;width:34px;height:34px;background:#e5e5e5;border-radius:50%;font-size:23px;color:#252525;font-weight:600}
.during-retry{padding:11px 20px;background:#363636;color:#eee;border-radius:20px}
.during-thread{width:100%;max-width:760px;margin:5px auto 0;padding-bottom:30px;display:flex;flex-direction:column;gap:38px}
.during-user-message{align-self:flex-end;max-width:90%;background:#303030;padding:18px 23px;border-radius:24px;overflow-wrap:anywhere}
.during-message-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#a0a0a0;font-size:11px;margin:0 0 8px}.during-message-meta time{white-space:nowrap;color:#888}
.during-request-title{font-family:inherit!important;font-size:17px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:0!important;color:#eee;margin:0 0 9px!important}
.during-request-context{font-size:15px;line-height:1.85;white-space:pre-wrap;margin:0;color:#e1e1e1;overflow-wrap:anywhere}
.during-project-message{display:grid;grid-template-columns:31px minmax(0,1fr);gap:17px;min-width:0}
.during-record-mark{display:grid;place-items:center;border:1px solid #575757;border-radius:50%;width:31px;height:31px;font-size:20px;margin-top:1px;color:#d0d0d0}.during-record-content{min-width:0}
.during-record-heading{font-size:14px;font-weight:600;line-height:1.6;color:#ddd;margin:4px 0 12px}.during-record-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.during-badge{background:#303030;color:#bcbcbc;font-size:11px;border:1px solid #454545;border-radius:5px;padding:3px 8px;text-transform:capitalize}.during-badge.status-building{background:#383329;color:#cebd91;border-color:#574d35}.during-badge.status-live{background:#293a31;color:#a4c6af;border-color:#405a49}.during-badge.status-rejected{background:#392c2c;color:#c8a1a1;border-color:#574040}
.during-subdomain{font-size:12px;color:#888;font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.during-prompt-detail{border:1px solid #3e3e3e;border-radius:10px;background:#252525;margin:0 0 12px;overflow:hidden}
.during-prompt-detail summary{cursor:pointer;padding:13px 16px;color:#ccc;font-size:13px;list-style-position:inside}
.during-prompt-detail[open] summary{border-bottom:1px solid #3e3e3e}.during-prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;color:#cfcfcf;margin:0;padding:16px;background:#1d1d1d;max-height:480px;overflow:auto}
.during-media{margin:27px 0 22px}.during-media h3{font-size:15px;font-weight:550;margin:0 0 14px;color:#d7d7d7}
.during-figure{margin:0 0 18px}.during-image-link{display:block;border:1px solid #414141;border-radius:14px;overflow:hidden;background:#191919}.during-image{display:block;width:100%;max-height:600px;object-fit:contain;aspect-ratio:auto}
.during-figure figcaption{color:#808080;font-size:11px;margin:7px 3px 0}
.during-prototype{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:18px 20px;border:1px solid #434343;border-radius:12px;margin:22px 0;background:#292929}
.during-prototype h3{margin:0;font-size:14px;font-weight:550}.during-prototype p{margin:4px 0 0;color:#8e8e8e;font-size:12px;overflow-wrap:anywhere}
.during-open-prototype{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #5b5b5b;border-radius:20px;padding:9px 14px;color:#e1e1e1!important;font-size:12px;font-weight:550;text-decoration:none;background:transparent;white-space:nowrap}.during-open-prototype:hover{background:#383838}
.during-record-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:4px}.during-quiet-action{background:transparent;color:#969696!important;font-size:12px!important;padding:6px 0;border-radius:4px}.during-quiet-action:hover{color:#e0e0e0!important}.during-quiet-action[aria-pressed=true]{color:#b6cabe!important}
.during-tools{width:100%;max-width:900px;margin:25px auto}.during-tools>h1{font-family:inherit!important;font-size:26px!important;line-height:1.4!important;font-weight:550!important;letter-spacing:-.6px;margin:0 0 25px;color:#eee}
.during-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.during-tool{min-width:0;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #3f3f3f;background:#272727;border-radius:14px;padding:22px;overflow-wrap:anywhere}.during-tool h2{font-size:16px;font-weight:550;margin:0 0 10px}.during-tool p{font-size:13px;line-height:1.8;color:#999;margin:0 0 25px}.during-tool .during-open-prototype{margin-top:auto}
.during-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.during-shell.sidebar-collapsed .during-sidebar{visibility:hidden;padding:0}.during-shell.sidebar-collapsed .during-menu{display:grid}
body[data-mode="during"] dialog{color:#e8e8e8;color-scheme:dark;background:#252525;border:1px solid #444;box-shadow:0 20px 100px #0007}
body[data-mode="during"] dialog::backdrop{background:#0008}
body[data-mode="during"] dialog h2{color:#e8e8e8;font-family:inherit}body[data-mode="during"] dialog .eyebrow{color:#999}body[data-mode="during"] dialog .dialog-copy,body[data-mode="during"] dialog .fine{color:#aaa}
body[data-mode="during"] dialog input,body[data-mode="during"] dialog textarea,body[data-mode="during"] dialog select{color:#e0e0e0;background:#1c1c1c;border-color:#464646}
body[data-mode="during"] dialog .primary{background:#e4e4e4;color:#202020}body[data-mode="during"] dialog .secondary,body[data-mode="during"] dialog .idea{background:#2c2c2c;color:#ddd;border-color:#444}body[data-mode="during"] dialog .idea p{color:#aaa}body[data-mode="during"] dialog .prompt-text{background:#1c1c1c;color:#ccc}
@media(max-width:1000px){.during-shell{grid-template-columns:240px minmax(0,1fr)}.during-scroll{padding:15px 22px 45px}.during-user-message{max-width:95%}.during-start-request{width:100%}.during-empty h1{font-size:27px!important}.during-thread{max-width:720px}.during-topbar{padding:0 18px}}
@media(max-width:760px){.during-shell,.during-shell.sidebar-collapsed{display:block}.during-main{height:100%;width:100%}.during-sidebar,.during-shell.sidebar-collapsed .during-sidebar{position:absolute;z-index:5;inset:0 auto 0 0;width:min(300px,84vw);visibility:visible;transform:translateX(-101%);padding:12px 10px 10px;transition:transform .2s;background:#171717;box-shadow:20px 0 60px #0005}.during-shell.drawer-open .during-sidebar{transform:translateX(0)}.during-shell.drawer-open .during-backdrop{position:absolute;display:block;inset:0;z-index:4;background:#0008;border-radius:0}.during-menu,.during-shell.sidebar-collapsed .during-menu{display:grid}.during-topbar{height:59px;flex-basis:59px;padding:0 11px;gap:8px}.during-top-left{gap:5px}.during-thread-title{font-size:15px;max-width:48vw}.during-top-actions{gap:0}.during-top-profile{margin-left:2px}.during-icon-button{width:33px;height:34px;font-size:19px!important}.during-top-profile .during-avatar{width:27px;height:27px;font-size:19px}.during-scroll{padding:12px 14px 35px}.during-empty{padding:0 0 12vh;min-height:65vh}.during-empty h1{font-size:25px!important;line-height:1.4!important;letter-spacing:-.7px!important;margin:0 0 24px!important}.during-empty-description{font-size:12px;padding:0 20px;line-height:1.8}.during-start-request{width:100%;min-height:70px;border-radius:24px;padding:15px;font-size:13px!important;gap:10px}.during-compose-arrow{width:30px;height:30px;font-size:21px}.during-thread{gap:30px;margin-top:8px}.during-user-message{max-width:94%;padding:16px 18px;border-radius:22px}.during-message-meta{font-size:10px;gap:12px}.during-request-title{font-size:16px!important}.during-request-context{font-size:14px;line-height:1.8}.during-project-message{grid-template-columns:26px minmax(0,1fr);gap:10px}.during-record-mark{width:26px;height:26px;font-size:17px}.during-record-heading{font-size:13px;margin-top:1px}.during-record-status{gap:8px;margin-bottom:18px}.during-badge{font-size:10px}.during-subdomain{font-size:11px}.during-prompt-detail summary{padding:12px;font-size:12px}.during-prompt-text{padding:13px;font-size:11px}.during-media{margin-top:22px}.during-media h3{font-size:14px}.during-image-link{border-radius:11px}.during-prototype{padding:15px;gap:14px;border-radius:11px}.during-prototype h3{font-size:13px}.during-prototype p{font-size:11px}.during-open-prototype{font-size:11px;padding:8px 12px}.during-record-actions{gap:14px}.during-quiet-action{font-size:11px!important}.during-tools{margin-top:10px}.during-tools>h1{font-size:24px;letter-spacing:-.5px}.during-tool-grid{grid-template-columns:minmax(0,1fr);gap:12px}.during-tool{padding:20px}.during-feedback{font-size:12px;padding:12px;margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.during-shell *{transition:none!important}}

/* Live request conversation composer and clearly marked public examples. */
.during-sidebar-section{font-size:10px;font-weight:550;color:#828282;text-transform:none;letter-spacing:.2px;margin:18px 12px 7px}
.during-sidebar-section:first-child{margin-top:3px}.during-status-dot.sample-dot{background:#777;border:1px solid #aaa;width:6px;height:6px;flex-basis:6px}
.during-composer-wrap{flex-shrink:0;padding:4px 24px 14px;background:#212121;position:relative}
.during-composer{width:100%;max-width:760px;margin:0 auto;display:block;background:#303030;border:1px solid #414141;border-radius:24px;overflow:hidden;padding:13px 15px 10px;box-shadow:0 -15px 25px #21212166}
.during-chat-input{display:block;width:100%;max-width:100%;min-height:46px;max-height:180px;resize:none;overflow:auto;background:transparent!important;border:0!important;padding:3px 4px 8px!important;color:#eee!important;font:15px/1.65 ui-sans-serif,system-ui,sans-serif!important;border-radius:0!important;outline:none!important}
.during-chat-input::placeholder{color:#aaa}.during-chat-input:disabled{opacity:.65}
.during-composer-tools{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.during-provider{min-width:0;max-width:170px;background:transparent!important;color:#adadad!important;border:0!important;border-radius:4px!important;font-size:11px!important;padding:7px 4px!important;width:auto!important;cursor:pointer}
.during-provider option{background:#303030;color:#eee}
.during-compose-tool{padding:7px 10px!important;min-height:32px;border:1px solid #515151!important;border-radius:18px;background:transparent;color:#c5c5c5!important;font-size:11px!important;white-space:nowrap}
.during-compose-tool:hover{background:#3e3e3e}.during-send{display:grid!important;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;padding:0!important;background:#e6e6e6;color:#222!important;font-size:23px!important;font-weight:650;margin-left:auto}.during-send:disabled{background:#525252;color:#9a9a9a!important;opacity:1}
.during-composer-note{width:100%;max-width:760px;margin:8px auto 0;font-size:10px;color:#858585;text-align:center;line-height:1.5}
.during-empty.chat-welcome{min-height:100%;padding:4vh 0 18px;max-width:780px}.chat-welcome h1{margin-bottom:12px!important}.chat-welcome .during-empty-description{margin:0 0 28px;font-size:13px}
.during-sample-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}
.during-sample-card{display:flex;flex-direction:column;gap:9px;text-align:left;border:1px solid #414141!important;border-radius:13px;background:#272727;padding:17px 16px;min-height:100px;color:#d0d0d0!important}
.during-sample-card:hover{background:#303030}.during-sample-card strong{font-size:12px;line-height:1.5;font-weight:500}.during-sample-kicker{font-size:9px;letter-spacing:1px;color:#8c8c8c;font-weight:550}
.during-sample-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;max-width:760px;margin:0 auto 25px;padding:11px 15px;border:1px solid #46413a;border-radius:10px;background:#2b2925;color:#bcb4a3;font-size:11px}
.during-sample-banner .during-open-prototype{font-size:10px;padding:6px 10px}.during-sample-banner .during-quiet-action{font-size:11px!important;color:#d1cabd!important}
.during-chat-role{font-size:12px;color:#aaa;font-weight:550;margin:2px 0 9px}.during-chat-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#e4e4e4;font-size:15px;line-height:1.85}
.during-user-message .during-chat-role{font-size:10px;color:#a0a0a0}.during-user-content{min-width:0}
.during-message-state,.during-message-error{font-size:12px;line-height:1.7;margin:12px 0 0;padding:10px 13px;border-radius:8px;background:#2e2e2e;color:#a8a8a8}
.during-message-error{color:#d3a5a0;background:#3b2c2a;border:1px solid #59403d}.during-pending{display:flex;align-items:center;gap:10px;color:#aaa;font-size:12px;padding:8px 0 4px}.during-pending-dot{width:8px;height:8px;border-radius:50%;background:#aaa;animation:request-pulse 1.2s ease-in-out infinite}
.during-draft-review{border:1px solid #4a544b;background:#272e28;border-radius:15px;padding:23px;margin:0 0 6px 48px;min-width:0}
.during-draft-review h2{font-size:19px;line-height:1.4;margin:10px 0;color:#e1e7e0;font-weight:550}.during-draft-review>p{font-size:13px;line-height:1.8;color:#b8c2b8;white-space:pre-wrap}.during-draft-review .during-subdomain{color:#8fa48f;font-size:11px}.during-draft-review .during-prompt-detail{margin-top:13px}
.during-submit-request{border:1px solid #637264!important;background:#cddaca;color:#243024!important;padding:10px 17px;border-radius:20px;font-size:12px!important;font-weight:600;margin-top:8px}.during-submit-request:hover{background:#dce6d9}.during-saved-note{padding:14px 18px;border:1px solid #465849;border-radius:10px;color:#a8c6ad;background:#26332a;font-size:12px;margin:4px 0 10px}
@keyframes request-pulse{0%,100%{opacity:.4}50%{opacity:1}}
@media(max-width:1000px){.during-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.during-composer-wrap{padding:4px 12px 9px}.during-composer{padding:10px 12px 9px;border-radius:23px}.during-chat-input{font-size:16px!important;min-height:43px;padding-bottom:7px!important}.during-composer-tools{gap:5px}.during-provider{font-size:10px!important;max-width:120px}.during-compose-tool{font-size:10px!important;padding:6px 8px!important;min-height:30px}.during-send{width:31px;height:31px;flex-basis:31px;font-size:21px!important}.during-composer-note{font-size:9px;line-height:1.5;margin-top:6px}.during-empty.chat-welcome{padding:4vh 0 20px}.chat-welcome .during-empty-description{font-size:12px;margin-bottom:20px;padding:0 10px}.during-sample-grid{gap:8px}.during-sample-card{padding:13px 12px;min-height:91px;gap:7px}.during-sample-card strong{font-size:11px}.during-sample-kicker{font-size:8px}.during-sample-banner{font-size:10px;padding:10px 12px;margin-bottom:22px}.during-chat-text{font-size:14px;line-height:1.8}.during-chat-role{font-size:11px}.during-draft-review{margin-left:0;padding:18px}.during-draft-review h2{font-size:17px}.during-draft-review>p{font-size:12px}.during-pending{font-size:11px}.during-media{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.during-pending-dot{animation:none}}
.during-chat-link{color:#c2d7eb!important;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.during-chat-link:hover{color:#e4f2ff!important}
.during-linked-request{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:48px;padding:18px 20px;background:#292d29;border:1px solid #465047;border-radius:13px;min-width:0}.during-linked-request>.during-sample-kicker{width:100%}.during-linked-request h2{font-size:16px;font-weight:550;margin:0;flex:1 1 180px;overflow-wrap:anywhere}.during-linked-request .during-open-prototype{margin-left:auto}
@media(max-width:760px){.during-linked-request{margin-left:0;padding:16px}.during-linked-request h2{font-size:14px}.during-linked-request .during-open-prototype{margin-left:0}}
.during-composer-wrap>.during-feedback{margin:0 auto 10px;padding:10px 14px;font-size:12px;max-height:100px;overflow:auto}

/* Composer attachments and contextual actions. */
.during-composer{position:relative;overflow:visible;padding-top:12px}
.during-composer-tools{position:relative}
.during-add-button{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;background:transparent;color:#d1d1d1!important;font-size:25px!important;line-height:1;flex:0 0 34px}
.during-add-button:hover,.during-add-button[aria-expanded=true]{background:#454545}
.during-add-menu{position:absolute;z-index:10;left:12px;bottom:58px;width:220px;padding:6px;border:1px solid #505050;border-radius:13px;background:#303030;box-shadow:0 12px 35px #0007;display:grid;gap:2px}
.during-add-option{background:transparent;color:#dedede!important;text-align:left;font-size:13px!important;border-radius:7px;padding:11px 12px}
.during-add-option:hover{background:#444}
.during-attachment-tray{display:flex;gap:8px;flex-wrap:wrap;max-height:180px;overflow:auto;padding-bottom:4px}
.during-attachment-tray:empty,.during-mode-tray:empty{display:none}
.during-attachment-chip{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 6px;min-width:0;max-width:100%;border:1px solid #505050;border-radius:11px;background:#393939}
.during-attachment-name{font-size:11px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ddd;line-height:1.5}
.during-attachment-name small{display:block;font-size:9px;color:#9d9d9d;overflow:hidden;text-overflow:ellipsis}
.during-attachment-thumb{width:34px;height:34px;flex:0 0 34px;padding:0;border-radius:6px;overflow:hidden;background:#252525}
.during-attachment-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.during-file-icon{font-size:25px;color:#aaa;width:29px;text-align:center;flex:0 0 29px}
.during-chip-remove{display:grid;place-items:center;width:23px;height:23px;padding:0;border-radius:50%;background:transparent;color:#bcbcbc!important;font-size:17px!important;flex:0 0 23px}
.during-chip-remove:hover{background:#515151;color:#fff!important}
.during-upload-retry{font-size:10px!important;padding:4px 6px;border-radius:5px;background:#49413a;color:#d0c4b8!important}
.during-mode-tray{display:flex;padding:1px 0 7px}
.during-mode-chip{display:flex;align-items:center;gap:9px;background:#373c41;border:1px solid #505a63;border-radius:17px;padding:4px 7px 4px 10px;color:#b8ccd9;font-size:11px}
.during-document-card{display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid #464646;background:#292929;border-radius:11px;min-width:0;max-width:100%;margin:10px 0}
.during-document-card>div{min-width:0;flex:1}.during-document-card strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.during-document-card small{display:block;font-size:10px;color:#999;margin-top:5px;line-height:1.5}.during-document-card .during-open-prototype{font-size:10px;flex-shrink:0}
.during-image-link{display:block;padding:0;width:100%;cursor:zoom-in;color:inherit}
.during-simulation-choices{display:flex;gap:8px;flex-wrap:wrap;padding-left:48px;margin-top:0}
.during-simulation-choice{padding:9px 13px;border:1px solid #4b4b4b!important;border-radius:18px;font-size:11px!important;color:#c1c1c1!important;background:#292929;text-align:left}
.during-simulation-choice:hover{background:#393939;border-color:#666!important}
.during-review-guidance{font-size:11px!important;color:#9fae9f!important;line-height:1.7!important;margin:17px 0!important}
.chat-welcome{justify-content:center}.chat-welcome h1{margin-bottom:8px!important}
/* In-page image viewer. Translation is in screen pixels; zoom remains independent. */
body[data-mode] dialog.during-image-viewer{width:min(1280px,96vw);height:90dvh;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:0;border:1px solid #505050;border-radius:15px;background:#161616;overflow:hidden;color:#eee}
.during-viewer-top{height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 13px 0 19px;background:#232323;border-bottom:1px solid #3c3c3c}
.during-viewer-top>strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.during-viewer-tools{display:flex;align-items:center;gap:4px;flex-shrink:0}
.during-viewer-button{min-width:33px;height:33px;padding:0 8px;border-radius:6px;background:transparent;color:#ccc!important;font-size:16px!important}
.during-viewer-button:hover{background:#414141}
.during-zoom-label{font-size:10px;width:38px;text-align:center;color:#aaa}
.during-viewer-stage{position:relative;width:100%;height:calc(100% - 54px);overflow:hidden;touch-action:none;cursor:grab;user-select:none;outline-offset:-3px;background:radial-gradient(#232323,#151515)}
.during-viewer-stage:active{cursor:grabbing}.during-viewer-stage>img{position:absolute;left:50%;top:50%;transform-origin:center;max-width:none;max-height:none;object-fit:contain;pointer-events:none;user-select:none;will-change:transform}
@media(max-width:760px){.during-add-button{width:31px;height:31px;flex-basis:31px;font-size:23px!important}.during-add-menu{left:8px;bottom:54px;width:min(230px,calc(100vw - 50px))}.during-attachment-name{max-width:145px;font-size:10px}.during-attachment-chip{gap:6px}.during-attachment-tray{max-height:145px}.during-simulation-choices{padding-left:0;gap:7px}.during-simulation-choice{font-size:10px!important;padding:8px 11px}.during-document-card{gap:8px;padding:11px}.during-document-card strong{font-size:11px}.during-document-card .during-open-prototype{font-size:9px;padding:7px 9px}.during-viewer-top{padding-left:11px;gap:8px}.during-viewer-top>strong{font-size:10px}.during-viewer-tools{gap:0}.during-viewer-button{min-width:30px;padding:0 6px}.during-zoom-label{width:32px;font-size:9px}body[data-mode] dialog.during-image-viewer{height:92dvh;border-radius:12px}.during-composer-note{font-size:9px}}

/* During Hours tools, Live voice and artifact drawer */
.during-shell.artifacts-open{grid-template-columns:260px minmax(0,1fr) minmax(280px,330px)}
.during-shell.sidebar-collapsed.artifacts-open{grid-template-columns:0 minmax(0,1fr) minmax(280px,330px)}
.during-shell .during-artifacts[hidden],.during-shell .during-live-bar[hidden],.during-shell .during-voice-button[hidden]{display:none}
.during-artifacts-toggle,.during-voice-button{
 display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;border-radius:8px;
 background:#303030;color:#efedeb;font-size:12px!important;font-weight:620!important;white-space:nowrap;
}
.during-artifacts-toggle:hover,.during-voice-button:hover,.during-artifacts-toggle[aria-expanded=true]{background:#424242}
.during-artifacts-toggle::before,.during-voice-button::before{
 content:"";display:inline-block;width:15px;height:15px;flex:0 0 15px;background:currentColor;
 mask:var(--during-action-icon) center/contain no-repeat;
}
.during-artifacts-toggle{--during-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M15 4v16'/%3E%3C/svg%3E")}
.during-voice-button{
 --during-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3m-3 0h6'/%3E%3C/svg%3E");
 background:#e2e9e5;color:#23322a!important;
}
.during-voice-button:hover{background:#fff}
.during-live-bar{
 width:100%;max-width:760px;min-height:64px;margin:0 auto;display:flex;align-items:center;gap:9px;flex-wrap:wrap;
 padding:11px 14px;border:1px solid #454a46;border-radius:14px;background:#2b302d;
}
.during-live-bar+.during-composer{margin-top:0}
.during-live-bar:not([hidden])+.during-composer{display:none}
.during-voice-state{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}
.during-voice-state::before{content:"";width:8px;height:8px;border-radius:50%;background:#9cd5ac;box-shadow:0 0 0 3px #9cd5ac22}
.during-voice-time{font-size:12px;color:#b7c4bb;font-variant-numeric:tabular-nums;white-space:nowrap;margin-right:auto}
.during-end-voice{padding:9px 12px;border-radius:8px;background:#5b3938;color:#ffdedb;font-size:12px!important;font-weight:620!important}
.during-end-voice:hover{background:#744743}
.during-artifacts{
 display:flex;flex-direction:column;min-width:0;min-height:0;background:#191a19;border-left:1px solid #353735;
}
.during-artifacts-header{position:static;inset:auto;z-index:auto;width:auto;display:flex;flex:0 0 58px;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #353735}
.during-artifacts-header h2{line-height:1.3;font-family:inherit;font-size:15px;font-weight:650;margin:0}
.during-artifacts-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;overflow-wrap:anywhere}
.during-artifact-project{font-size:15px;font-weight:650;margin:0}
.during-artifact-meta,.during-artifact-usage,.during-artifact-empty{display:block;font-size:12px;color:#b1b3b0;margin:4px 0 14px}
.during-artifact-usage{padding:8px 10px;border-radius:7px;background:#292b29}
.during-artifact-notice{font-size:13px;padding:10px 12px;margin:0 0 11px;border:1px solid #454c46;border-radius:9px;background:#2b322d;color:#d5dfd7}
.during-artifact-brief{margin:0 0 10px;border:1px solid #3d403d;border-radius:9px;background:#232523;padding:0 10px}
.during-artifact-brief>summary{cursor:pointer;padding:12px 1px;color:#e5e8e4;font-weight:650}
.during-artifact-brief p,.during-artifact-brief li{font-size:12px;color:#c8ccc7;white-space:pre-wrap}
.during-artifact-brief .during-prompt-detail p,.during-artifact-brief ul{padding:0 12px;margin:10px 0}
.during-artifact-brief ul{padding-left:25px}
.during-artifact-link{
 display:block;margin:0 0 8px;padding:10px 11px;border:1px solid #424542;border-radius:8px;text-decoration:none;color:#e4e7e4;
 font-size:12px;font-weight:620;background:#282b28;
}
.during-artifact-link:hover,.during-artifact-link.selected{background:#414841;border-color:#626c62}
.during-artifacts-body h3{margin:14px 0 7px;color:#b7bcb5;font-size:12px;font-weight:650}
.during-artifact-item{
 width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 8px;
 text-align:left;padding:8px 9px;margin-bottom:5px;background:#272927;border-radius:7px;min-height:41px;
}
.during-artifact-item:hover{background:#353835}
.during-artifact-item strong{min-width:0;font-size:12px;overflow-wrap:anywhere}
.during-artifact-item small,.during-artifact-item span{font-size:10px;color:#b7bcb5}
.during-artifact-item img{width:35px;height:35px;grid-row:span 2;object-fit:cover;border-radius:4px}
.during-artifact-item:has(img){grid-template-columns:35px minmax(0,1fr) auto}
.during-shell.artifacts-open .during-thread .during-image{max-height:280px}
.during-artifacts .during-figure{margin:0 0 12px}
.during-artifacts .during-image-link{width:100%}
.during-add-menu{border:1px solid #565956!important;border-radius:12px!important;padding:5px!important;background:#272a27!important}
.during-add-option{min-height:40px;text-align:left;padding:8px 11px!important;border-radius:7px!important}
.during-add-option:hover,.during-add-option:focus-visible{background:#3b403c!important}
.during-side-action{min-height:41px}
#panel .workspace-dialog-heading{position:static;inset:auto;z-index:auto;width:auto;display:block;padding:0 34px 14px 0;margin:0 0 14px;border-bottom:1px solid #ffffff24}
#panel .workspace-dialog-heading h2{margin:0;font-size:clamp(23px,4vw,32px);outline:none}
#panel .workspace-dialog-heading .dialog-copy{margin:10px 0 0;white-space:pre-wrap}
#panel .workspace-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
#panel .office-section{margin:18px 0}
#panel .office-section h3{font-size:14px;margin:0 0 8px}
#panel .office-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#panel .office-menu-action{
 display:grid;gap:5px;min-width:0;text-align:left;padding:12px;border-radius:9px;
 color:inherit;background:#ffffff0c;border:1px solid #ffffff22;font:inherit;box-shadow:none;
}
#panel .office-menu-action:hover{background:#ffffff1a}
#panel .office-menu-action strong{font-size:14px}
#panel .office-menu-action span{color:#b9b9b9;font-size:12px;line-height:1.45}
#panel .request-management{padding:14px;border:1px solid #ffffff24;border-radius:10px}
#panel .request-slot-option{display:flex;align-items:center;gap:9px;margin:8px 0 0}
#panel .request-slot-option input{width:17px;height:17px;margin:0;accent-color:#a7c2ae}
#panel .request-export-options{margin:16px 0 0;padding:11px 14px;border:1px solid #ffffff24;border-radius:10px}
#panel .request-export-options summary{cursor:pointer;font-weight:650;font-size:13px}
#panel .request-export-options .action-row{margin-top:10px}
#panel .request-export-options a[aria-disabled=true]{opacity:.45}
@media(min-width:1041px) and (max-width:1240px){.during-shell.artifacts-open{grid-template-columns:218px minmax(0,1fr) 285px}}
@media(max-width:1040px){
 .during-shell.artifacts-open{grid-template-columns:240px minmax(0,1fr)}
 .during-shell.sidebar-collapsed.artifacts-open{grid-template-columns:0 minmax(0,1fr)}
 .during-artifacts{position:absolute;z-index:3;inset:0 0 0 auto;width:min(355px,92vw);box-shadow:-20px 0 45px #0007}
}
@media(max-width:760px){
 .during-artifacts{width:min(390px,100%);z-index:5}
 .during-topbar .during-icon-button[aria-label="Refresh requests"]{display:none}
 .during-artifacts-toggle,.during-voice-button{min-height:38px;padding:0 9px}
 .during-live-bar{padding:10px;gap:7px}
 .during-voice-state{font-size:12px}
 .during-end-voice{padding:8px 9px;font-size:11px!important}
 #panel{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:16px}
 #panel .office-menu{grid-template-columns:1fr}
}

/* The same top bar is shared by the conversation workspace and the walkable club. */
:root{
 --hours-bar-height:48px;
 --hours-safe-top:env(safe-area-inset-top,0px);
 --hours-content-top:calc(var(--hours-bar-height) + var(--hours-safe-top));
}
#hours-mode-switch{
 position:fixed;inset:0 0 auto;z-index:110;display:grid;place-items:center;
 height:var(--hours-content-top);padding-top:var(--hours-safe-top);
 background:#212121;border-bottom:1px solid #ffffff13;
}
body[data-mode="after"] #hours-mode-switch{background:#111019}
.hours-mode-options{
 display:flex;align-items:stretch;gap:2px;padding:3px;max-width:calc(100vw - 20px);
 background:#2b2b2f;border:1px solid #ffffff10;border-radius:999px;
}
.hours-mode-options button{
 flex:1 0 auto;min-height:29px;min-width:102px;white-space:nowrap;
 border:0;border-radius:999px;padding:3px 11px;background:transparent;color:#b9bbbe;
 font:600 12px/1.4 system-ui,sans-serif;box-shadow:none;
}
.hours-mode-options button:hover{background:#ffffff10;filter:none}
.hours-mode-options button[aria-pressed="true"]{background:#44464b;color:#fff}
.hours-mode-options button:focus-visible{outline:2px solid #cfd7d7;outline-offset:1px}
.during-shell{top:var(--hours-content-top)}
body[data-mode="after"] #game-hud{top:calc(var(--hours-content-top) + 12px)}

.during-compose-actions{display:inline-flex;align-items:center;gap:6px;margin-left:auto}
.during-compose-actions .during-send{margin-left:0}
.during-compose-actions .during-voice-button{
 display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;
 border-radius:50%;background:transparent;color:#e5e5e5!important;
}
.during-compose-actions .during-voice-button:hover{background:#454545}
.during-compose-actions .during-voice-button::before{width:20px;height:20px}
.during-voice-visual{
 position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:760px;height:134px;
 margin:0 auto 8px;border:1px solid #444656;border-radius:14px;background:
 radial-gradient(ellipse at 50% 40%,#373549 0%,#262733 53%,#24252b 100%);
}
.during-voice-backdrop{position:absolute;inset:0;width:100%;height:100%}
.during-voice-sculpture{
 position:relative;display:block;width:min(245px,100%);height:100%;margin:auto;outline-offset:-4px;
}
.during-voice-sculpture:focus-visible{outline:2px solid #acb5e9;border-radius:12px}
@media(max-width:760px){
 .during-voice-visual{height:108px}
 .during-compose-actions .during-voice-button{width:38px;height:38px;min-height:38px}
}

.during-chat-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:2px;align-items:center;min-width:0}
.during-chat-row .during-request-link{min-width:0}
.during-chat-options{width:30px;height:30px;border-radius:7px;background:transparent;font-size:18px!important;color:#a9aaa9!important}
.during-chat-options:hover,.during-chat-options[aria-expanded=true]{background:#393939;color:#fff!important}
.during-chat-tools{grid-column:1/-1;display:flex;gap:4px;flex-wrap:wrap;padding:3px 0 5px 11px}
.during-chat-tool{min-height:31px;padding:4px 9px;border-radius:6px;background:#2b2b2b;color:#eee;font-size:12px!important}
.during-chat-tool:hover{background:#424242}
.during-archive{margin:9px 0 3px}
.during-archive>summary{cursor:pointer;color:#aaa;font-size:11px;font-weight:650;padding:7px 10px}
.during-chat-rename{width:min(410px,calc(100vw - 28px));border-radius:14px;padding:20px}
.during-chat-rename h2{font-size:19px;margin:0 0 14px}
.during-chat-rename input{display:block;width:100%;padding:9px;border-radius:7px;border:1px solid #666;font:inherit}
.during-chat-rename-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}
.during-speaker-time{margin-left:8px;color:#a6a6a6;font-size:10px;font-weight:400}

#panel:has(.usage-metrics){width:min(1000px,calc(100% - 24px))}
#panel .usage-period{width:auto;min-width:122px;padding:8px;margin:0}
#panel .usage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 12px}
#panel .usage-metric{padding:13px 12px;border:1px solid #ffffff25;border-radius:10px;background:#ffffff08}
#panel .usage-metric h3{font:600 12px/1.3 system-ui,sans-serif;margin:0 0 10px}
#panel .usage-metric strong{display:block;font:650 22px/1.25 system-ui,sans-serif;font-variant-numeric:tabular-nums}
#panel .usage-metric .fine{margin:7px 0 0;line-height:1.5}
#panel .usage-notice{border:1px solid #887452;padding:10px 12px;border-radius:8px;background:#b59b5921}
#panel .usage-table-scroll{overflow:auto;max-width:100%;border:1px solid #ffffff25;border-radius:9px}
#panel .usage-table{border-collapse:collapse;width:100%;min-width:680px;font-size:12px;font-variant-numeric:tabular-nums}
#panel .usage-table th,#panel .usage-table td{padding:8px;text-align:right;border-bottom:1px solid #ffffff22;vertical-align:middle}
#panel .usage-table th:first-child,#panel .usage-table .usage-model{text-align:left}
#panel .usage-table small{display:block;color:#bababa;margin-top:3px;font-size:10px}
#panel .usage-table .secondary{padding:5px 7px;font-size:10px;white-space:nowrap}
@media(max-width:560px){
 #panel .usage-metrics{grid-template-columns:1fr}
 #panel .usage-metric strong{font-size:19px}
}
