.problem-report-bar{box-sizing:border-box;display:flex;justify-content:center;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px));position:relative;}
.problem-report-bar-math{padding-bottom:calc(184px + env(safe-area-inset-bottom,0px));}
.problem-report-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;border:1px solid color-mix(in srgb,var(--ink,#20352d) 22%,transparent);border-radius:999px;background:rgba(255,255,255,.74);color:var(--ink,#20352d);font:600 15px/1.5 var(--font-base,'PingFang TC','Microsoft JhengHei',sans-serif);box-shadow:inset 0 1px 0 #fff,0 2px 8px #1630290a;cursor:pointer;}
.problem-report-dialog{--problem-report-accent:var(--blue,#24546b);box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;margin:auto;overflow:auto;border:1px solid #ffffffd9;border-radius:26px;background:rgba(249,251,252,.9);color:#20272c;box-shadow:inset 0 1px 0 #fff,0 24px 72px #14232b33,0 4px 16px #14232b14;font:400 16px/1.55 var(--font-base,'PingFang TC','Microsoft JhengHei',sans-serif);}
.problem-report-dialog::backdrop{background:#172b3c45;}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.problem-report-dialog{background:linear-gradient(145deg,#ffffffd9,#f2f6fad1);-webkit-backdrop-filter:blur(28px) saturate(1.35);backdrop-filter:blur(28px) saturate(1.35);}.problem-report-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}}
.problem-report-dialog *{box-sizing:border-box;}
.problem-report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;}
.problem-report-site{margin:0 0 2px;font-size:14px;color:#4e5962;}
.problem-report-dialog h2{margin:0;font:700 23px/1.45 var(--font-base,'PingFang TC',sans-serif);color:inherit;}
.problem-report-dialog button,.problem-report-next{min-height:44px;padding:10px 16px;border:1px solid #687d8c66;border-radius:14px;background:#ffffffb8;color:inherit;font:600 15px/1.5 var(--font-base,'PingFang TC',sans-serif);cursor:pointer;box-shadow:inset 0 1px 0 #fff;}
.problem-report-dialog .problem-report-close{flex:0 0 44px;padding:0;width:44px;border-radius:50%;font-size:27px;line-height:1;}
.problem-report-fields{display:grid;gap:16px;}
.problem-report-field{display:grid;gap:6px;min-width:0;font-size:15px;font-weight:600;}
.problem-report-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.problem-report-dialog :is(input,select,textarea){width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #65758080;border-radius:12px;background:#ffffffe6;color:#20272c;font:400 16px/1.5 var(--font-base,'PingFang TC',sans-serif);box-shadow:inset 0 1px 2px #0e263808;}
.problem-report-dialog textarea{resize:vertical;}
.problem-report-field small{font-size:13px;font-weight:400;color:#4e5962;}
.problem-report-privacy,.problem-report-next-hint,.problem-report-unavailable,.problem-report-next-step p{margin:16px 0;font-size:14px;line-height:1.7;color:#43515b;overflow-wrap:anywhere;}
.problem-report-dialog .problem-report-submit{display:block;width:100%;margin-top:18px;background:var(--problem-report-accent);color:#fff;border-color:var(--problem-report-accent);box-shadow:inset 0 1px 0 #ffffff44,0 3px 9px #102d3621;}
.problem-report-dialog .problem-report-submit:disabled{opacity:.55;cursor:not-allowed;}
.problem-report-dialog :is(button,a):hover,.problem-report-entry:hover{filter:brightness(.97);}
.problem-report-dialog :is(button,a):active,.problem-report-entry:active{transform:translateY(1px);}
.problem-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;}
.problem-report-actions>*{flex:1 1 150px;text-align:center;}
.problem-report-next{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;}
.problem-report-dialog :is(button,a,input,select,textarea):focus-visible,.problem-report-entry:focus-visible{outline:3px solid var(--problem-report-accent,var(--blue,#24546b));outline-offset:3px;}
.problem-report-dialog [hidden]{display:none!important;}
.problem-report-copy-status:empty{display:none;}
:is(.course-high-contrast,.high-contrast-mode) .problem-report-dialog{--problem-report-accent:#ffe28d;background:#181818;color:#fff;border-color:#ffe28d;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;}
:is(.course-high-contrast,.high-contrast-mode) :is(.problem-report-entry,.problem-report-dialog button,.problem-report-dialog input,.problem-report-dialog select,.problem-report-dialog textarea,.problem-report-next){background:#181818;color:#fff;border-color:#ffe28d;box-shadow:none;}
:is(.course-high-contrast,.high-contrast-mode) :is(.problem-report-site,.problem-report-field small,.problem-report-privacy,.problem-report-next-hint,.problem-report-unavailable,.problem-report-next-step p){color:#fff;}
:is(.course-high-contrast,.high-contrast-mode) .problem-report-dialog .problem-report-submit{background:#ffe28d;color:#181818;}
:is(.course-high-contrast,.high-contrast-mode) .problem-report-entry:focus-visible{outline-color:#ffe28d;}
@media(max-width:480px){.problem-report-bar-math{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));}.problem-report-dialog{padding:20px;border-radius:22px;}.problem-report-row{gap:10px;}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.problem-report-dialog{background:#fff;border-color:#495960;box-shadow:0 12px 40px #172b3c33;-webkit-backdrop-filter:none;backdrop-filter:none;}.problem-report-dialog::backdrop{background:#172b3c66;-webkit-backdrop-filter:none;backdrop-filter:none;}.problem-report-entry{background:#fff;border-color:#495960;}}
@media(forced-colors:active){.problem-report-dialog,.problem-report-entry,.problem-report-dialog :is(input,select,textarea,button),.problem-report-next{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}.problem-report-dialog :is(button,a,input,select,textarea):focus-visible,.problem-report-entry:focus-visible{outline:3px solid Highlight!important;}.problem-report-dialog :is(p,small){color:CanvasText!important;}}
@media print{.problem-report-bar,.problem-report-dialog{display:none!important;}}
