.guild-book{--guild-teal:#16434a;--guild-gold:#edca82;background:#f5ecd7;color:#183a3a;border-radius:inherit;overflow:hidden;font-family:inherit}.guild-book header{background:linear-gradient(115deg,#153d41,#285855);color:#fff4d9;padding:1.05rem 1.2rem;display:flex;gap:.8rem;align-items:center;border-bottom:3px solid #ba965d}.guild-book header svg{width:2.6rem;height:2.6rem;flex-shrink:0;color:var(--guild-gold)}.guild-book h1{font:1.5rem/1.15 Georgia,serif;margin:.12rem 0}.guild-book small,.guild-book button,.guild-book p,.guild-book summary{font-family:inherit}.guild-book header small{color:#f0d7a3;letter-spacing:.08em;font-weight:720}.guild-book header button{margin-left:auto;align-self:flex-start;background:#ffffff12;border:1px solid #b5c4ac88;color:#fff7e7;border-radius:50%;width:2.4rem;height:2.4rem}.guild-body{padding:.9rem 1.15rem 1.1rem;display:grid;gap:.75rem}.guild-body p{font-size:1rem;line-height:1.34;margin:0}.guild-rep{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.28rem}.guild-rep strong{font-size:1rem}.guild-rep small,.guild-job small{font-weight:650;color:#47635d}.guild-rep progress{appearance:none;width:100%;height:.48rem;border:0;border-radius:6px;overflow:hidden;background:#d4ccb7}.guild-rep progress::-webkit-progress-bar{background:#d4ccb7}.guild-rep progress::-webkit-progress-value{background:#367566}.guild-rep progress::-moz-progress-bar{background:#367566}.guild-rows{display:grid;gap:.25rem}.guild-job{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.65rem;border-top:1px solid #c8bea2;padding:.56rem 0}.guild-job b{display:block}.guild-job small{display:block;line-height:1.25;margin-top:.18rem}.guild-rows button,.guild-body>button,.guild-stamp{border:1px solid #52706a;border-radius:.34rem;background:#22544e;color:#fcf5e3;padding:.44rem .62rem;font:700 .91rem/1.19 inherit;min-height:2.55rem}.guild-stamp{color:#163e37;background:#e7c888;border-color:#a98748}.guild-book button[disabled]{background:#e4dbc7;color:#52645c;border-color:#b1b29c}.guild-book .receipt{background:#e1e8d5;border-left:3px solid #51836c;padding:.45rem .58rem;font-weight:700}.guild-rows summary,.guild-lead summary{cursor:pointer;font-weight:700;color:#254f48}.guild-rows summary{font-size:.97rem}.guild-job details p,.guild-lead p{font-size:.9rem;margin:.35rem 0}.guild-lead{max-width:14rem;font-size:.9rem}.guild-lead p{color:#334b48}.guild-lead[open]{grid-column:1/-1}.guild-book .guild-art{width:2.85rem;height:2.85rem;object-fit:contain;border-radius:.35rem;background:#e2dac5}.guild-ware{grid-template-columns:auto 1fr auto}.guild-wares-title{font:1.08rem Georgia,serif;margin:.55rem 0 .1rem}.guild-book button:hover:enabled{filter:brightness(1.08)}@media(max-width:560px){.guild-body{padding:.75rem .82rem}.guild-job{gap:.45rem}.guild-ware .guild-art{width:2.25rem;height:2.25rem}.guild-book h1{font-size:1.25rem}.guild-book header{padding:.8rem}.guild-job small{font-size:.77rem}.guild-body>button{width:100%}}

.guild-ware .pl-art{display:block;width:2.8rem;height:2.8rem}.guild-ware .dc-item-art{width:3.2rem;height:auto}.guild-ware .pl-art,.guild-ware .dc-item-art{justify-self:center}.guild-ware{grid-template-columns:3.3rem 1fr auto}@media(max-width:560px){.guild-ware{grid-template-columns:2.6rem 1fr auto}.guild-ware .pl-art,.guild-ware .dc-item-art{width:2.55rem}}

.guild-book[data-berth="commander"] {
  --calder-ink:#173a3c; --calder-teal:#175853; --calder-brass:#ad8446;
  color:var(--calder-ink); background:#f6efde;
  font:600 clamp(16px, .72vw + 7px, 21px)/1.35 var(--frayvo-reading,system-ui,sans-serif);
}
.guild-book[data-berth="commander"] header {
  padding:.85em 1.1em; gap:.8em; background:linear-gradient(108deg,#12373e 55%,#245351);
}
.guild-book[data-berth="commander"] header svg {width:2.8em;height:2.8em}
.guild-book[data-berth="commander"] header h1 {font:700 clamp(24px,2vw,35px)/1.08 Georgia,serif;color:#fff2cd}
.guild-book[data-berth="commander"] header small {font-size:.78em;color:#f5cf8d}
.guild-book[data-berth="commander"] header button {height:44px;width:44px;flex:none;font-size:22px}
.guild-book[data-berth="commander"] .guild-body {gap:.9em;padding:.85em 1.12em 1em}
.calder-standing {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35em .75em}
.calder-standing>div {display:flex;align-items:baseline;flex-wrap:wrap;gap:.2em .65em}
.calder-standing>div span,.calder-pass {font-size:.87em;color:#344f4b}
.calder-standing progress {grid-column:1;width:100%;height:6px;appearance:none;background:#dad2b8;border:0;border-radius:6px;overflow:hidden}
.calder-standing progress::-webkit-progress-bar {background:#dad2b8}
.calder-standing progress::-webkit-progress-value {background:#23726a}
.calder-standing progress::-moz-progress-bar {background:#23726a}
.calder-standing>.calder-pass,.calder-standing>button {grid-column:2;grid-row:1/3}
#signal-dialog .calder-ranks {border:0;grid-column:1/-1;padding:0;margin:0}
#signal-dialog .calder-ranks summary {display:inline-block;min-height:0;padding:.3em 0;color:#245852;font-size:.9em;font-weight:700}
#signal-dialog .calder-ranks ul {padding-left:1.25em;margin:.25em 0;font-size:.94em}
.calder-board h2 {font:700 1.45em/1.12 Georgia,serif;color:#1f4040;margin:0 0 .35em}
.calder-list {border-block:2px solid #bba77c}
.calder-order {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:.15em .75em;padding:.65em .12em;border-bottom:1px solid #c7baa0}
.calder-order:last-child {border-bottom:0}
.calder-emblem {grid-row:1/3;display:grid;place-items:center;width:2.65em;height:2.65em;
  background:#244d50;border:2px solid #b69861;border-radius:10px}
.calder-emblem svg {width:66%;height:66%}
.calder-order[data-order="escort"] .calder-emblem {color:#f7d2ae;background:#593b3d}
.calder-order:is([data-order="glass"],[data-order="insulate"]) .calder-emblem {background:#dbe4da}
.calder-emblem img {width:100%;height:auto;max-height:100%;object-fit:contain}
.calder-task h3 {margin:0;color:#15383b;font:750 1.04em/1.17 var(--frayvo-reading,system-ui,sans-serif)}
#signal-dialog .calder-task p {margin:.08em 0 0;color:#263f41;font-size:.96em;line-height:1.25;font-weight:600}
.calder-action {grid-column:3;grid-row:1/3;justify-self:end;text-align:right}
.calder-pay {grid-column:2;display:flex;gap:.1em .7em;flex-wrap:wrap;color:#365450;font-size:.88em;font-weight:680}
.calder-pay span:first-child {color:#72490d}
.calder-pay span {white-space:nowrap}
.calder-action button,.calder-standing>button {min-height:44px;border:1px solid #204f4a;border-radius:6px;
  padding:.38em .85em;background:#215b53;color:#fff6de;font:700 1em/1.15 var(--frayvo-reading,system-ui,sans-serif);cursor:pointer}
.calder-order[data-state="ready"] .calder-action button {background:#f0ce82;color:#263e37;border-color:#977038}
.calder-count,.calder-result {font-size:.91em;font-weight:750;color:#265850}
.calder-count {font-variant-numeric:tabular-nums}
.calder-order[data-state="done"] .calder-emblem {background:#536663}
.calder-board .calder-next {margin:.5em 0 0}
@media(max-width:560px) {
  .guild-book[data-berth="commander"] .guild-body {padding:.7em .78em .85em;gap:.65em}
  .guild-book[data-berth="commander"] header {padding:.75em;gap:.55em}
  .guild-book[data-berth="commander"] header svg {width:2.1em;height:2.1em}
  .calder-standing {grid-template-columns:1fr;gap:.2em}
  .calder-standing>.calder-pass,.calder-standing>button {grid-column:1;grid-row:auto;justify-self:start;margin-top:.16em}
  .calder-order {column-gap:.46em}
  .calder-emblem {width:2.25em;height:2.25em}
  .calder-pay {grid-column:2/-1}
  .calder-action {grid-row:1}
  .calder-action button {padding:.36em .6em}
}

/* The four samples fit in a single phone column. */
.hide-head strong {font-size:1.25rem;color:#204c4b}.hide-head p {margin:.35rem 0 .8rem;font-size:1rem;color:#395351}
.hide-board {display:grid;gap:.47rem}.hide-offer {display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;align-items:center;column-gap:.55rem;padding:.6rem;border:1px solid #c6c4ab;border-radius:.62rem;background:#faf6e9}
.hide-label {display:grid;gap:.17rem}.hide-label strong {font-weight:750;color:#204849}.hide-label small,.hide-empty {color:#465d58;font-size:.84rem}.hide-sample {display:grid;place-items:center;background:#203e42;border-radius:.5rem;overflow:hidden}
.hide-sample img {width:100%;height:auto;min-height:36px}.hide-credit {grid-column:3;font-size:.78rem;color:#37634c;text-align:right}.hide-offer button {padding:.43rem .58rem;border:1px solid #35605e;border-radius:.48rem;background:#285451;color:#fffae8;font-weight:750;min-height:40px;white-space:nowrap}.hide-offer button:focus-visible {outline:3px solid #af772c;outline-offset:2px}.hide-offer button:disabled {opacity:.6}
@media(max-width:440px){.hide-offer {grid-template-columns:2.65rem minmax(0,1fr) auto;column-gap:.35rem;padding:.48rem}.hide-label small,.hide-empty {font-size:.75rem}.hide-credit {font-size:.72rem}.hide-offer button {font-size:.82rem}}
