/* Restored customer screens use the supplied app.css components with live data. */
body[data-customer-page] .ov-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--s6);align-items:start;margin-top:var(--s6)}
body[data-customer-page] .stack{display:flex;flex-direction:column;gap:var(--s5);min-width:0}
body[data-customer-page] .sec-title{margin-bottom:var(--s4)}
body[data-customer-page] .sec-head .sec-title{margin-bottom:0}
body[data-customer-page] .description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
body[data-customer-page] .desc-clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;color:var(--ink-2);margin-top:8px}
#task-page-head .actions{margin-top:0}
#task-page-head .actions>a{display:none}
#task-detail.customer-original-overview{display:block}
#customer-bids.customer-original-offers{padding:0;border:0;background:none;margin-top:var(--s6)}
#customer-bids>.helper{display:none}
#task-page-head{gap:var(--s5);margin-bottom:var(--s6)}
#task-page-head>div:first-child{min-width:0;flex:1}
#task-page-head>a{display:none}
#task-page-head .task-meta{display:flex;gap:var(--s3);align-items:center;flex-wrap:wrap;margin-top:var(--s3)}
#task-page-head #task-eyebrow{margin:0;font-size:var(--fs-meta);color:var(--muted)}
#task-page-head #task-status{margin:0}
#task-page-head #customer-task-meta-facts{display:flex;gap:var(--s4);flex-wrap:wrap}
#task-page-head #customer-task-meta-facts>span{display:inline-flex;gap:6px;align-items:center;font-size:var(--fs-small);color:var(--ink-2)}
#customer-task-state,#task-detail aside>[data-goto-task]{display:none}
#task-detail #customer-task-side-facts{margin-top:0}
#customer-task-status-box .sb-meta>span{flex-wrap:wrap;gap:8px 20px}
#customer-task-status-box .sb-meta>span>span{display:inline-flex;align-items:center;gap:8px}
#customer-bid-items>.bid-grid>.bid-card{padding:0;display:block;overflow:hidden}
#customer-bid-items .bc-identity{flex:1;min-width:0}
#customer-bid-items .bc-name{font-size:1rem}
#customer-bid-items .customer-quick-select{padding:0 var(--s5) var(--s4);text-align:right}
#customer-bid-items .bids-tools{display:flex;justify-content:space-between;align-items:center;gap:var(--s4);margin-bottom:var(--s4);flex-wrap:wrap}
#customer-bid-items .anon-note{display:flex;gap:8px;align-items:flex-start;font-size:var(--fs-small);color:var(--ink-2);max-width:650px}
#customer-bid-items .anon-note>.icon{flex:none;color:var(--primary)}
#customer-bid-items .offer-view{display:flex;padding:3px;gap:3px;border:1px solid var(--line);border-radius:var(--r-md)}
#customer-bid-items .offer-view .btn{min-height:32px}
#customer-bid-items .compare-picker{margin-bottom:var(--s4)}
#customer-bid-items .compare-picker .chip{display:inline-flex;gap:8px}
#customer-bid-items .compare .col-head{display:grid;gap:var(--s3)}
#customer-bid-items .compare{min-width:620px}
#customer-bid-items .compare th:first-child{width:160px}
#customer-bid-items .compare td{vertical-align:top}
#customer-bid-items .compare .ticks{min-width:160px}
#customer-bid-items .compare-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}
#customer-bid-items .price-watch-note{margin:var(--s3) var(--s5)}
#customer-bid-items .compare-wrap+p{margin-top:var(--s4)}
body[data-customer-page] .customer-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:var(--s3);margin:var(--s5) 0}
body[data-customer-page] .customer-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-md)}
body[data-customer-page] .customer-gallery a{min-width:0}
#customer-task-info{margin-top:var(--s6)}
#customer-task-files,#customer-task-questions,#task-review-history{margin-top:var(--s6)}
body[data-customer-page] .customer-original-history{border:0;padding:0;background:none}
body[data-customer-page] .customer-original-history>.card{max-width:820px}
body[data-customer-page] .customer-original-history #task-review-messages:empty:after{content:'Ingen beskeder fra ProTask endnu.';color:var(--muted)}
body[data-customer-page] #customer-extra-panel{padding:0;border:0;background:none}
body[data-customer-page] #customer-extra-panel>a:last-child{margin-top:var(--s6)}
body[data-customer-page] #customer-extra-items{display:block;padding:0;border:0;background:none}
body[data-customer-page] #customer-extra-items.customer-project-list .tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s5)}
body[data-customer-page] .customer-original-offer .two-col{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--s6);align-items:start}
body[data-customer-page] .customer-original-offer .side{position:sticky;top:88px}
body[data-customer-page] .sec-card+.sec-card{margin-top:var(--s4)}
body[data-customer-page] .sec-card h2{font-size:1rem;font-weight:700;display:flex;gap:8px;align-items:center;margin-bottom:var(--s4)}
body[data-customer-page] .sec-card h2>.icon{color:var(--muted);width:18px;height:18px}
body[data-customer-page] .price-hero{display:flex;flex-direction:column;gap:8px}
body[data-customer-page] .price-hero .amount{font-size:2rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}
body[data-customer-page] .vat-line{display:flex;gap:8px;align-items:center}
body[data-customer-page] .ticks{display:grid;gap:8px;padding:0;list-style:none}
body[data-customer-page] .ticks li{display:flex;gap:10px;align-items:flex-start;overflow-wrap:anywhere}
body[data-customer-page] .ticks .icon{width:18px;height:18px;flex:none;color:var(--primary);margin-top:2px}
body[data-customer-page] .msg-quote{white-space:pre-wrap;border-left:3px solid var(--line-strong);padding:4px 0 4px 16px;color:var(--ink-2)}
body[data-customer-page] .customer-original-offer .bid-head{margin-bottom:var(--s6)}
body[data-customer-page] .customer-original-offer .bid-head .cluster{margin-top:8px}
body[data-customer-page] .customer-project-panel{padding:0;border:0;background:none}
body[data-customer-page] .customer-project-panel>.task-head{display:flex;justify-content:space-between;gap:var(--s5);align-items:flex-start;margin-bottom:var(--s6)}
body[data-customer-page] .customer-project-panel>.task-head h1{font-size:1.75rem;line-height:1.25}
body[data-customer-page] .customer-project-panel>.task-head .task-meta{margin-top:var(--s3)}
body[data-customer-page] .customer-snapshot,body[data-customer-page] .customer-timeline{max-width:820px}
body[data-customer-page] .contact-line span>.meta,body[data-customer-page] .contact-line span>strong{display:block}
body[data-customer-page] .customer-chat-compose{padding:var(--s5);border-top:1px solid var(--line);display:grid;gap:var(--s3)}
body[data-customer-page] .customer-chat-compose .btn{justify-self:end}
body[data-customer-page] .customer-chat-compose [role=status]:empty{display:none}
body[data-customer-page] .chat-card>p{padding:var(--s4) var(--s5)}
body[data-customer-page] .msg{white-space:pre-wrap;overflow-wrap:anywhere}
body[data-customer-page] .msg .msg-meta{font-size:var(--fs-meta);font-weight:400;display:block}
body[data-customer-page] #customer-extra-items.customer-original-inbox{display:grid;grid-template-columns:400px minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;min-height:560px}
.customer-original-inbox .inbox-list{border-right:1px solid var(--line);min-width:0;display:flex;flex-direction:column}
.customer-original-inbox .inbox-list .tabs{padding:0 var(--s4)}
.customer-original-inbox .inbox-view{display:flex;flex-direction:column;min-width:0;padding:0}
.customer-original-inbox .thread-copy{min-width:0}
.customer-original-inbox .thread-copy>span{display:block}
.customer-original-inbox .view-head{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);padding:var(--s4) var(--s5);border-bottom:1px solid var(--line)}
.customer-original-inbox .view-body{padding:var(--s5);display:flex;flex-direction:column;gap:var(--s4);flex:1}
.customer-original-inbox .customer-thread-chat{flex:1;display:flex;flex-direction:column}
.customer-original-inbox #inbox-list-feedback{padding:var(--s3);font-size:var(--fs-small)}
.customer-original-inbox #inbox-list-feedback:empty{display:none}
.customer-original-inbox .back-m{display:none}
.customer-original-inbox .t-time{max-width:48px}
body[data-customer-page] .customer-offer-sticky{display:none}
body[data-customer-page] .ticks.no .icon{color:var(--danger)}
body[data-customer-page] .ticks.note .icon{color:var(--warning)}
body[data-customer-page] .contact-card .cluster{display:flex;gap:12px;align-items:center;flex-wrap:nowrap;margin-bottom:var(--s4)}
body[data-customer-page] .contact-card .cluster>div{min-width:0;flex:1;overflow-wrap:anywhere}
body[data-customer-page] .chat-card>.view-head{padding:var(--s4) var(--s5);border-bottom:1px solid var(--line);font-size:1rem}
body[data-customer-page] .chat-card>.view-body{display:flex;flex-direction:column;gap:var(--s4);padding:var(--s5)}
@media(max-width:720px){#customer-bid-items .compare{min-width:0}#customer-bid-items .compare tbody th{width:auto}#customer-bid-items .compare .ticks{min-width:0}#customer-bid-items .compare .btn{white-space:normal;min-width:0;text-align:center;padding:8px}}
@media(max-width:760px){#task-page-head{flex-direction:column;align-items:stretch}#task-page-head .actions{justify-content:flex-start;flex-direction:row;flex-wrap:wrap}#task-page-head .actions .btn{width:auto}}
@media(max-width:1000px){body[data-customer-page] .ov-grid,body[data-customer-page] .customer-original-offer .two-col{grid-template-columns:minmax(0,1fr)}body[data-customer-page] .customer-original-offer .side{position:static}body[data-customer-page] #customer-extra-items.customer-project-list .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body[data-customer-page] #customer-extra-items.customer-original-inbox{grid-template-columns:minmax(0,1fr);min-height:420px}.customer-original-inbox .inbox-list{border-right:0}.customer-original-inbox.show-view .inbox-list{display:none}.customer-original-inbox:not(.show-view) .inbox-view{display:none}.customer-original-inbox .back-m{display:inline-flex}body[data-customer-page] .customer-project-panel>.task-head{flex-direction:column}body[data-customer-page] #customer-extra-items.customer-project-list .tiles{grid-template-columns:minmax(0,1fr)}body[data-customer-page] .customer-offer-sticky{display:flex;bottom:var(--bottom-nav-h,64px)}body[data-customer-page] .customer-offer-sticky .btn{flex:1}body[data-customer-page] .customer-original-offer{padding-bottom:80px}#customer-bid-items .compare{min-width:0}.customer-original-inbox .view-head{padding:var(--s3);flex-wrap:wrap}}

