/* OfficeOn-oriented hierarchy with Röling's own identity. Scoped to the opt-in pilot. */
.workspace-pilot [hidden]{display:none!important}
.workspace-pilot .content{max-width:1530px;margin:auto;padding:30px 34px 48px}
.workspace-pilot .sidebar{padding:24px 16px;background:var(--nav)}
.workspace-pilot .sidebar .brand{gap:12px;padding:0 4px 26px;align-items:center}
.workspace-pilot .sidebar .brand img{width:54px;height:54px;object-fit:contain;border-radius:8px;background:white}
.workspace-pilot .sidebar .brand strong{font-size:16px;line-height:1.25}
.workspace-pilot .sidebar .brand span{font-size:10px;letter-spacing:.3px}
.workspace-pilot .navitem{min-height:44px;padding:11px 13px;border-radius:7px;font-size:15px}
.workspace-pilot .navlabel{font-size:11px;letter-spacing:1.8px}
.workspace-pilot .ow-nav-separator{margin:18px 8px;border-top:1px solid #40545b}
.workspace-pilot .ow-more summary{cursor:pointer;color:#c6d6de;padding:12px 14px;font-size:14px;min-height:44px}
.workspace-pilot .ow-more .navitem{font-size:14px}
.workspace-pilot .ow-pilot-banner{background:#e9f4f0;border-bottom:1px solid #cbded7;color:#244d44;padding:10px 34px;display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:12px}
.workspace-pilot .ow-pilot-banner a{font-weight:650;text-decoration:underline;white-space:nowrap}
.workspace-pilot .ow-page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:6px 0 27px}
.workspace-pilot .ow-page-heading h1{font-size:31px;letter-spacing:-.6px;margin:4px 0 9px;overflow-wrap:anywhere}
.workspace-pilot .ow-page-heading p:not(.ow-eyebrow){color:var(--muted);font-size:15px;margin:0}
.workspace-pilot .ow-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--brand);margin:0}
.workspace-pilot .ow-toolbar{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.workspace-pilot .ow-toolbar label{display:grid;gap:6px;font-size:12px;font-weight:650;color:var(--muted)}
.workspace-pilot .ow-toolbar input,.workspace-pilot .ow-toolbar select{min-height:44px;background:white;border:1px solid var(--line);border-radius:7px;padding:10px 13px;color:var(--ink);font-size:15px}
.workspace-pilot .ow-search{flex:1;min-width:190px;max-width:560px}
.workspace-pilot .ow-toolbar>span{font-size:13px;color:var(--muted);padding-bottom:12px}
.workspace-pilot .ow-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.workspace-pilot .ow-project-card{padding:22px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column}
.workspace-pilot .ow-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px}
.workspace-pilot .ow-card-top small{font-size:11px;color:var(--muted)}
.workspace-pilot .ow-project-card h2{font-size:20px;line-height:1.35;margin:0 0 8px}
.workspace-pilot .ow-project-card h2 button{padding:0;background:none;color:var(--ink);text-align:left;font:inherit;font-weight:700;overflow-wrap:anywhere}
.workspace-pilot .ow-project-card h2 button:hover{text-decoration:underline}
.workspace-pilot .ow-project-card p{font-size:14px;color:var(--muted);margin:0 0 8px;overflow-wrap:anywhere}
.workspace-pilot .ow-project-card .ow-address{color:var(--ink);margin-bottom:22px}
.workspace-pilot .ow-card-bottom{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.workspace-pilot .ow-card-bottom span{font-size:12px;color:var(--muted)}
.workspace-pilot .ow-columns{display:grid;grid-template-columns:minmax(250px, .85fr) minmax(0,1.6fr);gap:22px;align-items:start}
.workspace-pilot .ow-columns .panel{padding:24px}
.workspace-pilot .ow-columns>div{min-width:0}
.workspace-pilot .ow-contact{display:flex;flex-direction:column;gap:9px}
.workspace-pilot .ow-contact address{font-style:normal;overflow-wrap:anywhere;margin:0 0 14px}
.workspace-pilot .ow-contact .btn{align-self:flex-start}
.workspace-pilot .ow-breadcrumb{display:flex;gap:14px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:20px}
.workspace-pilot .ow-breadcrumb .btn{padding:7px 10px;min-height:38px;background:white}
.workspace-pilot .ow-record{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:19px 23px;border-bottom:1px solid var(--line)}
.workspace-pilot .ow-record:last-child{border-bottom:0}
.workspace-pilot .ow-record>div{min-width:0;overflow-wrap:anywhere}
.workspace-pilot .ow-record>div:last-child{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.workspace-pilot .ow-record small{display:block;color:var(--muted);font-size:12px;line-height:1.7}
.workspace-pilot .ow-record .tablelink{font-size:16px}
.workspace-pilot .ow-person{display:flex;gap:16px;align-items:center}
.workspace-pilot .ow-initials{display:grid;place-items:center;background:var(--soft);color:var(--brand);width:43px;height:43px;border-radius:10px;flex:none;font-size:15px;font-weight:650}
.workspace-pilot .ow-project-meta{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding-bottom:22px;color:var(--muted);font-size:14px}
.workspace-pilot .ow-phase-nav{display:flex;overflow:auto;gap:5px;padding:0 0 12px;margin:0 0 24px;border-bottom:1px solid var(--line)}
.workspace-pilot .ow-phase-nav button{white-space:nowrap;background:transparent;border-radius:6px;padding:10px 12px;min-height:44px;font-size:13px;color:var(--muted)}
.workspace-pilot .ow-phase-nav [aria-current=page]{background:var(--brand);color:white;font-weight:650}
.workspace-pilot .ow-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.workspace-pilot .ow-tiles .btn{min-height:75px;justify-content:flex-start;padding:18px;background:white;border:1px solid var(--line);color:var(--brand)}
.workspace-pilot .ow-data{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:14px;margin-bottom:24px}
.workspace-pilot .ow-data dt{color:var(--muted)}
.workspace-pilot .ow-data dd{margin:0;overflow-wrap:anywhere}
.workspace-pilot .ow-preline{white-space:pre-line;overflow-wrap:anywhere}
.workspace-pilot .ow-empty{padding:30px;color:var(--muted)}
.workspace-pilot #ow-project-content>.panel{padding:24px}
.workspace-pilot #ow-project-content .workflow-step-actions{justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}
.workspace-pilot #ow-project-content .panelhead{padding:0 0 15px;gap:12px;flex-wrap:wrap}
.workspace-pilot #ow-project-content>.connection-details{margin-bottom:15px;font-size:13px}
.workspace-pilot #modal.ow-edit-sheet{width:min(1180px,calc(100vw - 32px))!important;max-width:none;max-height:94dvh;padding:0}
.workspace-pilot .ow-edit-sheet .modalhead{position:sticky;top:0;z-index:3;background:white;border-bottom:1px solid var(--line);padding:22px 28px}
.workspace-pilot .ow-edit-sheet .modalbody{padding:22px 28px}
.workspace-pilot .ow-wizard-header>p{font-size:14px;color:var(--muted)}
.workspace-pilot .ow-wizard-header nav{display:flex;border-bottom:1px solid var(--line);gap:6px;margin:18px 0 12px;overflow:auto;padding-bottom:10px}
.workspace-pilot .ow-wizard-header nav button{min-height:43px;padding:10px 15px;background:#edf1f2;color:var(--ink);border-radius:6px;white-space:nowrap;font-size:14px}
.workspace-pilot .ow-wizard-header nav button[aria-current=step]{background:var(--brand);color:white;font-weight:600}
.workspace-pilot [data-ow-save-status]{font-size:12px;margin:0 0 18px}
.workspace-pilot .ow-customer-chooser{display:grid;gap:6px;margin-bottom:20px;max-width:550px;font-size:14px;font-weight:650}
.workspace-pilot .ow-customer-chooser select{padding:11px;border:1px solid var(--line);border-radius:7px;background:white;min-height:44px;width:100%}
.workspace-pilot .ow-offer-form .formgrid{gap:20px}
.workspace-pilot .ow-form-section{min-width:0}
.workspace-pilot .ow-offer-form .billing-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px;background:#f6f8f8;border:1px solid var(--line);border-radius:9px;margin:0 0 20px}
.workspace-pilot .ow-offer-form .billing-description{grid-column:1/-1}
.workspace-pilot .ow-offer-form .billing-line label{white-space:normal;line-height:1.5;font-size:12px}
.workspace-pilot .ow-offer-form .billing-line .field{margin:0;min-width:0}
.workspace-pilot .ow-offer-form .billing-line input,.workspace-pilot .ow-offer-form .billing-line select{width:100%;min-width:0}
.workspace-pilot .ow-offer-form [data-action=bill-remove-line]{justify-self:start;color:var(--red)}
.workspace-pilot .ow-offer-form .actions{flex-wrap:wrap;gap:10px}
.workspace-pilot .ow-offer-form .actions select{max-width:100%;min-width:0}
.workspace-pilot .ow-wizard-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:25px}
.workspace-pilot .ow-preview-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:8px 0 17px}
.workspace-pilot .ow-preview-totals span{font-size:13px;color:var(--muted);border:1px solid var(--line);padding:15px;border-radius:8px}
.workspace-pilot .ow-preview-totals strong{display:block;font-size:23px;color:var(--ink);padding-top:4px}
.workspace-pilot .ow-offer-preview{width:100%;height:640px;border:1px solid var(--line);border-radius:6px;background:white}
.workspace-pilot .ow-edit-sheet .btn{white-space:normal;height:auto;min-height:44px;overflow-wrap:anywhere;text-align:left}
.workspace-pilot .ow-edit-sheet details{margin:18px 0}
.workspace-pilot .ow-edit-sheet summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
.workspace-pilot .ow-edit-sheet .error{overflow-wrap:anywhere}
@media(max-width:1280px){.workspace-pilot .ow-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-pilot .ow-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.workspace-pilot .content{padding:22px 18px}.workspace-pilot .ow-pilot-banner{padding:9px 18px;flex-wrap:wrap;gap:5px}.workspace-pilot .ow-columns{grid-template-columns:1fr}.workspace-pilot .ow-page-heading h1{font-size:27px}.workspace-pilot .ow-page-heading{align-items:flex-start}.workspace-pilot .topbar{min-height:70px}}
@media(max-width:600px){.workspace-pilot .ow-project-grid{grid-template-columns:1fr}.workspace-pilot .ow-page-heading{flex-direction:column;gap:17px}.workspace-pilot .ow-page-heading>.btn{width:100%;justify-content:center}.workspace-pilot .ow-record{align-items:flex-start;flex-direction:column;gap:12px;padding:18px}.workspace-pilot .ow-record>div:last-child{justify-content:flex-start}.workspace-pilot .ow-toolbar{gap:14px}.workspace-pilot .ow-search{width:100%;max-width:none}.workspace-pilot .ow-tiles{gap:10px}.workspace-pilot .ow-tiles .btn{font-size:13px;white-space:normal;padding:12px}.workspace-pilot .ow-project-meta{gap:9px}.workspace-pilot .ow-columns .panel{padding:19px}.workspace-pilot .ow-edit-sheet .modalhead{padding:16px}.workspace-pilot .ow-edit-sheet .modalbody{padding:16px}.workspace-pilot .ow-offer-form .formgrid{grid-template-columns:1fr}.workspace-pilot .ow-offer-form .billing-line{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.workspace-pilot .ow-offer-form .billing-line .field label{font-size:11px}.workspace-pilot .ow-preview-totals{grid-template-columns:1fr;gap:6px}.workspace-pilot .ow-preview-totals span{display:flex;justify-content:space-between;align-items:center}.workspace-pilot .ow-preview-totals strong{font-size:20px}.workspace-pilot .ow-offer-preview{height:550px}.workspace-pilot .ow-data{grid-template-columns:100px 1fr}.workspace-pilot .ow-wizard-header nav button{font-size:12px;padding:9px 10px}}

/* Verified reference layout: desktop table, stacked mobile rows, persistent master data. */
.workspace-pilot .ow-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.workspace-pilot .ow-project-list{padding:0;overflow:visible}
.workspace-pilot .ow-table{width:100%;table-layout:fixed;border-collapse:collapse}
.workspace-pilot .ow-table th,.workspace-pilot .ow-table td{padding:18px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere;white-space:normal}
.workspace-pilot .ow-table th{font-size:12px;color:var(--muted);font-weight:600}
.workspace-pilot .ow-table th button{padding:0;background:none;color:inherit;font:inherit;text-align:left;min-height:40px}
.workspace-pilot .ow-table th:first-child{width:22%}.workspace-pilot .ow-table th:nth-child(2){width:10%}.workspace-pilot .ow-table th:nth-child(3){width:14%}.workspace-pilot .ow-table th:nth-child(4){width:20%}.workspace-pilot .ow-table th:nth-child(5){width:18%}.workspace-pilot .ow-table th:nth-child(6){width:11%}.workspace-pilot .ow-table th:last-child{width:5%}
.workspace-pilot .ow-table .tablelink{font-weight:650;text-align:left;font-size:14px;overflow-wrap:anywhere}
.workspace-pilot .ow-table td{font-size:13px}.workspace-pilot .ow-table tbody tr:hover{background:#f7faf9}
.workspace-pilot .ow-row-menu{position:relative}.workspace-pilot .ow-row-menu summary{cursor:pointer;list-style:none;color:var(--brand);padding:12px 0;min-width:32px;min-height:44px;text-align:center}
.workspace-pilot .ow-row-menu summary::-webkit-details-marker{display:none}.workspace-pilot .ow-row-menu>div{position:absolute;right:0;top:42px;min-width:175px;z-index:12;background:white;box-shadow:0 5px 20px #213f4a26;border:1px solid var(--line);border-radius:6px;padding:6px;display:grid;gap:4px}.workspace-pilot .ow-row-menu .btn{font-size:13px;white-space:normal;justify-content:flex-start}
.workspace-pilot .ow-file-layout{grid-template-columns:minmax(210px,.7fr) minmax(0,1.9fr)}.workspace-pilot .ow-file-layout>.ow-contact{position:sticky;top:18px}
.workspace-pilot .ow-file-layout .ow-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-pilot .ow-file-main h2{margin:24px 0 12px}
.workspace-pilot .ow-tabs{display:flex;border-bottom:1px solid var(--line);gap:12px;overflow:auto;margin-bottom:22px}
.workspace-pilot .ow-tabs button{background:transparent;min-height:45px;padding:10px 12px;white-space:nowrap;color:var(--ink);border-bottom:3px solid transparent}.workspace-pilot .ow-tabs [aria-current=page]{border-bottom-color:var(--brand);font-weight:700}
.workspace-pilot .ow-phase-nav{gap:0;background:white;margin-bottom:18px;border-radius:7px;padding:8px;flex-wrap:wrap;overflow:visible}
.workspace-pilot .ow-contact h3{margin-top:16px}.workspace-pilot .ow-file-layout .panel{min-width:0}.workspace-pilot .ow-file-layout .ow-data{grid-template-columns:1fr;gap:3px}.workspace-pilot .ow-file-layout .ow-data dd{margin-bottom:10px}
.workspace-pilot .ow-position-number{grid-column:1/-1;color:var(--brand);font-weight:650;font-size:13px;border-bottom:1px solid var(--line);padding-bottom:10px}
.workspace-pilot .ow-offer-form .billing-line{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}.workspace-pilot .ow-offer-form .billing-description{grid-column:1/-1}
@media(min-width:1100px){.workspace-pilot .ow-offer-form .billing-line{grid-template-columns:minmax(0,3fr) repeat(3,minmax(0,1fr))}.workspace-pilot .ow-offer-form .billing-description{grid-column:auto}}
@media(max-width:1000px){.workspace-pilot .ow-file-layout{grid-template-columns:1fr}.workspace-pilot .ow-file-layout>.ow-contact{position:static}.workspace-pilot .ow-file-layout .ow-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.workspace-pilot .ow-contact>h2,.workspace-pilot .ow-contact>.hint{grid-column:1/-1}}
@media(max-width:760px){.workspace-pilot .ow-table,.workspace-pilot .ow-table tbody{display:block}.workspace-pilot .ow-table thead{display:none}.workspace-pilot .ow-table tr{display:block;padding:16px;border-bottom:1px solid var(--line)}.workspace-pilot .ow-table td{display:grid;grid-template-columns:115px minmax(0,1fr);align-items:center;width:auto;border:0;padding:5px 0}.workspace-pilot .ow-table td:before{content:attr(data-label);color:var(--muted);font-size:12px}.workspace-pilot .ow-table td:first-child{display:block;font-size:18px;margin-bottom:6px}.workspace-pilot .ow-table td:first-child:before{display:none}.workspace-pilot .ow-table .tablelink{font-size:17px}.workspace-pilot .ow-table .badge{justify-self:start}.workspace-pilot .ow-row-menu{justify-self:end}.workspace-pilot .ow-row-menu>div{top:auto;bottom:40px}}
@media(max-width:600px){.workspace-pilot .ow-file-layout .ow-contact{display:flex}.workspace-pilot .ow-file-layout .ow-tiles{grid-template-columns:1fr}.workspace-pilot .ow-tiles .btn{min-height:48px}.workspace-pilot .ow-phase-nav{overflow-x:auto;flex-wrap:nowrap}.workspace-pilot .ow-page-heading>.actions{flex-wrap:wrap;width:100%}.workspace-pilot .ow-page-heading>.actions .btn{flex:1;white-space:normal}.workspace-pilot .ow-offer-form .billing-line{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-pilot .ow-offer-form .billing-description{grid-column:1/-1}.workspace-pilot .ow-table td{grid-template-columns:105px minmax(0,1fr)}}

.workspace-pilot details.ow-row-menu{margin:0;padding:0;border:0;background:transparent}
.workspace-pilot .ow-row-menu summary{margin:0;border:0;padding:8px 0}
@media(max-width:600px){.workspace-pilot .ow-wizard-header nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.workspace-pilot .ow-wizard-header nav button{white-space:normal;text-align:left}}
.workspace-pilot .ow-presentation-editor{margin:0 0 22px;padding:20px;background:#f7faf9;border:1px solid var(--line);border-radius:10px}.workspace-pilot .ow-presentation-editor h3,.workspace-pilot .ow-presentation-editor h4{margin:0 0 10px}.workspace-pilot .ow-presentation-editor .hint{margin-bottom:14px}.workspace-pilot .ow-group-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;margin:0 0 10px}.workspace-pilot .ow-group-row input{min-width:0}.workspace-pilot .ow-group-row button{min-height:40px;padding:7px 10px}.workspace-pilot .ow-line-group{grid-column:1/-1;display:block!important}.workspace-pilot .ow-line-group select{margin-top:5px}.workspace-pilot [data-ow-template-list]{margin:16px 0;padding-left:20px}.workspace-pilot [data-ow-template-list] li{margin:7px 0;overflow-wrap:anywhere}.workspace-pilot [data-ow-template-editor]{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.workspace-pilot [data-ow-template-editor] textarea{min-height:110px}.workspace-pilot [data-ow-template-editor] .btn{margin-top:12px}
@media(max-width:600px){.workspace-pilot .ow-presentation-editor{padding:15px}.workspace-pilot .ow-group-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.workspace-pilot .ow-group-row input{grid-column:1/-1}.workspace-pilot .ow-group-row button{font-size:12px}.workspace-pilot .ow-presentation-editor .formgrid{grid-template-columns:1fr}.workspace-pilot [data-ow-template-list] li{font-size:13px}}
.workspace-pilot .ow-offer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 18px;border-bottom:1px solid var(--line);margin-bottom:20px}
.workspace-pilot .ow-offer-header h3{margin:2px 0 6px;font-size:24px}
.workspace-pilot .ow-editor-section{margin:0 0 18px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}
.workspace-pilot .ow-editor-section>h3{margin:0 0 14px}
.workspace-pilot .ow-officeon-editor>.ow-presentation-editor{background:#fff}
.workspace-pilot .ow-position-section>.ow-presentation-editor{background:#f7faf9}
.workspace-pilot .ow-template-manager{margin-top:16px;border-top:1px solid var(--line);padding-top:10px}
.workspace-pilot .ow-preview-panel[hidden]{display:none}
.workspace-pilot .ow-preview-panel{background:#f7faf9}
.workspace-pilot .ow-officeon-editor>.formfooter{position:sticky;bottom:0;z-index:4;background:#fff;border-top:1px solid var(--line);padding:14px 0 4px;margin-top:12px;box-shadow:0 -8px 18px rgba(30,50,55,.06)}
.workspace-pilot .ow-officeon-editor>.formfooter .btn{justify-content:center;text-align:center}
.workspace-pilot .ow-officeon-editor .ow-customer-chooser{max-width:none}
@media(max-width:600px){.workspace-pilot .ow-offer-header{flex-direction:column}.workspace-pilot .ow-offer-header>.btn{width:100%;justify-content:center}.workspace-pilot .ow-editor-section{padding:15px}.workspace-pilot .ow-officeon-editor>.formfooter{display:grid;grid-template-columns:1fr}.workspace-pilot .ow-officeon-editor>.formfooter .btn{width:100%}}
.workspace-pilot .ow-add-menu{position:relative;margin:0}
.workspace-pilot .ow-add-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
.workspace-pilot .ow-add-menu>summary::-webkit-details-marker{display:none}
.workspace-pilot .ow-add-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 30px #213f4a26;padding:7px;display:grid;gap:6px}
.workspace-pilot .ow-add-menu>div .btn{width:100%;justify-content:flex-start;text-align:left}
@media(max-width:600px){.workspace-pilot .ow-add-menu{width:100%}.workspace-pilot .ow-add-menu>summary{width:100%}.workspace-pilot .ow-add-menu>div{left:0;right:auto;width:100%;min-width:0}}
/* Document lists have eight or nine columns; keep every column readable beside Lina. */
@media(min-width:761px){.workspace-pilot .ow-document-table{table-layout:auto;min-width:1050px}.workspace-pilot .ow-document-table th:nth-child(n){width:auto}.workspace-pilot .ow-document-table th,.workspace-pilot .ow-document-table td{overflow-wrap:normal}.workspace-pilot .ow-document-table td.right,.workspace-pilot .ow-document-table th:last-child,.workspace-pilot .ow-document-table td:last-child{white-space:nowrap}}
.workspace-pilot .ow-document-table td small{display:block;color:var(--muted);margin-top:4px}.workspace-pilot .ow-document-table td.right{text-align:right}
@media(max-width:760px){.workspace-pilot .ow-document-table td.right{text-align:left}.workspace-pilot .ow-document-table td[data-label="Aktionen"]{display:flex;justify-content:flex-end}.workspace-pilot .ow-document-table td[data-label="Aktionen"]:before{display:none}}
.workspace-pilot .ow-invoice-plus{margin:0 0 18px;border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:#f7faf9}
.workspace-pilot .ow-invoice-plus>summary{font-weight:650}
.workspace-pilot .ow-invoice-plus-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px}
.workspace-pilot .ow-invoice-form .ow-position-section>.actions{margin-bottom:14px}
.workspace-pilot .ow-invoice-form .billing-line{margin-bottom:14px}
@media(max-width:700px){.workspace-pilot .ow-invoice-plus-grid{grid-template-columns:1fr}.workspace-pilot .ow-invoice-form .ow-position-section>.actions{display:grid;grid-template-columns:1fr}.workspace-pilot .ow-invoice-form .ow-position-section>.actions>*{width:100%}}
.workspace-pilot .ow-customer-table th:first-child{width:18%}
.workspace-pilot .ow-customer-table th:nth-child(2){width:10%}
.workspace-pilot .ow-customer-table th:nth-child(3){width:11%}
.workspace-pilot .ow-customer-table th:nth-child(4){width:22%}
.workspace-pilot .ow-customer-table th:nth-child(5){width:16%}
.workspace-pilot .ow-customer-table th:nth-child(6){width:8%}
.workspace-pilot .ow-customer-table th:nth-child(7){width:12%}
.workspace-pilot .ow-line-commercial{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;border-top:1px solid var(--line);padding-top:10px;margin-top:2px}
.workspace-pilot .ow-line-commercial span{display:flex;justify-content:space-between;gap:8px;background:#f7faf9;border-radius:6px;padding:8px 10px}
.workspace-pilot .ow-line-commercial small{color:var(--muted)}
.workspace-pilot .ow-line-commercial strong{font-variant-numeric:tabular-nums}
@media(max-width:760px){.workspace-pilot .ow-line-commercial{grid-template-columns:1fr 1fr}.workspace-pilot .ow-customer-table td[data-label="Aktionen"]{display:flex;justify-content:flex-end}.workspace-pilot .ow-customer-table td[data-label="Aktionen"]:before{display:none}}
@media(max-width:430px){.workspace-pilot .ow-line-commercial{grid-template-columns:1fr}}

/* Keep the extended navigation readable in the existing mobile navigation row. */
@media(max-width:760px){
 .workspace-pilot .topbar{min-height:52px}
 .workspace-pilot .sidebar nav{overflow-x:auto;align-items:flex-start}
 .workspace-pilot .sidebar nav>.navitem{flex:0 0 auto;width:auto;min-width:92px;min-height:60px;font-size:12px;white-space:nowrap}
 .workspace-pilot .ow-nav-separator{display:none}
 .workspace-pilot .ow-more{flex:0 0 auto;margin:0;padding:0;border:0;background:transparent}
 .workspace-pilot .ow-more summary{min-height:60px;white-space:nowrap}
 .workspace-pilot .ow-more-links{position:fixed;top:72px;right:8px;z-index:40;width:min(280px,calc(100vw - 16px));max-height:calc(100dvh - 88px);overflow:auto;background:var(--nav);border:1px solid #40545b;border-radius:8px;padding:6px;box-shadow:0 8px 24px #152c3940}
 .workspace-pilot .sidebar nav .ow-more .navitem{width:100%;min-height:44px;flex-direction:row;justify-content:flex-start;padding:10px 14px!important;text-align:left}
}

/* Belegartikel: same fields on desktop and narrow screens. */
.ow-line-details{grid-column:1/-1}.ow-line-details>.field{display:inline-flex;max-width:310px;vertical-align:top;margin-right:12px}.ow-article-result{display:flex;flex-direction:column;width:100%;text-align:left;border:1px solid #d8e1e5;background:#fff;border-radius:8px;padding:10px;margin:5px 0}.ow-article-result:hover{background:#edf6f4}[data-article-picker]{padding:14px;background:#f4f7f8;border-radius:10px;margin-top:10px}[data-article-results]{max-height:300px;overflow:auto}[data-article-component]{padding:12px;border:1px solid #d8e1e5;margin:8px 0;border-radius:8px}@media(max-width:620px){.ow-line-details>.field{display:flex;max-width:none;margin-right:0}}

/* Keep column names stable; sorting direction is exposed with aria-sort. */
.workspace-pilot .ow-customer-table th[aria-sort="ascending"] button::after{content:" ↑"}
.workspace-pilot .ow-customer-table th[aria-sort="descending"] button::after{content:" ↓"}

.erp-commercial-metrics{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.erp-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.55}
.erp-chart{display:grid;gap:.8rem;margin:1.2rem 0}
.erp-chart-row{display:grid;grid-template-columns:4.5rem minmax(30px,1fr) minmax(12rem,auto);gap:.7rem;align-items:center}
.erp-chart-bars{display:grid;gap:4px}.erp-chart-bars i{display:block;min-height:10px;border-radius:3px}
.erp-chart .revenue,.erp-legend.revenue{background:#156b67}
.erp-chart .expense,.erp-legend.expense{background:#a96716}
.erp-legend{display:inline-block;width:12px;height:12px;border-radius:2px}
.ow-toolbar .field{margin:0}.ow-toolbar .field label{display:block}
@media(max-width:640px){.erp-chart-row{grid-template-columns:4rem minmax(20px,1fr)}.erp-chart-row small{grid-column:2}.erp-commercial-metrics{grid-template-columns:1fr 1fr}}

.ow-status-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.65rem;margin-bottom:.5rem}
.ow-status-cards button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;white-space:normal;overflow-wrap:anywhere}.ow-status-cards button span{max-width:100%}.ow-status-cards strong{font-size:1.6rem}.ow-status-cards [aria-pressed=true]{background:#e5f3f0;border-color:#156b67}

/* Eight catalog columns need their own widths; the shared seven-column layout collapses sale prices. */
@media(min-width:761px){
 .workspace-pilot .ow-catalog-table{min-width:1040px}
 .workspace-pilot .ow-catalog-table th:nth-child(1){width:22%}
 .workspace-pilot .ow-catalog-table th:nth-child(2){width:11%}
 .workspace-pilot .ow-catalog-table th:nth-child(3){width:9%}
 .workspace-pilot .ow-catalog-table th:nth-child(4){width:7%}
 .workspace-pilot .ow-catalog-table th:nth-child(5){width:12%}
 .workspace-pilot .ow-catalog-table th:nth-child(6){width:9%}
 .workspace-pilot .ow-catalog-table th:nth-child(7){width:12%}
 .workspace-pilot .ow-catalog-table th:nth-child(8){width:18%}
 .workspace-pilot .ow-catalog-table .right{text-align:right}
 .workspace-pilot .ow-catalog-table td.right{white-space:nowrap}
}


/* Project 360: compact office cockpit, existing project workflows retained. */
.ow-project360-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin:0 0 1rem;color:var(--muted,#52646b);font-size:.85rem}
.ow-project360-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:.5rem 0}
.ow-project360-kpis>div{padding:.65rem .6rem;border-bottom:1px solid #dbe3e6;min-width:0}
.ow-project360-kpis dt{font-size:.78rem;color:#52646b}.ow-project360-kpis dd{margin:.3rem 0 0;font-size:1.04rem;font-weight:650;font-variant-numeric:tabular-nums}
.ow-unknown{font-size:.78rem;font-weight:400;color:#68747c;line-height:1.3;display:inline-block}
.ow-progress{display:flex;flex-wrap:wrap;gap:.35rem .9rem;padding:0;margin:.5rem 0;list-style:none;font-size:.78rem;color:#66737a}.ow-progress .reached{color:#12654d;font-weight:600}
.ow-postcost-table{width:100%;border-collapse:collapse;font-size:.86rem}.ow-postcost-table th,.ow-postcost-table td{padding:.6rem;border-bottom:1px solid #dbe3e6;text-align:right;font-variant-numeric:tabular-nums}.ow-postcost-table th:first-child{text-align:left;width:32%}.ow-postcost-table td{width:34%}
.ow-project360 details{margin-top:.75rem}.ow-project360 details p{font-size:.83rem}.ow-project360 .panelhead{gap:.5rem;flex-wrap:wrap}.ow-project360 .panelhead>span{font-size:.78rem;color:#66737a}
@media(min-width:1100px){.ow-project360-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:1100px){.ow-project360-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ow-project360-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-project360-layout>.ow-contact{order:2}.ow-project360-meta{font-size:.78rem}.ow-postcost-table th,.ow-postcost-table td{padding:.45rem .25rem}}

/* Keep the cockpit above the fold; replace duplicate legacy tiles in this view. */
.workspace-pilot .ow-project360-layout>div>.ow-tiles{display:none}
.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading{margin:4px 0 8px;gap:12px}
.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading .ow-eyebrow{display:none}
.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading h1{font-size:25px;margin:0 0 4px}
.workspace-pilot .content:has(.ow-project360-layout) .ow-breadcrumb{margin-bottom:10px}
.workspace-pilot .content:has(.ow-project360-layout) .ow-project-meta{margin:0 0 5px;min-height:28px}
.workspace-pilot .ow-project360-layout .ow-phase-nav{margin-bottom:10px;padding:4px;gap:0}
.workspace-pilot .ow-project360-layout .ow-phase-nav button{min-height:32px;padding:7px 8px;font-size:12px}
.workspace-pilot .ow-project360-layout .ow-contact{padding:14px;font-size:13px}
.workspace-pilot .ow-project360-layout .ow-contact h2{font-size:15px;margin:0 0 12px}
.workspace-pilot .ow-project360-layout .ow-project360{padding:14px}
.workspace-pilot .ow-project360-layout .ow-project360 h2{font-size:18px;margin:0}
@media(min-width:1001px){.workspace-pilot .ow-columns.ow-project360-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}}
@media(max-width:760px){.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading{gap:8px}.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading>.actions{gap:6px}.workspace-pilot .content:has(.ow-project360-layout) .ow-page-heading>.actions .btn{min-height:36px;padding:8px}.workspace-pilot .ow-project360-layout .ow-phase-nav button{min-height:42px}.workspace-pilot .ow-project360-layout .ow-contact{order:2}.workspace-pilot .ow-project360-layout .ow-project360{padding:10px}}

/* Allow long customer names to wrap in the project breadcrumb on phones. */
@media(max-width:600px){.workspace-pilot .ow-breadcrumb{flex-wrap:wrap;min-width:0}.workspace-pilot .ow-breadcrumb .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}}

/* The one-time OfficeOn migration action must wrap on narrow screens. */
.workspace-pilot [data-officeon-adoption-open],.workspace-pilot [data-officeon-source-import]{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* First project intake: directly selectable customer hits and later planning. */
.project-start-note p{margin:.5rem 0 0}
.project-customer-results{display:grid;gap:.5rem;max-height:20rem;overflow:auto}
.project-customer-hit{display:flex!important;flex-direction:column;align-items:flex-start!important;text-align:left;white-space:normal!important;gap:.3rem}
.project-customer-hit span{font-size:.9em;font-weight:400}
.project-customer-hit[aria-pressed="true"]{outline:2px solid var(--brand,#176b5b);outline-offset:-2px}
.project-customer-selected{margin:0;font-weight:600}
[data-project-appointment] .checks{display:flex;flex-wrap:wrap;gap:1rem}
[data-project-appointment] .checks label{display:flex;align-items:center;gap:.6rem}
[data-project-appointment] input[type=radio],[data-project-appointment] input[type=checkbox]{width:auto;flex:0 0 auto}
