*{box-sizing:border-box}
body{margin:0;background:#f4f7fc;color:#17243b;font:16px/1.5 'Segoe UI',Arial,sans-serif}
.support-shell{max-width:1100px;margin:auto;padding:28px 22px}
.support-shell a{color:#1456bd}
.support-shell .site-header{--title-font:Arial;color:#17243b}
.support-shell .site-header-account-toggle{color:#17243b}
.support-shell .site-header-dropdown-menu{color:#f8fafc}
.support-shell .site-header-dropdown-menu a{color:#dbeafe}
.card{background:white;border:1px solid #d9e2ef;border-radius:18px;padding:24px;margin:18px 0;min-width:0;overflow-wrap:anywhere}
h1{font-size:28px;margin:0 0 16px}
h2{font-size:20px}
form{margin:14px 0}
.field{margin:14px 0}
label{display:block;font-weight:600;margin-bottom:6px}
input,select,textarea,button{font:inherit;max-width:100%;border:1px solid #bdcce2;border-radius:8px;padding:10px}
input:not([type=hidden]),textarea{width:100%}
input[type=checkbox]{width:auto}
textarea{resize:vertical}
button,.button{display:inline-block;background:#1766d8;color:white!important;padding:10px 16px;border-radius:9px;border:0;text-decoration:none;cursor:pointer}
.actions,.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.filters input{width:250px}
.text{white-space:pre-wrap;overflow-wrap:anywhere}
.note{border-left:5px solid #bc841c;background:#fff9e9}
.entry{border:1px solid #dbe4f0;border-radius:12px;padding:16px;margin:14px 0}
.muted{color:#50647f;font-size:14px}
.errorlist,.error{color:#a71929}
.delivery{padding:12px;background:#f0f5fc;border-radius:8px;margin:10px 0}
.badge{font-weight:600}
.unread-badge{display:inline-block;background:#1766d8;color:white;padding:2px 8px;border-radius:10px;font-size:13px}
.support-upload{border:2px dashed #8da5c5;padding:16px;border-radius:12px;margin:16px 0}
.upload-preview{display:flex;gap:12px;flex-wrap:wrap}
.upload-preview>div{display:flex;flex-direction:column;gap:8px;width:180px;overflow-wrap:anywhere}
.upload-preview img{width:100%;height:110px;object-fit:contain}
.attachment{display:inline-block;margin:8px;padding:8px;border:1px solid #8da5c5;border-radius:8px}
.entry:target{outline:2px solid #3b82f6;scroll-margin-top:24px}
.import-check{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 20px}
.import-check dd{margin:0;overflow-wrap:anywhere}
.filters input[type=checkbox]{width:auto}
.pagination{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}
details>summary{cursor:pointer}
pre{white-space:pre-wrap;overflow-wrap:anywhere}
.list-row{padding:16px 0;border-bottom:1px solid #dae3ef}
fieldset{border:1px solid #d9e2ef;border-radius:10px;min-width:0;padding:16px}
@media(max-width:720px){.card{padding:16px}
.site-header-dropdown-menu{max-width:calc(100vw - 44px);overflow-wrap:anywhere}
.filters>*{width:100%}
h1{font-size:24px}
}

.support-shell .site-header .site-header-primary { color: white; }
.support-shell .card button {
    background: #1766d8 !important;
    color: #ffffff !important;
    border: 1px solid #1766d8 !important;
}
.support-shell .site-header button:not(.site-header-primary) { color: #17243b !important; }
html[data-site-theme="dark"] .support-shell .site-header button:not(.site-header-primary) { color: #f8fafc !important; }
html[data-site-theme="dark"] body { background: #081120; color: #f8fafc; }
html[data-site-theme="dark"] .support-shell .card { background: #0d1930; border-color: #344662; }
html[data-site-theme="dark"] .support-shell a { color: #93c5fd; }
html[data-site-theme="dark"] .support-shell .muted { color: #b8c4d9; }
html[data-site-theme="dark"] .support-shell .site-header-account-toggle { color: #f8fafc; }
html[data-site-theme="dark"] .support-shell input,
html[data-site-theme="dark"] .support-shell select,
html[data-site-theme="dark"] .support-shell textarea { background: #14233b; color: #f8fafc; border-color: #607086; }
html[data-site-theme="dark"] .support-shell .delivery { background: #14233b; }
html[data-site-theme="dark"] .support-shell .note { background: #302817; }
html[data-site-theme="dark"] .support-shell .error,
html[data-site-theme="dark"] .support-shell .errorlist { color: #ff9ca8; }
