.demo-admin { font-size: 1rem; }
.frame { max-width: 1480px; margin-inline: auto; padding-inline: clamp(1rem,4vw,4rem); }
.topo { background: var(--white); border-bottom: 1px solid var(--line); }
.bar,.title-row,.section-title,.slot-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 4.4rem; }
.bar .button { font-size: .875rem; min-height: 44px; padding: .65rem 1rem; }
.title-row { margin: clamp(2rem,5vw,4rem) 0 1.4rem; align-items: end; flex-wrap: wrap; }
.demo-label { color: var(--highlight); font-size: .875rem; font-weight: 750; }
.title-row h1 { font-size: clamp(2.25rem,5vw,4.7rem); margin: .4rem 0 .8rem; }
.title-row p { max-width: 43rem; }
.plain,.views a { font: inherit; color: var(--forest); font-weight: 650; }
.plain { background: none; border: 0; padding: .45rem 0; text-decoration: underline; text-underline-offset: .22em; }
.views { display: flex; gap: .7rem 1.6rem; flex-wrap: wrap; border-block: 1px solid var(--line); }
.views a { padding: .7rem 0; }
#feedback { position: sticky; top: .35rem; z-index: 2; }
#feedback:not(:empty) { padding: .55rem 1rem; background: var(--forest); color: var(--white); border-radius: .25rem; margin-block: .7rem; }
.surface { margin-block: 1.25rem 2rem; padding: clamp(1rem,2.5vw,2rem); background: var(--white); border: 1px solid var(--line); }
.section-title h2 { font-size: clamp(1.8rem,3vw,2.8rem); margin-bottom: .35rem; }
.edit-box { margin: 1rem 0; border-block: 1px solid var(--line); }
.edit-box summary { cursor: pointer; padding: .7rem 0; font-weight: 700; }
.edit-box form { display: flex; align-items: end; flex-wrap: wrap; gap: .9rem; padding: .6rem 0 1rem; }
.edit-box label,.card label { display: grid; gap: .25rem; font-size: .875rem; font-weight: 650; }
input,select { min-width: 0; max-width: 100%; font: inherit; color: var(--ink); min-height: 2.65rem; border: 1px solid #9baaa1; padding: .5rem .7rem; background: white; border-radius: .18rem; }
.edit-box button { min-height: 2.65rem; font-size: .9rem; padding: .55rem 1rem; }
.slot-row { display: grid; grid-template-columns: minmax(9rem,1fr) minmax(7rem,.8fr) minmax(10rem,1.1fr) minmax(4rem,.6fr); padding: .85rem 0; border-bottom: 1px solid var(--line); }
.slot-row:last-child { border-bottom: 0; }
.slot-row small,.card p { display: block; color: var(--muted); }
.slot-row .plain { justify-self: end; }
.badge { justify-self: start; font-size: .83rem; padding: .15rem .55rem; background: var(--paper); color: var(--ink); font-weight: 650; }
.free { background: #e4f3c4; }
.board { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: .7rem; }
.lane { min-width: 0; padding: .8rem; background: #eff1e9; border-top: 3px solid #74927b; }
.lane.over { outline: 2px solid var(--forest); background: #e5edcd; }
.lane header { display:flex; align-items:start; justify-content:space-between; gap:.5rem; }
.lane h3 { font-size: 1.05rem; letter-spacing: -.025em; line-height: 1.3; }
.lane header span { font-size: .85rem; font-weight: 750; }
.card { margin-top: .75rem; padding: .8rem; background: var(--white); border: 1px solid var(--line); overflow-wrap: anywhere; cursor: grab; }
.card p { font-size: .9rem; margin: .2rem 0 .7rem; }
.card p + p { margin-top: -.5rem; }
.origin-list { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; margin-block: .2rem .7rem; font-size: .875rem; }
.origin-list .badge { background: #e3ecdc; color: var(--forest); }
.card select { font-size: .875rem; width: 100%; }
.empty { font-size: .9rem; margin-top: .8rem; }
@media(max-width:700px) {
  .slot-row { grid-template-columns: 1.25fr 1fr; gap: .5rem; }
  .slot-row .plain { justify-self: start; }
  .frame { padding-inline: 1rem; }
  .edit-box form { display: grid; }
}
@media(max-width:400px) { .bar {gap:.5rem;} .bar .brand-copy {font-size:1rem;} .bar .brand-symbol {width:30px;} .bar .button {font-size:.8rem;} }
