/* New workspace sections retain Platschefen's paper, forest green and serif headings. */
[hidden]{display:none!important}
button,a,input,select,textarea{touch-action:manipulation}
button,a{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a4752d;outline-offset:3px}
textarea,select,input{font:inherit;color:var(--ink)}
textarea,select{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--paper)}
textarea{min-height:95px;resize:vertical}
label{line-height:1.5}
.form-grid label,.workspace-toolbar label{display:grid;gap:7px;font-size:.87rem;font-weight:500}
.form-grid small{font-weight:400;color:var(--muted)}
.sidebar{overflow:hidden}.brand{margin-bottom:25px}nav{gap:3px}.nav-link{min-height:45px}.sidebar-bottom{padding-top:25px}
.workspace-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.workspace-toolbar{display:flex;flex-wrap:wrap;gap:20px;align-items:end;margin:0 0 24px}
.workspace-toolbar label{min-width:180px}
.workspace-toolbar input{border:1px solid var(--line);padding:11px;border-radius:10px;background:var(--paper)}
.workspace-hint{color:var(--muted);font-size:.88rem;line-height:1.65;margin:15px 0 24px}
.workspace-goal-grid,.workspace-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.workspace-goal{padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--paper);min-width:0}
.workspace-goal h3{font-size:1.2rem;margin:6px 0 14px;overflow-wrap:anywhere}
.workspace-goal p{color:var(--muted);line-height:1.7}
.workspace-card-title{display:flex;justify-content:space-between;align-items:start;gap:20px}
.workspace-card-title .goal-state{white-space:nowrap;font-size:.72rem;flex-shrink:0}
.workspace-card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.8rem;color:var(--muted);margin-top:25px}
.workspace-goal.compact{padding:19px 0;border:0;border-radius:0;border-bottom:1px solid var(--line);background:transparent}
.workspace-goal.compact:last-child{border-bottom:0}
.workspace-goal.compact h3{font-size:1rem;margin-bottom:0}
.workspace-goal.compact .workspace-card-footer{margin-top:12px}
.workspace-goal.compact .eyebrow{font-size:.65rem}
.workspace-empty{padding:32px 15px;color:var(--muted);line-height:1.7;background:var(--cream-soft);border-radius:12px}
.workspace-dialog{max-width:800px;width:calc(100% - 32px)}
.workspace-dialog .dialog-shell{max-height:88vh;overflow:auto}
.workspace-dialog .dialog-body{max-height:none;overflow:visible}
.workspace-dialog .form-grid{margin:20px 0}
.workspace-answer-list{margin:28px 0}
.workspace-answer-list>div{padding:15px 0;border-bottom:1px solid var(--line)}
.workspace-answer-list strong{font-size:.9rem}
.workspace-answer-list p,.workspace-history p{white-space:pre-wrap;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
.workspace-history{margin-top:30px}.workspace-history>div{padding:18px;background:var(--cream-soft);margin-top:12px;border-radius:12px}
.workspace-check{display:flex;align-items:start;gap:12px;margin:20px 0;font-size:.9rem;line-height:1.6}
.workspace-check input{flex:0 0 auto;width:18px;height:18px;accent-color:var(--green);margin-top:4px}
.workspace-info{background:var(--green-soft);padding:20px;border-radius:14px;margin:25px 0;color:var(--green-dark)}
.workspace-info p{line-height:1.7;font-size:.9rem}
.workspace-meeting{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.workspace-meeting h3{font-family:'DM Sans',sans-serif;font-size:.95rem;margin:0 0 8px}
.workspace-meeting p{font-size:.8rem;color:var(--muted);margin:0;line-height:1.7}
.workspace-meeting>div:nth-child(2){flex:1;min-width:0}
.workspace-meeting .meeting-date{background:var(--green-soft);color:var(--green);border-radius:12px;display:grid;text-align:center;min-width:50px;padding:10px}
.meeting-date strong{font-size:1.4rem}.meeting-date small{font-size:.7rem}
.workspace-list,.workspace-side,.workspace-flow,.workspace-export,.workspace-templates{padding:28px;margin-bottom:24px}
.workspace-list h2{font-size:1.5rem;margin:20px 0}.workspace-list>p,.workspace-side>p,.workspace-flow>p,.workspace-templates>p{line-height:1.75;color:var(--muted);font-size:.9rem}
.workspace-side .outline-button{margin:15px 0;width:100%}
.workspace-side h3{margin-top:20px}
.workspace-calendar{padding:20px;margin-bottom:25px;overflow:hidden}
.workspace-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.workspace-calendar-grid .weekday{padding:12px;background:var(--green-soft);text-align:center;font-size:.75rem;font-weight:500}
.workspace-day,.calendar-blank{background:var(--paper);min-height:135px;padding:9px;min-width:0}
.workspace-day>span{display:inline-grid;place-items:center;font-size:.8rem;width:25px;height:25px}
.workspace-day.is-today>span{border-radius:50%;background:var(--green);color:white}
.calendar-event{display:block;width:100%;padding:8px 6px;margin-top:6px;text-align:left;border:0;background:var(--green-soft);color:var(--green-dark);border-radius:7px;font-size:.66rem;overflow-wrap:anywhere}
.calendar-event small{display:block;margin-top:3px;font-size:.62rem}.calendar-event.completed{opacity:.65}
.workspace-month-nav{display:flex;align-items:center;gap:14px;flex:1;flex-wrap:wrap}.workspace-month-nav h2{margin:0;font-size:1.45rem;text-transform:capitalize}
.workspace-export{display:flex;align-items:center;gap:30px}.workspace-export>div{flex:1;min-width:0}.workspace-export>.outline-button{flex:0 0 auto;width:auto;max-width:100%;margin:0;padding:14px 22px;white-space:normal}.workspace-export p{font-size:.87rem;color:var(--muted);line-height:1.7}
.workspace-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin-bottom:26px}.workspace-overview-grid .next-meeting{margin:0}.workspace-overview-grid .next-meeting h2{font-size:2.2rem;margin:16px 0}.workspace-overview-grid .next-meeting>p{color:var(--muted)}
.workspace-mini{padding:24px}.workspace-mini h3{text-transform:capitalize;font-size:1.3rem}.mini-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center;margin:22px 0}
.mini-calendar-grid small{color:var(--muted);font-size:.7rem;padding-bottom:5px}.mini-calendar-grid a{display:grid;place-items:center;border-radius:50%;aspect-ratio:1;text-decoration:none;color:var(--ink);font-size:.8rem;position:relative}
.mini-calendar-grid a:hover{background:var(--green-soft)}.mini-calendar-grid a.current{color:white;background:var(--green)}.mini-calendar-grid .has-meeting:after{content:'';position:absolute;bottom:2px;width:4px;height:4px;border-radius:50%;background:var(--amber)}.workspace-mini .button-link{width:100%;font-size:.82rem}
.workspace-process{display:flex;flex-wrap:wrap;gap:20px;margin:30px 0}.workspace-process>span{display:flex;align-items:center;gap:7px;font-size:.8rem}.workspace-process b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--green-soft);color:var(--green)}
.workspace-flow h2{font-size:1.7rem}.workspace-flow-steps{list-style:none;padding:0;margin:28px 0}.workspace-flow-steps li{display:flex;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.workspace-flow-steps li>span{font-size:.75rem;min-width:60px;color:var(--green)}.workspace-flow-steps small{display:block;font-size:.74rem;color:var(--muted);margin-top:5px}
.workspace-flow-step{display:grid;grid-template-columns:110px 1fr 1fr auto;gap:12px;align-items:end;background:var(--cream-soft);padding:15px;border-radius:14px;margin:12px 0}.workspace-flow-step label{font-size:.74rem;display:grid;gap:6px}.workspace-flow-step input{width:100%;border:1px solid var(--line);padding:12px;border-radius:10px}.workspace-flow-step select{font-size:.8rem}.workspace-flow-step .text-button{font-size:.72rem;align-self:center}
.workspace-assignment{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:.87rem}.workspace-assignment p{color:var(--muted);font-size:.8rem}.workspace-assignment label{display:grid;gap:8px}.workspace-assignment input{border:1px solid var(--line);border-radius:10px;padding:10px}
.workspace-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:28px}.workspace-stat-grid article{padding:28px}.workspace-stat-grid span,.workspace-stat-grid small{display:block;color:var(--muted);font-size:.85rem;line-height:1.6}.workspace-stat-grid strong{display:block;font-family:'Libre Caslon Text',serif;font-size:3rem;color:var(--green);padding:16px 0}
.workspace-stat-row{display:grid;grid-template-columns:180px 1fr 180px;align-items:center;gap:25px;padding:18px 0;border-bottom:1px solid var(--line);font-size:.85rem}.workspace-stat-row>span{text-align:right;color:var(--muted);font-size:.8rem}.workspace-stat-bar{height:9px;background:var(--green-soft);border-radius:20px;overflow:hidden}.workspace-stat-bar i{display:block;height:100%;background:var(--moss);border-radius:20px}
.workspace-area-row{display:flex;align-items:end;gap:15px;margin:18px 0}.workspace-area-row label{flex:1;display:grid;gap:7px;font-size:.85rem}.workspace-area-row input{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px}
.workspace-question-row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.workspace-question-row strong{font-size:.9rem;font-weight:500;line-height:1.6}.workspace-question-row small{display:block;color:var(--muted);font-size:.76rem;margin-top:5px}.workspace-question-row .text-button{white-space:nowrap}.workspace-question-group{margin-top:35px}
.workspace-templates{margin-bottom:28px}.workspace-templates .own-template-row{max-width:none}.workspace-templates .own-template-empty{padding:30px}
.workspace-scale{border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0}.workspace-scale legend{font-size:.9rem;padding:0 7px}.workspace-score-row{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 20px}.workspace-score-row label{position:relative}.workspace-score-row input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.workspace-score-row span{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:8px}.workspace-score-row input:checked+span{color:white;background:var(--green)}.workspace-score-row input:focus-visible+span{outline:3px solid var(--amber)}.workspace-salary-goal{padding:18px 0;border-bottom:1px solid var(--line)}.workspace-salary-goal>.goal-state{margin-left:10px}
@media(min-width:1600px){.workspace-goal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.workspace-overview-grid{grid-template-columns:minmax(0,1fr) 270px}.workspace-flow-step{grid-template-columns:100px 1fr}.workspace-stat-row{grid-template-columns:140px 1fr 150px;gap:15px}}
@media(max-width:900px){.workspace-overview-grid,.workspace-goal-grid,.workspace-flow-grid{grid-template-columns:1fr}.workspace-mini{max-width:none}.workspace-export{display:block}.workspace-export>.outline-button{width:100%;margin-top:18px}.workspace-stat-grid{gap:12px}.workspace-stat-grid article{padding:18px}.workspace-day{min-height:95px;padding:4px}.calendar-event{font-size:.6rem}.calendar-event small{display:none}.workspace-card-title{gap:10px}.workspace-stat-row{grid-template-columns:1fr 1fr}.workspace-stat-bar{grid-column:1/-1;grid-row:2}.workspace-stat-row>span{text-align:right}}
@media(max-width:600px){.workspace-calendar{padding:5px}.workspace-calendar-grid .weekday{padding:8px 0}.workspace-day{min-height:80px}.calendar-event{padding:4px;font-size:.55rem}.workspace-stat-grid{grid-template-columns:1fr}.workspace-stat-grid article{display:grid;grid-template-columns:1fr auto}.workspace-stat-grid strong{grid-column:2;grid-row:1/3;font-size:2.3rem;padding:0}.workspace-meeting{gap:10px;flex-wrap:wrap}.workspace-meeting .tiny-status{display:none}.workspace-meeting .text-button{font-size:.75rem}.workspace-list,.workspace-side,.workspace-flow,.workspace-templates{padding:20px}.workspace-dialog .dialog-header{padding:22px}.workspace-dialog .dialog-body{padding:20px}.workspace-area-row{align-items:stretch;flex-direction:column}.workspace-card-footer{align-items:start;flex-direction:column;gap:10px}.workspace-toolbar label{min-width:0;width:100%}.workspace-dialog .workspace-card-title{flex-direction:column}.workspace-score-row span{width:32px;height:32px}.workspace-flow-step{grid-template-columns:1fr}.workspace-assignment{flex-direction:column;align-items:start}.workspace-month-nav h2{font-size:1.2rem}}
@media(max-width:600px){.employee-row[data-employee]>span:nth-child(3){font-size:.7rem}}

