:root { color-scheme: light; font-family: Arial, sans-serif; color: #202c34; background: #f2f5f7; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button { border: 1px solid #b4c4cd; background: #e5eef3; color: #173e55; padding: 9px 14px; border-radius: 5px; cursor: pointer; min-height: 38px; font-weight: 600; }
button:hover { background: #cfe4ee; border-color: #5387a0; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #008ec7; outline-offset: 2px; }
button:disabled { opacity: .55; cursor: wait; }
.primary { background: #075b7d; color: white; border-color: #075b7d; }
.primary:hover { background: #034665; }
#open-full-workbench { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 14px; border: 1px solid #075b7d; border-radius: 5px; text-decoration: none; font-weight: 600; }
#open-full-workbench:focus-visible { outline: 2px solid #008ec7; outline-offset: 2px; }
.app-header { display: flex; align-items: center; gap: 14px; padding: 16px 28px; background: #fff; border-bottom: 1px solid #ced9df; }
.app-header img { width: 75px; height: 46px; object-fit: contain; }
.app-header span { display: block; font-size: 13px; margin-top: 5px; color: #5c6e79; }
.account-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
main { max-width: 1440px; padding: 26px 28px; margin: auto; }
h1 { margin: 0 0 12px; font-size: 26px; }
h2 { font-size: 18px; margin: 0 0 14px; }
p { line-height: 1.5; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #aabcc8; border-radius: 4px; background: white; color: #202c34; }
textarea { resize: vertical; line-height: 1.5; }
input[type="checkbox"] { width: 17px; min-height: 17px; height: 17px; }
.account-panel { max-width: 420px; margin: 56px auto; padding: 25px; background: white; border: 1px solid #c9d7de; border-radius: 6px; }
.account-panel form { display: grid; gap: 18px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#identity { color: #5c6e79; margin: 0; font-size: 14px; }
.actions, .filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.filters { margin: 24px 0 18px; }
.filters label { min-width: 170px; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid #c9d7de; margin-bottom: 18px; }
.tabs button { border: 0; border-radius: 0; background: transparent; padding: 12px 20px; }
.tabs [aria-selected="true"] { color: #075b7d; box-shadow: inset 0 -3px #075b7d; background: #e2edf3; }
.table-wrap { overflow-x: auto; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; background: #e8eef2; color: #466170; padding: 12px; white-space: nowrap; }
td { padding: 14px 12px; border-bottom: 1px solid #d2dce2; vertical-align: top; }
.correction-button { display: block; min-height: 30px; margin-top: 8px; padding: 5px 8px; font-size: 12px; }
td small, td span { display: block; margin-top: 5px; color: #596d79; }
a { color: #075b7d; }
.location-links { display: flex; gap: 10px; flex-wrap: wrap; }
.status { font-size: 12px; padding: 4px 8px; border-radius: 4px; display: inline-block; background: #e6f0eb; color: #17614b; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; min-height: 520px; border-top: 1px solid #cad8df; }
#map { min-height: 520px; }
.map-layout aside { padding: 18px; background: #fff; overflow-y: auto; max-height: 600px; }
.map-order { padding: 12px 0; border-bottom: 1px solid #d2dce2; }
.map-order button { width: 100%; text-align: left; margin-bottom: 8px; font-size: 13px; }
.maplibregl-popup-content { color: #202c34; max-width: 280px; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.calendar-toolbar h2 { margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid #c6d5de; border-top: 1px solid #c6d5de; }
.calendar-label { text-align: center; font-size: 12px; padding: 10px 0; background: #e8eef2; }
.calendar-day { min-height: 110px; padding: 8px; border-right: 1px solid #c6d5de; border-bottom: 1px solid #c6d5de; background: white; }
.calendar-day small { display: block; margin-bottom: 8px; }
.calendar-day button { font-size: 12px; display: block; width: 100%; padding: 5px; min-height: 32px; text-align: left; margin-bottom: 4px; overflow-wrap: anywhere; }
dialog { border: 1px solid #b0c5d1; border-radius: 6px; max-width: 690px; width: calc(100% - 32px); max-height: 90vh; padding: 24px; color: #202c34; }
dialog::backdrop { background: rgb(12 25 32 / 45%); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.dialog-heading .icon-button { flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wide { grid-column: 1 / -1; }
fieldset { border: 1px solid #c4d4dd; margin: 0; padding: 14px; }
legend { font-size: 14px; font-weight: 600; }
.check-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.check-row label { display: flex; align-items: center; gap: 7px; }
#message, #order-message { color: #9d292e; font-size: 14px; white-space: pre-line; }
#correction-message { min-height: 1.4em; color: #9d292e; font-size: 14px; }
.icon-text { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.icon-button { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 8px; }
.icon-text img, .icon-button img { width: 17px; height: 17px; flex: 0 0 17px; }
.primary img { filter: invert(1); }
#photos-dialog { max-width: 1080px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-item { min-width: 0; border: 1px solid #c9d7de; border-radius: 6px; padding: 14px; display: grid; gap: 12px; align-content: start; }
.photo-item h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.private-photo { display: block; width: 100%; height: 240px; object-fit: contain; background: #e6ecef; border: 1px solid #d1dde4; }
.private-photo[hidden] { display: none; }
.photo-item p { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.photo-integrity { color: #17614b; }
#upload-state { border-top: 1px solid #c9d7de; margin-top: 16px; padding-top: 6px; }
progress { width: 100%; height: 14px; accent-color: #075b7d; margin: 0 0 12px; }
#photo-message, #backup-message { white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; }
.backup-picker { margin-top: 20px; }
#order-conflict { border-top: 2px solid #be6b18; padding-top: 10px; margin-top: 20px; }
.conflict-item { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid #c9d7de; }
.conflict-item p { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
#beta-thumbprint { overflow-wrap: anywhere; margin: 8px 0 18px; font-family: monospace; }
#team-dialog .table-wrap { margin-bottom: 20px; }
#team-dialog td { overflow-wrap: anywhere; }
#team-message { white-space: pre-line; overflow-wrap: anywhere; }
#password-form { display: grid; gap: 14px; }
#password-message { margin: 0; min-height: 1.5em; color: #9d292e; overflow-wrap: anywhere; }
#usage-dialog { max-width: 940px; }
#usage-company { margin: 4px 0 0; color: #5c6e79; font-size: 14px; }
.usage-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; border-top: 1px solid #d2dce2; margin-bottom: 18px; }
.usage-metrics > div { min-width: 0; padding: 12px 0; border-bottom: 1px solid #d2dce2; }
.usage-metrics dt { font-size: 12px; color: #596d79; font-weight: 600; }
.usage-metrics dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
#usage-dialog h3 { font-size: 15px; margin: 16px 0 8px; }
#usage-dialog .table-wrap { max-height: 220px; overflow: auto; }
#usage-message { min-height: 1.4em; font-size: 14px; }
#usage-record-access td { overflow-wrap: anywhere; }
#legacy-import-form { display: grid; gap: 16px; }
#legacy-import-progress { margin-top: 18px; }
#legacy-import-status { min-height: 1.5em; overflow-wrap: anywhere; }
@media (max-width: 700px) { .usage-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .photo-grid, .form-grid { grid-template-columns: 1fr; } dialog { padding: 16px; } .private-photo { height: 220px; } .photo-item .actions button { max-width: 100%; font-size: 13px; } }
@media (max-width: 700px) { main { padding: 20px 14px; } .app-header { padding: 12px 14px; flex-wrap: wrap; } .app-header strong { font-size: 14px; } .app-header img { width: 50px; height: 35px; } .account-actions { margin-left: 0; width: 100%; } .workspace-heading { align-items: start; flex-direction: column; } .map-layout { grid-template-columns: 1fr; } #map { min-height: 400px; } .calendar-day { min-height: 92px; padding: 4px; } .calendar-day button { font-size: 11px; } }
 .native-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 0;border-bottom:2px solid #c6d7de;margin-bottom:20px}.native-controls p{margin:4px 0}.native-controls[hidden]{display:none}#native-reviews{width:100%}.native-review{display:flex;gap:12px;align-items:center;padding:8px 0;border-top:1px solid #c6d7de}

#order-dialog label.wide:has([name="address"]) { position: relative; }
.address-suggestions { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; max-height: 250px; overflow: auto; background: #fff; border: 1px solid #b7cbd9; box-shadow: 0 8px 22px #0003; }
.address-suggestions[hidden] { display: none; }
.address-suggestion { display: block; width: 100%; padding: 8px 10px; border: 0; background: transparent; color: #183247; font: inherit; text-align: left; cursor: pointer; }
.address-suggestion:hover, .address-suggestion[aria-selected="true"] { background: #e4f1fb; }
.address-credit { display: block; padding: 5px 10px; font-size: 11px; }
