/* Only the local choices dialog. Existing assistant, map and account styles are untouched. */
#gbStartChoices {
    box-sizing:border-box; position:fixed; inset:0; margin:auto;
    width:min(540px,calc(100vw - 32px)); max-width:none;
    max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px);
    padding:0; border:2px solid #85944e; border-radius:12px;
    background:#fffdf5; color:#283126; box-shadow:0 12px 48px #18291e66;
    font:16px/1.45 Arial,sans-serif; text-align:left; overflow:auto;
    overscroll-behavior:contain;
}
#gbStartChoices:not([open]), #gbStartChoices [hidden] { display:none!important; }
#gbStartChoices::backdrop { background:rgb(30 42 36 / 38%); }
#gbStartChoices * { box-sizing:border-box; }
#gbStartChoices button { font:inherit; text-transform:none; letter-spacing:normal; cursor:pointer; float:none; margin:0; box-shadow:none; }
#gbStartChoices :focus-visible { outline:3px solid #e6ac23; outline-offset:3px; }
#gbStartChoices .gbs-heading { display:flex; gap:10px; align-items:center; padding:14px; border-bottom:1px solid #d3d9c3; background:linear-gradient(115deg,#fff3d2,#eef1e5 50%,#e8e3ef); }
#gbStartChoices .gbs-heading>div { flex:1; min-width:0; }
#gbStartChoices h2 { margin:0; padding:0; border:0; background:none; box-shadow:none; text-shadow:none; color:#2c3b29; font:bold 23px/1.2 Arial,sans-serif; }
#gbStartChoices p { margin:3px 0 0; color:#58644b; font-size:13px; }
#gbStartChoices .gbs-emblem { flex:0 0 36px; width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle at 28% 22%,#fff1ae,#f4b96d 26%,#d78fba 62%,#a77bbc); box-shadow:0 1px 7px #b0839e30; color:#fff; font:30px/1 Arial,sans-serif; }
#gbStartChoices .gbs-close { flex:0 0 36px; align-self:flex-start; display:grid; place-items:center; width:36px; height:36px; min-height:36px; padding:0; border:1px solid #99a48a; border-radius:5px; color:#46543a; background:#f6f7ef; font-size:26px; line-height:1; }
#gbStartChoices .gbs-close:hover { background:#e5edcf; }
#gbStartChoices .gbs-content { padding:12px; }
#gbStartChoices .gbs-options { display:grid; grid-template-columns:1fr; gap:6px; }
#gbStartChoices .gbs-option { position:relative; display:flex; align-items:center; gap:10px; width:100%; min-width:0; padding:8px 32px 8px 10px; border:1px solid #c8cfb8; border-radius:6px; background:#fff; color:#2e3d29; text-align:left; line-height:1.4; min-height:58px; }
#gbStartChoices .gbs-option:hover { background:#f4f7e9; border-color:#839b46; }
#gbStartChoices .gbs-option[aria-pressed="true"] { background:#eef3df; border-color:#6d8535; box-shadow:inset 0 0 0 1px #6d8535; }
#gbStartChoices .gbs-option>img, #gbStartChoices .gbs-other-icon { flex:0 0 28px; width:28px; height:28px; object-fit:contain; margin:0; }
#gbStartChoices .gbs-other-icon { color:#688a40; display:grid; place-items:center; font:28px/1 Arial,sans-serif; }
#gbStartChoices .gbs-option strong { display:block; font-size:16px; line-height:1.3; }
#gbStartChoices .gbs-option small { display:block; margin-top:2px; font-size:13px; line-height:1.4; color:#69715f; }
#gbStartChoices .gbs-tick { display:none; position:absolute; right:11px; top:50%; transform:translateY(-50%); color:#5d792a; font-size:17px; font-weight:bold; }
#gbStartChoices [aria-pressed="true"] .gbs-tick { display:block; }
#gbStartDescription { padding-top:12px; }
#gbStartDescription label { display:block; float:none; width:auto; text-align:left; margin:0 0 5px; font-size:14px; font-weight:bold; color:#3e5030; }
#gbStartDescriptionText { display:block; width:100%; min-height:84px; max-height:180px; border:2px solid #839b46; border-radius:5px; padding:8px 10px; background:#fff; color:#283126; font:16px/1.5 Arial,sans-serif; resize:vertical; margin:0; box-shadow:none; }
#gbStartDescriptionText::placeholder { color:#6a7264; opacity:1; }
#gbStartChoices .gbs-footer { display:flex; justify-content:center; padding:4px 12px; border-top:1px solid #dde1cf; background:#f4f5eb; }
#gbStartChoices .gbs-explore { padding:5px 8px; min-height:38px; border:0; border-radius:4px; background:transparent; color:#526d2a; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
#gbStartChoices .gbs-explore:hover { background:#e5edcf; }
#gbStartChoices[data-view]:not([data-view="choices"]) { width:min(460px,calc(100vw - 24px)); }
#gbStartChoices .gbs-actions { display:flex; justify-content:flex-end; margin-top:8px; }
#gbStartChoices .gbs-go { padding:8px 16px; min-height:42px; border:1px solid #637d2b; border-radius:5px; background:#81983f; color:white; font-weight:bold; white-space:nowrap; }
#gbStartChoices .gbs-go:hover { background:#6c852f; }
#gbStartChoices button:disabled { opacity:.65; cursor:wait; }
#gbStartCircles, #gbStartTerritories, #gbStartDelivery { margin:0; }
#gbStartChoices form label { display:block; margin:0 0 6px; float:none; width:auto; text-align:left; font-size:14px; font-weight:bold; }
#gbStartChoices .gbs-postcode-row { display:flex; gap:8px; margin-bottom:10px; }
#gbStartPostcode, #gbStartDeliveryPostcode, #gbStartTerritoryCount { flex:1; min-width:0; width:100%; height:42px; margin:0; padding:8px 10px; border:2px solid #839b46; border-radius:5px; background:white; color:#283126; font:16px Arial,sans-serif; }
#gbStartChoices .gbs-back { margin-top:10px; padding:4px 0; min-height:34px; border:0; background:none; color:#526d2a; font-size:14px; text-decoration:underline; }
#gbStartChoices #gbStartStatus { margin:10px 0 0; font-size:14px; }
#gbStartChoices #gbStartStatus.gbs-error { color:#8f361b; }
#gbStartResult { box-sizing:border-box; position:fixed; z-index:12000; left:50%; bottom:max(90px,env(safe-area-inset-bottom)); transform:translateX(-50%); display:flex; align-items:center; gap:12px; width:max-content; max-width:calc(100vw - 24px); padding:10px 12px; border:1px solid #85944e; border-radius:7px; background:#fffdf5; color:#283126; box-shadow:0 3px 15px #18291e33; font:14px/1.4 Arial,sans-serif; }
#gbStartResult button { flex-shrink:0; min-height:36px; padding:4px 8px; border:1px solid #99a48a; border-radius:4px; background:#f4f5eb; color:#526d2a; font:inherit; cursor:pointer; }
@media(max-width:900px) {
    /* Keep the completion/Undo notice above the tool sheet, away from its fields. */
    #gbStartResult { top:calc(var(--mcs-bar-height,90px) + 10px); bottom:auto; }
}
@media(max-width:560px) {
    #gbStartChoices { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border-radius:10px; }
    #gbStartChoices .gbs-heading { padding:12px; gap:8px; }
    #gbStartChoices h2 { font-size:21px; }
    #gbStartChoices .gbs-heading p { font-size:13px; }
    #gbStartChoices .gbs-close { flex-basis:32px; width:32px; height:32px; min-height:32px; }
    #gbStartChoices .gbs-content { padding:10px; }
    #gbStartChoices .gbs-option { padding-right:27px; }
    #gbStartChoices .gbs-footer { padding:3px 10px; }
}

