/* Atelier reading hierarchy: order, current task, specifications, then supporting messages. */
.test-atelier-workspace .test-workspace{max-width:1120px;padding-top:28px!important}
.test-atelier-workspace .customer-document-nav{display:none!important}
.test-atelier-workspace .test-workspace h1{font-size:clamp(28px,3vw,34px);margin-bottom:14px;letter-spacing:-.025em}
.test-atelier-workspace .test-notice{font-size:12px;line-height:1.6;padding:8px 12px;border-radius:6px}
.test-atelier-workspace .test-account-current{padding:12px 14px;gap:12px;border-color:#d8e3dc;background:#f4f8f4;border-radius:10px}
.test-atelier-workspace .test-account-current .personal-greeting{font-size:16px;line-height:1.5}
.test-atelier-workspace .test-account-current>span{font-size:12px;padding:5px 9px}
.test-atelier-workspace .test-account-current button,.test-atelier-workspace .test-account-current #test-refresh{min-height:42px;font-size:13px;padding:9px 12px}
.test-atelier-workspace .test-order-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:18px 0 16px;padding:0;border:0}
.test-atelier-workspace .test-view-tabs{padding:4px;border-radius:9px;background:#eef3ef}
.test-atelier-workspace .test-view-tabs button{font-size:14px;line-height:1.5;min-height:44px;padding:10px 15px}
.test-atelier-workspace .test-view-tabs [data-filter-count]{font-size:12px}
.test-atelier-workspace .test-search{width:min(340px,100%);min-width:0}
.test-atelier-workspace .test-search-label,.test-atelier-workspace .test-search>span{font-size:12px;line-height:1.5;color:#5d7366}
.test-atelier-workspace .test-search input{box-sizing:border-box;min-height:46px;font-size:14px;padding:10px 12px;border-color:#c2d2c7;border-radius:7px}
.test-atelier-workspace details.simple-order{border:1px solid #cddbd1;border-radius:12px;box-shadow:0 3px 10px #234b3c05;overflow:hidden}
.test-atelier-workspace .simple-order>.test-order-summary{padding:16px 18px;gap:14px;min-height:80px;background:#fff}
.test-atelier-workspace .simple-order .test-summary-photo{width:48px;height:54px;border:1px solid #e1e7e1;border-radius:7px}
.test-atelier-workspace .simple-order .test-summary-identity>strong{font-size:18px;line-height:1.5}
.test-atelier-workspace .simple-order .test-summary-identity>small{font-size:13px;line-height:1.5}
.test-atelier-workspace .simple-order .test-summary-facts{font-size:13px;line-height:1.6;margin-top:4px}
.test-atelier-workspace .simple-order .test-status-pill{font-size:12px;line-height:1.5;max-width:190px;padding:7px 11px;border-radius:6px;background:#f2f5f1;color:#42614c}
.test-atelier-workspace .simple-order .test-status-pill.action{background:#fff2d2;color:#76571c;border:1px solid #ecd79f}
.test-atelier-workspace .simple-order .test-status-pill.finished{background:#e7f4eb;color:#285e41}
.test-atelier-workspace .test-order-shell>.tidy-order-detail{padding:16px 18px;background:#fff}
.test-atelier-workspace .tidy-order-detail>.test-task-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:14px 16px;border:1px solid #d7e4db;border-left:3px solid #347153;border-radius:8px;background:#f4f8f4}
.test-atelier-workspace .test-task-row .test-current{flex:1;min-width:0}
.test-atelier-workspace .tidy-order-detail .test-current-simple>strong{font-size:16px;line-height:1.5;color:#244e3a}
.test-atelier-workspace .tidy-order-detail .test-current-simple>p{font-size:14px;line-height:1.7;color:#56705f;margin-top:5px}
.test-atelier-workspace .test-task-row .test-primary-actions{flex:0 0 auto;max-width:48%;width:auto;padding:0;margin:0;position:static;background:none;border:0}
.test-atelier-workspace .test-task-row .test-primary-actions:empty{display:none}
.test-atelier-workspace .tidy-order-detail .test-primary-actions>.button{min-height:44px!important;font-size:14px;padding:10px 16px;white-space:normal}
.test-atelier-workspace .test-task-row:has(.work-photo-inline){display:block}
.test-atelier-workspace .test-task-row:has(.work-photo-inline) .test-primary-actions{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;margin-top:14px}
.test-atelier-workspace .test-task-row:has(.work-photo-inline) .test-primary-actions>.button{align-self:start}
.test-atelier-workspace .tidy-order-section{margin:14px 0;border-color:#dce5df;border-radius:9px}
.test-atelier-workspace .tidy-order-section>summary{font-size:15px;line-height:1.6;padding:12px 14px!important;gap:12px}
.test-atelier-workspace .tidy-section-count{font-size:12px;line-height:1.6;color:#617a6a}
.test-atelier-workspace .tidy-order-section>.atelier-sheet{margin:0}
.test-atelier-workspace .tidy-order-section:has(>.atelier-sheet){border:0;border-radius:0;background:transparent;margin:12px 0}
.test-atelier-workspace .tidy-order-section:has(>.atelier-sheet)>summary{padding:0 0 10px!important}
.test-atelier-workspace .tidy-order-section>.atelier-sheet>h3{display:none}
.test-atelier-workspace .atelier-sheet>h3{font-size:16px;margin-bottom:12px}
.test-atelier-workspace .atelier-save.work-save-bar{padding:14px;border:1px solid #d4e1d8;border-radius:8px;background:#f4f8f4;gap:12px}
.test-atelier-workspace .atelier-save .work-save-status{font-size:14px;line-height:1.6}
.test-atelier-workspace .atelier-save .button{font-size:14px;min-height:44px;padding:11px 16px}
.test-atelier-workspace .tidy-order-notes>section{padding:16px;margin:0 16px 16px;background:#fffcf3;border:1px solid #eee3c4}
.test-atelier-workspace .tidy-order-notes h3{display:none}
.test-atelier-workspace .tidy-order-notes p{font-size:15px;line-height:1.75;color:#544e37}
.test-atelier-workspace .work-photo-compose{margin:18px 0;border-color:#dce5df;border-radius:8px}
.test-atelier-workspace .work-photo-compose>summary{font-size:14px;line-height:1.6;padding:14px 16px}
.test-atelier-workspace .work-photo-fields{padding:0 16px 16px;gap:12px}
.test-atelier-workspace .work-photo-fields>label{font-size:14px;line-height:1.6}
.test-atelier-workspace .work-photo-fields select,.test-atelier-workspace .work-photo-fields textarea{font-size:14px;line-height:1.6;padding:10px 12px;border-radius:7px}
.test-atelier-workspace .work-photo-picker label{font-size:13px;min-height:44px}
.test-atelier-workspace .work-photo-picker small,.test-atelier-workspace .work-photo-product{font-size:12px;line-height:1.6}
.test-atelier-workspace .work-message-body strong{font-size:14px;line-height:1.6}
.test-atelier-workspace .work-photo-entry .work-message-note{font-size:14px;line-height:1.75}
.test-atelier-workspace .work-message-body time{font-size:12px}
.assigned-atelier-note{font:400 13px/1.6 system-ui;color:#607568;margin:0 0 12px}
.assigned-atelier-note strong{font-weight:650;color:#365943}
@media(max-width:700px){
 .test-atelier-workspace .test-order-controls{align-items:stretch;flex-direction:column;gap:14px}
 .test-atelier-workspace .test-view-tabs{align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-sizing:border-box}
 .test-atelier-workspace .test-view-tabs button{flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:6px;padding:9px 8px;font-size:13px}
 .test-atelier-workspace .test-view-tabs button>span:first-child{overflow-wrap:normal}
 .test-atelier-workspace .test-search{width:100%}
 .test-atelier-workspace .simple-order>.test-order-summary{padding:16px;gap:12px}
 .test-atelier-workspace .simple-order .test-summary-status{margin-left:0}
 .test-atelier-workspace .simple-order .test-summary-identity>strong{font-size:16px}
 .test-atelier-workspace .simple-order .test-summary-identity>small{font-size:12px}
 .test-atelier-workspace .simple-order .test-summary-facts{font-size:13px;white-space:normal}
 .test-atelier-workspace .simple-order .test-status-pill{font-size:12px;max-width:none}
 .test-atelier-workspace .test-order-shell>.tidy-order-detail{padding:16px}
 .test-atelier-workspace .tidy-order-detail>.test-task-row{flex-direction:column;align-items:stretch;padding:16px;gap:14px}
 .test-atelier-workspace .test-task-row .test-primary-actions{width:100%;max-width:none}
 .test-atelier-workspace .test-task-row .test-primary-actions>.button{width:100%}
 .test-atelier-workspace .test-task-row:has(.work-photo-inline) .test-primary-actions{grid-template-columns:minmax(0,1fr)}
 .test-atelier-workspace .tidy-order-section>summary{flex-wrap:wrap;font-size:14px;padding:13px!important}
 .test-atelier-workspace .tidy-section-count{font-size:12px}
 .test-atelier-workspace .tidy-order-section>.atelier-sheet{margin:0}
 .test-atelier-workspace .atelier-save.work-save-bar{flex-direction:column;align-items:stretch;padding:14px}
 .test-atelier-workspace .atelier-save .work-save-status{flex-basis:auto}
 .test-atelier-workspace .atelier-save .button{width:100%;flex-basis:auto}
}
@media(max-width:430px){
 .test-atelier-workspace .simple-order>.test-order-summary{display:grid;grid-template-columns:44px minmax(0,1fr) 16px;gap:7px 10px;flex-wrap:wrap}
 .test-atelier-workspace .simple-order .test-summary-photo{grid-column:1;grid-row:1 / span 2;width:44px;height:50px}
 .test-atelier-workspace .simple-order .test-summary-identity{grid-column:2;grid-row:1;min-width:0}
 .test-atelier-workspace .simple-order .test-summary-status{grid-column:2;grid-row:2;justify-items:start;text-align:left}
 .test-atelier-workspace .simple-order .test-summary-chevron{grid-column:3;grid-row:1 / span 2}
 .test-atelier-workspace .simple-order .test-summary-identity>strong{font-size:15px}
 .test-atelier-workspace .test-order-shell>.tidy-order-detail{padding:12px}
}
