@layer reset, base, layout, components, responsive;
@layer responsive {
  @media(max-width:640px) {
    .protocol-selector { padding:1rem; gap:.8rem; }
    .protocol-options { width:100%; }
    .protocol-option { flex:1; }
    .deployment-choice { width:100%; margin-inline-start:0; }
    .deployment-choice select { width:100%; }
    .order-deployment { flex-basis:100%; }
  }
}
@layer components {
  .protocol-selector { display:flex; align-items:center; flex-wrap:wrap; gap:1rem 1.5rem; padding:1rem 1.25rem; margin:0 0 1.5rem; border:1px solid var(--line); border-radius:16px; background:#fff; min-width:0; }
  .protocol-options { display:flex; flex-wrap:wrap; gap:.5rem; }
  .protocol-option { min-height:48px; display:flex; align-items:center; justify-content:center; gap:.55rem; padding:.65rem 1rem; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--ink); cursor:pointer; }
  .protocol-option.selected { border-color:#9acbb6; background:#e9f6ee; color:#124a37; }
  .protocol-option small { padding:.1rem .35rem; border-radius:5px; background:#edf1eb; color:#4d6054; font-size:.85rem; }
  .deployment-choice { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin-inline-start:auto; min-width:0; }
  .deployment-choice label { font-size:.9rem; color:var(--muted); }
  .deployment-choice select { max-width:100%; min-height:48px; border:1px solid var(--line); border-radius:9px; padding:.6rem 2rem .6rem .7rem; background:#fff; color:var(--ink); }
  .deployment-hint { flex-basis:100%; font-size:.9rem; color:var(--muted); line-height:1.6; margin:0; }
  .order-deployment { font-size:.85rem; color:var(--muted); overflow-wrap:anywhere; }
  .order-context { display:grid; gap:.4rem; padding:1rem 1.25rem; margin:-.5rem 0 1.5rem; border:1px solid var(--line); border-radius:12px; background:#edf8f0; overflow-wrap:anywhere; }
  .order-context span { color:var(--muted); font-size:.9rem; }
  .order-context code,.pending-operation code,.transaction-review code { overflow-wrap:anywhere; word-break:break-word; }
  .deployment-coverage { margin:0 0 1.5rem; }
  .deployment-coverage ul { padding-inline-start:1.3rem; margin:.5rem 0; }
  .protocol-unavailable { min-height:340px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; padding:clamp(1.5rem,5vw,4rem); }
  .protocol-unavailable h1 { font-size:clamp(1.6rem,4vw,2.5rem); }
  .native-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:1.5rem; max-width:1190px; margin-inline:auto; }
  .native-layout > *, .cooperation-workspace { min-width:0; }
  .operation-section { background:#fff; border:1px solid #c9dfd3; padding:clamp(1.1rem,3vw,2rem); border-radius:20px; margin-bottom:1.25rem; }
  .operation-section h2 { font-size:1.5rem; margin:.6rem 0 1rem; }
  .operation-section p { color:#476455; line-height:1.8; margin:.7rem 0; }
  .operation-section label, .publish-guide > label { display:block; margin:1.1rem 0 .5rem; font-weight:600; }
  .operation-section input:not([type=checkbox]), .operation-section select, .operation-section textarea,
  .publish-guide > input, .pending-operation input { display:block; width:100%; min-height:48px; padding:.75rem; border:1px solid #bad3c4; border-radius:9px; background:#fcfdf9; }
  .operation-section input[type=file] { white-space:normal; font-size:.9rem; }
  .operation-section .button { margin:.5rem .5rem .5rem 0; white-space:normal; }
  .authorization-status { padding:1rem; border-radius:12px; background:#edf8f0; display:grid; gap:.45rem; }
  .authorization-status span { color:#476455; font-size:.9rem; }
  .wallet-setup-steps { display:grid; gap:.7rem; list-style:none; margin:0 0 .8rem; }
  .wallet-setup-steps li { display:flex; align-items:center; gap:.65rem; color:var(--muted); }
  .wallet-setup-steps li > span { display:grid; place-items:center; width:1.8rem; height:1.8rem; border:1px solid var(--line); border-radius:50%; color:inherit; flex:none; }
  .wallet-setup-steps .current { color:var(--ink); font-weight:650; }
  .wallet-setup-steps .current > span { border-color:var(--green); color:var(--green); }
  .wallet-setup-steps .done > span { background:var(--green); color:white; border-color:var(--green); }
  .authorization-details { margin-top:1rem; }
  .authorization-details summary, .delivery-transactions summary { cursor:pointer; font-weight:600; padding:.5rem 0; }
  .delivery-checks { list-style:none; display:grid; gap:.7rem; margin:1rem 0 1.4rem; }
  .delivery-checks li { display:flex; gap:.65rem; align-items:center; flex-wrap:wrap; color:var(--muted); }
  .delivery-checks li strong { margin-inline-start:auto; font-size:.9rem; font-weight:500; }
  .delivery-checks li.done { color:var(--green); }
  .delivery-record { display:grid; gap:.9rem; }
  .delivery-record dt { color:var(--muted); font-size:.9rem; }
  .delivery-record dd { overflow-wrap:anywhere; margin-top:.2rem; }
  .delivery-transactions { display:grid; gap:1rem; list-style:none; margin:1rem 0; }
  .delivery-transactions code { display:block; margin-top:.4rem; font-size:.8rem; overflow-wrap:anywhere; }
  .cooperation-consent { display:flex!important; align-items:flex-start; gap:.6rem; font-weight:400!important; line-height:1.8; }
  .cooperation-consent input { flex:none; width:20px; height:20px; margin-top:.3rem; }
  .cooperation-checkpoints { padding-left:1.2rem; margin:1.25rem 0; line-height:2.1; }
  .native-layout .notice:empty { display:none; }
  .native-layout .notice { margin:1rem 0; line-height:1.8; overflow-wrap:anywhere; }
  .pending-operation, .transaction-review { background:#fffaf0; border:1px solid #e8c99c; border-radius:15px; margin-top:1.25rem; padding:1.25rem; overflow-wrap:anywhere; }
  .pending-operation p, .transaction-review p { margin:.8rem 0; line-height:1.8; }
  .network-fee-note { margin:1rem 0; padding:.9rem 1rem; background:#f6faf7; border:1px solid #d7e5db; border-radius:12px; font-size:.82rem; line-height:1.7; }
  .network-fee-note p { margin:.35rem 0 0; }
  .coop-toast { position:fixed; left:50%; top:5.5rem; transform:translateX(-50%); z-index:70; max-width:min(560px,calc(100vw - 2rem)); box-shadow:0 10px 30px rgba(0,0,0,.2); }
  .design-check-result { margin:.6rem 0 0; line-height:1.8; color:#1f5f43; }
  .design-check-result.warning { color:#8a601f; }
  .approval-row { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }
  .approval-row > .button { flex:1 1 auto; }
  .approval-row > details.inline-help[open] { flex-basis:100%; margin-left:0; }
  details.inline-help { display:inline; border:0; padding:0; margin:0 0 0 .35rem; font-size:inherit; }
  details.inline-help > summary { min-height:0; vertical-align:middle; }
  details.inline-help[open] > div { display:block; font-size:.85rem; }
  .inline-help > summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; width:1.35rem; height:1.35rem; border-radius:50%; border:1px solid #8fb9a3; color:#2f6f52; font-size:.8rem; font-weight:700; line-height:1; }
  .inline-help > summary::-webkit-details-marker { display:none; }
  .inline-help[open] > div { margin-top:.5rem; padding:.75rem 1rem; background:#f4faf6; border:1px solid #cfe3d7; border-radius:10px; color:#244a3a; font-weight:400; }
  .inline-help ol { margin:.4rem 0; padding-left:1.25rem; }
  .inline-help p { margin:.4rem 0; }
  /* wallet review / unverified previous operation: a dialog over the page */
  .cooperation-workspace [data-coop-review]:not(:empty),
  .cooperation-workspace:not([data-pending-inline]) [data-coop-pending]:not(:empty) { position:fixed; inset:0; z-index:60; display:flex; align-items:center; justify-content:center; padding:1rem; background:rgba(18,32,28,.48); overflow:auto; }
  .cooperation-workspace [data-coop-review]:not(:empty) > .transaction-review,
  .cooperation-workspace:not([data-pending-inline]) [data-coop-pending]:not(:empty) > .pending-operation { width:100%; max-width:560px; max-height:calc(100vh - 2rem); overflow:auto; margin:0; box-shadow:0 18px 50px rgba(0,0,0,.28); }
  .transaction-review dl > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem; margin:1rem 0; }
  .transaction-review dd { font-weight:650; }
  .native-detail { margin:1rem 0 1.5rem; }
  .order-summary { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; margin:-.5rem 0 1rem; }
  .order-summary > strong { font-size:1.15rem; }
  .order-summary > span { color:var(--muted); }
  .order-summary .qualifications { margin:0; }
  .next-step { border:2px solid #2f7a55; box-shadow:0 6px 24px rgba(31,95,67,.08); }
  .next-step h2 { margin-block-end:.6rem; }
  .step-buttons { display:flex; flex-wrap:wrap; gap:.6rem; margin:.8rem 0; }
  .refund-steps { list-style:none; padding:0; display:grid; gap:.5rem; }
  .secondary-actions, .inline-details, .tech-details { margin-top:.9rem; }
  .miner-picker { border:0; padding:0; margin:.9rem 0 0; min-width:0; }
  .miner-picker legend { font-weight:600; margin-bottom:.4rem; }
  .miner-option { display:flex; gap:.6rem; align-items:flex-start; padding:.6rem .75rem; border:1px solid var(--line); border-radius:10px; margin-bottom:.45rem; cursor:pointer; min-height:44px; }
  .miner-option input { margin-top:.2rem; }
  .miner-option small { display:block; color:var(--muted); }
  .miner-option.is-disabled { opacity:.6; cursor:not-allowed; }
  .secondary-actions > summary, .inline-details > summary, .tech-details > summary, .fallback-actions > summary, .fee-details > summary { cursor:pointer; color:var(--muted); font-size:.9rem; }
  .tech-details { border:1px solid var(--line); border-radius:16px; background:#fff; padding:1rem 1.4rem; }
  details.detail-section > summary h2 { display:inline; font-size:1.05rem; }
  .fallback-actions { background:#f6f8f6; }
  .delivery-timeline { list-style:none; padding:0; margin:.8rem 0; display:grid; gap:.45rem; border-left:2px solid #cfe1d5; padding-left:.9rem; }
  .delivery-timeline li strong { display:inline-block; min-width:6.5em; }
  .delivery-timeline li.done { color:var(--muted); }
  .delivery-timeline li.current strong { color:#1f5f43; }
  [data-collateral-quote], [data-design-summary] { line-height:1.9; margin:.8rem 0; color:#176950; overflow-wrap:anywhere; }
  [data-approval-list] { display:grid; gap:.5rem; }
  @media(min-width:1000px) { .native-layout { grid-template-columns:minmax(0,1fr) 340px; } }
  /* Publish page: heading and both columns share one centred container. Order page: the operations workspace uses
     the same columns as the reference grid below it, so the two stacks line up. */
  .native-publish { max-width:1190px; margin-inline:auto; }
  .native-publish .native-layout, .native-detail .native-layout { max-width:none; margin:0; }
  .native-layout > div > :last-child { margin-bottom:0; }
  @media(min-width:800px) { .native-detail .native-layout { grid-template-columns:minmax(0,1fr) 320px; } }
  @media(min-width:1060px) { .native-detail .native-layout { grid-template-columns:minmax(0,1fr) 365px; gap:2rem; } }
  .authorization-status > .button { justify-self:start; }
  .step-buttons > .button { margin:0; flex:1 1 auto; }
  .claim-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin:.8rem 0 0; }
  .claim-actions > .button { margin:0; }
  .order-progress { margin:0 0 1.25rem; padding:1rem 1.25rem 1.1rem; background:#fff; border:1px solid var(--line); border-radius:16px; }
  .order-progress > h2 { font-size:.85rem; font-weight:650; letter-spacing:0; color:var(--muted); margin:0 0 .8rem; }
  .detail-grid > div > .detail-section:first-child { margin-block-start:0; }
  .detail-grid > div > .tech-details > summary, details.detail-section > summary { color:var(--ink-deep); font-weight:700; font-size:1rem; }
  details.detail-section > summary h2 { font-size:1rem; margin:0; }
  .detail-estimate .reward-preview .people-income { min-width:12rem; }
  .detail-estimate .reward-preview > div > strong { font-size:clamp(1.3rem, 5vw, 1.6rem); }
  @media(max-width:559px) { .progress-list li { font-size:.75rem; } .order-progress { padding:.9rem .75rem 1rem; } }
  .auth-panel { font-size:inherit; }
  .auth-panel > summary { list-style:none; display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem 1rem; min-height:44px; }
  .auth-panel > summary::-webkit-details-marker { display:none; }
  .auth-panel > summary .eyebrow { flex-basis:100%; margin:0; }
  .auth-panel > summary h2 { margin:.35rem 0 0; }
  .auth-panel > summary::after { content:'展开'; margin-inline-start:auto; color:var(--green); font-weight:650; font-size:.88rem; }
  .auth-panel[open] > summary::after { content:'收起'; }
  .auth-summary { color:#476455; font-size:.92rem; }
  .designer-step + .designer-step { margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--line); }
  .designer-step > .eyebrow { font-size:.8rem; letter-spacing:.06em; color:var(--green); margin-block-end:.3rem; }
  .designer-step > h3 { margin-block-end:.4rem; }
}
@layer components {
  .reference-prices { margin-block:2.5rem; scroll-margin-top:1rem; }
  .reference-board { scroll-margin-top:1rem; }
  .reference-market-layout { align-items:start; }
  .reference-project-group { display:grid; gap:1rem; min-width:0; }
  .reference-project-group:first-child > .reference-project:first-of-type { border-color:#f39063; box-shadow:inset 0 0 0 1px #f9c9b2,var(--shadow); }
  .reference-project .card-top h3 .tag { font-size:.75rem; letter-spacing:0; }
  .reference-project .qualifications .tag { white-space:normal; }
  .reference-card-note { font-size:.78rem; color:var(--muted); line-height:1.7; margin-top:.5rem; }
  .reference-order-notice { margin-bottom:1.3rem; color:var(--muted); font-size:.88rem; line-height:1.8; }
  .reference-project .project-collateral button { white-space:normal; }
  .reference-intro { color:var(--muted); font-size:.94rem; max-width:70rem; line-height:1.8; margin-block:-.4rem 1.2rem; }
  .reference-price-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
  .reference-price { min-width:0; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:1.25rem; }
  .reference-price-title { display:flex; align-items:baseline; gap:.5rem 1rem; justify-content:space-between; flex-wrap:wrap; margin-block-end:1rem; }
  .reference-price-title h3 { font-size:1.1rem; letter-spacing:-.02em; }
  .reference-price-title > span { color:var(--muted); font-size:.8rem; }
  .reference-price dl, .reference-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
  .reference-price dl > div, .reference-metrics > div { min-width:0; }
  .reference-price dt, .reference-metrics dt { color:var(--muted); font-size:.82rem; margin-block-end:.3rem; }
  .reference-price dd { font-size:1.24rem; font-weight:750; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
  .reference-price-source { margin-block-start:1rem; font-size:.8rem; color:var(--muted); }
  .reference-price-reason, .reference-caption, .reference-warnings { font-size:.86rem; color:var(--muted); line-height:1.8; margin-block-start:.5rem; }
  .reference-warnings { padding-inline-start:1.25rem; }
  .reference-metrics { grid-template-columns:1.15fr .8fr 1fr 1fr 1.1fr; }
  .reference-metrics dd { font-size:1.15rem; font-weight:700; line-height:1.6; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
  .reference-metrics small { display:block; font-size:.76rem; font-weight:400; color:var(--muted); }
  .reference-record { margin-block-start:1rem; }
  .reference-record summary, .reference-provenance summary { color:var(--green); font-weight:600; font-size:.88rem; cursor:pointer; padding-block:.4rem; }
  .reference-record dl { display:grid; gap:.65rem; margin-block:.65rem; }
  .reference-record dl > div { display:flex; gap:.8rem; flex-wrap:wrap; }
  .reference-record dt { color:var(--muted); flex:0 0 7rem; }
  .reference-record dd { overflow-wrap:anywhere; min-width:0; }
  .reference-record p { color:var(--muted); font-size:.88rem; line-height:1.8; margin-block:.5rem; }
  .reference-provenance { color:var(--muted); font-size:.87rem; line-height:1.8; }
  .reference-provenance p { margin-block:.5rem; }
  .reference-empty { padding:1.5rem; background:var(--mint); border-radius:var(--radius-sm); color:var(--muted); line-height:1.8; }
  .readonly-unavailable { max-width:50rem; padding:clamp(1rem,3vw,3rem) 0; }
  .readonly-unavailable p { margin-block:1.25rem; line-height:1.9; font-size:1.05rem; color:var(--muted); }
  .readonly-unavailable .text-link { margin-inline-start:1rem; display:inline-block; }
  @media(max-width:1000px) { .reference-metrics {grid-template-columns:repeat(3,minmax(0,1fr));} }
  @media(max-width:640px) {
    .reference-price-list {grid-template-columns:minmax(0,1fr);}
    .reference-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .65rem;}
    .reference-metrics > div:last-child {grid-column:span 2;}
    .reference-price dd, .reference-metrics dd {font-size:1.1rem;}
    .reference-price dt, .reference-metrics dt {font-size:.83rem;}
    .reference-price-source,.reference-record p,.reference-caption {font-size:.86rem;}
    .reference-record dl > div {display:block;font-size:.88rem;}
    .reference-price {padding:1rem;}
    .reference-project .card-top > span { flex-basis:100%; font-size:.85rem; }
    .reference-card-note { font-size:.875rem; }
  }
}
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select { -webkit-tap-highlight-color: transparent; }
  img, svg { max-width: 100%; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  ul, ol { padding: 0; }
}
@layer base {
  :root { --ink: #103b31; --ink-deep: #082d25; --muted: #596f5f; --green: #087f60; --green-soft: #e1f2e8; --mint: #e8f6ee; --paper: #f7fbf7; --white: #fff; --orange: #e9531b; --orange-bright: #ff7437; --line: #d8e7de; --amber: #995b0b; --red: #b33b2d; --blue: #3569a7; --space-xs: .35rem; --space-sm: .65rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.25rem; --space-2xl: 3.5rem; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --shadow: 0 12px 36px #143c2b07; --z-sticky: 10; }
  html { scroll-behavior: smooth; scroll-padding-top: 100px; }
  body { margin: auto; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.65; padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right)); }
  h1, h2, h3, h4 { color: var(--ink-deep); line-height: 1.25; letter-spacing: -.045em; text-wrap: balance; }
  h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 800; }
  h2 { font-size: clamp(1.5rem, 2.3vw, 2.3rem); font-weight: 750; }
  h3 { font-size: 1.15rem; font-weight: 700; }
  p { overflow-wrap: anywhere; }
  button, input, select { min-height: 44px; }
  button:disabled, .button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #146c94; outline-offset: 4px; }
  input, select { background: #fff; color: var(--ink); border: 1px solid #c7dace; border-radius: 8px; padding: .7rem .85rem; min-width: 0; max-width: 100%; }
  input::placeholder { color: #596f5f; }
  label { display: block; font-weight: 650; margin-block-end: .45rem; }
  small { font-size: .8rem; line-height: 1.5; }
  hr { border: 0; border-block-start: 1px solid var(--line); margin-block: 1.4rem; }
  ::selection { color: var(--ink-deep); background: #c1e9d4; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 1rem; padding: .8rem; background: var(--ink); color: #fff; z-index: 30; }
  .skip-link:focus { inset-block-start: 1rem; }
  .icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
  .muted { color: var(--muted); }
  .label { display: block; color: var(--muted); font-size: .81rem; line-height: 1.5; }
  .eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: #596f5f; margin-block-end: .8rem; }
  .tag { display: inline-flex; align-items: center; min-height: 26px; gap: .25rem; padding: .16rem .55rem; border-radius: 6px; font-size: .79rem; font-weight: 650; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
  .tag.orange { background: #fff0e8; color: #bc4515; }
  .tag.amber { background: #fff1dc; color: var(--amber); }
  .tag.green { background: var(--green-soft); color: #09694f; }
  .green { color: var(--green); } .amber { color: var(--amber); }
  .text-link { color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: .3em; }
  .text-button { padding: 0 .2rem; border: 0; background: none; color: var(--green); font-size: .84rem; font-weight: 650; display: inline-flex; align-items: center; gap: .35rem; }
  .text-button .icon { width: 15px; height: 15px; }
  .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; padding: .65rem 1.1rem; border-radius: 9px; font-weight: 650; font-size: .92rem; line-height: 1.5; transition: background-color .15s, box-shadow .15s; }
  .button.primary { background: var(--orange-bright); color: #163a2c; border-color: var(--orange-bright); box-shadow: 0 5px 15px #e9531b16; }
  .button.secondary { border-color: #bfd7c8; background: #fff; color: #245d47; }
  .button.outline { border-color: #ef8c60; background: #fffaf7; color: #b94310; }
  .button.compact { min-height: 42px; padding: .55rem 1rem; }
  .button.full { width: 100%; margin-block-start: .75rem; }
  .button.disabled { background: #e1e5e1; color: #5c6861; border: 1px solid #d3dcd5; box-shadow: none; }
  .button.primary:not(:disabled):hover { background: #ff864f; }
  .button.secondary:not(:disabled):hover, .button.outline:hover { background: #f0f8f1; }
  .notice { display: flex; gap: .65rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 10px; background: #edf6f0; color: #375f4e; font-size: .88rem; margin-block: 1rem; }
  .notice .icon { margin-block-start: .2rem; width: 19px; height: 19px; }
  .notice.warning { color: #835319; background: #fff3df; border: 1px solid #f0dfbf; }
  .field-error { color: var(--red); font-size: .88rem; margin-block: .6rem; }
  .field-hint { font-size: .82rem; color: var(--muted); margin-block: .5rem 1.25rem; }
  .spinner { display: inline-block; width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
}
@layer layout {
  .site-header { max-width: 1536px; margin: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2.5rem) .75rem; }
  .brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; margin-inline-end: auto; }
  .brand > span { font-size: 1.55rem; font-weight: 850; letter-spacing: .06em; line-height: 1.2; }
  .brand small { display: block; letter-spacing: .06em; font-size: .66rem; font-weight: 500; margin-block-start: .3rem; color: #5c7d6d; }
  .main-nav { display: flex; gap: 1.75rem; order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: thin; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .1rem .6rem; white-space: nowrap; border-block-end: 3px solid transparent; font-weight: 650; font-size: .9rem; }
  .main-nav a[aria-current="page"] { border-color: var(--orange-bright); color: var(--ink-deep); }
  .header-actions { display: flex; gap: 1.3rem; align-items: center; }
  .open-plan { display: none; font-size: .83rem; font-weight: 650; color: #46745e; padding: .3rem .6rem; border: 1px solid #b3d3c0; border-radius: 7px; }
  .environment-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem .7rem; padding: .45rem 1rem; color: #4f6e5e; font-size: .8rem; min-height: 36px; background: #edf5ef; border-block: 1px solid #e4ede5; }
  .environment-bar strong { font-weight: 650; }
  .environment-bar.is-error, .environment-bar.is-stale { background: #fff2df; color: #88591e; }
  .environment-bar.is-readonly { background: #e3f1e8; }
  .environment-bar .text-button { min-height: 28px; font-size: .8rem; }
  .wallet-status { padding: .7rem 1.5rem; background: #fff0d9; color: #83531c; text-align: center; font-size: .86rem; }
  .wallet-status[hidden] { display: none; }
  .wallet-options { display: flex; flex-direction: column; gap: .65rem; margin-block: 1rem; }
  .wallet-choice { width: 100%; display: flex; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid #c8dece; border-radius: 11px; background: #f0f7ef; color: #214d36; text-align: start; }
  .wallet-choice-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #d7ecdf; }
  .wallet-choice strong { display: block; font-size: .98rem; }
  .wallet-choice small { display: block; color: #596f5f; margin-block-start: .2rem; font-size: .8rem; }
  .wallet-choice > span:last-child { margin-inline-start: auto; }
  .connected-chain { color: #26724d; font-size: .86rem; align-self: center; margin-inline-end: auto; }
  .wallet-authorization-note { flex: 1 1 100%; color: #5c735f; font-size: .8rem; line-height: 1.75; }
  .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  main { max-width: 1536px; min-height: 65vh; margin: auto; padding: 1.35rem clamp(1rem, 2.5vw, 2.5rem) 3rem; outline: none; }
  .hero { position: relative; padding: 1.8rem 1.5rem 2.4rem; background: linear-gradient(118deg, #e0f3e8 0%, #e6f6ed 48%, #daf2e5 100%); border: 1px solid #d8eee0; border-radius: var(--radius-lg); overflow: hidden; }
  .hero-copy { position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); font-weight: 850; letter-spacing: -.065em; }
  .hero-copy > p { margin-block: 1.2rem 1.5rem; font-size: clamp(.95rem, 1.35vw, 1.12rem); line-height: 1.75; color: #446955; }
  .hero .eyebrow { color: #2f7a60; font-size: .68rem; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
  .hero-cta { display: flex; align-items: center; gap: .7rem; padding: .95rem 1rem; border-radius: 12px; min-width: 230px; width: 100%; }
  .hero-cta.primary { background: var(--orange-bright); color: #143d2d; box-shadow: 0 8px 24px #dd601d17; }
  .hero-cta.secondary { background: #ffffffd9; border: 1px solid #ffffff; color: #154b39; }
  .hero-cta > .icon:first-child { width: 30px; height: 30px; }
  .hero-cta > .icon:last-child { margin-inline-start: auto; width: 18px; }
  .hero-cta strong { display: block; font-size: 1rem; line-height: 1.5; }
  .hero-cta small { display: block; opacity: 1; font-size: .72rem; margin-block-start: .15rem; }
  .hero-art { display: none; }
  .hero-caption { position: absolute; inset-inline-end: 1.2rem; inset-block-end: .65rem; font-size: .75rem; color: #596f5f; }
  .desktop-break { display: none; }
  .market-layout { display: grid; gap: 2rem; margin-block-start: 2.25rem; scroll-margin-top: 1.5rem; }
  .market-main { min-width: 0; }
  .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-block-end: 1.1rem; }
  .section-heading .eyebrow { font-size: .68rem; margin-block-end: .4rem; }
  .section-heading h2 { font-size: clamp(1.45rem, 2.7vw, 2.1rem); }
  .count-note { font-size: .85rem; color: var(--muted); white-space: nowrap; }
  .market-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-end: 1rem; }
  .market-toolbar select { font-size: .875rem; padding: .5rem .45rem; min-height: 44px; flex: 1; }
  .search-field { flex: 1 1 100%; position: relative; }
  .search-field .icon { position: absolute; inset-inline-start: .75rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #596f5f; pointer-events: none; }
  .search-field input { width: 100%; padding-inline-start: 2.15rem; min-height: 44px; font-size: .875rem; background: #fff; }
  .project-list { display: flex; flex-direction: column; gap: 1rem; }
  .project-row { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 1rem 1rem 1.2rem; box-shadow: var(--shadow); min-width: 0; }
  .project-row.featured { border-color: #f39063; box-shadow: inset 0 0 0 1px #f9c9b2, var(--shadow); }
  .card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem .75rem; margin-block-end: 1rem; }
  .card-top h3 { display: flex; align-items: center; gap: .45rem; font-size: 1.5rem; color: #b94412; letter-spacing: -.04em; }
  .card-top > span { font-size: .78rem; color: #596f5f; }
  .project-body { display: grid; gap: 1.2rem; }
  .project-identity { display: flex; align-items: center; gap: 1rem; }
  .project-identity h4 { font-size: 1.25rem; margin-block: .15rem .55rem; }
  .spec { font-size: .9rem; font-weight: 650; line-height: 1.6; }
  .spec span { color: #294f3e; }
  .chip-art { width: 85px; height: 85px; flex-shrink: 0; border-radius: 22px; background: linear-gradient(145deg, #d9f1e2, #a9d7be); display: grid; place-items: center; transform: rotate(-7deg); position: relative; box-shadow: 0 9px 0 #daede2; }
  .chip-art::before { content: ''; position: absolute; inset: 13px; border: 2px solid #76b898; border-radius: 9px; }
  .chip-art .icon { width: 49px; height: 49px; color: #16533f; stroke-width: 1.3; transform: rotate(7deg); }
  .project-proof { display: flex; flex-direction: column; align-items: flex-start; }
  .qualifications { display: flex; flex-wrap: wrap; gap: .4rem; margin-block-end: .9rem; }
  .quality { display: inline-flex; align-items: center; gap: .3rem; border-radius: 20px; padding: .23rem .5rem; font-size: .75rem; line-height: 1.55; font-weight: 650; background: #f0f5f0; }
  .quality.green { color: #087c5b; background: #e9f6ee; } .quality.blue { color: #35669b; background: #edf3fc; }
  .quality.amber { color: #89581b; background: #fff0d9; }
  .quality .icon { width: 14px; height: 14px; stroke-width: 2.2; }
  .materials { font-size: .9rem; display: inline-flex; align-items: center; gap: .3rem; margin-block-start: .25rem; white-space: normal; }
  .materials .icon { color: #2d9974; width: 19px; }
  .project-rewards { border-block-start: 1px solid #e9efea; padding-block-start: .9rem; }
  .base-rewards { display: flex; align-items: center; gap: .35rem; font-size: .83rem; margin-block: .1rem .5rem; }
  .chart-mark { display: inline-flex; gap: 2px; align-items: flex-end; width: 18px; height: 15px; }
  .chart-mark i { display: inline-block; width: 4px; background: #f67838; border-radius: 1px; height: 7px; }
  .chart-mark i:nth-child(2) { height: 11px; } .chart-mark i:nth-child(3) { height: 15px; }
  .split-label { font-size: .75rem; margin-block-end: .35rem; }
  .split-line { display: flex; justify-content: space-between; font-size: .78rem; }
  .split-line b { color: #d05a24; }
  .split-line:has(+ .designer) b { color: var(--green); }
  .split-bar { height: 5px; border-radius: 20px; background: #f7e8df; overflow: hidden; margin-block: .15rem .3rem; }
  .split-bar i { display: block; height: 100%; border-radius: inherit; background: #f87a40; }
  .split-bar.designer { background: #e2f0e7; } .split-bar.designer i { background: #219978; }
  .project-collateral { border-block-start: 1px solid #e9efea; padding-block-start: .9rem; display: flex; flex-direction: column; align-items: flex-start; }
  .deposit { display: flex; align-items: center; gap: .3rem; font-weight: 750; color: #174c3b; font-size: 1.3rem; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .deposit .icon { width: 19px; }
  .deposit small { font-size: .78rem; font-weight: 650; }
  .deposit-note { color: #596f5f; font-size: .75rem; }
  .valuation-basis { display: block; margin-block: .25rem .4rem; color: #56705a; font-size: .75rem; line-height: 1.6; }
  .collateral-shortfall { display: block; color: #8f5218; background: #fff1db; padding: .35rem .45rem; border-radius: 5px; margin-block: .4rem; font-size: .78rem; line-height: 1.6; }
  .valuation-partial-note { display: block; font-size: .72rem; line-height: 1.7; color: #8c5f20; margin-block: .35rem; }
  .market-source-status { border: 1px solid #d5e3d5; border-radius: 11px; background: #f2f7ed; padding: .9rem 1.2rem; margin-block: 1.2rem -.4rem; }
  .market-source-status > div { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
  .source-connection { border: 1px solid #bcd6c0; border-radius: 5px; color: #2b704b; font-size: .78rem; padding: .12rem .45rem; }
  .market-source-status strong { font-size: .87rem; color: #4e6749; }
  .market-source-status p { color: #5b7056; font-size: .79rem; margin-block: .35rem; }
  .market-source-status small { color: #5b7056; font-size: .78rem; display: block; line-height: 1.8; }
  .protocol-cost { margin-block: 1.2rem; padding: 1rem; border-radius: 10px; border: 1px solid #cfe1d0; background: #f1f7ee; }
  .protocol-cost > strong { display: block; font-size: 1.1rem; color: #285b3c; margin-block: .25rem; }
  .protocol-cost > p { color: #59705b; font-size: .77rem; line-height: 1.75; }
  .collateral-valuation .deposit-note { display: block; font-size: .75rem; line-height: 1.7; }
  .collateral-valuation .muted { font-size: .83rem; line-height: 1.8; margin-block-start: .6rem; }
  .valuation-note, .valuation-required { font-size: .79rem; line-height: 1.8; color: #5a735e; margin-block-start: .55rem; }
  .collateral-valuation > small { display: block; margin-block-start: .5rem; color: #5b735e; font-size: .78rem; }
  .project-collateral .button { width: 100%; min-height: 42px; margin-block-start: .75rem; font-size: .85rem; }
  .reward-preview { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; border-block-start: 1px solid #e3eee5; margin-block-start: 1.2rem; padding-block-start: .9rem; }
  .reward-preview > div { flex: 1; min-width: 120px; }
  .reward-preview > div > strong { display: block; font-size: 1.12rem; color: #1a6f4f; line-height: 1.55; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
  .reward-preview strong > b { font-weight: 750; }
  .reward-preview .bonus-preview { flex: .75; }
  .reward-preview .people-income { flex: 1.1; min-width: 140px; }
  .reward-preview .people-income strong { font-size: 1.2rem; }
  .reward-preview .designer-income strong { color: #167752; }
  .reward-preview .investor-income strong { color: #a94a1b; }
  .reward-preview .estimate-condition { flex: 1 1 100%; min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; font-size: .78rem; color: #59715f; }
  .share-unsaved { color: #9a5b18; font-weight: 650; }
  .share-unsaved[hidden] { display: none; }
  .reward-preview .share-preview-control { flex: 1 1 100%; min-width: 0; padding: .7rem .8rem; background: #f3f8f1; border-radius: 8px; }
  .share-preview-control label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; font-size: .8rem; color: #4b6b53; }
  .share-preview-control output { font-weight: 500; }
  .share-preview-control input { width: 100%; min-height: 22px; padding: 0; accent-color: #208760; background: transparent; }
  .share-preview-control small { display: block; color: #59715f; font-size: .75rem; }
  .reward-preview strong small { font-size: .75rem; font-weight: 500; color: #526e5b; white-space: nowrap; }
  .bonus-preview strong > span { display: inline-block; font-size: .75rem; font-weight: 550; margin-inline-start: .5rem; color: #526e5b; }
  .estimate-label { border: 1px solid #d1e4d7; border-radius: 5px; padding: .2rem .45rem; color: #55735e; font-size: .75rem; white-space: nowrap; background: #f4f9f3; }
  .yield-breakdown { flex: 1 1 100%; border: 0; padding: 0; margin: 0; background: transparent; }
  .yield-breakdown summary { font-size: .82rem; color: #3f7756; font-weight: 600; min-height: 30px; }
  .yield-breakdown dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; background: #f1f7f1; border-radius: 9px; padding: 1rem; margin-block: .5rem .75rem; }
  .yield-breakdown dt { color: #597160; font-size: .78rem; }
  .yield-breakdown dd { font-size: .85rem; color: #214f37; margin-block-start: .15rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
  .yield-breakdown > p, .estimate-source { color: #597160; font-size: .78rem; line-height: 1.75; }
  .yield-breakdown > p + p { margin-block-start: .35rem; }
  .estimate-source { display: flex; flex-direction: column; margin-block-start: .65rem; }
  .yield-breakdown .estimate-warning { color: #8a601f; margin-block-start: .5rem; }
  .reward-preview.is-pending { gap: .4rem 1.5rem; }
  .reward-preview.is-pending > p { flex: 1 1 100%; font-size: .8rem; color: #6b765c; }
  .reward-preview.is-pending strong { font-size: .95rem; color: #6a775e; }
  .detail-estimate .reward-preview { border: 0; margin: 0; padding: 0; }
  .detail-estimate .reward-preview > div > strong { font-size: 1.6rem; }
  .project-row.is-void { background: #f1f5f1; box-shadow: none; }
  .designer-step.cancelled-banner { border-left: 3px solid #9aa79a; padding-left: 12px; }
  .void-content { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
  .mini-chip { color: #588973; background: #dfede3; border-radius: 13px; width: 62px; height: 62px; display: grid; place-items: center; }
  .mini-chip .icon { width: 34px; height: 34px; }
  .void-content .spec { font-size: .82rem; }
  .void-message { display: flex; gap: .65rem; flex-basis: 100%; }
  .void-message > .icon { color: #b67a27; width: 22px; margin-block-start: .2rem; }
  .void-message strong { font-size: .88rem; }
  .void-message p { font-size: .8rem; color: #596f5f; margin-block-start: .2rem; }
  .void-deposit { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
  .void-deposit > strong { color: #9b641e; font-size: .85rem; }
  .void-deposit small { font-size: .75rem; color: #596f5f; }
  .void-content .button { font-size: .8rem; }
  .market-aside { display: grid; align-content: start; gap: 1rem; }
  .guide-panel { background: #e7f4ec; padding: 1.6rem 1.25rem; border-radius: 16px; }
  .guide-panel h2, .read-first h2 { font-size: 1.25rem; letter-spacing: -.03em; }
  .guide-steps { list-style: none; margin-block-start: 1.6rem; }
  .guide-steps li { display: flex; position: relative; align-items: flex-start; gap: .65rem; margin-block-end: 1.8rem; }
  .guide-steps li:last-child { margin: 0; }
  .guide-steps li:not(:last-child)::after { content: ''; position: absolute; width: 1px; border-inline-start: 1px dashed #86bba1; top: 32px; bottom: -25px; left: 12px; }
  .step-number { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-weight: 650; background: #2c9676; color: white; font-size: .8rem; flex-shrink: 0; }
  .guide-steps li > .icon { background: #d0edde; color: #146b50; padding: 9px; width: 44px; height: 44px; border-radius: 14px; }
  .guide-steps h3 { font-size: .92rem; letter-spacing: -.02em; margin-block: .1rem .4rem; }
  .guide-steps p { font-size: .82rem; line-height: 1.65; color: #596f5f; }
  .read-first { background: #eef7f0; border-radius: 16px; padding: 1.3rem 1.25rem .5rem; }
  .read-first > a { display: flex; align-items: center; gap: .65rem; padding: 1rem 0; }
  .read-first > a + a { border-block-start: 1px solid #dfece2; }
  .read-first > a > .icon { flex-shrink: 0; width: 35px; height: 35px; padding: 7px; background: #dceee2; border-radius: 50%; }
  .read-first strong { display: block; font-size: .88rem; }
  .read-first small { display: block; font-size: .78rem; color: var(--muted); margin-block-start: .15rem; }
  .read-first a > span:last-child { margin-inline-start: auto; color: #5c8970; }
  .aside-note { font-size: .8rem; color: #596f5f; line-height: 1.8; padding-inline: .4rem; }
  .source-notes { color: #596f5f; font-size: .78rem; padding: 1.3rem .25rem 0; line-height: 1.75; }
  .source-notes span { display: flex; align-items: center; gap: .35rem; }
  .source-notes .icon { width: 13px; height: 13px; }
  .source-notes p { margin-block-start: .3rem; }
  .site-footer { max-width: 1536px; margin: auto; padding: 1.2rem clamp(1rem, 2.5vw, 2.5rem) max(1.2rem, env(safe-area-inset-bottom)); border-block-start: 1px solid #dfebe1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: #596f5f; font-size: .8rem; }
  .footer-brand { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; color: #2d5e45; }
  .site-footer > div { display: flex; flex-wrap: wrap; gap: .8rem; margin-inline-start: auto; }
  .page-heading { margin-block: 1.4rem 2rem; }
  .page-heading h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .page-heading p { color: var(--muted); margin-block-start: .75rem; font-size: .96rem; }
  .back-link { display: inline-block; color: #3f6f58; font-size: .875rem; margin-block-end: 1.8rem; }
  .detail-grid, .publish-layout { display: grid; gap: 1.5rem; align-items: start; }
  .detail-main, .detail-section, .publish-form, .prose-panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 1.4rem; }
  .detail-title { display: flex; justify-content: space-between; align-items: center; margin-block-end: 1.8rem; gap: 1rem; }
  .detail-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-block: 1rem .35rem; }
  .detail-title h2 > span { font-size: .7em; font-weight: 500; color: #5e7f68; }
  .detail-title p { color: #668372; font-weight: 650; }
  .detail-main .qualifications .quality { font-size: .78rem; }
  .details-list { margin-block-start: 1.5rem; }
  .details-list > div { display: grid; gap: .4rem; padding-block: 1rem; border-block-start: 1px solid #e4eee7; }
  .details-list dt { color: #596f5f; font-size: .84rem; }
  .details-list dd { font-size: .9rem; font-weight: 550; overflow-wrap: anywhere; min-width: 0; }
  .details-list dd.address { font-size: .77rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
  .details-list dd small { display: block; margin-block-start: .35rem; font-weight: 400; color: #596f5f; }
  .detail-section { margin-block-start: 1.2rem; }
  .detail-section h2 { font-size: 1.3rem; margin-block-end: 1.4rem; }
  .reward-explain { display: grid; gap: 1.3rem; }
  .reward-explain strong { display: block; }
  .reward-explain p { color: var(--muted); font-size: .83rem; margin-block-start: .4rem; }
  .reward-explain h3 { font-size: 1.05rem; margin-block-start: .6rem; }
  .number-accent { display: block; color: var(--green); font-size: 2.4rem; line-height: 1.3; font-weight: 800; margin-block-end: .5rem; }
  .number-accent small { font-size: 1rem; }
  .cooperation-box { border: 1px solid #d0e3d5; background: #e8f4eb; padding: 1.5rem; border-radius: 16px; }
  .cooperation-box h2 { font-size: 1.55rem; margin-block-end: 1.4rem; }
  .cooperation-box h3 { font-size: .96rem; margin-block-end: .6rem; }
  .cooperation-box > p { font-size: .85rem; line-height: 1.8; }
  .material-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-block-end: .2rem; }
  .material-total .icon { align-self: center; color: #3d9d73; width: 28px; height: 28px; }
  .material-total strong { font-size: 2.75rem; line-height: 1.25; letter-spacing: -.05em; }
  .material-total span { font-size: .9rem; }
  .cooperation-box .deposit { font-size: 1.7rem; margin-block: .45rem; }
  .cooperation-box .deposit small { font-size: .8rem; font-weight: 500; }
  .cooperation-box .text-link { display: inline-block; font-size: .8rem; margin-block-start: .6rem; }
  .inline-account { margin-block: 1.4rem .6rem; font-size: .82rem; color: #596f5f; }
  .action-reason { color: #89602e; background: #fff6e8; padding: .7rem .8rem; border-radius: 8px; font-size: .77rem !important; }
  .safety-note { color: #596f5f; font-size: .78rem; display: block; margin-block-start: 1rem; text-align: center; }
  .order-actions { margin-block-start: 1.4rem; }
  .action-option { border-block-start: 1px solid #ccdecf; padding-block: 1rem; }
  .action-option h4 { font-size: .94rem; margin-block-end: .45rem; }
  .action-option > p, .action-explanation { font-size: .8rem; line-height: 1.75; color: #596f5f; }
  .action-explanation { display: block; margin-block-start: .65rem; }
  .action-option label { margin-block-start: .8rem; font-size: .76rem; }
  .action-option select { width: 100%; font-size: .76rem; }
  .action-option > small:not(.action-explanation) { display: block; color: #795723; font-size: .72rem; }
  .progress-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin: 0; }
  .progress-list li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; color: #5f7a68; font-size: .8rem; line-height: 1.4; }
  .progress-list li:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 14px); border-block-start: 2px solid #d7e5db; }
  .progress-list li.done:not(:last-child)::after { border-color: #2b8f6a; }
  .progress-list li span { position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid #d7e5db; border-radius: 50%; width: 29px; height: 29px; margin-block-end: .4rem; background: #f4f8f4; }
  .progress-list li.done span { color: #fff; background: #2b8f6a; border-color: #2b8f6a; }
  .progress-list li.current { color: #1f5f43; font-weight: 600; }
  .progress-list li.current span { border-color: #2b8f6a; border-width: 2px; color: #1f5f43; background: #fff; }
  .progress-list + p { font-size: .78rem; }
  .wizard-steps { display: flex; list-style: none; border-block-end: 1px solid var(--line); padding-block-end: 1.2rem; margin-block-end: 1.8rem; gap: .7rem; justify-content: space-between; }
  .wizard-steps li { display: flex; flex-direction: column; gap: .4rem; align-items: center; font-size: .75rem; color: #596f5f; }
  .wizard-steps li span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #edf3ed; font-size: .8rem; }
  .wizard-steps li.current { color: #ba511f; font-weight: 700; } .wizard-steps li.current span { background: #ffeadb; color: #ab4519; }
  .wizard-steps li.complete span { color: #10724e; background: #dceddf; }
  .publish-form h2 { font-size: 1.5rem; margin-block-end: .8rem; }
  .publish-form form > .muted { font-size: .85rem; margin-block-end: 1.5rem; }
  .form-grid { display: grid; gap: 1rem; margin-block-end: 1.3rem; }
  .form-grid input, .form-grid select { width: 100%; }
  .publish-form label { font-size: .86rem; }
  .file-zone { display: flex; flex-direction: column; gap: .5rem; border: 1px dashed #9dc2a8; background: #f1f8f1; border-radius: 11px; padding: 1.8rem 1rem; align-items: center; text-align: center; cursor: pointer; }
  .file-zone:focus-within { outline: 3px solid #146c94; outline-offset: 4px; }
  .file-zone > .icon { width: 38px; height: 38px; color: #428767; }
  .file-zone > strong { font-size: .98rem; max-width: 100%; overflow-wrap: anywhere; }
  .file-zone > span { font-weight: 400; font-size: .8rem; color: #596f5f; }
  .file-zone input { font-size: .74rem; background: #fff; margin-block-start: .7rem; max-width: 100%; width: 100%; min-height: auto; padding: .5rem; }
  .file-zone input::file-selector-button { border: 0; border-radius: 5px; background: #e3efe4; color: #275d41; padding: .4rem .5rem; cursor: pointer; margin-inline-end: .45rem; font: inherit; }
  .publish-guide { padding: 1.6rem; background: #e6f3e9; border-radius: 16px; }
  .publish-guide h2 { font-size: 1.7rem; line-height: 1.45; }
  .publish-guide h3 { font-size: .92rem; margin-block: 1.4rem .55rem; }
  .publish-guide ul { padding-inline-start: 1.1rem; }
  .publish-guide p, .publish-guide li { font-size: .81rem; color: #5f7c67; line-height: 1.9; }
  .publish-guide > a { display: inline-block; margin-block-start: 1.5rem; font-size: .82rem; }
  .mini-workshop { display: flex; align-items: center; gap: 1.7rem; margin-block: 2rem; color: #278360; }
  .mini-workshop .icon { width: 55px; height: 55px; } .mini-workshop .icon:nth-child(2) { width: 23px; }
  .upload-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: 1rem; background: #eef7ef; border-radius: 10px; margin-block: 1.25rem 1.8rem; }
  .upload-summary strong { display: block; } .upload-summary span:not(.tag) { display: block; color: #596f5f; font-size: .76rem; }
  .upload-summary > .icon { width: 30px; height: 30px; color: #428365; } .upload-summary > .tag { margin-inline-start: auto; }
  .percent-input { display: flex; align-items: center; gap: .7rem; } .percent-input input { width: 110px; }
  .form-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-block-start: 1.5rem; }
  .mine-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-radius: 12px; background: #e8f3ea; gap: 1rem; margin-block-end: 1.5rem; }
  .mine-summary > div { display: flex; gap: .8rem; align-items: center; min-width: 0; }
  .mine-summary span { font-size: .82rem; color: #596f5f; min-width: 0; } .mine-summary strong { display: block; font-size: .86rem; color: #345e43; overflow-wrap: anywhere; }
  .rules-layout { display: grid; gap: 1.5rem; align-items: start; }
  .rules-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
  .rules-nav a { padding: .5rem .75rem; border-radius: 8px; background: #eaf4ec; color: #527a5d; font-size: .8rem; }
  .prose-panel { padding: clamp(1.4rem, 3vw, 2.5rem); }
  .prose-panel section + section { margin-block-start: 2.5rem; padding-block-start: 2rem; border-block-start: 1px solid var(--line); }
  .prose-panel section h2 { font-size: 1.5rem; line-height: 1.45; margin-block-end: 1rem; }
  .prose-panel p { font-size: .9rem; color: #627967; margin-block: 1rem 0; line-height: 1.95; }
  .rules-layout .prose-panel p { font-size: 18px; line-height: 1.8; color: #385641; margin-block: 1rem 0; }
  .rules-layout .prose-panel section h2 { font-size: 1.65rem; line-height: 1.5; }
  .rules-layout .rules-nav a { font-size: .95rem; }
  .rules-layout .prose-panel .formula { font-size: 17px; line-height: 1.8; padding: 1.2rem; }
  .formula { padding: 1.1rem; background: #eff6ef; color: #315e3f; font-size: .9rem; font-weight: 650; border-radius: 10px; }
  .open-source-panel { max-width: 1050px; margin-inline: auto; }
  .open-source-panel > h2 { font-size: 2rem; line-height: 1.45; }
  .open-label { display: inline-block; background: #e4f3e7; color: #22744b; border-radius: 6px; font-size: .72rem; font-weight: 700; padding: .4rem .7rem; margin-block-end: 1.5rem; letter-spacing: .08em; }
  .open-source-grid { display: grid; gap: 1.5rem; margin-block: 2rem; }
  .open-source-grid h3 { margin-block-start: .7rem; } .open-source-grid > div > .icon { color: #287e56; width: 33px; height: 33px; }
  .open-source-grid p { margin-block-start: .5rem; font-size: .82rem; }
  .loading-block { text-align: center; padding: 5rem 1rem; color: #5e7b65; }
  .loading-block h1 { font-size: 1.6rem; margin-block: 1.5rem .6rem; }
  .loading-block p { margin-block-start: 1rem; font-size: .9rem; }
  .error-page { max-width: 750px; padding: 6rem 1rem; margin: auto; text-align: center; }
  .error-page > .icon { width: 50px; height: 50px; color: #a57435; margin-block-end: 1rem; }
  .error-page h1 { font-size: 2rem; } .error-page p { margin-block: 1rem; } .error-page .button { margin-block-start: 1rem; }
  .empty-state { text-align: center; padding: 3rem 1.25rem; background: #f1f6f1; border: 1px dashed #d0e1d3; border-radius: 14px; }
  .empty-state > .icon { width: 35px; height: 35px; color: #82a38b; margin-block-end: 1rem; }
  .empty-state h3 { font-size: 1.15rem; } .empty-state p { font-size: .84rem; color: #596f5f; margin-block: .7rem 1.2rem; }
  dialog { border: 1px solid #cce0d0; border-radius: 18px; max-width: min(620px, calc(100vw - 2rem)); width: 620px; padding: clamp(1.2rem, 3vw, 2rem); color: var(--ink); background: #fcfefb; box-shadow: 0 24px 100px #0a342a30; max-height: calc(100dvh - 3rem); overflow-y: auto; }
  dialog::backdrop { background: #173b2b66; }
  .dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-block-end: 1.2rem; }
  .dialog-heading h2 { font-size: 1.55rem; }.dialog-heading .eyebrow { margin-block-end: .5rem; }
  .icon-button { border: 1px solid #d9e6db; background: #edf5ed; border-radius: 50%; width: 36px; min-height: 36px; color: #537960; font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
  dialog .muted { font-size: .86rem; margin-block-end: 1.4rem; } dialog label { font-size: .85rem; } dialog input { width: 100%; font-size: .85rem; }
  .dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; margin-block-start: 1.4rem; }
  .check-list { list-style: none; padding: .25rem 0; } .check-list li { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem .2rem; color: #7d6c46; font-size: .85rem; border-block-end: 1px solid #e8ece3; }
  .check-list .icon { width: 18px; height: 18px; margin-block-start: .25rem; } .check-list li.check-done { color: #238158; }
  .result-heading { display: flex; gap: .6rem; align-items: center; margin-block: 1.5rem 1rem; }
  details { border: 1px solid var(--line); border-radius: 9px; margin-block: 1rem; padding: .7rem 1rem; font-size: .82rem; } summary { cursor: pointer; min-height: 32px; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .7rem; background: #f0f5ee; padding: .8rem; max-height: 300px; overflow-y: auto; }
}
@layer responsive {
  @media (max-width: 559px) { .label, .quality, .source-notes, .card-top > span, .deposit-note, .split-label, .split-line, .materials, .aside-note, .void-message strong, .void-message p, .void-deposit > strong, .void-deposit small, .guide-steps p, .read-first small { font-size: .875rem; } .quality { padding: .25rem .5rem; } .void-content .button { font-size: .82rem; } .project-rewards, .project-collateral { padding-block-start: 1rem; } }
  @media (min-width: 560px) { .mobile-break { display: none; } .open-plan { display: block; } .hero-actions { flex-wrap: nowrap; } .hero-cta { width: auto; min-width: 0; flex: 1; } .project-body { grid-template-columns: 1fr 1fr; } .project-rewards, .project-collateral { border: 0; padding-block-start: 0; } .form-grid { grid-template-columns: 1fr 1fr; } .wizard-steps li { flex-direction: row; gap: .5rem; } .details-list > div { grid-template-columns: 155px 1fr; } .reward-explain { grid-template-columns: 1fr 1.4fr; gap: 2rem; } }
  @media (min-width: 800px) { .hero { padding: 2.2rem 2rem; } .hero-copy { max-width: 62%; } .hero-art { display: block; position: absolute; width: 46%; right: -2%; top: 12%; } .hero h1 { font-size: clamp(2.65rem, 5.1vw, 4rem); white-space: nowrap; } .hero-cta { padding: .8rem .9rem; } .hero-cta > .icon:first-child { width: 25px; height: 25px; } .hero-cta strong { font-size: .9rem; } .hero-cta small { font-size: .75rem; } .desktop-break { display: block; } .market-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 1.4rem; } .market-toolbar { flex-wrap: nowrap; } .market-toolbar .search-field { flex-basis: auto; flex-grow: 2; min-width: 110px; } .market-toolbar select { max-width: 125px; } .guide-panel { padding-inline: 1rem; } .guide-steps { margin-block-start: 1.5rem; } .guide-steps li > .icon { width: 34px; height: 34px; padding: 6px; } .guide-steps li { gap: .5rem; } .guide-steps p { font-size: .8rem; } .guide-steps h3 { font-size: .92rem; } .guide-panel h2, .read-first h2 { font-size: 1.12rem; } .read-first { padding-inline: 1rem; } .read-first strong { font-size: .85rem; } .read-first small { font-size: .75rem; } .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; } .cooperation-box { position: sticky; top: 1rem; } .publish-layout { grid-template-columns: minmax(0, 1fr) 300px; } .rules-layout { grid-template-columns: 175px minmax(0, 1fr); } .rules-nav { flex-direction: column; position: sticky; top: 1rem; } .rules-nav a { padding: .75rem 1rem; } .open-source-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } }
  @media (min-width: 1060px) { .site-header { flex-wrap: nowrap; padding-block: 1rem; gap: 1.7rem; } .brand { margin-inline-end: .65rem; } .main-nav { order: initial; flex-basis: auto; gap: 1.65rem; margin-inline-end: auto; overflow: visible; } .main-nav a { font-size: .88rem; } .header-actions { gap: 1.4rem; } .hero { padding: 2.5rem 2.2rem; min-height: 330px; } .hero-copy { max-width: 62%; } .hero-art { width: 47%; top: 9%; right: -1%; } .hero-copy > p { max-width: 85%; } .hero-actions { max-width: 625px; } .hero-cta { padding: 1rem; } .hero-cta strong { font-size: 1rem; } .hero-cta small { font-size: .75rem; } .hero-cta > .icon:last-child { display: none; } .market-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 1.5rem; } .project-row { padding: 1rem 1.1rem 1.15rem; } .project-body { grid-template-columns: 1.25fr 1.15fr 1.12fr 1.03fr; gap: .8rem; } .project-identity { flex-direction: column; align-items: flex-start; gap: .8rem; } .chip-art { width: 70px; height: 70px; border-radius: 16px; } .chip-art::before { inset: 10px; } .chip-art .icon { width: 42px; height: 42px; } .project-identity h4 { font-size: 1.14rem; margin-block-end: .6rem; } .spec { font-size: .82rem; } .project-rewards { border-inline-start: 1px solid #e8efe8; padding-inline-start: .65rem; } .project-collateral { border-inline-start: 1px solid #e8efe8; padding-inline-start: .65rem; } .qualifications { gap: .4rem; flex-direction: column; align-items: flex-start; } .quality { font-size: .75rem; padding: .2rem .45rem; } .quality .icon { width: 12px; height: 12px; } .materials { font-size: .82rem; align-items: flex-start; } .label { font-size: .78rem; } .base-rewards { font-size: .82rem; gap: .2rem; } .split-label { font-size: .75rem; } .split-line { font-size: .78rem; } .deposit { font-size: 1.15rem; flex-wrap: wrap; line-height: 1.45; margin-block: .45rem .25rem; } .deposit .icon { width: 16px; height: 16px; } .deposit small { font-size: .75rem; } .deposit-note { font-size: .75rem; } .project-collateral .button { margin-block-start: auto; font-size: .85rem; padding: .6rem .5rem; gap: .25rem; } .project-collateral .button .icon { width: 17px; } .void-content { flex-wrap: nowrap; gap: .8rem; } .void-content > div:nth-child(2) { flex: 1.15; } .void-message { flex: 1.7; flex-basis: auto; } .void-message strong { font-size: .85rem; } .void-message p { font-size: .78rem; } .void-deposit { flex: 1.2; } .void-deposit > strong { font-size: .82rem; } .void-content .button { font-size: .78rem; max-width: 160px; padding: .6rem .5rem; } .mini-chip { width: 47px; height: 47px; } .mini-chip .icon { width: 30px; } .guide-panel { padding: 1.5rem 1.2rem; } .guide-steps li > .icon { width: 40px; height: 40px; padding: 8px; } .guide-steps h3 { font-size: .95rem; } .guide-steps p { font-size: .82rem; } .detail-main, .detail-section, .publish-form { padding: 2rem; } .detail-grid { grid-template-columns: minmax(0, 1fr) 365px; gap: 2rem; } .cooperation-box { padding: 1.8rem; } .publish-layout { grid-template-columns: minmax(0, 1fr) 345px; max-width: 1190px; margin-inline: auto; } .publish-guide { padding: 2rem; } }
  @media (min-width: 1280px) { .hero { min-height: 350px; padding: 2.6rem 2.6rem; } .hero h1 { font-size: 4.15rem; } .hero-art { width: 45%; right: .5%; top: 6%; } .hero-copy > p { font-size: 1.05rem; } .hero-cta strong { font-size: 1.06rem; } .market-layout { grid-template-columns: minmax(0, 1fr) 305px; gap: 1.7rem; } .project-identity { flex-direction: row; align-items: center; gap: .75rem; } .chip-art { width: 70px; height: 70px; } .project-identity .label { font-size: .78rem; } .project-body { grid-template-columns: 1.45fr 1.25fr 1.22fr 1.2fr; gap: .9rem; } .quality { font-size: .75rem; } .spec { font-size: .85rem; } .project-identity h4 { margin-block-end: .6rem; } .deposit { font-size: 1.28rem; } .materials { font-size: .85rem; } .base-rewards { font-size: .85rem; } .project-collateral .button { font-size: .83rem; } .void-message strong { font-size: .82rem; } .void-content .spec { font-size: .85rem; } .void-content .button { font-size: .8rem; } .brand > span { font-size: 1.7rem; } .main-nav { gap: 2.3rem; } .main-nav a { font-size: .96rem; } }
  @media (pointer: coarse) { .text-button { min-height: 44px; } .rules-nav a { min-height: 44px; } .icon-button { width: 44px; min-height: 44px; } .environment-bar .text-button { min-height: 32px; } }
  @media (forced-colors: active) { .hero, .guide-panel, .cooperation-box, .project-row, .tag, .quality, .button { border: 1px solid CanvasText; } .status-dot { background: CanvasText; } .chip-art { border: 1px solid CanvasText; } }
}
