.temporary-driver-form { display:grid; gap:17px; }
.temporary-driver-hint { margin:0 0 3px; padding:11px 13px; background:#f3f7fc; border:1px solid #e3ecf6; border-radius:8px; color:#61758b; font-size:13px; line-height:1.65; }
.temporary-driver-field { display:grid; gap:8px; color:#4d6279; font-size:13px; }
.temporary-driver-field input { box-sizing:border-box; width:100%; min-width:0; height:36px; padding:0 11px; border:1px solid #dce5ef; border-radius:7px; background:white; color:#263c54; font:inherit; outline:none; }
.temporary-driver-field input:focus { border-color:#7daae0; box-shadow:0 0 0 3px #eaf2fc; }
.temporary-driver-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.temporary-driver-tag { margin-left:7px; padding:2px 6px; color:#3275b8; background:#edf5ff; border:1px solid #d7e8fc; border-radius:4px; font-size:11px; font-weight:normal; white-space:nowrap; }
.driver-roster-note { display:block; margin-top:3px; color:#8291a3; font-size:11px; font-weight:normal; }
@media(min-width:769px) { .layout .brand .menu-btn { display:none !important; } }
@media(max-width:520px) { .temporary-driver-grid { grid-template-columns:1fr; } }
.workspace-mobile-menu { display:none !important; }
@media(max-width:768px) { .workspace-mobile-menu { display:inline-flex !important; width:auto !important; font-size:12px; color:#5e7894; cursor:pointer; padding:5px 7px; border:1px solid #e0e8f1; border-radius:5px; } }

/* Shared attachment gallery: show every photo before opening the full-size viewer. */
.photo-gallery-dialog .el-dialog__body { padding-top:16px; }
.photo-thumbnail-gallery__hint { margin:0 0 16px; color:#7a8b9d; font-size:13px; line-height:1.6; }
.photo-thumbnail-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; max-height:60vh; overflow-y:auto; padding:2px 3px 5px; }
.photo-thumbnail-card { min-width:0; padding:7px; border:1px solid #e3eaf2; border-radius:12px; background:#fff; }
.photo-thumbnail-card__preview { position:relative; display:block; width:100%; aspect-ratio:4/3; padding:0; overflow:hidden; border:0; border-radius:7px; background:#f2f5f9; cursor:zoom-in; }
.photo-thumbnail-card__preview img { display:block; width:100%; height:100%; object-fit:contain; }
.photo-thumbnail-card__zoom { position:absolute; right:6px; bottom:6px; padding:3px 7px; border:1px solid #ffffffb3; border-radius:5px; background:#ffffffeb; color:#405b77; font-size:11px; pointer-events:none; }
.photo-thumbnail-card__preview:hover { box-shadow:0 0 0 2px #b7d4f2; }
.photo-thumbnail-card__remove { display:block; width:100%; margin:8px 0 0; padding:5px 8px; border:1px solid #f4dadd; border-radius:6px; background:#fff4f4; color:#b7525b; font:inherit; font-size:12px; cursor:pointer; }
.photo-thumbnail-card__remove:hover { background:#fce7e9; }
.photo-thumbnail-card button:focus-visible { outline:2px solid #6b9fd4; outline-offset:2px; }
@media(max-width:600px) { .photo-thumbnail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }

.temporary-driver-field .el-date-editor.el-input { width:100%; height:36px; }
.temporary-driver-field .el-date-editor input { height:auto; padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
.temporary-pay-preview { padding:14px 16px; border:1px solid #e0eaf5; border-radius:9px; background:linear-gradient(120deg,#f6faff,#f1f6fc); }
.temporary-pay-preview > div { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; color:#61758b; font-size:13px; }
.temporary-pay-preview strong { color:#2d5f94; font-size:18px; font-variant-numeric:tabular-nums; }
.temporary-pay-preview p { margin:0; color:#8090a2; font-size:12px; line-height:1.6; }
