/* Choice buttons fit each workspace, from a phone to the full drawing studio. */
.method-chooser {margin-bottom:16px;padding:14px 18px;background:linear-gradient(120deg,#211c29,#1a1720)}
.method-intro {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.method-intro h2 {margin:0;font:22px/1.2 var(--serif);color:var(--ink)}
.method-intro p {margin:0;color:#beb1cb;font-size:12px;line-height:1.6}
.method-chooser>label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.method-chooser .choice-groups {display:flex;flex-wrap:wrap;gap:12px 24px}
.method-chooser .choice-options {display:flex;flex-wrap:wrap;gap:6px}
.method-chooser .choice-button {min-height:44px;justify-content:flex-start;text-align:left;padding:7px 10px;font-size:12px}
.method-chooser .choice-group-title {color:#c9b28b;letter-spacing:.1em;font-size:10px;text-transform:uppercase;margin-bottom:6px}
.method-chooser .choice-current {display:none}
.choice-control .choice-button {border-radius:7px;background:#211b28;border-color:#53425f}
.choice-control .choice-button[aria-pressed="true"] {background:#392c46;color:#f1e2ff;border-color:#b694cf;box-shadow:inset 0 -2px 0 #b694cf}
.choice-control .choice-button[aria-pressed="true"]:has(.choice-icon)::before {display:none}
.choice-control .choice-button[aria-pressed="true"]:disabled {opacity:.85}
.choice-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:22px;color:#c5ab82}
.choice-icon svg {display:block;width:20px;height:20px;overflow:visible}
.choice-control .choice-button[aria-pressed="true"] .choice-icon {color:#e5c997}
.choice-label {min-width:0}
.select-with>#planet-icon {display:none}
.control-body .choice-control {margin-bottom:15px}
.control-body [data-choice-for="planet"] .choice-options {display:flex;flex-wrap:wrap;gap:6px}
.control-body [data-choice-for="planet"] .choice-button {justify-content:flex-start;text-align:left;padding:6px 8px;font-size:12px}
.finish-control {align-items:flex-start;gap:10px}
.finish-control .catalog-entry {flex-basis:100%;margin-right:0}
.finish-control>label {flex-basis:100%;margin:0}
.finish-control .choice-control {flex:1 1 100%;width:100%}
.finish-control .choice-options {display:flex;flex-wrap:wrap}
.finish-control .choice-button {flex:0 1 auto;padding:6px 9px;font-size:12px}
.sg-tools {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.sg-tools>label:first-child {grid-column:1/-1}
.sg-tools .choice-field {min-width:0}
.sg-tools .choice-field>label {display:block;color:var(--muted);font-size:.8rem;margin-bottom:7px}
.sg-tools .choice-large .choice-groups {max-height:230px}
.sg-tools input {min-height:44px}
.pm-layer-picker {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:start}
.pm-layer-picker .choice-control {min-width:0}
.pm-layer-picker .choice-button {width:auto}
.pm-add:has(.choice-field) {grid-template-columns:minmax(0,1fr)}
.pm-add>.choice-field {min-width:0}
.pm-add>.choice-field+button {justify-self:stretch}
.pm-add .choice-field>label {margin-bottom:7px}
.editor-settings .choice-button {font-size:12px;line-height:1.4}
.oe-controls .choice-field {min-width:0}
.oe-controls .choice-field>label {display:block;margin-bottom:6px}
.planetary-calendar-body .choice-control {margin-bottom:16px}
.hour-header .choice-control {min-width:0}
@media(max-width:820px){
  .method-chooser {padding:13px}
  .method-intro p {display:none}
  .method-chooser .choice-groups {gap:12px}
}
@media(max-width:540px){
  .method-chooser .choice-button {padding:6px 8px;font-size:12px;min-height:44px}
  .sg-tools {grid-template-columns:minmax(0,1fr)}
  .pm-layer-picker {grid-template-columns:minmax(0,1fr) 44px 44px}
  .pm-layer-picker .choice-control {grid-column:1/-1;grid-row:1}
  .pm-layer-picker>button {grid-row:2}
  .pm-layer-picker>[data-pm="previous-layer"] {grid-column:2}
  .pm-layer-picker>[data-pm="next-layer"] {grid-column:3}
}
