.developer-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.developer-hero { min-height: 430px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 64px; padding: 62px 0 54px; }
.developer-hero h1 { max-width: 790px; margin: 24px 0 18px; font-size: clamp(48px, 6.6vw, 77px); line-height: 1.01; letter-spacing: -.068em; }
.developer-hero h1 em { color: #347f9d; font-family: Georgia, "Songti SC", serif; font-weight: 500; }
.developer-hero p { max-width: 710px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.developer-hero-art { height: 245px; position: relative; display: grid; place-items: center; }
.developer-hero-art > div { width: 255px; height: 178px; position: relative; overflow: hidden; border: 9px solid #242321; border-radius: 25px; background: #25303a; box-shadow: 0 26px 50px rgba(35,52,61,.2); transform: rotate(2deg); }
.developer-hero-art > div span { position: absolute; display: grid; place-items: center; border-radius: 12px; color: #25303a; font: 850 18px/1 ui-monospace, monospace; }
.developer-hero-art > div span:nth-child(1) { left: 21px; top: 25px; width: 70px; height: 48px; background: #9fc8da; }
.developer-hero-art > div span:nth-child(2) { right: 22px; top: 49px; width: 78px; height: 56px; color: #673d22; background: #e7bd80; transform: rotate(-5deg); }
.developer-hero-art > div span:nth-child(3) { left: 58px; bottom: 19px; width: 55px; height: 48px; color: #fff; background: var(--coral); transform: rotate(4deg); }
.developer-hero-art code { position: absolute; right: -5px; bottom: 6px; padding: 11px 13px; border-radius: 11px; color: #d7efe4; background: #315f4d; font: 700 9px/1.45 ui-monospace, monospace; box-shadow: 0 12px 26px rgba(49,95,77,.22); transform: rotate(-4deg); }
.developer-workbench { margin-bottom: 34px; padding: 22px; border: 1px solid rgba(117,108,95,.2); border-radius: 28px; background: rgba(255,254,250,.86); box-shadow: 0 24px 64px rgba(58,50,39,.09); backdrop-filter: blur(12px); }
.developer-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 4px 3px 18px; }
.developer-heading > div:first-child { display: flex; align-items: baseline; gap: 12px; }
.developer-heading > div:first-child > span { color: #347f9d; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.developer-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.developer-heading .local-note { display: inline-flex; align-items: center; gap: 7px; color: #8d877e; font-size: 10px; }
.developer-heading .local-note i { width: 6px; height: 6px; border-radius: 50%; background: #58a47f; }
.developer-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-bottom: 13px; padding: 7px; border-radius: 14px; background: #eae6de; }
.developer-tabs button { min-height: 42px; border: 0; border-radius: 9px; color: #767068; background: transparent; font-size: 10px; font-weight: 850; cursor: pointer; }
.developer-tabs button:hover { color: #242321; background: rgba(255,255,255,.55); }
.developer-tabs button.active { color: #fff; background: #26323a; box-shadow: 0 8px 18px rgba(38,50,58,.16); }
.developer-panel { padding: 22px; border: 1px solid #e1dcd3; border-radius: 20px; background: #fff; }
.developer-panel[hidden] { display: none; }
.panel-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-intro > div:first-child > span { color: #347f9d; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.panel-intro h3 { margin: 7px 0 5px; font-size: 18px; }
.panel-intro p { max-width: 700px; margin: 0; color: #89837a; font-size: 10px; line-height: 1.55; }
.panel-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.panel-pills span, .warning-pill { padding: 6px 9px; border-radius: 999px; color: #3d6f5b; background: #e1eee8; font-size: 8px; font-weight: 800; }
.warning-pill { color: #8d5d20; background: #f6ead6; }
.base64-mode { width: max-content; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 10px; background: #f0ede7; }
.base64-mode button { min-width: 82px; min-height: 33px; border: 0; border-radius: 7px; color: #837d74; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.base64-mode button.active { color: #fff; background: #347f9d; }
.base64-file-zone { margin-bottom: 12px; }
.base64-file-zone[hidden] { display: none; }
.base64-file-zone > button:first-of-type { width: 100%; min-height: 86px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px dashed #b7c7ce; border-radius: 13px; color: #47606b; background: #f4f8fa; cursor: pointer; }
.base64-file-zone > button:first-of-type b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #347f9d; font-size: 17px; }
.base64-file-zone > button:first-of-type span { display: grid; gap: 4px; text-align: left; }
.base64-file-zone strong { font-size: 10px; }.base64-file-zone small { color: #8b9aa1; font-size: 8px; }
#base64FileInfo { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid #d7e3e7; border-radius: 12px; background: #f5fafb; }
#base64FileInfo[hidden] { display: none; }
#base64FileInfo > span { display: grid; gap: 4px; } #base64FileInfo button { border: 0; color: #9a5546; background: transparent; font-size: 9px; cursor: pointer; }
.dual-editor { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 8px; align-items: center; }
.dual-editor label, .wide-editor, .jwt-grid label { min-width: 0; display: grid; gap: 7px; }
.dual-editor label > span, .wide-editor > span, .jwt-grid label > span { display: flex; justify-content: space-between; gap: 12px; color: #514d47; font-size: 10px; }
.dual-editor small, .wide-editor small { color: #9a948b; font-size: 8px; font-weight: 500; }
.dual-editor textarea, .wide-editor textarea, .jwt-grid textarea { width: 100%; min-height: 285px; resize: vertical; border: 1px solid #dcd7ce; border-radius: 12px; padding: 13px; color: #292725; background: #faf9f6; font: 10px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; outline: 0; }
.dual-editor textarea:focus, .wide-editor textarea:focus, .jwt-grid textarea:focus { border-color: #6b9fb2; box-shadow: 0 0 0 3px rgba(52,127,157,.1); }
.dual-editor textarea[readonly], .wide-editor textarea[readonly], .jwt-grid textarea[readonly] { background: #f1f5f6; }
.editor-transfer { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #517889; background: #e4eff3; font-size: 13px; font-weight: 800; }
.tool-action-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.tool-action-bar > div { display: flex; flex-wrap: wrap; gap: 7px; }
.tool-action-bar button, .hash-source > button { min-height: 38px; border: 1px solid #d7d1c8; border-radius: 9px; padding: 0 12px; color: #68625a; background: #f4f1eb; font-size: 9px; font-weight: 800; cursor: pointer; }
.tool-action-bar button:hover, .hash-source > button:hover { border-color: #a8a198; background: #fff; }
.tool-action-bar .primary-dev-action { color: #fff; border-color: #26323a; background: #26323a; }
.tool-action-bar .primary-dev-action:hover { background: #3b4b55; }
.compact-check, .inline-options label { display: inline-flex; align-items: center; gap: 7px; color: #767068; font-size: 9px; font-weight: 700; }
.compact-check input, .inline-options input { accent-color: #347f9d; }
.developer-message { min-height: 16px; margin: 10px 0 0; color: #8b857d; font-size: 9px; line-height: 1.5; }
.developer-message[data-state="error"] { color: #c24831; }.developer-message[data-state="success"] { color: #26714f; }.developer-message[data-state="working"] { color: #347f9d; }
.compact-panel { min-height: 535px; }
.compact-panel .wide-editor textarea { min-height: 155px; }
.result-editor { margin-top: 14px; }.result-editor textarea { min-height: 205px; }
.inline-options { display: flex; flex-wrap: wrap; gap: 18px; margin: 11px 0 0; }
.uuid-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 18px; padding: 14px; border-radius: 12px; background: #f5f3ee; }
.uuid-controls > label:first-child { display: grid; gap: 7px; color: #5b564f; font-size: 9px; font-weight: 800; }
.uuid-controls input[type="number"] { width: 100px; min-height: 37px; border: 1px solid #d7d1c8; border-radius: 9px; padding: 0 10px; background: #fff; }
.hash-source { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 10px; }
.hash-source .wide-editor { grid-column: 1 / -1; }
.hash-source > span { min-height: 38px; display: flex; align-items: center; color: #8d877f; font-size: 9px; }
.hash-results { display: grid; gap: 8px; margin-top: 15px; }
.hash-results label { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 10px; color: #5e5952; font-size: 9px; font-weight: 850; }
.hash-results label > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.hash-results input { min-width: 0; height: 37px; border: 1px solid #ddd8cf; border-radius: 9px 0 0 9px; padding: 0 10px; color: #4a4c4e; background: #f2f5f6; font: 9px ui-monospace, monospace; }
.hash-results button { border: 0; border-radius: 0 9px 9px 0; padding: 0 11px; color: #fff; background: #657984; font-size: 8px; cursor: pointer; }
.jwt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.jwt-grid textarea { min-height: 220px; }
.jwt-meta { margin-top: 10px; padding: 11px 13px; border-radius: 10px; color: #526268; background: #edf4f6; font-size: 9px; }
.jwt-meta[hidden] { display: none; }
.developer-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 86px; }
.developer-benefits article { min-height: 145px; padding: 21px; border: 1px solid rgba(117,108,95,.18); border-radius: 17px; background: rgba(255,254,250,.56); }
.developer-benefits article > span { color: #347f9d; font: italic 700 11px Georgia, serif; }
.developer-benefits strong { display: block; margin: 18px 0 7px; font-size: 14px; }
.developer-benefits p { margin: 0; color: #837d75; font-size: 10px; line-height: 1.6; }

@media (max-width: 980px) {
  .developer-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 55px; }
  .developer-hero-art { display: none; }
  .developer-tabs { overflow-x: auto; grid-template-columns: repeat(6, minmax(90px, 1fr)); }
}
@media (max-width: 720px) {
  .developer-main { width: min(100% - 28px, 1180px); }
  .developer-hero { padding: 42px 0; }
  .developer-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .developer-workbench { padding: 13px; border-radius: 20px; }
  .developer-heading { align-items: flex-start; flex-direction: column; }
  .developer-heading > div:first-child { display: grid; }
  .developer-panel { padding: 15px; }
  .panel-intro { display: grid; }
  .panel-pills { justify-content: flex-start; }
  .dual-editor { grid-template-columns: 1fr; }
  .editor-transfer { margin: -2px auto; transform: rotate(90deg); }
  .dual-editor textarea { min-height: 220px; }
  .tool-action-bar { align-items: flex-start; }
  .tool-action-bar > div { width: 100%; }
  .tool-action-bar button { flex: 1; }
  .compact-check { width: 100%; }
  .hash-source { grid-template-columns: auto minmax(0, 1fr); }
  .hash-results label { grid-template-columns: 1fr; }
  .jwt-grid { grid-template-columns: 1fr; }
  .developer-benefits { grid-template-columns: 1fr; }
}
