/* ABB Flow: shared Log-inspired screen design. Print remains independent. */
@media screen {
 #projectView .project-heading > h1[tabindex="-1"]:focus{outline:none}
 body:has(#homeView[hidden]){background:linear-gradient(180deg,#e2f4fb 0,#f5f9fb 800px);color:#203d53;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
 #flowHeader{background:linear-gradient(105deg,#203d53,#294e68);padding:20px max(24px,calc((100vw - 1320px)/2));box-shadow:0 3px 10px #203d5326}
 #flowHeader .flow-wordmark{font:800 36px/1.12 Arial,sans-serif;letter-spacing:-.6px;color:#fff}
 #flowHeader .flow-brand small{text-transform:uppercase;letter-spacing:1.2px;font-size:13px;color:#d4eaf5}
 #flowHeader .flow-version{font-size:14px;color:white}
 #projectView,#basicsView,main#measureView{max-width:1320px;padding:26px 24px;gap:16px}
 #projectView{display:flex;flex-direction:column}
 #projectView h1,#basicsView h1{font-size:28px;font-weight:700;letter-spacing:-.6px;margin:0 0 8px}
 #projectView p{margin:6px 0;color:#516b7d;font-size:13px;line-height:1.5}
 .project-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:2px}
 body:has(#homeView[hidden]) button{border-radius:7px;background:#fff;border:1px solid #c3d7e5;color:#203d53;font-size:14px;font-weight:650;min-height:42px;padding:10px 14px;box-shadow:none}
 body:has(#homeView[hidden]) button.primary{background:#294e68;border-color:#294e68;color:#fff;box-shadow:0 2px 4px #203d5318}
 body:has(#homeView[hidden]) button:hover{border-color:#739db7}
 body:has(#homeView[hidden]) button:disabled{opacity:.5;cursor:default}
 #projectView section{border:1px solid #c8dbe6;border-radius:10px;background:#f8fcfe;padding:12px}
 .project-sync{display:flex;align-items:center;justify-content:space-between;gap:18px}
 .project-sync strong{font-size:15px}.project-sync .row{flex-shrink:0}.project-sync .row>*{flex:initial}
 .project-filters{display:grid;grid-template-columns:2.2fr 1fr 1fr;gap:12px}
 .project-filters label,#basics label{font-size:11px;font-weight:750;letter-spacing:.6px;text-transform:uppercase;color:#486f88;margin:0;align-content:start}
 body:has(#homeView[hidden]) :is(input,select,textarea){background:#fff;border:1px solid #c8dfed;border-radius:8px;color:#203d53;font-family:inherit;font-size:15px;font-weight:400;letter-spacing:normal;text-transform:none;min-height:42px;padding:10px;width:100%}
 body:has(#homeView[hidden]) :is(input,select,textarea):focus-visible{outline:2px solid #258cb5;outline-offset:2px}
 #projectRows{max-height:none;overflow:visible;display:grid;gap:7px;margin-top:8px}
 #projectRows article.flow-project-card{display:flex;align-items:center;gap:15px;padding:16px 14px;background:#fff;border:1px solid #c8d7e1;border-radius:10px;box-shadow:0 3px 14px #203d5309}
 .project-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;border:1px solid #b5d9e5;background:linear-gradient(#f5fcff,#dfedf3);color:#1684b1;font-size:32px}
 .project-description{min-width:0;flex:1}.project-description strong{font:600 20px/1.25 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
 .project-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
 .project-stage,.project-card-actions button{font-size:11px!important;border-radius:7px!important;min-height:28px!important;padding:6px 10px!important;line-height:1.2}
 .project-stage{background:#edf5fa;border:1px solid #bdd5e4;color:#365e78;font-weight:700;white-space:nowrap}
 .project-stage.finished{background:#338953;border-color:#2a7144;color:#fff}
 body:has(#homeView[hidden]) .project-card-actions button{background:linear-gradient(#0e96c4,#007fac);border-color:#007ca9;color:#fff;box-shadow:0 1px 3px #203d5325}
 .project-empty{padding:22px;background:#fff;border:1px solid #c8d7e1;border-radius:10px}
 #basicsView>section{padding:0;background:transparent;border:0;box-shadow:none}
 #basics{display:block;margin-top:20px}
 .flow-form-card{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 12px;border:1px solid #c8d7e1;border-radius:10px;background:#fff;padding:22px 18px 18px;margin:0 0 18px;min-width:0;box-shadow:0 3px 14px #203d5310}
 .flow-form-card legend{float:left;width:100%;grid-column:1/-1;font-size:21px;font-weight:700;letter-spacing:-.3px;margin-bottom:12px;padding:0;color:#203d53}
 .flow-form-card>.row{display:contents}.flow-form-card:first-child label{grid-column:span 2}
 #basics .catalog{margin:0;align-self:end}#basics .catalog summary{background:#fff;border-color:#c8dfed;min-height:42px;font-size:14px}
 #basics .catalog-options{position:absolute;z-index:5;left:0;right:0;box-shadow:0 8px 24px #203d5320}
 #basics .form-actions{justify-content:flex-end;margin:12px 0}#basics .form-actions>*{flex:initial}
 main#measureView{grid-template-columns:minmax(300px,.85fr) minmax(0,1.65fr);align-items:start}
 #measureView>section{border:1px solid #c8d7e1;border-radius:10px;box-shadow:0 3px 14px #203d5310;padding:20px}
 #measureView h1,#measureView h2{font-size:21px;color:#203d53;font-weight:700}
 #measureView label{font-size:13px;color:#486f88}
 dialog{border:1px solid #c8d7e1;border-radius:12px;color:#203d53;background:#fff;box-shadow:0 18px 60px #203d5340}
 .page-copyright{border-top:1px solid #cadfe9;max-width:1272px;width:calc(100% - 48px);margin:24px auto 0;padding:20px;color:#527286}
 body:has(#homeView:not([hidden])) .page-copyright{border:0}
 @media(max-width:850px){.flow-form-card{grid-template-columns:repeat(2,minmax(0,1fr))}.project-sync{align-items:flex-start;flex-direction:column}.project-card-actions{justify-content:flex-start}.flow-project-card{flex-wrap:wrap}.project-filters{grid-template-columns:2fr 1fr}.project-filters label:first-child{grid-column:1/-1}main#measureView{grid-template-columns:1fr}}
 @media(max-width:540px){#flowHeader{padding:16px}#flowHeader .flow-wordmark{font-size:29px}#flowHeader .flow-brand small{font-size:10px;letter-spacing:.6px}#projectView,#basicsView,main#measureView{padding:16px 12px}#projectView h1,#basicsView h1{font-size:23px}.project-heading{align-items:flex-start;flex-direction:column;gap:10px}.flow-form-card{grid-template-columns:1fr;padding:16px 12px}.flow-form-card:first-child label{grid-column:auto}.flow-form-card legend{font-size:19px}.project-description strong{font-size:18px}.project-card-actions{width:100%;padding-left:59px}.project-sync .row{flex-wrap:wrap;flex-shrink:1}#basics .form-actions>*{flex:1}.project-symbol{width:40px;height:40px}.page-copyright{font-size:11px}}
}
@media screen {
 #projectRows .flow-project-card{cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}
 #projectRows .flow-project-card:hover,#projectRows .flow-project-card:focus-visible{border-color:#75bfdf;transform:translateY(-1px)}
 body:has(#homeView[hidden]) button{transition:transform .15s,box-shadow .15s,border-color .15s}
 body:has(#homeView[hidden]) button:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 1px 2px #15344a30}
 .flow-picker{position:relative;display:flex;min-width:0;text-transform:none;letter-spacing:normal}
 .flow-picker input{padding-right:42px!important}
 body:has(#homeView[hidden]) .flow-picker-toggle{position:absolute;right:1px;top:1px;bottom:1px;min-height:0;width:36px;padding:0;border:0;background:transparent;color:#486f88;font-size:20px}
 .flow-picker-options{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:240px;overflow-y:auto;overscroll-behavior:contain;background:white;padding:5px;border:1px solid #c8d7e1;border-radius:9px;box-shadow:0 8px 24px #203d5326;z-index:20}
 body:has(#homeView[hidden]) .flow-picker-options button{display:block;width:100%;text-align:left;border:0;min-height:36px;padding:8px;font-size:14px;font-weight:400}
 body:has(#homeView[hidden]) .flow-picker-options button:hover,body:has(#homeView[hidden]) .flow-picker-options button:focus-visible{background:#e3f1f8}
 .flow-meter-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.flow-meter-pair>span{position:relative;min-width:0}.flow-meter-pair input{padding-right:30px!important}.flow-meter-pair small{position:absolute;right:10px;top:14px;font-size:12px;text-transform:none;pointer-events:none}
 #basics .catalog-options{max-height:240px;overflow:auto}
 @media(prefers-reduced-motion:reduce){#projectRows .flow-project-card,body:has(#homeView[hidden]) button{transition:none}}
}
/* Match the compact Log project-list scale and focus feedback. */
@media screen {
 #projectRows article.flow-project-card{padding:9px 11px;gap:10px;box-shadow:0 3px 12px #0a64800d}
 .project-description strong{font-size:15px;font-weight:400}
 #projectRows .project-description p{font-size:10.5px;line-height:1.35;margin:4px 0 0}
 .project-symbol{width:38px;height:38px;border-radius:11px;font-size:28px}
 .project-card-actions{gap:6px}
 .project-stage,.project-card-actions button{font-size:9px!important;min-height:21px!important;padding:4px 7px!important;line-height:11px}
 #basics input:focus,#measureView input:focus{border-color:#39a8d9;box-shadow:0 0 0 3px #39a8d926}
 body:has(#homeView[hidden]) :is(input,select,textarea):focus-visible{outline:none;border-color:#39a8d9;box-shadow:0 0 0 3px #39a8d926}
 @media(max-width:540px){.project-description strong{font-size:17px}#projectRows .project-description p{font-size:12px}.project-card-actions{padding-left:48px}.project-card-actions button{min-height:36px!important;font-size:12px!important}}
}
/* Project overview measurements taken from ABB Log desktop-projects.css. */
@media screen {
 .project-top-actions{display:flex;align-items:end;gap:6px;flex-wrap:wrap}
 .sort-control{display:flex;flex-direction:column;gap:3px;min-width:178px;margin:0;color:#52778b;font-size:8px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
 .project-filters{grid-template-columns:2.3fr 1fr 1fr}
 .project-result-line{display:flex;align-items:center;justify-content:space-between;min-height:16px;color:#52778b;font-size:10px}
 body:has(#homeView[hidden]) #resetFilters{padding:0;min-height:20px;border:0;background:transparent;font-size:10px;color:#007cb0}
 #projectRows{margin-top:0;gap:5px}
 @media(min-width:720px){
  body:has(#projectView:not([hidden])) #flowHeader{padding-top:10px;padding-bottom:10px}
  #projectView{padding-top:12px;padding-bottom:14px;gap:8px}
  #projectView .project-heading{margin:0 2px 2px;gap:12px;align-items:end}
  #projectView h1{font-size:23px;line-height:1.15;letter-spacing:-.4px;margin:0 0 5px}
  #projectView .project-top-actions button,#projectView .project-sync button{height:32px;min-height:32px;padding:6px 8px;font-size:11.5px;font-weight:600;line-height:18px;border-radius:7px;white-space:nowrap}
  #projectView #projectSort{height:32px;min-height:32px;padding:5px 30px 5px 9px;font-size:11.5px;font-weight:600;border-radius:7px}
  #projectView .project-sync{padding:9px 11px;gap:14px;border-radius:9px}
  #projectView .project-sync strong{font-size:12px;font-weight:650;line-height:1.3}
  #projectView #projectStatus{font-size:10px;line-height:1.35;margin:2px 0 0}
  #projectView .project-filters{padding:8px 10px;gap:8px;border-radius:9px}
  #projectView .project-filters label{font-size:8px;line-height:1.15;gap:3px}
  #projectView .project-filters input,#projectView .project-filters select{height:30px;min-height:30px;padding:5px 8px;font-size:12px;border-radius:6px}
 }
 @media(max-width:719px){.project-top-actions{width:100%;justify-content:space-between}.project-filters{grid-template-columns:1fr 1fr}.project-filters label:first-child{grid-column:1/-1}}
}
/* Anchor work screens below the header: legacy main{margin:auto} distributed
   spare viewport height above and below short project lists in the flex body. */
@media screen {
 body > main:is(#projectView,#basicsView,#measureView){margin-block:0;flex:0 0 auto}
 #projectRows article.flow-project-card:hover,#projectRows article.flow-project-card:focus-visible{border-color:#75bfdf;transform:translateY(-1px)}
 #projectView .project-result-line{margin:0;min-height:12px;line-height:12px}
}

/* Keep the desktop project overview in the same grid as the Log reference. */
@media screen {
 #flowHeader{padding:10px max(18px,calc((100% - 1320px)/2));gap:18px;background:var(--flow-cover-background)}
 #flowHeader .flow-wordmark{font:800 29px/1.12 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
 #flowHeader .flow-brand small{font-size:11px;line-height:1.3;margin-top:4px}
 #flowHeader .flow-version{font-size:12px;flex:none;margin-left:auto}
 #headerLinks{display:flex;justify-content:center;flex-wrap:wrap;gap:2px 9px;margin-inline:auto;min-width:0;white-space:normal}
 body:has(#homeView[hidden]) #headerLinks button{min-height:24px;padding:2px 3px;border:0;background:transparent;color:#d8edf7;font-size:11px;font-weight:550;white-space:nowrap}
 body:has(#homeView[hidden]) #headerLinks button:hover{color:#fff;text-decoration:underline}
 #projectView .project-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px 12px;margin:0 0 2px}
 #projectView .project-top-actions{display:grid;grid-template-columns:178px 64px repeat(3,128px);align-items:end;justify-content:end;gap:6px}
 #projectView .project-top-actions>button{width:128px}
 #projectView .flow-nav-history{display:flex;gap:4px}
 body:has(#homeView[hidden]) #projectView .flow-nav-history button{width:30px;padding-inline:0}
 body:has(#homeView[hidden]) #projectView :is(.project-top-actions,.project-sync) button{height:32px;min-height:32px;padding-block:4px;font:600 11.5px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;white-space:nowrap}
 #projectView .project-sync{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:9px 11px;background:#f5fafc}
 #projectView .project-sync>div:first-child{min-width:0;overflow-wrap:anywhere}
 #projectView .project-sync .row{gap:6px;justify-content:flex-end}
 #projectView #refreshProjects{width:128px}
 #projectView :is(#projectConnection,#openProjectSheet){width:144px}
 #projectView .sort-control{min-width:0;width:100%}
 body:has(#homeView[hidden]) #projectView #projectSort{height:32px;min-height:32px;font-size:11.5px;font-weight:600;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%235a7585' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center/12px 12px no-repeat;padding:4px 27px 4px 9px}
 #projectView .project-top-actions .sort-control>span{font:800 8px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
 #projectView .project-result-line:not(.filter-active){display:none}
 .flow-project-year{display:flex;align-items:center;gap:10px;margin:8px 2px 5px;color:#4e7488;font-size:10px;letter-spacing:.08em;font-weight:800}
 .flow-project-year::after{content:"";height:1px;background:#b8d1df;flex:1}
 #projectRows article.flow-project-card{min-height:72px;gap:14px}
 .flow-project-kind{font-size:11px;font-weight:750;color:#29647e}
 .project-symbol{color:#147eaa;line-height:0}
 .project-symbol svg{display:block;width:22px;height:22px}
 .project-symbol[data-symbol="submersible"]{background:linear-gradient(#f4fbf7,#deeee5);border-color:#bddbcc;color:#256e58}
 .project-symbol[data-symbol="surface"]{background:linear-gradient(#f3faff,#dcecf6);border-color:#bbd4e4;color:#28688b}
 @media(max-width:1000px){
  #flowHeader{display:grid;grid-template-columns:minmax(0,1fr) auto}
  #flowHeader .flow-version{grid-column:2;grid-row:1}
  #headerLinks{grid-column:1/-1;justify-content:flex-start;margin:0}
  #projectView .project-heading{grid-template-columns:minmax(0,1fr)}
  #projectView .project-top-actions{justify-content:start}
 }
 @media(max-width:719px){
  #projectView .project-top-actions{width:100%;display:flex;justify-content:flex-start}
  #projectView .sort-control{width:178px;max-width:100%}
  #projectView .project-sync{grid-template-columns:minmax(0,1fr)}
  #projectView .project-sync .row{justify-content:flex-start}
  #projectView .project-sync button{max-width:100%}
  #projectView .project-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
}

@media screen {
 #projectView .project-filters{padding:8px 10px;gap:8px;border-radius:9px}
 #projectView .project-filters label{font-size:8px;line-height:1.15;gap:3px}
 /* Match Log's 30px fields. The shared input minimum otherwise wins. */
 body:has(#homeView[hidden]) #projectView .project-filters :is(input,select){
  height:30px;min-height:30px;padding:4px 8px;font-size:12px;line-height:18px;border-radius:6px;
 }
 body:has(#homeView[hidden]) #projectView .project-filters select{
  -webkit-appearance:none;
  appearance:none;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23203d53' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 3px center;
  background-size:12px 12px;
  padding-inline:12px 20px;
 }
 #projectView :is(#projectConnection,#openProjectFile,#openProjectSheet){
  display:inline-flex;align-items:center;justify-content:center;text-align:center;padding-inline:8px;
 }
 .flow-project-year{margin-bottom:0}
 .flow-project-year::after{height:2px;background:#b8d1df}
 .page-copyright{
  max-width:1100px;margin:4px auto 0;padding:12px 14px 18px;
  border-top:1px solid #c7e0eb;text-align:center;font-size:10px;line-height:1.5;
 }
 body .page-copyright button#aboutFlow{
  display:inline-block;min-height:0;padding:8px;border:0;background:transparent;color:#0076ad;
  font:500 11px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;text-decoration:underline;box-shadow:none;white-space:nowrap;
 }
 body:has(#homeView:not([hidden])) .page-copyright #aboutFlow{color:#b7e4fa}
 body:has(#homeView[hidden]) .page-copyright #aboutFlow:is(:hover,:active){border:0;box-shadow:none;transform:none}
 #browserMenu{font:500 11px/1.5 -apple-system,BlinkMacSystemFont,sans-serif}
 #browserMenu summary{cursor:pointer;display:list-item;width:max-content;margin:auto;padding:4px}
 #browserMenu #headerLinks{justify-content:center;margin:4px auto 0}
 body:has(#homeView[hidden]) #browserMenu #headerLinks button{color:#31566c}
 body:has(#homeView[hidden]) #browserMenu #headerLinks button:hover{color:#0076ad}
 .flow-about-product{display:flex;align-items:center;gap:14px;margin:18px 0 12px;font-size:18px;line-height:1.35}
 .flow-about-product img{flex:none;object-fit:contain;border-radius:16px}
 #aboutFlowDialog form{display:flex;justify-content:flex-end}
}

@media screen {
 #basics{margin-top:12px}
 #basics .flow-form-card{display:block;margin:0 0 10px;padding:12px 14px 13px}
 #basics .flow-form-card h2{margin:0 0 10px;font-size:18px;line-height:1.2;letter-spacing:-.25px}
 #basics .flow-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;align-items:end}
 #basics .flow-form-pump .flow-fields{grid-template-columns:repeat(5,minmax(0,1fr))}
 #basics .flow-form-well .flow-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr)}
 #basics .flow-fields > label,#basics .flow-select-field{
  display:grid;gap:3px;min-width:0;margin:0;grid-column:auto;
  font-size:9px;font-weight:750;letter-spacing:.4px;line-height:1.2;text-transform:uppercase;color:#486f88;
 }
 #basics .flow-fields input,#basics .catalog summary{
  box-sizing:border-box;height:34px;min-height:34px;padding:5px 8px;
  border-radius:6px;font-size:12px;font-weight:400;line-height:20px;
 }
 #basics #pumpOperation::placeholder{font-size:11px}
 #basics .catalog summary{align-items:center;text-transform:none;letter-spacing:0}
 #basics .catalog summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
 #basics .flow-picker-toggle{width:27px;font-size:16px}
 #basics .flow-picker input{padding-right:28px!important}
 #basics .flow-meter-pair{gap:5px}
 #basics .flow-meter-pair input{padding-right:22px!important;appearance:textfield}
 #basics .flow-meter-pair input::-webkit-inner-spin-button{appearance:none}
 #basics .flow-meter-pair small{top:50%;transform:translateY(-50%);right:6px;font-size:10px}
 #basics .form-actions button{min-height:34px;padding:5px 10px;font-size:12px}
 #basicsStatus:empty,#photoStatus:empty,#pdfStatus:empty{display:none}
 #photoStatus,#pdfMeta{font-size:12px;color:#486f88}
 .photo-actions .flow-photo-picker{
  position:relative;display:inline-flex;justify-content:center;align-items:center;min-height:36px;
  margin:0;padding:6px 12px;background:white;border:1px solid #c3d7e5;border-radius:7px;
 }
 .flow-photo-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
 .flow-photo-picker:focus-within{outline:2px solid #258cb5;outline-offset:2px}
 #pdfCheckItems{margin:8px 0 14px;padding-left:20px;font-size:13px}
 #pdfCheckItems:empty{display:none}
 #pdfDialog .flow-pdf-actions{margin-top:12px}
 #pdfDialog .flow-pdf-actions > *{flex:0 1 auto}
 #openPDFTab{display:inline-flex;align-items:center;padding:6px 10px;font-size:13px}
 @media(max-width:950px){
  #basics :is(.flow-form-pump,.flow-form-well) .flow-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
 }
 @media(max-width:800px){
  #basics .flow-fields > .flow-pump-operation{grid-column:1/-1}
 }
 @media(max-width:620px){
  #basics .flow-form-card .flow-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 @media(max-width:400px){
  #basics .flow-form-card .flow-fields{grid-template-columns:minmax(0,1fr)}
 }
}

@media screen {
 #basics .flow-meter-pair .flow-picker-toggle{width:21px}
 #basics .flow-meter-pair .flow-picker-options{min-width:76px}
 #basics .flow-picker:has(input[readonly]) input{cursor:pointer}
}

@media screen {
 #pdfCheckDialog{width:min(430px,calc(100% - 24px));padding:20px;border-radius:10px}
 #pdfCheckDialog h2{margin:0 0 12px;color:#203d53;font-size:21px;line-height:1.2}
 #pdfCheckDialog::backdrop{background:#203d5399}
 .pdf-check-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:12px}
 .pdf-check-tile{display:grid;gap:2px;justify-items:center;padding:9px 4px;border-radius:10px;background:#e5f5ea;color:#2d7647;font-size:14px}
 .pdf-check-tile strong{font-size:18px}
 .pdf-check-tile.error{background:#fceae8;color:#a3342d}
 .pdf-check-tile.hint{background:#fff1d7;color:#79530a}
 .pdf-check-result{padding:9px;border:1px solid #d2e2eb;border-radius:9px;background:#f8fbfc;font-size:12px;line-height:1.4}
 .pdf-check-result p{margin:3px 0 0}
 #pdfCheckItems{margin:7px 0 0;font-size:inherit}
 #pdfCheckItems li+li{margin-top:3px}
 .pdf-check-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}
 #pdfCheckDialog .pdf-check-actions button{min-height:40px;padding:7px 12px}
}

@media screen and (forced-colors: none) {
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .flow-name, .log-card .flow-wordmark > span {
      background-image: linear-gradient(129deg, #2bc9f2 16%, #0ba2dd 86%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}
