*{box-sizing:border-box}body{margin:0;background:#f2f5f6;color:#163840;font-family:'Segoe UI','Microsoft YaHei',sans-serif;font-size:14px}.admin-layout{display:grid;grid-template-columns:200px minmax(0,1fr);max-width:1600px;margin:0 auto;min-height:calc(100vh - 56px)}.admin-layout aside{padding:28px 20px;border-right:1px solid #dbe5e8;background:#fff}.admin-layout h1{font-size:20px;margin:0 0 24px}.admin-layout nav{display:grid;gap:6px}.admin-layout nav button{border:0;border-radius:4px;background:transparent;text-align:left;padding:12px 14px;color:#526b73;font:inherit;cursor:pointer}.admin-layout nav [aria-current=page]{background:#eaf3f4;color:#176e7b;font-weight:600}.admin-content.production{margin:24px;border-radius:6px;padding:24px;overflow:visible}.admin-client{display:flex;justify-content:flex-end;margin-bottom:14px}.catalog-page .standards-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.catalog-page h2{font-size:21px;margin:0}.catalog-page .catalog-list{margin-bottom:20px}.catalog-page .catalog-form{max-width:850px;background:#f6f9f9;padding:18px;border:1px solid #dbe5e8;border-radius:4px}.catalog-page td:last-child{white-space:normal;line-height:1.6}.admin-content [hidden]{display:none!important}#adminAccount{font-size:12px;line-height:1.6;margin-top:30px;color:#526b73}#backToOperations{color:#176e7b;font-size:13px;text-decoration:none}#adminStatus{font-size:13px;color:#526b73}.admin-content input,.admin-content select{max-width:100%}.user-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:800px}.user-form fieldset,.user-form>button{grid-column:1/-1}.user-form fieldset{border:1px solid #cedbdf}.user-form fieldset label{display:flex;align-items:center;padding:6px;gap:8px}.user-form button{justify-self:start}.admin-error{color:#aa382a!important}@media(max-width:700px){.admin-layout{grid-template-columns:1fr}.admin-layout aside{padding:16px;border-right:0;border-bottom:1px solid #dbe5e8}.admin-layout h1{margin-bottom:12px}.admin-layout nav{display:flex}.admin-layout nav button{flex:1;text-align:center}#adminAccount{margin-top:12px}.admin-content.production{margin:12px;padding:16px}.user-form{grid-template-columns:1fr}}

#adminAccount form{display:grid;gap:12px}#adminAccount label{display:grid;gap:4px}#adminAccount input{width:100%;min-width:0;padding:9px;border:1px solid #bdcfd5;border-radius:4px}#adminAccount button{padding:9px;background:#176e7b;color:white;border:0;border-radius:4px;cursor:pointer}.admin-table-scroll{overflow:auto}.admin-table-scroll table{width:100%}.user-form{margin-bottom:24px;padding:16px;background:#f5f8f9}.user-form h3{grid-column:1/-1;margin:0}.user-form input[type=checkbox]{width:18px;height:18px}
/* Share administration follows the existing compact management layout. */
.admin-layout [hidden]{display:none!important}
.share-intro{font-size:13px;color:#526b73;margin:8px 0 16px}
.share-form,.share-result{margin:18px 0 24px;padding:18px;border:1px solid #dbe5e8;background:#f8fafb}
.share-fields{border:0;padding:0;margin:0;min-width:0}
.share-field-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.share-field-row label{display:grid;gap:6px;min-width:0}
.share-field-row input,.share-field-row select{width:100%;min-width:0}
.share-projects{margin:18px 0 8px;padding:10px 0 0;border:0}
.share-project-choices{display:flex;flex-wrap:wrap;gap:8px 22px}
.share-project-choices label{display:flex;align-items:center;gap:7px;min-height:32px}
.share-project-choices input[type=checkbox]{width:17px;height:17px;accent-color:#176e7b}
.share-actions{display:flex;align-items:center;gap:10px;margin-top:12px}
.share-result{display:grid;gap:10px}
.share-result input{width:100%;min-width:0}
.share-result small,#shareManagement td small{display:block;font-size:12px;color:#526b73;line-height:1.6}
.share-message:empty{display:none}
#shareManagement table{min-width:650px;width:100%}
#shareManagement td:first-child{white-space:normal;min-width:210px}
#shareManagement td:last-child{white-space:nowrap}
#shareManagement .share-revoke{color:#a63429}
@media(max-width:700px){.share-field-row{grid-template-columns:1fr}.share-form,.share-result{padding:14px}.admin-layout nav{flex-wrap:wrap}.admin-layout nav button{white-space:nowrap}}
.admin-layout>aside,.admin-content.production{min-width:0}
