:root{--bg:#f5f7fb;--card:#fff;--ink:#16233d;--muted:#718099;--border:#e2e7f1;--blue:#285dde;--light:#edf3ff;--nav:#122444;--cyan:#25b4da}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.55}a{text-decoration:none;color:var(--blue)}button,input,select{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;width:248px;min-width:248px;background:var(--nav);display:flex;flex-direction:column;color:#e6efff;padding:28px 15px 16px}.logo{font-size:19px;font-weight:800;letter-spacing:-.05em;margin:0 12px 40px}.logo-icon{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(130deg,#347ce9,#13bfbe);color:#fff;width:32px;height:32px;border-radius:11px;margin-right:6px}.logo .muted{color:#7f9af5}.side-section{font-size:10px;letter-spacing:.12em;color:#7b91b5;margin:20px 13px 9px;font-weight:800}.nav{height:43px;display:flex;align-items:center;gap:13px;padding:0 13px;color:#c4d2eb;border-radius:8px;font-weight:600;font-size:13px;margin-bottom:4px;border:0;background:transparent;width:100%;text-align:left}.nav>span{font-size:20px;width:18px;color:#6f90bd}.nav:hover,.nav.active{background:#243c67;color:#fff}.nav.active{border-left:3px solid #59c7ee}.side-footer{margin-top:auto;border-top:1px solid #334362;padding:18px 3px 0}.side-footer .account-name{font-weight:800}.side-footer small{color:#a4b5d1;display:block;margin-bottom:14px}.sidebar form{margin:0}.sidebar .logout{cursor:pointer}.main{width:100%;min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--border);padding:0 44px}.crumb{font-size:12px;font-weight:700;color:#4d5e79}.crumb span{color:#a7b1c2;margin:0 10px}.version{color:#8390a5;font-size:11px;border:1px solid var(--border);border-radius:20px;padding:4px 10px}.content{max-width:1460px;padding:36px 44px 90px;margin:auto}.content h1{font-size:27px;letter-spacing:-.05em;margin:0 0 4px}.lead{color:#728099;margin:0 0 27px}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:0 5px 25px rgba(28,50,90,.028);padding:28px;margin-bottom:22px}.card h2{font-size:17px;margin:0 0 6px}.card h3{margin:0 0 7px;font-size:15px}.card p{color:#6c7890;margin:0 0 18px}.card-head{display:flex;justify-content:space-between;align-items:start;padding-bottom:22px;border-bottom:1px solid var(--border);margin-bottom:25px}.card-head p{margin:0}.card.subtle{box-shadow:none;background:#f9fbff}.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.filter-block>label{display:block;font-weight:800;margin:0 0 8px}.helper{font-size:11px;color:#8694a9;font-weight:500;margin-left:7px}.filter-block>small{display:block;color:var(--muted);margin-top:6px}.select-filter,input:not([type=checkbox]):not([type=file]),select{display:block;width:100%;border:1px solid #d6dfec;border-radius:9px;background:#fff;padding:11px 12px;color:var(--ink);min-width:0;outline:none}.select-filter:focus,input:focus,select:focus{border-color:#6793f6;box-shadow:0 0 0 3px rgba(53,113,234,.1)}.multiselect{padding:7px;font-size:12px;height:335px;border-radius:10px}.multiselect option{padding:8px 10px;white-space:normal;border-bottom:1px solid #f1f4f8}.multiselect option:checked{background:#d9e7ff linear-gradient(0deg,#d9e7ff,#d9e7ff);color:#154ca4}.merge-box{border:1px solid #cfdcfa;border-radius:12px;background:#f7faff;padding:19px 22px;margin-top:24px}.merge-box p{margin:6px 0 0 31px;font-size:12px;color:#5f7190}.checkbox-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;cursor:pointer}.checkbox-line input{width:18px;height:18px;accent-color:var(--blue)}.tag{background:#e0edff;color:#2b5ab5;font-weight:700;font-size:10px;border-radius:20px;padding:3px 9px;margin-left:6px}.actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-top:24px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-align:center;padding:10px 16px;border-radius:9px;color:#425572;background:#fff;border:1px solid #d3dce9;font-weight:750;font-size:12px;white-space:nowrap;cursor:pointer}.btn:hover{filter:brightness(.98);border-color:#8ba4d1}.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 2px 6px rgba(42,89,205,.15)}.btn-primary:hover{background:#1e4fc7;color:#fff}.btn-ghost{background:#f6f8fc}.btn-small{font-size:11px;padding:7px 10px}.wide{width:100%}.auth-frame{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px}.auth-card{width:440px;max-width:100%;background:#fff;border-radius:18px;padding:42px;box-shadow:0 10px 45px rgba(20,47,90,.09)}.auth-logo{font-size:22px;font-weight:800;color:#254f9f;text-align:center;margin-bottom:30px}.auth-card h1{font-size:21px}.auth-card .hint{margin-bottom:25px}.auth-card label,.constrained label,.form-grid label,.details-form label{display:block;font-weight:700;margin-bottom:16px}.auth-card input,.constrained input,.form-grid input,.details-form input{margin-top:6px}.notice{background:#eaf3ff;border-left:3px solid #447fe8;padding:13px 17px;color:#27518d;border-radius:6px;margin:0 0 20px}.notice-err{background:#fff1f2;border-color:#ed6c73;color:#a53242}.hint,.tiny{color:#8090a6;font-size:12px}.tiny{font-size:11px;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:20px;display:flex;flex-direction:column}.stat small{color:#8290a5;font-weight:700}.stat strong{font-size:28px;font-weight:850;margin:5px 0}.stat span{color:#8290a5;font-size:11px}.file-area{border:1px dashed #a1b9e7;border-radius:14px;background:#f7faff;padding:28px;display:flex;align-items:center;flex-direction:column;gap:9px;margin:22px 0;cursor:pointer}.file-icon{font-size:38px;color:var(--blue)}.file-area input{max-width:300px}.progress{height:12px;border-radius:20px;background:#e8edf5;overflow:hidden;margin:20px auto}.progress-fill{background:linear-gradient(90deg,#3378e7,#2bc7c6);width:0;height:100%;border-radius:20px;transition:width .3s ease}.progress-card{text-align:center;max-width:660px;margin:40px auto;padding:50px}.progress-card .actions{justify-content:center}.loading-symbol{font-size:62px;color:var(--blue);animation:spin 1.7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-card h2{font-size:23px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}thead th{background:#f7f9fc;text-align:left;color:#677893;font-size:11px;padding:12px 10px;border-bottom:1px solid var(--border);white-space:nowrap}tbody td{border-bottom:1px solid #edf0f5;vertical-align:middle;padding:14px 10px}tbody tr:last-child td{border-bottom:0}.cell-wrap{min-width:145px;max-width:245px;overflow-wrap:anywhere}.num{text-align:right;font-weight:800;font-variant-numeric:tabular-nums}.status{display:inline-block;padding:4px 7px;border-radius:7px;font-weight:750;font-size:10px;color:#536a88;background:#edf2f9}.status-done{background:#e0f7ed;color:#19865c}.status-running{background:#e9f1ff;color:#3166b3}.empty{text-align:center;color:#91a0b3;padding:40px}code{font-size:11px;background:#f2f5f9;padding:3px 5px;border-radius:4px;color:#566b87}.searchbar{display:flex;gap:12px;margin-bottom:22px}.searchbar input{flex:1}.pagination{justify-content:flex-end}.tabs{display:flex;gap:8px;margin-bottom:20px}.tab{padding:10px 16px;border-radius:8px;font-weight:700;color:#617594}.tab.selected{background:#fff;border:1px solid #dce6f5;color:#255ab9}.small-buttons{white-space:nowrap}.btn-icon{padding:5px 9px;border:1px solid #dde5f1;border-radius:7px;background:#fff;margin-right:3px;color:#5b6e90}.btn-icon.remove{color:#b35062}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.key-item{display:flex;align-items:center;gap:9px;background:#f8faff;border:1px solid #e3eaf7;border-radius:8px;padding:12px;cursor:pointer;font-size:12px;font-weight:650}.key-item input{accent-color:var(--blue);width:17px;height:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.permissions{grid-template-columns:repeat(4,1fr)}details summary{list-style:none;cursor:pointer}details summary::-webkit-details-marker{display:none}.details-form{padding:18px 10px;min-width:370px}.details-form label{margin-top:12px}.constrained{max-width:580px}.constrained label{margin-bottom:22px}.constrained .btn{margin-top:6px}@media(max-width:1000px){.sidebar{width:210px;min-width:210px}.content{padding:25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,1fr)}.permissions{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.shell{flex-direction:column}.sidebar{position:relative;height:auto;width:100%;min-width:0;padding:15px}.logo{margin-bottom:10px}.side-section,.side-footer{display:none}.nav{display:inline-flex;width:auto;padding:8px 10px;height:auto}.topbar{height:54px;padding:0 16px}.content{padding:20px 13px}.filter-grid,.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.card{padding:18px}.check-grid,.permissions{grid-template-columns:1fr 1fr}.searchbar{flex-direction:column}.details-form{min-width:280px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* MailDX: same design language as ListDX, with mail-specific forms. */
[hidden]{display:none!important}.brand-muted{color:#7f9af5}.sidebar .logo{display:block;color:#fff;margin-bottom:22px}.sidebar nav{display:block}.sidebar .nav{min-height:40px;height:auto;padding-top:10px;padding-bottom:10px}.sidebar{overflow-y:auto}.side-footer{padding-bottom:6px}.top-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.theme-toggle{font-size:17px}.delegate-pill{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:#eef4ff;color:#27518d;font-size:12px;font-weight:800;white-space:nowrap}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:20px}.page-head-main{flex:1 1 420px;min-width:0}.page-head .lead{margin:8px 0 0}.project-switch{display:flex;justify-content:flex-end;align-items:flex-start;flex:0 0 auto;margin-bottom:0}.project-switch form{display:flex;align-items:center;justify-content:flex-end;margin:0;gap:10px;flex-wrap:wrap}.project-switch select{min-width:190px;width:auto}.project-switch label{font-size:11px;color:var(--muted);white-space:nowrap}.page-actions{margin:22px 0}.card{margin-top:20px}.card>h2{margin-bottom:20px}.card h3{margin-top:26px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field>span{font-weight:700;font-size:12px}.field small{color:var(--muted);font-size:11px}.field textarea,textarea{font:inherit;border:1px solid #d6dfec;border-radius:9px;padding:12px;width:100%;max-width:100%;color:var(--ink);background:var(--card);line-height:1.65;resize:vertical}.field textarea:focus{outline:2px solid #8baaff;outline-offset:1px}.field input{background:var(--card)}.required{font-size:10px;color:#b24b58;font-weight:600;margin-left:7px}.searchbar{align-items:flex-end;flex-wrap:wrap}.searchbar .field{flex:1 1 150px;margin:0}.searchbar>.btn{margin-bottom:0;min-height:43px}.searchbar .filter-wide{flex:1 1 100%}.advanced{margin:14px 0;border:1px solid var(--border);border-radius:9px;padding:14px}.advanced summary{font-weight:700;color:var(--blue)}.filter-row{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px}.filter-rows{padding-top:18px}.actions.compact{margin:0;gap:5px}.actions>.field{min-width:160px;margin:0}.inline-form{display:inline-block;margin:0}.table-scroll details{min-width:90px}.table-scroll details[open]{min-width:240px}.block{display:block;color:var(--muted);font-size:11px;margin-top:5px}.status-active,.status-accepted,.status-complete{background:#e1f6ee;color:#19865c}.status-failed,.status-rejected,.status-bounced{background:#fff0f1;color:#b34f59}.status-uncertain,.status-awaiting,.status-paused{background:#fff4d9;color:#9a6d1b}.status-sending,.status-queued,.status-scheduled{background:#e9f0ff;color:#285dde}.btn-danger{background:#fff2f3;color:#b33c50;border-color:#edc7ce}.steps{display:flex;gap:15px;flex-wrap:wrap;counter-reset:steps}.steps span{background:var(--light);padding:14px;border-radius:8px;color:var(--blue);font-weight:700}.memo{line-height:1.9}.detail-grid{display:grid;grid-template-columns:200px 1fr;gap:15px;line-height:1.7}.detail-grid dt{color:var(--muted);font-size:12px}.detail-grid dd{margin:0;overflow-wrap:anywhere}.mail-preview{width:100%;height:430px;border:1px solid var(--border);border-radius:9px;background:#fff}.html-editor{width:100%;height:420px;border:1px solid var(--border);border-radius:9px;background:#fff}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;background:var(--light);border:1px solid var(--border);border-radius:9px;padding:10px;margin:14px 0}.editor-toolbar button{background:var(--card);color:var(--ink);border:1px solid var(--border);border-radius:5px;padding:6px 10px;font-size:12px}.schedule{margin:24px 0;padding:20px;background:var(--light);border-radius:9px}.schedule .field{max-width:360px;margin:16px 0 0}.message-source{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:600px;overflow:auto;font-size:12px;background:var(--bg);padding:20px;border-radius:8px}.tabs.wrap{flex-wrap:wrap;gap:5px}.tabs.wrap .tab{font-size:12px;padding:8px 12px}.tab{border:1px solid transparent}.public-card{width:660px}.setup-card{width:540px}.public-history{max-width:960px;margin:40px auto;padding:20px}.honeypot{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.page-footer{font-size:10px;color:var(--muted);text-align:center;margin:45px 0 0}.checkbox-line{margin:8px 0;line-height:1.6}.fields-table{min-width:900px}.fields-table td:nth-child(2){width:220px}.fields-table td:nth-child(3){width:170px}.fields-table .field{margin:0}.time-stat{font-size:17px!important;margin:14px 0!important}.pagination{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px;font-size:12px}.copy-value{min-width:200px}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #66a6ff;outline-offset:3px}input[type=checkbox],input[type=radio]{accent-color:var(--blue);min-width:16px;min-height:16px}.topbar .crumb{overflow-wrap:anywhere}
:root[data-theme=dark]{--bg:#101a2a;--card:#17253a;--ink:#e1e9f8;--muted:#9caec7;--border:#30415a;--blue:#85adff;--light:#203553;--nav:#0c1524}html[data-theme=dark] .topbar,html[data-theme=dark] .auth-card,html[data-theme=dark] .stat{background:var(--card)}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--card);color:var(--ink);border-color:var(--border)}html[data-theme=dark] thead th{background:#20314a;color:var(--muted)}html[data-theme=dark] td{border-color:var(--border)}html[data-theme=dark] .btn{background:#243a59;color:var(--ink);border-color:#3d5373}html[data-theme=dark] .btn-primary{background:#3168de;color:#fff}html[data-theme=dark] .card.subtle,html[data-theme=dark] .tab.selected{background:var(--card)}html[data-theme=dark] .notice{background:#203f64;color:#c4ddff}html[data-theme=dark] .notice-err{background:#512c3a;color:#ffc4cf}html[data-theme=dark] .lead,html[data-theme=dark] .card p{color:var(--muted)}
@media(max-width:1000px){.content{padding:25px 20px}.topbar{padding:0 20px}}@media(max-width:700px){.sidebar{position:relative;width:100%;height:auto;padding:14px;overflow:visible}.sidebar .logo{margin:0 0 12px}.sidebar nav{display:flex;gap:3px;flex-wrap:wrap}.sidebar .nav{width:auto;font-size:12px;padding:7px 9px}.sidebar .nav>span{display:none}.sidebar>.nav{display:none}.side-section{display:none}.content{padding:20px 12px}.page-head{align-items:stretch;gap:14px}.project-switch{justify-content:flex-start;width:100%}.project-switch form{width:100%}.project-switch select{flex:1;width:100%;min-width:0}.filter-row{grid-template-columns:1fr 1fr}.filter-row .field:last-child{grid-column:1/-1}.detail-grid{grid-template-columns:1fr;gap:4px}.detail-grid dd{margin-bottom:13px}.card-head{gap:15px;flex-wrap:wrap}.card{padding:18px}.auth-card{padding:25px}.auth-frame{padding:20px 12px}.stats{gap:9px}.stat{padding:15px}.stat strong{font-size:24px}.tabs{overflow:auto}.tabs.wrap{overflow:visible}.tab{white-space:nowrap}.check-grid{grid-template-columns:1fr}.topbar{height:auto;min-height:58px;gap:8px;padding:12px 16px}.content h1{font-size:23px}.searchbar>.field{flex-basis:100%;width:100%}.steps{gap:7px}.steps span{padding:9px;font-size:12px}}
.nav svg{width:21px;height:21px;vertical-align:middle}.sidebar .nav>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px}.sidebar .logo{overflow-wrap:anywhere}@media(max-width:700px){.sidebar>.nav{display:inline-flex}.sidebar .side-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 0 0}.sidebar .side-footer small{display:none}.sidebar .side-footer .account-name{font-size:11px}.sidebar .side-footer .btn{padding:6px 12px}.sidebar .nav>span{display:none}}

/* v0.5.0: ListDX-aligned header/navigation and dedicated creation pages. */
.page-actions-right{display:flex;justify-content:flex-end;margin-top:8px;margin-bottom:14px}
.top-controls .header-logout{display:inline-flex;align-items:center;margin:0}
.top-controls .header-logout .btn{white-space:nowrap}
.nav-more{margin:2px 0 0;border:0}
.nav-more-toggle{display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#dce7ff}
.nav-more-toggle .nav-chevron{font-size:12px;transition:transform .15s}
.nav-more[open] .nav-chevron{transform:rotate(180deg)}
.sidebar .nav-sub{padding-left:18px;margin:0 0 6px;border-left:1px solid rgba(220,235,255,.24)}
.sidebar .nav-sub-link{font-size:12px;min-height:35px;padding:9px 13px}
@media(max-width:700px){.sidebar .nav-more{display:inline-block;vertical-align:top}.sidebar .nav-more-toggle{display:inline-flex;gap:9px}.sidebar .nav-sub{display:flex;flex-direction:column;padding-left:8px}.top-controls{gap:6px}.top-controls .version{font-size:10px}}

.form-list-section{padding:18px 0;border-top:1px solid var(--border)}.form-list-section:first-of-type{border-top:0}.form-list-section .copy-value{width:100%;max-width:900px}

/* v0.6.0: OEM logos, right-aligned listing CTAs and safe project rename forms. */
.listing-toolbar{display:flex;width:100%;justify-content:flex-end;align-items:center;gap:10px;margin:10px 0 16px}
.listing-toolbar .btn{margin-left:auto}
.site-brand-image{display:block;object-fit:contain;object-position:left center;max-width:100%;max-height:70px;width:auto;height:auto}
.auth-logo .site-brand-image{max-height:86px;max-width:260px;object-position:center;margin:0 auto}
.auth-logo .site-brand-text{font-weight:800}
.sidebar .logo{display:flex;align-items:center;max-width:100%;min-height:38px;overflow:hidden;gap:6px}
.sidebar .logo .site-brand-image{max-height:62px;max-width:208px}
.sidebar .logo .site-brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.oem-logo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;margin:14px 0}
.oem-logo-field{min-width:0;border:1px solid var(--border);border-radius:9px;padding:15px;background:var(--card)}
.oem-logo-field input[type=file]{max-width:100%;font-size:12px}
.oem-logo-preview{padding:12px;border:1px dashed var(--border);border-radius:7px;background:linear-gradient(135deg,#edf3ff,#fff);margin-bottom:10px}
.oem-logo-field:nth-child(2) .oem-logo-preview{background:#122444}
.oem-logo-preview img{display:block;max-width:100%;max-height:90px;object-fit:contain}
.project-rename{min-width:160px}.project-rename summary{list-style:none;cursor:pointer}.project-rename summary::-webkit-details-marker{display:none}
.project-rename[open]{min-width:250px}.project-rename form{margin-top:12px}.project-rename .field{margin-bottom:10px}
@media(max-width:700px){.sidebar .logo .site-brand-image{max-height:46px}.oem-logo-grid{grid-template-columns:1fr}}

/* v0.7.0: consistent list/create split and form builder */
.listing-toolbar{display:flex;justify-content:flex-end;gap:10px;margin:-8px 0 18px}
.bounce-dependent{border:0;margin:0;padding:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bounce-dependent:disabled,.bounce-dependent[disabled]{opacity:.48;filter:grayscale(.6);cursor:not-allowed}
.survey-question{border:1px solid var(--border);border-radius:12px;padding:22px;margin:18px 0;background:var(--card)}
.survey-question-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.survey-question .field{display:block;margin-bottom:16px}
.survey-question input[type="text"],.survey-question select,.survey-question textarea,.survey-preview textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:8px}
.survey-question textarea,.survey-public-question textarea{min-height:90px}
.survey-question input[type="checkbox"]{width:18px;height:18px}
.survey-question .checkbox-line{display:flex;align-items:center}
.survey-preview{margin:18px 0;background:var(--card)}
.survey-preview-item,.survey-public-question{padding:16px 0;border-bottom:1px solid var(--border)}
.survey-public-question .checkbox-line{margin:8px 0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.bounce-dependent{grid-template-columns:1fr}.survey-question{padding:14px}}
/* v0.8.0: clearly separated content tools and settings navigator */
.html-only[hidden],.template-save-option[hidden]{display:none!important}
.insert-tags{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:.75rem 0}
.insert-tags .btn{max-width:100%;white-space:normal}
.template-save-option{background:var(--surface-2,#f5f6f8);border:1px solid var(--border,#ddd);padding:1rem;border-radius:.75rem;margin:.75rem 0}
.template-decision-dialog{border:1px solid var(--border,#ccc);border-radius:1rem;padding:1.5rem;max-width:min(92vw,620px);color:var(--fg,inherit);background:var(--surface,#fff)}
.template-decision-dialog::backdrop{background:rgba(0,0,0,.6)}
.settings-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0}
.settings-nav-group{padding:1rem;border:1px solid var(--border,#ddd);border-radius:12px;background:var(--surface,#fff)}
.settings-nav-group h2{font-size:1rem;margin:0 0 .7rem}
.settings-nav-group .settings-links{display:flex;gap:.4rem;flex-wrap:wrap}
.settings-nav-group a{font-size:.86rem}
.settings-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.7rem;margin:.75rem 0}
.settings-flow-step{padding:.85rem;border:1px solid var(--border,#ddd);border-radius:.6rem}
.dns-status{font-weight:650}
/* v0.8.1: consistent action icons, incremental diagnostics, copy-friendly error history. */
.btn .action-icon,button .action-icon{display:inline-block;width:15px;height:15px;min-width:15px;flex-shrink:0;vertical-align:middle;pointer-events:none}
.btn.btn-small .action-icon{width:13px;height:13px;min-width:13px}
button:not(.btn):has(>.action-icon){display:inline-flex;align-items:center;gap:7px}
.diagnostics-result{border:1px solid var(--border);border-radius:10px;padding:16px;margin:16px 0;background:var(--card)}
.diagnostics-result h3{margin-bottom:8px}.diagnostic-status{color:var(--muted);font-size:12px;margin:6px 0 12px}
.diagnostics-result[aria-busy="true"] .diagnostic-status:before{content:"";display:inline-block;width:12px;height:12px;border:2px solid var(--border);border-top-color:var(--blue);border-radius:50%;margin-right:8px;vertical-align:-2px;animation:spin .9s linear infinite}
.diagnostics-result table{width:100%}.diagnostics-result th{width:42%;text-align:left;padding:8px;border-bottom:1px solid var(--border);font-weight:650}
.diagnostics-result td{padding:8px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.diagnostics-result [hidden]{display:none!important}
.log-textarea{display:block;width:100%;min-height:320px;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink);background:var(--card);border:1px solid var(--border);border-radius:9px;padding:15px;resize:vertical;white-space:pre;overflow:auto}
@media(max-width:700px){.diagnostics-result th{width:40%}.diagnostics-result{padding:12px}}

/* v0.8.2: dark-mode polish, unified insert panel, settings IA cleanup */
.settings-nav-group,.settings-flow-step,.template-save-option,.template-decision-dialog{background:var(--card);color:var(--ink);border-color:var(--border)}
.settings-nav-group h2,.settings-flow-step strong{color:var(--ink)}
.settings-nav-group .settings-links{align-items:flex-start}
.settings-nav-group .btn{white-space:normal;justify-content:flex-start;text-align:left}
.insert-panel{margin:18px 0 16px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--card)}
.insert-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.insert-target{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.insert-target-label{font-size:12px;font-weight:800;color:var(--muted)}
.insert-target-option{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:var(--light);font-size:12px;font-weight:700;color:var(--ink)}
.insert-target-option input{margin:0}
.insert-groups{display:grid;gap:12px}
.insert-group{display:grid;gap:8px}
.insert-group-title{font-size:12px;font-weight:800;color:var(--muted)}
.insert-chip-row{display:flex;flex-wrap:wrap;gap:8px}
.insert-chip{padding:8px 12px;border-radius:999px;white-space:nowrap;max-width:100%}
.insert-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.insert-panel [data-insert-target-label]{color:var(--ink)}
html[data-theme=dark] .settings-nav-group,html[data-theme=dark] .settings-flow-step,html[data-theme=dark] .template-save-option,html[data-theme=dark] .insert-panel{box-shadow:none}
html[data-theme=dark] .insert-target-option{background:#203553;border-color:#38506f;color:var(--ink)}
html[data-theme=dark] .insert-chip{background:#243a59;border-color:#3d5373;color:var(--ink)}
html[data-theme=dark] .project-rename summary.btn{background:#243a59;color:var(--ink);border-color:#3d5373}
@media(max-width:700px){.insert-panel{padding:14px}.insert-panel-head,.insert-panel-foot{gap:10px}.insert-target{width:100%}.insert-target-option{flex:1 1 auto;justify-content:center}.insert-chip{white-space:normal}}

.insert-more{border:1px solid var(--border);border-radius:10px;margin-top:4px;background:var(--card)}
.insert-more>summary{padding:10px 12px;font-size:12px;font-weight:750;color:var(--blue);cursor:pointer}
.insert-more>summary:hover{background:var(--light)}
.insert-more-content{display:grid;gap:12px;padding:12px;border-top:1px solid var(--border)}
.insert-chip .action-icon{display:none!important}

/* v0.8.3: neutral public landing when the super-admin console is at document root. */
.public-landing{max-width:560px;text-align:left}.public-landing h1{font-size:clamp(20px,3vw,26px);margin-bottom:22px}.public-landing p{font-size:14px;line-height:1.85;color:var(--ink);margin:0 0 12px}.public-landing p:last-child{margin-bottom:0}

/* v0.8.4: Plesk scheduled-task wizard and copy controls */
.cron-guide ol{padding-left:1.4rem;line-height:1.95;color:var(--ink)}
.cron-guide ol li{margin-bottom:.35rem}
.cron-task{padding:16px;margin:14px 0;border:1px solid var(--border);border-radius:12px;background:var(--light)}
.cron-task h3{margin-top:0;margin-bottom:12px}
.cron-copy-row{display:flex;gap:8px;align-items:stretch}
.cron-copy-field{display:block;margin:14px 0}
.cron-copy-row .cron-copy-value{min-width:0;flex:1;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;padding:11px 12px}
.cron-copy-row .btn{flex:0 0 auto}
.cron-guide code{overflow-wrap:anywhere}
html[data-theme=dark] .cron-guide .cron-task{background:var(--light)}
html[data-theme=dark] .cron-copy-row input{background:var(--card);color:var(--ink);border-color:var(--border)}
@media(max-width:700px){.cron-guide{padding:16px}.cron-copy-row{flex-direction:column}.cron-copy-row .btn{align-self:flex-start}}

/* v0.8.11: history layout and click report */
.searchbar .field select,.searchbar .field input{min-height:44px;height:44px;line-height:1.4}
.history-table .cell-compact{width:128px;max-width:128px;min-width:105px;}
.history-table .cell-compact a,.history-table .cell-compact span{display:block;max-width:10.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.theme-toggle,.top-controls .header-logout .btn{height:36px;min-height:36px;}
.theme-toggle{width:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
.theme-icon{display:block;line-height:1}
.click-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 18px}
.click-kpi{min-width:0;padding:17px;border:1px solid var(--border);background:var(--bg);border-radius:12px;display:flex;flex-direction:column;gap:5px}
.click-kpi small{font-weight:750;color:var(--muted)}.click-kpi strong{font-size:25px;font-weight:850;color:var(--ink)}
.click-kpi span{font-size:11px;color:var(--muted)}
.click-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.click-chart-grid .card:last-child{grid-column:1/-1}
.click-chart-grid .card{margin:0;min-width:0}
.click-bars{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.click-bar-row{display:grid;grid-template-columns:minmax(75px,130px) minmax(0,1fr) 45px;align-items:center;gap:12px;font-size:12px}
.click-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.click-bar-track{height:15px;background:var(--light);border-radius:5px;overflow:hidden}
.click-bar-fill{height:100%;background:linear-gradient(90deg,#285dde,#24b3d0);border-radius:5px;min-width:0}
.click-bar-row strong{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:860px){.click-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.click-chart-grid{grid-template-columns:1fr}.click-chart-grid .card:last-child{grid-column:auto}}
@media(max-width:480px){.click-kpis{grid-template-columns:1fr}}

/* v0.8.15: Wider authenticated /install/ console; the login card is deliberately unchanged. */
.super-admin-frame{align-items:flex-start;padding:clamp(18px,3vw,48px)}
.super-admin-frame .super-admin-card{width:100%;max-width:1480px;min-width:0;margin:0 auto;padding:clamp(24px,3vw,48px)}
.super-admin-card .table-scroll{width:100%;max-width:100%;overflow-x:auto}
.super-admin-card .table-scroll table{min-width:680px}
.super-admin-card .table-scroll a{overflow-wrap:anywhere;word-break:break-word}
.super-admin-card>form,.super-admin-card #child-editor>form{max-width:920px}
.super-admin-card .field,.super-admin-card input,.super-admin-card select,.super-admin-card textarea{min-width:0}
@media(max-width:700px){.super-admin-frame{padding:12px}.super-admin-frame .super-admin-card{padding:20px 16px}.super-admin-card .table-scroll table{min-width:680px}}


/* v0.8.16: history alignment, page-header project switch, and action spacing polish */
.center{text-align:center}.history-table td.center,.history-table th.center{text-align:center}.history-table td.num a{display:inline-block}.history-table td.center a,.history-table td.center span{margin-left:auto;margin-right:auto;text-align:center}.section-follow-actions{margin-top:14px}.separated-form{margin-top:18px}.super-admin-card .separated-form{margin-top:18px}
html[data-theme=dark] .delegate-pill{background:#203f64;color:#cfe3ff;border-color:#3d5373}

/* v0.9.0 - default reusable mail draft action state. */
.template-default-active:disabled{opacity:1;cursor:default;background:var(--light);color:var(--blue);border-color:var(--border)}

/* v0.9.1: editorial spacing, sidebar icons, and dashboard memo CMS */
.table-action-bar{margin:15px 0 20px!important;gap:10px}
.bulk-update-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}
.bulk-update-controls .field{margin:0;min-width:150px;flex:0 1 220px}
.bulk-update-controls .field select{height:44px;min-height:44px}
.bulk-update-controls>.btn{height:44px;min-height:44px;align-self:flex-end}
.compose-insert-actions{margin-top:12px!important;margin-bottom:24px!important;row-gap:10px}
.compose-top-selects{margin-bottom:4px}
.memo-card{padding:28px}
.memo-rich{line-height:1.8;overflow-wrap:anywhere}
.memo-rich>*:first-child{margin-top:0}
.memo-rich>*:last-child{margin-bottom:0}
.memo-rich h2{font-size:17px;font-weight:800;letter-spacing:normal;line-height:1.5;margin:18px 0 10px;color:var(--ink)}
.memo-rich h3{font-size:15px;font-weight:750;line-height:1.5;margin:16px 0 8px;color:var(--ink)}
.memo-rich p,.memo-rich div{margin:0 0 10px;color:var(--ink)}
.memo-rich ul,.memo-rich ol{padding-left:1.6em;margin:8px 0 14px}
.memo-rich img{display:block;max-width:100%;height:auto;border-radius:9px;margin:14px 0}
.memo-rich a{overflow-wrap:anywhere;text-decoration:underline}
.memo-cms-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px}
.memo-cms-toolbar .btn{font-size:12px}
.memo-cms-body{min-height:230px;padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--ink);outline:none}
.memo-cms-body:focus{border-color:#6793f6;box-shadow:0 0 0 3px rgba(53,113,234,.1)}
.memo-cms .hint{margin:10px 0 15px}
@media(max-width:700px){.table-action-bar{gap:8px}.compose-top-selects{grid-template-columns:1fr}.memo-card{padding:18px}.bulk-update-controls .field{flex:1 1 160px}}

/* v0.9.3: Match the standard sidebar .nav links exactly.  The label is
   a text node (not an icon-width span), so font, weight and gap are inherited. */
.sidebar .nav-more-toggle{justify-content:flex-start;gap:13px;min-height:40px;white-space:nowrap;font-size:13px;font-weight:600}
.sidebar .nav-more-toggle > span:first-child{display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;width:21px;font-size:20px;color:#6f90bd}
.sidebar .nav-more-toggle > span:first-child svg{width:21px;height:21px}
.sidebar .nav-more-toggle > .nav-chevron{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;margin-left:auto;font-size:12px;font-weight:600;color:#7b91b5;white-space:nowrap}
.sidebar .nav-more-toggle[aria-current="page"] > span:first-child{color:#fff}
@media(max-width:700px){.sidebar .nav-more-toggle{display:inline-flex;gap:13px;min-height:40px;font-size:12px}.sidebar .nav-more-toggle > span:first-child{display:inline-flex}.sidebar .nav-more-toggle > .nav-chevron{display:inline-flex}.sidebar a.nav > span[aria-hidden="true"]{display:inline-flex}}

/* v0.9.5: Subaccount permission organization; no authorization rule changes. */
.permission-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 22px;align-items:start}
.permission-group{min-width:0;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card)}
.permission-group-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:3px}
.permission-group-header h4{margin:0;font-size:15px;font-weight:800;color:var(--ink);line-height:1.5}
.permission-group-count{flex-shrink:0;font-size:11px;font-weight:700;color:var(--muted)}
.permission-group-desc{min-height:2.5em;margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--muted)}
.permission-group-items{display:grid;grid-template-columns:1fr;gap:0}
.permission-group .permission-group-items .checkbox-line{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;margin:0;padding:10px 3px;font-size:13px;line-height:1.55;font-weight:600;border-top:1px solid var(--border);overflow-wrap:anywhere}
.permission-group .permission-group-items .checkbox-line input{margin:0;flex:0 0 17px}
.permission-group .permission-group-items .checkbox-line:hover{color:var(--blue)}
.permission-saved{margin:8px 0 24px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--light)}
.permission-saved>summary{font-weight:750;color:var(--ink);cursor:pointer}
.permission-saved-list{display:grid;gap:12px;margin-top:14px}
.permission-saved-list strong{display:block;color:var(--ink);font-size:12px}
.permission-saved-list p{margin:3px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere;line-height:1.65}
@media(max-width:1100px){.permission-group-grid{grid-template-columns:1fr}.permission-group-desc{min-height:0}}
@media(max-width:700px){.permission-group-grid{gap:12px}.permission-group{padding:14px}.permission-group-header h4{font-size:14px}}

/* v0.9.6: bounded CSV import progress (the normal app visual design). */
.csv-import-progress{margin:22px 0;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card)}
.csv-import-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.csv-import-progress-track{height:16px;border-radius:99px;background:var(--light);overflow:hidden}
.csv-import-progress-track>div{height:100%;background:linear-gradient(90deg,#285dde,#22b5d2);width:0%;transition:width .18s ease}
.csv-import-progress p{margin:12px 0 0}.csv-import-progress [data-progress-error]{margin-top:14px}
@media(prefers-reduced-motion:reduce){.csv-import-progress-track>div{transition:none}}

/* v0.10.1: OEM logo always fits the usable sidebar width without cropping.
   The source <img> has inline width:auto for login, so the sidebar-only !important
   declarations make its flex sizing deterministic while preserving aspect ratio. */
.sidebar .logo{min-width:0}
.sidebar .logo > .site-brand-image{
    display:block;
    flex:0 1 auto;
    min-width:0;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:62px;
    object-fit:contain;
    object-position:left center;
}
@media(max-width:700px){.sidebar .logo > .site-brand-image{max-height:46px!important}}

/* v0.11.0: interactive dashboard metric cards */
.dashboard-stats .stat-link{color:var(--ink);text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.dashboard-stats .stat-link:hover{border-color:var(--blue);box-shadow:0 6px 20px rgba(40,93,222,.10);transform:translateY(-1px)}
.dashboard-stats .stat-link:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.dashboard-stats .stat-link small,.dashboard-stats .stat-link span{color:var(--muted)}
.dashboard-drill-actions{margin:0 0 20px}
@media(prefers-reduced-motion:reduce){.dashboard-stats .stat-link{transition:none;transform:none!important}}
/* v1.0.0: resumable legacy Perl archive restoration */
.legacy-progress{margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--card)}
.legacy-progress[hidden],#legacy-resume[hidden]{display:none!important}
.legacy-progress-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.legacy-progress progress{display:block;width:100%;height:16px;accent-color:#285dde;border:0;border-radius:9px}
.legacy-progress .hint{overflow-wrap:anywhere;margin-top:12px}

/* v1.0.2: legacy mapping review */
.legacy-mapping-card{margin-top:20px;margin-bottom:20px;border:1px solid var(--line,#dbe0e7);border-radius:12px;padding:16px}
.legacy-mapping-card summary{cursor:pointer;font-weight:650}
.legacy-mapping-scroll{max-height:420px;overflow:auto;margin:12px 0}
.legacy-mapping-scroll td,.legacy-mapping-scroll th{font-size:12px;vertical-align:top;white-space:normal;min-width:90px}
.legacy-mapping-card ul{padding-left:22px}

/* v1.1.0 — uniform Perl-style 10/25/50/100 row limits and numbered pagination. */
.table-size-bar{display:flex;align-items:center;justify-content:flex-end;width:100%;margin:8px 0 16px}
.table-size-form{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:0;flex-wrap:wrap}
.table-size-form label{font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.table-size-form select{height:42px;min-height:42px;min-width:105px;max-width:150px;width:auto;margin:0;padding:8px 31px 8px 12px;border:1px solid var(--border);border-radius:9px;background-color:var(--card);color:var(--ink);font:inherit;font-size:13px;font-weight:650}
.pagination{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;margin:20px 0 3px}
.pagination .pagination-count{font-size:12px;color:var(--muted);margin-right:8px}
.pagination .page-number{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:6px 10px;text-decoration:none;font-variant-numeric:tabular-nums}
.pagination .page-number.current{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:800;cursor:default}
.pagination .pager-next,.pagination .pager-prev{white-space:nowrap;min-height:36px;display:inline-flex;align-items:center}
@media(max-width:700px){.table-size-bar{margin:10px 0 14px}.pagination{justify-content:center;gap:5px}.pagination .pagination-count{flex:1 0 100%;text-align:center;margin:0 0 5px}.pagination .page-number{min-width:32px;min-height:34px;padding:5px 8px}}

/* v1.2.0: CSP-safe native bars; the HTML value/max, not inline styles, controls length. */
.click-bars progress.click-bar-track{display:block;width:100%;height:15px;min-width:0;appearance:none;-webkit-appearance:none;border:0;border-radius:5px;overflow:hidden;background:var(--light)}
.click-bars progress.click-bar-track::-webkit-progress-bar{background:var(--light);border-radius:5px}
.click-bars progress.click-bar-track::-webkit-progress-value{background:linear-gradient(90deg,#285dde,#24b3d0);border-radius:5px}
.click-bars progress.click-bar-track::-moz-progress-bar{background:linear-gradient(90deg,#285dde,#24b3d0);border-radius:5px}
.click-report-progress{margin-bottom:20px;padding:24px}
.click-report-progress .progress{margin:10px 0;height:14px}
.click-report-progress-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.click-report-progress-row strong{font-variant-numeric:tabular-nums}
.click-report-progress .hint{margin-top:10px;margin-bottom:0}

.click-report-progress progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:14px;overflow:hidden;background:#e8edf5;border:0;border-radius:20px;margin:10px 0}
.click-report-progress progress::-webkit-progress-bar{background:#e8edf5;border-radius:20px}
.click-report-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#3378e7,#2bc7c6);border-radius:20px}
.click-report-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#3378e7,#2bc7c6);border-radius:20px}

/* v1.2.1: Show the entire lowest-level industry name rather than an ellipsized hierarchy. */
.click-bars-industry .click-bar-row{grid-template-columns:minmax(115px,210px) minmax(0,1fr) 55px}
.click-bars-industry .click-bar-label{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.45}
@media(max-width:560px){.click-bars-industry .click-bar-row{grid-template-columns:minmax(100px,42%) minmax(0,1fr) 48px;gap:8px}}

/* v1.2.2: Read-only template detail, safe wrapping for long links and HTML source. */
.template-view-body{padding:18px;border:1px solid var(--border,#dce5f2);border-radius:12px;background:var(--surface-alt,#f6f8fc);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:65vh;overflow:auto;font:inherit;line-height:1.7;}


/* v1.4.4: visibly distinguish manually/unsubscribed stopped contacts without
   disabling row selection, edit buttons, or accessible hover/focus states. */
.table-scroll tbody tr.contact-row-stopped > td{background-color:#eef0f3}
.table-scroll tbody tr.contact-row-stopped:hover > td{background-color:#e4e8ed}
html[data-theme=dark] .table-scroll tbody tr.contact-row-stopped > td{background-color:#283443}
html[data-theme=dark] .table-scroll tbody tr.contact-row-stopped:hover > td{background-color:#303e50}

/* v1.4.5: show a single destructive action inside the expanded list-delete confirmation. */
.list-delete-control[open] > summary {display:none}
.list-delete-control .field {min-width:210px;max-width:340px;margin-bottom:10px}
.list-delete-control .list-delete-actions {display:flex;flex-wrap:wrap;gap:7px;margin-top:0}

/* v1.5.2: read-only workspace label when the project list is not shared. */
.project-current{display:inline-block;border:1px solid var(--border);border-radius:9px;padding:10px 14px;color:var(--muted);font-size:12px;overflow-wrap:anywhere;max-width:280px}

/* MailDX 2.0 read-only inbox. Shares the existing card/table/button styling. */
.inbox-table {width:100%;table-layout:auto}
.inbox-table th:first-child,.inbox-table td:first-child {white-space:nowrap;width:6rem}
.inbox-subject {font-weight:600;color:inherit;text-decoration:underline;text-decoration-color:var(--line,#bbb);text-underline-offset:3px}
.inbox-unread td {font-weight:600;background:rgba(120,130,145,.085)}
.inbox-meta {border-bottom:1px solid var(--line,#ddd);margin-bottom:1rem;padding-bottom:.65rem;overflow-wrap:anywhere}
.inbox-meta p {margin:.35rem 0;font-size:.92rem}
.inbox-message-subject {overflow-wrap:anywhere;margin:1.2rem 0}
.inbox-message-body {white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:72vh;overflow:auto;line-height:1.7;padding:1rem 0}

/* v2.1.0: IMAP authentication-status summary, theme-aware and responsive. */
.inbox-auth-check{border:1px solid var(--border);background:var(--light);border-radius:12px;padding:16px;margin:20px 0;min-width:0}
.inbox-auth-check h3{margin:0 0 10px;font-size:15px}
.inbox-auth-check table{width:100%;table-layout:fixed;background:var(--card)}
.inbox-auth-check th{width:100px;text-align:left;font-weight:700;padding:9px 12px;border-bottom:1px solid var(--border)}
.inbox-auth-check td{padding:9px 12px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.inbox-auth-check .hint{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0}
