
:root{color-scheme:light;--ink:#182b29;--muted:#536962;--primary:#146653;--edge:#d7e4df;--surface:#fff;--page:#edf3ef}
@media screen{
*,*::before,*::after{box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC",sans-serif;background:var(--page);color:var(--ink);padding:clamp(12px,3vw,34px);margin:0}
body main{max-width:1120px;margin:0 auto;width:100%;min-width:0}
body h1{font-size:clamp(1.6rem,4vw,2.6rem);letter-spacing:-.035em;line-height:1.2}
body h2{font-size:clamp(1.15rem,2.6vw,1.5rem);line-height:1.35}
body h3{font-size:1.05rem}
body .muted{color:var(--muted)}
body button{background:var(--primary);min-height:44px;font-weight:650}
body button:disabled{cursor:default}
body button:focus-visible,body a:focus-visible,body input:focus-visible,body select:focus-visible,body textarea:focus-visible,body summary:focus-visible{outline:3px solid #c08038;outline-offset:3px}
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{border:1px solid #78958a;border-radius:9px;min-height:44px;padding:9px 12px;font-size:16px;max-width:100%;min-width:0;background:#fff;color:var(--ink)}
body input[type=date]{width:100%}
body input[type=checkbox],body input[type=radio]{width:auto;min-width:16px;min-height:16px}
body a{color:var(--primary)}
body .panel,body fieldset,.ops-section{border:1px solid var(--edge);border-radius:16px;background:var(--surface);min-width:0}
body fieldset{padding:clamp(12px,2vw,22px)}
.ops-nav{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 16px;margin:0 0 12px;border-bottom:1px solid var(--edge)}
.ops-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--edge);border-radius:9px;padding:7px 14px;background:#f1f7f3;text-decoration:none;font-weight:650}
.ops-nav a:hover{background:#dbece3}
.ops-section{padding:clamp(14px,3vw,28px);margin:16px 0;scroll-margin-top:16px}
.ops-section h2{margin-top:0}
.ops-section summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650}
.ops-section details+details{border-top:1px solid var(--edge)}
body:has(#cloud[hidden]) main{max-width:460px;margin:clamp(24px,10vh,100px) auto}
body #login{max-width:430px}
body .ops-section button:not([hidden]){width:auto;max-width:100%;padding:9px 15px}
body .ops-section form{max-width:780px}
body table{min-width:0}
@media(max-width:600px){body main{padding:14px} .ops-nav a{flex:1 0 26%;padding-inline:8px}body .ops-section form button:not([hidden]){width:100%}}
}

@media screen {
  #products .catalog-tools {display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:12px 0}
  #products .catalog-tools label {display:flex;align-items:center;gap:8px;margin:0}
  #products .catalog-tools select {width:auto}
  #products .catalog-tools p {margin:0}
  #products .catalog-scroll {max-height:min(55vh, 34rem);overflow:auto;max-width:100%;width:fit-content;border:1px solid #afc4bb;border-radius:8px}
  #products .catalog-table {width:max-content;min-width:0;border-collapse:separate;border-spacing:0;font-size:.9375rem}
  #products .catalog-table th,#products .catalog-table td {padding:8px 10px;text-align:left;vertical-align:top;border:0;border-right:1px solid #c6d6cf;border-bottom:1px solid #c6d6cf}
  #products .catalog-table th {position:sticky;top:0;z-index:1;background:#e6f0ea;color:#182b29;white-space:nowrap}
  #products .catalog-table td:first-child {max-width:11ch;overflow-wrap:anywhere}
  #products .catalog-table .catalog-name {width:clamp(100px,34vw,255px);max-width:clamp(100px,34vw,255px);overflow-wrap:anywhere}
  #products .catalog-table .catalog-number {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
  #products .catalog-table tbody tr:nth-child(even) {background:#f5f9f7}
  #products .catalog-pagination {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
  #products .catalog-pagination button {width:auto;margin:0}
}
