#account-tab-master{font-size:12px;line-height:1.5}
#account-tab-master>.checkout-step>h2{font-size:23px;font-weight:600;line-height:1.3;margin:0 0 22px;padding:0;letter-spacing:-.5px}
.master-toolbar,.master-pagination,.master-actions{display:flex;align-items:center;gap:12px}
.master-toolbar{margin:20px 0}.master-toolbar input{width:min(280px,50vw)}
.master-table{overflow:auto;max-width:100%}
#master-content table{width:100%;border-collapse:collapse;font-size:11px}
#master-content th,#master-content td{text-align:left;padding:10px 7px;border-bottom:1px solid var(--site-line);font-size:11px;overflow-wrap:anywhere}
#master-content th{color:var(--site-muted)}
#master-content th:last-child,#master-content td:last-child{width:48%}
.master-row-actions{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));grid-template-rows:repeat(2,auto);gap:5px;min-width:340px}
#master-content .master-row-actions .btn{font-family:inherit;font-size:10px;line-height:1.25;padding:5px 7px;min-height:27px;min-width:0;width:100%;justify-content:center;white-space:nowrap;border-radius:5px}
.master-pagination{justify-content:flex-end;margin-top:20px}.master-pagination .btn{min-width:95px}
#master-content .master-toolbar input{font:inherit;padding:7px 9px;min-height:32px;height:32px}
#master-content .master-toolbar .btn,#master-content .master-pagination .btn{font-size:12px;padding:7px 12px;min-height:32px}
#master-status:empty,#editor-status:empty{display:none}
#editor{position:fixed;inset:0;margin:auto;width:min(860px,94vw);max-height:90dvh;border:1px solid var(--site-line);border-radius:14px;background:var(--site-white);color:var(--site-ink);padding:40px 0;box-sizing:border-box;font-size:12px}
#editor h2{font-size:23px}#editor::backdrop{background:rgb(0 0 0 / .5)}
.master-editor-content{width:60%;margin-inline:auto}
.master-close{position:absolute;right:14px;top:14px;width:28px;height:28px;padding:0;display:grid;place-items:center;font-family:inherit;font-size:22px;line-height:1;background:transparent;color:inherit;border:1px solid var(--site-line);border-radius:6px}
#editor-fields label{display:grid;gap:7px;margin:15px 0}
#editor-fields input,#editor-fields textarea,#editor-fields select{width:100%;box-sizing:border-box;color:var(--site-ink);background:var(--site-white);border:1px solid var(--site-line);border-radius:6px;padding:9px;font:inherit}
#editor-fields textarea{min-height:130px;resize:vertical}
.master-ticket{display:block;text-align:left;width:100%;margin:8px 0;padding:10px;border:1px solid var(--site-line);border-radius:6px;color:inherit;background:transparent}
.master-message{padding:12px 0;border-bottom:1px solid var(--site-line);white-space:pre-wrap}.master-message time{display:block;font-size:11px;color:var(--site-muted)}
.master-actions{justify-content:flex-end;margin-top:25px}.master-actions .btn{width:110px;min-width:110px;justify-content:center}
@media(min-width:1000px){.account-tabs:has(#account-tab-button-master:not([hidden])){grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:650px){.master-editor-content{width:85%}.master-toolbar{flex-wrap:wrap}}

/* Desktop retains its existing four columns and eight visible action buttons. */
.master-actions-toggle{display:none}
@media(max-width:650px){
 #master-content .master-table{overflow:visible}
 #master-content table,#master-content tbody{display:block;width:100%}
 #master-content thead{display:none}
 #master-content .master-user-row{display:grid;grid-template-columns:minmax(0,1fr) 40px 70px;gap:2px 8px;align-items:center;padding:12px 0;border-bottom:1px solid var(--site-line)}
 #master-content .master-user-row>td{display:block;padding:0;border:0;min-width:0;width:auto;text-align:left;font-size:10px}
 #master-content .master-user-row>td:first-child{grid-column:1;grid-row:1;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #master-content .master-user-row>td:nth-child(2){grid-column:1;grid-row:2;color:var(--site-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #master-content .master-user-row>td:nth-child(3){grid-column:2;grid-row:1/3;text-align:right;color:var(--site-muted);font-size:10px}

 #master-content .master-user-row>td:last-child{grid-column:3;grid-row:1/3}
 .master-user-actions{position:relative}
 .master-actions-toggle{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;padding:7px 5px;min-height:34px;width:100%;box-sizing:border-box;border:1px solid var(--site-line);border-radius:5px;background:var(--site-white);color:var(--site-ink);font:10px/1.25 "Segoe UI",Arial,sans-serif;white-space:nowrap}
 .master-actions-toggle::after{content:'';width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-top:-3px}
 .master-actions-toggle:focus-visible{outline:2px solid var(--site-gold);outline-offset:2px}
 #master-content .master-user-actions .master-row-actions{position:absolute;z-index:80;top:calc(100% + 5px);right:0;width:min(340px,calc(100vw - 64px));min-width:0;display:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:5px;padding:8px;box-sizing:border-box;background:var(--site-white);border:1px solid var(--site-line);border-radius:8px;box-shadow:0 8px 24px #0002}
 #master-content .master-user-actions.is-open .master-row-actions{display:grid}
 #master-content .master-user-actions .master-row-actions .btn{min-height:34px;white-space:normal;padding:6px;font-size:10px}
 #master-content .master-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 #master-content .master-toolbar label{grid-column:1/-1}
 #master-content .master-toolbar input{width:100%;min-width:0}
}

/* Mobile: name, email, minutes and Actions all share one line. */
@media(max-width:650px){
 #master-content .master-user-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) 40px 60px;gap:0 5px}
 #master-content .master-user-row>td:first-child{grid-column:1;grid-row:1;font-size:10px}
 #master-content .master-user-row>td:nth-child(2){grid-column:2;grid-row:1;font-size:10px}
 #master-content .master-user-row>td:nth-child(3){grid-column:3;grid-row:1;white-space:nowrap}
 #master-content .master-user-row>td:last-child{grid-column:4;grid-row:1}
}

@media(max-width:650px){
 #master-content .master-table thead{display:block}
 #master-content .master-table thead tr{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) 40px 60px;gap:0 5px;align-items:center;padding:8px 0;border-bottom:1px solid var(--site-line)}
 #master-content .master-table thead th{display:block;width:auto;padding:0;border:0;font-size:10px;line-height:1.5;white-space:nowrap;overflow-wrap:normal}
 #master-content .master-table thead th:nth-child(3){text-align:right}
 #master-content .master-table thead th:last-child{text-align:center}
}

/* Mobile Developer Menu row sizing refinement. */
@media(max-width:650px){
 #master-content .master-user-row>td,#master-content .master-user-row>td:first-child,#master-content .master-user-row>td:nth-child(2),#master-content .master-user-row>td:nth-child(3){font-size:8px}
 #master-content .master-user-row>td:nth-child(3),#master-content .master-table thead th:nth-child(3){text-align:left}
 .master-actions-toggle{font-size:8px;min-height:30px;padding:5px 3px;gap:4px}
}

@media(max-width:650px){
 #master-content .master-user-row,#master-content .master-table thead tr{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr) 40px 60px}
}

@media(max-width:650px){
 .master-actions-toggle{padding:2.5px 1.5px;gap:0}
 .master-actions-toggle::after{display:none;content:none}
 #master-content .master-user-actions .master-row-actions{padding:4px}
}
