@import "tailwindcss"; :root { --ink: #17211d; --muted: #66736c; --line: #dfe6e1; --green: #007f5f; --green-dark: #005f48; --mint: #dff5ed; --paper: #f8faf8; --cream: #f2f4ee; } * { box-sizing: border-box; } html { background: #dfe8e2; } body { margin: 0; color: var(--ink); font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; } button, input { font: inherit; } button { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .55; } .app-shell { min-height: 100vh; padding: 28px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 75% 15%, rgba(234, 184, 90, .18), transparent 25%), linear-gradient(145deg, #e9efeb, #cad9d0); } .ambient { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; } .ambient-one { width: 460px; height: 460px; background: rgba(0, 127, 95, .08); left: -180px; bottom: -180px; } .ambient-two { width: 260px; height: 260px; border: 50px solid rgba(255,255,255,.3); right: -70px; top: 40px; } .device-frame { width: min(1080px, 100%); min-height: min(760px, calc(100vh - 56px)); position: relative; z-index: 1; display: flex; flex-direction: column; background: rgba(249, 251, 248, .96); border: 1px solid rgba(255,255,255,.85); border-radius: 28px; box-shadow: 0 35px 90px rgba(28, 54, 42, .21), inset 0 1px #fff; overflow: hidden; } .app-header { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); } .brand { display: flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--ink); padding: 0; text-align: left; } .brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 11px; font-size: 24px; font-weight: 900; transform: skew(-5deg); } .brand strong, .brand small { display: block; } .brand strong { font-size: 16px; letter-spacing: .04em; } .brand small { color: #88938d; font-size: 9px; margin-top: 3px; letter-spacing: .12em; } .status-pill { display: flex; gap: 8px; align-items: center; padding: 8px 13px; border-radius: 99px; background: #edf7f2; color: #236451; font-size: 12px; font-weight: 700; } .status-dot { width: 7px; height: 7px; background: #22a06b; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,160,107,.12); } .progress-strip { display: flex; gap: 36px; justify-content: center; padding: 17px 28px; border-bottom: 1px solid var(--line); color: #9aa39e; font-size: 12px; font-weight: 700; } .progress-item { display: flex; align-items: center; gap: 8px; } .progress-item span { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #ccd4cf; border-radius: 50%; font-size: 10px; } .progress-item.active { color: var(--green); } .progress-item.active span { color: white; background: var(--green); border-color: var(--green); } .content { flex: 1; display: grid; } footer { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-top: 1px solid var(--line); color: #94a098; font-size: 10px; letter-spacing: .04em; } .home-view { padding: 46px clamp(36px, 6vw, 70px) 34px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(36px, 6vw, 74px); position: relative; } .home-copy { min-width: 0; } .eyebrow, .step-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; } .eyebrow { display: flex; align-items: center; gap: 8px; } .eyebrow span { width: 20px; height: 2px; background: #e5a63c; } h1 { font-size: clamp(46px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -.06em; margin: 19px 0 21px; max-width: 590px; } h1 em { font-style: normal; color: var(--green); } .home-copy > p { color: var(--muted); line-height: 1.85; font-size: 13px; } .home-start-hint { width: min(390px, 100%); display: flex; align-items: center; gap: 10px; margin-top: 25px; padding: 12px 14px; border: 1px solid #bedacd; border-radius: 12px; background: var(--mint); color: var(--green); font-size: 10px; } .home-start-hint span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: white; font-size: 9px; } .home-start-hint.loading span { animation: pulse 1s ease-in-out infinite; } @keyframes pulse { 50% { opacity: .45; transform: scale(.92); } } .admin-link { margin-top: 15px; margin-left: 8px; border: 0; background: none; color: #68746e; font-size: 12px; } .admin-link:hover { color: var(--green); } .home-notice { width: min(390px, 100%); } .home-stats { margin-top: 36px; display: flex; gap: 32px; color: #849088; font-size: 9px; } .home-stats span { padding-left: 12px; border-left: 2px solid #e0e6e1; } .home-stats b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; } .home-material-panel { position: relative; padding: 23px; border: 1px solid rgba(255,255,255,.9); border-radius: 21px; background: rgba(255,255,255,.7); box-shadow: 0 18px 50px rgba(30,56,43,.1), inset 0 1px #fff; } .home-material-panel::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -55px; z-index: -1; border-radius: 50%; background: rgba(0,127,95,.08); box-shadow: 0 0 0 32px rgba(0,127,95,.025); } .material-panel-heading h2 { margin: 7px 0 5px; font-size: 23px; letter-spacing: -.035em; } .material-panel-heading p { margin: 0 0 16px; color: var(--muted); font-size: 10px; } .home-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .home-material-grid .material-card { min-height: 73px; } .material-selection-status { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding: 9px 11px; border-radius: 9px; background: #eef1ee; color: #7c8781; font-size: 9px; font-weight: 700; } .material-selection-status span { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #bfc8c2; border-radius: 50%; font-size: 8px; } .material-selection-status.ready { background: var(--mint); color: var(--green); } .material-selection-status.ready span { border-color: var(--green); background: var(--green); color: white; } .panel-view { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 35px 0; } .section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; } .section-heading h2, .result-view h2 { margin: 7px 0 7px; font-size: 29px; letter-spacing: -.035em; } .section-heading p, .result-view > p { margin: 0; color: var(--muted); font-size: 12px; } .refresh-button { border: 1px solid var(--line); border-radius: 10px; background: white; color: #53615a; font-size: 11px; padding: 10px 14px; } .identity-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 16px; box-shadow: 0 8px 24px rgba(35,58,46,.05); } .avatar { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--green); color: white; font-size: 21px; font-weight: 800; } .identity-card small { color: #8c9791; font-size: 10px; } .identity-card h3 { margin: 4px 0; font-size: 19px; } .identity-card p { margin: 0; color: #66736c; font-size: 11px; } .verified { margin-left: auto; background: var(--mint); color: var(--green); padding: 8px 11px; border-radius: 99px; font-size: 10px; font-weight: 700; } .verified.missing { color: #9b6b14; background: #fbf0d7; } .field-label { display: block; margin: 22px 0 8px; font-size: 11px; font-weight: 800; } .machine-picker { height: 52px; display: flex; align-items: center; gap: 10px; border: 1px solid #cfd8d2; border-radius: 12px; background: white; padding: 0 15px; } .machine-picker:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,127,95,.08); } .machine-picker input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 13px; } .machine-picker b { color: var(--green); } .suggestions { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 5px; box-shadow: 0 15px 40px rgba(32,55,44,.1); } .suggestions button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; padding: 10px; text-align: left; font-size: 12px; } .suggestions button:hover { background: #eef7f2; color: var(--green); } .suggestions button small { margin-left: auto; color: #95a099; } .suggestions p { text-align: center; color: #7f8b84; font-size: 11px; } .full-primary { width: 100%; margin-top: 22px; border: 0; border-radius: 12px; background: var(--green); color: white; padding: 15px 18px; font-size: 13px; font-weight: 800; box-shadow: 0 10px 25px rgba(0,127,95,.18); } .full-primary span { float: right; } .notice { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #f7edd8; color: #8b671e; font-size: 10px; } .notice.compact { margin: 10px 0 -10px; } .weigh-view { padding: 22px 32px 28px; } .weigh-meta { display: flex; gap: 0; border: 1px solid var(--line); background: white; border-radius: 11px; padding: 10px 14px; margin-bottom: 14px; } .weigh-meta > span { min-width: 170px; padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); } .weigh-meta > span.material-meta { min-width: 230px; } .weigh-meta small, .weigh-meta b { display: block; } .weigh-meta small { color: #8a958f; font-size: 9px; margin-bottom: 4px; } .weigh-meta b { font-size: 11px; } .weigh-meta button { margin-left: auto; border: 0; background: none; color: var(--green); font-size: 10px; font-weight: 800; } .scale-display { border-radius: 18px; background: #112b23; color: white; padding: 17px 24px 15px; box-shadow: inset 0 1px rgba(255,255,255,.08), 0 16px 30px rgba(16,42,33,.17); } .display-top { display: flex; justify-content: space-between; align-items: center; } .stable-badge { color: #e2c680; font-size: 10px; font-weight: 700; } .stable-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #e4b64e; box-shadow: 0 0 0 4px rgba(228,182,78,.13); } .stable-badge.ready { color: #83dfb8; } .stable-badge.ready i { background: #48c78e; box-shadow: 0 0 0 4px rgba(72,199,142,.13); } .unit-switch { display: flex; background: rgba(255,255,255,.07); border-radius: 8px; padding: 3px; } .unit-switch button { border: 0; border-radius: 6px; background: transparent; color: #849b91; font-size: 9px; padding: 5px 9px; } .unit-switch button.active { background: #e8f0ea; color: #15352a; font-weight: 800; } .weight-number { display: flex; justify-content: center; align-items: baseline; gap: 13px; margin: 2px 0; } .weight-number span { font-family: "Courier New", monospace; font-size: clamp(58px, 8vw, 82px); letter-spacing: -.08em; font-weight: 700; } .weight-number b { color: #8da298; font-size: 14px; } .stability-track { height: 3px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; } .stability-track span { display: block; height: 100%; background: #4bd19a; transition: width .25s; } .display-details { display: flex; justify-content: center; gap: 42px; margin-top: 12px; color: #789187; font-size: 9px; } .display-details b { color: #dbe8e1; margin-left: 5px; } .scale-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 11px 0 16px; } .scale-tools button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 10px 13px; color: var(--green); text-align: left; font-size: 18px; } .scale-tools button:hover { border-color: #a8cabb; } .scale-tools span, .scale-tools b, .scale-tools small { display: block; } .scale-tools b { color: var(--ink); font-size: 11px; } .scale-tools small { color: #909a94; font-size: 8px; margin-top: 3px; } .material-card { min-width: 0; display: flex; align-items: center; gap: 10px; position: relative; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 12px 10px; text-align: left; } .material-card:hover { transform: translateY(-1px); } .material-card.selected { border: 2px solid var(--green); background: #f3faf7; padding: 11px 9px; } .material-icon { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; font-size: 12px; font-weight: 900; background: #edf1ed; color: #536259; } .material-card.copper .material-icon { background: #f3e2d6; color: #a65e2e; } .material-card.wire .material-icon { background: #f3ead2; color: #b27714; } .material-card.aluminum .material-icon { background: #e5ecee; color: #60747c; } .material-card.tin .material-icon { background: #e5e6ed; color: #62687c; } .material-card b, .material-card small { display: block; white-space: nowrap; } .material-card b { font-size: 11px; } .material-card small { margin-top: 4px; color: #9aa39e; font-size: 6px; } .material-card i { margin-left: auto; font-size: 10px; color: var(--green); font-style: normal; } .selected-material-summary { display: flex; align-items: center; gap: 12px; border: 1px solid #bedacd; border-radius: 12px; background: #f3faf7; padding: 12px 15px; } .selected-material-summary > span:nth-child(2) { flex: 1; } .selected-material-summary small, .selected-material-summary b, .selected-material-summary em { display: block; } .selected-material-summary small { color: #7a8a82; font-size: 8px; } .selected-material-summary b { margin: 2px 0; font-size: 14px; } .selected-material-summary em { color: #8c9891; font-size: 7px; font-style: normal; } .selected-material-summary > i { color: var(--green); font-size: 9px; font-style: normal; font-weight: 800; } .full-primary.upload { margin-top: 18px; } .result-view { width: min(520px, calc(100% - 48px)); margin: auto; padding: 28px 0; text-align: center; } .success-ring { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 8px rgba(223,245,237,.55); } .success-ring span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 19px; } .receipt { margin-top: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 15px 40px rgba(26,50,38,.08); overflow: hidden; text-align: left; } .receipt-head { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px dashed #d9e0db; font-size: 10px; font-weight: 800; } .receipt-head small { color: #8c9691; font-weight: 400; } .receipt-weight { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: #f2f8f5; } .receipt-weight small, .receipt-weight b { display: block; } .receipt-weight small { color: var(--green); font-size: 10px; font-weight: 800; } .receipt-weight b { font-family: "Courier New", monospace; font-size: 28px; margin-top: 4px; } .receipt-weight em { font-family: Arial, sans-serif; font-size: 10px; font-style: normal; color: #7d8a83; } .receipt-weight > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: white; color: var(--green); font-style: normal; font-weight: 900; box-shadow: 0 4px 15px rgba(0,0,0,.05); } .receipt dl { padding: 5px 20px 10px; margin: 0; } .receipt dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #edf0ee; font-size: 10px; } .receipt dl div:last-child { border: 0; } .receipt dt { color: #859189; } .receipt dd { margin: 0; font-weight: 800; } .upload-ok { color: var(--green); } .result-view .full-primary { margin-top: 15px; } .countdown { position: relative; margin-top: 10px; color: #8b9690; font-size: 9px; overflow: hidden; } .countdown span { position: absolute; left: 0; bottom: -4px; height: 2px; background: var(--green); transition: width 1s linear; } .settings-view { width: min(980px, calc(100% - 40px)); padding: 21px 0 22px; } .settings-heading { margin-bottom: 14px; } .settings-heading h2 { font-size: 25px; } .settings-layout { display: grid; grid-template-columns: 165px minmax(0, 1fr); min-height: 456px; border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; box-shadow: 0 12px 35px rgba(30,55,43,.06); } .settings-tabs { padding: 12px 9px; border-right: 1px solid var(--line); background: #f2f6f3; } .settings-tabs button { width: 100%; display: flex; align-items: center; gap: 9px; position: relative; border: 0; border-radius: 9px; background: transparent; color: #6e7a73; padding: 11px 10px; font-size: 10px; text-align: left; } .settings-tabs button:hover { background: rgba(255,255,255,.8); color: var(--ink); } .settings-tabs button.active { background: white; color: var(--green); font-weight: 800; box-shadow: 0 5px 18px rgba(30,55,43,.08); } .settings-tabs button > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; background: #e4ebe7; font-size: 10px; } .settings-tabs button.active > span { background: var(--mint); } .settings-tabs button > b { margin-left: auto; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 99px; background: #c9792d; color: white; font-size: 8px; } .settings-panel { min-width: 0; padding: 19px 22px; } .settings-panel-title { min-height: 42px; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; } .settings-panel-title.compact { min-height: 32px; margin-bottom: 10px; } .settings-panel-title > span > b, .settings-panel-title > span > small { display: block; } .settings-panel-title > span > b { font-size: 13px; } .settings-panel-title > span > small { margin-top: 4px; color: #89948e; font-size: 9px; font-weight: 400; } .settings-panel-title > em { padding: 5px 8px; border-radius: 99px; background: #e9f5ef; color: var(--green); font-size: 8px; font-style: normal; font-weight: 800; } .settings-form-grid { display: grid; gap: 11px; } .settings-form-grid.three { grid-template-columns: 1.2fr .85fr 1fr; } .settings-form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .settings-form-grid label, .password-settings label, .material-editor-row label { display: block; } .settings-form-grid label > span, .password-settings label > span, .material-editor-row label > span { display: block; margin-bottom: 6px; color: #647069; font-size: 9px; font-weight: 800; } .settings-form-grid input, .password-settings input, .material-editor-row input { width: 100%; height: 38px; border: 1px solid #d9e0dc; border-radius: 8px; background: #fafbf9; padding: 0 11px; outline: 0; font-size: 10px; color: var(--ink); } .settings-form-grid input:focus, .password-settings input:focus, .material-editor-row input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,127,95,.06); background: white; } .settings-divider { height: 1px; margin: 18px 0 14px; background: var(--line); } .material-editor { display: grid; gap: 9px; } .material-editor-row { display: grid; grid-template-columns: 38px 1fr 1.45fr 22px; align-items: end; gap: 12px; padding: 10px 12px; border: 1px solid #e1e7e3; border-radius: 10px; background: #fbfcfb; } .material-editor-row > i { align-self: center; color: #b2bbb6; font-size: 9px; font-style: normal; font-weight: 800; } .material-icon.copper { background: #f3e2d6; color: #a65e2e; } .material-icon.wire { background: #f3ead2; color: #b27714; } .material-icon.aluminum { background: #e5ecee; color: #60747c; } .material-icon.tin { background: #e5e6ed; color: #62687c; } .feature-settings { display: grid; gap: 10px; } .feature-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e0e6e2; border-radius: 11px; background: #fbfcfb; } .feature-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--mint); color: var(--green); font-size: 17px; } .feature-copy { flex: 1; } .feature-copy b, .feature-copy small { display: block; } .feature-copy b { font-size: 11px; } .feature-copy small { margin-top: 4px; color: #8a958f; font-size: 8px; } .switch { width: 40px; height: 22px; position: relative; flex: 0 0 auto; } .switch input { position: absolute; opacity: 0; pointer-events: none; } .switch span { position: absolute; inset: 0; border-radius: 99px; background: #cbd4cf; transition: .2s; } .switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: .2s; } .switch input:checked + span { background: var(--green); } .switch input:checked + span::after { transform: translateX(18px); } .path-box { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 10px; margin: -3px 0 0 48px; padding: 9px 11px; border-radius: 8px; background: #f0f4f1; } .path-box small { color: #7f8b84; font-size: 8px; } .path-box code { color: #2d5748; font-family: "Courier New", monospace; font-size: 9px; font-weight: 800; } .path-box em { color: #929c96; font-size: 7px; font-style: normal; } .print-fields { display: flex; flex-wrap: wrap; gap: 7px; margin: -3px 0 0 48px; } .print-fields span { padding: 5px 7px; border-radius: 6px; background: #edf5f1; color: #497061; font-size: 7px; } .data-status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } .data-status-grid > div { display: grid; grid-template-columns: 38px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; padding: 14px; border: 1px solid #e1e7e3; border-radius: 11px; background: #fbfcfb; } .data-status-grid > div > span { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--green); font-size: 17px; } .data-status-grid small { color: #7e8a83; font-size: 8px; } .data-status-grid b { grid-column: 2; font-size: 22px; } .data-status-grid em { grid-column: 3; grid-row: 1 / 3; color: #98a29c; font-size: 8px; font-style: normal; } .path-box.data-path, .path-box.log-path { margin: 14px 0 0; } .data-actions { display: flex; align-items: center; gap: 15px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); } .data-actions > span { color: #8a958f; font-size: 8px; } .secondary-action { border: 1px solid #bdd2c8; border-radius: 8px; background: white; color: var(--green); padding: 10px 13px; font-size: 9px; font-weight: 800; } .secondary-action:hover { background: #f1f8f4; } .secondary-action.small { padding: 8px 10px; } .password-settings { max-width: 540px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; } .password-settings label:first-child { grid-column: 1 / -1; } .password-settings .secondary-action { grid-column: 1 / -1; justify-self: start; } .log-title { margin-bottom: 8px; } .log-title > span > b { display: flex; align-items: center; gap: 7px; } .live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #35b77c; box-shadow: 0 0 0 4px rgba(53,183,124,.12); } .log-viewer { height: 286px; margin-top: 12px; overflow-y: auto; border-radius: 10px; background: #13231d; padding: 8px 12px; color: #dce9e2; font-family: "Courier New", monospace; } .log-entry { display: grid; grid-template-columns: 72px 36px 1fr; gap: 9px; align-items: start; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 8px; } .log-entry time { color: #6f8c80; } .log-entry > span { color: #8aa398; } .log-entry.success > span { color: #5bd19c; } .log-entry.warning > span { color: #e0b864; } .log-entry.error > span { color: #e67b6e; } .log-entry p { margin: 0; line-height: 1.45; } .settings-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; } .settings-feedback { color: #87928c; font-size: 9px; } .settings-feedback.visible { color: var(--green); } .save-settings { min-width: 180px; border: 0; border-radius: 10px; background: var(--green); color: white; padding: 12px 15px; font-size: 10px; font-weight: 800; box-shadow: 0 8px 20px rgba(0,127,95,.16); } .save-settings span { float: right; } .modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(13,31,24,.58); backdrop-filter: blur(5px); padding: 20px; } .modal { width: min(390px, 100%); position: relative; background: #fff; border-radius: 20px; padding: 30px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.28); } .modal-close { position: absolute; right: 14px; top: 11px; border: 0; background: none; color: #89938e; font-size: 24px; } .modal-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 13px; background: var(--mint); color: var(--green); font-size: 22px; } .modal h2 { margin: 0 0 6px; font-size: 23px; } .modal p { color: #87928c; font-size: 11px; } .modal > input { width: 100%; margin-top: 12px; border: 1px solid #cfd8d2; border-radius: 11px; padding: 13px; text-align: center; font-size: 22px; letter-spacing: .45em; outline: 0; } .modal > input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,127,95,.08); } .password-error { display: block; color: #b44b3e; margin-top: 8px; font-size: 9px; } @media (max-width: 760px) { .app-shell { padding: 0; display: block; } .device-frame { min-height: 100vh; border-radius: 0; } .app-header { padding: 0 18px; } .status-pill { font-size: 0; padding: 9px; } .progress-strip { gap: 12px; padding-inline: 12px; } .progress-item { font-size: 9px; gap: 4px; } .home-view { padding: 38px 24px 34px; display: block; } h1 { font-size: 48px; } .home-material-panel { margin-top: 30px; } .home-start-hint { width: 100%; } .home-stats { gap: 15px; justify-content: space-between; } .panel-view { width: calc(100% - 32px); padding: 27px 0; } .section-heading { display: block; } .refresh-button { margin-top: 15px; } .weigh-view { padding: 16px; } .weigh-meta > span { min-width: 0; flex: 1; } .weight-number span { font-size: 54px; } .display-details { gap: 15px; } .scale-tools button { justify-content: center; padding: 10px 5px; } .scale-tools button > span { display: none; } .weigh-meta > span.material-meta { display: none; } .settings-view { width: calc(100% - 24px); } .settings-layout { grid-template-columns: 1fr; } .settings-tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 7px; } .settings-tabs button { min-width: 112px; justify-content: center; } .settings-panel { padding: 17px 14px; } .settings-form-grid.three, .settings-form-grid.two { grid-template-columns: 1fr; } .material-editor-row { grid-template-columns: 34px 1fr; } .material-editor-row label:nth-of-type(2) { grid-column: 2; } .material-editor-row > i { display: none; } .path-box { margin-left: 0; grid-template-columns: 1fr; gap: 4px; } .print-fields { margin-left: 0; } .password-settings { grid-template-columns: 1fr; } .password-settings label:first-child { grid-column: auto; } .password-settings .secondary-action { grid-column: auto; } .log-entry { grid-template-columns: 62px 34px 1fr; } .settings-footer-actions { align-items: stretch; flex-direction: column; } .save-settings { width: 100%; } footer { padding: 0 16px; } }