/* WIZ-informed workspace: a quiet navigation rail, a focused assistant, an editable canvas. */
:root{--desk-ground:#f5f6f8;--desk-card:#fff;--desk-border:#e7eaf0;--desk-muted:#667387;--desk-shadow:0 3px 16px #25395507,0 1px 3px #25395504}
:root[data-theme=dark]{--desk-ground:#15191f;--desk-card:#20262f;--desk-border:#343e4b;--desk-muted:#a1afc0;--desk-shadow:0 5px 18px #0002}
body{background:var(--desk-ground);font-size:15px;font-weight:450;letter-spacing:-.025em;line-height:1.55}
.topbar{height:58px;padding:0 28px 0 244px;background:var(--desk-card);border-bottom:1px solid var(--desk-border);backdrop-filter:blur(20px)}
.brand{font-size:21px;letter-spacing:-.06em}.toolbar-divider{height:18px}.top-actions #sync-status{font-size:12px;color:var(--desk-muted)}
.app-layout{display:grid;grid-template-columns:220px minmax(0,1fr);width:100%;max-width:none;margin:0;min-height:calc(100dvh - 58px)}
#sidebar-slot{grid-column:1;background:var(--desk-card);border-right:1px solid var(--desk-border)}
.sidebar{position:fixed;left:0;top:0;width:220px;height:100dvh;padding:20px 14px 12px;background:var(--desk-card);border:0;z-index:40}
.sidebar-heading{height:48px;padding:0 12px 16px;color:var(--text);font-size:20px;font-weight:750}.sidebar-heading>span{font-size:0}.sidebar-heading>span:after{content:'김비서.';font-size:23px;letter-spacing:-.06em}
.sidebar nav{padding-top:12px}.nav-item,.nav-group .nav-item{min-height:40px;padding:9px 12px;font-size:14px;font-weight:550;border-radius:9px;gap:10px;margin:2px 0}
.nav-item.selected{color:var(--accent);background:var(--soft);box-shadow:none}.nav-item svg,.nav-group summary svg{width:19px;height:19px;stroke-width:1.7}
.nav-group{margin:14px 0 6px}.nav-group summary{font-size:14px;min-height:38px;padding:8px 12px;gap:10px;font-weight:550}.nav-group .nav-item{padding-left:27px;font-size:13px;min-height:37px}
.sidebar-settings{border-top:1px solid var(--desk-border);padding-top:10px}.setting-button{font-size:12px;min-height:36px;padding:8px 12px}.theme-switch{transform:scale(.85);transform-origin:right}
#main-content{min-width:0;width:100%;max-width:1360px;margin:0 auto;padding:30px 40px 0;grid-column:2}
#inspector-slot{display:none}.right-sheet{width:min(460px,94vw)}.side-sheet .inspector{border:0;background:var(--desk-card);height:100%;overflow:auto}.side-sheet .sheet-close{display:inline-grid}.side-sheet .sidebar{width:100%;z-index:auto}
.page-heading{margin-bottom:22px}.page-heading h1{font-size:28px;font-weight:750;letter-spacing:-.045em}.page-heading p{font-size:15px;margin-top:5px}.page-heading #today{font-size:12px;color:var(--desk-muted)}
#workspace-page>.page-heading h1{font-size:15px;font-weight:600;color:var(--desk-muted)}#workspace-page>.page-heading p{display:none}#workspace-page>.page-heading{margin-bottom:16px}
.assistant-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:auto 1fr;background:var(--desk-card);border:1px solid var(--desk-border);border-radius:24px;box-shadow:var(--desk-shadow);padding:26px 30px 24px 8px;position:relative;min-height:314px}
.presence-card{display:contents}.core-stage{grid-column:1;grid-row:1/3;position:relative;width:230px;height:280px;min-width:0;align-self:center;margin:0;overflow:hidden;border-radius:20px;cursor:pointer;isolation:isolate;touch-action:pan-y}
.core-stage canvas{display:block;width:100%;height:100%;position:relative;z-index:1}.core-stage:before,.core-stage:after,.core-center,.secretary-portrait{display:none!important}.character-description{font-size:13px;position:absolute;inset:40% 12px auto;text-align:center;color:var(--desk-muted)}
.presence-copy{grid-column:2;align-self:end;min-width:0;padding:0 0 8px;position:relative}.presence-copy h2{font-size:29px;line-height:1.3;letter-spacing:-.05em;margin:6px 0 8px;font-weight:750}.presence-copy p{font-size:14px;color:var(--desk-muted);margin:0 0 6px;max-width:none}.core-caption{font-size:12px;line-height:1.4;margin:0;color:var(--accent)}
#start-conversation{display:none}#presence-details,.wave-button{font-size:12px;min-height:30px;padding:4px 10px;border-radius:8px;margin:4px 6px 0 0;box-shadow:none;background:var(--soft);border-color:transparent}#presence-details svg{width:14px}
.command-panel{grid-column:2;margin:0;padding:0!important;box-shadow:none!important;background:none!important;border:0!important;border-radius:0!important;backdrop-filter:none!important}.command-panel>.card-heading{display:none}.command-panel #prompt-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.command-panel #task-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.command-panel .input-surface{order:0;width:100%;border:1px solid #d5deea;background:var(--input);border-radius:14px;box-shadow:inset 0 1px 3px #1e365008}.command-panel #prompt{min-height:82px;height:82px;padding:14px 16px;font-size:15px;line-height:1.6;resize:vertical;background:transparent;border:0;max-height:350px}
.command-panel #prompt::placeholder{font-weight:400;color:var(--placeholder)}.command-panel .input-footer{display:none}.command-panel .resize-controls{display:none}.command-panel .compose-bottom{order:2;margin:0 0 0 auto;display:block}.command-panel #submit-task{min-height:40px;padding:9px 17px;font-size:13px;border-radius:10px}.command-panel #form-message{order:3;width:100%;margin:0;font-size:13px}.command-panel #form-message:empty{display:none}
.request-options{order:1;flex:1;min-width:0;font-size:12px;color:var(--desk-muted);max-width:100%}.request-options summary{cursor:pointer;padding:8px 0;list-style:revert}.request-options[open]{order:3;flex-basis:100%;padding:12px 16px;background:var(--soft);border-radius:12px}.request-options .project-context{margin:10px 0}.request-options .type-tabs{margin:10px 0}.request-options label{font-size:12px}.request-options select{min-height:38px;font-size:13px;padding:8px 12px}.request-options .model-field{max-width:none}.request-options .type-tabs button{font-size:13px;min-height:36px;padding:5px 8px}
.desk-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 28px}.summary-item{display:flex;align-items:center;gap:10px;min-height:64px;background:var(--desk-card);border:1px solid var(--desk-border);box-shadow:var(--desk-shadow);padding:14px 18px;border-radius:14px;font-size:13px}.summary-item svg{width:25px;height:25px;color:#6d85c8;padding:4px;background:var(--soft);border-radius:7px}.summary-item span{color:var(--desk-muted)}.summary-item strong{font-size:17px;margin-left:auto}.summary-item:hover{border-color:var(--accent)}
.board-heading{margin:0 0 6px}.board-heading h2{font-size:18px;font-weight:700}.dashboard-actions{display:flex;gap:7px}.dashboard-actions .button{min-height:34px;padding:6px 11px;font-size:12px;border-radius:9px}.board-hint{font-size:12px;margin:0 0 16px;max-width:none;color:var(--desk-muted)}
#home-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;overflow:visible;padding:0;align-items:start;margin:0;scroll-snap-type:none}
.dashboard-tile{min-width:0;position:relative;grid-column:span 1}.dashboard-tile[data-span="2"]{grid-column:span 2}.dashboard-tile[hidden]{display:none}.dashboard-tile>.content-panel,.dashboard-tile>.widget{display:flex;flex-direction:column;min-width:0;min-height:320px;height:100%;padding:20px!important;background:var(--desk-card);border:1px solid var(--desk-border);border-radius:18px;box-shadow:var(--desk-shadow);backdrop-filter:none;margin:0!important}
.dashboard-tile h2,.dashboard-tile .card-heading h2{font-size:16px;font-weight:700;letter-spacing:-.03em;margin:0 0 12px}.dashboard-tile .card-heading h2{margin:0}.dashboard-tile .visual-title{gap:9px}.dashboard-tile .visual-title svg{width:24px;height:24px;padding:3px;border-radius:7px;background:var(--soft)}
.dashboard-tile .card-tools{display:none}.dashboard-tile .small-muted{font-size:12px}.dashboard-tile .card-action{margin-top:auto;padding-top:14px}.dashboard-tile .card-action .button,.dashboard-tile #all-history{min-height:34px;font-size:12px;padding:6px 11px;border-radius:9px;width:auto;align-self:flex-start;background:var(--soft);border:1px solid transparent;box-shadow:none}
.dashboard-tile .weather-panel{background:linear-gradient(145deg,#eef7ff,#fff 75%)}.dashboard-tile .weather-value{font-size:46px;line-height:1}.dashboard-tile .weather-scene{min-height:98px;margin:6px 0}.dashboard-tile .weather-scene svg{width:100px;height:100px}.dashboard-tile .weather-facts{margin-top:8px}.dashboard-tile .weather-facts .metric-line{font-size:12px}.dashboard-tile .weather-facts .metric-line strong{font-size:14px}
.dashboard-tile .quote-row{padding:10px 0}.dashboard-tile .quote-name strong{font-size:13px}.dashboard-tile .quote-price strong{font-size:14px}.dashboard-tile .quote-change{font-size:12px}.dashboard-tile .quote-name .small-muted{font-size:11px}.dashboard-tile .compact-gauges{margin:8px 0;gap:8px}.dashboard-tile .gauge svg{max-height:100px}
.dashboard-tile #recent-jobs{max-height:280px;overflow:auto}.dashboard-tile .job-row{padding:12px 0}.dashboard-tile .job-text strong{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dashboard-tile .job-text small{font-size:11px}.dashboard-tile .job-icon{width:29px;height:29px;font-size:10px;border-radius:9px}.dashboard-tile .job-row .badge{font-size:11px;white-space:nowrap}.dashboard-tile #all-history{margin-top:auto}
.dashboard-tile .quick-actions{display:grid;gap:10px}.dashboard-tile .quick-actions button{border:1px solid var(--desk-border);border-radius:12px;padding:14px 10px;background:var(--desk-ground);gap:8px}.dashboard-tile .quick-actions strong{font-size:13px}.dashboard-tile .quick-actions small{font-size:12px}.dashboard-tile .quick-actions svg{width:19px}
.dashboard-tile #home-chat{max-height:390px}.dashboard-tile #chat-timeline{max-height:290px;font-size:13px}.dashboard-tile .chat-user{margin-left:12px;padding:10px 13px}.dashboard-tile #home-news{max-height:390px;overflow:auto}.dashboard-tile .news-row a{font-size:13px;line-height:1.5;padding:0;text-align:left;background:none;border:0;min-height:0;box-shadow:none;display:block;color:var(--text)}.dashboard-tile .news-row{padding:9px 0}.dashboard-tile .news-row p{font-size:11px}
#widget-board{display:none}#workspace-page>#home-chat{display:none}.tile-controls{display:none}.is-editing .tile-controls{display:flex;align-items:center;gap:2px;padding:7px 9px;background:var(--soft);border:1px dashed var(--accent);border-radius:12px 12px 0 0}.is-editing .dashboard-tile>.content-panel,.is-editing .dashboard-tile>.widget{border-radius:0 0 16px 16px}.tile-tool,.tile-grab{min-height:32px;padding:4px 8px;border-radius:6px;font-size:11px;color:var(--text);white-space:nowrap}.tile-tool:hover,.tile-tool[aria-pressed=true]{background:var(--desk-card);box-shadow:0 1px 4px #17243614}.tile-grab{touch-action:none;cursor:grab;font-size:17px;margin-right:auto}.tile-drag-source{opacity:.28}.tile-ghost{position:fixed;z-index:150;pointer-events:none;overflow:hidden;opacity:.96;box-shadow:0 20px 50px #23375635;border-radius:18px}
.widget-catalog{width:min(440px,calc(100% - 32px));padding:24px}.widget-catalog h2{font-size:20px;margin:0}.widget-catalog .button{min-height:34px;font-size:12px}.widget-choice{display:flex;align-items:center;gap:12px;padding:14px 4px;border-top:1px solid var(--desk-border);font-size:14px}.widget-choice input{width:18px;height:18px;accent-color:var(--accent)}
.content-panel,.history-panel{border:1px solid var(--desk-border);box-shadow:var(--desk-shadow)}.detail-grid .content-panel{padding:22px}.button{font-weight:600;letter-spacing:-.02em;transition:background .18s,box-shadow .18s,transform .18s}.button:active{transform:scale(.97)}.button.secondary{box-shadow:none}.icon-button:hover{background:var(--soft)}
:root[data-theme=dark] .dashboard-tile .weather-panel{background:linear-gradient(145deg,#23374d,var(--desk-card) 85%)}:root[data-theme=dark] .command-panel .input-surface{border-color:#47556b}:root[data-theme=dark] .summary-item svg{color:#a4bbfc}
@media(min-width:1700px){#main-content{padding-top:36px;padding-inline:52px}.assistant-workspace{grid-template-columns:260px minmax(0,1fr)}.core-stage{width:250px;height:290px}}
@media(max-width:1100px){#main-content{padding:24px}.app-layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{width:200px}.topbar{padding-left:224px}.assistant-workspace{grid-template-columns:185px minmax(0,1fr);padding:22px 22px 20px 0}.core-stage{width:185px;height:260px}.presence-copy h2{font-size:25px}#home-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-summary{gap:10px}.summary-item{padding:12px;font-size:12px}.summary-item strong{font-size:15px}}
@media(max-width:760px){.topbar{padding:0 14px;height:56px}.app-layout{display:block}.sidebar{position:static;width:100%;padding:18px 14px}.sidebar-heading{height:50px}#sidebar-slot{display:none}#main-content{padding:20px 16px 0}.brand{font-size:20px}#today{display:none}.page-heading h1{font-size:25px}.assistant-workspace{display:grid;grid-template-columns:112px minmax(0,1fr);padding:14px 16px 18px;gap:8px 0;border-radius:20px;min-height:0}.core-stage{width:125px;height:180px;grid-column:1;grid-row:1;margin-left:-14px}.presence-copy{grid-column:2;grid-row:1;padding:0}.presence-copy h2{font-size:21px;line-height:1.35;margin:7px 0}.presence-copy p{font-size:12px;margin-bottom:6px}.core-caption{font-size:11px}.presence-copy #presence-details{display:inline-flex;min-height:30px;font-size:11px}.wave-button{font-size:11px;min-height:30px;margin:4px 0 0}.command-panel{grid-column:1/3;grid-row:2}.command-panel #prompt{font-size:16px;height:78px;min-height:78px;padding:12px}.command-panel #submit-task{font-size:12px;width:auto;min-height:38px;padding:8px 12px}.command-panel .request-options{font-size:11px}.desk-summary{gap:7px;margin:12px 0 24px}.summary-item{flex-wrap:wrap;justify-content:center;gap:3px 5px;padding:10px 6px;border-radius:12px;min-height:70px}.summary-item svg{width:20px;height:20px;padding:3px}.summary-item span{font-size:10px}.summary-item strong{flex-basis:100%;margin:0;font-size:14px}.board-heading h2{font-size:17px}.dashboard-actions{gap:4px}.dashboard-actions .button{font-size:11px;padding:5px 8px;min-height:34px;width:auto}.board-hint{font-size:11px;margin-bottom:14px}#home-overview{grid-template-columns:1fr;gap:14px}.dashboard-tile[data-span="2"]{grid-column:auto}.dashboard-tile>.content-panel,.dashboard-tile>.widget{min-height:0;padding:20px!important}.dashboard-tile .card-action{padding-top:16px}.dashboard-tile .weather-scene{min-height:94px}.dashboard-tile .compact-gauges{max-width:300px;align-self:center;width:100%}.dashboard-tile #home-chat,.dashboard-tile #home-news{max-height:400px}.tile-tool{font-size:12px;min-height:36px;padding:5px 10px}.tile-grab{min-height:36px}.right-sheet{width:min(430px,94vw)}.sheet-close{width:36px}.detail-grid{grid-template-columns:1fr}.dashboard-tile .card-action .button{width:auto}.widget-catalog .button{width:auto}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}
/* Legibility and aligned card action rows at each grid size. */
#home-overview{align-items:stretch}.dashboard-tile{display:flex;flex-direction:column}.dashboard-tile>.content-panel,.dashboard-tile>.widget{flex:1;height:auto}
.dashboard-tile .small-muted{font-size:13px}.dashboard-tile .card-action .button,.dashboard-tile #all-history{font-size:13px;min-height:36px}.dashboard-tile .visual-heading svg{width:23px;height:23px;padding:3px;border-radius:6px;background:var(--soft)}
.tile-tool svg,.tile-grab svg{width:16px;height:16px;display:block}.tile-grab svg{width:18px;height:18px}.character-description[hidden]{display:none}.core-stage[data-renderer=unavailable] canvas{display:none}
.presence-copy h2,.brand,.page-heading h1,.sidebar-heading>span:after{letter-spacing:-.04em}
.summary-item:nth-child(2) svg{color:#a37b1c;background:#fff4d8}.summary-item:nth-child(3) svg{color:#217e6c;background:#e6f6ee}
:root[data-theme=dark] .summary-item:nth-child(2) svg{color:#eecb73;background:#3a3225}:root[data-theme=dark] .summary-item:nth-child(3) svg{color:#79d6b7;background:#253e36}

@media(min-width:761px){.topbar .brand,.topbar .toolbar-divider{display:none}}
.latest-reply{font-size:12px;min-height:34px;padding:5px 10px;white-space:nowrap}
@media(max-width:760px){
 .presence-copy #presence-details,.presence-copy .wave-button,.command-panel #submit-task,.dashboard-actions .button,.dashboard-tile .card-action .button,.dashboard-tile #all-history,.latest-reply,.tile-tool,.tile-grab,.request-options .type-tabs button{min-height:44px}
 .presence-copy #presence-details,.presence-copy .wave-button{font-size:12px;padding:8px 10px}
 .tile-tool,.tile-grab{min-width:36px}.dashboard-actions{flex-wrap:wrap}.board-heading{flex-wrap:wrap}
 .setting-button,.nav-item,.nav-group .nav-item,.nav-group summary{min-height:44px}
 .request-options summary{min-height:44px;display:flex;align-items:center;gap:6px}.request-options summary:before{content:'›';font-size:17px}.request-options[open] summary:before{transform:rotate(90deg)}
 .latest-reply{width:auto;font-size:12px}.dashboard-tile .card-heading{gap:10px}
}