/* Compact choice cards; task forms retain their existing layout. */

#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) {width:min(460px,calc(100vw - 24px));border-radius:10px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-heading {padding:10px 12px;gap:9px;align-items:center;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) h2 {font-size:20px;line-height:1.2;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-heading p,#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option small {display:none;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-emblem {flex-basis:30px;width:30px;height:30px;font-size:25px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-close {align-self:center;width:32px;height:32px;min-height:32px;flex-basis:32px;font-size:24px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-content {padding:10px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-options {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option {min-height:68px;padding:10px;gap:10px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option strong {font-size:16px;line-height:1.25;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option>img {flex-basis:28px;width:28px;height:28px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option[data-choice="other"] {grid-column:1/-1;min-height:48px;justify-content:center;background:#f1f4e7;border-color:#a6b589;gap:8px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option[data-choice="other"] strong {font-size:15px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option[data-choice="other"] .gbs-other-icon {width:24px;height:24px;flex-basis:24px;font-size:24px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-footer {padding:0 10px;}
#gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-explore {min-height:38px;padding:6px;font-size:13px;}
@media(max-width:480px){
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) h2 {font-size:17px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-heading {gap:7px;padding:10px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-emblem {flex-basis:26px;width:26px;height:26px;font-size:23px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-content {padding:8px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option {gap:7px;padding:8px;min-height:64px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option>img {width:24px;height:24px;flex-basis:24px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option strong {font-size:14px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option[data-choice="other"] {min-height:46px;padding:8px 5px;gap:5px;}
 #gbStartChoices:is(:not([data-view]),[data-view="choices"],[data-view="other"]) .gbs-option[data-choice="other"] strong {font-size:14px;}
}
