.stock-main{padding-top:34px;padding-bottom:64px}.stock-header .header-inner{min-height:80px}.stock-header-nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:600}.stock-header-nav form{margin:0}.stock-header-nav button{font-size:14px;min-height:44px}.stock-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.stock-eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.12em;color:var(--red);font-weight:700;margin-bottom:10px}.stock-heading h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.045em;line-height:1.15}.stock-heading>div>p:last-child{margin-top:10px;font-size:14px;color:var(--muted);line-height:1.5}.stock-industry-label{display:grid;gap:7px;min-width:210px;font-size:14px;font-weight:600}.stock-main select,.stock-dialog select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23444' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:36px}.stock-main input,.stock-main select,.stock-dialog input:not([type=checkbox]),.stock-dialog select,.stock-dialog textarea{font-family:inherit;font-size:16px;min-height:46px;border:1px solid #c8cccb;border-radius:8px;padding:10px 12px;color:var(--ink);width:100%;background-color:white}.stock-main select,.stock-dialog select{padding-right:36px}.stock-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.stock-summary>div{padding:20px 22px;border:1px solid var(--line);background:#fff;border-radius:14px}.stock-summary span{display:block;font-size:14px;color:var(--muted);margin-bottom:10px}.stock-summary strong{display:block;font-size:30px;font-weight:600;letter-spacing:-.04em}.stock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}.stock-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);max-width:100%;overflow:auto}.stock-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;font-size:14px;font-weight:600;min-height:50px;padding:10px 13px;white-space:nowrap;color:var(--muted)}.stock-tabs button[aria-selected=true]{border-bottom-color:var(--red);color:var(--ink)}.stock-actions{display:flex;gap:10px}.stock-actions .button{font-size:14px;padding:12px 17px;min-height:44px}.stock-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;gap:16px;align-items:end;margin-bottom:20px}.stock-filters label,.stock-history-filters label{display:grid;gap:7px;font-size:14px}.stock-filters .small-link{font-size:14px;min-height:44px;padding:10px 0}.stock-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}.stock-table{border-collapse:collapse;width:100%;font-size:14px}.stock-table th{text-align:left;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:.02em;color:#636b68;padding:15px 16px;background:#f9faf9;border-bottom:1px solid var(--line)}.stock-table td{padding:14px 16px;vertical-align:middle;border-bottom:1px solid #eceeeb}.stock-table tr:last-child td{border-bottom:0}.stock-table td:nth-child(n+3):not(:last-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.stock-table th:nth-child(n+3):not(:last-child){text-align:right}.stock-material-cell{display:flex;gap:13px;align-items:center;min-width:280px;max-width:410px}.stock-material-cell img{width:58px;height:58px;object-fit:contain;border-radius:8px;background:#f6f7f6;flex-shrink:0}.stock-material-cell strong{font-size:14px;line-height:1.45;display:block;font-weight:600}.stock-material-cell small{display:block;margin-top:4px;font-size:12px;color:var(--muted)}.stock-kind{display:block;margin-top:4px;color:var(--muted);font-size:12px}.stock-balance{font-size:18px;font-weight:700;color:#233c30}.stock-zero{color:#898e8b}.stock-table .small-link{font-size:14px;white-space:nowrap;min-height:42px}.stock-footnote{margin-top:15px;font-size:13px;line-height:1.6;color:var(--muted);max-width:100ch}.stock-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.stock-section-heading h2{font-size:24px;letter-spacing:-.03em;font-weight:600}.stock-section-heading p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:8px}.stock-section-heading .button{font-size:14px;padding:12px 16px}.stock-card-list{display:grid;gap:14px}.stock-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px}.stock-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:22px}.stock-card h3{font-size:18px;font-weight:600;margin-bottom:8px;line-height:1.4}.stock-card p{color:var(--muted);font-size:14px;line-height:1.65}.stock-tag{display:inline-block;border:1px solid #d6dfd9;background:#f3f7f4;padding:4px 9px;color:#385144;font-size:12px;border-radius:6px;margin-bottom:9px}.stock-tag.historical{background:#f4f5f6;border-color:#dde1e2;color:#58636a}.stock-card-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.stock-card-actions a,.stock-card-actions button{font-size:14px;white-space:nowrap;min-height:44px}.stock-card details{margin-top:16px;border-top:1px solid #e8ebe7;padding-top:13px}.stock-card summary{font-size:14px;font-weight:600;cursor:pointer}.stock-detail-lines{list-style:none;padding:0;margin:14px 0 0;max-height:280px;overflow:auto}.stock-detail-lines li{display:flex;justify-content:space-between;gap:20px;padding:8px 0;font-size:14px;line-height:1.5;border-bottom:1px solid #eff0ed}.stock-detail-lines li small{display:block;color:var(--muted);font-size:12px}.stock-detail-lines b{white-space:nowrap;font-weight:600}.stock-history-filters{display:flex;gap:12px}.stock-history-filters label{width:165px}.stock-documents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.stock-document-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.stock-document-card>img{width:100%;height:240px;object-fit:contain;background:#fafbfa;padding:10px}.stock-document-card>div{padding:24px}.stock-document-card h3{font-size:20px;font-weight:600;line-height:1.4;margin-bottom:10px}.stock-document-card p{font-size:14px;color:var(--muted);margin-bottom:20px;line-height:1.6}.stock-message{padding:14px 18px;border:1px solid #c8dacd;border-radius:10px;background:#f1f8f3;font-size:14px;line-height:1.5;margin-bottom:20px}.stock-message.error{border-color:#e5b6ba;background:#fff1f2;color:#9b2531}.stock-empty{padding:38px;text-align:center;background:white;border:1px solid var(--line);border-radius:14px;font-size:16px;color:var(--muted)}.stock-dialog{max-width:850px;width:calc(100% - 32px);border:1px solid #d9ded9;border-radius:18px;padding:0;background:var(--paper);max-height:calc(100dvh - 40px)}.stock-dialog-small{max-width:560px}.stock-dialog::backdrop{background:#10171480;backdrop-filter:blur(4px)}.stock-dialog .dialog-toolbar{position:sticky;top:0;background:#fff;z-index:2;padding:18px 24px;border-bottom:1px solid var(--line)}.stock-dialog .dialog-toolbar h2{font-size:21px;letter-spacing:-.03em}.stock-form{padding:24px}.stock-form label{display:grid;gap:8px;font-size:14px;margin-bottom:18px}.stock-form small{font-size:12px;line-height:1.5;color:var(--muted)}.stock-form-note{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:20px}.stock-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.stock-wide{grid-column:1/-1}.stock-form fieldset{border:1px solid var(--line);border-radius:10px;margin:0 0 22px;padding:16px}.stock-form legend{padding:0 8px;font-size:14px;font-weight:600}.stock-form .stock-checkbox{display:flex;align-items:center;gap:10px}.stock-checkbox input{width:18px;height:18px;accent-color:var(--red)}.stock-lines-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.stock-lines-heading h3{font-size:18px;font-weight:600}.stock-lines-heading button{font-size:14px;min-height:44px}.stock-line{display:grid;grid-template-columns:minmax(210px,1fr) 100px 100px 35px;align-items:start;gap:12px;padding:16px;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:12px}.stock-line label{margin:0}.stock-line .line-unit-note{grid-column:1/-1;font-size:12px;color:var(--muted)}.stock-line .line-remove{border:0;background:none;color:var(--muted);min-height:44px;margin-top:23px;font-size:18px}.stock-line.exit{grid-template-columns:minmax(210px,1fr) 100px 35px}.stock-form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.stock-form-actions .button{font-size:14px;padding:13px 18px;min-height:46px}.stock-form-error{padding:12px 14px;background:#fff0f1;color:#9d2832;font-size:14px;line-height:1.5;border-radius:8px}.stock-notes-label{margin-top:22px}
@media(max-width:1000px){.stock-filters{grid-template-columns:1fr 1fr}.stock-toolbar{align-items:stretch}.stock-actions{margin-left:auto}.stock-table th,.stock-table td{padding:13px}.stock-summary{gap:12px}.stock-summary>div{padding:18px 16px}}
@media(max-width:600px){.stock-header .header-inner{display:flex;height:auto;min-height:76px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;gap:10px}.stock-header-nav{gap:16px;flex-wrap:wrap;font-size:14px}.stock-heading{align-items:stretch;flex-direction:column;gap:20px}.stock-heading h1{font-size:30px}.stock-main{padding-top:25px}.stock-summary{grid-template-columns:1fr;gap:10px}.stock-summary strong{font-size:27px}.stock-summary span{font-size:12px}.stock-tabs{width:100%}.stock-tabs button{padding:12px 10px;font-size:14px}.stock-actions{width:100%;margin:0}.stock-actions .button{flex:1;justify-content:center;padding:13px 12px}.stock-filters{grid-template-columns:1fr 1fr;gap:14px}.stock-search{grid-column:1/-1}.stock-filters .small-link{grid-column:1/-1;justify-self:end}.stock-section-heading{align-items:stretch;flex-direction:column}.stock-card{padding:18px}.stock-card-head{flex-direction:column;gap:12px}.stock-card-actions{gap:18px}.stock-card-actions a,.stock-card-actions button{white-space:normal}.stock-documents{grid-template-columns:1fr}.stock-history-filters label{width:50%}.stock-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.stock-dialog .dialog-toolbar{padding:15px 18px}.stock-form{padding:18px}.stock-form-grid{grid-template-columns:1fr}.stock-line,.stock-line.exit{grid-template-columns:1fr 1fr 32px;gap:10px;padding:12px}.stock-line label:first-child{grid-column:1/-1}.stock-line .line-remove{grid-column:3;grid-row:2}.stock-line.exit .line-factor{display:none}.stock-line.exit label:nth-child(2){grid-column:1/3}.stock-document-card>img{height:auto;max-height:250px}.stock-empty{padding:30px 18px}}

.stock-read-only .stock-actions,.stock-read-only #stock-new-item,.stock-read-only #stock-new-document,.stock-read-only [data-item-exit],.stock-read-only [data-reverse],.stock-read-only .stock-dialog,.stock-read-only .stock-table th:last-child,.stock-read-only .stock-table td:last-child{display:none}
