.structure-view{--workspace-offset:var(--learn-header-height)}@media (width<=900px){.structure-view{--workspace-offset:var(--mobile-app-header-height,64px)}}.bok-inline-editor{min-width:0;min-height:0;overflow:hidden}.bok-inline-editor>.structure-detail-editor{background:#fff;flex-direction:column;height:100%;min-height:0;max-height:none;padding:0;display:flex;overflow:hidden}.bok-inline-criterion-select{border:1px solid var(--line);min-width:0;max-width:calc(100% - 45px);color:var(--grey);font:inherit;background:#fff;border-radius:6px;padding:5px 8px}.bok-editing>.bok-detail-panel{background:#fff}.bok-inline-editor .structure-editor-toolbar{flex-direction:row;flex:0 0 40px;align-items:center;gap:8px;padding:4px 12px;height:40px!important;min-height:40px!important;max-height:40px!important}.bok-inline-editor .structure-editor-actions{flex-wrap:nowrap;gap:6px;width:auto}.bok-inline-editor .structure-editor-actions button{min-height:30px;padding:4px 10px}.bok-inline-editor .bok-editor-surface{background:#fff;border:0;border-radius:0;flex:1;grid-template-rows:auto auto minmax(0,1fr);min-height:0;margin:0;display:grid}.bok-inline-editor .bok-editor-section{min-height:0;padding:6px 12px}.bok-inline-editor .bok-section-heading{gap:8px;height:28px;min-height:28px;margin:0 0 4px}.bok-inline-editor .bok-section-heading .inline-actions button{min-height:28px;padding:3px 10px}.bok-inline-editor .content-row-actions button{width:28px;height:28px}.bok-inline-editor .bok-bilingual-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0}.bok-inline-editor .bok-bilingual-fields label{min-height:0;line-height:16px}.bok-inline-editor .bok-bilingual-fields input,.bok-inline-editor .bok-meta-row input,.bok-inline-editor .bok-meta-row select{height:32px;margin-top:3px;padding:4px 8px;line-height:20px}.bok-inline-editor .bok-element-section{grid-template-columns:minmax(0,1fr) minmax(120px,160px);column-gap:12px;display:grid}.bok-inline-editor .bok-element-section>.bok-section-heading{grid-column:1/-1}.bok-inline-editor .bok-element-section>.bok-meta-row{margin:0;display:block}.bok-inline-editor .bok-criterion-section{flex-direction:column;display:flex}.bok-inline-editor .bok-inline-criterion-select{height:28px;margin:0;padding:3px 8px}.bok-inline-editor .belt-editor{background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;min-height:0;max-height:240px;margin:6px 0 0;padding:0;display:flex}.bok-inline-editor .belt-editor>.bok-bilingual-fields{flex:1;min-height:0}.bok-inline-editor .belt-editor>.bok-bilingual-fields label{flex-direction:column;padding-top:19px;display:flex;position:relative}.bok-inline-editor .belt-editor>.bok-bilingual-fields label>span{position:absolute;top:0;left:0}.bok-inline-editor .bok-description-caption{font-size:.68rem;line-height:16px;font-weight:inherit;position:absolute;top:0;left:35px}.bok-inline-editor .bok-bilingual-fields textarea{resize:none;flex:1;width:100%;height:100%;min-height:60px;margin:0;padding:6px 8px;font-size:.78rem;line-height:1.5;overflow:auto}.bok-inline-editor .bok-meta-row{gap:12px;margin-top:6px}.bok-inline-editor .belt-editor>.bok-meta-row{flex:none}.bok-compact-sections{display:none}@media (width>=761px) and (height<=599px){.bok-inline-editor .bok-compact-sections{border-bottom:1px solid var(--line);flex:0 0 34px;align-items:center;gap:6px;padding:2px 12px;display:flex}.bok-compact-sections button{border:1px solid var(--line);color:var(--grey);cursor:pointer;background:#fff;border-radius:6px;padding:3px 12px}.bok-compact-sections button[aria-pressed=true]{color:#fff;background:var(--red);border-color:var(--red)}.bok-inline-editor .bok-editor-surface{grid-template-rows:minmax(0,1fr)}.bok-inline-editor[data-compact-section=unit] .bok-element-section,.bok-inline-editor[data-compact-section=unit] .bok-criterion-section,.bok-inline-editor[data-compact-section=element] .bok-unit-section,.bok-inline-editor[data-compact-section=element] .bok-criterion-section,.bok-inline-editor[data-compact-section=criterion] .bok-unit-section,.bok-inline-editor[data-compact-section=criterion] .bok-element-section{display:none}.bok-inline-editor .bok-unit-section,.bok-inline-editor .bok-element-section{align-content:start}}@media (width<=760px){.bok-editing>.bok-detail-panel{display:grid}.bok-editing .bok-inline-editor{min-height:420px;overflow:visible}.bok-editing .bok-inline-editor>.structure-detail-editor{height:auto;overflow:visible}}.bok-inline-editor .bok-shared-controls{border-bottom:1px solid var(--line);flex:none;padding:6px 12px}.bok-inline-editor .bok-shared-fields{grid-template-columns:minmax(0,1fr) 150px 160px;gap:12px;display:grid}.bok-inline-editor .bok-shared-fields label{min-width:0}.bok-inline-editor .bok-shared-fields input,.bok-inline-editor .bok-shared-fields select,.bok-inline-editor .bok-language-column input{width:100%;max-width:none;height:32px;margin-top:3px;padding:4px 8px}.bok-inline-editor .bok-language-columns{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:8px 12px;display:grid}.bok-inline-editor .bok-language-column{flex-direction:column;gap:6px;min-width:0;min-height:0;display:flex}.bok-inline-editor .bok-language-column h3{flex:none;height:20px;margin:0}.bok-inline-editor .bok-language-column>label{flex:none;min-width:0;margin:0;padding:0;display:block}.bok-inline-editor .bok-language-column>.bok-language-description{flex-direction:column;flex:1;min-height:0;max-height:240px;display:flex}.bok-inline-editor .bok-language-description textarea{resize:none;flex:1;width:100%;min-height:48px;margin-top:3px;padding:6px 8px;overflow:auto}@media (width>=761px) and (height<=599px){.bok-inline-editor[data-compact-section=unit] .bok-language-column>.bok-element-section,.bok-inline-editor[data-compact-section=unit] .bok-language-column>.bok-criterion-section,.bok-inline-editor[data-compact-section=element] .bok-language-column>.bok-unit-section,.bok-inline-editor[data-compact-section=element] .bok-language-column>.bok-criterion-section,.bok-inline-editor[data-compact-section=criterion] .bok-language-column>.bok-unit-section,.bok-inline-editor[data-compact-section=criterion] .bok-language-column>.bok-element-section{display:none}}@media (width<=760px){.bok-inline-editor .bok-shared-fields,.bok-inline-editor .bok-language-columns{grid-template-columns:minmax(0,1fr)}.bok-inline-editor .bok-language-description textarea{min-height:100px}}.bok-inline-editor .bok-structure-actions{flex:none;align-items:center;gap:6px;display:flex}.bok-inline-editor .structure-editor-actions .bok-structure-actions button{border-radius:8px;font-size:.72rem;font-weight:700;width:46px!important;min-width:46px!important;height:34px!important;min-height:34px!important;padding:4px!important}.bok-inline-editor .structure-editor-actions>.primary-button{height:34px!important;min-height:34px!important}.bok-inline-editor .structure-editor-toolbar>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bok-inline-editor .structure-editor-actions .save-status{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}@media (width<=760px){.bok-inline-editor .structure-editor-toolbar{flex-wrap:wrap;flex-basis:auto;height:auto!important;min-height:80px!important;max-height:none!important}}.bok-edit-control-frame{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto 84px;gap:6px 8px!important;height:auto!important;min-height:92px!important;padding:6px 12px!important;display:grid!important}.bok-edit-control-frame .bok-editor-toolbar-slot,.bok-edit-control-frame .structure-editor-toolbar{display:contents}.bok-edit-control-frame .bok-editor-context{flex-direction:column;grid-area:1/1/3;justify-content:center;gap:8px;min-width:0;display:flex}.bok-edit-control-frame .bok-editor-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.bok-edit-control-frame>.bok-belt-switcher{grid-area:1/2;justify-self:end}.bok-edit-control-frame>.bok-inline-edit-button{grid-area:1/3;width:84px}.bok-edit-control-frame .structure-editor-actions{grid-area:2/2/auto/4;justify-content:flex-end;align-items:center;gap:6px;display:flex}.bok-edit-control-frame .bok-structure-actions{gap:6px;display:flex}.bok-edit-control-frame .bok-structure-actions button{width:46px!important;min-width:46px!important;height:34px!important;min-height:34px!important;padding:4px!important}.bok-edit-control-frame .structure-editor-actions>.primary-button{width:84px!important;min-width:84px!important;height:34px!important;min-height:34px!important}html[data-app-style] .bok-edit-control-frame .bok-structure-actions button{--learn-function-border:var(--line);border:1px solid var(--line)!important}.bok-edit-control-frame .save-status{text-overflow:ellipsis;white-space:nowrap;max-width:110px;overflow:hidden}@media (width<=760px){.bok-edit-control-frame{grid-template-columns:minmax(0,1fr) 84px}.bok-edit-control-frame .bok-editor-context{grid-area:1/1/auto/-1}.bok-edit-control-frame>.bok-belt-switcher{grid-area:2/1}.bok-edit-control-frame>.bok-inline-edit-button{grid-area:2/2}.bok-edit-control-frame .structure-editor-actions{flex-wrap:wrap;grid-area:3/1/auto/-1}}.bok-editing>.bok-detail-panel{grid-template-rows:auto minmax(0,1fr)!important}.bok-edit-control-frame{max-height:none!important;padding-right:24px!important}.bok-edit-control-frame>.bok-inline-edit-button{justify-self:end;margin-left:0}@media (width>=901px) and (height<=800px){.bok-edit-control-frame{padding-right:18px!important}}.bok-editable-tree-slot{flex:1;min-height:0;overflow:auto}.bok-workspace.bok-editing .bok-editable-tree .tree-row.unit,.bok-workspace.bok-editing .bok-editable-tree .tree-row.element{grid-template-columns:22px 34px minmax(0,1fr) auto 26px!important}.bok-workspace.bok-editing .bok-editable-tree .tree-row.criterion{grid-template-columns:76px minmax(0,1fr) 26px!important}.bok-editable-tree .bok-tree-count{background:0 0;justify-self:end;margin:0;padding:0}
