.stone-diamond{background:#edf4fd url('/diamond-fill.png') left center/300% auto!important;color:#4c6078!important;border:1px solid #cddbea!important;box-shadow:inset 0 1px #fff,0 4px 12px #859bb52b;display:inline-flex;align-items:center;gap:8px}
.stone-diamond svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 23px}
.stone-diagnostic-heading{display:flex;align-items:center;gap:13px;padding:16px 20px;border-radius:18px}.stone-diagnostic-heading svg{width:34px;height:34px;flex-basis:34px}.stone-diagnostic-heading h3{margin:0}.stone-spec-diagnostic{padding:15px;border:1px solid #d9e1e6;border-radius:14px;margin:13px 0}.stone-spec-diagnostic details{font-size:12px;color:#607080}
#accountingSettingsForm fieldset{border:1px solid #d7e2dd;border-radius:16px;padding:16px;margin:15px 0}#accountingSettingsForm legend{font-weight:650;padding:0 8px}#accountingSettingsForm label{display:flex;align-items:center;gap:8px;margin:9px 0}#accountingSettingsForm input[type=checkbox]{width:18px;height:18px}#accountingSettingsForm select{min-width:0;width:100%;padding:10px;border-radius:10px;border:1px solid #d8e4dd;background:#fff}#accountingSettingsPreview{font-size:13px;line-height:1.5}#accountingSettingsPreview:has(h3){border:1px solid #d8bf7c;border-radius:14px;padding:15px;background:#fff8e8}#accountingSettingsFeedback{font-size:13px;color:#7d5024}
html body #productionBody .order-card .material-card-request{position:absolute;right:14px;bottom:55px;width:42px;height:42px;border-radius:16px;display:grid;place-items:center;padding:9px;z-index:3;cursor:pointer}
html body #productionBody .order-card .material-card-request~.material-card-request{right:8px;bottom:96px!important}.material-card-request svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.material-card-request:focus-visible{outline:3px solid #537867;outline-offset:3px}
#systemPage .page-tools:has(.metal-topactionrow){display:block!important}.metal-topactionrow{justify-content:flex-start!important;width:max-content!important;max-width:100%;flex:none!important;gap:7px!important}.metal-topactionrow>.button{min-height:36px!important;padding:7px 12px!important;font-size:12px!important}.metal-topactionrow svg{width:18px;height:18px;flex-basis:18px}
@media(max-width:850px){.metal-topactionrow{width:100%!important}.metal-topactionrow>.button{min-height:42px!important}.material-card-request{bottom:57px!important}#accountingSettingsForm label:has(select){display:block}#accountingSettingsForm label select{display:block;margin-top:7px}#stoneDiagnostic .metal-actions{display:flex;flex-wrap:wrap;justify-content:flex-start}}
@media print{.material-card-request,#stoneReturnButton{display:none!important}}

/* Equal visible controls in one column; 44px touch regions remain disjoint. */
html body #productionBody .order-card .material-card-request{right:8px;box-sizing:border-box;width:32px;height:32px;min-width:0;min-height:0;bottom:52px!important;border-radius:11px;padding:5px}
html body #productionBody .order-card .material-card-request svg{width:20px;height:20px}
html body #productionBody .order-card .material-card-request::before,
html body #productionBody .order-card .card-actions-trigger::before{content:"";position:absolute;inset:-7px;border-radius:inherit}

.stone-position,.stone-workflow .metal-confirm-row{display:grid;gap:10px}.stone-workflow label{display:grid;gap:6px}.stone-workflow input,.stone-workflow select,.stone-workflow textarea{width:100%;min-height:44px;box-sizing:border-box}.stone-position{border-top:1px solid #d9dfe7;padding-top:12px;margin-top:12px}.stone-pending-label{display:table;font-size:10px;line-height:1.4;padding:5px 9px;margin-top:9px;border:1px solid #bbc6d7;border-radius:14px;background:#f3f6fc;color:#50627f}.stone-workflow .metal-actions{flex-wrap:wrap}.stone-workflow .metal-notification{gap:12px;flex-wrap:wrap}

.modal:has(.stone-workflow){width:min(860px,95vw);max-width:860px}.stone-workflow input[type=checkbox]{width:20px;min-height:20px;height:20px}.stone-workflow label:has([data-include-product]){display:flex;align-items:center;min-height:44px}