/* Keep navigation in the page layout, without an independent scroll area. */
@media(min-width:721px) and (max-height:800px){
  .sidebar{padding-top:20px;padding-bottom:16px}
  .sidebar .brand{margin-bottom:18px}
  .sidebar .nav-link{min-height:40px}
  .sidebar-bottom{padding-top:16px}
  .sidebar .help-link{padding-block:10px}
  .sidebar .profile{margin-top:10px}
}
@media(min-width:721px) and (max-height:560px){
  .sidebar{position:relative;height:auto;min-height:100vh;align-self:stretch}
}

.page-intro h1{font-size:clamp(2rem,3vw,2.65rem);line-height:1.15}
@media(max-width:720px){.breadcrumb span:first-child{display:none}.breadcrumb span:last-child{display:inline}.breadcrumb{letter-spacing:.12em}.topbar>.icon-button{flex-shrink:0}}
/* Statistics period selection */
.stats-period-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:14px}
.stats-mode-switch{display:inline-flex;align-items:center;gap:3px;padding:5px;background:var(--green-soft);border-radius:999px}
.stats-mode-switch button{border:0;border-radius:999px;background:transparent;color:var(--muted);padding:12px 17px;white-space:nowrap;font-size:.86rem}
.stats-mode-switch button[aria-pressed="true"]{background:var(--green-dark);color:white;box-shadow:0 2px 7px #16341f18}
.stats-period-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.stats-period-picker{position:relative;min-width:182px}
.stats-period-picker summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;border:1px solid var(--line);border-radius:999px;background:var(--paper);padding:13px 18px;cursor:pointer;font-size:.86rem;text-transform:capitalize}
.stats-period-picker summary::-webkit-details-marker{display:none}
.stats-period-picker summary svg{width:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.stats-period-popover{position:absolute;right:0;top:calc(100% + 9px);min-width:230px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 30px #16341f15;z-index:5}
.stats-period-popover label,.stats-custom-range label{display:grid;gap:7px;font-size:.77rem;color:var(--muted)}
.stats-period-popover input,.stats-custom-range input{font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:10px;min-width:0;width:100%}
.stats-current-button,.stats-arrow-button{background:var(--green-dark);color:#fff;border:0}
.stats-current-button{padding:14px 18px;border-radius:999px;font-size:.83rem;white-space:nowrap}
.stats-period-arrows{display:flex;gap:8px}
.stats-arrow-button{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.stats-arrow-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stats-custom-range{display:flex;align-items:end;gap:9px}.stats-custom-range>span{padding-bottom:12px;color:var(--muted)}
.stats-range-caption{font-size:.8rem;color:var(--muted);margin:0 0 26px}
/* Flow library: compact rows, expandable details and contextual actions. */
.flow-library{padding:0;margin-bottom:28px;overflow:hidden}
.flow-library-toolbar{display:flex;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line)}
.flow-library-toolbar .search-box{max-width:360px}.flow-library-toolbar>span{margin-left:auto;white-space:nowrap;font-size:.8rem;color:var(--muted)}
.flow-list-heading,.flow-list-item summary{display:grid;grid-template-columns:minmax(0,1fr) 85px 110px 105px 20px;gap:18px;align-items:center;padding:18px 24px}
.flow-list-heading{padding-block:13px;font-size:.71rem;color:var(--muted);background:var(--cream-soft)}
.flow-list-item{border-top:1px solid var(--line)}.flow-list-item:first-child{border-top:0}
.flow-list-item summary{list-style:none;cursor:pointer;min-height:94px;transition:background .15s}
.flow-list-item summary::-webkit-details-marker{display:none}
.flow-list-item summary:hover,.flow-list-item[open] summary{background:var(--cream-soft)}
.flow-list-name{min-width:0}.flow-list-name strong{font-size:.97rem;font-weight:500;overflow-wrap:anywhere}
.flow-list-name>span{display:block;color:var(--muted);font-size:.8rem;line-height:1.6;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.flow-list-meta{font-size:.8rem;color:var(--muted)}.flow-list-meta small{display:none}
.flow-list-chevron{width:19px;fill:none;stroke:var(--green);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.flow-list-item[open] .flow-list-chevron{transform:rotate(90deg)}
.flow-list-detail{padding:24px 28px;background:var(--paper);border-top:1px solid var(--line)}
.flow-detail-heading{display:flex;justify-content:space-between;align-items:start;gap:25px}.flow-detail-heading h3{font-size:1.3rem}
.flow-detail-heading p{color:var(--muted);font-size:.8rem;line-height:1.7;max-width:430px;margin-bottom:0}
.flow-row-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.flow-row-actions>button{width:auto;min-height:40px;margin:0;padding-inline:16px;font-size:.78rem}
.flow-list-detail .workspace-flow-steps{margin:14px 0 0}.flow-list-detail .workspace-flow-steps li:last-child{border-bottom:0}
.flow-library>.workspace-empty{margin:20px 24px}
@media(max-width:1100px){.flow-detail-heading{flex-direction:column;gap:15px}.stats-period-actions{flex:1}}
@media(max-width:850px){.flow-list-heading{display:none}.flow-list-item summary{grid-template-columns:repeat(3,minmax(0,1fr)) 18px;gap:15px;padding:20px}.flow-list-name{grid-column:1/4}.flow-list-meta{grid-row:2}.flow-list-meta small{display:block;font-size:.65rem;margin-bottom:5px;color:var(--moss)}.flow-list-chevron{grid-column:4;grid-row:1/3}.flow-library-toolbar{padding:18px 20px}.flow-list-detail{padding:22px 20px}}
@media(max-width:600px){.stats-period-toolbar{gap:16px}.stats-mode-switch{width:100%;justify-content:space-between}.stats-mode-switch button{flex:1;padding:11px 12px;font-size:.8rem}.stats-period-actions{width:100%;justify-content:flex-start;gap:9px}.stats-period-picker{flex:1;min-width:160px}.stats-current-button{font-size:.77rem;padding:14px}.stats-period-arrows{margin-left:auto}.stats-custom-range{flex-basis:100%;align-items:end}.stats-custom-range label{flex:1;min-width:0}.stats-range-caption{line-height:1.7}.flow-library-toolbar{gap:10px}.flow-library-toolbar .search-box{min-width:0}.flow-library-toolbar .search-box input{width:100%;min-width:0}.flow-library-toolbar>span{font-size:.72rem}.flow-list-name strong{font-size:.93rem}.flow-row-actions{width:100%}.flow-row-actions>button{flex:1;justify-content:center;font-size:.72rem;padding-inline:12px}.flow-list-detail .workspace-flow-steps li{gap:12px}.flow-list-detail .workspace-flow-steps li>div{min-width:0}.flow-list-detail .workspace-flow-steps small{overflow-wrap:anywhere}}

@media(max-width:600px){.stats-period-popover{left:0;right:auto;min-width:0;width:min(260px,calc(100vw - 40px))}}
.inline-help{display:inline-grid;place-items:center;flex:0 0 auto;width:22px;height:22px;padding:0;border:1px solid var(--moss);border-radius:50%;background:transparent;color:var(--green);font-family:Georgia,serif;font-size:.82rem;font-weight:600;font-style:italic;vertical-align:middle;cursor:help}
.inline-help:hover,.inline-help[aria-expanded="true"]{background:var(--green-soft);border-color:var(--green)}
.context-help-popover{position:fixed;inset:auto;margin:0;width:min(350px,calc(100vw - 24px));max-height:min(360px,calc(100vh - 24px));overflow:auto;padding:18px 20px;background:var(--paper);border:1px solid var(--line);border-radius:14px;color:var(--ink);box-shadow:0 12px 36px #16341f28;font-family:'DM Sans',sans-serif;z-index:1000}
.context-help-popover strong{font-weight:600;font-size:.86rem;line-height:1.6}.context-help-popover p{font-size:.83rem;line-height:1.7;white-space:pre-wrap;margin:9px 0 0;color:var(--muted);overflow-wrap:anywhere}
.page-intro h1{display:inline-block;margin-right:10px}.page-intro .feature-help{margin-bottom:9px}
.builder-question-choice{display:flex;align-items:center;gap:12px}.builder-question-choice>label{flex:1;min-width:0}.builder-question-choice>.inline-help{margin:8px 12px 8px 0}
.question-bank-dialog-group li>.inline-help{margin-left:10px}.question-group-panel p>.inline-help{margin-left:9px}.workspace-question-row strong+.inline-help{margin-left:9px}.question-label{display:flex;align-items:start;gap:10px;margin-bottom:8px}.question-label label{flex:1;font-size:.87rem;font-weight:500}
.calendar-history summary,.stats-person-details summary{cursor:pointer;font-family:'Libre Caslon Text',serif;color:var(--brown);font-size:1.4rem;line-height:1.5}.calendar-history summary>span,.stats-person-details summary>span{font-family:'DM Sans',sans-serif;color:var(--muted);font-size:.77rem;margin-left:15px}
@media(max-width:600px){.inline-help{min-width:26px;min-height:26px}.calendar-history summary,.stats-person-details summary{font-size:1.15rem}}
.assignment-progress{display:block;font-size:.77rem;color:var(--green);margin-top:8px}

/* Question order and optional area explanations. */
.question-row-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.question-row-actions>button:not(.text-button),.template-order li button{min-width:34px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--green);font:inherit;cursor:pointer}.question-row-actions button:disabled,.template-order button:disabled{opacity:.35;cursor:default}.workspace-question-row>div:first-child{min-width:0}.workspace-question-row strong{overflow-wrap:anywhere}.template-order{padding:16px 18px;margin-bottom:22px;background:var(--cream-soft);border:1px solid var(--line);border-radius:12px}.template-order summary{cursor:pointer;color:var(--green);font-weight:600}.template-order>p{font-size:.8rem;color:var(--muted)}.template-order ol{list-style:none;margin:0;padding:0;max-height:350px;overflow:auto}.template-order li{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line);font-size:.83rem}.template-order li>span{flex:1;min-width:0;overflow-wrap:anywhere}.template-order li>div{display:flex;gap:7px;flex-shrink:0}.workspace-area-row>div{min-width:0}.workspace-area-row textarea{min-height:90px}.conversation-area{min-width:0;padding:18px 0;border-top:1px solid var(--line)}.conversation-area>h3{font-size:1.12rem;margin-bottom:20px}.conversation-area .conversation-question{margin-bottom:22px}.conversation-area textarea{width:100%;min-height:90px}.builder-question-group header .inline-help,.question-bank-dialog-group h3 .inline-help{margin-left:9px}@media(max-width:600px){.workspace-question-row{align-items:flex-start;flex-wrap:wrap}.question-row-actions{margin-left:auto}.template-order{padding:14px 12px}.template-order li{gap:10px;font-size:.78rem}}

/* Floating, branded booking controls. */
.meeting-control{min-width:0}.meeting-control-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--cream-soft);border:1px solid var(--line);border-radius:10px;padding:14px 16px;min-height:50px;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.meeting-control-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meeting-control-trigger svg{width:19px;height:19px;flex-shrink:0;color:var(--green)}
.meeting-picker{position:fixed;inset:auto;margin:0;padding:10px;border:1px solid var(--line);border-radius:15px;background:var(--paper);color:var(--ink);box-shadow:0 10px 30px #16341f25;max-height:min(360px,calc(100dvh - 24px));overflow:auto;font-family:'DM Sans',sans-serif;font-size:.85rem}
.meeting-picker button{border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;padding:10px}
.meeting-picker button:hover{background:var(--green-soft)}.meeting-picker button:focus-visible,.meeting-control-trigger:focus-visible{outline:2px solid var(--moss);outline-offset:-2px}
.meeting-picker-select button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.meeting-picker [aria-selected=true]{background:var(--green-soft);color:var(--green)}
.meeting-picker [aria-pressed=true]{background:var(--green);color:white}.meeting-picker button:disabled{opacity:.5;cursor:not-allowed}
.meeting-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.meeting-calendar-heading strong{font-weight:500;text-transform:capitalize}.meeting-calendar-heading button{font-size:1.4rem;line-height:1}
.meeting-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.meeting-calendar-grid small{color:var(--muted);padding:7px 0;font-size:.7rem}.meeting-calendar-grid button{padding:0;aspect-ratio:1;border-radius:50%;font-size:.78rem}.meeting-calendar-grid [aria-current=date]{box-shadow:inset 0 0 0 1px var(--moss)}
.meeting-picker .meeting-calendar-today{display:block;width:100%;margin-top:10px;border-top:1px solid var(--line);border-radius:0;color:var(--green)}
.meeting-picker-caption{font-size:.75rem;color:var(--muted);margin:4px 4px 12px}.meeting-time-entry{display:flex;gap:8px;margin-bottom:12px}.meeting-time-entry input{min-width:0;width:100%;padding:10px;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:var(--cream-soft)}.meeting-time-entry button{background:var(--green);color:white}.meeting-time-list{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;max-height:210px;overflow:auto}

.workspace-toolbar .meeting-control-trigger{background:var(--paper);font-size:.82rem;min-height:44px;padding:12px 14px}.meeting-control-trigger:disabled{opacity:.6;cursor:not-allowed}

.bank-add-button,.bank-edit-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--green);background:transparent;border:1px solid var(--line);border-radius:50%;width:40px;height:40px;cursor:pointer}.bank-add-button{padding:0;background:var(--green);color:#fff;border-color:var(--green);line-height:1}.bank-add-button svg{display:block}.bank-add-button:hover{background:var(--green);filter:brightness(.92)}.bank-edit-button{border:0}.bank-edit-button:hover{background:var(--cream)}.bank-category{border-bottom:1px solid var(--line)}.bank-category summary{display:flex;align-items:center;gap:14px;min-height:62px;padding:10px 0;box-sizing:border-box;cursor:pointer;list-style:none}.bank-category summary::-webkit-details-marker{display:none}.bank-category summary strong{display:block;font-size:.73rem;line-height:1.4}.bank-category summary small{display:block;font-size:.61rem;line-height:1.4;color:var(--muted);margin-top:4px}.bank-category summary .category-index{width:30px;flex-shrink:0}.bank-chevron{margin-left:auto;width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--green);transform:rotate(-90deg);transition:transform .15s}.bank-category[open] .bank-chevron{transform:rotate(90deg)}.bank-category-questions{padding:0 0 20px 48px}.bank-question{display:grid;grid-template-columns:20px minmax(0,1fr) 32px;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:.73rem;line-height:1.45}.bank-question-number{color:var(--muted)}.bank-inline-editor{padding:24px;border:1px solid var(--line);border-radius:16px;margin:12px 0 24px;background:var(--cream)}.bank-inline-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:18px}.bank-inline-editor textarea{min-height:100px}.bank-category summary:focus-visible,.bank-edit-button:focus-visible,.bank-add-button:focus-visible{outline:2px solid var(--green);outline-offset:4px}@media(max-width:600px){.bank-category-questions{padding-left:0}.bank-category summary{gap:14px}.bank-inline-editor{padding:16px}}

.bank-question .bank-edit-button{width:32px;height:32px;padding:0}.bank-question .bank-edit-button svg{width:16px;height:16px}.bank-category-questions{padding-left:44px;padding-bottom:12px}@media(max-width:600px){.bank-category-questions{padding-left:0}}

.meeting-period-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.meeting-period-grid button{padding:12px 4px;border:0;border-radius:10px;background:transparent;color:var(--green);font:inherit;cursor:pointer}.meeting-period-grid button:hover{background:var(--cream)}.meeting-period-grid button[aria-pressed=true]{background:var(--green);color:white}.stats-period-field{font-size:0}.stats-period-field .meeting-control-trigger{font-size:.85rem;border-radius:99px;min-width:170px}.stats-custom-range .meeting-control-trigger{font-size:.8rem;min-width:180px}.meeting-calendar-grid button:disabled{opacity:.3;cursor:not-allowed}

.stats-custom-range{align-items:center}.stats-custom-range label{position:relative;display:block}.stats-date-label{position:absolute;left:18px;bottom:calc(100% + 6px);font-size:.77rem;line-height:1.2}.stats-custom-range .meeting-control-trigger{height:44px;min-height:44px;border-radius:999px;padding:10px 16px}.stats-custom-range>span{padding:0;line-height:44px}.stats-period-toolbar:has(.stats-custom-range){padding-top:24px}.stats-period-actions:has(.stats-custom-range) .stats-current-button{height:44px;padding-block:0}@media(max-width:600px){.stats-custom-range{margin-top:22px}.stats-custom-range .meeting-control-trigger{min-width:0;font-size:.75rem;padding-inline:12px}.stats-date-label{left:12px}}

/* Employee details: compact actions and a consistent paper surface. */
.employee-dialog .dialog-header{background:var(--paper);padding:22px 28px 18px}
.employee-dialog .dialog-tabs{background:var(--paper);padding:10px 28px}
.employee-dialog .dialog-person{min-width:0;gap:14px}
.employee-dialog .dialog-person h2{font-size:1.9rem;line-height:1.2}
.employee-dialog .dialog-person .eyebrow{margin-bottom:6px}
.employee-dialog .dialog-person p{overflow-wrap:anywhere}
.employee-dialog .dialog-avatar{width:48px;height:48px}
.employee-dialog .dialog-body{padding:22px 28px 28px;background:var(--cream-soft)}
.employee-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.employee-account-actions .outline-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:38px;margin:0;padding:8px 16px;font-size:.73rem;line-height:1.4}
.employee-account-actions [data-action="revoke-person"]{margin-left:auto;border-color:transparent;color:var(--muted);font-weight:400}
.employee-dialog .detail-metrics{gap:12px;margin-bottom:18px}
.employee-dialog .detail-metrics>div{padding:14px 16px;border:1px solid var(--line);background:var(--paper);border-radius:14px}
.employee-dialog .detail-metrics strong{font-family:inherit;font-size:.85rem;line-height:1.4;font-weight:500}
.employee-dialog .detail-grid{align-items:start;gap:16px}
.employee-dialog .detail-card{padding:20px;background:var(--paper)}
.employee-dialog .detail-card h3{font-size:1.15rem}
.employee-dialog .detail-card>p:not(.eyebrow){font-size:.78rem;line-height:1.6}
.employee-dialog .detail-card .secondary-button{width:auto;min-height:40px;display:inline-flex;justify-content:center;padding:10px 18px;font-size:.75rem}
.employee-dialog .detail-card .outline-button{width:auto;padding:9px 15px;min-height:38px;margin:8px 0;font-size:.73rem}
.employee-dialog .info-list dd{overflow-wrap:anywhere;min-width:0}
.employee-dialog [data-person-preferences]{grid-column:1/-1}
.employee-dialog [data-person-preferences] .text-button{display:inline-block;margin-left:14px;font-size:.73rem}
@media(max-width:600px){.employee-dialog .dialog-header{padding:18px}.employee-dialog .dialog-tabs{padding:10px 18px;gap:0}.employee-dialog .dialog-tabs button{padding:9px 10px;font-size:.68rem}.employee-dialog .dialog-body{padding:18px}.employee-dialog .dialog-person h2{font-size:1.5rem}.employee-dialog .detail-grid{grid-template-columns:1fr}.employee-dialog .detail-metrics{grid-template-columns:1fr}.employee-dialog .detail-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.employee-dialog .detail-metrics strong{margin:0;text-align:right}.employee-account-actions [data-action="revoke-person"]{margin-left:0}.employee-dialog [data-person-preferences] .text-button{margin-left:0}}

.person-goal-card{margin-top:16px}.person-goal-description,.person-goal-notes p,.person-goal-reviews p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.78rem;line-height:1.6}.person-goal-notes{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;padding:18px 0;border-block:1px solid var(--line)}.person-goal-notes strong,.person-goal-reviews strong{font-size:.73rem;font-weight:600}.person-goal-notes p{margin:6px 0 0}.person-goal-reviews{margin:18px 0}.person-goal-reviews h4{font-size:.8rem;margin:0 0 12px;color:var(--green)}.person-goal-reviews>div+div{border-top:1px solid var(--line);padding-top:12px}.person-goal-actions{display:flex;gap:16px;flex-wrap:wrap}.employee-dialog [data-detail-panel="goals"]>.workspace-card-title{align-items:center;gap:16px;flex-wrap:wrap}.employee-dialog [data-detail-panel="goals"]>.workspace-card-title .primary-button{font-size:.75rem;padding:10px 16px;min-height:40px}@media(max-width:600px){.person-goal-notes{grid-template-columns:1fr}}

.employee-dialog [data-detail-panel="overview"] .detail-grid{grid-template-columns:minmax(0,1fr)}

.employee-account-actions{justify-content:flex-end}

.workspace-templates [data-own-template-list]{margin-top:20px;border-top:1px solid var(--line)}.workspace-templates .own-template-row{grid-template-columns:38px minmax(0,1fr) 24px;gap:14px;padding:16px 8px}.workspace-templates .own-template-row p{margin:0;min-width:0}.workspace-templates .own-template-row strong{display:block;font-size:.8rem;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.workspace-templates .own-template-row small{display:block;margin-top:5px;color:var(--muted);font-size:.68rem;line-height:1.4}.workspace-templates .own-template-row b{display:grid;place-items:center;color:var(--green);font-size:1rem;font-weight:400}.workspace-templates .own-template-row:last-child{border-bottom:0}.workspace-templates .own-template-row:focus-visible{outline:2px solid var(--green);outline-offset:2px}.workspace-templates .own-template-row:hover{border-radius:10px}

.question-bank-workspace{grid-template-columns:minmax(0,1fr)}

.template-settings .secondary-button,.template-settings .outline-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;height:auto;padding:12px 16px;font:inherit;font-size:.75rem;font-weight:600;line-height:1.4;text-align:center;white-space:normal}.template-settings .outline-button{color:#fff;border:1px solid #fff;background:transparent;margin-top:12px}.template-settings .outline-button:hover{background:rgba(255,255,255,.1)}.template-settings .secondary-button:focus-visible,.template-settings .outline-button:focus-visible{outline:2px solid #fff;outline-offset:4px}

.template-dialog .question-group>button{grid-template-columns:30px minmax(0,1fr) 18px;gap:14px;min-height:62px;padding:10px 0}.template-group-chevron{width:18px;height:18px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg);transition:transform .15s}.question-group.open .template-group-chevron{transform:rotate(90deg)}.template-dialog .question-group-panel{gap:0;padding:0 0 12px 44px;counter-reset:template-question}.template-dialog .question-group-panel>p{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;padding:12px 0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font-family:inherit;font-size:.73rem;line-height:1.45;counter-increment:template-question}.template-dialog .question-group-panel>p::before{content:counter(template-question) ".";color:var(--muted)}.template-dialog .question-group-panel>p .help-tooltip{grid-column:2}@media(max-width:600px){.template-dialog .question-group-panel{padding-left:0}}

.workspace-dialog:has(#flow-form) .dialog-header{position:relative;background:var(--paper);padding:22px 28px}.workspace-dialog:has(#flow-form) .dialog-header h2{font-size:1.9rem}.workspace-dialog:has(#flow-form) .dialog-body{padding:24px 28px}#flow-form>.form-grid{gap:18px;margin-bottom:24px}#flow-form textarea{min-height:90px}#flow-form>h3{font-size:1.2rem;margin-bottom:8px}#flow-form>p{font-size:.76rem;line-height:1.6;color:var(--muted);margin:0 0 18px}#flow-form .workspace-flow-step{grid-template-columns:100px minmax(0,1fr) minmax(0,1.2fr) auto;gap:14px;align-items:end;padding:16px;border:1px solid var(--line);background:var(--paper);margin:12px 0}#flow-form .workspace-flow-step label{min-width:0;gap:8px;font-size:.72rem}#flow-form .workspace-flow-step input,#flow-form .meeting-control-trigger{height:44px;min-height:44px;font-size:.76rem;padding:10px 12px;background:var(--cream-soft);box-sizing:border-box}#flow-form .meeting-control-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#flow-form .workspace-flow-step>.text-button{align-self:end;height:44px;padding:0 8px}#flow-form>[data-action="add-step"]{width:auto;min-height:40px;padding:10px 18px;margin:8px 0 0;font-size:.75rem}#flow-form .dialog-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}#flow-form .dialog-actions button{font-size:.78rem;min-height:42px;padding:10px 20px;display:inline-flex;align-items:center;justify-content:center}@media(max-width:700px){#flow-form .workspace-flow-step{grid-template-columns:90px minmax(0,1fr)}#flow-form .workspace-flow-step label:nth-child(3){grid-column:1/-1}#flow-form .workspace-flow-step>.text-button{grid-column:2;justify-self:end}.workspace-dialog:has(#flow-form) .dialog-header,.workspace-dialog:has(#flow-form) .dialog-body{padding:20px}.workspace-dialog:has(#flow-form) .dialog-header h2{font-size:1.5rem}}
/* Forms retain their heading without covering fields when scrolling. */
.workspace-form-dialog .dialog-header{position:static}.goal-checkins{margin:22px 0;padding-top:16px;border-top:1px solid #ded8cb}.goal-checkins h4{font:600 14px 'DM Sans',sans-serif;margin:0 0 14px;color:#284d33}.goal-checkins>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}.goal-checkins strong,.goal-checkins small{display:block}.goal-checkins small{margin-top:5px;color:#817e73}.goal-checkins p{white-space:pre-wrap}.goal-checkins .text-button{width:auto;flex-shrink:0}.person-goal-card .goal-checkins{grid-column:1/-1}
.template-archive{margin-top:24px;border-top:1px solid #ded8cb;padding-top:16px;color:#817e73}.template-archive summary{cursor:pointer;font-size:14px}.template-archive>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0}.template-archive button{width:auto}

#goal-form .goal-date-shortcuts{grid-column:2;margin-top:-8px;display:grid;gap:8px}
.goal-date-shortcuts>div{display:flex;gap:8px;flex-wrap:wrap}
.goal-date-shortcuts button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;padding:8px 15px;background:var(--paper);color:var(--green);font:inherit;font-size:.75rem;cursor:pointer}
.goal-date-shortcuts button:hover,.goal-date-shortcuts button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.goal-date-shortcuts small{color:var(--muted);font-size:.7rem}
@media(max-width:760px){#goal-form .goal-date-shortcuts{grid-column:1/-1}}

.notifications-dropdown{position:fixed;inset:auto;margin:0;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 14px 40px #16341f20;max-width:calc(100vw - 24px)}
.notifications-dropdown:popover-open{animation:notifications-in .15s ease-out}
.notifications-dropdown h2{font-family:inherit;font-size:.9rem;font-weight:600;margin:0;padding:18px 20px;border-bottom:1px solid var(--line);color:var(--green)}
.notifications-dropdown p{margin:0;padding:30px 20px;text-align:center;font-size:.84rem;color:var(--muted)}
@keyframes notifications-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.notifications-dropdown:popover-open{animation:none}}

.settings-logout-section{border-top:1px solid var(--line);margin-top:10px;padding-top:10px;grid-column:1/-1}
.settings-logout-section button{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:9px;width:100%;min-height:48px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:var(--muted);font:inherit;font-size:.79rem;text-align:left;cursor:pointer}
.settings-logout-section button:hover{color:var(--green);background:var(--green-soft)}
.settings-logout-section svg{width:18px;height:18px;color:var(--moss)}
@media(max-width:760px){.settings-nav{display:grid;grid-template-columns:1fr}.settings-nav a{display:none}.settings-logout-section{border-top:0;margin-top:0;padding-top:0}}

.employee-account-actions.workspace-card-title{justify-content:space-between;border:0;padding:0;margin:0 0 20px}
.employee-account-actions h3{margin:0}
.employee-account-actions .primary-button,.person-notes-footer .primary-button{width:auto;min-height:40px;padding:10px 16px;font-size:.75rem}
.employee-dialog [data-detail-panel="overview"] .detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.person-notes-card h3{margin:0 0 18px}
.person-notes-card textarea{display:block;width:100%;min-height:190px;resize:vertical;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--cream-soft);color:var(--ink);font:inherit;font-size:.8rem;line-height:1.6}
.person-notes-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.person-notes-footer [role=status]{font-size:.72rem;color:var(--muted)}
@media(max-width:760px){.employee-dialog [data-detail-panel="overview"] .detail-grid{grid-template-columns:1fr}}

/* Scroll within overlays must never continue into the page behind them. */
dialog,.dialog-shell,.dialog-body,.detail-panel,.te-start-dialog,.te-canvas,.te-library{overscroll-behavior:contain}
html.dialog-open{overscroll-behavior:none}

.template-settings button + button{margin-top:14px}

.own-template-chevron{width:18px;height:18px;flex:none;fill:none;stroke:#284d33;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;justify-self:end}

.flow-explanation{max-width:850px;color:var(--muted);line-height:1.7;margin:-10px 0 28px}#flow-form .workspace-flow-step{grid-template-columns:180px minmax(0,1fr) minmax(0,1.2fr) auto}.flow-step-timing{display:grid;gap:10px}.flow-step-timing>strong{font-size:.8rem;color:var(--green)}.flow-step-timing>small{font-size:.72rem;line-height:1.5;color:var(--muted)}.flow-step-timing [hidden]{display:none!important}@media(max-width:700px){#flow-form .workspace-flow-step{grid-template-columns:1fr 1fr}.flow-step-timing{grid-column:1/-1}}

/* Shared navigation and balanced overview cards. */
.ui-chevron{width:18px;height:18px;flex:none;vertical-align:middle}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.stats-person-details>summary,.calendar-history>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer}
.stats-person-details>summary::-webkit-details-marker,.calendar-history>summary::-webkit-details-marker{display:none}
.stats-person-details[open]>summary>.ui-chevron,.calendar-history[open]>summary>.ui-chevron{transform:rotate(90deg)}
[data-action="previous-month"]>.ui-chevron{transform:rotate(180deg)}
.workspace-month-nav>[data-action]{width:auto;flex:none;margin:0}
.workspace-month-nav>[data-action="calendar-today"]{padding:10px 24px}
.workspace-month-nav>.icon-button{width:42px;height:42px;padding:10px}
.workspace-overview-grid>.next-meeting,.workspace-overview-grid>.workspace-mini{display:flex;flex-direction:column;padding-bottom:24px}
.workspace-overview-grid>.next-meeting>button,.workspace-mini>.button-link{margin-top:auto;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px}
.workspace-overview-grid .workspace-process{margin-bottom:24px}
.workspace-overview-goals .text-button{display:inline-flex;align-items:center;gap:8px}

.meeting-popup-summary{display:flex;align-items:center;flex-wrap:wrap;gap:20px 32px;padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.meeting-popup-summary>div:first-child{flex:1;min-width:180px}
.meeting-popup-label{display:block;font-size:.72rem;color:var(--muted);margin-bottom:7px}
.meeting-popup-summary h3{font-size:1.35rem;margin:0}
.meeting-popup-summary p{margin:0;font-size:.88rem}
.meeting-popup-status{font-size:.75rem;color:var(--green)}
.meeting-popup-summary>.outline-button{width:auto;min-height:40px;padding:10px 20px;margin:0;font-size:.78rem;flex:none}
.workspace-dialog:has(.meeting-popup-summary) .dialog-header h2{font-size:clamp(1.7rem,3vw,2.5rem)}
@media(max-width:600px){.meeting-popup-summary{gap:18px}.meeting-popup-summary>div{flex-basis:100%}}

[data-person-planned],[data-person-reminders]{margin-top:24px}.template-settings button svg{flex-shrink:0;order:1}.template-settings button{gap:10px}

.action-icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#employee-dialog .workspace-card-title>.primary-button{font-size:14px;line-height:1.4;min-height:42px;padding:10px 20px;width:auto;margin:0;display:inline-flex;align-items:center;justify-content:center;gap:8px}#employee-dialog .workspace-card-title{align-items:center}.text-button:has(>.action-icon){display:inline-flex;align-items:center;gap:8px}

.bank-question{grid-template-columns:24px minmax(0,1fr) 32px 32px}

.bank-category summary .bank-category-delete{margin-left:auto;width:32px;height:32px;padding:6px}.bank-category summary .bank-category-delete+.bank-chevron{margin-left:0}

.bank-delete-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(320px,calc(100vw - 24px));padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--cream);color:var(--text,#302e29);box-shadow:0 10px 32px #18372322;font-size:14px;line-height:1.5}.bank-delete-popover::backdrop{background:transparent}.bank-delete-popover>strong{display:block;font-size:15px}.bank-delete-popover>p{font-size:13px;line-height:1.5;margin:8px 0 16px;color:var(--muted)}.bank-delete-actions{display:flex;justify-content:flex-end;gap:10px}.bank-delete-actions>button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;margin:0;padding:8px 16px;font-size:13px;line-height:1.4;box-shadow:none}

#feedback-widget{position:fixed;right:24px;bottom:24px;z-index:10000}#feedback-widget[hidden]{display:none}.feedback-launch{display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:14px;border:1px solid #ffffff35;border-radius:50%;background:var(--green,#294f34);color:white;box-shadow:0 4px 20px #18372326;cursor:pointer}.feedback-launch svg{width:24px;height:24px}.feedback-launch:hover{filter:brightness(1.1)}#feedback-panel{position:fixed;inset:auto 24px 88px auto;margin:0;box-sizing:border-box;width:min(350px,calc(100vw - 32px));padding:22px;border:1px solid var(--line,#ddd7cb);border-radius:20px;background:var(--cream,#faf8f1);color:var(--text,#302e29);box-shadow:0 10px 40px #18372326;overflow:auto;font-size:14px}#feedback-panel::backdrop{background:transparent}#feedback-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}#feedback-panel h3{margin:0;font-size:24px;color:var(--brown,#4f3b2b);font-weight:400}.feedback-close{border:0;background:none;color:var(--green);width:32px;height:32px;padding:0;font-size:25px;cursor:pointer}#feedback-panel form{margin-top:18px}#feedback-panel label{display:block;font-size:14px;margin-bottom:8px}#feedback-panel textarea{box-sizing:border-box;width:100%;min-height:110px;max-height:240px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--cream);color:inherit}#feedback-panel .feedback-status{font-size:13px;line-height:1.5;margin:10px 0;min-height:20px}#feedback-panel .feedback-send{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:42px;padding:10px 16px;margin:0;font-size:14px;line-height:1.4}#feedback-panel .feedback-send svg{width:18px;height:18px}.feedback-send:disabled{opacity:.6;cursor:wait}#feedback-widget button:focus-visible,#feedback-panel textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:600px){#feedback-widget{right:16px;bottom:16px}#feedback-panel{right:16px;bottom:80px}}@media print{#feedback-widget{display:none!important}}
/* Preparation forms and submitted employee answers. */
.meeting-preparation{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;margin-bottom:24px;border-bottom:1px solid var(--line)}.meeting-preparation h3{font-size:1.2rem!important}.meeting-preparation p{margin:8px 0 0!important}.meeting-preparation>button{width:auto!important;flex-shrink:0}.preparation-question-list{display:grid;gap:0;margin-top:24px}.preparation-question-list>label{display:flex!important;align-items:flex-start;gap:14px!important;border-top:1px solid var(--line);padding:18px 0}.preparation-question-list input{width:18px!important;height:18px!important;min-height:0!important;flex-shrink:0;margin-top:4px;accent-color:var(--green)}.preparation-question-list small{display:block;color:var(--muted);font-size:.8rem;margin-top:6px}.employee-preparation-answer{margin:16px 0 22px;padding:14px 18px;border-left:3px solid var(--green);background:#edf1e9;white-space:pre-wrap;line-height:1.6}.employee-preparation-answer>span{display:block;font-size:.75rem;color:var(--green);margin-bottom:6px}.employee-preparation-answer p{margin:6px 0!important}.manager-answer-label{display:block;font-size:.8rem;margin:14px 0 8px}.preparation-notification{display:grid;width:100%;text-align:left;gap:6px;border:0;border-top:1px solid var(--line);padding:16px 0;background:transparent;color:var(--green)}.preparation-notification span{font-size:.8rem;color:var(--muted)}[data-preparation-error]{color:#a13d2b}@media(max-width:650px){.meeting-preparation{align-items:flex-start;flex-direction:column}.meeting-preparation>button{max-width:100%;white-space:normal}}
button.has-preparation-notification{position:relative}button.has-preparation-notification::after{content:'';position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--green);border:2px solid #fffdf7}

/* Show every week and Today without an inner calendar scrollbar. */
.meeting-picker-date{max-height:none;overflow:visible}
@media(max-height:460px){.meeting-picker-date .meeting-calendar-grid button{aspect-ratio:auto;height:clamp(18px,calc((100dvh - 150px)/6),38px)}.meeting-picker-date .meeting-calendar-heading{margin-bottom:4px}.meeting-picker-date .meeting-calendar-today{margin-top:4px;padding:6px}.meeting-picker-date .meeting-calendar-grid small{padding:3px 0}}

.notifications-dropdown{max-height:min(520px,calc(100dvh - 24px));overflow:auto}.notification-items{display:grid;gap:0}.notification-items .preparation-notification{width:100%;text-align:left;border-bottom:1px solid var(--line);padding:14px 20px}.preparation-notification.is-read{opacity:.65}.preparation-notification strong i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:7px}.notification-settings-link{display:block;padding:16px 20px;color:var(--green);font-size:.8rem}.notification-option{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:12px!important;padding:12px 0;cursor:pointer}.notification-option input{width:18px!important;height:18px;flex:0 0 18px;accent-color:var(--green);margin:0}.notification-option span{font-size:.9rem;color:var(--ink)}#notification-preferences fieldset{border:0;border-top:1px solid var(--line);margin:20px 0;padding:20px 0 0}#notification-preferences legend{color:var(--green);padding-right:14px}#notification-preferences fieldset:disabled{opacity:.5}#notification-preferences [role=status]{font-size:.85rem;color:var(--green)}

/* Employee flow progress uses the existing employee dialog proportions. */
#employee-dialog [data-detail-panel="flows"] .workspace-card-title>.primary-button{width:auto;min-height:40px;padding:10px 20px;font-size:14px;line-height:20px;box-shadow:none}
.person-flow-list{display:grid;gap:20px}.person-flow-card h3{margin:0}.person-flow-card .workspace-card-title p{margin:8px 0 0;font-size:14px;color:var(--muted,#7b786e)}
.person-flow-card progress{display:block;width:100%;height:6px;margin:20px 0;border:0;border-radius:4px;overflow:hidden;accent-color:#284e34;background:#e7ece3}.person-flow-card progress::-webkit-progress-bar{background:#e7ece3}.person-flow-card progress::-webkit-progress-value{background:#284e34}
.person-flow-steps{list-style:none;padding:0;margin:0}.person-flow-steps li{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ddd6c9}.person-flow-steps li:last-child{border-bottom:0}.person-flow-number{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#e7ece3;color:#284e34}.person-flow-steps .is-current .person-flow-number{background:#284e34;color:white}.person-flow-steps li>div{flex:1;min-width:0}.person-flow-steps strong{font-size:15px}.person-flow-steps small{display:block;margin-top:6px;color:#7b786e;font-size:13px}.person-flow-steps .text-button{width:auto;flex-shrink:0;font-size:14px}.person-flow-choices .workspace-assignment{gap:20px}.person-flow-choices p{font-size:14px}@media(max-width:600px){.person-flow-card .workspace-card-title{flex-wrap:wrap}.person-flow-steps li{gap:10px}.person-flow-steps .text-button{font-size:12px}}

/* Conversation workspace: fixed chrome, category navigation and a document surface. */
#workspace-dialog.meeting-editor{width:calc(100vw - 32px);max-width:1600px;height:calc(100dvh - 32px);max-height:none;padding:0;border-radius:22px;overflow:hidden}
#workspace-dialog.meeting-editor .dialog-shell{height:100%;max-height:none;display:flex;flex-direction:column;overflow:hidden}
#workspace-dialog.meeting-editor .dialog-header{position:static;flex-shrink:0;display:flex;align-items:center;gap:20px;padding:20px 28px;background:#fffdf7}
#workspace-dialog.meeting-editor .dialog-header>div{flex:1;min-width:0}
#workspace-dialog.meeting-editor .dialog-header .eyebrow{font-size:11px;margin:0 0 5px}
#workspace-dialog.meeting-editor .dialog-header h2{font-size:30px;line-height:1.15;margin:0}
#workspace-dialog.meeting-editor .meeting-editor-meta{font-size:13px;color:#7b786e;margin:8px 0 0}
#workspace-dialog.meeting-editor .dialog-header .outline-button{width:auto;padding:10px 18px;min-height:40px;font-size:14px}
#workspace-dialog.meeting-editor>.dialog-shell>.dialog-body{padding:0;flex:1;min-height:0;overflow:hidden}
.meeting-editor-layout{display:grid;grid-template-columns:250px minmax(0,1fr);height:100%;min-height:0}
.meeting-editor-nav{padding:24px 18px;background:#f9f7ef;border-right:1px solid #ddd6c9;overflow:auto}
.meeting-editor-tabs{display:grid;gap:8px;padding-bottom:22px;border-bottom:1px solid #ddd6c9}
.meeting-editor-nav button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:12px;padding:12px 14px;font:inherit;font-size:14px;line-height:1.5;color:#284e34;cursor:pointer}
.meeting-editor-tabs button[aria-selected="true"]{background:#284e34;color:white}
.meeting-editor-nav-label{font-size:12px;color:#7b786e;margin:24px 14px 10px}.meeting-editor-categories button[aria-current="true"]{background:#e7ece3;font-weight:600}
.meeting-editor-main{overflow:auto;min-width:0;padding:32px;background:#eeece4;overscroll-behavior:contain}
.meeting-editor-paper{max-width:920px;margin:0 auto;padding:38px 44px;min-height:100%;background:#fffdf7;border:1px solid #ddd6c9;box-shadow:0 6px 24px #18382208}
.meeting-editor-paper[hidden],.meeting-editor-paper [hidden],.meeting-editor-categories[hidden]{display:none!important}
#workspace-dialog.meeting-editor .conversation-area{margin:0;padding-top:16px}
#workspace-dialog.meeting-editor .conversation-area h3{font-size:25px;margin:0 0 28px}
#workspace-dialog.meeting-editor .conversation-question,#workspace-dialog.meeting-editor .workspace-scale{margin:0 0 28px;padding:0 0 24px;border:0;border-bottom:1px solid #e4dfd4;border-radius:0}
#workspace-dialog.meeting-editor textarea{min-height:88px;padding:14px 16px;font-size:15px;line-height:1.6;resize:vertical}
#workspace-dialog.meeting-editor .question-label label,#workspace-dialog.meeting-editor legend{font-size:17px;line-height:1.5}
#workspace-dialog.meeting-editor .manager-answer-label{font-size:12px;margin:16px 0 8px;color:#7b786e}
#workspace-dialog.meeting-editor .meeting-preparation{margin-top:0;gap:20px;flex-wrap:wrap}
.meeting-editor-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;border-top:1px solid #ddd6c9;background:#fffdf7;flex-shrink:0}
.meeting-editor-footer>span{font-size:12px;color:#7b786e}.meeting-editor-footer-actions{display:flex;align-items:center;gap:12px}
#workspace-dialog.meeting-editor .meeting-editor-footer button{width:auto;min-height:40px;padding:10px 20px;font-size:14px;line-height:20px;box-shadow:none}
.meeting-received-list article{padding:20px 0;border-top:1px solid #ddd6c9}.employee-preparation-answer p{white-space:pre-wrap}
@media(max-width:760px){#workspace-dialog.meeting-editor{width:100vw;height:100dvh;border-radius:0}#workspace-dialog.meeting-editor .dialog-header{padding:14px;gap:10px;flex-wrap:wrap}#workspace-dialog.meeting-editor .dialog-header h2{font-size:24px}.meeting-editor-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.meeting-editor-nav{padding:10px;overflow:visible;border-right:0;border-bottom:1px solid #ddd6c9}.meeting-editor-tabs{display:flex;padding:0;border:0}.meeting-editor-tabs button{text-align:center}.meeting-editor-categories{display:flex;overflow-x:auto;margin-top:8px}.meeting-editor-nav-label{display:none}.meeting-editor-categories button{width:auto;white-space:nowrap}.meeting-editor-main{padding:12px}.meeting-editor-paper{padding:22px 18px}.meeting-editor-footer{padding:12px;flex-wrap:wrap;gap:8px}.meeting-editor-footer-actions{margin-left:auto;flex-wrap:wrap}}
#workspace-dialog.meeting-editor .meeting-editor-nav{display:block;min-width:0;max-width:100%;position:relative}
#workspace-dialog.meeting-editor .meeting-editor-tabs{height:auto;align-content:start;grid-auto-rows:auto}
#workspace-dialog.meeting-editor .meeting-editor-nav button{margin:0;min-height:0;height:auto;flex:none}
#workspace-dialog.meeting-editor .meeting-editor-footer button{margin:0;display:inline-flex;align-items:center;justify-content:center}
#workspace-dialog.meeting-editor .meeting-editor-main,#workspace-dialog.meeting-editor .meeting-editor-paper{min-width:0;box-sizing:border-box}
@media(max-width:760px){#workspace-dialog.meeting-editor .meeting-editor-tabs button{flex:1;min-width:0}#workspace-dialog.meeting-editor .meeting-editor-nav{overflow:hidden}#workspace-dialog.meeting-editor .meeting-editor-footer-actions{width:100%;justify-content:flex-end}#workspace-dialog.meeting-editor .meeting-editor-footer button{padding:10px 12px;font-size:12px}}
@media(max-width:760px){#workspace-dialog.meeting-editor .meeting-editor-nav{margin:0;width:100%;box-sizing:border-box}#workspace-dialog.meeting-editor .meeting-editor-tabs button{width:auto;font-size:13px;padding:10px 8px}#workspace-dialog.meeting-editor{max-width:100vw;box-sizing:border-box}}
/* Dedicated conversation page, matching the template editor. */
body.meeting-editing{overflow:hidden}
#workspace-dialog.meeting-editor{position:fixed;inset:0;z-index:9000;margin:0;width:100%;height:100dvh;max-width:none;border:0;border-radius:0;background:#eeece4;box-sizing:border-box}
#workspace-dialog.meeting-editor .meeting-editor-layout{grid-template-columns:minmax(0,1fr) 300px}
#workspace-dialog.meeting-editor .meeting-editor-nav{border-right:0;border-left:1px solid #ddd6c9}
#workspace-dialog.meeting-editor .meeting-editor-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;flex:none}
#workspace-dialog.meeting-editor .meeting-editor-main{grid-column:1;grid-row:1}
#workspace-dialog.meeting-editor .meeting-editor-nav{grid-column:2;grid-row:1}
@media(max-width:760px){#workspace-dialog.meeting-editor .meeting-editor-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#workspace-dialog.meeting-editor .meeting-editor-nav{grid-column:1;grid-row:1;border-left:0}#workspace-dialog.meeting-editor .meeting-editor-main{grid-row:2}#workspace-dialog.meeting-editor .dialog-header .meeting-editor-back{padding:8px 10px;font-size:12px}}
/* Keep conversation actions in the top toolbar, like the template editor. */
#workspace-dialog.meeting-editor .dialog-header>.meeting-editor-header-actions{flex:0 1 auto;display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:0}
.meeting-editor-header-actions>[role=status]{font-size:11px;color:#7b786e}
#workspace-dialog.meeting-editor .meeting-editor-header-actions button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;margin:0;padding:10px 18px;font-size:14px;line-height:20px;box-shadow:none;white-space:nowrap}
@media(max-width:1000px){#workspace-dialog.meeting-editor .dialog-header{flex-wrap:wrap}#workspace-dialog.meeting-editor .dialog-header>.meeting-editor-header-actions{margin-left:auto}.meeting-editor-header-actions .meeting-editor-footer-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px){#workspace-dialog.meeting-editor .dialog-header>.meeting-editor-header-actions{width:100%}#workspace-dialog.meeting-editor .meeting-editor-header-actions button{font-size:12px;padding:8px 12px;min-height:36px}}
/* Employee-specific reminders reuse the overview's compact controls. */
.employee-reminder-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--border,#ded8cd)}
.employee-reminder-row>div:first-child{min-width:0;flex:1}
.employee-reminder-row p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.employee-reminder-row small{color:var(--muted,#817d73)}
.employee-reminder-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.employee-reminder-actions button{width:auto;flex:none}
.employee-reminder-form{display:grid;gap:16px;margin:20px 0;padding:20px 0;border-top:1px solid var(--border,#ded8cd)}
.employee-reminder-form label{display:grid;gap:8px}
.employee-reminder-form textarea{width:100%;min-height:100px}
.employee-reminder-form [data-reminder-error]:empty{display:none}
.employee-reminder-form [data-reminder-error]{color:#a32d2d}
@media(max-width:600px){.employee-reminder-row{align-items:flex-start}.employee-reminder-form .form-grid{grid-template-columns:1fr}.employee-reminders .workspace-card-title{flex-wrap:wrap}}

/* Keep template previews stable while browsing long question lists. */
#template-dialog{height:min(560px,calc(100dvh - 42px));max-height:calc(100dvh - 42px)}
#template-dialog .dialog-shell{height:100%;max-height:none;display:flex;flex-direction:column;overflow:hidden}
#template-dialog .dialog-header{position:static;flex:none;background:var(--paper)}
#template-dialog .dialog-header h2{overflow-wrap:anywhere}
#template-dialog .dialog-body{flex:1;min-height:0;overflow:hidden}
#template-dialog .template-detail-layout{height:100%;min-height:0;align-items:start}
#template-dialog .template-detail-layout>section{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:12px}
#template-dialog .template-settings{align-self:start;max-height:100%;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:750px){
 #template-dialog .dialog-header{padding:20px}
 #template-dialog .dialog-body{padding:20px;overflow-y:auto}
 #template-dialog .template-detail-layout{height:auto;grid-template-columns:1fr}
 #template-dialog .template-detail-layout>section{height:auto;overflow:visible;padding-right:0;scrollbar-gutter:auto}
 #template-dialog .template-settings{max-height:none;overflow:visible}
}

/* Keep the selected employee visible alongside the list. */
@media(min-width:1081px){.people-layout>.person-summary{position:sticky;top:24px;align-self:start;max-height:calc(100dvh - 48px);overflow-y:auto}}

.booking-conflict-warning{margin:20px 0;padding:20px;border:1px solid #b18a45;border-radius:14px;background:#fbf3e3;color:#59421f;line-height:1.6}.booking-conflict-warning p{margin:8px 0}.booking-conflict-warning ul{padding-left:22px}.booking-conflict-warning button{font-size:14px;padding:10px 18px}.booking-conflict-warning:focus{outline:2px solid #b18a45;outline-offset:3px}

.meeting-picker-bookings{display:none;gap:18px}.meeting-picker-bookings:popover-open{display:grid;grid-template-columns:280px minmax(0,1fr)}
.meeting-calendar-grid .has-bookings{position:relative}.meeting-calendar-grid .has-bookings:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:3px;left:calc(50% - 2px)}
.booking-calendar-legend{display:block;font-size:11px;color:var(--green);text-align:center;margin:4px 0}
.booking-calendar-agenda{border-left:1px solid var(--line);padding-left:16px;min-width:0}.booking-calendar-agenda>strong{display:block;font-size:14px;margin:8px 0 12px}.booking-calendar-list{max-height:300px;overflow:auto}.booking-calendar-list button{display:block;width:100%;text-align:left;border-bottom:1px solid var(--line);border-radius:0;padding:10px 4px}.booking-calendar-list button span{display:block;font-size:13px;font-weight:600}.booking-calendar-list small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.booking-calendar-list p{font-size:13px;color:var(--muted)}
@media(max-width:659px){.meeting-picker-bookings:popover-open{grid-template-columns:1fr;gap:8px}.booking-calendar-agenda{border-left:0;border-top:1px solid var(--line);padding-left:0}.booking-calendar-list{max-height:110px}.meeting-picker-bookings .meeting-calendar-grid button{aspect-ratio:auto;height:30px}}
@media(max-height:600px){.meeting-picker-bookings .meeting-calendar-grid button{aspect-ratio:auto;height:20px}.booking-calendar-list{max-height:90px}.booking-calendar-agenda>strong{margin:4px 0}.meeting-picker-bookings .meeting-calendar-heading{margin-bottom:3px}}

.previous-answer{padding:16px;margin:16px 0;background:#f1f3ec;border-radius:12px;white-space:pre-wrap}.previous-answer summary{cursor:pointer;color:#294f35}.goal-reminder-options{border:0;padding:16px 0}.sidebar [data-powered-by]{display:block;font-size:11px;margin-top:16px;opacity:.7}.sidebar .brand img{max-height:82px;object-fit:contain}

.conversation-area .conversation-text+.conversation-text{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}

@media(max-width:600px){
 #template-dialog .dialog-header{position:relative;padding-top:24px}
 #template-dialog .dialog-header>div{width:100%;min-width:0}
 #template-dialog .dialog-close{position:absolute;right:16px;top:14px}
 #template-dialog .dialog-header .eyebrow{padding-right:48px;min-height:32px}
 #template-dialog .dialog-header h2{font-size:26px;line-height:1.2;margin-right:0;word-break:normal;overflow-wrap:break-word}
}

@media(max-width:760px){
 #workspace-dialog.meeting-editor .dialog-header{display:grid;grid-template-columns:1fr 1fr}
 #workspace-dialog.meeting-editor .meeting-editor-back{grid-column:1;grid-row:1;justify-self:start}
 #workspace-dialog.meeting-editor .dialog-header>[data-action="edit-meeting"]{grid-column:2;grid-row:1;justify-self:end}
 #workspace-dialog.meeting-editor .dialog-header>div:not(.meeting-editor-header-actions){grid-column:1/-1;grid-row:2}
 #workspace-dialog.meeting-editor .dialog-header>.meeting-editor-header-actions{grid-column:1/-1;grid-row:3;align-items:stretch}
 #workspace-dialog.meeting-editor .meeting-editor-meta{margin-top:5px}
 .meeting-editor-header-actions .meeting-editor-footer-actions{justify-content:flex-start;gap:8px}
}

/* Keep account settings and help reachable in the compact navigation. */
@media(max-width:720px){
 .sidebar{flex-wrap:wrap}
 .sidebar .sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 100%;margin:0;padding:8px 0 0;border-top:1px solid #ffffff25}
 .sidebar .help-link{font-size:12px;padding:6px 4px;border:0;gap:7px}
 .sidebar .help-link svg{width:18px;height:18px}
 .sidebar .profile{display:flex;gap:8px;margin:0;padding:6px 4px}
 .sidebar .profile>div,.sidebar .profile>.chevron{display:none}
 .sidebar .profile::after{content:'Inställningar';font-size:12px;color:#fff}
}
@media(max-width:720px){
 .sidebar>.brand{width:78px;flex:0 0 78px}
 .sidebar>nav{flex:1;min-width:0;margin:0;gap:0;justify-content:space-between}
 .sidebar .nav-link{width:34px;flex:0 0 34px;padding-inline:5px}
 .sidebar-bottom>[data-powered-by]{display:none}
 .sidebar .help-link{white-space:nowrap}
}

.account-delete-button{color:#a12828;border-color:#a12828}.primary-button.account-delete-button{background:#a12828;color:white}.account-delete-button:disabled{opacity:.45;cursor:not-allowed}

/* Keep both columns within the available viewport; only their contents scroll. */
#workspace-dialog.meeting-editor>.dialog-shell>.dialog-body{display:flex;flex-direction:column;flex:1 1 0;height:0}
#workspace-dialog.meeting-editor .meeting-editor-layout{flex:1 1 0;min-height:0;height:100%;grid-template-rows:minmax(0,1fr);overflow:hidden}
#workspace-dialog.meeting-editor .meeting-editor-main,#workspace-dialog.meeting-editor .meeting-editor-nav{min-height:0;overflow-y:auto;scrollbar-gutter:stable}
#workspace-dialog.meeting-editor .meeting-editor-main:focus-visible{outline:2px solid #284e34;outline-offset:-2px}
@media(max-width:760px){#workspace-dialog.meeting-editor .meeting-editor-layout{grid-template-rows:auto minmax(0,1fr)}#workspace-dialog.meeting-editor .meeting-editor-nav{max-height:32dvh}}

.joint-answer{border:1px solid #d8e0d2;border-radius:12px;padding:16px;margin:16px 0;background:#f6f8f2}.joint-answer summary{cursor:pointer;color:#284e34}.joint-answer label{display:block;margin-top:12px}

.person-actions-menu{position:relative;margin-left:auto;flex:none;color:#294f35}.person-actions-menu summary{cursor:pointer;list-style:none;border:1px solid #294f35;border-radius:24px;padding:10px 18px;font-size:14px}.person-actions-menu>div{position:absolute;right:0;top:calc(100% + 8px);z-index:15;min-width:250px;max-width:80vw;background:#fffdf7;border:1px solid #ded8cb;border-radius:14px;padding:10px;box-shadow:0 8px 25px #0002}.person-actions-menu button{display:block;width:100%;text-align:left;padding:12px;border:0;background:none;color:#294f35;font:inherit;font-size:14px}

/* Administration uses the same page shell and controls as the workspace. */
.platform-admin .admin-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}
.platform-admin .admin-tabs .active{background:var(--green,#294f35);color:#fff;border-color:var(--green,#294f35)}
.platform-admin .admin-body,.platform-admin .admin-empty{padding:32px;min-width:0}
.platform-admin h3{margin-top:0;font-family:'Libre Caslon Text',serif;font-weight:400;font-size:1.55rem}
.platform-admin p{line-height:1.6}.platform-admin .admin-body>p{color:var(--muted);max-width:760px}
.platform-admin [data-admin-status]{border-radius:14px;padding:16px 20px;background:#e9eee5;color:#294f35;margin-bottom:20px}
.platform-admin .workspace-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.platform-admin button:not(.meeting-picker button){font:inherit;cursor:pointer}
.platform-admin .primary-button,.platform-admin .outline-button,.platform-admin .text-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;min-height:42px;padding:10px 20px;box-shadow:none;width:auto}
.platform-admin button svg{width:20px;height:20px;flex:none}.platform-admin button:disabled{opacity:.5;cursor:default}
.platform-admin label{display:block;margin:18px 0;color:var(--green,#294f35)}
.platform-admin input:not([type=checkbox]),.platform-admin textarea,.platform-admin select{width:100%;font:inherit;padding:14px 16px;border:1px solid #ddd6c9;border-radius:12px;background:#fffdf7;color:#302f29;margin-top:8px;box-sizing:border-box}
.platform-admin textarea{resize:vertical;min-height:130px}.platform-admin input[type=checkbox]{accent-color:#294f35;flex:none;width:18px;height:18px}
.platform-admin .admin-company-list article{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) minmax(150px,1fr);gap:16px;padding:22px 0;border-bottom:1px solid #ded8cb;align-items:center;overflow-wrap:anywhere}
.platform-admin small{color:var(--muted)}
.platform-admin .admin-question{display:flex;gap:20px;align-items:center;border-bottom:1px solid #ded8cb;padding:18px 0}.platform-admin .admin-question span{flex:1;min-width:0}.platform-admin .admin-question p{margin:6px 0}
.platform-admin [data-catalog-list]{max-height:520px;overflow:auto;scrollbar-width:thin;margin:16px 0 32px;padding-right:12px}
.platform-admin details{padding:20px 0;border-bottom:1px solid #ded8cb}.platform-admin summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;color:#294f35;font-weight:600}.platform-admin summary::-webkit-details-marker{display:none}.platform-admin summary:after{content:'';width:9px;height:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:5px 6px;flex:none}.platform-admin details[open]>summary:after{transform:rotate(225deg)}
.platform-admin .admin-template-questions{max-height:320px;overflow:auto;scrollbar-width:thin;padding:0 12px}.platform-admin .admin-template-questions label{display:flex;align-items:flex-start;gap:12px;color:#302f29}
.platform-admin .admin-question-form{background:#f1f3ec;padding:24px;border-radius:18px;margin:24px 0}.platform-admin [data-mail-preview-panel]{padding:24px;background:#f1f3ec;border-radius:18px;margin:24px 0;overflow-wrap:anywhere}.platform-admin [data-campaigns] p{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}.platform-admin form[inert]{opacity:.65}
#konto{scroll-margin-top:100px}#konto .account-delete-button{color:#963d32;border-color:#963d32}
@media(max-width:760px){.platform-admin .admin-body{padding:20px}.platform-admin .admin-company-list article{grid-template-columns:1fr;gap:6px}.platform-admin .admin-question{align-items:flex-start;gap:10px}.platform-admin [data-campaigns] p{align-items:flex-start;flex-direction:column}.platform-admin .admin-tabs{gap:8px}}
/* Reset the card-specific top margin on shared outline buttons in admin rows. */
.platform-admin .primary-button,.platform-admin .outline-button,.platform-admin .text-button{margin:0;box-sizing:border-box;line-height:1.4;vertical-align:middle}
.platform-admin .workspace-actions,.platform-admin .admin-tabs{align-items:center}
.admin-feedback-card{padding:24px 0;border-bottom:1px solid var(--line,#ded8cb)}.admin-feedback-card header{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-feedback-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem}.admin-feedback-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:18px 0}.admin-feedback-meta div{min-width:0}.admin-feedback-meta dt{font-size:12px;color:var(--muted)}.admin-feedback-meta dd{margin:4px 0;overflow-wrap:anywhere;font-size:14px}.admin-feedback-badge{padding:6px 12px;border-radius:30px;background:#eeeae1;font-size:13px}.admin-feedback-badge.done{background:#e6edde;color:#294f35}.admin-feedback-toolbar{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:20px 0}.admin-feedback-toolbar label{min-width:200px;margin:0}.admin-feedback-toolbar p{color:var(--muted)}@media(max-width:650px){.admin-feedback-meta{grid-template-columns:1fr}.admin-feedback-card header{align-items:flex-start;flex-direction:column}}
.platform-admin [hidden]{display:none!important}

/* One primary activity menu, with quieter shortcuts on each employee card. */
#employee-dialog .person-actions-menu summary{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--green,#294f35);color:#fff;border:1px solid var(--green,#294f35);border-radius:999px;min-height:42px;padding:10px 20px;font-size:14px;font-weight:600;box-sizing:border-box}
.person-actions-menu summary::-webkit-details-marker{display:none}.person-actions-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.person-actions-menu summary:focus-visible,.person-actions-menu button:focus-visible{outline:2px solid #7b9074;outline-offset:3px}.person-actions-menu[open] .person-actions-chevron{transform:rotate(180deg)}
#employee-dialog .person-actions-dropdown{width:300px;min-width:0;max-width:calc(100vw - 48px);padding:8px;border-radius:12px;max-height:calc(100dvh - 180px);overflow:auto;box-sizing:border-box;box-shadow:0 10px 30px #1938251a}
.person-actions-dropdown section+section{border-top:1px solid #e2ddd2;margin-top:6px;padding-top:6px}.person-actions-dropdown h4{font:600 11px/1.4 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#7a8274;margin:8px 10px 5px}
#employee-dialog .person-actions-dropdown button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin:0;padding:10px;border-radius:7px;font-size:14px;line-height:1.4;cursor:pointer;box-sizing:border-box}#employee-dialog .person-actions-dropdown button:hover{background:#edf1e8}.person-actions-dropdown button span{flex:1;min-width:0}
#employee-dialog.has-person-actions .dialog-body :is([data-action="edit-person"],[data-action="new-meeting"],[data-action="person-plan-flow"],[data-action="new-goal-for"],[data-action="salary-from-goals"],[data-add-reminder],[data-upload]){display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--green,#294f35);border:1px solid #d8ded1;border-radius:9px;font-size:13px;font-weight:500;line-height:1.4;min-height:34px;width:auto;padding:7px 12px;margin:0;box-shadow:none}
#employee-dialog.has-person-actions .dialog-body :is([data-action="edit-person"],[data-action="new-meeting"],[data-action="person-plan-flow"],[data-action="new-goal-for"],[data-action="salary-from-goals"],[data-add-reminder],[data-upload]):hover{background:#edf1e8}
#employee-dialog.has-person-actions .dialog-body :is([data-action="new-meeting"],[data-add-reminder],[data-upload]) svg{width:16px;height:16px}
.meeting-more-actions{position:relative;flex:none;color:var(--green,#294f35)}.meeting-more-actions summary{display:flex;align-items:center;justify-content:center;gap:10px;list-style:none;cursor:pointer;border:1px solid #d6d9cd;border-radius:999px;padding:10px 16px;font-size:14px;line-height:20px;min-height:40px;box-sizing:border-box}.meeting-more-actions summary::-webkit-details-marker{display:none}.meeting-more-actions summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.meeting-more-actions[open] summary svg{transform:rotate(180deg)}.meeting-more-actions summary:focus-visible{outline:2px solid #7b9074;outline-offset:3px}.meeting-more-actions>div{position:absolute;right:0;top:calc(100% + 8px);width:290px;max-width:calc(100vw - 40px);padding:8px;background:#fffdf7;border:1px solid #ded8cb;border-radius:12px;box-shadow:0 10px 30px #1938251a;z-index:20}
#workspace-dialog.meeting-editor .meeting-more-actions>div>button{display:flex;justify-content:flex-start;width:100%;border:0;border-radius:7px;text-align:left;white-space:normal;background:transparent;padding:12px;color:var(--green,#294f35)}#workspace-dialog.meeting-editor .meeting-more-actions>div>button:hover{background:#edf1e8}

#workspace-dialog.meeting-editor .meeting-more-actions summary{border-color:var(--green,#294f35);color:var(--green,#294f35);background:transparent;font-weight:600;padding:10px 18px}
/* Dropdown rows override header button sizing and share a full-width hit area. */
#workspace-dialog.meeting-editor .dialog-header .meeting-more-actions>div{display:flex;flex-direction:column;align-items:stretch;gap:2px;box-sizing:border-box;width:310px}
#workspace-dialog.meeting-editor .dialog-header .meeting-more-actions>div>button{display:flex;align-self:stretch;align-items:center;justify-content:flex-start;flex:none;width:100%;max-width:none;min-width:0;min-height:42px;margin:0;padding:11px 14px;border:0;border-radius:7px;box-sizing:border-box;text-align:left;font-size:14px;font-weight:500;line-height:1.4;white-space:normal;box-shadow:none}
.te-bank-category{border-bottom:1px solid #ded8cb;padding-bottom:12px;margin-bottom:8px}.te-category-actions{display:flex;gap:8px;flex-wrap:wrap;padding:6px 0}.te-category-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d5dccd;border-radius:8px;background:transparent;color:#294f35;font:inherit;font-size:12px;line-height:1.4;padding:7px 10px;margin:0;cursor:pointer}.te-category-actions button:hover:not(:disabled){background:#eaf0e4}.te-category-actions button:disabled{opacity:.4;cursor:default}.te-category-actions button span{font-size:18px;line-height:1}.te-bank-category summary .te-category-label{flex:1;color:inherit;font-size:inherit}

.meeting-editor-nav .meeting-send-questions{width:100%;margin:16px 0 24px;white-space:normal;line-height:1.4;text-align:center;}
.meeting-answer-history{margin-top:24px;border-top:1px solid var(--line,#ded8cc);padding-top:20px;}
.meeting-answer-history summary{cursor:pointer;color:#294f35;font-weight:600;padding:12px 0;}
.meeting-answer-history article{padding:20px 0;border-bottom:1px solid var(--line,#ded8cc);}
.meeting-answer-history article p{white-space:pre-wrap;}
