/* Compact workspace direction approved 23 October: warm neutrals and orange. */
html,body{background:#fff}h1,h2,h3{color:#303238}.app{grid-template-columns:208px minmax(0,1fr);transition:grid-template-columns 180ms ease}.app.nav-collapsed{grid-template-columns:64px minmax(0,1fr)}
.sidebar{padding:16px 10px 12px;background:#fbfaf8;border-color:#e8e4de;height:100dvh}.brand{padding:4px 10px 14px;min-height:48px}.brand img{width:112px}.brand span{display:none}.sidebar-toggle{display:flex;align-items:center;gap:10px;justify-content:center;border:0;border-radius:7px;background:transparent;color:#7b746d;width:100%;height:34px;cursor:pointer}.sidebar-toggle:hover{background:#f1ece5;color:#b94320}.sidebar-toggle-label{font-size:var(--font-caption)}.app-icon{width:21px;height:21px;flex:none;overflow:visible}.icon-active{display:none}.icon-fill{fill:currentColor;fill-opacity:.13}.is-active>.icon-idle,.nav-link.active .icon-idle,.nav-link:hover .icon-idle,.icon-button:hover .icon-idle{display:none}.is-active>.icon-active,.nav-link.active .icon-active,.nav-link:hover .icon-active,.icon-button:hover .icon-active{display:inline}.nav-link:hover .app-icon,.nav-link.active .app-icon{animation:icon-arrive 260ms ease-out}.is-active .bell-body,.nav-link.active .bell-body,.nav-link:hover .bell-body,.icon-button:hover .bell-body{transform-origin:12px 5px;animation:bell-ring 650ms ease-out}.is-active .gear-body,.nav-link:hover .gear-body{transform-origin:12px 12px;animation:gear-turn 350ms ease-out}.nav-link{position:relative;border:0;border-radius:8px;min-height:42px;padding:9px 11px;gap:11px;font-size:12px;margin:3px 0;color:#74716d}.nav-link.active{background:#fff0e5;color:#bc4827}.nav-link:hover{background:#f3eee7;color:#a23b1c}.nav-dot{display:none;margin-left:auto;width:4px;height:4px;background:#ed622f;border-radius:50%}.nav-link.active .nav-dot{display:block}.nav-caption{padding:19px 11px 6px;font-size:var(--font-caption);letter-spacing:1px;color:#999086}.sidebar-bottom{padding:12px 8px 0;margin-top:auto}.sidebar-bottom p,.sidebar-bottom>a{display:none}.sidebar-bottom>.small{font-size:var(--font-caption)}.nav-collapsed .brand{padding:4px 0 14px;text-align:center}.nav-collapsed .brand img{display:none}.nav-collapsed .nav-label,.nav-collapsed .nav-dot,.nav-collapsed .sidebar-toggle-label,.nav-collapsed .sidebar-bottom{display:none}.nav-collapsed .nav-caption{font-size:0;padding:0;height:15px}.nav-collapsed .nav-link{justify-content:center;padding:10px 0}.nav-collapsed .nav-link:focus-visible{outline-offset:-2px}
.topbar{height:49px;min-height:49px;padding:5px 18px;gap:10px}.workspace-title{margin-right:auto;font-size:var(--font-caption);color:#7d7770}.top-controls{gap:7px}.top-controls select{min-height:30px;height:30px;padding:5px 25px 5px 10px;font-size:var(--font-caption);background:#f8f6f3}.icon-button{min-width:32px;min-height:32px;border-radius:6px}.menu-toggle{display:none}.top-controls .nav-count{position:absolute;right:0;top:0;min-width:14px;font-size:8px;padding:1px 3px;background:#b94320;color:white;border-radius:10px}#bell{position:relative}.demo-bar{padding:5px 20px;font-size:var(--font-caption);background:#faf9f7;color:#8d8379;border-color:#eeeae4}.workspace-mode .demo-bar{display:none}.workspace-mode .app-footer{display:none}
.workspace-page{max-width:none;margin:0;padding:0;min-height:0;height:calc(100dvh - 49px);display:flex;flex-direction:column;overflow:hidden}.product-compact{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:47px;height:47px;padding:0 20px;flex-shrink:0}.product-identity{display:flex;align-items:center;gap:11px;min-width:0}.product-identity h1{font-size:16px;font-weight:500;letter-spacing:-.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.product-back{font-size:var(--font-caption);color:#8c8178}.product-identity>span{color:#c7beb4}.product-identity .badge{font-size:8px;padding:3px 6px;background:#f5f2ed;color:#8b7a68}.product-tools{display:flex;gap:12px;align-items:center}.product-owner{font-size:var(--font-caption);color:#978a7e}.product-tools .btn{min-height:26px;padding:3px 8px;font-size:var(--font-caption);border:0;color:#8a6c54}.compact-tabs{flex-shrink:0;margin:0;padding:0 20px;gap:20px;height:35px;min-height:35px;border-color:#ece6df}.compact-tabs a{font-size:var(--font-caption);padding:7px 0;color:#8c8178}.compact-tabs a.active{color:#b94320;border-color:#ef7046}
.workspace-page .ws-editor{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;border:0}.workspace-page .ws-heading{display:none}.workspace-page .ws-commandbar{flex-shrink:0;padding:7px 16px;min-height:44px;border-top:0;background:white;border-color:#eee8e1}.ws-button{border-radius:6px;color:#7e6b5b;min-height:29px;padding:6px 9px;border-color:#e6ded5;font-size:var(--font-caption)}.ws-button .app-icon{width:16px;height:16px;vertical-align:middle}.ws-button[aria-pressed=true]{background:#fff0e4;border-color:#ecc4ab;color:#b94320}.ws-commandbar>.ws-actions:first-child>.ws-button:first-child{background:#b94320;color:white;border:0;clip-path:none;border-radius:7px;padding:8px 13px}.ws-button:hover{border-color:#e4b89e;background:#fff5ed;color:#a73c1d}.ws-commandbar .ws-actions{gap:5px}.ws-pages{padding:3px 16px;min-height:30px;background:#fdfbf8;flex-shrink:0;gap:4px}.ws-pages .ws-button{font-size:var(--font-caption);padding:4px 8px;min-height:24px}.ws-formulabar{flex-shrink:0;height:34px;border-color:#eee7df;padding:0 16px}.ws-formulabar .ws-address{font-size:var(--font-caption);min-width:35px;color:#a34c2b}.ws-formulabar .ws-fx{font-size:17px}.ws-formulabar .ws-button{min-height:24px;height:24px;padding:3px 7px}.ws-formulabar.is-empty{display:none}#workspace-editor .ws-formulabar input{height:29px;font-size:var(--font-caption)}.ws-result{font-size:var(--font-caption)}.workspace-page .ws-body{flex:1;min-height:0;height:auto;grid-template-columns:168px minmax(0,1fr) 238px}.ws-body>.ws-viewport{min-width:0;min-height:0}.ws-inspector{padding:16px 14px}.ws-status{padding:5px 16px;min-height:24px;flex-shrink:0;border-color:#e9e2da;background:#fff;font-size:var(--font-caption);color:#9a8c7c}.ws-objects{padding:16px 8px}.ws-objects .ws-section-caption{font-size:var(--font-caption)}.ws-object{padding:9px 7px}.ws-object.is-active{color:#aa4424;background:#fff3ea;border-color:#efd4c2}.ws-object .app-icon{width:17px;height:17px}.ws-object-bottom{font-size:var(--font-caption)}.ws-editor.objects-hidden .ws-objects{display:none}.ws-editor.inspector-hidden .ws-inspector{display:none}.ws-editor.objects-hidden .ws-body{grid-template-columns:minmax(0,1fr) 238px}.ws-editor.inspector-hidden .ws-body{grid-template-columns:168px minmax(0,1fr)}.ws-editor.objects-hidden.inspector-hidden .ws-body{grid-template-columns:minmax(0,1fr)}
.ws-table-head{height:49px;padding:9px 12px;gap:9px}.ws-table-head strong{font-size:12px;color:#4c4239}.ws-table-head small{font-size:var(--font-caption);color:#a18e7b;margin-top:3px}.ws-table-icon{width:25px;height:25px;background:#fff0e3;color:#b94320}.ws-table-icon .app-icon{width:16px;height:16px}.ws-table{box-shadow:0 6px 20px #5d42200a;border-color:#e2d9cd}.ws-table.is-selected{outline:1.5px solid #e5784c;outline-offset:2px;z-index:3}.ws-grid th{position:relative}.ws-col-resizer{position:absolute;right:-4px;top:0;width:8px;height:100%;cursor:col-resize;z-index:5;touch-action:none}.ws-col-resizer:hover,.ws-col-resizer:focus-visible{background:#ef704659;outline:1px solid #d96b3e}.ws-table-footer{min-height:33px;padding:5px 9px}.ws-table-footer .ws-actions{gap:3px}.ws-table-footer .ws-button{font-size:var(--font-caption)}.ws-table-footer>span{font-size:var(--font-caption);color:#a5907a}.ws-grid-scroll{scrollbar-width:thin;scrollbar-color:#ddd0c2 transparent}.ws-inspector-title strong{color:#4c4239}.ws-inspector .ws-hint{font-size:var(--font-caption);color:#847465}.ws-canvas-empty{left:50px;top:70px;text-align:left;width:420px;color:#9a8773}.ws-canvas-empty h3{font-size:27px;line-height:1.3;font-weight:400;color:#554438;margin:18px 0 9px}.ws-canvas-empty>span{color:#dfb593;font-size:34px;letter-spacing:0}.ws-canvas-empty p{font-size:12px;max-width:320px;color:#a28a75}.ws-canvas-empty .ws-actions{margin-top:22px}.ws-canvas-empty .ws-button{padding:10px 14px;font-size:var(--font-caption);background:#fff9f2;border-color:#e9d2bc;color:#ac5129}.ws-guide details{border-bottom:1px solid #ede3d8;padding:12px 0}.ws-guide summary{cursor:pointer;color:#8c482a;font-weight:500}.ws-guide p{margin:10px 0;line-height:1.7;font-size:12px}.ws-guide .guide-step{display:flex;gap:12px;align-items:start;margin-bottom:14px}.guide-step>span{color:#c85a2d;background:#fff2e6;padding:4px 9px;border-radius:5px}.guide-step b{color:#473b31}.ws-guide code{background:#fff4e9;color:#95431f}.ws-board,.ws-focused{inset:8px;box-shadow:0 0 0 10px #40301c33}.ws-board .ws-heading,.ws-focused .ws-heading{display:none}.ws-focused .ws-body{grid-template-columns:minmax(0,1fr) 238px}.ws-focused.inspector-hidden .ws-body{grid-template-columns:minmax(0,1fr)}.ws-focused .ws-objects{display:none}
@keyframes bell-ring{0%,100%{transform:rotate(0)}20%{transform:rotate(15deg)}45%{transform:rotate(-12deg)}70%{transform:rotate(7deg)}}
@keyframes gear-turn{from{transform:rotate(-35deg)}to{transform:rotate(0)}}
@keyframes icon-arrive{from{transform:translateY(2px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.app,.app *{animation:none!important;transition:none!important}}
@media(max-width:900px){.app,.app.nav-collapsed{grid-template-columns:56px minmax(0,1fr)}.sidebar{display:flex!important;position:fixed;left:0;top:0;width:208px;transform:none!important}.nav-collapsed .sidebar{width:56px;padding-inline:7px}.app:not(.nav-collapsed) .sidebar{box-shadow:8px 0 30px #5b3c2520}.sidebar-toggle{position:static}.workspace{grid-column:2}.menu-toggle{display:inline-flex}.workspace-title{display:none}.topbar{padding:5px 10px}.top-controls{margin-left:auto}.workspace-page .ws-body{grid-template-columns:150px minmax(0,1fr) 220px}.ws-editor.objects-hidden .ws-body{grid-template-columns:minmax(0,1fr) 220px}.ws-editor.inspector-hidden .ws-body{grid-template-columns:150px minmax(0,1fr)}.ws-editor.objects-hidden.inspector-hidden .ws-body{grid-template-columns:1fr}.ws-objects{display:flex}.ws-inspector{height:auto}.product-owner{display:none}.product-compact{padding:0 12px}.compact-tabs{padding:0 12px;gap:15px}.ws-commandbar{gap:6px}.ws-status span:last-child{display:none}}
@media(max-width:600px){.product-back,.product-identity>span,.product-identity .badge{display:none}.product-compact{height:40px;min-height:40px}.product-identity h1{font-size:13px}.top-controls select{max-width:125px;font-size:var(--font-caption);padding-left:5px;padding-right:18px}.workspace-page .ws-body{display:grid;height:auto}.ws-viewport{min-height:0}.ws-inspector{position:absolute;right:0;top:0;bottom:0;width:230px;z-index:6;box-shadow:-8px 0 30px #47331b15}.ws-body{position:relative}.ws-editor .ws-body,.ws-editor.objects-hidden .ws-body{grid-template-columns:1fr}.ws-objects{position:absolute;left:0;top:0;bottom:0;width:165px;z-index:6}.ws-canvas-empty{left:30px;top:45px;width:260px}.ws-canvas-empty h3{font-size:23px}.ws-commandbar>.ws-actions:last-child{gap:2px}.ws-commandbar .ws-button{padding:5px 7px}.ws-focused .ws-body{display:grid}.ws-focused .ws-viewport{min-height:0}}

#workspace-editor .ws-grid{width:var(--grid-width)!important;min-width:0;table-layout:fixed}
.ws-grid{--grid-width:618px}
.ws-context-layer{position:fixed;inset:0;z-index:1000;cursor:default}.ws-context-menu{position:absolute;width:260px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:6px;background:#fff;border:1px solid #e0ddd8;border-radius:10px;box-shadow:0 10px 38px #31261c26;color:#303238}.ws-context-caption{padding:8px 10px;font-size:var(--font-caption);color:#6d6b68;border-bottom:1px solid #f0eeeb;margin-bottom:4px}.ws-context-menu button{display:flex;flex-direction:column;gap:3px;text-align:left;width:100%;border:0;background:transparent;border-radius:6px;padding:10px;min-height:48px;color:#303238;font:inherit;font-size:12px;cursor:pointer}.ws-context-menu button small{font-size:var(--font-caption);color:#6d6b68}.ws-context-menu button:hover,.ws-context-menu button:focus-visible{background:#fff1e9;outline:2px solid #b94320;outline-offset:-2px}.ws-context-menu button:disabled{opacity:.45;cursor:default;outline:0;background:transparent}.ws-context-footer{padding:9px 10px 4px;border-top:1px solid #f0eeeb;margin-top:4px;font-size:var(--font-caption);color:#6d6b68}
/* Shared alignment for expanded and compact navigation; badges never move icons. */
.sidebar .nav-link{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;justify-content:initial;column-gap:11px;min-height:44px;padding:10px 11px;line-height:20px;box-sizing:border-box}.sidebar .nav-link>.app-icon{display:block;width:20px;height:20px;justify-self:center}.sidebar .nav-link>.nav-label{margin:0;min-width:0;text-align:left}.sidebar .nav-link>.nav-dot{position:absolute;right:10px;top:50%;transform:translateY(-50%);margin:0}.nav-collapsed .sidebar .nav-link{grid-template-columns:1fr;padding:10px 0}.nav-collapsed .sidebar .nav-link>.nav-dot{display:none}.sidebar-toggle{display:grid;grid-template-columns:20px minmax(0,1fr);justify-content:initial;align-items:center;gap:11px;padding:0 11px;text-align:left}.sidebar-toggle>.app-icon{display:block;width:20px;height:20px;justify-self:center}.nav-collapsed .sidebar-toggle{grid-template-columns:1fr;padding:0}.ws-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:16px}.ws-button .app-icon{display:block;flex:none}.ws-commandbar .ws-button{height:30px;min-height:30px}.ws-actions{align-items:center}.ws-zoom{display:inline-flex;align-items:center;justify-content:center;min-width:35px;height:30px}.ws-object{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left}.ws-object>span:first-child{display:flex;align-items:center;justify-content:center}.ws-object strong,.ws-object small{display:block}.sidebar{overflow-y:auto;scrollbar-width:thin}
#period-year{width:90px}#period-type{width:100px}#global-period{max-width:260px}.top-controls select[hidden]{display:none}.top-controls{flex-wrap:wrap}.topbar{height:auto}.workspace-title{min-width:0}.ws-context-menu{font-family:inherit}@media(max-width:700px){.topbar{min-height:80px}.workspace-page{height:calc(100dvh - 80px)}.top-controls{gap:4px;justify-content:flex-end}#global-period{max-width:210px}.top-controls #role{max-width:145px}}

/* Direct canvas interactions, October 24. Full official logo, never a fragment. */
.workspace-page{position:relative}.workspace-page .ws-editor{position:relative}.workspace-page .ws-commandbar{display:contents}.workspace-page .ws-commandbar>.ws-actions{position:absolute;z-index:8;background:#fffffff5;border:1px solid #e6ded5;box-shadow:0 3px 12px #4c301b12;padding:5px;border-radius:9px}.workspace-page .ws-commandbar>.ws-actions:first-child{left:12px;top:76px}.workspace-page .ws-editor:has(.ws-formulabar.is-empty) .ws-commandbar>.ws-actions:first-child{top:42px}.workspace-page .ws-commandbar>.ws-actions:last-child{right:12px;bottom:36px;max-width:calc(100% - 24px)}.workspace-page .workspace-period-note{position:absolute;right:12px;bottom:2px;z-index:9;max-width:65%;background:white}.workspace-page .ws-status>span:last-child{visibility:hidden}.workspace-page .ws-editor.ws-focused .ws-commandbar>.ws-actions:first-child{top:auto;bottom:36px}.workspace-page .ws-editor.ws-board .ws-commandbar>.ws-actions:first-child{top:76px}
.header-brand{display:block;flex:0 0 112px;width:112px;margin-right:auto}.header-brand img{display:block;width:100%;height:auto;object-fit:contain}.nav-collapsed .header-brand{display:block}.nav-collapsed .brand{display:none}.brand img{object-fit:contain;height:auto;max-width:100%}.period-label{font-size:var(--font-caption);white-space:nowrap;color:var(--color-muted)}.topbar .workspace-title{flex:1}.product-bar{display:flex;align-items:center;gap:16px;flex-shrink:0;min-height:44px;border-bottom:1px solid var(--color-line);padding:0 16px}.product-bar .product-compact{padding:0;min-height:44px;height:44px;max-width:30%}.product-bar .compact-tabs{border:0;min-width:0;flex:1;padding:0;height:44px;align-items:center;gap:16px}.product-bar .compact-tabs a{font-size:var(--font-caption);padding:12px 0}.product-page:not(.workspace-page)>.product-bar{margin:-18px 0 24px}.product-page .page-head,.product-page>.breadcrumb,.product-page>.context-line{display:none}.workspace-period-note{display:flex;justify-content:space-between;gap:12px;padding:2px 16px;font-size:var(--font-caption);color:var(--color-muted);flex-shrink:0;background:#faf9f7}.workspace-period-note a{font-size:var(--font-caption)}.ws-context-menu hr{border:0;border-top:1px solid var(--color-line);margin:4px 6px}.ws-object-resize{position:absolute;right:0;bottom:0;width:24px;height:24px;border:0;background:#fff3e9;color:#b94320;cursor:nwse-resize;touch-action:none;z-index:6;opacity:0;border-radius:4px 0 0 0;padding:0;font-size:18px}.ws-table:hover .ws-object-resize,.ws-table.is-selected .ws-object-resize,.ws-object-resize:focus-visible{opacity:1}.ws-table-footer{padding-right:28px;flex-shrink:0}.ws-table-head{flex-shrink:0}.ws-table .ws-grid-scroll{max-height:none}.history{margin-top:18px}
@media(max-width:1000px){.product-bar{flex-wrap:wrap;gap:0}.product-bar .product-compact{max-width:100%;min-height:34px;height:34px}.product-bar .compact-tabs{flex-basis:100%;height:34px}.product-bar .compact-tabs a{padding:7px 0}.header-brand{width:112px}.period-label{display:none}}
@media(max-width:600px){.topbar{height:auto;min-height:49px;flex-wrap:wrap}.top-controls{flex-wrap:wrap;justify-content:flex-end}.workspace-page{height:calc(100dvh - 92px)}.workspace-period-note{font-size:var(--font-caption)}.product-identity h1{font-size:14px}}

.excel-import .panel-body{display:grid;gap:16px}.excel-import .table-wrap{overflow:auto}.excel-import fieldset{border:1px solid var(--color-line);padding:16px;display:grid;gap:10px}.import-result{padding:16px 0;border-bottom:1px solid var(--color-line)}.import-result .row{margin:12px 0}.excel-import details{overflow-wrap:anywhere}

