*
{
  box-sizing:border-box
}
body
{
  color-scheme:dark;
  margin:0;
  background:radial-gradient(ellipse at 10% 5%,#174b54,transparent 65%),radial-gradient(ellipse at 100% 80%,#164336,transparent 65%),#081a20;
  color:#eafff8;
  font:16px/1.6 system-ui,sans-serif;
  min-height:100vh
}
main
{
  max-width:1100px;
  margin:auto;
  padding:32px 24px
}
header
{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:44px
}
a
{
  color:#a2f4dd;
  text-underline-offset:5px
}
h1
{
  font-size:clamp(28px,4vw,42px);
  letter-spacing:-1.3px;
  margin:8px 0 16px
}
h2
{
  font-size:23px;
  margin:4px 0 14px
}
h3
{
  margin:4px 0
}
.eyebrow
{
  font-size:11px;
  letter-spacing:2px;
  color:#96c7be
}
article,.panel
{
  border:1px solid #406b68;
  border-radius:22px;
  padding:24px;
  background:linear-gradient(140deg,#23474b99,#102c3299);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 40px #0002,inset 0 1px 0 #9ecab633;
  margin:18px 0
}
.grid
{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.department
{
  border:1px solid #426b67;
  border-radius:17px;
  padding:18px;
  background:#102a3070;
  margin:15px 0
}
.chips
{
  display:flex;
  gap:12px;
  flex-wrap:wrap
}
.chip
{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 16px;
  border:1px solid #52776e;
  border-radius:14px;
  cursor:pointer;
  transition:background .2s,transform .2s
}
.chip:has(input:checked)
{
  background:#237666;
  border-color:#a2f6d5
}
.chip:hover
{
  background:#2d635a;
  transform:translateY(-2px)
}
.chip:has(input:disabled)
{
  opacity:.55;
  cursor:default
}
label
{
  display:grid;
  gap:8px;
  font-size:14px;
  color:#c8e4dc
}
input:not([type=checkbox]):not([type=radio])
{
  width:100%;
  min-height:52px;
  color:#eafff8;
  border:1px solid #597c74;
  border-radius:14px;
  background:#0d2930;
  padding:12px 15px;
  font:inherit
}
input:focus-visible,button:focus-visible,a:focus-visible
{
  outline:3px solid #8ff4d4;
  outline-offset:4px
}
button
{
  border:1px solid #79b8a7;
  border-radius:14px;
  padding:13px 20px;
  min-height:52px;
  font:600 15px system-ui;
  background:#204f4c;
  color:#eafff8;
  cursor:pointer;
  transition:transform .2s,background .2s,box-shadow .2s
}
button:hover
{
  transform:translateY(-2px);
  background:#2e7367;
  box-shadow:0 8px 22px #40e0ad25
}
button.primary
{
  background:linear-gradient(120deg,#b0ffe6,#68daba);
  color:#073932
}
button.danger:hover
{
  background:#8b343d;
  border-color:#ed8892
}
button:disabled
{
  opacity:.5;
  cursor:default;
  transform:none
}
.actions
{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px
}
.money
{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-top:1px solid #40645f
}
.money strong
{
  font-size:23px;
  white-space:nowrap
}
.note
{
  color:#a5c6bd;
  font-size:14px
}
.stepper
{
  display:flex;
  gap:12px;
  align-items:center
}
.stepper output
{
  font-size:20px;
  min-width:40px;
  text-align:center
}
.stepper button
{
  width:50px;
  padding:0;
  font-size:24px
}
#status
{
  padding:15px 0
}
#status.error
{
  color:#ffb4bc
}
[hidden]
{
  display:none!important
}
@media(prefers-reduced-motion:reduce)
{
  *
  {
    transition:none!important
  }
}
.chip input[type=checkbox],.chip input[type=radio]
{
  width:18px;
  height:18px;
  flex:0 0 18px;
  accent-color:#86efd0
}
@media(max-width:640px)
{
  .grid
  {
    grid-template-columns:1fr
  }
  .money
  {
    flex-wrap:wrap;
    gap:8px
  }
  main
  {
    padding:24px 16px
  }
}
select
{
  width:100%;
  min-height:52px;
  border:1px solid #597c74;
  border-radius:14px;
  background:#0d2930;
  color:#eafff8;
  padding:12px 15px;
  font:inherit;
  cursor:pointer
}
select:focus-visible
{
  outline:3px solid #8ff4d4;
  outline-offset:4px
}
input[type=number]
{
  appearance:textfield
}
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button
{
  -webkit-appearance:none;
  margin:0
}
@supports (appearance:base-select) and (selector(::picker(select)))
{
  select,select::picker(select)
  {
    appearance:base-select
  }
  select::picker-icon
  {
    color:#a2f4dd;
    transition:rotate .2s
  }
  select:open::picker-icon
  {
    rotate:180deg
  }
  select::picker(select)
  {
    max-height:min(22rem,60vh);
    overflow-y:auto;
    padding:7px;
    border:1px solid #77bca7;
    border-radius:16px;
    background:linear-gradient(145deg,#214851,#0a2831);
    box-shadow:0 22px 50px #00141abb
  }
  select option
  {
    padding:11px 14px;
    border:1px solid transparent;
    border-radius:10px;
    background:transparent;
    color:#eafff8;
    white-space:normal
  }
  select option:hover,select option:focus-visible
  {
    border-color:#77bca7;
    background:#376c6544
  }
  select option:checked
  {
    background:#397e6d88;
    font-weight:700
  }
}
