/* Shared select content box: enough height for the existing font, without inflating ribbons. */
body select:not([multiple]){
 box-sizing:border-box!important;min-height:28px!important;padding-top:2px!important;padding-bottom:2px!important;line-height:20px!important;text-overflow:clip!important;white-space:nowrap!important;
}
body .right select:not([multiple]),body dialog select:not([multiple]){min-height:30px!important;max-width:100%}
body #batch-panel select.field{height:38px!important;padding-top:6px!important;padding-bottom:6px!important}
/* Keep the drawing area white even under dark/eye themes. Labels and borders remain themed. */
body.theme-v1017 :is(.material-card,.favorite66)>svg{background:#fff!important;color:#193549!important;border-radius:2px}
.number-legend1019{table-layout:fixed;max-width:none}
.number-legend1019 caption{text-align:center}
.number-legend1019 :is(th,td){vertical-align:middle}
.number-legend1019 :is(th,td):nth-child(odd){text-align:center;white-space:normal}
.number-legend1019 :is(th,td):nth-child(even){text-align:left}
.number-legend1019 .legend-number10111{width:56px}
.number-legend-page1019 .legend-number10111{width:15%}
.number-legend-page1019 h1{font:500 24px/1.3 "Microsoft JhengHei","Noto Sans TC",sans-serif;margin:0 0 12px;overflow-wrap:anywhere}
.number-legend-page1019{font-family:"Microsoft JhengHei","Noto Sans TC",sans-serif}
.number-legend-page1019 .number-legend1019{font-family:inherit}
.page-number10111{position:absolute;bottom:12px;left:0;width:100%;text-align:center;font:16px/1.35 "Microsoft JhengHei","Noto Sans TC",sans-serif;color:#000!important;background:transparent!important}
.list-columns10111{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;min-width:0;border:1px solid var(--line78);margin:0;padding:4px 10px 8px;color:var(--panel-ink78)}
.list-columns10111 legend{padding:0 4px;font-size:14px}
.list-output-options1015{gap:8px 16px;flex-shrink:0}
.seat-list-page1015 :is(th,td){vertical-align:middle}
.seat-list-page1015 [data-list-column10111=sequence],.seat-list-page1015 [data-list-column10111=number]{text-align:center;white-space:nowrap}
.seat-list-page1015 [data-list-column10111=signature]{min-height:40px}
/* One aligned grid prevents the last checkbox from falling below the fixed ribbon. */
body #root #ribbon-panel-view [data-ribbon-group82="view:0"]{width:max(280px,var(--group-width82,280px))!important;min-width:280px!important}
body #root .workspace78 #ribbon-panel-view [data-ribbon-group82="view:0"]>.ribbon-section78{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px!important;align-content:start;min-height:0}
body #root .workspace78 #ribbon-panel-view [data-ribbon-group82="view:0"]>.ribbon-section78>strong{grid-column:1/-1;width:auto;margin:0}
body #root .workspace78 #ribbon-panel-view [data-ribbon-group82="view:0"]>.ribbon-section78 label{display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;margin:0!important;min-height:24px;line-height:20px;white-space:nowrap}
body #root .workspace78 #ribbon-panel-view [data-ribbon-group82="view:0"]>.ribbon-section78 input[type=checkbox]{margin:0!important;flex:none}
@media screen{#print-content-menu1013 label[hidden]{display:none!important}}

.seat-list-page1015 .list-word10111{white-space:nowrap}
.seat-list-page1015 td{overflow-wrap:normal;word-break:normal}
.list-width-warning10111{flex-basis:100%;color:var(--muted78);font-size:13px}
.list-width-warning10111[hidden]{display:none}
