.result-selection{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;color:#65796b;font-size:14px;flex-shrink:0}.result-selection label{display:flex;gap:8px;align-items:center;min-height:24px;cursor:pointer}.result-selection input,.result-row input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0;margin:0}.result-list{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 12px}.result-row{display:flex;align-items:center;gap:11px;min-height:84px;padding:10px 4px;border-bottom:1px solid var(--line);cursor:pointer}.result-row:last-child{border-bottom:0}.result-row:has(input:checked){background:#eff6ed}.result-row-content{flex:1;min-width:0}.result-row-heading{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#829083;margin-bottom:8px}.result-row-heading>span:first-child{font-weight:600;color:#536f5c}.result-row .balls{gap:6px;justify-content:space-between}.result-row .ball{width:32px;height:32px;font-size:14px}.result-row input:focus-visible{outline:3px solid #9ac78e;outline-offset:3px}#result-dialog{width:430px;max-height:calc(100dvh - 24px);overflow:hidden}#result-content{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}#result-dialog .dialog-head{padding:18px 18px 12px;flex-shrink:0}#result-dialog .dialog-head .sub{font-size:14px;margin-top:5px}#result-dialog .result-list{flex:0 1 auto;min-height:0;max-height:420px}#result-dialog .result-row .ball{width:34px;height:34px;font-size:14px}#result-dialog .dialog-actions{padding:12px 16px;flex-shrink:0}#result-dialog .dialog-actions .button{width:100%;min-height:46px;font-size:15px}.result-panel .result-selection{padding-left:0;padding-right:0;font-size:14px}.result-panel .result-list{padding:0}.result-panel .result-row{gap:7px}.result-panel .result-row .ball{width:29px;height:29px;font-size:14px}#copy-all[hidden]{display:none}#result-dialog~#toast{z-index:60}@media(max-width:900px){.result-body #tickets{display:none}#result-dialog .result-row{height:84px;min-height:84px}.result-selection{font-size:14px}#result-dialog .result-row-heading{font-size:14px}#result-dialog .result-list{max-height:420px}}@media(max-width:360px){#result-dialog{max-width:calc(100% - 16px)}#result-dialog .result-row{gap:8px}#result-dialog .result-row .ball{width:30px;height:30px;font-size:14px}#result-dialog .result-list{padding:0 10px}#result-dialog .result-row-heading{font-size:14px}}
/* Keep the desktop save action visible while only the generated list scrolls. */
@media(min-width:901px){
  .building .result-panel{top:84px;max-height:var(--generate-panel-height,calc(100dvh - 100px));display:flex;flex-direction:column}
  .building .result-head{flex-shrink:0;padding:14px 19px}
  .building .result-body{display:flex;flex-direction:column;min-height:0;overflow:auto}
  .building .result-body>:not(#tickets){flex-shrink:0}
  .building .result-body #tickets{display:flex;flex-direction:column;min-height:0}
  .building .result-panel .result-list{min-height:0;max-height:none;flex:1}
}
