/* Adapt the current product's three-pane workspace to a standalone public preview. */
html,body{font-family:AccordInter,Inter,Arial,sans-serif;color:#171e34}
body{font-size:16px}
[hidden]{display:none!important}
button,input,textarea{font-family:inherit}
.demo-bar{width:100%;max-width:none;flex-shrink:0;gap:16px;margin-bottom:16px}
.demo-bar p{font-size:12px;flex:1;text-align:center}
.demo-tools{display:flex;gap:10px;flex-shrink:0}
.demo-tools button{min-height:36px;padding:7px 12px;font-size:12px}
.guide{width:100%;max-width:none;gap:20px;margin-bottom:16px;padding:20px 24px}
.guide h2{font-family:inherit;font-size:25px;line-height:1.3;margin:6px 0}
.guide p{font-size:13px}
.guide .primary{margin:0}
.workspace-shell{width:100%;max-width:none;grid-template-columns:208px minmax(0,1fr) 540px}
.workspace>.spine{height:auto;min-height:0;padding:16px 0 32px 16px}
.product-brand{padding:8px;gap:16px}
.product-brand strong{font-size:24px;font-weight:500}
.spine-label{margin-top:96px}
.project-list{display:grid;gap:12px}
.project-list .project-nav,.archive-list .project-nav{width:calc(100% - 16px);display:flex}
.project-list .project-nav[aria-pressed=true],.archive-list .project-nav[aria-pressed=true]{width:100%}
.archive-list{margin-top:76px}
.overview{min-width:0}
.overview-header{padding:8px;margin-bottom:32px}
.overview-header h1{font-size:36px;font-weight:400;line-height:44px}
.overview-header .autosave-indicator{margin:0}
.overview-header .action-bar{width:100%;justify-content:space-between}
.direction{padding:24px}
.direction-grid{grid-template-columns:1fr;gap:20px}
.direction h3{font-size:14px;line-height:20px;margin-bottom:8px}
.project-state{font-size:14px}
.workflow-hint{margin:-8px 0 24px;color:#526875;font-size:14px;line-height:20px}
.work-counts{line-height:1.5}
.job-top,.job-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.job-heading h3{flex:1;min-width:0;margin:0}
.job-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.job-heading .record-title{font-size:18px;line-height:26px;min-height:44px}
.job-heading .open-record{flex-shrink:0}
.reorder-controls{display:flex}
.reorder-controls .icon-button img,.disclosure img{display:block;width:16px;height:16px;flex:0 0 16px}
.job-progress .state{flex:1 1 220px}
.job-progress .disclosure{display:flex;gap:8px;align-items:center;color:#171e34;font-size:14px}
.progress-track{width:100%;max-width:270px}
.status-badge{padding:0;margin:0;background:none;border-radius:0;line-height:20px;font-size:12px;font-weight:700}
.status-pending{color:#a32d32}.status-progress{color:#198522}.status-passed{color:#285d4b}.status-parked{color:#267fa4}
.state-badge{display:flex;gap:8px;align-items:center;margin-top:12px}
.hierarchy-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.hierarchy-section-heading h4,.drawer-hierarchy>h4{font-size:14px;color:#526875;font-weight:500}
.record-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.hierarchy-row{border-radius:20px;background:#f7fbfd;border:1px solid transparent;padding:16px;min-width:0}
.hierarchy-row-heading{display:flex;align-items:center;gap:12px}
.hierarchy-row-name{display:grid;gap:4px;min-width:0;flex:1}
.hierarchy-row-name .record-title{font-size:16px;font-weight:500;line-height:24px;min-height:24px;text-align:left}
.hierarchy-row .open-record{flex-shrink:0}
.hierarchy-children{margin-top:16px}
.hierarchy-children>summary{min-height:44px;line-height:24px;padding:10px 0;font-size:14px;color:#346881;cursor:pointer}
.hierarchy-children>.hierarchy-list{padding-left:12px;margin:4px 0 12px;border-left:2px solid #d3e3ea}
.hierarchy-children .hierarchy-row{background:#edf5f8}
.hierarchy-children .hierarchy-task{background:#f7fbfd}
.inline-add{font-size:14px;min-height:40px;background:transparent;border-style:dashed;box-shadow:none}
.work-panel{display:flex;flex-direction:column;gap:24px}
.work-panel .breadcrumbs{flex-shrink:0}
.record-breadcrumb button{display:grid;gap:2px;align-content:start;max-width:180px;padding:6px 8px;text-align:left}
.record-breadcrumb button[aria-current=page]{background:#edf5f8;font-weight:500}
.breadcrumb-kind{font-size:10px;line-height:16px;text-transform:uppercase;letter-spacing:.04em;color:#526875}
.breadcrumb-label{font-size:12px;line-height:18px}
.drawer-header-actions{display:flex;gap:8px;align-items:center}
.drawer-close,.edit-icon-button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;display:grid;place-items:center;font-size:24px}
.drawer-close{border-radius:50%}.edit-icon-button{font-size:21px}
.drawer-heading h2{font-size:18px;line-height:26px}
.record-description{font-size:16px;line-height:24px;color:#171e34}
.detail-status-actions{justify-content:flex-end;display:flex}
.detail-summary{border-top:1px solid #b8cdd7;padding-top:12px}
.detail-summary .work-counts{border:0;margin:0;padding:0}
.danger{background:#faebe6;color:#8a3d2c;border-color:transparent}
.task-list{display:grid;gap:16px}
.task-row{padding:16px;gap:8px;align-items:center;flex-shrink:0;background:#f7fbfd;box-shadow:0 4px 12px #4261751a}
.task-row .record-title{font-size:14px;font-weight:400;line-height:20px}
.checkbox-hit{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px}
.checkbox{display:flex;gap:12px;align-items:center;min-height:44px}
.checkbox input{flex-shrink:0}
.task-state{font-size:12px;padding-left:56px;margin-top:8px}
.work-panel .record-list{width:100%}
.drawer-empty{display:grid;gap:16px}
.drawer-empty p{font-size:14px;line-height:20px;color:#526875}
.work-panel form{display:grid;gap:24px}
.work-panel .form-field{display:grid;gap:8px}.work-panel form label{display:grid;gap:8px;font-size:14px}
.work-panel form input,.work-panel form textarea{width:100%}
.work-panel .form-actions{justify-content:space-between;gap:12px;display:flex}
.demo-note{max-width:none;width:100%;font-size:12px;line-height:18px;margin:10px 0 0;min-height:18px;flex-shrink:0}
/* Each pane owns its scrolling. Changing the detail never moves the jobs list. */
@media(min-width:801px){
  html{height:100%;overflow:hidden}
  body:not(.preview){height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:24px}
  body:not(.preview) .workspace{flex:1;min-height:0;height:0;overflow:hidden;align-items:stretch}
  body:not(.preview) .workspace>.spine,body:not(.preview) .overview,body:not(.preview) .work-panel{min-height:0;max-height:none;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;position:relative;top:auto;scrollbar-gutter:stable}
  body:not(.preview) .overview{padding:0 8px 20px 0;container-type:inline-size}
  body:not(.preview) .work-panel{scroll-margin:0}
  .guide{max-height:28vh;overflow:auto}
}
@media(min-width:1700px){.workspace-shell{grid-template-columns:224px minmax(0,780px) minmax(630px,1fr)}}
@media(min-width:801px) and (max-width:1279px){.workspace-shell{grid-template-columns:160px minmax(0,1fr) 360px;gap:16px;padding:20px}.overview,.work-panel{grid-column:auto}.spine{grid-row:auto}.product-brand strong{font-size:22px}.project-list .project-nav{padding:12px 8px}.job-controls{width:100%;justify-content:space-between}.job-heading,.hierarchy-row-heading{flex-wrap:wrap}.hierarchy-row{padding:12px}.hierarchy-row .open-record{font-size:12px;min-height:36px;padding:6px 12px}.overview-header h1{font-size:32px}.job-progress .state{flex-basis:100%}.work-panel{padding:20px}}
@media(min-width:1100px) and (max-width:1279px){.workspace-shell{grid-template-columns:176px minmax(0,1fr) 450px}}
@container(max-width:520px){.job-heading,.hierarchy-row-heading{flex-wrap:wrap}.job-controls{width:100%;justify-content:space-between}.work-counts{grid-template-columns:1fr 1fr}.job-heading .record-title{font-size:16px}}
@media(max-width:800px){html,body{height:auto;overflow:visible}.workspace{height:auto;min-height:0;overflow:visible}.overview,.work-panel{overflow:visible;position:static;max-height:none;height:auto}.demo-bar{flex-wrap:wrap;gap:12px}.demo-bar p{display:none}.guide{max-height:none}.workspace>.spine{min-height:0}.job-heading,.hierarchy-row-heading{flex-wrap:wrap}.work-counts{grid-template-columns:1fr 1fr}}
@media(min-width:641px) and (max-width:800px){.workspace{display:grid;grid-template-columns:160px minmax(0,1fr);padding:20px;gap:16px}.overview,.work-panel{grid-column:2}.spine{grid-row:1 / span 2;align-self:start}.project-list{display:grid}.project-list .project-nav{font-size:12px;min-width:0;overflow-wrap:anywhere}.product-brand{display:grid;grid-template-columns:1fr}.product-brand strong{font-size:20px}.product-brand p{font-size:12px}.overview-header h1{font-size:28px}}
@media(max-width:640px){body{padding:8px}.workspace{display:flex;flex-direction:column;padding:16px;gap:24px;border-radius:24px}.workspace>.spine{width:100%;padding:16px;min-height:0}.product-brand{grid-template-columns:48px 1fr;gap:6px 12px;padding:0}.product-brand img{width:48px;height:48px;grid-row:1 / span 2}.product-brand strong{font-size:20px}.spine-label{margin-top:28px}.project-list{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.project-list .project-nav,.project-list .project-nav[aria-pressed=true]{width:100%;min-width:0;border-radius:12px;min-height:48px;font-size:12px;padding:8px}.project-mark{width:24px;height:24px;flex-basis:24px}.new-project{width:100%;margin-top:20px}.archive-list{margin:20px 0 0}.overview,.work-panel{width:100%}.demo-tools{gap:8px}.demo-tools button{padding:6px 10px;font-size:11px}.guide{padding:20px}.overview-header h1{font-size:29px;line-height:36px}.job-controls{width:100%;justify-content:space-between}.record-breadcrumb button{max-width:180px}.hierarchy-row-heading{gap:8px}.hierarchy-row .open-record{font-size:12px;padding:8px 12px}.job-progress{gap:12px}.job-heading .record-title{font-size:16px}.work-panel form textarea{min-height:120px}}
/* Read-only exports retain the real three-pane viewport geometry. */
body.preview{height:auto;display:block;overflow:visible;padding:0}
.preview .workspace{display:grid;min-height:0;height:1224px;overflow:hidden;grid-template-columns:208px minmax(0,1fr) 540px;align-items:stretch}
.preview .workspace>.spine,.preview .overview,.preview .work-panel{height:100%;min-height:0;max-height:none;overflow:auto;position:static;scrollbar-width:thin}
.preview button:disabled,.preview input:disabled{opacity:1}
