.max-page{min-width:0;display:flex;flex-direction:column;gap:20px}.max-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.max-heading>div:first-child{display:flex;align-items:center;gap:16px}.max-heading h1{font-size:26px;letter-spacing:-.8px;margin:0}.max-brand{background:linear-gradient(145deg,#8650eb,#365bda);color:white;padding:13px 10px;border-radius:17px;font-size:19px;font-weight:800;letter-spacing:-1px}.max-actions{display:flex;gap:8px;flex-wrap:wrap}.max-note{border:1px solid #e8dcb9;background:#fffae9;padding:14px 18px;border-radius:14px;margin:0;color:#685c3c;font-size:14px}.max-report{padding:20px;margin:0}.max-report-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.max-report-head h2{font-size:18px;margin:0}.max-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 0}.max-stats>div{display:flex;flex-direction:column;gap:5px}.max-stats strong{font-size:32px;font-weight:600}.max-stats span{color:#6f737a;font-size:13px}.max-report summary{font-size:14px;cursor:pointer;padding:10px 0}.max-report details{border-top:1px solid #eceef1}.max-report form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:14px 0}.max-report label{display:flex;flex-direction:column;gap:6px}.max-report input{max-width:180px}.max-report td,.max-report th{white-space:nowrap}#max-frame-area{overflow:hidden;border:1px solid #e7e9ed;background:white;border-radius:16px;min-width:0}#max-frame-area[hidden]{display:none}.max-frame-bar{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;background:#f7f8fa;font-size:12px;color:#676b75}#max-frame-area iframe{width:100%;height:calc(100dvh - 290px);min-height:400px;border:0;display:block}.max-open .max-page{gap:12px}.max-open .max-report{margin-top:4px}.max-open .max-heading h1{font-size:21px}.max-open .max-brand{padding:8px;border-radius:12px}.max-open #max-notice:empty{display:none}@media(max-width:700px){.max-heading h1{font-size:21px;letter-spacing:-.5px}.max-heading>div:first-child{gap:10px}.max-actions{width:100%}.max-actions .button{flex:1}.max-report{padding:16px}.max-report-head .caption{font-size:11px}.max-stats{gap:10px}.max-stats strong{font-size:27px}.max-stats span{font-size:12px;line-height:1.4}.max-open .main{padding:8px}.max-open .max-heading,.max-open #max-notice,.max-open .max-report{display:none}#max-frame-area iframe{height:calc(100dvh - 130px);min-height:360px}.max-open #max-frame-area{border-radius:12px}.max-report form{gap:8px}.max-report input{max-width:140px}.max-report th,.max-report td{padding:10px}}

.max-open .main{height:calc(100dvh - 84px);padding:20px;min-height:0}.max-open .max-page{height:100%;min-height:0}.max-open .max-heading,.max-open #max-notice{flex-shrink:0}.max-open #max-frame-area{display:flex;flex:1;min-height:0;flex-direction:column}.max-open .max-frame-bar{flex:0 0 36px}.max-open #max-frame-area iframe{flex:1;min-height:0;height:0}.max-open #max-frame-area[hidden]{display:none}@media(max-width:700px){.max-open .main{height:calc(100dvh - 62px);padding:8px}.max-open .max-frame-bar{flex-basis:34px}}
.max-frame-bar>div{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.max-frame-bar [hidden]{display:none}.max-open .max-frame-bar{flex:0 0 auto;min-height:36px;gap:8px}.max-frame-bar .button{white-space:nowrap}

.max-open .max-heading [data-action=max-open],.max-open .max-staff .max-heading,.max-open #max-notice:has(.max-test-note){display:none}
.max-open .max-page .max-heading{display:none}
.max-open .main{height:100vh;height:100dvh;padding:6px;max-width:none}
.max-open .max-page{gap:0}.max-open #max-frame-area{border-radius:10px}
.max-frame-bar>div{justify-content:flex-end}.max-frame-bar .button{font-size:12px;min-height:30px;padding:4px 9px}
.max-feature{display:flex;align-items:center;gap:10px;padding:10px 0}.max-feature input{width:18px;height:18px}.max-controls{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #e5e5e5;margin-top:12px;padding-top:14px}
.max-view-port{flex:1;position:relative;min-height:0;overflow:hidden}
.max-open #max-frame-area .max-view-port iframe{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0}
@media(max-width:800px){.max-open .main{padding:0;height:calc(100vh - 44px);height:calc(100dvh - 44px)}.max-open #max-frame-area{border-radius:0}.max-frame-bar .button{min-height:38px}.max-open .max-frame-bar{padding-inline:8px}}

.max-controls [hidden]{display:none!important}
