:root{color-scheme:light;--ink:#1c2639;--muted:#526078;--line:#dbe3ef;--paper:#fff;--blue:#344bd2;--blue-tint:#edf0fe;--canvas:#f4f6fb;--navy:#161e33;font-family:system-ui,"PingFang TC","Microsoft JhengHei",sans-serif;font-size:15px;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.48;cursor:default}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7790ff;outline-offset:3px}
.sidebar{background:var(--navy);color:white;padding:29px 16px 22px;display:flex;flex-direction:column;gap:36px;min-height:100vh}
.brand{display:flex;align-items:center;gap:11px;font-weight:750;padding:0 5px;white-space:nowrap}
.brand-icon{display:block;flex:none;width:38px;height:38px;object-fit:contain}
.brand small,.storage small{display:block;color:#b4bed4;font-weight:500;margin-top:4px;font-size:11px}
.brand small{letter-spacing:.05em}
.brand small.brand-version{display:block;letter-spacing:0;margin-top:3px}
nav{display:grid;gap:7px}
.nav-link{width:100%;text-align:left;background:transparent;color:#d7deee;border:0;border-radius:9px;padding:11px 12px;display:flex;align-items:center;gap:10px;font-weight:650}
.nav-link span{font-size:18px;width:18px;text-align:center}
.nav-link:hover,.nav-link.active{background:#303d68;color:#fff}
.storage{margin-top:auto;border-top:1px solid #38435f;display:flex;align-items:flex-start;gap:9px;padding:15px 5px 0;font-size:13px}
.storage i{width:8px;height:8px;border-radius:100%;background:#62d6ac;margin-top:5px}
main{width:100%;max-width:1380px;margin:0 auto;padding:36px clamp(20px,4vw,55px) 50px}
.page-header,.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.page-header{margin-bottom:24px}
h1,h2,p{margin:0}
h1{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.035em}
h2{font-size:18px}
p{color:var(--muted);line-height:1.55}
.page-header p,.card-header p{margin-top:6px}
.button{border:1px solid transparent;border-radius:8px;padding:10px 14px;font-weight:700;white-space:nowrap}
.primary{background:var(--blue);color:white}.primary:hover:not(:disabled){background:#2439ad}
.secondary{background:white;color:var(--ink);border-color:var(--line)}.secondary:hover:not(:disabled){background:#f5f7fd}
.danger{color:#a5233b;border-color:#f0cbd3;background:white;margin-right:auto}
.card,.stat{background:var(--paper);border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 5px #1b2d4b06}
.scope{padding:21px 23px}
.scope-grid{display:grid;grid-template-columns:minmax(140px,1fr) minmax(270px,1.45fr);gap:20px;margin-top:16px}
.field,label:not(.nav-link){font-weight:650}
.field{display:grid;gap:7px;align-content:start}
select,input:not([type=checkbox]),textarea{width:100%;padding:9px 10px;border:1px solid #cad4e5;border-radius:8px;background:white;color:var(--ink)}
.segmented{display:flex;gap:3px;background:#f1f3f9;border-radius:9px;padding:3px}
.segmented button{flex:1;min-width:0;padding:6px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);white-space:nowrap;font-weight:650}
.segmented button[aria-pressed=true]{background:white;color:#283eb5;border-color:#dce3f1;box-shadow:0 1px 3px #1b2d4b12}
.feature-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);gap:16px;align-items:end;border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
fieldset{margin:0;padding:0;border:0;min-inline-size:0}
legend{padding:0;margin-bottom:8px;font-weight:700}
.muted{color:var(--muted);font-size:12px;font-weight:500;margin-left:5px}
.chips{display:flex;gap:7px;flex-wrap:wrap}
.chip{border:1px solid #cad4e5;background:white;color:var(--ink);padding:6px 10px;border-radius:7px;font-weight:650}
.chip[aria-pressed=true]{border-color:#9ba9f3;color:#2339af;background:var(--blue-tint)}
.rat-option{background:#f5f7fe;border:1px solid #e6eafe;padding:9px 10px;border-radius:8px;display:flex;gap:7px;align-items:flex-start;font-size:13px}
.rat-option small{display:block;color:var(--muted);margin-top:2px;font-weight:500}
input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;flex:none;margin:2px 3px 0 0}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:15px 0}
.stat{padding:13px 16px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;font-weight:650}
.stat strong{display:block;color:var(--ink);font-size:24px;line-height:1.05;margin-top:5px;font-variant-numeric:tabular-nums}
.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;font-size:15px}
.blue{background:var(--blue-tint);color:#2a40bc}.teal{background:#e8f7f2;color:#0b6555}.gold{background:#fff4df;color:#855607}
.results{overflow:hidden}
.card-header{padding:17px 21px}
.card-header p{font-size:13px}
.count,.tag{font-size:12px;border-radius:6px;display:inline-block;padding:3px 7px;font-weight:700}
.count{background:#edf1fa;color:#405475;vertical-align:middle;margin-left:4px}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left}
th{white-space:nowrap;background:#edf1f8;font-size:13px;color:#414f66}
td,th{padding:11px 12px;border-bottom:1px solid #e7ecf4;vertical-align:top}
td:first-child,th:first-child{padding-left:21px}
td:last-child,th:last-child{padding-right:20px}
tbody tr:last-child td{border-bottom:0}
td:nth-child(1),td:nth-child(2){white-space:nowrap}
td:nth-child(1){font-family:ui-monospace,monospace;font-size:13px;font-weight:650;color:#3e506f}
td:nth-child(3){width:48%}
td small{display:block;color:var(--muted);line-height:1.4;margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere}
td strong{overflow-wrap:anywhere}
.tag{margin:0 4px 3px 0;white-space:nowrap}
.empty{text-align:center;color:var(--muted)!important;padding:25px;font-family:inherit!important;white-space:normal!important}
.library-tools{justify-content:flex-start;align-items:end;flex-wrap:wrap}
.library-tools .field{flex:1;max-width:300px;min-width:155px}
#saved .library-tools .field{flex:0 1 460px;max-width:100%;min-width:0}
.inline-check{display:flex;align-items:center;gap:5px;min-height:40px}
.text-button,.close{border:0;background:none;color:#2b41b6;font-weight:700;white-space:nowrap;padding:3px 0}
.close{color:var(--muted);font-size:24px;padding:0 5px}
dialog{width:min(570px,calc(100% - 26px));border:1px solid var(--line);border-radius:14px;padding:22px;color:var(--ink);box-shadow:0 12px 60px #14204450}
dialog::backdrop{background:#141c36a3}
.dialog-heading,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}
.dialog-actions{justify-content:flex-end;margin:14px 0 0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
dialog label input:not([type=checkbox]),dialog textarea{display:block;margin-top:5px}
.extra-choices{max-height:50vh;overflow:auto}
.extra-choices label{border-bottom:1px solid var(--line);padding:7px 0}
.error{color:#a5233b}
#notice{position:fixed;bottom:18px;right:18px;max-width:calc(100% - 36px);background:#202d50;color:white;padding:10px 16px;border-radius:8px;z-index:5}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:850px){body{grid-template-columns:180px minmax(0,1fr)}main{padding:25px 18px}.feature-settings{grid-template-columns:1fr}.scope-grid{grid-template-columns:1fr}.stat{padding:10px}.scope{padding:17px}}
@media(max-width:610px){body{display:block}.sidebar{min-height:0;padding:13px 15px 9px;gap:9px}.brand{font-size:14px}.brand-icon{width:27px;height:27px;font-size:17px}.brand small,.storage{display:none}nav{grid-template-columns:1fr 1fr}.nav-link{padding:6px 8px}.page-header,.card-header{align-items:flex-start}.page-header{flex-wrap:wrap;margin-bottom:17px}.card-header{padding:13px}.card-header .button{padding:7px;font-size:12px}.stats{gap:6px}.stat-icon{display:none}.stat strong{font-size:21px}table{min-width:570px}}

.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-meta{margin-top:14px;border-top:1px solid var(--line);padding-top:11px}
.report-meta summary{cursor:pointer;color:#405475;font-weight:680;font-size:13px}
.meta-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.meta-fields label{font-size:12px}
.meta-fields input{margin-top:4px;min-width:0}
.case-types{display:flex;gap:20px;margin:0 0 10px}
.case-types legend{margin-bottom:0}
.steps-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}
.steps-heading h3{font-size:15px;margin:0}
.steps-heading .button{padding:6px 9px;font-size:13px}
.step-row{border:1px solid var(--line);border-radius:9px;padding:9px;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.step-row label{font-size:13px}
.step-row textarea{resize:vertical;min-height:63px}
.step-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
dialog{max-height:calc(100% - 30px)}
@media(max-width:850px){.meta-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:610px){.scope-grid .segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.meta-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

#plan table,#library table{min-width:970px;table-layout:fixed}
#plan th:nth-child(1),#library th:nth-child(1){width:11%}
#plan th:nth-child(2),#library th:nth-child(2){width:14%}
#plan th:nth-child(3),#library th:nth-child(3){width:17%}
#plan th:nth-child(4),#library th:nth-child(4){width:45%}
#plan th:last-child,#library th:last-child{width:6%}
#plan td:nth-child(1),#plan td:nth-child(2),#library td:nth-child(1),#library td:nth-child(2){white-space:normal;overflow-wrap:anywhere}
#plan td:nth-child(3),#library td:nth-child(3){width:auto}
#features{max-height:148px;overflow:auto;padding:2px}
.chip{text-align:left;max-width:100%;overflow-wrap:anywhere}
.step-column-head,.step-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 80px clamp(105px,16%,150px);gap:11px;align-items:start}
.step-column-head.library-steps,.step-line.library-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
.step-line+.step-line{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}
.step-line span{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.step-line b{color:var(--muted)}
.step-line select{font-size:13px;padding:5px 4px}
.step-line select[data-result=pass]{color:#087154;background:#e6f7ef}
.step-line select[data-result=fail]{color:#9c2138;background:#fff0f2}
.blank-expected{color:var(--muted)}
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;padding:12px;border-top:1px solid var(--line);font-size:13px}
.pager .button{padding:5px 10px}
.pager select{width:auto;padding:5px 8px}
.pager :is(select,.button){min-height:32px}
.pager span{margin-inline-start:4px;color:var(--muted);font-variant-numeric:tabular-nums}

.header-actions,.editor-nav{display:flex;align-items:center;gap:9px}
.library-types{width:min(270px,100%);min-height:40px;align-self:end}
.library-types button{flex:1 1 0;padding:6px 8px}
#plan th:nth-child(4),#library th:nth-child(4){width:52%}
#plan th:last-child,#library th:last-child{width:6%}
#case-position,#feature-count{font-size:13px;color:var(--muted)}
#case-position{min-width:50px;text-align:center}
#feature-count{margin-right:auto}
#feature-dialog{width:min(740px,calc(100% - 32px))}
.feature-search{margin:12px 0}
.feature-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:45vh;overflow:auto;padding:2px}
.feature-choice{border:1px solid var(--line);border-radius:8px;padding:8px;display:flex;gap:6px;align-items:flex-start;overflow-wrap:anywhere}
@media(max-width:610px){
 .feature-choices{grid-template-columns:1fr}
}
.insert-info{background:var(--blue-tint);padding:10px 13px;border-radius:8px;margin-bottom:12px;color:#253888;font-size:13px}

#feature-dialog,#extra-dialog{width:min(1000px,calc(100% - 32px));max-height:calc(100dvh - 32px)}
#features.feature-choices{display:block;max-height:54dvh;padding:0;border:1px solid var(--line);border-radius:8px}
.feature-choice{width:100%;background:var(--paper);color:var(--ink);text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:10px 12px;gap:10px;user-select:none}
.feature-choice:last-child{border-bottom:0}
.feature-choice:hover{background:#f5f7fd}
.picker-actions{display:flex;gap:8px;margin-bottom:10px}
.extra-help{margin-bottom:10px}
.extra-filters{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.extra-choices{max-height:55dvh;border:1px solid var(--line);border-radius:0 0 8px 8px;scrollbar-gutter:stable;user-select:none}
.extra-option,.extra-columns{width:100%;display:grid;grid-template-columns:20px minmax(72px,.8fr) minmax(80px,1fr) minmax(80px,1.4fr) minmax(0,3fr);gap:10px;align-items:start;text-align:left;padding:9px 10px;overflow-wrap:anywhere}
.extra-columns{border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;background:#edf1f8;font-size:13px;font-weight:650;overflow:hidden;scrollbar-gutter:stable}
.extra-option{border:0;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink)}
.extra-components{white-space:pre-line}
.extra-option:last-child{border-bottom:0}
.extra-option:hover{background:#f5f7fd}
.extra-option[aria-checked=true],.feature-choice[aria-checked=true]{background:var(--blue-tint)}
.range-check{border:1px solid #a3acc0;border-radius:4px;display:inline-grid;width:18px;height:18px;place-items:center;flex:none;color:transparent;font-size:12px}
[aria-checked=true] .range-check{color:white;background:var(--blue);border-color:var(--blue)}
#extra-count{margin-right:auto;color:var(--muted);font-size:13px}
#library th:nth-child(4){width:41%}
#library th:last-child{width:17%}
.number-guide{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px}
@media(max-width:610px){
  .extra-filters{grid-template-columns:1fr}
  .extra-option,.extra-columns{grid-template-columns:18px minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1.5fr);gap:5px;padding-inline:6px}
}

.library-insert-help{padding:0 18px 10px;font-size:13px}
#library .header-actions{flex-wrap:wrap}
.library-export-feedback{padding:0 18px 10px;font-size:13px}
.library-export-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.library-export-actions .button{padding:5px 9px;font-size:13px}
.library-export-feedback .text-button{white-space:normal;overflow-wrap:anywhere}

#plan table{min-width:1090px}
#plan th:nth-child(2){width:11%}
#plan th:nth-child(3){width:14%}
#plan th:nth-child(4){width:58%}
#plan .step-remark{padding:5px 6px;font-size:13px;min-height:32px;resize:vertical}
#plan .step-remark[aria-invalid=true]{border-color:#9c2138}

#library th:nth-child(2){width:21%}
#library th:nth-child(4){width:33%}
#library th:last-child{width:18%}
.delete-icon{border:0;background:transparent;color:#a73948;padding:4px;margin-left:9px;vertical-align:middle}
.delete-icon:hover{background:#fce8ec;border-radius:5px}
.delete-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;display:block}
#delete-dialog #confirm-delete{margin:0}
.export-actions{text-align:right;display:grid;justify-items:end;gap:4px}
#export-link{text-decoration:none;font-size:13px}
#plan .results{margin-top:14px}
#plan th:first-child{width:14%}
#plan th:nth-child(4){width:55%}
.test-list-date{margin-top:12px;max-width:200px}
.active-list-label{margin-top:10px;font-weight:650;color:#31438c}
@media(max-width:610px){.export-actions .header-actions{flex-wrap:wrap}}
.export-download{max-width:min(440px,100%);display:grid;justify-items:end;gap:4px}
.export-file-name,.export-file-status{font-size:13px;overflow-wrap:anywhere}
.export-file-name{color:#27376c}
.export-file-status{color:#087154}
#export-save-as{padding:5px 9px;font-size:13px}

/* Keep the main workspace and its columns proportional to the available window. */
body{grid-template-columns:clamp(175px,16vw,230px) minmax(0,1fr)}
main{max-width:none;padding-inline:clamp(16px,2.2vw,38px)}
.scope-grid{grid-template-columns:minmax(88px,.55fr) minmax(0,1.6fr) minmax(100px,1fr) minmax(245px,1.45fr);gap:12px}
.scope-grid .field,.meta-fields>label{min-width:0}
.scope-grid .field{grid-template-rows:auto 40px;line-height:1.35}
.scope-grid .segmented{height:100%}
.scope-grid .segmented button{padding-block:0}
.scope-grid select,.scope-grid input,.meta-fields input{min-width:0}
.list-name-field{margin-top:7px}
.report-meta{margin-top:14px;padding:15px 21px;border:1px solid var(--line)}
.meta-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:12px;margin-top:10px}
#return-to-saved{display:block;margin-bottom:7px}
#plan table{min-width:1010px}
#feature-dialog,#extra-dialog{width:min(1150px,calc(100% - 32px))}
.saved-table,.projects-table{table-layout:fixed}
.saved-table{min-width:1180px}
.saved-table th:nth-child(2){width:12%}
.saved-table th:nth-child(3){width:140px}
.saved-table th:nth-child(4){width:9%}
.saved-table th:nth-child(5){width:10%}
.saved-table th:nth-child(6),.saved-table th:nth-child(7){width:10%}
.saved-table th:nth-child(8){width:9%}
.saved-table th:nth-child(9){width:90px}
.saved-table th:last-child{width:154px}
.saved-table th,.saved-table th .sort-button{white-space:normal}
.saved-table :is(td,th),.projects-table :is(td,th){padding-block:9px;vertical-align:middle}
.saved-table :is(.saved-name,.saved-project,.saved-version,td:nth-child(3),td:nth-child(4)),.projects-table td:nth-child(3){white-space:normal;overflow-wrap:anywhere}
.saved-table .saved-name{font-family:inherit;font-weight:650}
.sort-button{background:none;border:0;padding:0;color:inherit;font-weight:700}
.sort-button span[aria-hidden="true"]{margin-inline-start:3px;color:#64739b}
.saved-table th [data-sort="productVersion"]{white-space:nowrap}
:is(.library-row-actions,.saved-row-actions){display:flex;align-items:center;gap:8px;white-space:nowrap}
:is(.library-row-actions,.saved-row-actions) button{flex:none}
:is(.library-row-actions,.saved-row-actions) .text-button{font-size:13px;font-weight:650;line-height:1.3}
:is(.library-row-actions,.saved-row-actions) .delete-icon{margin:0}
.projects-table{min-width:0}
.projects-table :is(th,td):first-child{width:38px;text-align:center;padding-inline:8px}
.projects-table th{white-space:normal}
.projects-table th:nth-child(2){width:clamp(68px,12vw,105px)}
.projects-table th:last-child{width:clamp(105px,24vw,170px)}
#project-delete-items{max-height:35vh;overflow:auto;overflow-wrap:anywhere}
.project-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:2px 9px}
.project-row-actions .text-button{font-size:13px}
.project-row-actions .project-delete-button{color:#a73948}
#plan .page-header .button,#projects .page-header .button,#saved .page-header .button,#issues .page-header .button{font-size:13px;padding:7px 10px}
.issues-table{table-layout:fixed;min-width:600px}
.issues-table th:nth-child(1){width:120px}
.issues-table th:nth-child(2){width:18%}
.issues-table th:nth-child(3),.issues-table th:nth-child(4){width:auto}
.issues-table td{vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}
.issues-table .issue-link{padding:0;text-align:left;white-space:inherit;overflow-wrap:inherit;max-width:100%;font-weight:650}
.issue-link:hover{text-decoration:underline}
#issue-dialog{width:min(760px,calc(100% - 26px))}
.issue-description{display:grid;gap:12px}
.library-selection{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0 22px 8px}
.library-selection label,.library-case-select{display:flex;align-items:center;gap:6px}
.library-selection output{color:var(--muted);font-size:13px}
.library-case-select{font-weight:inherit}
#library th:first-child{width:16%}
.case-tag{display:inline-block;max-width:100%;padding:2px 7px;border-radius:6px;background:var(--blue-tint);color:#283eb5;font-size:12px;font-weight:650;overflow-wrap:anywhere}
.release-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(120px,.7fr) auto;align-items:end;gap:12px;padding:13px 16px;margin-bottom:12px}
.release-filters output{align-self:center;color:var(--muted);font-size:13px;white-space:nowrap}
.release-filters input,.release-filters select{min-width:0}
.release-records{display:grid;gap:6px}
.release-summary{cursor:pointer;padding:12px 16px;overflow-wrap:anywhere}
.release-summary-line{display:inline-grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,1fr) auto auto;align-items:baseline;gap:6px 14px;width:calc(100% - 20px);vertical-align:middle}
.release-summary-line>:not(strong){color:var(--muted);font-size:13px}
.release-summary-line time{white-space:nowrap;font-variant-numeric:tabular-nums}
.release-body{display:grid;justify-items:start;gap:12px;border-top:1px solid var(--line);padding:16px 18px}
.release-empty{padding:16px 18px;color:var(--muted)}
.release-actions{flex-wrap:wrap}
.release-download{color:#2b41b6;white-space:normal;overflow-wrap:anywhere;text-align:start}
.release-archive-changes{width:100%;display:grid;gap:15px;padding-inline-start:22px;margin:0}
.release-archive-changes h3{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}
.release-test-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:8px}
.release-test-groups>div{background:#f5f7fc;border-radius:7px;padding:8px 10px;overflow-wrap:anywhere}
.release-test-groups ul{padding-inline-start:18px;margin:4px 0;font-size:13px}
.release-test-groups>p{color:var(--muted);font-size:13px}
#release-dialog,#release-tests-dialog{width:min(900px,calc(100% - 28px))}
#release-changes{display:grid;gap:10px}
.release-change{display:grid;gap:8px;border:1px solid var(--line);border-radius:9px;padding:9px 12px}
.release-change legend{margin:0;padding-inline:4px}
.release-change>.button{justify-self:start}
.release-change-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.release-picker-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.release-picker-tools .field{flex:1;min-width:min(200px,100%)}
.release-test-choices{max-height:46vh;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:12px}
#release-test-rows>p{padding:12px}
.release-test-columns,.release-test-choice{
  display:grid;grid-template-columns:16px clamp(70px,19%,145px) minmax(0,1fr) minmax(0,1.7fr);
  gap:8px;align-items:center;padding:9px;border-bottom:1px solid var(--line);
}
.release-test-columns{position:sticky;top:0;z-index:1;background:#edf1f8;font-size:13px;font-weight:700;color:#414f66}
.release-test-columns>span:first-child{grid-column:2}
.release-test-choice{cursor:pointer}
.release-test-choice input[type=checkbox]{margin:0}
.release-test-choice:last-child{border:0}
.release-test-choice:has(:checked){background:var(--blue-tint)}
.release-test-choice>:is(code,span){overflow-wrap:anywhere}
@media(max-width:950px){.release-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.release-summary-line{display:inline-flex;flex-wrap:wrap}.release-summary-line strong{flex:0 0 100%}}
@media(max-width:1000px){.scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-grid .mode-field{grid-column:1/-1}.scope-grid .segmented{grid-template-columns:repeat(4,minmax(0,1fr))}.report-meta{padding:13px}.meta-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

#plan .scope-grid{gap:10px;margin-top:10px}
#plan .scope-grid .field{grid-template-rows:auto 35px;gap:5px}
#plan .scope-grid :is(input,select){padding-block:5px}
#plan .segmented{font-size:13px}
.tag-control-row{display:flex;align-items:flex-start;gap:7px;min-width:0}
.tag-control-row button{flex:none;white-space:nowrap}
.selected-tag-list{display:flex;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:4px;min-width:0;padding-block:3px}
.tag-choices,#managed-tags{margin:10px 0;max-height:45vh;overflow:auto}
.tag-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:8px}
.tag-choices label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:7px;overflow-wrap:anywhere}
.tag-choices label:has(:checked){background:var(--blue-tint)}
.manage-tag-field{display:flex;align-items:center;gap:8px}
.manage-tag-field input{min-width:0}
.manage-tag-field button{white-space:nowrap;height:40px;padding-block:0}
#manage-tags-dialog .manage-tag-field input,#project-dialog .manage-tag-field input{height:40px;margin:0}
#manage-tag-label{display:block;margin-bottom:5px}
#managed-tags{list-style:none;padding:0}
#managed-tags li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
#project-dialog{width:min(940px,calc(100% - 26px))}
.project-option-groups{display:grid;gap:14px;margin:12px 0}
.project-option-groups fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.project-option-groups .manage-tag-field select{min-width:0;height:40px;padding-block:5px}
.project-option-groups .button{flex:none;min-width:65px;font-size:13px;padding-inline:9px;margin:0}
.project-option-editor{grid-column:1/-1;min-width:0}
.project-option-editor summary{cursor:pointer;width:fit-content;font-weight:600}
.project-option-editor .table-wrap{margin-top:8px;max-height:264px;overflow:auto;border:1px solid var(--line);border-radius:8px}
.project-option-editor table{table-layout:fixed;min-width:0}
.project-option-editor th,.project-option-editor td{padding:6px 10px;vertical-align:middle;overflow-wrap:anywhere}
.project-option-editor th{position:sticky;top:0}
.project-option-editor input{width:100%;min-width:0;scroll-margin-top:40px}
.project-option-editor .module-id-cell{width:102px}
#open-project-module-editor{grid-column:1/-1;justify-self:start}
#project-module-dialog{width:min(1450px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:hidden}
#project-module-dialog[open],#project-module-editor-content,#project-feature-editor{display:flex;flex-direction:column;min-height:0}
#project-module-dialog .dialog-heading,#project-module-dialog .dialog-actions{flex:none}
#project-module-dialog .table-wrap{max-height:none;min-height:0;margin-top:0}
#project-module-dialog th:first-child{width:25%}
#project-module-dialog th:last-child{width:32%}
#project-module-dialog .module-submodule-editor{display:block;min-height:52px;margin:0;resize:vertical}
#project-submodule-hint{margin:0 0 12px;color:var(--muted);font-size:14px}
#project-module-dialog .error{margin:0 0 8px}
@media(max-width:560px){
  .project-option-groups fieldset{grid-template-columns:minmax(0,1fr);gap:8px}
  .project-option-editor .module-id-cell{width:76px}
  #project-module-dialog{padding:14px}
  #project-module-dialog th,#project-module-dialog td{padding-inline:6px}
}
#plan :is(.plan-tag-field,.plan-unit-field){grid-template-rows:auto minmax(35px,auto)}
#plan .plan-tag-field button{min-height:35px;padding-block:4px}
#plan-unit-choices{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px 10px;padding-top:5px}
#plan-unit-choices label{display:flex;align-items:center;gap:3px;min-width:0}
#plan-unit-choices label span{overflow-wrap:anywhere}
.plan-unit-empty{font-size:13px;color:var(--muted)}
#plan table{min-width:1130px}
#library table{min-width:1150px}
#plan th:first-child{width:130px}
#library th:first-child{width:150px}
#plan td:first-child,.library-case-select span{white-space:normal;overflow-wrap:anywhere}
#plan :is(th,td):first-child,#library :is(th,td):first-child{padding-inline:12px}
#plan th:nth-child(2){width:9%}
#plan th:nth-child(3){width:12.5%}
#plan th:nth-child(4){width:16%}
#plan th:last-child{width:58px}
#library th:nth-child(2){width:8%}
#library th:nth-child(3){width:11.5%}
#library th:nth-child(4){width:14.5%}
#library th:nth-child(6){width:9.5%}
#library th:last-child{width:182px}
.library-case-tags{display:flex;flex-wrap:wrap;gap:4px}
#plan .case-category-cell,#plan .case-feature-cell,#plan td:nth-child(4),
#library .case-category-cell,#library .case-feature-cell,#library td:nth-child(4){
  white-space:normal;overflow-wrap:anywhere;
}
.preview-filters{display:flex;flex-wrap:wrap;align-items:end;gap:9px 16px;padding:0 21px 12px}
.preview-filters .field{width:min(260px,100%);min-width:0}
.preview-filters select{min-width:0;padding-block:6px}
.test-summary{margin:0 21px 14px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#f7f8fb}
.test-summary-header,.test-summary-counts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
.test-summary-header h3{margin:0;font-size:14px}
.test-summary-header p,.test-summary-counts{font-size:13px}
.test-summary-counts{margin:7px 0 0;gap:5px 9px}
.test-summary-counts div{display:flex;align-items:baseline;gap:8px;padding:3px 8px;border-radius:5px;background:#e9edf4;color:#39465b}
.test-summary-counts dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.test-summary-counts [data-status="pass"]{background:#e1f3e9;color:#17643d}
.test-summary-counts [data-status="fail"]{background:#fceaea;color:#a1222f}
#case-dialog{
  --case-padding:24px;
  --case-control-height:38px;
  --case-picker-width:122px;
  --case-option-width:156px;
  width:min(1120px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:var(--case-padding);
}
.case-dialog-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.case-number{border-radius:6px;background:#f4f6fa;color:var(--muted);padding:3px 8px;font-size:12px}
.case-number output{margin-inline-start:4px;color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.case-fields{
  display:grid;align-items:start;gap:14px 16px;
  grid-template-columns:minmax(230px,1.25fr) minmax(145px,.9fr) 160px minmax(195px,1.1fr);
  grid-template-areas:"feature submodule level units" "title title version tags";
}
.case-fields>*,.case-fields :is(input,select){min-width:0}
.case-fields>*,.case-feature-fields>label{display:block;font-size:13px;font-weight:650}
.case-level-field{grid-area:level}
.case-feature-fields{grid-area:feature}
.case-submodule-field{grid-area:submodule}
.case-title-field{grid-area:title}
.case-category-field{grid-area:units}
.case-tags-field{grid-area:tags}
.case-version-field{grid-area:version}
.case-fields select{display:block;margin-top:5px}
.case-fields :is(input,select),#case-dialog .button{
  min-height:var(--case-control-height);padding-block:5px;
}
.case-fields :is(input,select,button){height:var(--case-control-height)}
#case-dialog .button{font-size:13px;white-space:nowrap}
.feature-input-row{
  display:grid;grid-template-columns:minmax(0,1fr) var(--case-picker-width);gap:8px;margin-top:5px;
}
.feature-input-row :is(#case-feature,#case-feature-new){grid-column:1;grid-row:1;margin:0}
#case-add-feature{grid-column:2;grid-row:1}
.case-picker-row{
  display:grid;grid-template-columns:minmax(0,var(--case-option-width)) minmax(0,1fr);align-items:start;gap:8px;margin-top:5px;
}
.case-picker-row .selected-tag-list{min-height:var(--case-control-height);align-content:center;padding-block:4px}
#case-dialog .insert-info{margin:14px 0 0}
#case-dialog .steps-heading{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}
#case-dialog .step-row{padding:10px 12px;column-gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
#case-dialog .step-row textarea{min-height:46px;padding:5px 8px;line-height:1.35}
#case-dialog .dialog-actions{
  position:sticky;bottom:calc(-1 * var(--case-padding));z-index:1;
  flex-wrap:wrap;margin-inline:calc(-1 * var(--case-padding));padding:10px var(--case-padding);
  background:var(--paper);border-top:1px solid var(--line);
}
@media(max-width:880px){
  .case-fields{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:"feature submodule" "level units" "title title" "version tags";
  }
}
@media(max-width:560px){
  #case-dialog{--case-padding:14px;width:calc(100% - 20px)}
  #case-dialog .dialog-heading{flex-wrap:wrap}
  #case-dialog .step-row{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){
  .case-fields{grid-template-columns:minmax(0,1fr);grid-template-areas:"feature" "submodule" "level" "units" "title" "version" "tags"}
}
.issue-attachment-field{margin-top:14px}
.attachment-list{display:grid;gap:8px;padding:0;list-style:none}
.attachment-list li{padding:8px 10px;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}
#issue-attachment-draft li{display:flex;justify-content:space-between;gap:10px}
.issue-attachments-button{display:block;margin-top:6px}
.attachment-list img{display:block;max-width:100%;max-height:55vh;object-fit:contain;margin:0 auto 8px}
#issue-attachments-dialog{width:min(820px,calc(100% - 26px))}
.library-selection .button{min-height:30px;padding:4px 9px;font-size:13px}
#renumber-status:empty{display:none}

#case-import-dialog{width:min(690px,calc(100% - 26px))}
#import-scope{font-weight:700;color:var(--ink)}
.import-help{margin:4px 0 8px;font-size:13px}
.import-fields{margin-top:12px}
#import-preview{max-height:36vh;overflow:auto;padding-inline-start:22px;color:var(--muted);margin-block:8px}
#import-preview:empty{display:none}
#workspace-backup .dialog-actions{flex-wrap:wrap}
#import-duplicates{margin-block:12px;padding:10px 12px;border:1px solid var(--line);border-radius:8px}
#import-duplicates h3{margin:0;font-size:15px}
#import-duplicate-rows{max-height:26vh;overflow:auto;margin:6px 0 0;padding-inline-start:22px;overflow-wrap:anywhere}
#import-duplicate-rows li+li{margin-top:5px}

.language-control{grid-column:1/-1;justify-self:start;width:100px;margin-inline-start:12px;font-size:13px}
@media(max-width:610px){.language-control{margin-inline-start:8px}}
.version-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.version-fields input::placeholder{font-size:13px}
#release-dialog .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.3fr)}
@media(max-width:560px){
  #release-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #release-dialog .form-grid>.field:has(.version-fields){grid-column:1/-1}
}
#release-dialog .version-fields input{margin:0}
#release-dialog .form-grid>.field{grid-template-rows:auto 40px}
#release-dialog .form-grid>.field :is(select,input){min-width:0;height:40px}
@media(min-width:1001px){
  #plan .scope-grid{
    grid-template-columns:minmax(84px,.55fr) minmax(155px,1.45fr) minmax(92px,.7fr) minmax(115px,1fr) minmax(115px,1fr);
  }
  #plan .scope-filters .mode-field{grid-column:1/span 2}
  #plan .scope-grid>.field:has(.version-fields){
    grid-column:4/6;grid-template-columns:subgrid;column-gap:normal;
  }
  #plan .scope-grid>.field:has(.version-fields)>*{grid-column:1/-1}
  #plan .scope-grid .version-fields{grid-template-columns:subgrid;column-gap:normal}
}
@media(max-width:1000px){
  #plan .scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #plan .scope-filters .mode-field{grid-column:1/-1}
}
@media(max-width:470px){
  #plan .scope-grid:not(.scope-filters)>label:nth-child(2){grid-row:1;grid-column:1/-1}
  #plan .scope-grid>:is(.scope-version-field,.scope-level-field,.field:has(.version-fields)){grid-column:1/-1}
}

.submodule-section{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}
.submodule-section h3{margin:0 0 4px;font-size:16px}
.submodule-section p{margin:0 0 12px;color:var(--muted);font-size:14px}
#feature-submodule-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px;max-height:24dvh;overflow:auto}
.submodule-group{display:flex;flex-wrap:wrap;gap:6px 14px;padding:6px 10px 9px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}
.submodule-group legend{margin:0;padding:0 5px;color:var(--ink);font-weight:650;overflow-wrap:anywhere}
.submodule-group-options{display:flex;flex-wrap:wrap;gap:6px 14px}
.submodule-group label{display:flex;align-items:flex-start;min-width:0;gap:4px;cursor:pointer;overflow-wrap:anywhere}
#feature-form:has(#feature-submodules:not([hidden])) #features{max-height:34dvh}
#extra-submodule-field{margin:0 0 12px}
td .submodule-name{display:block;color:var(--muted);font-size:13px;margin-top:3px}

#workspace-gate{display:grid;place-items:center;grid-column:1/-1;max-width:none;width:100%;padding:24px;min-height:100dvh}
.workspace-loading>aside,.workspace-loading>main:not(#workspace-gate){display:none}
.workspace-loading:has(.workspace-cloud-entry){background:radial-gradient(ellipse at 15% 20%,#fff9f1,transparent 54%),#f2efeb}
.workspace-entry{width:min(100%,885px)}
.workspace-entry-art{display:none}
.workspace-entry-content{width:100%;text-align:center}
.workspace-entry-content h1{font-size:clamp(29px,4vw,44px);letter-spacing:-.055em}
#workspace-gate-status:not(:empty){margin-top:14px;overflow-wrap:anywhere}
.workspace-cloud-entry .workspace-entry{
  display:grid;grid-template-columns:minmax(0, .93fr) minmax(0, 1.07fr);
  background:#fffdfa;border:1px solid #e8ded4;border-radius:26px;overflow:hidden;
  box-shadow:0 26px 76px #42302820,0 4px 14px #4230280c;
}
.workspace-cloud-entry .workspace-entry-art{
  display:grid;place-items:center;isolation:isolate;position:relative;overflow:hidden;min-height:450px;
  background:radial-gradient(ellipse at 49% 54%,#49413b,#302e2d 57%,#232323 96%);
}
.workspace-entry-art::before,.workspace-entry-art::after{
  content:"";position:absolute;z-index:-1;aspect-ratio:1;width:92%;border:1px solid #f1a66430;border-radius:50%;
}
.workspace-entry-art::after{width:125%;border-color:#f1a66419}
.workspace-entry-art img{display:block;width:min(62%,235px);height:auto;filter:drop-shadow(0 14px 24px #15121080)}
.workspace-cloud-entry .workspace-entry-content{
  display:flex;flex-direction:column;justify-content:center;text-align:start;color:#25221f;
  padding:35px clamp(28px,5.2vw,60px) 42px;
}
.entry-language{align-self:flex-end;width:86px;margin-bottom:19px;background:#f2ece5}
.entry-language button{font-size:12px;color:#695b50}
.entry-language button[aria-pressed=true]{border-color:#e7d9ca;color:#814719}
.entry-version{display:block;margin-top:5px;color:#6d6157;font-size:12px}
.entry-description{color:#6d6157;margin-bottom:5px}
.cloud-form,#cloud-connection{display:grid;gap:16px}
.cloud-form{margin-top:7px}
.cloud-form .field{font-size:14px}
.cloud-form input:not([type=checkbox]){
  min-height:46px;padding:10px 12px;border-color:#ded4cb;border-radius:9px;color:#25221f;background:#fff;
}
.entry-password{position:relative}
.entry-password input:not([type=checkbox]){padding-inline-end:88px}
.entry-password button{
  position:absolute;inset-inline-end:5px;top:5px;bottom:5px;padding:0 9px;
  border:0;border-radius:6px;color:#724520;background:#fff;font-size:13px;font-weight:650;
}
.entry-password button:hover,.entry-password button[aria-pressed=true]{background:#f6ede4}
.entry-remember{display:flex;align-items:center;gap:8px;color:#6d5443;font-size:14px}
.entry-remember input{width:16px;height:16px;margin:0;accent-color:#924b1d}
.entry-submit{
  min-height:48px;margin-top:4px;padding:10px 14px;border:0;border-radius:9px;color:#241a12;
  background:#f4a362;font-weight:750;
}
.entry-submit:hover:not(:disabled){background:#f7b47d}
.workspace-cloud-entry :is(button,input,a):focus-visible{outline:3px solid #a65b27;outline-offset:3px}
.workspace-cloud-entry #workspace-gate-status{font-size:14px;color:#80512f}
.entry-back{margin-top:20px;align-self:flex-start;color:#705440;text-underline-offset:3px;font-size:14px}
@media(max-width:640px){
  #workspace-gate{padding:16px}
  .workspace-cloud-entry .workspace-entry{grid-template-columns:minmax(0,1fr);width:min(100%,440px)}
  .workspace-cloud-entry .workspace-entry-art{min-height:146px}
  .workspace-entry-art img{width:113px}
  .workspace-entry-art::before{width:180px}
  .workspace-entry-art::after{width:235px}
  .workspace-cloud-entry .workspace-entry-content{padding:20px 24px 28px}
  .entry-language{margin-bottom:9px}
}
.cloud-controls{display:grid;gap:4px;font-size:13px;color:#d7deee}
#cloud-open{width:auto;text-decoration:none}
.backup-restore{display:grid;gap:8px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px}
.backup-restore h3{margin:0;font-size:15px}
.backup-restore button{justify-self:start}
