.hdj-app{
  --hdj-ink:#153e3d;--hdj-muted:#4f6963;--hdj-line:#cbd9cd;--hdj-action:#115b52;--hdj-paper:#fffdf7;
  min-width:0;color:var(--hdj-ink);background:var(--hdj-paper);border:1px solid var(--hdj-line);
  border-radius:15px;text-align:start;overflow-wrap:anywhere
}
.hdj-app *,.hdj-app *::before,.hdj-app *::after{box-sizing:border-box}
.hdj-app :is(p,h3){margin:0}
.hdj-app :is(button,input,textarea,select){font:inherit}
.hdj-app :is(button,select,input,textarea):focus-visible{outline:3px solid #b55b2c;outline-offset:3px}
.hdj-toolbar,.hdj-entry,.hdj-empty,.hdj-form,.hdj-footer{
  padding-inline:clamp(16px,3.5vw,34px)
}
.hdj-toolbar{display:flex;gap:12px 16px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-block:17px;border-bottom:1px solid var(--hdj-line)}
.hdj-summary,.hdj-tools,.hdj-actions,.hdj-entry-meta,.hdj-field-label{display:flex;align-items:center}
.hdj-summary{gap:9px;color:var(--hdj-muted);font-size:.91rem;line-height:1.35}
.hdj-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;padding:2px 7px;border:1px solid var(--hdj-line);border-radius:5px;color:var(--hdj-ink);font-variant-numeric:tabular-nums}
.hdj-tools,.hdj-actions{flex-wrap:wrap;gap:8px}
.hdj-app .hdj-button,.hdj-sort select{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:42px;
  padding:9px 14px;border:1px solid #b4c7bc;border-radius:7px;background:var(--hdj-paper);color:var(--hdj-ink);
  font-family:inherit;font-size:.92rem;font-weight:680;line-height:1.35;text-align:center;white-space:normal;cursor:pointer
}
.hdj-app .hdj-button:hover,.hdj-sort select:hover{background:#eef3e9}
.hdj-app .hdj-primary{background:var(--hdj-action);color:#fff;border-color:var(--hdj-action)}
.hdj-app .hdj-primary:hover{background:#0b453e;color:#fff}
.hdj-add::before{content:"";display:inline-block;width:13px;height:13px;flex:0 0 13px;background:linear-gradient(currentColor,currentColor) center / 100% 1.6px no-repeat,linear-gradient(currentColor,currentColor) center / 1.6px 100% no-repeat}
.hdj-app button:disabled{opacity:.5;cursor:default}
.hdj-app .hdj-link{min-height:40px;padding:7px 9px;background:transparent;color:var(--hdj-muted);border-color:transparent;font-size:.86rem}
.hdj-app .hdj-danger{color:#813c2d;border-color:#d4afa2}
.hdj-sort{min-width:0;max-width:100%}
.hdj-sort select{display:block;min-width:0;max-width:100%;font-weight:520;text-align:start}
.hdj-empty{display:flex;min-height:165px;align-items:center;gap:clamp(15px,3vw,27px);padding-block:32px;background:linear-gradient(112deg,rgba(179,208,181,.16),transparent 67%);border-radius:0 0 15px 15px}
.hdj-book{position:relative;display:block;flex:0 0 41px;height:52px;transform:rotate(-7deg);border-radius:3px 6px 6px 3px;border:1px solid #3c655e;border-inline-start:6px solid #517e6e;background:#e0ebd9;box-shadow:2px 3px 0 #b1c8b7}
.hdj-book>i{position:absolute;inset:12px 6px auto;height:13px;border-block:1px solid #7f9f89}
.hdj-book>i::after{position:absolute;inset:5px 0 auto;content:"";border-top:1px solid #7f9f89}
.hdj-app .hdj-empty-title{font-weight:690;font-size:clamp(1rem,2.1vw,1.18rem);line-height:1.35;color:var(--hdj-ink)}
.hdj-app .hdj-local{color:var(--hdj-muted);font-size:.875rem;line-height:1.55}
.hdj-empty-copy .hdj-local{margin-top:5px}
.hdj-form{display:grid;gap:17px;padding-block:22px;background:#f2f6ed;border-bottom:1px solid var(--hdj-line)}
.hdj-app .hdj-form>h3{font:inherit;font-size:1.14rem;font-weight:710;line-height:1.35}
.hdj-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.hdj-field{display:grid;align-content:start;min-width:0;gap:5px}
.hdj-site,.hdj-note{grid-column:1/-1}
.hdj-field-label{display:block;font-weight:650;font-size:.91rem;line-height:1.38}
.hdj-field-label small{font:inherit;color:var(--hdj-muted);font-weight:420}
.hdj-field :is(input,textarea){display:block;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #aebfb4;border-radius:6px;padding:9px 11px;background:#fff;color:var(--hdj-ink);font-size:1rem;line-height:1.4}
.hdj-field textarea{resize:vertical;min-height:74px}
.hdj-field :is(input[type=date],input[type=number]){text-align:start}
.hdj-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-block:19px;border-bottom:1px solid var(--hdj-line)}
.hdj-body{flex:1;min-width:0}
.hdj-entry-meta{gap:8px 12px;flex-wrap:wrap;font-size:.8rem;color:var(--hdj-muted);line-height:1.5;font-variant-numeric:tabular-nums}
.hdj-depth{display:inline-block;padding:1px 7px;background:#e8efe2;border-radius:4px;color:#305c48}
.hdj-app .hdj-site-name{font:inherit;font-size:1.07rem;line-height:1.4;font-weight:700;margin-top:4px}
.hdj-app .hdj-note-text{margin-top:4px;white-space:pre-wrap;line-height:1.55;color:var(--hdj-muted)}
.hdj-entry-actions{justify-content:flex-end;max-width:45%}
.hdj-app .hdj-confirm{flex-basis:100%;font-size:.9rem;line-height:1.4;color:#793a28}
.hdj-footer{padding-block:14px}
.hdj-notice:empty{display:none}
.hdj-app .hdj-notice:not(:empty){margin:0;padding:11px clamp(16px,3.5vw,34px);border-top:1px solid var(--hdj-line);color:#285543;font-size:.9rem}
.hdj-app .hdj-notice.hdj-error{color:#823b27;background:#fff3e7}
.hdj-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:560px){.hdj-toolbar{padding-block:13px}.hdj-empty{min-height:135px}.hdj-entry{align-items:stretch;flex-direction:column;gap:3px}.hdj-entry-actions{max-width:100%;justify-content:flex-start}.hdj-entry-actions .hdj-link{padding-inline:0;margin-inline-end:9px}.hdj-tools{justify-content:flex-start}}
@media(max-width:370px){.hdj-empty{gap:13px}.hdj-book{flex-basis:31px;height:43px}.hdj-field:not(.hdj-note):not(.hdj-site){grid-column:1/-1}.hdj-fields{gap:10px}.hdj-tools{gap:5px}}
