:root { --green:#48683e; --green-dark:#294a31; --sage:#e8eee2; --cream:#fbfaf5; --line:rgba(55,81,52,.16); --ink:#29352c; --muted:#69736b; --shadow:0 16px 45px rgba(45,68,43,.1); }
* { box-sizing:border-box; margin:0; padding:0; }
body { min-width:320px; color:var(--ink); background:radial-gradient(circle at 100% 0,#e8eee2,transparent 28rem),var(--cream); font:400 14px/1.6 "Montserrat",sans-serif; }
a { color:inherit; text-decoration:none; } button,input,select { font:inherit; }
.staff-header { width:min(1320px,calc(100% - 40px)); min-height:88px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--line); }
.staff-brand { display:flex; align-items:center; gap:11px; }.staff-brand img{width:48px;height:48px;object-fit:contain}.staff-brand span{display:grid}.staff-brand strong{font:600 1.9rem/1 "Cormorant Garamond",serif;letter-spacing:.13em}.staff-brand small{color:var(--muted);font-size:.67rem}.staff-header nav{display:flex;align-items:center;gap:18px}.staff-header nav a,.staff-header nav button{border:0;background:none;color:var(--green-dark);font-weight:600;cursor:pointer}
.staff-nav-count{display:inline-grid;min-width:20px;height:20px;margin-left:3px;place-items:center;border-radius:99px;background:#f4e7e2;color:#8a4d44;font-size:.65rem}
.staff-main { width:min(1240px,calc(100% - 36px)); margin:0 auto; padding:55px 0 80px; }
.staff-gate { max-width:620px; margin:10vh auto; padding:48px; border:1px solid var(--line); border-radius:24px; background:rgba(255,255,255,.85); box-shadow:var(--shadow); text-align:center; }.staff-gate span{display:block;color:var(--green);font:2.4rem "Cormorant Garamond",serif}.staff-gate h1,.staff-welcome h1{margin:10px 0;color:var(--green-dark);font:600 clamp(2.4rem,6vw,4rem)/1 "Cormorant Garamond",serif}.staff-gate p{color:var(--muted);margin-bottom:22px}
.staff-button,.staff-toolbar button{display:inline-flex;min-height:45px;align-items:center;justify-content:center;padding:9px 22px;border:1px solid var(--green);border-radius:999px;color:white;background:var(--green);font-weight:600;cursor:pointer}.staff-button:hover,.staff-toolbar button:hover{background:var(--green-dark)}
.staff-welcome { display:grid; grid-template-columns:1fr auto; gap:32px; align-items:end; margin-bottom:28px; }.staff-eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;font-weight:600}.staff-welcome>div:first-child>p:last-child{max-width:760px;color:var(--muted)}.staff-summary{display:flex;gap:10px}.staff-summary article{min-width:105px;padding:14px;border:1px solid var(--line);border-radius:14px;background:white;text-align:center}.staff-summary strong{display:block;color:var(--green-dark);font:600 1.8rem "Cormorant Garamond",serif}.staff-summary span{font-size:.65rem;color:var(--muted)}
.staff-toolbar { display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:14px;align-items:end;padding:18px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 8px 26px rgba(45,68,43,.06)}.staff-toolbar label{display:grid;gap:5px;color:var(--muted);font-size:.7rem;font-weight:600}.staff-toolbar input,.staff-toolbar select{width:100%;min-height:43px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff}.staff-toolbar input:focus,.staff-toolbar select:focus,button:focus-visible,a:focus-visible{outline:3px solid rgba(72,104,62,.27);outline-offset:2px}.staff-status{min-height:1.5em;margin:14px 0;color:var(--green-dark);font-weight:600}
.staff-records { display:grid;gap:14px; }.staff-empty{padding:42px;border:1px dashed var(--line);border-radius:18px;text-align:center;color:var(--muted)}
.client-record { overflow:hidden;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.9);box-shadow:0 8px 28px rgba(45,68,43,.05)}.client-record>summary{position:relative;list-style:none;display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.7fr) auto auto;gap:18px;align-items:center;padding:20px 102px 20px 22px;cursor:pointer}.client-record>summary::-webkit-details-marker{display:none}.client-record>summary::after{content:"＋";position:absolute;right:24px;top:50%;transform:translateY(-50%);color:var(--green);font-size:1.3rem}.client-record[open]>summary::after{content:"−"}.client-identity strong{display:block;color:var(--green-dark);font:600 1.45rem "Cormorant Garamond",serif}.client-identity span,.client-date{color:var(--muted);font-size:.7rem}.formula-badge{justify-self:start;padding:6px 12px;border-radius:99px;color:var(--green-dark);background:var(--sage);font-size:.7rem;font-weight:600}.need-summary small{display:block;color:var(--muted);font-size:.6rem;text-transform:uppercase;letter-spacing:.08em}.need-summary strong{font:600 1rem "Cormorant Garamond",serif}.record-trash-button{position:absolute;right:55px;top:50%;display:grid;width:36px;height:36px;place-items:center;transform:translateY(-50%);border:1px solid rgba(151,83,72,.32);border-radius:50%;background:#fff;color:#955649;cursor:pointer}.record-trash-button:hover{background:#f8ece8}.record-trash-button:disabled{opacity:.45;cursor:wait}.record-trash-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.record-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.65fr);gap:24px;padding:24px;border-top:1px solid var(--line);background:#fffdf9}.record-copy{display:grid;gap:18px}.record-block{padding:18px;border:1px solid var(--line);border-radius:14px}.record-block h3,.record-scores h3{margin-bottom:10px;color:var(--green-dark);font:600 1.35rem "Cormorant Garamond",serif}.record-field{margin:10px 0}.record-field small{display:block;color:var(--muted);font-size:.63rem;text-transform:uppercase;letter-spacing:.06em}.record-field p{white-space:pre-wrap}.record-scores{align-self:start;padding:20px;border-radius:15px;background:var(--sage)}.staff-score{display:grid;grid-template-columns:105px 1fr 28px;gap:8px;align-items:center;margin:11px 0;font-size:.67rem}.staff-score i{height:8px;overflow:hidden;border-radius:9px;background:rgba(72,104,62,.14)}.staff-score i::before{content:"";display:block;width:var(--staff-score);height:100%;border-radius:inherit;background:var(--green)}.staff-score b{text-align:right}
.staff-trash,.staff-reviews{margin-top:46px;padding-top:34px;border-top:1px solid var(--line);scroll-margin-top:24px}.staff-trash>header,.staff-reviews>header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:16px}.staff-trash h2,.staff-reviews h2{margin:3px 0;color:var(--green-dark);font:600 clamp(2rem,4vw,3rem)/1 "Cormorant Garamond",serif}.staff-trash>header p:last-child,.staff-reviews>header p:last-child{color:var(--muted);font-size:.76rem}.staff-trash>header>strong,.staff-reviews>header>strong{padding:8px 14px;border-radius:999px;background:#fff1cf;color:#7b5a18;font-size:.76rem}.staff-trash-list,.staff-review-list{display:grid;gap:13px}.trash-record{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 20px;border:1px solid rgba(151,83,72,.2);border-radius:16px;background:rgba(255,250,248,.94)}.trash-record>div:first-child{display:grid}.trash-record strong{color:var(--green-dark);font:600 1.35rem "Cormorant Garamond",serif}.trash-record span,.trash-record small{color:var(--muted);font-size:.7rem}.trash-record__actions{display:flex;gap:9px}.trash-record__actions button{min-height:40px;padding:8px 15px;border-radius:999px;font-weight:600;cursor:pointer}.trash-restore{border:1px solid var(--green);background:#fff;color:var(--green-dark)}.trash-delete{border:1px solid #9b5c52;background:#9b5c52;color:#fff}.trash-record__actions button:disabled{opacity:.5;cursor:wait}.staff-review{padding:18px 20px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 8px 28px rgba(45,68,43,.05)}.staff-review--pending{border-left:5px solid #d7ad53}.staff-review--published{border-left:5px solid #6f9c70}.staff-review--rejected{border-left:5px solid #b47777}.staff-review>header{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center}.staff-review>header strong,.staff-review>header small{display:block}.staff-review>header strong{color:var(--green-dark);font:600 1.35rem "Cormorant Garamond",serif}.staff-review>header small{color:var(--muted);font-size:.67rem}.staff-review__rating{color:#9a6b12;font-weight:700}.staff-review__badge{padding:5px 10px;border-radius:99px;background:var(--sage);font-size:.68rem;font-weight:700}.staff-review__content{margin:15px 0;white-space:pre-wrap;line-height:1.65}.staff-review__reason{margin:10px 0;padding:10px 12px;border-radius:10px;background:#f7eeee;color:#754747;font-size:.75rem}.staff-review footer{display:flex;justify-content:flex-end;gap:9px}.staff-review footer button{min-height:40px;padding:8px 16px;border:1px solid var(--green);border-radius:999px;background:var(--green);color:#fff;font-weight:600;cursor:pointer}.staff-review footer .staff-review__reject{border-color:#a46b6b;background:#fff;color:#8c5555}
@media(max-width:850px){.staff-welcome{grid-template-columns:1fr}.staff-summary{justify-content:flex-start}.staff-toolbar{grid-template-columns:1fr 1fr}.staff-toolbar button{grid-column:1/-1}.client-record>summary{grid-template-columns:1fr auto}.client-date,.need-summary{display:none}.record-body{grid-template-columns:1fr}}
@media(max-width:540px){.staff-header{width:calc(100% - 24px)}.staff-brand small{display:none}.staff-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.staff-header nav a,.staff-header nav button{font-size:.7rem}.staff-main{width:calc(100% - 20px);padding-top:28px}.staff-gate{padding:30px 20px}.staff-summary{display:grid;grid-template-columns:repeat(2,1fr)}.staff-summary article{min-width:0}.staff-toolbar{grid-template-columns:1fr}.staff-toolbar button{grid-column:auto}.client-record>summary{padding:16px 90px 16px 16px}.record-body{padding:14px}.staff-score{grid-template-columns:92px 1fr 25px}.staff-trash>header,.staff-reviews>header{align-items:start;flex-direction:column}.trash-record{align-items:stretch;flex-direction:column}.trash-record__actions{display:grid;grid-template-columns:1fr}.staff-review>header{grid-template-columns:1fr}.staff-review footer{justify-content:stretch}.staff-review footer button{flex:1}}
