
/* Plain app controls. The work surface owns the height; never add a ribbon. */
.tool-app.compact-shell .workspace-top.compact-appbar{display:flex;align-items:center;flex-direction:row;flex-wrap:wrap;gap:6px;margin:0 0 6px;padding:0 0 6px;border-bottom:1px solid #d6e3e7;flex-shrink:0}
.compact-shell .compact-appbar button,.compact-shell .compact-appbar select,.compact-shell .compact-appbar summary{font-size:14px;line-height:1.3;padding:5px 8px;border-radius:3px;min-height:29px;font-weight:500}
.compact-shell .compact-appbar button{border-color:transparent;background:transparent;white-space:nowrap;text-decoration:none}
.compact-shell .compact-appbar button:hover,.compact-shell .compact-appbar summary:hover{background:#e4eef2;border-color:#c8dce2}
.compact-shell .compact-appbar .primary{color:white;background:#126f84;border-color:#126f84}
.compact-shell .compact-appbar .project-heading{flex:0 1 160px;display:flex;min-width:80px;gap:0}.compact-shell .compact-appbar .title-input{font-size:15px;font-weight:600;min-width:0;max-width:160px;margin:0;padding:3px 0}
.compact-shell .compact-appbar .app-brand{font-size:15px;margin-right:2px}
.compact-shell .compact-appbar .save-state{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.compact-shell .compact-appbar .project-heading:has(.save-state){position:relative}
.compact-shell .compact-appbar .project-tabs{display:flex;align-items:center;flex-wrap:nowrap;gap:1px;margin:0 5px;border-left:1px solid #cfdee4;padding-left:6px}
.compact-shell .compact-appbar .project-tabs button[aria-pressed=true]{background:#dfedf1;color:#105e71;border-color:#c9dce3;font-weight:650}
.bar-context,.context-tasks,.context-gantt,.context-meeting,.bar-tools{display:flex;align-items:center;gap:4px}.bar-tools{margin-left:auto}.bar-context{min-width:0}.context-gantt,.context-meeting{display:none}
.compact-shell:not(.table-view):not(.meeting-view) .context-tasks,.compact-shell.meeting-view .context-tasks{display:none}
.compact-shell:not(.table-view):not(.meeting-view) .context-gantt,.compact-shell.meeting-view .context-meeting{display:flex}
.compact-shell .bar-context select{width:100px;font-size:14px;background-color:white}
.compact-shell .mode-bar,.compact-shell>.site-head~main .tt-toolbar{display:none!important}
.compact-shell .preview-panel>.view-toolbar,.compact-shell .preview-panel>.appearance,.compact-shell .task-panel .add-buttons{display:none!important}
.compact-shell .meeting-toolbar{padding:0 0 9px;top:-14px}.compact-shell #meeting-section{padding:10px 14px}
.compact-shell .bar-more{position:relative}.compact-shell .bar-more>summary{cursor:pointer;list-style:none;white-space:nowrap}.compact-shell .bar-more>summary::-webkit-details-marker{display:none}
.compact-shell .bar-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:50;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto;padding:9px;background:white;border:1px solid #bfd4dc;border-radius:4px;box-shadow:0 5px 18px #173d4b22}
.compact-shell .bar-menu section{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px 0;border-bottom:1px solid #e1e9ed}.compact-shell .bar-menu section:last-child{border:0}
.compact-shell .bar-menu section>strong{font-size:12px;color:#536e79;font-weight:650;padding:0 8px}.compact-shell .bar-menu button{text-align:left}.compact-shell .bar-menu label{font-size:14px}.compact-shell .bar-menu .inline-label{display:flex;align-items:center;padding:0 8px}.compact-shell .bar-menu .appearance-grid{display:grid;grid-template-columns:1fr;padding:0 8px;gap:12px}.compact-shell .bar-menu fieldset{min-width:0}.compact-shell .bar-menu .period-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px}.compact-shell .bar-menu .style-choices{display:flex;flex-wrap:wrap;gap:3px}.compact-shell .bar-menu .palette-choices{display:flex;gap:5px}.compact-shell .bar-menu .palette-choices button{border:1px solid #9ab5c1;min-width:28px;min-height:28px}.compact-shell .bar-menu .check-label{display:flex}
.compact-shell.meeting-view .menu-tasks,.compact-shell.meeting-view .menu-planning,.compact-shell.meeting-view .menu-gantt,.compact-shell.meeting-view .menu-help>#mode-guide,.compact-shell.meeting-view .menu-help>#mode-direct{display:none}
.compact-shell.table-view .menu-gantt{display:none}
@media(max-width:1150px){.compact-shell .bar-context{order:5;flex-basis:100%}.compact-shell .compact-appbar .project-heading{flex-basis:150px}.compact-shell .compact-appbar .app-brand{display:none}}
@media(max-width:650px){.compact-shell .workspace-top.compact-appbar{gap:3px}.compact-shell .compact-appbar .project-heading{flex-basis:calc(100% - 230px)}.compact-shell .compact-appbar .project-tabs{order:4;margin:0;border:0;padding:0;flex-basis:100%}.compact-shell .bar-tools{gap:0}.compact-shell .compact-appbar button{padding:5px 6px}.compact-shell .bar-context{overflow-x:auto}.compact-shell .compact-appbar .title-input{max-width:none}}

.compact-shell .project-heading[data-unsaved=true]::after{content:'*';color:#946224;font-weight:700;margin-left:2px}


/* Application-first visual layer,22 November2026.
   Keep all controls and editor behaviour; only the chrome and work-surface styling change. */
body.tool-app{background:#edf2f7;color:#18313e}
.tool-app>.site-head{display:none}
.tool-app:not(.has-plan) #inhoud{width:min(100%,1016px);margin:0 auto;padding:clamp(20px,5vh,48px) 24px}
.tool-app .app-intro{max-width:none;padding:0 0 22px;margin:0}
.tool-app .app-intro .eyebrow{margin:0 0 7px;color:#247185;font-size:12px;letter-spacing:.12em}
.tool-app .app-intro h1{font-size:30px;line-height:1.15;margin:0 0 9px;color:#102f40;letter-spacing:-.035em}
.tool-app .app-intro p:last-child{font-size:16px;line-height:1.5;margin:0;color:#526978}
.tool-app .start-panel{max-width:none;margin:0;padding:24px;background:#fff;border:1px solid #d6e0e8;border-radius:12px;box-shadow:0 12px 36px #142e4010}
.tool-app .start-panel .section-line{align-items:center;gap:14px;flex-wrap:wrap}
.tool-app .start-panel .section-line h2{font-size:20px;margin:0}
.tool-app .start-panel .entry-grid{gap:16px;margin-top:22px}
.tool-app .entry-card{padding:22px;gap:11px;border-radius:9px;border:1px solid #cddde6;background:#f8fafc;transition:background-color .15s,border-color .15s,box-shadow .15s}
.tool-app .entry-card:hover{background:#ecf9f8;border-color:#169b96;box-shadow:0 4px 14px #113a4510}
.tool-app .entry-card strong{font-size:23px;color:#153747}
.tool-app .entry-card>span:not(.card-label){font-size:15px;line-height:1.55;color:#526978}
.tool-app .entry-card .card-label{font-size:12px;color:#427486}
.tool-app .entry-card b{font-size:14px;color:#0b716e;margin-top:9px}
.tool-app .sample-line{margin-top:19px;font-size:14px;flex-wrap:wrap}
.tool-app .sample-line button{font-size:14px}

.tool-app.compact-shell.has-plan #workspace{padding:0 0 8px;min-height:0}
.tool-app.compact-shell .workspace-top.compact-appbar{margin:0 0 8px;padding:6px 9px;gap:6px;min-height:43px;border:0;border-bottom:1px solid #214d5d;border-radius:0;background:#112e3d;color:#edf6fa;box-shadow:0 2px 5px #112b3b12}
.compact-shell .compact-appbar button,
.compact-shell .compact-appbar summary{color:#e9f4f8;min-height:29px;border-radius:4px}
.compact-shell .compact-appbar button:hover,
.compact-shell .compact-appbar summary:hover{background:#284d60;border-color:transparent;color:#fff}
.compact-shell .compact-appbar button:disabled{background:transparent;color:#e9f4f8;opacity:.42}
.compact-shell .compact-appbar .primary{background:#39d0bd;color:#082e37;border-color:#39d0bd;font-weight:650}
.compact-shell .compact-appbar .primary:hover{background:#7be3d5;color:#082e37;border-color:#7be3d5}
.compact-shell .compact-appbar .app-brand{color:#f1fbff;letter-spacing:.01em;margin-right:5px}
.compact-shell .compact-appbar .project-heading{margin-right:3px}
.compact-shell .compact-appbar .title-input{color:#f5fbff;border-radius:3px;padding:3px 5px;background:transparent}
.compact-shell .compact-appbar .title-input::placeholder{color:#bfd4df;opacity:1}
.compact-shell .compact-appbar .title-input:hover{border-bottom-color:#90b5c8}
.compact-shell .compact-appbar .project-heading[data-unsaved=true]::after{color:#ffe1a0}
.compact-shell .compact-appbar .project-tabs{border-left-color:#466170;border-radius:0}
.compact-shell .compact-appbar .project-tabs button[aria-pressed=true]{color:#102e3b;background:#f1f9fc;border-color:transparent;box-shadow:inset 0 -3px #39cbb8;font-weight:650}
.compact-shell .bar-context{padding-left:3px}
.compact-shell .bar-context select{border:1px solid #3d5d6e;border-radius:4px;color:#eaf7fa;background-color:#234859;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23eaf7fa' stroke-width='2'/%3E%3C/svg%3E")}
.compact-shell .bar-context select option{color:#18313e;background:#fff}
.compact-shell .bar-menu{border-color:#c3d4df;border-radius:7px;box-shadow:0 10px 36px #102d4030;padding:9px;color:#18313e}
.compact-shell .bar-menu button,
.compact-shell .bar-menu summary{color:#18313e}
.compact-shell .bar-menu button:hover,
.compact-shell .bar-menu summary:hover{color:#0d575d;background:#eaf5f6}
.compact-shell .bar-menu button:disabled{color:#526978;opacity:.5}
.compact-shell .bar-menu section{border-bottom-color:#e3eaf0}
.compact-shell .bar-menu section>strong{font-size:12px;color:#637987;letter-spacing:.03em}
.compact-shell .bar-menu a{font-size:14px;color:#0a6d7d;padding:3px 8px;text-decoration:underline;text-underline-offset:3px}
.compact-shell .bar-menu select{color:#18313e;background-color:white}
.tool-app.compact-shell .editor-grid{gap:10px;margin-inline:8px}
.tool-app.compact-shell #meeting-section,
.tool-app.compact-shell .guide-panel,
.tool-app.compact-shell #notice,
.tool-app.compact-shell #conflicts{margin-inline:8px}
.tool-app.compact-shell .table-panel,
.tool-app.compact-shell .task-panel,
.tool-app.compact-shell .preview-panel,
.tool-app.compact-shell .properties-panel,
.tool-app.compact-shell #meeting-section{border-color:#d1dce5;border-radius:7px;box-shadow:0 1px 3px #15314407}
.tool-app.compact-shell .task-input-table thead th{background:#f0f5f9;color:#2b5267;border-bottom-color:#d3e0e8}
.tool-app.compact-shell .task-input-table th,
.tool-app.compact-shell .task-input-table td{border-right-color:#e1e8ee}
.tool-app.compact-shell .tt-selected td,
.tool-app.compact-shell .tt-selected .tt-row-number{background:#e9f7f6}
.tool-app.compact-shell .tt-row-selector[aria-pressed=true]{background:#147b83;border-color:#147b83;color:#fff}
.tool-app.compact-shell .tt-help{background:#fff;color:#607888}
.tool-app.compact-shell .chart-shell{background:#e9eff5}
.tool-app.compact-shell .chart-stage{box-shadow:0 2px 12px #16364815}
.tool-app.compact-shell .task-row.selected{background:#eaf8f6;box-shadow:inset 3px 0 #159c92}
.tool-app.compact-shell .properties-panel{background:#fff}
.tool-app.compact-shell #meeting-section{background:#fff}
.tool-app.compact-shell .meeting-row{border-color:#dce5ed;border-radius:7px}
.tool-app.compact-shell .record-state{border-radius:4px}
.tool-app.compact-shell .guide-panel{background:#e9f5fa;border-color:#c1dbe6}
.tool-app.compact-shell .conflicts{border-color:#e8c995;background:#fff8ed}
.tool-app.compact-shell button:focus-visible,
.tool-app.compact-shell input:focus-visible,
.tool-app.compact-shell select:focus-visible,
.tool-app.compact-shell a:focus-visible,
.tool-app.compact-shell summary:focus-visible{outline:3px solid #e2b45d;outline-offset:2px}

@media(min-width:1121px){
 .tool-app.compact-shell.has-plan #workspace{height:100dvh;min-height:0!important;overflow:hidden}
 .tool-app.compact-shell .editor-grid{min-height:0}
}
@media(max-width:1150px){
 .tool-app.compact-shell .workspace-top.compact-appbar{row-gap:5px}
 .compact-shell .bar-context{padding-left:0}
}
@media(max-width:650px){
 .tool-app:not(.has-plan) #inhoud{padding:24px 14px}
 .tool-app .app-intro{padding-bottom:18px}
 .tool-app .app-intro h1{font-size:26px}
 .tool-app .start-panel{padding:18px}
 .tool-app .start-panel .entry-grid{grid-template-columns:1fr;gap:12px;margin-top:17px}
 .tool-app .entry-card{padding:18px}
 .tool-app .entry-card strong{font-size:21px}
 .tool-app.compact-shell .workspace-top.compact-appbar{padding:5px 7px}
 .tool-app.compact-shell .editor-grid{margin-inline:6px}
 .compact-shell .compact-appbar .project-tabs{gap:2px}
 .compact-shell .compact-appbar .project-tabs button[aria-pressed=true]{box-shadow:inset 0 -2px #39cbb8}
}
@media(prefers-reduced-motion:reduce){.tool-app .entry-card{transition:none}}


/* One compact command line. Disclosure panels do not consume worksheet height. */
.tool-app.compact-shell .workspace-top.compact-appbar{margin-bottom:3px;flex-wrap:nowrap;gap:4px;position:relative;z-index:20}
.compact-shell .bar-assist{display:flex;align-items:center;gap:5px;min-width:0}
.tool-app.compact-shell .bar-assist #guide.guide-compact{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:3px;padding:0;margin:0;border:0;border-radius:0;background:transparent;min-height:0;color:inherit}
.compact-shell .bar-assist .guide-compact .guide-progress,.compact-shell .bar-assist .guide-compact #guide-fields,.compact-shell .bar-assist .guide-compact>.muted{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.compact-shell .bar-assist .guide-compact::before{content:attr(data-step-short);font-size:12px;color:#b7d6e4;padding-left:7px;border-left:1px solid #466170;white-space:nowrap}
.tool-app.compact-shell .bar-assist .guide-compact .guide-buttons{display:flex;flex-wrap:nowrap;gap:0;margin:0;padding:0;background:transparent}
.compact-shell .bar-assist .guide-buttons button{font-size:13px;padding:5px 6px;text-decoration:none}
.tool-app.compact-shell .bar-assist #conflicts{position:static;flex:0 0 auto;margin:0;padding:0;border:0;background:transparent;overflow:visible;max-height:none;line-height:1.3}
.compact-shell .bar-assist #conflicts>details>summary{font-size:12px;color:#ffe1a0;border:1px solid #806c46;border-radius:4px;padding:5px 7px;background:#ffca5c0c}
.compact-shell .bar-assist #conflicts>details>summary:hover{color:#fff0ce;background:#6e593c}
.compact-shell .attention-popover{position:fixed;width:min(380px,calc(100vw - 16px));max-height:min(65dvh,420px);overflow:auto;padding:12px 16px;background:#fffaf0;color:#574326;border:1px solid #d9bc86;border-radius:6px;box-shadow:0 8px 28px #102d4030;font-size:14px;line-height:1.5;z-index:70}
.compact-shell .attention-popover ul{margin:0;padding-left:18px}.compact-shell .attention-popover p{margin:7px 0 0}
.tool-app.compact-shell .tt-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tool-app.compact-shell .tt-details-button{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:13px;font-weight:600;text-decoration:none;padding:4px 7px;min-height:28px;border:1px solid #b9d5dc;border-radius:4px;background:#f4fafb;color:#116777;flex-shrink:0}
.tool-app.compact-shell .tt-details-button:hover{background:#d7efef;border-color:#16838a}
.compact-shell #bar-feedback{display:inline-flex;align-items:center;justify-content:center;width:29px;padding:5px;flex-shrink:0}
.compact-shell .compact-appbar .bar-tools{gap:2px;flex-shrink:0}
.compact-shell .compact-appbar .project-heading{flex:0 1 140px}
.compact-shell .compact-appbar .title-input{max-width:140px}
@media(min-width:651px){.compact-shell .bar-context{order:0;flex-basis:auto}.compact-shell .compact-appbar .app-brand{display:block}}
@media(min-width:651px) and (max-width:1450px){
 .compact-shell .compact-appbar .app-brand{display:none}
 .compact-shell .compact-appbar .project-heading{flex-basis:110px;min-width:75px}.compact-shell .compact-appbar .title-input{max-width:110px}
 .compact-shell .compact-appbar .project-tabs{margin:0 2px;padding-left:3px}
 .compact-shell .compact-appbar.has-inline-guide .context-tasks [data-shell-action=subtask],.compact-shell .compact-appbar.has-inline-guide .context-tasks [data-shell-action=milestone]{display:none}
 .compact-shell .bar-assist #guide-skip{display:none}
}
@media(min-width:651px) and (max-width:1050px){
 .compact-shell .compact-appbar button,.compact-shell .compact-appbar summary{font-size:13px;padding:5px}
 .compact-shell .compact-appbar .project-heading{flex-basis:85px;min-width:65px}
 .compact-shell .bar-assist #guide-explain{display:none}
 .compact-shell .compact-appbar.has-inline-guide .context-tasks{display:none}
 .compact-shell .compact-appbar #workspace-help{display:none}
}
@media(max-width:650px){
 .tool-app.compact-shell .workspace-top.compact-appbar{flex-wrap:wrap;gap:3px;row-gap:3px}
 .compact-shell .compact-appbar .app-brand{display:none}
 .compact-shell .compact-appbar .project-heading{flex:1 1 75px;min-width:65px}.compact-shell .compact-appbar .title-input{max-width:none}
 .compact-shell .compact-appbar .project-tabs{order:3;flex-basis:auto;flex-shrink:0;margin:0;padding:0;border:0}
 .compact-shell .bar-context{order:4;flex-basis:auto;padding:0}
 .compact-shell .bar-assist{order:5;flex-basis:100%;flex-wrap:wrap;gap:4px}
 .compact-shell .bar-assist:empty{display:none}
 .compact-shell .bar-assist:not(:has(#guide:not([hidden]))):has(#conflicts[hidden]){display:none}
 .compact-shell .compact-appbar .bar-tools{margin-left:auto}
 .compact-shell .compact-appbar .context-tasks [data-shell-action=subtask],.compact-shell .compact-appbar .context-tasks [data-shell-action=milestone]{display:none}
 .compact-shell .compact-appbar #workspace-help{display:none}
}

@media(min-width:651px) and (max-width:1150px){.compact-shell .bar-context{order:0;flex-basis:auto}}
@media(min-width:651px) and (max-width:850px){.tool-app.compact-shell .workspace-top.compact-appbar{flex-wrap:wrap}.compact-shell .bar-assist{order:5}}

/* Use actual free width for task commands instead of a fixed hidden catalogue. */
.compact-shell .toolbar-edit-controls,.compact-shell .toolbar-plan-settings{display:flex;align-items:center;gap:2px}
.compact-shell .toolbar-edit-controls:empty,.compact-shell .toolbar-plan-settings:empty{display:none}
.compact-shell .toolbar-edit-controls{border-left:1px solid #466170;padding-left:5px;margin-left:3px}
.compact-shell .toolbar-edit-controls button{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.compact-shell .toolbar-edit-controls button:has(.command-icon){width:29px;padding:5px}
.compact-shell .toolbar-edit-controls button:has(.command-icon) .command-label{display:none}
.compact-shell .bar-menu .command-icon{display:none}
.compact-shell .bar-menu .command-label{display:inline}
.tool-app.compact-shell #bar-feedback{width:auto;gap:5px;padding:5px 7px}
.compact-shell #bar-feedback .feedback-label{display:inline;white-space:nowrap;font-size:13px}
.tool-app.compact-shell .toolbar-plan-settings .toolbar-calendar{display:flex;align-items:center;padding:0;margin:0}
.compact-shell .toolbar-plan-settings .calendar-label{display:none}
.compact-shell .toolbar-plan-settings .toolbar-calendar select{width:145px;font-size:13px;padding:5px 25px 5px 7px}
@media(min-width:851px){
 .tool-app.compact-shell .compact-appbar .project-heading{flex:0 0 110px}
 .tool-app.compact-shell .compact-appbar .project-tabs,.tool-app.compact-shell .compact-appbar .bar-context,.tool-app.compact-shell .compact-appbar .bar-assist{flex:0 0 auto}
 .tool-app.compact-shell.table-view .compact-appbar .context-tasks{display:flex}
 .tool-app.compact-shell.table-view .compact-appbar .context-tasks [data-shell-action]{display:inline-flex}
 .tool-app.compact-shell .workspace-top.compact-appbar{flex-wrap:nowrap}
}

.compact-shell:not(.meeting-view) .menu-meeting{display:none}
@media(min-width:1451px){.tool-app.compact-shell .compact-appbar .project-heading{flex-basis:150px}.tool-app.compact-shell .compact-appbar .title-input{max-width:150px}}

.compact-shell:not(.meeting-view) .menu-meeting{display:none}
.compact-shell .bar-menu .mobile-undo{display:none}
@media(min-width:1451px){.tool-app.compact-shell .compact-appbar .project-heading{flex-basis:150px}.tool-app.compact-shell .compact-appbar .title-input{max-width:150px}}
@media(max-width:650px){.compact-shell .bar-tools>#undo{display:none}.compact-shell .bar-menu .mobile-undo{display:block}}

@media(min-width:851px) and (max-width:1050px){.tool-app.compact-shell .compact-appbar .project-heading{flex-basis:75px}}
.tool-app.compact-shell .workspace-top.compact-appbar.toolbar-wrap{flex-wrap:wrap}
.compact-shell .compact-appbar.toolbar-wrap .bar-assist{order:5}

/* Start explanation leaves the full work surface free once a project is open. */
.tool-app .start-explanation{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;border-top:1px solid #dce5ec;padding-top:18px;margin-top:20px}
.tool-app .start-explanation section{min-width:0}
.tool-app .start-explanation h3{font-size:16px;line-height:1.35;margin:0 0 8px;letter-spacing:-.015em;color:#153747}
.tool-app .start-explanation p{font-size:14px;line-height:1.55;color:#526978;margin:0 0 9px;max-width:64ch}
.tool-app .start-explanation p:last-child{margin-bottom:0}
.tool-app .start-explanation strong{font-weight:650;color:#294b5c}
.tool-app .start-explanation .start-security-note{font-size:13px;line-height:1.5}
@media(max-width:650px){.tool-app .start-explanation{grid-template-columns:1fr;gap:20px;margin-top:18px;padding-top:18px}}
