/* Shared feature workspaces: all controls follow one scale and grid. */
body.nh-admin-shell.nh-workspace { background:var(--nh-color-page,#fffcf7); }
.nh-workspace .nhw-page{width:100%;max-width:1260px;margin:0 auto;padding:12px 8px 40px}
.nh-workspace .nhw-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 28px}
.nh-workspace .nhw-heading h1{font:400 clamp(28px,3vw,36px)/1.2 var(--nh-font-heading,Georgia,serif);color:var(--nh-color-heading,#614b26);margin:0 0 10px}
.nh-workspace .nhw-heading p,.nh-workspace .nhw-muted{color:var(--nh-color-muted,#756b5c);line-height:1.6;margin:0}
.nh-workspace .nhw-heading p{max-width:680px;font-size:15px}
.nh-workspace .nhw-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nh-workspace .nhw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:46px;padding:10px 18px;border:1px solid var(--nh-color-border,#e5dbca);border-radius:10px;font:600 14px/1.35 var(--nh-font-body,Arial,sans-serif);color:var(--nh-color-ink,#302719);background:var(--nh-color-surface,#fff);text-decoration:none;cursor:pointer;white-space:nowrap;box-sizing:border-box}
.nh-workspace .nhw-button-primary{background:var(--nh-color-action,#d8b568);border-color:var(--nh-color-border-strong,#c9a354)}
.nh-workspace .nhw-button:hover{background:var(--nh-color-selected,#f2e7c9)}
.nh-workspace .nhw-button:disabled{opacity:.45;cursor:default}
.nh-workspace .nhw-button-icon{padding:10px;width:44px;min-width:44px;min-height:44px}
.nh-workspace .nhw-button-danger{color:#934b34}
.nh-workspace .nhw-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.nh-workspace .nhw-card{background:var(--nh-color-surface,#fff);border:1px solid var(--nh-color-border,#e5dbca);border-radius:16px;overflow:hidden;box-shadow:0 8px 30px #614b2605}
.nh-workspace .nhw-card-head{padding:22px 24px;border-bottom:1px solid var(--nh-color-border,#e5dbca)}
.nh-workspace .nhw-card-head h2{font-size:17px;line-height:1.4;margin:0 0 5px;color:var(--nh-color-heading,#614b26)}
.nh-workspace .nhw-card-head p{font-size:13px;margin:0;color:var(--nh-color-muted,#756b5c);line-height:1.6}
.nh-workspace .nhw-card-body{padding:24px}
.nh-workspace .nhw-stack{display:grid;gap:18px}
.nh-workspace .nhw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.nh-workspace .nhw-field{display:grid;align-content:start;gap:7px;min-width:0}
.nh-workspace .nhw-field-wide{grid-column:1/-1}
.nh-workspace .nhw-field label,.nh-workspace .nhw-label{font-size:13px;font-weight:600;line-height:1.45;color:var(--nh-color-ink,#302719)}
.nh-workspace .nhw-input{display:block;width:100%;height:46px;min-height:46px;max-width:none;padding:10px 13px;border:1px solid var(--nh-color-border,#e5dbca);border-radius:9px;background:var(--nh-color-surface,#fff);color:var(--nh-color-ink,#302719);font:400 15px/1.5 var(--nh-font-body,Arial,sans-serif);box-sizing:border-box;box-shadow:none}
.nh-workspace textarea.nhw-input{height:auto;min-height:116px;resize:vertical}
.nh-workspace .nhw-field small{font-size:12px;color:var(--nh-color-muted,#756b5c);line-height:1.5}
.nh-workspace .nhw-field-error{color:#934b34;font-size:13px}
.nh-workspace .nhw-status{padding:12px 16px;border:1px solid var(--nh-color-border,#e5dbca);border-radius:10px;margin:0 0 20px;color:var(--nh-color-heading,#614b26);background:var(--nh-color-surface-soft,#fffcf7);font-size:14px;line-height:1.5}
.nh-workspace .nhw-status:empty{display:none}
.nh-workspace .nhw-status[data-error="true"]{color:#934b34;border-color:#d6b6a9;background:#fff7f3}
.nh-workspace .nhw-list{display:grid;gap:12px}
.nh-workspace .nhw-offer{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--nh-color-border,#e5dbca);border-radius:12px;background:var(--nh-color-surface,#fff);min-width:0}
.nh-workspace .nhw-offer-copy{flex:1;min-width:0}
.nh-workspace .nhw-offer-copy strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:var(--nh-color-ink,#302719)}
.nh-workspace .nhw-offer-copy span{display:block;font-size:12px;line-height:1.5;color:var(--nh-color-muted,#756b5c);margin-top:3px}
.nh-workspace .nhw-position{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;font-size:12px;font-weight:600;background:var(--nh-color-selected,#f2e7c9);color:var(--nh-color-brand,#8d6427)}
.nh-workspace .nhw-order-actions{display:flex;gap:5px;flex:0 0 auto}
.nh-workspace .nhw-empty{padding:28px 18px;text-align:center;border:1px dashed var(--nh-color-border,#e5dbca);border-radius:12px;font-size:14px;line-height:1.6;color:var(--nh-color-muted,#756b5c)}
.nh-workspace .nhw-help{font-size:13px;line-height:1.7;color:var(--nh-color-muted,#756b5c);padding-top:18px;margin:0}
.nh-workspace .nhw-table-wrap{overflow-x:auto}
.nh-workspace .nhw-table{width:100%;border-collapse:collapse;font-size:14px}
.nh-workspace .nhw-table th,.nh-workspace .nhw-table td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--nh-color-border,#e5dbca);vertical-align:middle}
.nh-workspace .nhw-table th{font-size:12px;font-weight:600;color:var(--nh-color-muted,#756b5c);background:var(--nh-color-surface-soft,#fffcf7)}
.nh-workspace .nhw-badge{display:inline-flex;border:1px solid var(--nh-color-border,#e5dbca);border-radius:100px;padding:4px 10px;font-size:12px;line-height:1.4;white-space:nowrap;background:var(--nh-color-surface-soft,#fffcf7)}
.nh-workspace .nhw-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}
.nh-workspace .nhw-metric{padding:22px 24px;border:1px solid var(--nh-color-border,#e5dbca);border-radius:14px;background:var(--nh-color-surface,#fff)}
.nh-workspace .nhw-metric span{display:block;font-size:12px;color:var(--nh-color-muted,#756b5c)}
.nh-workspace .nhw-metric strong{display:block;font-size:28px;font-weight:500;line-height:1.3;margin-top:9px;color:var(--nh-color-heading,#614b26)}
.nh-workspace [hidden]{display:none!important}
@media(max-width:1000px){.nh-workspace .nhw-columns{grid-template-columns:1fr}.nh-workspace .nhw-heading{flex-wrap:wrap}}
@media(max-width:600px){.nh-workspace .nhw-page{padding:12px 0 32px}.nh-workspace .nhw-heading{gap:16px;margin-bottom:22px}.nh-workspace .nhw-card-head,.nh-workspace .nhw-card-body{padding:20px 16px}.nh-workspace .nhw-form-grid{grid-template-columns:1fr;gap:18px}.nh-workspace .nhw-input{font-size:16px}.nh-workspace .nhw-offer{flex-wrap:wrap;padding:14px;gap:10px}.nh-workspace .nhw-order-actions{margin-left:auto}.nh-workspace .nhw-metrics{grid-template-columns:1fr;gap:12px}.nh-workspace .nhw-metric{padding:18px 20px}}
@media(prefers-reduced-motion:reduce){.nh-workspace *{scroll-behavior:auto!important}}

/* Stable control dimensions across desktop Safari and touch screens. */
.nh-workspace select.nhw-input:not([multiple]){appearance:none;-webkit-appearance:none;height:46px;min-height:46px;line-height:1.35;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23805923' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
.nh-workspace input.nhw-input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]){height:46px;min-height:46px;min-width:0}
.nh-workspace .nhw-button{box-sizing:border-box;min-height:46px}
@media(max-width:600px){.nh-workspace .nhw-input{font-size:16px}.nh-workspace .nhw-field{min-width:0}}
