/* Atelier — feuille de style reprise à l'identique de la maquette « Gestion Boutique Atelier ». */

/* Polices de la maquette (Cormorant Garamond et Jost, licence OFL), servies localement */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("fonts/jost-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("fonts/jost-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Base (identique à la maquette) */
html, body { margin: 0; background: #f4f1ea; color: #141210; font-family: Jost, system-ui, sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #141210; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #8a5a3c; }
input, select, button, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #9a948a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #141210 !important; }
button:focus-visible, label:focus-within > input[type=file] ~ * { outline: 1px solid #8a5a3c; outline-offset: 3px; }
::-webkit-scrollbar { height: 4px; width: 4px; }
::-webkit-scrollbar-thumb { background: #cfc9bd; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[hidden] { display: none !important; }
.serif { font-family: 'Cormorant Garamond', serif; }
.eyebrow { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #7a7368; }

/* Structure */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.masthead { border-bottom: 1px solid #141210; background: #f4f1ea; position: sticky; top: 0; z-index: 20; }
.masthead-in { max-width: 1240px; margin: 0 auto; padding: 18px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }
.tabs { display: flex; gap: 28px; overflow-x: auto; max-width: 100%; }
.tab { border: 0; background: none; padding: 8px 0 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; color: #7a7368; border-bottom: 1px solid transparent; white-space: nowrap; font-weight: 400; }
.tab.on { color: #141210; border-bottom-color: #141210; }
main { max-width: 1240px; width: 100%; margin: 0 auto; padding: 40px 24px 100px; flex: 1; }

/* Titres de page */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.head.lg { margin-bottom: 40px; }
.head.solo { display: block; }
.display { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: .95; margin: 6px 0 0; }
.display.tight { letter-spacing: -.01em; }
.display em { font-weight: 400; }
.lede { margin: 12px 0 0; color: #7a7368; font-size: 14px; max-width: 420px; line-height: 1.6; }
.sub { margin: 12px 0 0; color: #7a7368; font-size: 13px; }
.sub.md { font-size: 14px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Boutons */
.btn { background: #141210; color: #f4f1ea; border: 1px solid #141210; padding: 13px 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; font-weight: 400; }
.btn:hover { background: #8a5a3c; border-color: #8a5a3c; }
.btn.outline { background: none; color: #141210; }
.btn.outline:hover { background: #141210; border-color: #141210; color: #f4f1ea; }
.btn.plain { font-weight: 300; }
.btn.sm { padding: 9px 14px; font-size: 10px; white-space: nowrap; font-weight: 300; }
.btn.md { padding: 11px 18px; font-size: 10px; font-weight: 300; }
.btn.md:hover { background: #141210; border-color: #141210; }
.btn:disabled { opacity: .55; cursor: default; }
.quiet { border: 1px solid #cfc9bd; background: none; padding: 9px 14px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; color: #7a7368; }
.quiet:hover { color: #8a5a3c; border-color: #8a5a3c; }
.quiet.md { padding: 11px 16px; }
.textlink { border: 0; background: none; color: #8a5a3c; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 0; }
.round { width: 34px; height: 34px; border: 1px solid #cfc9bd; background: none; border-radius: 50%; cursor: pointer; font-size: 16px; padding: 0; flex: none; }
.round:hover { border-color: #141210; }

/* Budget */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid #141210; border-bottom: 1px solid #141210; margin-bottom: 48px; }
.figure { padding: 28px 24px; border-right: 1px solid #cfc9bd; display: flex; flex-direction: column; gap: 14px; }
.figure:first-child { padding-left: 0; }
.figure:last-child { padding-right: 0; border-right: 0; }
.figure .n { font-family: 'Cormorant Garamond', serif; font-size: 48px; line-height: .9; font-weight: 500; }
.figure:first-child .n { font-size: 56px; }
.figure .n.forecast { color: #8a5a3c; font-style: italic; }
.figure .note { font-size: 12px; color: #7a7368; }
.stake { display: flex; align-items: baseline; gap: 4px; }
.stake input { font-family: 'Cormorant Garamond', serif; font-size: 48px; line-height: .9; font-weight: 500; border: 0; border-bottom: 1px solid #cfc9bd; background: none; width: 140px; padding: 0 0 4px; }
.stake span { font-family: 'Cormorant Garamond', serif; font-size: 32px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.cols h2 { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #7a7368; margin: 0 0 8px; font-weight: 400; padding-bottom: 10px; border-bottom: 1px solid #cfc9bd; }
.cols h2.wide { margin-bottom: 18px; }
.where { display: flex; flex-direction: column; gap: 12px; }
.where button { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 14px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font-size: 13px; color: #141210; font-weight: 300; }
.where button:hover { color: #8a5a3c; }
.meter { height: 1px; background: #cfc9bd; display: block; position: relative; }
.meter > i { display: block; height: 3px; margin-top: -1px; background: #141210; }
.where .count { text-align: right; font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.list { display: flex; flex-direction: column; }
.item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e3ded3; font-size: 13px; }
.item .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item .who > span:first-child { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .who > span + span { color: #7a7368; font-size: 12px; }
.item .amount { font-family: 'Cormorant Garamond', serif; font-size: 20px; white-space: nowrap; }
.item .left { font-weight: 400; }
.none { margin: 12px 0 0; color: #7a7368; font-size: 13px; font-style: italic; }

/* Collection */
.filters { display: flex; flex-wrap: wrap; gap: 0 28px; border-top: 1px solid #141210; border-bottom: 1px solid #cfc9bd; margin-bottom: 28px; align-items: center; }
.filters input { flex: 1 1 200px; border: 0; background: none; padding: 14px 0; font-size: 13px; letter-spacing: .04em; min-width: 0; }
.filters select { border: 0; background: none; padding: 14px 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.filters .clear { border: 0; background: none; color: #8a5a3c; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 14px 0; }
.pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
.piece { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 12px; animation: fadeUp .3s ease both; color: #141210; font-weight: 300; }
.piece:hover { color: #8a5a3c; }
.photo { background-image: repeating-linear-gradient(135deg, #e9e4d9 0 6px, #efebe2 6px 12px); background-size: cover; background-position: center; }
.piece .photo { aspect-ratio: 3 / 4; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start; position: relative; padding: 10px; }
.piece .nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .1em; color: #9a948a; text-transform: uppercase; }
.piece .tag { background: #f4f1ea; color: #141210; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 9px; position: relative; }
.piece .info { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.piece .l1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.piece .maker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.piece .price { font-family: 'Cormorant Garamond', serif; font-size: 22px; white-space: nowrap; font-weight: 400; }
.piece .what { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; color: #4a453d; font-weight: 400; }
.piece .l3 { display: flex; justify-content: space-between; font-size: 11px; color: #7a7368; letter-spacing: .06em; }
.blank { text-align: center; padding: 60px 20px; color: #7a7368; font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.more { text-align: center; margin-top: 36px; }

/* Commandes */
.stages { display: flex; gap: 24px; overflow-x: auto; border-top: 1px solid #141210; border-bottom: 1px solid #cfc9bd; margin-bottom: 20px; }
.stages button { white-space: nowrap; border: 0; background: none; padding: 14px 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; color: #7a7368; border-bottom: 1px solid transparent; margin-bottom: -1px; font-weight: 400; }
.stages button.on { color: #141210; border-bottom-color: #141210; }
.stages button span { font-family: 'Cormorant Garamond', serif; font-size: 15px; letter-spacing: 0; text-transform: none; color: #7a7368; }
.find { display: block; width: 100%; max-width: 360px; border: 0; border-bottom: 1px solid #cfc9bd; background: none; padding: 10px 0; font-size: 13px; margin-bottom: 24px; }
.find.sm { margin-bottom: 20px; }
.orders { display: flex; flex-direction: column; }
.order { padding: 18px 0; border-bottom: 1px solid #e3ded3; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.order .photo { width: 56px; height: 72px; cursor: pointer; border: 0; padding: 0; display: block; }
.order .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.order .l1 { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.order .maker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.order .what { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: #4a453d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.order .meta { font-size: 12px; color: #7a7368; }
.order .meta b { color: #141210; font-weight: 300; }
.order .steps { display: flex; gap: 4px; margin-top: 6px; max-width: 320px; }
.order .steps i { height: 2px; flex: 1; background: #dcd6ca; }
.order .steps i.on { background: #141210; }
.order .steps.back i { background: #e2b8b0; }
.order .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Fournitures */
.supplies { display: flex; flex-direction: column; border-top: 1px solid #141210; }
.supply { padding: 18px 0; border-bottom: 1px solid #e3ded3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.supply .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.supply .name { font-size: 14px; font-weight: 400; }
.supply .meta { font-size: 12px; color: #7a7368; }
.supply .gauge { height: 1px; background: #cfc9bd; margin-top: 8px; max-width: 280px; }
.supply .gauge > i { display: block; height: 3px; margin-top: -1px; background: #141210; }
.supply .qty { display: flex; align-items: center; gap: 8px; }
.supply .num { min-width: 64px; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 26px; }
.supply .num small { font-size: 14px; color: #7a7368; }
.lv-low { color: #a3392b; } .lv-mid { color: #8a5a3c; } .lv-ok { color: #141210; }
i.lv-low { background: #a3392b !important; } i.lv-mid { background: #8a5a3c !important; } i.lv-ok { background: #141210 !important; }

/* Fenêtres (facture, fiche produit…) */
.veil { position: fixed; inset: 0; background: rgba(20, 18, 16, .5); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet { background: #f4f1ea; width: 100%; max-width: 900px; max-height: 92vh; overflow: auto; padding: 32px; animation: fadeUp .25s ease; border: 1px solid #141210; }
.sheet.fiche { max-width: 860px; }
.sheet.narrow { max-width: 640px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.sheet-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 36px; margin: 4px 0 0; line-height: 1; }
.sheet-head h2.it { font-style: italic; }
.sheet-head p { margin: 8px 0 0; color: #7a7368; font-size: 13px; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #9a948a; padding: 48px 20px; cursor: pointer; text-align: center; }
.dropzone:hover, .dropzone.over { border-color: #141210; }
.dropzone .big { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-style: italic; font-weight: 400; }
.dropzone .small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7a7368; }
.manual { text-align: center; margin: 16px 0; }
.reading { display: flex; align-items: center; gap: 12px; padding: 40px 0; justify-content: center; color: #7a7368; font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.reading i { width: 16px; height: 16px; border: 1px solid #cfc9bd; border-top-color: #141210; border-radius: 50%; animation: spin .8s linear infinite; }
.draft-top { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; align-items: flex-end; }
.draft-top .file { font-size: 11px; font-family: ui-monospace, monospace; color: #7a7368; padding-bottom: 9px; }
.draft-top input { border: 0; border-bottom: 1px solid #cfc9bd; background: none; padding: 8px 0; font-size: 13px; }
.draft-top input.grow { flex: 1 1 140px; min-width: 0; }
.draft-top input.port { width: 86px; }
.scroll-x { overflow-x: auto; }
.thead, .trow { min-width: 760px; display: grid; grid-template-columns: 1.2fr 1.1fr .9fr .6fr .7fr .9fr 28px; gap: 10px; }
.lines.supply-lines .thead, .lines.supply-lines .trow { min-width: 520px; grid-template-columns: 2fr .7fr .9fr 28px; }
.thead { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7a7368; padding: 0 0 8px; border-bottom: 1px solid #141210; }
.tbody { display: flex; flex-direction: column; }
.trow { align-items: center; border-bottom: 1px solid #e3ded3; }
.trow > input { border: 0; background: none; padding: 12px 0; font-size: 13px; min-width: 0; width: 100%; }
.trow .pv { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trow .pv input { border: 0; border-bottom: 1px solid #8a5a3c; background: none; padding: 8px 0; font-size: 15px; width: 100%; min-width: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.trow .pv span { font-size: 10px; color: #8a5a3c; white-space: nowrap; letter-spacing: .1em; }
.trow .rm { border: 0; background: none; color: #9a948a; cursor: pointer; font-size: 16px; padding: 0; }
.trow .rm:hover { color: #8a5a3c; }
.rule { font-size: 11px; color: #7a7368; margin: 14px 0 0; font-style: italic; }
.rule.warn { color: #8a5a3c; margin: 0 0 16px; }
.draft-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.draft-foot .sum { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.draft-foot .sum > span { font-size: 12px; color: #7a7368; }
.draft-foot .sum > span b { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #141210; font-weight: 400; }

/* Fiche produit */
.fiche-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.fiche-photo { display: block; aspect-ratio: 3 / 4; cursor: pointer; position: relative; overflow: hidden; }
.fiche-photo span { position: absolute; bottom: 12px; left: 12px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; background: #f4f1ea; padding: 6px 10px; }
.fiche-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lbl { display: flex; flex-direction: column; gap: 2px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7a7368; min-width: 0; }
.lbl input, .lbl select { border: 0; border-bottom: 1px solid #cfc9bd; background: none; padding: 6px 0; font-size: 14px; text-transform: none; letter-spacing: 0; color: #141210; min-width: 0; width: 100%; border-radius: 0; }
.lbl input.sale { border-bottom-color: #8a5a3c; padding: 4px 0; font-size: 22px; font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.facts { display: flex; gap: 18px; font-size: 12px; color: #7a7368; flex-wrap: wrap; }
.facts strong { font-weight: 400; }
.facts .sug { color: #8a5a3c; }
.facts .mar { color: #141210; }
.facts button { border: 0; background: none; color: #8a5a3c; cursor: pointer; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.desc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mini { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7a7368; }
.mini.block { display: block; margin-bottom: 8px; }
.regen { border: 0; background: none; color: #8a5a3c; cursor: pointer; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
textarea.desc { display: block; width: 100%; border: 1px solid #cfc9bd; background: none; padding: 12px; font-size: 17px; line-height: 1.5; resize: vertical; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; border-radius: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid #cfc9bd; background: transparent; color: #141210; padding: 7px 12px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.chip.on { border-color: #141210; background: #141210; color: #f4f1ea; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; flex-wrap: wrap; }

/* Compléments hors maquette, dans le même vocabulaire : réglages, factures, connexion, messages */
.colophon { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 0 24px 32px; }
.colophon button { border: 0; background: none; padding: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #7a7368; cursor: pointer; }
.colophon button:hover { color: #8a5a3c; }
.group { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid #cfc9bd; }
.group:first-of-type { border-top: 1px solid #141210; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.check input { accent-color: #141210; width: 15px; height: 15px; margin: 0; }
.hint { font-size: 12px; color: #7a7368; line-height: 1.6; margin: 0; }
.item .tools { display: flex; align-items: baseline; gap: 16px; white-space: nowrap; }
.item .tools a, .item .tools button { border: 0; background: none; padding: 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7a7368; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.item .tools a:hover, .item .tools button:hover { color: #8a5a3c; }
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate form { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; max-width: 320px; animation: fadeUp .3s ease both; }
.gate .brand-name { font-size: 44px; }
.gate input { width: 100%; border: 0; border-bottom: 1px solid #cfc9bd; background: none; padding: 10px 0; font-size: 14px; text-align: center; letter-spacing: .1em; border-radius: 0; }
.gate .err { min-height: 18px; margin: -12px 0; font-size: 12px; color: #a3392b; font-style: italic; }
#notice { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
#notice > div { background: #141210; color: #f4f1ea; padding: 11px 18px; font-size: 12px; letter-spacing: .04em; animation: fadeUp .25s ease; max-width: 100%; }
#notice > div.bad { background: #a3392b; }

@media (max-width: 560px) {
  .order { grid-template-columns: 56px minmax(0, 1fr); }
  .order .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .sheet { padding: 24px 20px; }
  .fields.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
