@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#24261f;background:#f3eee3;font-size:16px;--gold:#dfbd75;--ink:#1d211b;--line:#cfc7b4;--paper:#fffdf7}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{min-height:44px;border:1px solid #827758;background:var(--paper);color:var(--ink);padding:.6rem .9rem;border-radius:3px;font-weight:600;cursor:pointer}button:hover:not(:disabled){background:#efe0bd}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-underline-offset:4px}input,select{width:100%;min-height:44px;background:white;border:1px solid #a7a28f;border-radius:3px;padding:.6rem;color:var(--ink)}:focus-visible{outline:3px solid #9d6e16;outline-offset:3px}label{display:block;font-size:.85rem;font-weight:600}label input,label select{display:block;margin-top:.35rem}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;line-height:1.05}h1{font-size:3rem}h2{font-size:2.1rem}h3{font-size:1.6rem}p{line-height:1.5}small{font-size:.8rem}.eyebrow{font-size:.73rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#796232;margin-bottom:.6rem}.primary{background:var(--gold);border-color:#8a6b32;color:#181b16}.admin-header{padding:1rem max(1.2rem,calc((100vw - 1200px)/2));background:var(--ink);color:#fff8e8;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{display:flex;gap:.8rem;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:1.2rem}.brand img{width:52px;height:52px;object-fit:contain}.brand small{display:block;font-family:'DM Sans',sans-serif;color:var(--gold);margin-top:.35rem}.admin-header>div{display:flex;align-items:center;gap:1rem;flex-shrink:0}.admin-header a:not(.brand){font-size:.85rem;min-height:44px;display:inline-flex;align-items:center}.admin-header button{color:#fff8e8;background:transparent;border-color:#9d8758}main{max-width:1200px;margin:auto;padding:2rem 1.2rem 1rem}.login-panel{max-width:460px;background:var(--paper);border:1px solid var(--line);padding:2rem;margin:3rem auto 5rem}.login-panel h1{font-size:2.6rem}.login-panel>p:not(.eyebrow){margin:1rem 0}.login-panel button{width:100%;margin-top:1rem}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.workspace-heading p:last-child{margin-top:.6rem;color:#67695e}.badge{padding:.45rem .65rem;background:#e4e6d9;font-size:.8rem;white-space:nowrap}.section-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 0;border-bottom:1px solid var(--line);padding-bottom:1rem}.section-nav button{background:transparent;border-color:transparent}.section-nav [aria-current]{background:var(--ink);color:white}.notice{padding:.75rem 0;color:#575b4d;min-height:3rem}.notice.error,#login-note.error{color:#9a271c}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:1rem}.section-heading p{margin-top:.5rem;font-size:.85rem;color:#65685b}.search{width:300px;flex-shrink:0}.product-row{display:grid;grid-template-columns:76px minmax(180px,1fr) 130px 115px 180px;gap:1rem;align-items:center;background:var(--paper);border:1px solid var(--line);padding:1rem;margin:.6rem 0;border-radius:4px}.product-row img{width:76px;height:76px;object-fit:contain}.product-name small{display:block;color:#67695e;margin-top:.5rem;line-height:1.4}.product-name strong{font-size:.95rem;line-height:1.3;display:block}.product-row.changed{border-color:#997633;box-shadow:inset 3px 0 #997633}.apply-bar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--ink);color:#fff8e8;border:1px solid #8f805b;padding:1rem 1.2rem;margin-top:1.5rem;border-radius:4px;box-shadow:0 -5px 20px #00000012}.apply-bar p{font-size:.85rem;color:#dbd7cb;margin-top:.3rem;max-width:650px}.apply-actions{display:flex;gap:.6rem;flex-shrink:0}.apply-actions button:not(.primary){background:transparent;color:white;border-color:#9e967f}.inquiry-card{background:var(--paper);padding:1.25rem;border:1px solid var(--line);margin:.75rem 0;border-radius:4px}.inquiry-top{display:flex;gap:1rem;justify-content:space-between;align-items:start}.inquiry-top time{font-size:.85rem;color:#66695d}.inquiry-contact{display:flex;flex-wrap:wrap;gap:.8rem;margin:.75rem 0;font-size:.9rem}.inquiry-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem;margin:.75rem 0}.inquiry-meta{color:#67695e;font-size:.85rem}.inquiry-controls{display:flex;align-items:end;gap:.6rem;margin-top:1rem;flex-wrap:wrap}.inquiry-controls label{max-width:180px}.inquiry-controls a{min-height:44px;display:inline-flex;align-items:center;margin-left:auto}.history-row{padding:1rem;background:var(--paper);border:1px solid var(--line);margin:.6rem 0;display:flex;gap:1rem;align-items:center;justify-content:space-between}.history-row small{display:block;margin-top:.3rem;color:#66695d}footer{max-width:1200px;margin:1rem auto;padding:1.2rem;font-size:.8rem;color:#626758;display:flex;justify-content:space-between;gap:1rem}.skip{position:absolute;top:-100px;left:1rem;background:white;padding:1rem;z-index:10}.skip:focus{top:0}[hidden]{display:none!important}
@media(max-width:950px){.product-row{grid-template-columns:64px 1fr 1fr 1fr}.product-row img{width:64px;height:64px}.product-name{grid-column:2/-1}.product-row>label:first-of-type{grid-column:2}.section-heading{align-items:start}.search{width:240px}}
@media(max-width:620px){main{padding:1.4rem .9rem}.admin-header{padding:.7rem .9rem;flex-wrap:wrap}.brand{font-size:1rem}.brand img{width:42px;height:42px}.admin-header>div{gap:.7rem}.admin-header>div a{font-size:.8rem}.workspace-heading{align-items:start}h1{font-size:2.4rem}h2{font-size:1.9rem}.section-nav{gap:.1rem}.section-nav button{font-size:.9rem;padding:.6rem}.section-heading{display:block}.search{width:100%;margin-top:1rem}.product-row{grid-template-columns:56px 1fr 1fr;gap:.75rem;padding:.8rem}.product-row img{width:56px;height:56px}.product-name{grid-column:2/-1}.product-row>label:first-of-type{grid-column:1/3}.product-row>label:last-of-type{grid-column:1/-1}.apply-bar{align-items:stretch;flex-direction:column;padding:.9rem}.apply-actions{display:grid;grid-template-columns:1fr 1.3fr}.apply-bar p{font-size:.8rem}.login-panel{padding:1.4rem;margin:1.5rem auto}.inquiry-top{flex-direction:column;gap:.4rem}.history-row{align-items:start}.history-row button{flex-shrink:0}footer{flex-direction:column}.badge{font-size:.7rem}.notice{font-size:.9rem}}
.notice:empty{display:none}.section-nav{margin-bottom:1.2rem}.apply-bar{position:static}
.brand,.brand>span,.workspace-heading>div{min-width:0}.brand>span,h1,h2,h3,.product-name,.badge{overflow-wrap:anywhere}
.admin-header>div,.workspace-heading,.history-row{flex-wrap:wrap;max-width:100%}.workspace-heading>div{flex:1 1 15rem}
.apply-actions{display:flex;flex-wrap:wrap}.apply-actions button{flex:1 1 8rem;max-width:100%}
.skip:not(:focus){transform:translateY(-200%)}
@media(max-width:620px){.product-row{display:flex;flex-wrap:wrap}.product-row img{flex:0 0 56px}.product-name{flex:1 1 10rem}.product-row>label{flex:1 1 8rem;min-width:0}.product-row>label:last-of-type{flex:1 1 100%}.apply-actions{display:flex}}
.section-nav [aria-current]:hover:not(:disabled),.admin-header button:hover:not(:disabled),.apply-actions button:not(.primary):hover:not(:disabled){background:#353d2e;color:#fff8e8}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:620px){.workspace-heading h1{font-size:2rem}}
