/* Self-hosted Google Fonts; SIL OFL 1.1. See licenses/ and ui-fonts-sources.json. */
/* Inter: greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-v20-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* Inter: greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-v20-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Inter: latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-v20-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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
/* Inter: latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-v20-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-v38-brand.woff2) format('woff2');
  unicode-range: U+54, U+69, U+6c, U+6f-70, U+73;
}

/* Generated by scripts/split-handwriting-font.py. */
@font-face {
  font-family: PhotoJournalHand;
  src: url('/assets/fonts/handwriting-cjk-common.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+2E80-2FFF, U+3000-303F, U+4E00-4E69, U+4E70-4E73, U+4E7E-4EB3, U+4EBA-4F01, U+4F09-4F3D,
    U+4F43-4F63, U+4F69-4FAF, U+4FB5-4FB7, U+4FBF-4FC4, U+4FCA-4FD1, U+4FD7-4FE1, U+4FE9-5000,
    U+5006-502D, U+503A-504F, U+5055-505C, U+5065, U+506D-509A, U+50A2-50BE, U+50C5-50C7,
    U+50CE-50DA, U+50E5-5109, U+5110-5118, U+511F-5121, U+512A, U+5132-515C, U+5162-51D1,
    U+51DB-51E4, U+51ED-5230, U+5236-525D, U+5265-5277, U+527D-5293, U+529B-52B3, U+52BB-52CB,
    U+52D2-52E6, U+52F0-5323, U+532A-5331, U+5339-538C, U+5395-53B2, U+53BB-5420, U+5426-545C,
    U+5462, U+5468, U+5471-549A, U+54A6-54D1, U+54D7, U+54DF-54F2, U+54FA-5509, U+550F-5514,
    U+5524-5538, U+553E-554F, U+5555-556E, U+5578-558B, U+5594-559F, U+55A7-55BB, U+55C5-55D3,
    U+55DA-55E8, U+55EF, U+55F6-55F7, U+55FD-5600, U+5606-561F, U+5629-563F, U+564E-5659,
    U+5662-5679, U+5680-5687, U+568E-5695, U+56A3-56A8, U+56AE, U+56B4-56C2, U+56C8-56D1,
    U+56DA-56E4, U+56EA-56F4, U+56FA-5718, U+571F-5733, U+573A-5740, U+5747-5751, U+5757-576F,
    U+5777-577C, U+5782-5784, U+578B, U+5792-5793, U+579B-57AE, U+57C2-57C3, U+57CB-57CE,
    U+57D4, U+57DF-57E4, U+57F7-57FA, U+5802-580A, U+5811-5815, U+581D-5824, U+582A-5835,
    U+584A-5862, U+586B-586D, U+5875-588A, U+5892-5893, U+5899-589F, U+58A6-58B3, U+58BE-58C7,
    U+58CE-58FD, U+5904-5907, U+590D-593E, U+5944-595A, U+5960-59A8, U+59AE-59B3, U+59B9-59BE,
    U+59C5-59DC, U+59E3-59EC, U+59FB-5A29, U+5A31-5A36, U+5A3C-5A4A, U+5A5A, U+5A62-5A6A,
    U+5A74-5A77, U+5A7F, U+5A92, U+5A9A-5A9B, U+5AA7, U+5AB2-5AB3, U+5ABC-5AC2, U+5AC9-5ACC,
    U+5AD6-5AD8, U+5AE1-5AE9, U+5AF5, U+5AFB, U+5B08-5B0C, U+5B1D, U+5B24, U+5B2A, U+5B30-5B38,
    U+5B40-5B43, U+5B50-5B8F, U+5B97-5BD3, U+5BDD-5C31, U+5C37-5C71, U+5C79, U+5C7F-5C82,
    U+5C8C-5C9B, U+5CA1, U+5CA9-5CB8, U+5CBF, U+5CD2, U+5CD9, U+5CE1-5D07, U+5D0E-5D1B,
    U+5D22-5D2D, U+5D34, U+5D47-5D50, U+5D69, U+5D6F, U+5D84-5D87, U+5D94, U+5D9D, U+5DB8-5DBD,
    U+5DC9-5DD6, U+5DDD-5DF7, U+5DFD-5E1F, U+5E25-5E45, U+5E4C, U+5E54-5E63, U+5E6B,
    U+5E72-5EA0, U+5EA6-5EAD, U+5EB5-5EB8, U+5EBE-5ECA, U+5ED3-5EE3, U+5EEC, U+5EF3-5F3C,
    U+5F46-5F71, U+5F77-5FA1, U+5FA8-5FAE, U+5FB5-5FBD, U+5FC3-5FC6, U+5FCC-5FCD, U+5FD6-5FE0,
    U+5FE7-5FEB, U+5FF1-6002, U+600E-602F, U+6035, U+603B, U+6043-6059, U+6062-6076,
    U+607C-608D, U+6094-60BD, U+60C5-60CB, U+60D1-6127, U+6134-6137, U+613E-6182, U+618A-6194,
    U+619A, U+61A4-61B6, U+61BE-61D2, U+61E3-61E6, U+61F2-6200, U+6208-6222, U+622A-6237,
    U+623E-6241, U+6247-625B, U+6263-628A, U+6291-632F, U+633A-6355, U+635E-63AC, U+63B3-63BA,
    U+63C0, U+63C6-63DB, U+63E1-63E3, U+63E9-63EE, U+63F4-6406, U+640D-641E, U+642A-642D,
    U+6434-643E, U+6444-644A, U+6451-6458, U+645F, U+6467-646F, U+6478-647B, U+6482-6488,
    U+6490-64B5, U+64BB-64E6, U+64EC-6500, U+6506, U+650F-651D, U+6523-6524, U+652A-652F,
    U+6536-653F, U+6545-6566, U+656C-6578, U+6582-65B0, U+65B7-65C5, U+65CB-65CF, U+65D6-65D7,
    U+65E0-65FA, U+6600-6615, U+661F-6631, U+663C-665E, U+6664-6668, U+666E-66A2, U+66A8-66B9,
    U+66C4-66C9, U+66D6-66E0, U+66E6-670D, U+6714-671F, U+6726-67A3, U+67AA-67B8, U+67C4,
    U+67CF-67F5, U+67FF, U+6805-6818, U+6821, U+6829-682A, U+6837-6854, U+6863-6869, U+6876,
    U+687F-6886, U+6893-6897, U+689D-68B5, U+68C0-68E7, U+68EE-68FB, U+6905, U+690D-6912,
    U+692D-6930, U+693D-693F, U+694A, U+6953-6954, U+695A-696E, U+6975-697C, U+6982-6986,
    U+6994-6995, U+699B-699C, U+69A3-69AE, U+69B4-69BB, U+69C1-69C3, U+69CB-69D3, U+69DB,
    U+69E8-69ED, U+69F3, U+69FD-6A0A, U+6A11-6A13, U+6A19-6A23, U+6A2A, U+6A31-6A3D,
    U+6A44-6A4B, U+6A58-6A59, U+6A5F-6A62, U+6A6B, U+6A71, U+6A7E-6A84, U+6A90-6AA3,
    U+6AAC-6ABB, U+6AC2-6AC3, U+6AD3, U+6ADA-6ADD, U+6AE5, U+6AEC, U+6AFA-6AFB, U+6B04, U+6B0A,
    U+6B10, U+6B16, U+6B20-6B27, U+6B32, U+6B3A-6B3E, U+6B47-6B50, U+6B59-6B6A, U+6B72-6B8B,
    U+6B96-6B98, U+6BA4, U+6BAE-6BDB, U+6BE1, U+6BEB-6BEF, U+6BFD, U+6C05-6C08, U+6C0F-6C38,
    U+6C3E-6C6A, U+6C70-6CCC, U+6CD3-6CF5, U+6CFB-6D01, U+6D0B-6D1E, U+6D25-6D53, U+6D59-6D5A,
    U+6D65-6D6E, U+6D74-6D79, U+6D82-6D95, U+6D9B-6DFB, U+6E05-6E44, U+6E4A-6E4E, U+6E54-6E72,
    U+6E7E-6E89, U+6E90, U+6E96-6EF7, U+6EFE-6F06, U+6F0F-6F15, U+6F20-6F23, U+6F29-6F38,
    U+6F3E-6F3F, U+6F4D-6F66, U+6F6D-6F70, U+6F78-6F88, U+6F8E, U+6F97-6FA7, U+6FB1-6FB9,
    U+6FC0-6FC3, U+6FD2-6FF1, U+6FFA-6FFE, U+7006-701F, U+7028, U+7030-7032, U+703E,
    U+704C-7051, U+7058, U+705E-7064, U+706B-707F, U+7089-7099, U+70A4, U+70AB-70CF,
    U+70D8-70EF, U+70F7-70FD, U+7109-710A, U+7115-7126, U+7130, U+7136, U+7146-714E,
    U+7156-715E, U+7164-716E, U+717D, U+7184, U+718A-7199, U+719F, U+71A8-71B1, U+71B9-71EE,
    U+71F4-71FE, U+7206, U+720D-7210, U+721B, U+7228-723E, U+7246-724C, U+7252-7269,
    U+726F-7284, U+728A, U+7292-729B, U+72A2-72AF, U+72B6-72B9, U+72C0-72C8, U+72CE-72D0,
    U+72D7-72E1, U+72E9-72F1, U+72F7-72FD, U+730E-731C, U+7325-732E, U+7334-7337, U+733E-7345,
    U+734E-7350, U+7357, U+7368-738B, U+7396-739F, U+73A5-73C0, U+73CA-73D0, U+73DE-73E0,
    U+73EA-73EE, U+73FE-7410, U+741B, U+7422-7441, U+7455-7470, U+7476, U+747E-7483, U+748B,
    U+7498-74A9, U+74B0, U+74BD-74BF, U+74CA-74E6, U+74EE, U+74F6-74F7, U+7504, U+750C-750D,
    U+7515-753D, U+7545, U+754B-7578, U+757F, U+7586-7591, U+7597-75A5, U+75AB-75E3, U+75EA,
    U+75F0-7601, U+7609-760D, U+7613, U+761F-762B, U+7634-763A, U+7642-7646, U+764C,
    U+7652-7658, U+765F-7672, U+7678-769A, U+76AE-76B4, U+76BA-7701, U+7707-770B, U+771F-7720,
    U+7728-7729, U+772F, U+7736-7741, U+774F, U+775B-776C, U+7779-7792, U+779E-77B3,
    U+77BB-77BF, U+77C7, U+77D3-77DC, U+77E2-77F3, U+77FD-7802, U+780C-7827, U+782D-7838,
    U+783E-7845, U+784E-7855, U+785D, U+786B-786F, U+7877-787F, U+7889-7898, U+789F-78A9,
    U+78B0-78B4, U+78BA-78DA, U+78E7-78FA, U+7901, U+790E, U+7919, U+7926-792C, U+793A-7949,
    U+7950-796D, U+7977-7984, U+798D-798F, U+79A6-79B3, U+79B9-79D2, U+79D8, U+79DF-79E9,
    U+79EF-79F0, U+79F8-7A0E, U+7A14-7A20, U+7A2E-7A40, U+7A46-7A4E, U+7A57, U+7A60-7A62,
    U+7A69-7A6B, U+7A74-7AAF, U+7ABA-7ACB, U+7AD6-7AE5, U+7AED-7AEF, U+7AF6-7AFF, U+7B06-7B0B,
    U+7B11-7B20, U+7B26-7B2E, U+7B3A-7B3C, U+7B46-7B60, U+7B67, U+7B6E, U+7B75-7B97,
    U+7B9D-7BA1, U+7BA9-7BB8, U+7BC0-7BCC, U+7BD3, U+7BD9-7BF1, U+7BF7, U+7BFE, U+7C07-7C11,
    U+7C1E-7C2B, U+7C37-7C43, U+7C4C-7C50, U+7C5F-7C65, U+7C6C-7C73, U+7C7B-7C7D, U+7C89,
    U+7C92-7C98, U+7C9F-7CBE, U+7CCA, U+7CD5-7CE7, U+7CEF-7CF0, U+7CF8-7D33, U+7D39-7D46,
    U+7D50-7D55, U+7D5B-7D68, U+7D6E-7D73, U+7D79, U+7D81, U+7D8F-7D93, U+7D9C-7DA2,
    U+7DAC-7DBF, U+7DC7-7DCA, U+7DD2, U+7DD8-7DFB, U+7E08-7E0A, U+7E10-7E11, U+7E1B-7E23,
    U+7E2B-7E48, U+7E52-7E61, U+7E69-7E6D, U+7E73, U+7E79-7E82, U+7E8C-7E96, U+7E9C-7F20,
    U+7F28-7F2E, U+7F34-7F3D, U+7F44-7F62, U+7F69-7F79, U+7F85-7F8E, U+7F94, U+7F9A-7FA9,
    U+7FAF-7FC5, U+7FCC-7FD8, U+7FDF-7FE1, U+7FE9-7FF3, U+7FF9-801C, U+8026-802A, U+8033-804C,
    U+8052-805E, U+806A-8077, U+807D-808C, U+8093-80B4, U+80BA-80C6, U+80CC-80CE, U+80D6-80E5,
    U+80ED-811A, U+8123-8131, U+8138-813E, U+8146-8155, U+8165-8182, U+8188-818F, U+8198-81A0,
    U+81A8-81A9, U+81B3, U+81BA-81CF, U+81D8-81ED, U+81F3-81F4, U+81FA-8214, U+821B-8222,
    U+8228-8239, U+8247-824B, U+8258-8259, U+8266, U+826E-8282, U+828B-8292, U+8299-82A6,
    U+82AC-82BE, U+82C7, U+82CD-82F1, U+82F9, U+8301-830E, U+8317, U+8327-8339, U+8340-8354,
    U+835A, U+8361-836F, U+8377-837C, U+8386-8398, U+839E-83AB, U+83B1-83D4, U+83DC-83E0,
    U+83E9, U+83EF-83FD, U+8403-840E, U+841D, U+8424-843D, U+8446-8449, U+8457-845B,
    U+8461-8477, U+8482, U+848B-8490, U+8499-849E, U+84B2, U+84B8-84CB, U+84D1-84D6,
    U+84DD-84DF, U+84EC-84EE, U+84FF, U+8506, U+8511-851A, U+8521-8525, U+852B-852D,
    U+8537-853D, U+8543-854A, U+8559-855E, U+8568-856D, U+8574, U+857E, U+8584-858A,
    U+8591-8594, U+859B-859C, U+85A6-85B0, U+85B9-85BA, U+85C9-85D5, U+85DD, U+85E4-85EA,
    U+85F7-85FB, U+8606-860B, U+8611, U+8617-861A, U+862D, U+8638, U+863F, U+864E-865F,
    U+8667-866B, U+8671, U+8679-8682, U+868A-868C, U+8693-8695, U+869C, U+86A3-86B6,
    U+86C0-86E4, U+86ED-86F0, U+86F9-870A, U+8712-8729, U+8734-873F, U+8747-8759, U+8760,
    U+8766-8768, U+8774-8778, U+8782-8783, U+878D, U+879E-87A2, U+87AB, U+87B3, U+87BA-87C0,
    U+87C6-87CB, U+87D1-87D2, U+87E0, U+87EC-87F2, U+87F9-87FE, U+8805, U+880D, U+8814-8815,
    U+881F-8823, U+8831-8845, U+884C-884D, U+8853-8870, U+8877-8896, U+889C-889E, U+88AB-88B1,
    U+88C1-88CA, U+88D2-88E8, U+88EF-890A, U+8910-891A, U+8921-892B, U+8932-893D, U+8944,
    U+8956, U+895E-8964, U+896A-8972, U+897F-8996, U+899C, U+89A6-89AC, U+89B2, U+89BA-89C9,
    U+89D2-89D4, U+89E3-89E6, U+89F4-8A46, U+8A50-8A73, U+8A79-8A7C, U+8A85-8AAA, U+8AB0-8ADC,
    U+8AE6-8B04, U+8B0A-8B10, U+8B17-8B20, U+8B28-8B2C, U+8B39, U+8B41-8B4F, U+8B58-8B5F,
    U+8B66-8B77, U+8B7D-8B80, U+8B8A, U+8B92-8C1C, U+8C22-8C37, U+8C3F-8C5A, U+8C61-8C62,
    U+8C6A-8C6D, U+8C73, U+8C79-8C7A, U+8C82, U+8C89-8C8D, U+8C93, U+8C9D-8CCA, U+8CD1-8CD3,
    U+8CDC-8CED, U+8CF4-8CFD, U+8D05-8D44, U+8D4A-8D77, U+8D81-8D8B, U+8D95-8D99, U+8D9F-8DA8,
    U+8DB3-8DB4, U+8DBA-8DD1, U+8DDA-8DFC, U+8E0A-8E10, U+8E1D-8E22, U+8E29-8E2B, U+8E31-8E39,
    U+8E42-8E4B, U+8E55-8E59, U+8E5F-8E66, U+8E6C-8E93, U+8EA1, U+8EAA-8EB2, U+8EBA, U+8EC0,
    U+8ECA-8ED4, U+8EDB-8EDF, U+8EF8-8F03, U+8F09-8F0A, U+8F12-8F15, U+8F1B-8F1F, U+8F25-8F4E,
    U+8F54, U+8F5F-8F74, U+8F7B-8F8A, U+8F90-8FB2, U+8FB9-8FC8, U+8FCE-9023, U+902E-9095,
    U+90A2-90BB, U+90C1-90C3, U+90CA-90D1, U+90DD-90ED, U+90F4-9102, U+9109, U+9112-911E,
    U+9127, U+912D-9139, U+9148-9178, U+917F-918B, U+9192, U+919A-91A3, U+91AB-91B4, U+91BA,
    U+91C0-91D1, U+91D7-91DD, U+91E3-91ED, U+91F5, U+9207-9215, U+921E-9223, U+9234-9251,
    U+9257-925B, U+9264, U+9274-9285, U+9291-929C, U+92A8-92AC, U+92B2-92C7, U+92D2, U+92E4,
    U+92EA, U+92F0, U+92F8-92FC, U+9304, U+9310-931A, U+9320-9336, U+934A-934D, U+9354,
    U+935A-935B, U+9365, U+936C-9375, U+937E-9382, U+938A, U+9394-939A, U+93A2, U+93AC-93B3,
    U+93C3-93E8, U+93FD, U+9403, U+9418, U+942B-943A, U+9444, U+9451-9452, U+9460-9464, U+946A,
    U+9470-947F, U+9488-9493, U+9499-94B5, U+94BB-94C6, U+94DC-94E3, U+94EC-9511, U+9517-951A,
    U+9521-9530, U+9539-9541, U+9547-9551, U+955C, U+9563, U+956D-9570, U+9576-9577,
    U+957F-9583, U+9589-9598, U+95A1-95B1, U+95BB, U+95C6-95D6, U+95DC-95E2, U+95E8-9614,
    U+961C-9621, U+962A-967D, U+9684-969C, U+96A7-96AA, U+96B1-9716, U+971C-971E, U+9724-972A,
    U+9730-9732, U+9738-9748, U+9752-9769, U+9773-9776, U+977C, U+9785, U+978B-978F, U+9798,
    U+97A0-97A6, U+97AD, U+97C1-97CC, U+97D3, U+97DC, U+97E6-97ED, U+97F3-9824, U+982B-9830,
    U+9837-983B, U+9846, U+984C-985E, U+9865-988A, U+9890-98A8, U+98AF-98BC, U+98C4, U+98CE,
    U+98D8-98F4, U+98FC-9921, U+9928, U+992E, U+9935, U+993D-993F, U+9945-9949, U+9951-995E,
    U+9965, U+996D-9999, U+99A5-99B4, U+99C1, U+99D0-99E2, U+99ED-99F1, U+99FF-9A01, U+9A0E,
    U+9A16-9A19, U+9A2B-9A37, U+9A3E-9A45, U+9A4D, U+9A55-9A91, U+9A97-9A9A, U+9AA1-9AA8,
    U+9AAF-9AB0, U+9AB7-9AC1, U+9ACF-9AD8, U+9AE1-9AE6, U+9AED-9AEF, U+9AFB, U+9B03-9B06,
    U+9B0D, U+9B1A, U+9B22-9B28, U+9B31-9B32, U+9B3C-9B45, U+9B4D-9B5A, U+9B6F, U+9B77, U+9B91,
    U+9BAA-9BAE, U+9BC0, U+9BC8-9BCA, U+9BD6-9BDB, U+9BE7-9BE8, U+9BFD, U+9C0D, U+9C13, U+9C25,
    U+9C2D-9C31, U+9C3B-9C3E, U+9C49, U+9C54-9C57, U+9C5F, U+9C77-9C81, U+9C8D, U+9C9C, U+9CA4,
    U+9CB8, U+9CC3, U+9CD6, U+9CDE, U+9CE5-9CE9, U+9CF3-9CF6, U+9D03-9D09, U+9D12-9D15, U+9D1B,
    U+9D23-9D28, U+9D3B-9D3F, U+9D51, U+9D5D-9D61, U+9D6A-9D6C, U+9D72, U+9D89, U+9DAF-9DB8,
    U+9DC2, U+9DD3-9DD7, U+9DE5, U+9DF9-9DFA, U+9E1A-9E26, U+9E2D-9E35, U+9E3D-9E4F, U+9E64,
    U+9E70-9E82, U+9E8B, U+9E92-9E97, U+9E9D-9E9F, U+9EA5-9EA9, U+9EB4-9EB5, U+9EBB-9EC4,
    U+9ECC-9EE0, U+9EE8, U+9EEF-9EF7, U+9F07, U+9F0E-9F19, U+9F20, U+9F2C-9F34, U+9F3B-9F3E,
    U+9F4A-9F52, U+9F5C-9F6C, U+9F72-9F77, U+9F7F-9F84, U+9F8B-9F9F, U+FE10-FE19, U+FE30-FE6B,
    U+FF01-FFEE;
}
@font-face {
  font-family: PhotoJournalHand;
  src: url('/assets/fonts/handwriting-cjk-extended.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+3400-4DFF, U+4E6A-4E6F, U+4E74-4E7D, U+4EB4-4EB9, U+4F02-4F08, U+4F3E-4F42, U+4F64-4F68,
    U+4FB0-4FB4, U+4FB8-4FBE, U+4FC5-4FC9, U+4FD2-4FD6, U+4FE2-4FE8, U+5001-5005, U+502E-5039,
    U+5050-5054, U+505D-5064, U+5066-506C, U+509B-50A1, U+50BF-50C4, U+50C8-50CD, U+50DB-50E4,
    U+510A-510F, U+5119-511E, U+5122-5129, U+512B-5131, U+515D-5161, U+51D2-51DA, U+51E5-51EC,
    U+5231-5235, U+525E-5264, U+5278-527C, U+5294-529A, U+52B4-52BA, U+52CC-52D1, U+52E7-52EF,
    U+5324-5329, U+5332-5338, U+538D-5394, U+53B3-53BA, U+5421-5425, U+545D-5461, U+5463-5467,
    U+5469-5470, U+549B-54A5, U+54D2-54D6, U+54D8-54DE, U+54F3-54F9, U+550A-550E, U+5515-5523,
    U+5539-553D, U+5550-5554, U+556F-5577, U+558C-5593, U+55A0-55A6, U+55BC-55C4, U+55D4-55D9,
    U+55E9-55EE, U+55F0-55F5, U+55F8-55FC, U+5601-5605, U+5620-5628, U+5640-564D, U+565A-5661,
    U+567A-567F, U+5688-568D, U+5696-56A2, U+56A9-56AD, U+56AF-56B3, U+56C3-56C7, U+56D2-56D9,
    U+56E5-56E9, U+56F5-56F9, U+5719-571E, U+5734-5739, U+5741-5746, U+5752-5756, U+5770-5776,
    U+577D-5781, U+5785-578A, U+578C-5791, U+5794-579A, U+57AF-57C1, U+57C4-57CA, U+57CF-57D3,
    U+57D5-57DE, U+57E5-57F6, U+57FB-5801, U+580B-5810, U+5816-581C, U+5825-5829, U+5836-5849,
    U+5863-586A, U+586E-5874, U+588B-5891, U+5894-5898, U+58A0-58A5, U+58B4-58BD, U+58C8-58CD,
    U+58FE-5903, U+5908-590C, U+593F-5943, U+595B-595F, U+59A9-59AD, U+59B4-59B8, U+59BF-59C4,
    U+59DD-59E2, U+59ED-59FA, U+5A2A-5A30, U+5A37-5A3B, U+5A4B-5A59, U+5A5B-5A61, U+5A6B-5A73,
    U+5A78-5A7E, U+5A80-5A91, U+5A93-5A99, U+5A9C-5AA6, U+5AA8-5AB1, U+5AB4-5ABB, U+5AC3-5AC8,
    U+5ACD-5AD5, U+5AD9-5AE0, U+5AEA-5AF4, U+5AF6-5AFA, U+5AFC-5B07, U+5B0D-5B1C, U+5B1E-5B23,
    U+5B25-5B29, U+5B2B-5B2F, U+5B39-5B3F, U+5B44-5B4F, U+5B90-5B96, U+5BD4-5BDC, U+5C32-5C36,
    U+5C72-5C78, U+5C7A-5C7E, U+5C83-5C8B, U+5C9C-5CA0, U+5CA2-5CA8, U+5CB9-5CBE, U+5CC0-5CD1,
    U+5CD3-5CD8, U+5CDA-5CE0, U+5D08-5D0D, U+5D1C-5D21, U+5D2E-5D33, U+5D35-5D46, U+5D51-5D68,
    U+5D6A-5D6E, U+5D70-5D83, U+5D88-5D93, U+5D95-5D9C, U+5D9E-5DB7, U+5DBE-5DC8, U+5DD7-5DDC,
    U+5DF8-5DFC, U+5E20-5E24, U+5E46-5E4B, U+5E4D-5E53, U+5E64-5E6A, U+5E6C-5E71, U+5EA1-5EA5,
    U+5EAE-5EB4, U+5EB9-5EBD, U+5ECB-5ED2, U+5EE4-5EEB, U+5EED-5EF2, U+5F3D-5F45, U+5F72-5F76,
    U+5FA2-5FA7, U+5FAF-5FB4, U+5FBE-5FC2, U+5FC7-5FCB, U+5FCE-5FD5, U+5FE1-5FE6, U+5FEC-5FF0,
    U+6003-600D, U+6030-6034, U+6036-603A, U+603C-6042, U+605A-6061, U+6077-607B, U+608E-6093,
    U+60BE-60C4, U+60CC-60D0, U+6128-6133, U+6138-613D, U+6183-6189, U+6195-6199, U+619B-61A3,
    U+61B7-61BD, U+61D3-61E2, U+61E7-61F1, U+6201-6207, U+6223-6229, U+6238-623D, U+6242-6246,
    U+625C-6262, U+628B-6290, U+6330-6339, U+6356-635D, U+63AD-63B2, U+63BB-63BF, U+63C1-63C5,
    U+63DC-63E0, U+63E4-63E8, U+63EF-63F3, U+6407-640C, U+641F-6429, U+642E-6433, U+643F-6443,
    U+644B-6450, U+6459-645E, U+6460-6466, U+6470-6477, U+647C-6481, U+6489-648F, U+64B6-64BA,
    U+64E7-64EB, U+6501-6505, U+6507-650E, U+651E-6522, U+6525-6529, U+6530-6535, U+6540-6544,
    U+6567-656B, U+6579-6581, U+65B1-65B6, U+65C6-65CA, U+65D0-65D5, U+65D8-65DF, U+65FB-65FF,
    U+6616-661E, U+6632-663B, U+665F-6663, U+6669-666D, U+66A3-66A7, U+66BA-66C3, U+66CA-66D5,
    U+66E1-66E5, U+670E-6713, U+6720-6725, U+67A4-67A9, U+67B9-67C3, U+67C5-67CE, U+67F6-67FE,
    U+6800-6804, U+6819-6820, U+6822-6828, U+682B-6836, U+6855-6862, U+686A-6875, U+6877-687E,
    U+6887-6892, U+6898-689C, U+68B6-68BF, U+68E8-68ED, U+68FC-6904, U+6906-690C, U+6913-692C,
    U+6931-693C, U+6940-6949, U+694B-6952, U+6955-6959, U+696F-6974, U+697D-6981, U+6987-6993,
    U+6996-699A, U+699D-69A2, U+69AF-69B3, U+69BC-69C0, U+69C4-69CA, U+69D4-69DA, U+69DC-69E7,
    U+69EE-69F2, U+69F4-69FC, U+6A0B-6A10, U+6A14-6A18, U+6A24-6A29, U+6A2B-6A30, U+6A3E-6A43,
    U+6A4C-6A57, U+6A5A-6A5E, U+6A63-6A6A, U+6A6C-6A70, U+6A72-6A7D, U+6A85-6A8F, U+6AA4-6AAB,
    U+6ABC-6AC1, U+6AC4-6AD2, U+6AD4-6AD9, U+6ADE-6AE4, U+6AE6-6AEB, U+6AED-6AF9, U+6AFC-6B03,
    U+6B05-6B09, U+6B0B-6B0F, U+6B11-6B15, U+6B17-6B1F, U+6B28-6B31, U+6B33-6B39, U+6B3F-6B46,
    U+6B51-6B58, U+6B6B-6B71, U+6B8C-6B95, U+6B99-6BA3, U+6BA5-6BAD, U+6BDC-6BE0, U+6BE2-6BEA,
    U+6BF0-6BFC, U+6BFE-6C04, U+6C09-6C0E, U+6C39-6C3D, U+6C6B-6C6F, U+6CCD-6CD2, U+6CF6-6CFA,
    U+6D02-6D0A, U+6D1F-6D24, U+6D54-6D58, U+6D5B-6D64, U+6D6F-6D73, U+6D7A-6D81, U+6D96-6D9A,
    U+6DFC-6E04, U+6E45-6E49, U+6E4F-6E53, U+6E73-6E7D, U+6E8A-6E8F, U+6E91-6E95, U+6EF8-6EFD,
    U+6F07-6F0E, U+6F16-6F1F, U+6F24-6F28, U+6F39-6F3D, U+6F40-6F4C, U+6F67-6F6C, U+6F71-6F77,
    U+6F89-6F8D, U+6F8F-6F96, U+6FA8-6FB0, U+6FBA-6FBF, U+6FC4-6FD1, U+6FF2-6FF9, U+6FFF-7005,
    U+7020-7027, U+7029-702F, U+7033-703D, U+703F-704B, U+7052-7057, U+7059-705D, U+7065-706A,
    U+7080-7088, U+709A-70A3, U+70A5-70AA, U+70D0-70D7, U+70F0-70F6, U+70FE-7108, U+710B-7114,
    U+7127-712F, U+7131-7135, U+7137-7145, U+714F-7155, U+715F-7163, U+716F-717C, U+717E-7183,
    U+7185-7189, U+719A-719E, U+71A0-71A7, U+71B2-71B8, U+71EF-71F3, U+71FF-7205, U+7207-720C,
    U+7211-721A, U+721C-7227, U+723F-7245, U+724D-7251, U+726A-726E, U+7285-7289, U+728B-7291,
    U+729C-72A1, U+72B0-72B5, U+72BA-72BF, U+72C9-72CD, U+72D1-72D6, U+72E2-72E8, U+72F2-72F6,
    U+72FE-730D, U+731D-7324, U+732F-7333, U+7338-733D, U+7346-734D, U+7351-7356, U+7358-7367,
    U+738C-7395, U+73A0-73A4, U+73C1-73C9, U+73D1-73DD, U+73E1-73E9, U+73EF-73FD, U+7411-741A,
    U+741C-7421, U+7442-7454, U+7471-7475, U+7477-747D, U+7484-748A, U+748C-7497, U+74AA-74AF,
    U+74B1-74BC, U+74C0-74C9, U+74E7-74ED, U+74EF-74F5, U+74F8-7503, U+7505-750B, U+750E-7514,
    U+753E-7544, U+7546-754A, U+7579-757E, U+7580-7585, U+7592-7596, U+75A6-75AA, U+75E4-75E9,
    U+75EB-75EF, U+7602-7608, U+760E-7612, U+7614-761E, U+762C-7633, U+763B-7641, U+7647-764B,
    U+764D-7651, U+7659-765E, U+7673-7677, U+769B-76AD, U+76B5-76B9, U+7702-7706, U+770C-771E,
    U+7721-7727, U+772A-772E, U+7730-7735, U+7742-774E, U+7750-775A, U+776D-7778, U+7793-779D,
    U+77B4-77BA, U+77C0-77C6, U+77C8-77D2, U+77DD-77E1, U+77F4-77FC, U+7803-780B, U+7828-782C,
    U+7839-783D, U+7846-784D, U+7856-785C, U+785E-786A, U+7870-7876, U+7880-7888, U+7899-789E,
    U+78AA-78AF, U+78B5-78B9, U+78DB-78E6, U+78FB-7900, U+7902-790D, U+790F-7918, U+791A-7925,
    U+792D-7939, U+794A-794F, U+796E-7976, U+7985-798C, U+7990-79A5, U+79B4-79B8, U+79D3-79D7,
    U+79D9-79DE, U+79EA-79EE, U+79F1-79F7, U+7A0F-7A13, U+7A21-7A2D, U+7A41-7A45, U+7A4F-7A56,
    U+7A58-7A5F, U+7A63-7A68, U+7A6C-7A73, U+7AB0-7AB9, U+7ACC-7AD5, U+7AE6-7AEC, U+7AF0-7AF5,
    U+7B00-7B05, U+7B0C-7B10, U+7B21-7B25, U+7B2F-7B39, U+7B3D-7B45, U+7B61-7B66, U+7B68-7B6D,
    U+7B6F-7B74, U+7B98-7B9C, U+7BA2-7BA8, U+7BB9-7BBF, U+7BCD-7BD2, U+7BD4-7BD8, U+7BF2-7BF6,
    U+7BF8-7BFD, U+7BFF-7C06, U+7C12-7C1D, U+7C2C-7C36, U+7C44-7C4B, U+7C51-7C5E, U+7C66-7C6B,
    U+7C74-7C7A, U+7C7E-7C88, U+7C8A-7C91, U+7C99-7C9E, U+7CBF-7CC9, U+7CCB-7CD4, U+7CE8-7CEE,
    U+7CF1-7CF7, U+7D34-7D38, U+7D47-7D4F, U+7D56-7D5A, U+7D69-7D6D, U+7D74-7D78, U+7D7A-7D80,
    U+7D82-7D8E, U+7D94-7D9B, U+7DA3-7DAB, U+7DC0-7DC6, U+7DCB-7DD1, U+7DD3-7DD7, U+7DFC-7E07,
    U+7E0B-7E0F, U+7E12-7E1A, U+7E24-7E2A, U+7E49-7E51, U+7E62-7E68, U+7E6E-7E72, U+7E74-7E78,
    U+7E83-7E8B, U+7E97-7E9B, U+7F21-7F27, U+7F2F-7F33, U+7F3E-7F43, U+7F63-7F68, U+7F7A-7F84,
    U+7F8F-7F93, U+7F95-7F99, U+7FAA-7FAE, U+7FC6-7FCB, U+7FD9-7FDE, U+7FE2-7FE8, U+7FF4-7FF8,
    U+801D-8025, U+802B-8032, U+804D-8051, U+805F-8069, U+8078-807C, U+808D-8092, U+80B5-80B9,
    U+80C7-80CB, U+80CF-80D5, U+80E6-80EC, U+811B-8122, U+8132-8137, U+813F-8145, U+8156-8164,
    U+8183-8187, U+8190-8197, U+81A1-81A7, U+81AA-81B2, U+81B4-81B9, U+81D0-81D7, U+81EE-81F2,
    U+81F5-81F9, U+8215-821A, U+8223-8227, U+823A-8246, U+824C-8257, U+825A-8265, U+8267-826D,
    U+8283-828A, U+8293-8298, U+82A7-82AB, U+82BF-82C6, U+82C8-82CC, U+82F2-82F8, U+82FA-8300,
    U+830F-8316, U+8318-8326, U+833A-833F, U+8355-8359, U+835B-8360, U+8370-8376, U+837D-8385,
    U+8399-839D, U+83AC-83B0, U+83D5-83DB, U+83E1-83E8, U+83EA-83EE, U+83FE-8402, U+840F-841C,
    U+841E-8423, U+843E-8445, U+844A-8456, U+845C-8460, U+8478-8481, U+8483-848A, U+8491-8498,
    U+849F-84B1, U+84B3-84B7, U+84CC-84D0, U+84D7-84DC, U+84E0-84EB, U+84EF-84FE, U+8500-8505,
    U+8507-8510, U+851B-8520, U+8526-852A, U+852E-8536, U+853E-8542, U+854B-8558, U+855F-8567,
    U+856E-8573, U+8575-857D, U+857F-8583, U+858B-8590, U+8595-859A, U+859D-85A5, U+85B1-85B8,
    U+85BB-85C8, U+85D6-85DC, U+85DE-85E3, U+85EB-85F6, U+85FC-8605, U+860C-8610, U+8612-8616,
    U+861B-862C, U+862E-8637, U+8639-863E, U+8640-864D, U+8660-8666, U+866C-8670, U+8672-8678,
    U+8683-8689, U+868D-8692, U+8696-869B, U+869D-86A2, U+86B7-86BF, U+86E5-86EC, U+86F1-86F8,
    U+870B-8711, U+872A-8733, U+8740-8746, U+875A-875F, U+8761-8765, U+8769-8773, U+8779-8781,
    U+8784-878C, U+878E-879D, U+87A3-87AA, U+87AC-87B2, U+87B4-87B9, U+87C1-87C5, U+87CC-87D0,
    U+87D3-87DF, U+87E1-87EB, U+87F3-87F8, U+87FF-8804, U+8806-880C, U+880E-8813, U+8816-881E,
    U+8824-8830, U+8846-884B, U+884E-8852, U+8871-8876, U+8897-889B, U+889F-88AA, U+88B2-88C0,
    U+88CB-88D1, U+88E9-88EE, U+890B-890F, U+891B-8920, U+892C-8931, U+893E-8943, U+8945-8955,
    U+8957-895D, U+8965-8969, U+8973-897E, U+8997-899B, U+899D-89A5, U+89AD-89B1, U+89B3-89B9,
    U+89CA-89D1, U+89D5-89E2, U+89E7-89F3, U+8A47-8A4F, U+8A74-8A78, U+8A7D-8A84, U+8AAB-8AAF,
    U+8ADD-8AE5, U+8B05-8B09, U+8B11-8B16, U+8B21-8B27, U+8B2D-8B38, U+8B3A-8B40, U+8B50-8B57,
    U+8B60-8B65, U+8B78-8B7C, U+8B81-8B89, U+8B8B-8B91, U+8C1D-8C21, U+8C38-8C3E, U+8C5B-8C60,
    U+8C63-8C69, U+8C6E-8C72, U+8C74-8C78, U+8C7B-8C81, U+8C83-8C88, U+8C8E-8C92, U+8C94-8C9C,
    U+8CCB-8CD0, U+8CD4-8CDB, U+8CEE-8CF3, U+8CFE-8D04, U+8D45-8D49, U+8D78-8D80, U+8D8C-8D94,
    U+8D9A-8D9E, U+8DA9-8DB2, U+8DB5-8DB9, U+8DD2-8DD9, U+8DFD-8E09, U+8E11-8E1C, U+8E23-8E28,
    U+8E2C-8E30, U+8E3A-8E41, U+8E4C-8E54, U+8E5A-8E5E, U+8E67-8E6B, U+8E94-8EA0, U+8EA2-8EA9,
    U+8EB3-8EB9, U+8EBB-8EBF, U+8EC1-8EC9, U+8ED5-8EDA, U+8EE0-8EF7, U+8F04-8F08, U+8F0B-8F11,
    U+8F16-8F1A, U+8F20-8F24, U+8F4F-8F53, U+8F55-8F5E, U+8F75-8F7A, U+8F8B-8F8F, U+8FB3-8FB8,
    U+8FC9-8FCD, U+9024-902D, U+9096-90A1, U+90BC-90C0, U+90C4-90C9, U+90D2-90DC, U+90EE-90F3,
    U+9103-9108, U+910A-9111, U+911F-9126, U+9128-912C, U+913A-9147, U+9179-917E, U+918C-9191,
    U+9193-9199, U+91A4-91AA, U+91B5-91B9, U+91BB-91BF, U+91D2-91D6, U+91DE-91E2, U+91EE-91F4,
    U+91F6-9206, U+9216-921D, U+9224-9233, U+9252-9256, U+925C-9263, U+9265-9273, U+9286-9290,
    U+929D-92A7, U+92AD-92B1, U+92C8-92D1, U+92D3-92E3, U+92E5-92E9, U+92EB-92EF, U+92F1-92F7,
    U+92FD-9303, U+9305-930F, U+931B-931F, U+9337-9349, U+934E-9353, U+9355-9359, U+935C-9364,
    U+9366-936B, U+9376-937D, U+9383-9389, U+938B-9393, U+939B-93A1, U+93A3-93AB, U+93B4-93C2,
    U+93E9-93FC, U+93FE-9402, U+9404-9417, U+9419-942A, U+943B-9443, U+9445-9450, U+9453-945F,
    U+9465-9469, U+946B-946F, U+9480-9487, U+9494-9498, U+94B6-94BA, U+94C7-94DB, U+94E4-94EB,
    U+9512-9516, U+951B-9520, U+9531-9538, U+9542-9546, U+9552-955B, U+955D-9562, U+9564-956C,
    U+9571-9575, U+9578-957E, U+9584-9588, U+9599-95A0, U+95B2-95BA, U+95BC-95C5, U+95D7-95DB,
    U+95E3-95E7, U+9615-961B, U+9622-9629, U+967E-9683, U+969D-96A6, U+96AB-96B0, U+9717-971B,
    U+971F-9723, U+972B-972F, U+9733-9737, U+9749-9751, U+976A-9772, U+9777-977B, U+977D-9784,
    U+9786-978A, U+9790-9797, U+9799-979F, U+97A7-97AC, U+97AE-97C0, U+97CD-97D2, U+97D4-97DB,
    U+97DD-97E5, U+97EE-97F2, U+9825-982A, U+9831-9836, U+983C-9845, U+9847-984B, U+985F-9864,
    U+988B-988F, U+98A9-98AE, U+98BD-98C3, U+98C5-98CD, U+98CF-98D7, U+98F5-98FB, U+9922-9927,
    U+9929-992D, U+992F-9934, U+9936-993C, U+9940-9944, U+994A-9950, U+995F-9964, U+9966-996C,
    U+999A-99A4, U+99B5-99C0, U+99C2-99CF, U+99E3-99EC, U+99F2-99FE, U+9A02-9A0D, U+9A0F-9A15,
    U+9A1A-9A2A, U+9A38-9A3D, U+9A46-9A4C, U+9A4E-9A54, U+9A92-9A96, U+9A9B-9AA0, U+9AA9-9AAE,
    U+9AB1-9AB6, U+9AC2-9ACE, U+9AD9-9AE0, U+9AE7-9AEC, U+9AF0-9AFA, U+9AFC-9B02, U+9B07-9B0C,
    U+9B0E-9B19, U+9B1B-9B21, U+9B29-9B30, U+9B33-9B3B, U+9B46-9B4C, U+9B5B-9B6E, U+9B70-9B76,
    U+9B78-9B90, U+9B92-9BA9, U+9BAF-9BBF, U+9BC1-9BC7, U+9BCB-9BD5, U+9BDC-9BE6, U+9BE9-9BFC,
    U+9BFE-9C0C, U+9C0E-9C12, U+9C14-9C24, U+9C26-9C2C, U+9C32-9C3A, U+9C3F-9C48, U+9C4A-9C53,
    U+9C58-9C5E, U+9C60-9C76, U+9C82-9C8C, U+9C8E-9C9B, U+9C9D-9CA3, U+9CA5-9CB7, U+9CB9-9CC2,
    U+9CC4-9CD5, U+9CD7-9CDD, U+9CDF-9CE4, U+9CEA-9CF2, U+9CF7-9D02, U+9D0A-9D11, U+9D16-9D1A,
    U+9D1C-9D22, U+9D29-9D3A, U+9D40-9D50, U+9D52-9D5C, U+9D62-9D69, U+9D6D-9D71, U+9D73-9D88,
    U+9D8A-9DAE, U+9DB9-9DC1, U+9DC3-9DD2, U+9DD8-9DE4, U+9DE6-9DF8, U+9DFB-9E19, U+9E27-9E2C,
    U+9E36-9E3C, U+9E50-9E63, U+9E65-9E6F, U+9E83-9E8A, U+9E8C-9E91, U+9E98-9E9C, U+9EA0-9EA4,
    U+9EAA-9EB3, U+9EB6-9EBA, U+9EC5-9ECB, U+9EE1-9EE7, U+9EE9-9EEE, U+9EF8-9F06, U+9F08-9F0D,
    U+9F1A-9F1F, U+9F21-9F2B, U+9F35-9F3A, U+9F3F-9F49, U+9F53-9F5B, U+9F6D-9F71, U+9F78-9F7E,
    U+9F85-9F8A, U+9FA0-9FFF, U+F900-FAD4, U+20003-2F9F4;
}

:root {
  font-family: Inter, Arial, sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: #000;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}
input::placeholder,
textarea::placeholder {
  color: #888;
}
p {
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-header {
  border-bottom: 1px solid #000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.brand {
  font-family: Fraunces, Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
}
.brand-mark {
  font-family: Arial, sans-serif;
  font-size: 19px;
  vertical-align: 2px;
  margin-right: 3px;
}
.brand-count {
  font-family: Inter, Arial, sans-serif;
  display: inline-block;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: 3px;
  margin-left: 6px;
}
.top-nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}
.top-nav a {
  text-decoration: none;
}
.top-nav a:hover,
.footer-links a:hover,
.breadcrumb a:hover,
.back-link:hover {
  text-decoration: underline;
}
.home-hero {
  padding: 58px 0 42px;
  border-bottom: 1px solid #000;
}
.home-hero h1 {
  font-size: clamp(35px, 5.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
  font-weight: 800;
}
.home-hero h1 em {
  font-style: normal;
}
.hero-copy {
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 26px;
}
.search-box {
  height: 56px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  max-width: 650px;
}
.search-icon {
  font-size: 29px;
  line-height: 1;
}
.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  font-size: 15px;
}
.search-box input:focus-visible {
  outline: 0;
}
.search-box kbd {
  font-size: 13px;
  border: 1px solid #000;
  padding: 2px 6px;
}
.search-status {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 13px;
}
.search-status:empty {
  display: none;
}
.featured-section,
.category-section,
.related-section {
  padding: 36px 0 38px;
  border-bottom: 1px solid #000;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.section-heading h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0;
}
.section-heading p:not(.eyebrow) {
  font-size: 13px;
  margin: 7px 0 0;
}
.section-rule {
  font-size: 24px;
  line-height: 1;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.tool-card {
  position: relative;
  min-height: 104px;
  text-decoration: none;
  padding: 17px 34px 17px 17px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-card:hover {
  color: #fff;
  background: #000;
}
.tool-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.tool-card-description {
  font-size: 12px;
  line-height: 1.4;
}
.card-arrow {
  position: absolute;
  right: 14px;
  top: 15px;
  font-size: 17px;
}
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 0;
}
.category-links a {
  border: 1px solid #000;
  padding: 9px 13px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.category-links a:hover {
  background: #000;
  color: #fff;
}
.tool-layout {
  padding-bottom: 70px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  padding: 24px 0 40px;
}
.breadcrumb a {
  text-decoration: none;
}
.tool-header {
  max-width: 790px;
  margin-bottom: 26px;
}
.tool-header h1,
.simple-page h1 {
  font-size: clamp(35px, 5vw, 57px);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin-bottom: 13px;
}
.tool-header > p:last-child {
  font-size: 16px;
  margin: 0;
}
.tool-panel {
  border: 1px solid #000;
  max-width: 870px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid #000;
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.panel-body {
  padding: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.field > input,
.field > select,
.field > textarea,
textarea[readonly] {
  width: 100%;
  padding: 12px 13px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.field > input,
.field > select {
  min-height: 48px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 19px;
}
.field-row .field {
  flex: 1;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.segmented button {
  background: #fff;
  border: 1px solid #000;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 700;
  margin-right: -1px;
}
.segmented button.is-active {
  background: #000;
  color: #fff;
}
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #000;
}
.button-black {
  color: #fff;
  background: #000;
}
.button-black:hover {
  color: #000;
  background: #fff;
}
.button-outline {
  color: #000;
  background: #fff;
}
.button-outline:hover {
  color: #fff;
  background: #000;
}
.button:disabled {
  background: #fff;
  color: #000;
  border-style: dashed;
}
.text-button {
  border: 0;
  background: #fff;
  text-decoration: underline;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid #000;
  border-top: 1px solid #000;
  margin: 20px 0 0;
}
.stat {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 14px;
  min-width: 0;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.stat-value {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
  word-break: break-word;
}
.result-content {
  line-height: 1.6;
}
.result-content h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
.result-content p {
  margin: 8px 0;
}
.name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
.name-pill {
  border: 1px solid #000;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 13px;
}
.date-display {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.result-row {
  border-bottom: 1px solid #000;
  padding: 13px 0;
}
.result-row:last-child {
  border-bottom: 0;
}
.result-row strong {
  font-size: 14px;
}
.result-row p {
  font-size: 13px;
}
.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 2px dashed #000;
  min-height: 170px;
  padding: 20px;
  cursor: pointer;
}
.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.file-drop:focus-within {
  outline: 2px solid #000;
  outline-offset: 3px;
}
.file-drop .drop-icon {
  font-size: 29px;
  line-height: 1;
}
.file-drop strong {
  font-size: 17px;
}
.file-drop span:not(.drop-icon) {
  font-size: 12px;
}
.file-list {
  margin-top: 14px;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #000;
  padding: 10px 12px;
  margin-top: -1px;
  font-size: 12px;
  min-height: 43px;
}
.file-item:first-child {
  margin-top: 0;
}
.file-item .file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.file-item button {
  background: #fff;
  border: 0;
  font-size: 17px;
  padding: 0 4px;
}
.compact-fields {
  margin-top: 20px;
  align-items: end;
}
.check-field {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
}
.check-field input {
  accent-color: #000;
}
.status {
  font-size: 12px;
  margin: 12px 0 0;
}
.status:empty {
  display: none;
}
.download-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.download-list a {
  border: 1px solid #000;
  padding: 10px 12px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
}
.download-list a:hover {
  background: #000;
  color: #fff;
}
.output-header {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 8px;
  font-size: 13px;
}
.small-note,
.source-note {
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0 0;
}
.info-section {
  padding: 48px 0;
  max-width: 870px;
  border-bottom: 1px solid #000;
}
.info-section h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-bottom: 11px;
}
.info-section > p:not(.eyebrow) {
  font-size: 14px;
}
.related-section {
  max-width: 1160px;
}
.simple-page {
  min-height: 60vh;
  padding: 35px 0 90px;
  max-width: 820px;
}
.simple-page .back-link {
  display: inline-block;
  margin-bottom: 45px;
  font-size: 12px;
}
.simple-page p:not(.eyebrow) {
  font-size: 15px;
}
.site-footer {
  border-top: 1px solid #000;
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  font-size: 19px;
}
.footer-inner p {
  font-size: 12px;
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  font-size: 12px;
}
.footer-links a {
  text-decoration: none;
}
@media (max-width: 800px) {
  .top-nav {
    gap: 11px;
    font-size: 11px;
    overflow: auto;
  }
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero {
    padding: 40px 0 30px;
  }
  .breadcrumb {
    padding: 18px 0 28px;
  }
  .tool-header h1 {
    font-size: 42px;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }
  .top-nav {
    width: 100%;
    padding-bottom: 2px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .tool-card {
    min-height: 84px;
  }
  .home-hero h1 {
    font-size: 38px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-body {
    padding: 17px;
  }
  .panel-heading {
    padding: 11px 17px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .tool-header h1 {
    font-size: 36px;
  }
}
[hidden] {
  display: none !important;
}
@font-face {
  font-family: PhotoJournalHand;
  src: url('/assets/fonts/handwriting-greek-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020-024F, U+0300-03FF, U+1F00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
body[data-tool='photo-book'] .book-caption-input,
body[data-tool='photo-book'] #photo-style-caption {
  font-family: PhotoJournalHand, cursive;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
}
.photo-select-native {
  display: none;
}
.photo-select {
  position: relative;
  min-width: 0;
  font-weight: 400;
}
.photo-select-trigger {
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 12px 38px 12px 13px;
  text-align: left;
  line-height: 1.5;
  font-size: 15px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-select-trigger::after {
  content: '';
  position: absolute;
  right: 15px;
  top: calc(50% - 5px);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
}
.photo-select-trigger[aria-expanded='true']::after {
  top: calc(50% - 1px);
  transform: rotate(225deg);
}
.photo-select-trigger[aria-expanded='true'] {
  box-shadow: 3px 3px 0 #000;
}
.photo-select-trigger:disabled {
  color: #777;
  border-style: dashed;
  cursor: not-allowed;
}
.photo-select-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #000;
  box-shadow: 3px 3px 0 #000;
  background: #fff;
  padding: 4px;
}
.photo-select-list [role='option'] {
  font-size: 14px;
  padding: 10px 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  cursor: pointer;
  border: 1px solid transparent;
}
.photo-select-list [role='option'][aria-selected='true'] {
  background: #000;
  color: #fff;
}
.photo-select-list [role='option']:hover,
.photo-select-list [role='option'].is-highlighted {
  border-color: #000;
  background: #eee8dc;
  color: #000;
}
.photo-style-fields .photo-select-trigger {
  font-size: 13px;
  padding: 9px 34px 9px 10px;
  min-height: 40px;
}
.search-icon {
  width: 21px;
  height: 21px;
  flex: none;
}
.search-box:focus-within {
  box-shadow: 3px 3px 0 #000;
}
input::placeholder,
textarea::placeholder {
  color: #000;
}
#tool-search::placeholder {
  color: #888;
}
.tool-card,
.category-links a,
.button,
.segmented button,
.text-button,
.download-list a,
.file-drop,
.file-item button,
.top-nav a,
.footer-links a,
.brand,
.back-link {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.tool-card:hover,
.category-links a:hover,
.button:not(:disabled):hover,
.segmented button:hover,
.download-list a:hover,
.file-drop:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 #000;
  z-index: 1;
}
.tool-card:active,
.category-links a:active,
.button:not(:disabled):active,
.segmented button:active,
.download-list a:active,
.file-drop:active {
  transform: translate(1px, 1px);
  box-shadow: none;
}
.text-button:hover,
.file-item button:hover,
.top-nav a:hover,
.footer-links a:hover,
.brand:hover,
.back-link:hover {
  transform: translateY(-2px);
}
.text-button:active,
.file-item button:active,
.top-nav a:active,
.footer-links a:active,
.brand:active,
.back-link:active {
  transform: translateY(1px);
}
.top-nav a,
.footer-links a,
.brand,
.back-link,
.text-button,
.file-item button {
  display: inline-block;
}
@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .category-links a,
  .button,
  .segmented button,
  .text-button,
  .download-list a,
  .file-drop,
  .file-item button,
  .top-nav a,
  .footer-links a,
  .brand,
  .back-link {
    transition: none;
  }
}
.ocr-result-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.word-render-stage {
  position: fixed;
  left: -10000px;
  top: 0;
  width: max-content;
  pointer-events: none;
}
.book-title-field {
  margin-top: 20px;
}
.book-preview {
  margin-top: 22px;
  max-width: 820px;
  overflow-x: auto;
  padding: 0 7px 9px 0;
}
.book-preview-pages {
  display: flex;
  width: 100%;
  transform-origin: center center;
  box-shadow: 5px 5px 0 #000;
}
.book-preview-pages.is-cover {
  max-width: 410px;
}
.book-preview-pages.is-spread {
  max-width: 800px;
}
.book-sheet {
  position: relative;
  container-type: inline-size;
  width: 50%;
  aspect-ratio: 420/595;
  flex: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
}
.is-cover .book-sheet {
  width: 100%;
}
.is-spread .book-sheet + .book-sheet {
  border-left: 0;
}
.book-masthead,
.book-title,
.book-issue,
.book-footer {
  position: absolute;
  display: block;
  color: #000;
}
.book-masthead {
  top: 5%;
  left: 7.1%;
  font:
    700 2.58cqw Arial,
    sans-serif;
  letter-spacing: 0.02em;
}
.book-title {
  top: 11.2%;
  left: 7.1%;
  width: 85.8%;
  font:
    700 8.6cqw/1.05 Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.book-cover-sheet .book-title {
  top: 10.9%;
  font-size: 9.6cqw;
}
.book-issue {
  top: 5.3%;
  left: 73%;
  font:
    700 1.85cqw Arial,
    sans-serif;
}
.book-footer {
  left: 7.1%;
  bottom: 4.7%;
  font:
    700 2cqw Arial,
    sans-serif;
}
.book-slot {
  position: absolute;
  margin: 0;
}
.book-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-slot figcaption {
  position: absolute;
  left: 0;
  top: -2.4cqw;
  font:
    700 1.75cqw Arial,
    sans-serif;
}
.book-cover-sheet .book-slot figcaption {
  display: none;
}
.book-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  max-width: 800px;
}
.book-controls span {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.book-controls .button {
  min-width: 0;
}
.book-page-enter {
  animation: book-turn 0.28s ease-out;
}
@keyframes book-turn {
  from {
    transform: perspective(900px) rotateY(-8deg);
    opacity: 0.75;
  }
  to {
    transform: perspective(900px) rotateY(0);
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .book-preview-pages.is-spread {
    min-width: 600px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-page-enter {
    animation: none;
  }
}
.book-left-sheet.book-variant-3 .book-title {
  top: 31%;
  text-align: center;
}
.book-left-sheet.book-variant-2 .book-footer,
.book-left-sheet.book-variant-4 .book-footer {
  color: #fff;
  text-shadow: 0 1px 2px #000;
}
.book-left-sheet.book-variant-2 .book-slot figcaption,
.book-left-sheet.book-variant-4 .book-slot figcaption {
  display: none;
}
.book-sheet {
  background: #f8fbfb;
}
.book-cover-sheet {
  background: #e2f5ef;
}
.book-sheet:not(.book-full-bleed)::before,
.book-sheet:not(.book-full-bleed)::after {
  content: '';
  position: absolute;
  left: 7.1%;
  width: 85.8%;
  pointer-events: none;
}
.book-sheet:not(.book-full-bleed)::before {
  top: 8.4%;
  height: 0.6cqw;
  background: linear-gradient(90deg, #ef9e8f 0 16%, #dfeae6 16% 100%);
}
.book-sheet:not(.book-full-bleed)::after {
  bottom: 7.8%;
  height: 1px;
  background: #dfeae6;
}
.book-cover-sheet:not(.book-full-bleed)::after {
  bottom: 7%;
}
.book-imprint {
  position: absolute;
  right: 7.1%;
  bottom: 4.7%;
  font:
    700 1.7cqw Arial,
    sans-serif;
  letter-spacing: 0.04em;
  color: #526267;
}
.book-slot img {
  outline: 1px solid #dfeae6;
}
.book-full-bleed .book-slot img {
  outline: none;
}
.book-caption {
  position: absolute;
}
.book-caption svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.book-caption path {
  fill: none;
  stroke: #b7d8ce;
  stroke-width: 2;
}
.book-caption-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 1% 0 0;
  border: 0;
  background: transparent;
  color: #000;
  font-family: Arial, sans-serif;
  font-weight: 400;
  resize: none;
  overflow: hidden;
  outline: none;
}
.book-caption-input::placeholder {
  color: #526267;
}
.book-caption-input:focus-visible {
  outline: 2px solid #1d6a52;
  outline-offset: 3px;
}
.book-caption-input:disabled {
  opacity: 1;
}
.ordered-file-item {
  flex-wrap: wrap;
}
.ordered-file-item .file-name {
  min-width: 145px;
}
.file-order {
  min-width: 22px;
  font-weight: 800;
}
.ordered-file-item button {
  border: 1px solid #000;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ordered-file-item button:disabled {
  border-style: dashed;
}
.image-preview {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border: 1px solid #000;
}
.image-preview[hidden] {
  display: none;
}
.book-styled-photo img {
  object-fit: contain;
}
.photo-style-section {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #cfc7b8;
  background: #faf8f3;
}
.photo-style-section h3 {
  font-size: 18px;
  margin-bottom: 18px;
}
.photo-style-section > .small-note {
  margin: 12px 0 18px;
}
.photo-style-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: start;
}
.photo-style-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px #0002;
}
.photo-style-fields {
  display: grid;
  gap: 15px;
  min-width: 0;
}
.photo-style-fields .field {
  font-size: 12px;
}
.photo-style-fields .field > textarea,
.photo-style-fields .field > select {
  padding: 9px;
  font-size: 13px;
}
.photo-style-fields .field > input[type='range'] {
  padding: 0;
  min-height: 26px;
  accent-color: #7b6a50;
}
.photo-style-fields .text-button {
  text-align: left;
}
.photo-style-fields .small-note {
  margin: 0;
  color: #635b4f;
}
.photo-style-section .text-button {
  background: transparent;
}
.photo-style-workspace > div > .text-button {
  margin-top: 15px;
}
.photo-style-fields textarea {
  resize: vertical;
}
.photo-style-fields .status {
  color: #8f3f24;
  margin: 0;
}
.photo-style-section select {
  max-width: 100%;
}
@media (max-width: 650px) {
  .photo-style-section {
    padding: 16px;
  }
  .photo-style-workspace {
    grid-template-columns: 1fr;
  }
  .photo-style-preview {
    max-width: 380px;
    margin-inline: auto;
  }
}
.footer-inner .footer-suggestion {
  max-width: 570px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
}
.tool-controls {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.tool-loading {
  margin: 0 0 14px;
}
.daily-output {
  margin-top: 20px;
}
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.table-scroll {
  overflow: auto;
  max-height: 480px;
  margin-top: 24px;
  border: 1px solid #000;
}
.table-scroll:empty {
  display: none;
}
.daily-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.daily-table caption {
  padding: 14px;
  text-align: left;
  font-weight: 700;
}
.daily-table th,
.daily-table td {
  padding: 10px 12px;
  border-top: 1px solid #000;
  text-align: right;
  white-space: nowrap;
}
.daily-table th:first-child {
  text-align: left;
}
.daily-table thead {
  position: sticky;
  top: 0;
  background: #fff;
}
.daily-table tbody th {
  font-weight: 400;
}
.timer-settings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.timer-display {
  font-size: clamp(30px, 8vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding: 30px 0;
  overflow-wrap: anywhere;
}
.timer-laps {
  padding-left: 24px;
  max-height: 300px;
  overflow: auto;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.timer-laps li {
  padding: 8px 0;
  border-bottom: 1px solid #000;
}
.qr-preview {
  margin-top: 24px;
  text-align: center;
  border: 1px solid #000;
  padding: 12px;
}
.qr-preview canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}
#password-output {
  font-family: monospace;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.shopping-toolbar {
  margin-top: 24px;
}
.shopping-items h2 {
  font-size: 18px;
  margin: 24px 0 10px;
}
.shopping-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shopping-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #000;
}
.shopping-item-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.shopping-item-label input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #000;
}
.shopping-item-label span {
  font-weight: 600;
}
.shopping-item-label small {
  font-size: 12px;
}
.shopping-row-actions {
  display: flex;
  gap: 16px;
  flex: none;
}
.shopping-done {
  text-decoration: line-through;
  color: #666;
}
.shopping-print {
  display: none;
}
@media (max-width: 560px) {
  .timer-settings {
    grid-template-columns: 1fr;
  }
  .shopping-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .shopping-row-actions {
    padding-left: 28px;
  }
  .timer-display {
    letter-spacing: -0.06em;
  }
}
@media print {
  body[data-tool='shopping-list'] .site-header,
  body[data-tool='shopping-list'] .site-footer,
  body[data-tool='shopping-list'] .breadcrumb,
  body[data-tool='shopping-list'] .tool-header,
  body[data-tool='shopping-list'] .panel-heading,
  body[data-tool='shopping-list'] .shopping-controls,
  body[data-tool='shopping-list'] .shopping-items,
  body[data-tool='shopping-list'] #shopping-count,
  body[data-tool='shopping-list'] #daily-status,
  body[data-tool='shopping-list'] .info-section,
  body[data-tool='shopping-list'] .related-section {
    display: none !important;
  }
  body[data-tool='shopping-list'] .tool-panel {
    border: 0;
    max-width: none;
  }
  body[data-tool='shopping-list'] .panel-body {
    padding: 0;
  }
  body[data-tool='shopping-list'] .shopping-print {
    display: block;
  }
  body[data-tool='shopping-list'] .shopping-print li {
    margin: 10px 0;
    overflow-wrap: anywhere;
  }
  body[data-tool='shopping-list'] .shopping-print ul {
    list-style: none;
    padding: 0;
  }
  body[data-tool='shopping-list'] .tool-layout {
    padding: 0;
  }
}
.single-file-item button {
  border: 1px solid #000;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.single-file-item button:disabled {
  border-style: dashed;
  color: #777;
}
.photo-select-list [role='option'][aria-disabled='true'] {
  color: #888;
  cursor: not-allowed;
}
@font-face {
  font-family: PhotoJournalDocument;
  src: url('/assets/fonts/document-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.photo-select-popup {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  padding: 6px;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 3px 3px 0 #000;
}
.photo-select-popup .photo-select-list {
  position: static;
  width: auto;
  max-height: 230px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.photo-select-search {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 14px;
}
.photo-select-empty {
  margin: 12px 6px;
  font-size: 13px;
  line-height: 1.5;
}
.cooking-custom {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #000;
  background: #f7f5f0;
}
.cooking-custom h3 {
  font-size: 17px;
  margin: 0 0 18px;
}
.cooking-custom .field-row {
  margin-top: 18px;
}
.heic-card .file-item .heic-remove {
  font-size: 12px;
  border: 1px solid #000;
  padding: 5px 7px;
}
.document-modern .document-running {
  border-bottom-width: 3pt;
}
.document-modern .document-line.heading::before {
  content: '';
  position: absolute;
  left: -9pt;
  top: 0;
  width: 3pt;
  height: 17pt;
  background: var(--document-accent);
}
.document-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.document-fields .field,
.cv-entry .field {
  min-width: 0;
}
.document-preview {
  max-width: 100%;
  overflow: auto;
  background: #eee;
}
.document-preview:empty {
  display: none;
}
.document-sheet {
  position: relative;
  flex-shrink: 0;
  width: 595.28pt;
  height: 841.89pt;
  margin: 16px auto;
  background: white;
  color: #141414;
  font:
    11pt PhotoJournalDocument,
    sans-serif;
  box-shadow: 0 1px 5px #0002;
  box-sizing: border-box;
}
.document-line {
  position: absolute;
  white-space: pre;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.document-line.heading,
.document-line.title {
  color: var(--document-accent);
}
.document-running {
  position: absolute;
  left: 46pt;
  right: 46pt;
  top: 22pt;
  height: 20pt;
  border-bottom: 1pt solid var(--document-accent);
  font-size: 8pt;
  white-space: nowrap;
}
.document-page-number {
  position: absolute;
  right: 46pt;
  bottom: 23pt;
  font-size: 8pt;
}
.cv-entry {
  padding: 20px;
  border: 1px solid #000;
  margin-bottom: 20px;
}
.cv-entry h4 {
  margin: 0 0 16px;
}
.cv-entry .field {
  margin-bottom: 16px;
}
.heic-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.heic-card {
  border: 1px solid #000;
  padding: 16px;
  min-width: 0;
}
.heic-card img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 12px auto;
}
.heic-card .file-item {
  padding: 0;
  border: 0;
}
.heic-card .file-name {
  overflow-wrap: anywhere;
}
.heic-card .small-note {
  overflow-wrap: anywhere;
}
.heic-card .button {
  margin-top: 10px;
}
@media (max-width: 650px) {
  .document-fields,
  .heic-results {
    grid-template-columns: 1fr;
  }
  .cv-entry {
    padding: 14px;
  }
  .document-preview {
    margin-inline: -10px;
  }
}
.third-details {
  margin: 20px 0;
  border: 1px solid #000;
  padding: 14px;
}
.third-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.third-details[open] summary {
  margin-bottom: 16px;
}
.third-details p:last-child {
  margin-bottom: 0;
}
.spelling-result {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  border: 1px solid #000;
  padding: 18px;
  margin-top: 20px;
  min-height: 130px;
}
.spelling-result:empty {
  display: none;
}
.spell-error {
  display: inline;
  border: 0;
  border-bottom: 2px wavy #b32318;
  background: #fff0ed;
  color: #8e2017;
  padding: 0 2px;
  line-height: inherit;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.spell-error:hover,
.spell-error:focus-visible {
  background: #ffe0d9;
}
.spelling-suggestions {
  border: 1px solid #000;
  padding: 18px;
  margin-top: 16px;
}
.spelling-suggestions h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.spelling-suggestions > .button {
  margin: 12px 8px 0 0;
}
.stats-grid:empty,
.table-scroll:empty {
  display: none;
}
#education-detail > p {
  padding: 12px;
  margin: 0;
  border-bottom: 1px solid #000;
  font-size: 14px;
}
#education-results .daily-table td:nth-child(2) {
  min-width: 220px;
}
#education-results .daily-table td:last-child {
  white-space: nowrap;
  font-weight: 700;
}
#education-results .daily-table {
  table-layout: fixed;
  min-width: 620px;
}
#education-results th:first-child,
#education-results td:first-child {
  width: 72px;
  text-align: left;
}
#education-results th:nth-child(3),
#education-results td:nth-child(3) {
  width: 140px;
}
#education-results th:last-child,
#education-results td:last-child {
  width: 90px;
}
#education-results th:nth-child(2),
#education-results td:nth-child(2),
#education-results th:nth-child(3),
#education-results td:nth-child(3) {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
#education-detail .daily-table {
  min-width: 540px;
}
#education-detail td:first-child {
  white-space: normal;
  text-align: left;
}
#salary-form > .field,
#bonus-form > .field {
  margin-bottom: 18px;
}
.personality-question {
  min-width: 0;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #000;
}
.personality-question legend {
  max-width: 100%;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.personality-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.personality-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid #000;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  min-height: 46px;
}
.personality-options label:last-child {
  grid-column: 1/-1;
}
.personality-options label:has(input:checked) {
  background: #000;
  color: #fff;
}
.personality-options input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  accent-color: #777;
}
.personality-note-toggle,
.personality-answer-clear {
  background: #fff;
  border: 0;
  text-decoration: underline;
  font-size: 12px;
  padding: 12px 0;
  margin-right: 16px;
}
.personality-note {
  margin-top: 12px;
}
.personality-note[hidden] {
  display: none;
}
.personality-submit {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #000;
}
.personality-submit h3 {
  font-size: 20px;
}
.personality-submit .check-field {
  align-items: flex-start;
  line-height: 1.6;
}
.personality-submit input[type='checkbox'] {
  flex-shrink: 0;
  margin-top: 4px;
}
.personality-report {
  margin-top: 28px;
}
.personality-report > h2 {
  font-size: 28px;
}
.personality-report p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.personality-dimension {
  border: 1px solid #000;
  margin: 18px 0;
  padding: 18px;
}
.personality-dimension h3 {
  font-size: 18px;
}
.personality-dimension ul {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
}
.personality-dimension li {
  margin: 9px 0;
}
.personality-dimension button {
  background: #fff;
  border: 1px solid #000;
  padding: 2px 6px;
  font-size: 12px;
  text-decoration: underline;
}
.personality-disclaimer {
  border-left: 4px solid #000;
  background: #f5f5f5;
  padding: 16px;
  font-size: 14px;
}
#personality-coverage {
  overflow-wrap: anywhere;
}
#personality-questions {
  scroll-margin-top: 16px;
}
@media (max-width: 650px) {
  .personality-question,
  .personality-dimension,
  .personality-submit {
    padding: 14px;
  }
  .personality-options {
    grid-template-columns: 1fr;
  }
  .personality-options label:last-child {
    grid-column: auto;
  }
}
.personality-card-preview {
  max-width: 580px;
  margin: 24px auto;
}
.personality-share-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000;
  box-shadow: 7px 7px 0 #000;
}
.personality-followups {
  border: 2px solid #000;
  background: #f6f4ef;
  padding: 20px;
  margin: 24px 0;
}
.personality-followups .field {
  margin: 20px 0;
}
.personality-followups .field span {
  font-weight: 400;
  line-height: 1.6;
}
.personality-details-title {
  margin-top: 36px;
}
.personality-report > .tool-actions {
  justify-content: center;
}
#photo-legacy-fields,
#photo-collage-fields {
  display: grid;
  gap: 15px;
}
.photo-collage-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 22px;
}
.photo-collage-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid #c5bdad;
  background: #fff;
  font-size: 12px;
  line-height: 1.4;
}
.photo-collage-tile canvas {
  width: 100%;
  height: 96px;
  object-fit: contain;
}
.photo-collage-tile[aria-pressed='true'] {
  outline: 2px solid #000;
  outline-offset: 1px;
  background: #eee7d8;
}
.photo-collage-tile span {
  overflow-wrap: anywhere;
}
.photo-style-fields > .tool-actions {
  gap: 12px;
}
.photo-style-fields .tool-actions .text-button {
  min-height: 38px;
}
@media (max-width: 550px) {
  .photo-collage-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-collage-tile canvas {
    height: 110px;
  }
}

/* CV templates and local portrait editor. */
.cv-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}
.cv-template-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-align: left;
  border: 1px solid #bbb;
  background: #fff;
  padding: 15px;
}
.cv-template-card svg {
  display: block;
  height: 156px;
  max-width: 100%;
}
.cv-template-card strong,
.cv-template-card span {
  width: 100%;
}
.cv-template-card strong {
  font-size: 14px;
}
.cv-template-card span {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
}
.cv-template-card[aria-pressed='true'] {
  outline: 2px solid #000;
  outline-offset: 2px;
  background: #f8f7f4;
}
.cv-photo-section {
  border: 1px solid #ccc;
  padding: 22px;
  margin: 20px 0;
}
.cv-photo-editor {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.cv-photo-editor[hidden] {
  display: none;
}
.cv-photo-editor canvas {
  width: 180px;
  height: 240px;
  background: #eee;
  border: 1px solid #ccc;
}
.cv-photo-controls .field {
  margin-bottom: 14px;
}
.cv-photo-controls input[type='range'] {
  width: 100%;
  accent-color: #234d64;
}
.cv-photo-controls .tool-actions {
  margin: 10px 0;
  gap: 10px;
}
.cv-photo-controls .button {
  font-size: 12px;
  padding: 10px 12px;
}
.cv-extra-fields {
  margin-top: 28px;
}
.cv-shape,
.cv-portrait {
  position: absolute;
  display: block;
}
.cv-document-preview {
  padding: 8px;
  overflow: hidden;
}
.cv-document-preview:empty {
  padding: 0;
}
.cv-preview-page {
  position: relative;
  width: min(100%, 793.71px);
  height: var(--cv-preview-height, 1122.52px);
  margin: 12px auto;
}
.document-sheet.cv-sheet {
  margin: 0;
  transform: scale(var(--cv-preview-scale, 1));
  transform-origin: top left;
  font-family: PhotoJournalDocument, sans-serif;
}
.cv-sheet .document-line {
  font-weight: 400;
}
.cv-sheet .document-page-number {
  bottom: 16pt;
  right: 42pt;
  color: #56616b;
}
@media (max-width: 700px) {
  .cv-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cv-photo-section {
    padding: 14px;
  }
  .cv-photo-editor {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cv-photo-editor canvas {
    margin: auto;
  }
  .cv-template-card {
    padding: 12px;
  }
  .cv-template-card svg {
    height: 130px;
  }
}
@media print {
  .cv-preview-page {
    width: 595.28pt;
    height: 841.89pt;
    margin: 0;
    break-after: page;
  }
  .cv-preview-page:last-child {
    break-after: auto;
  }
  .document-sheet.cv-sheet {
    transform: none !important;
    box-shadow: none;
  }
}

/* Social games, greeting cards and shared expenses. */
.leisure-inline {
  display: flex;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}
.leisure-inline .field {
  flex: 1;
  margin: 0;
}
.leisure-inline .button {
  flex-shrink: 0;
}
.leisure-question {
  min-width: 0;
  border: 1px solid #bbb;
  margin: 24px 0;
  padding: 20px;
}
.leisure-question legend {
  max-width: 100%;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.leisure-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.leisure-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #bdbdbd;
  padding: 15px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  min-width: 0;
}
.leisure-options label:has(input:checked) {
  border-color: #234d64;
  background: #eef3f6;
}
.leisure-options input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
  accent-color: #234d64;
}
.leisure-report {
  margin: 30px 0;
  padding: 26px;
  border: 1px solid #bbb;
  border-top: 5px solid var(--leisure-accent, #6a4d91);
  overflow-wrap: anywhere;
  scroll-margin-top: 20px;
}
.leisure-report h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.leisure-tagline {
  font-size: 19px;
  color: #475764;
}
.leisure-report h3 {
  font-size: 17px;
  margin-top: 24px;
}
.leisure-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.leisure-card-preview {
  min-width: 0;
}
.leisure-card-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  max-width: 540px;
  margin: auto;
  box-shadow: 0 3px 14px #0001;
}
.friend-card {
  max-width: 400px;
  margin: 24px auto;
}
.friend-feedback {
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.friend-feedback li {
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}
.greeting-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.greeting-editor .tool-actions {
  gap: 10px;
}
.greeting-editor .tool-actions .button {
  font-size: 12px;
  padding: 12px 14px;
}
.greeting-editor .field-row {
  gap: 14px;
}
.greeting-editor .field {
  min-width: 0;
}
.leisure-list {
  margin: 16px 0 24px;
}
.split-person-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}
.split-person-row .field {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.split-expense-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  border: 1px solid #ddd;
  padding: 16px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.split-expense-row p {
  font-size: 12px;
  color: #555;
  margin: 8px 0 0;
}
.split-expense-row .tool-actions {
  margin: 0;
  flex-shrink: 0;
}
.split-beneficiaries {
  min-width: 0;
  border: 1px solid #ccc;
  padding: 15px;
}
.split-beneficiaries legend {
  padding: 0 6px;
  font-size: 14px;
}
.split-beneficiaries > div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.split-total {
  font-size: 20px;
}
.split-transfers {
  list-style: none;
  padding: 0;
}
.split-transfers li {
  padding: 14px;
  background: #f2f5f7;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.leisure-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.leisure-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.leisure-table th,
.leisure-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
}
.leisure-table th:first-child {
  max-width: 180px;
}
.leisure-free {
  padding: 14px;
  background: #f1f4f0;
}
#friend-name,
#split-title {
  max-width: 100%;
}
@media (max-width: 760px) {
  .greeting-editor,
  .leisure-report-grid {
    grid-template-columns: 1fr;
  }
  .leisure-report {
    padding: 18px;
  }
  .leisure-report h2 {
    font-size: 27px;
  }
  .leisure-options {
    grid-template-columns: 1fr;
  }
  .leisure-question {
    padding: 14px;
  }
  .leisure-inline {
    align-items: stretch;
    flex-direction: column;
  }
  .split-expense-row {
    flex-direction: column;
  }
  .split-expense-row .tool-actions {
    width: 100%;
  }
  .leisure-table th,
  .leisure-table td {
    padding: 10px 7px;
    font-size: 11px;
  }
  .greeting-editor .leisure-card-preview {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
}

/* Small quiz pages and explicitly declared travel preferences. */
#quiz-progress {
  scroll-margin-top: 20px;
}
.quiz-navigation {
  justify-content: space-between;
}
.travel-preferences-panel {
  border: 1px solid #c7d1d7;
  background: #f7f9fa;
  padding: 22px;
  margin: 26px 0;
}
.travel-preferences-panel h3 {
  font-size: 21px;
}
.travel-preference-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.travel-summary {
  margin-top: 26px;
  padding-top: 5px;
  border-top: 1px solid #d5dde2;
}
.travel-summary dl {
  margin: 16px 0;
}
.travel-summary dl > div {
  padding: 12px 0;
  border-bottom: 1px solid #e1e5e8;
}
.travel-summary dt {
  font-size: 12px;
  color: #596873;
  margin-bottom: 4px;
}
.travel-summary dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.travel-summary .travel-unspecified {
  color: #6d767c;
}
.travel-summary-note {
  font-size: 14px;
  white-space: pre-wrap;
}
@media (max-width: 650px) {
  .travel-preference-fields {
    grid-template-columns: 1fr;
  }
  .travel-preferences-panel {
    padding: 15px;
  }
  .quiz-navigation .button {
    font-size: 12px;
    padding: 12px;
  }
}
/* Friend challenge editor */
.friend-builder-controls {
  padding: 1.25rem;
  border: 1px solid var(--line, #bdb4a7);
  margin: 1.5rem 0;
  background: #f7f4ed;
}
.friend-count-row {
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}
.friend-count-row .field {
  flex: 1;
  min-width: 160px;
  margin: 0;
}
.friend-editor {
  min-width: 0;
}
.friend-editor .field textarea {
  width: 100%;
  box-sizing: border-box;
}
.friend-editor-options {
  display: grid;
  gap: 0.65rem;
}
.friend-option-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.5rem;
}
.friend-option-row > input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid currentColor;
  background: white;
  font: inherit;
  box-sizing: border-box;
}
.friend-option-row .button {
  padding: 0.5rem;
  min-width: 0;
}
.friend-answer-pick {
  display: flex;
  align-items: center;
  justify-content: center;
}
.friend-answer-pick input {
  width: 20px;
  height: 20px;
  accent-color: #6a4d91;
}
.friend-editor .tool-actions {
  flex-wrap: wrap;
}
.friend-editor legend {
  overflow-wrap: anywhere;
}
.friend-feedback {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .friend-builder-controls {
    padding: 0.8rem;
  }
  .friend-editor {
    padding: 0.8rem;
  }
  .friend-option-row {
    grid-template-columns: 24px minmax(0, 1fr) 36px;
    gap: 0.35rem;
  }
  .friend-editor .tool-actions .button {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
}
.greeting-template-picker {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}
.greeting-template-picker legend {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 14px;
}
.greeting-templates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.greeting-template {
  padding: 6px;
  border: 1px solid #c9c2b7;
  background: #fff;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  color: inherit;
  font: inherit;
}
.greeting-template canvas {
  display: block;
  width: 100%;
  height: auto;
}
.greeting-template strong {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 3px 4px;
  overflow-wrap: anywhere;
}
.greeting-template span {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  margin: 3px;
  color: #645e56;
}
.greeting-template[aria-pressed='true'] {
  outline: 2px solid #71543b;
  outline-offset: 1px;
  background: #f6f0e5;
}
.greeting-template:focus-visible {
  outline: 3px solid #315f7e;
  outline-offset: 2px;
}
@media (min-width: 761px) {
  #greeting-preview {
    position: sticky;
    top: 22px;
  }
}
@media (max-width: 420px) {
  .greeting-templates {
    gap: 7px;
  }
  .greeting-template {
    padding: 4px;
  }
  .greeting-template strong {
    font-size: 11px;
  }
}

/* Keep every category visible on small screens without horizontal discovery. */
@media (max-width: 800px) {
  .top-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px 16px;
  }
  .top-nav a {
    white-space: nowrap;
    line-height: 1.6;
  }
}
.pdf-selection-guide {
  padding: 26px 0;
  max-width: none;
}
.info-section li {
  font-size: 14px;
  line-height: 1.7;
  margin: 10px 0;
}
.info-section ul {
  padding-left: 22px;
}

.iban-modes {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.iban-modes button {
  flex: 1;
  min-width: 150px;
  white-space: normal;
}
.iban-mode[hidden],
#iban-simple-fields[hidden] {
  display: none;
}
.iban-mode h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.iban-mode > p,
.iban-mode li {
  font-size: 14px;
  line-height: 1.7;
}
.iban-mode .tool-actions {
  flex-wrap: wrap;
}
.iban-result p {
  overflow-wrap: anywhere;
}
.iban-result p:first-child {
  font-weight: 700;
  font-size: 18px;
}
.iban-result:empty {
  display: none;
}
.iban-official-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.iban-advanced {
  border-top: 1px solid #bbb;
  margin-top: 12px;
  padding-top: 18px;
}
.iban-advanced summary,
.iban-guide summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
}
.iban-advanced[open] summary {
  margin-bottom: 18px;
}
.iban-advanced > p {
  font-size: 14px;
}
.iban-guide {
  margin-top: 32px;
  scroll-margin-top: 20px;
}
.iban-guide h2 {
  font-size: 24px;
  margin: 28px 0 18px;
}
.iban-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.iban-bank-card {
  border: 1px solid #bbb;
  padding: 18px;
  min-width: 0;
}
.iban-bank-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.iban-bank-card p,
.iban-bank-card a {
  font-size: 14px;
  line-height: 1.7;
}
.iban-guide > details {
  border-top: 1px solid #ccc;
  padding: 16px 0;
}
.iban-guide > details p {
  margin: 12px 0 0;
}
@media (max-width: 550px) {
  .iban-bank-grid {
    grid-template-columns: 1fr;
  }
  .iban-modes button {
    min-width: 100%;
    text-align: left;
  }
  .iban-result p:first-child {
    font-size: 16px;
  }
}

/* UI palette copied from 网站迁移/src/app/globals.css (ASAGIRI).
   Screen-only skin: preserve layouts, document previews and printed output. */
@media screen {
  :root {
    --ui-page: #f9fbfa;
    --ui-surface: #fff;
    --ui-ink: #18252a;
    --ui-heading: #182e29;
    --ui-muted: #526267;
    --ui-green: #1d6a52;
    --ui-mint: #e2f5ef;
    --ui-line: #dfeae6;
    --ui-control-line: #b7d8ce;
    --ui-input-line: #dbe8e1;
    --ui-shadow: 0 5px 14px #254d3b08;
    --ui-card-surface: rgba(255, 255, 255, 0.24);
    --ui-hover-surface: rgba(226, 245, 239, 0.5);
    color: var(--ui-ink);
    background: var(--ui-page);
  }
  /* Use the reference site's body background across the complete page. */
  :root {
    --brand-page-background:
      linear-gradient(90deg, rgba(85, 191, 165, 0.16), transparent 50%, rgba(239, 158, 143, 0.18)),
      linear-gradient(180deg, #f8fbfb 0%, #f5f8f8 48%, #eef5f4 100%);
  }
  body {
    background: var(--brand-page-background);
    /* Keep both color accents visible at every scroll position. */
    background-attachment: fixed;
  }
  .site-header {
    background: transparent;
    border-color: var(--ui-line);
  }
  .brand {
    color: var(--ui-heading);
  }
  .top-nav a,
  .footer-links a,
  .breadcrumb a,
  .back-link {
    color: var(--ui-muted);
  }
  .top-nav a:hover,
  .footer-links a:hover,
  .breadcrumb a:hover,
  .back-link:hover {
    color: var(--ui-green);
  }
  .brand-count {
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
    color: var(--ui-green);
  }
  .home-hero {
    border-color: #e2ebe7;
    background: transparent;
  }
  .home-hero h1,
  .tool-header h1,
  .simple-page h1,
  .section-heading h2,
  .info-section h2 {
    color: var(--ui-heading);
  }
  .home-hero h1 em,
  .eyebrow,
  .section-rule,
  .card-arrow {
    color: var(--ui-green);
  }
  .hero-copy,
  .tool-header > p:last-child,
  .section-heading p:not(.eyebrow),
  .footer-inner p,
  .small-note,
  .source-note {
    color: var(--ui-muted);
  }
  .featured-section,
  .category-section,
  .related-section,
  .info-section {
    border-color: var(--ui-line);
  }
  .search-box {
    background: var(--ui-surface);
    border-color: var(--ui-input-line);
    border-radius: 12px;
    box-shadow: var(--ui-shadow);
    color: var(--ui-green);
  }
  .search-box input {
    background: transparent;
    color: var(--ui-ink);
  }
  .search-box kbd {
    color: var(--ui-muted);
    border-color: var(--ui-line);
    border-radius: 4px;
  }
  .search-box:focus-within {
    border-color: var(--ui-green);
    box-shadow: 0 0 0 3px #1d6a5212;
  }
  .tool-grid {
    gap: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .tool-card {
    padding: 17px;
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
    box-shadow:
      -4px -4px 10px rgba(255, 255, 255, 0.7),
      5px 6px 12px rgba(49, 82, 82, 0.09);
  }
  .tool-card-description {
    color: var(--ui-muted);
  }
  .tool-card:hover {
    color: var(--ui-green);
    background: var(--ui-hover-surface);
  }
  .category-links a {
    border-color: var(--ui-line);
    border-radius: 8px;
    background: var(--ui-card-surface);
    color: var(--ui-muted);
  }
  .category-links a:hover {
    border-color: var(--ui-control-line);
    color: var(--ui-green);
    background: var(--ui-hover-surface);
  }
  .tool-panel {
    border-color: var(--ui-line);
    border-radius: 16px;
    background: transparent;
    box-shadow: var(--ui-shadow);
  }
  .panel-heading {
    border-color: var(--ui-line);
    border-radius: 16px 16px 0 0;
    background: transparent;
    color: var(--ui-muted);
  }
  .field > input,
  .field > select,
  .field > textarea,
  textarea[readonly],
  .photo-select-trigger,
  .photo-select-search,
  .friend-option-row > input {
    color: var(--ui-ink);
    background: var(--ui-surface);
    border-color: var(--ui-input-line);
    border-radius: 8px;
  }
  .field input::placeholder,
  .field textarea::placeholder,
  .search-box input::placeholder,
  .photo-select-search::placeholder {
    color: var(--ui-muted);
  }
  .product-page input,
  .product-page select,
  .product-page textarea,
  .product-page select option {
    color: var(--ui-ink);
  }
  .product-page select option {
    background: var(--ui-surface);
  }
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  button:focus-visible,
  a:focus-visible {
    outline-color: var(--ui-green);
  }
  input[type='checkbox'],
  input[type='radio'],
  input[type='range'],
  .photo-style-fields .field > input[type='range'],
  .cv-photo-controls input[type='range'],
  .leisure-options input,
  .friend-answer-pick input,
  .shopping-item-label input {
    accent-color: var(--ui-green);
  }
  .button {
    border-radius: 8px;
    border-color: var(--ui-line);
  }
  .button-black {
    color: var(--ui-ink);
    background: var(--ui-card-surface);
    border-color: var(--ui-line);
    box-shadow:
      -4px -4px 10px rgba(255, 255, 255, 0.7),
      5px 6px 12px rgba(49, 82, 82, 0.09);
  }
  .button-black:hover {
    color: var(--ui-ink);
    background: var(--ui-hover-surface);
    border-color: var(--ui-control-line);
  }
  .button-outline {
    color: var(--ui-ink);
    background: var(--ui-card-surface);
  }
  .button-outline:hover {
    color: var(--ui-ink);
    background: var(--ui-hover-surface);
    border-color: var(--ui-control-line);
  }
  .button:disabled {
    color: var(--ui-muted);
    background: var(--ui-card-surface);
    border-color: var(--ui-line);
    box-shadow: none;
  }
  .text-button {
    color: var(--ui-ink);
    background: transparent;
  }
  .segmented button {
    border-color: var(--ui-line);
    background: var(--ui-card-surface);
    color: var(--ui-ink);
  }
  .segmented button:first-child {
    border-radius: 8px 0 0 8px;
  }
  .segmented button:last-child {
    border-radius: 0 8px 8px 0;
  }
  .segmented button:only-child {
    border-radius: 8px;
  }
  .segmented button:hover {
    background: var(--ui-hover-surface);
  }
  .segmented button.is-active {
    background: var(--ui-hover-surface);
    color: var(--ui-ink);
    border-color: var(--ui-control-line);
  }
  .stats-grid,
  .stat,
  .result-row,
  .timer-laps li,
  .shopping-item,
  .daily-table th,
  .daily-table td {
    border-color: var(--ui-line);
  }
  .stats-grid {
    border-radius: 10px;
    background: transparent;
  }
  .stat-label {
    color: var(--ui-muted);
  }
  .stat-value,
  .date-display {
    color: var(--ui-heading);
  }
  .name-pill {
    border-color: var(--ui-line);
    border-radius: 8px;
    background: var(--ui-card-surface);
    color: var(--ui-ink);
  }
  .file-drop {
    border-color: var(--ui-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
    color: var(--ui-ink);
  }
  .file-drop span:not(.drop-icon) {
    color: var(--ui-muted);
  }
  .file-drop:hover {
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
  }
  .file-drop:focus-within {
    outline-color: var(--ui-green);
  }
  .file-item,
  .ordered-file-item button,
  .single-file-item button,
  .heic-card .file-item .heic-remove {
    border-color: var(--ui-line);
    background: var(--ui-card-surface);
  }
  .file-item button {
    color: var(--ui-muted);
    border-radius: 4px;
  }
  .download-list a {
    border-color: var(--ui-line);
    border-radius: 8px;
    background: var(--ui-card-surface);
    color: var(--ui-ink);
  }
  .download-list a:hover {
    background: var(--ui-hover-surface);
    color: var(--ui-ink);
  }
  .table-scroll,
  .qr-preview {
    border-color: var(--ui-line);
    border-radius: 10px;
    background: var(--ui-surface);
  }
  .table-scroll {
    background: var(--ui-card-surface);
  }
  .daily-table thead {
    background: var(--ui-hover-surface);
  }
  .photo-select-list,
  .photo-select-popup {
    border-color: var(--ui-control-line);
    border-radius: 10px;
    background: var(--ui-surface);
    box-shadow: 0 18px 35px rgba(49, 82, 82, 0.16);
  }
  .photo-select-trigger::after {
    border-color: var(--ui-green);
  }
  .photo-select-trigger[aria-expanded='true'] {
    box-shadow: 0 0 0 3px #1d6a5212;
  }
  .photo-select-list [role='option'] {
    border-radius: 6px;
    color: var(--ui-ink);
  }
  .photo-select-list [role='option'][aria-disabled='true'] {
    color: var(--ui-muted);
  }
  .photo-select-list [role='option'][aria-selected='true'] {
    color: var(--ui-ink);
    background: var(--ui-hover-surface);
  }
  .photo-select-list [role='option']:hover,
  .photo-select-list [role='option'].is-highlighted {
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
    color: var(--ui-ink);
  }
  .photo-style-section,
  .cooking-custom,
  .cv-photo-section,
  .travel-preferences-panel,
  .friend-builder-controls,
  .personality-followups {
    border-color: var(--ui-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
  }
  .photo-style-fields .small-note,
  .cv-template-card span,
  .greeting-template span,
  .travel-summary dt,
  .travel-summary .travel-unspecified,
  .leisure-tagline,
  .split-expense-row p {
    color: var(--ui-muted);
  }
  .iban-bank-card,
  .cv-template-card,
  .photo-collage-tile,
  .greeting-template,
  .leisure-question,
  .leisure-options label,
  .split-person-row,
  .split-expense-row,
  .split-beneficiaries,
  .personality-question,
  .personality-dimension {
    border-color: var(--ui-line);
    border-radius: 10px;
    background: var(--ui-card-surface);
  }
  .cv-template-card[aria-pressed='true'],
  .photo-collage-tile[aria-pressed='true'],
  .greeting-template[aria-pressed='true'] {
    outline: none;
    border-color: var(--ui-control-line);
    box-shadow: inset 0 0 0 1px var(--ui-control-line);
    background: var(--ui-hover-surface);
  }
  .leisure-options label:has(input:checked) {
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
  }
  .iban-advanced,
  .iban-guide > details,
  .travel-summary,
  .travel-summary dl > div,
  .friend-feedback li,
  .leisure-table th,
  .leisure-table td {
    border-color: var(--ui-line);
  }
  .iban-official-link,
  .info-section a,
  .source-note a {
    color: var(--ui-ink);
  }
  .split-transfers li,
  .leisure-free,
  .personality-disclaimer {
    background: var(--ui-card-surface);
    border-color: var(--ui-line);
    border-radius: 8px;
  }
  .personality-share-canvas {
    border-color: var(--ui-line);
    box-shadow: var(--ui-shadow);
  }
  .personality-options label {
    background: var(--ui-card-surface);
    color: var(--ui-ink);
  }
  .personality-options label,
  .personality-submit,
  .cv-entry,
  .heic-card {
    border-color: var(--ui-line);
    border-radius: 10px;
  }
  .personality-options label:has(input:checked) {
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
    color: var(--ui-ink);
  }
  .personality-options input {
    accent-color: var(--ui-green);
  }
  .greeting-template:focus-visible,
  .cv-template-card:focus-visible,
  .photo-collage-tile:focus-visible {
    outline: 2px solid var(--ui-green);
    outline-offset: 3px;
  }
  .leisure-options label:has(input:focus-visible),
  .personality-options label:has(input:focus-visible) {
    outline: 2px solid var(--ui-green);
    outline-offset: 3px;
  }
  .cv-template-card,
  .photo-collage-tile {
    color: var(--ui-ink);
  }
  .photo-style-fields .status,
  .shopping-done,
  .single-file-item button:disabled {
    color: var(--ui-muted);
  }
  .personality-note-toggle,
  .personality-answer-clear,
  .personality-dimension button {
    color: var(--ui-ink);
    background: transparent;
    border-color: var(--ui-control-line);
  }
  .site-footer {
    border-color: var(--ui-line);
    background: transparent;
  }
  /* Soft raised surfaces; keep the page's translucent color treatment. */
  .button-outline,
  .category-links a,
  .download-list a {
    box-shadow:
      -4px -4px 10px rgba(255, 255, 255, 0.7),
      5px 6px 12px rgba(49, 82, 82, 0.09);
  }
  .field
    > input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']):not(
      [type='file']
    ),
  .field > select,
  .field > textarea,
  .photo-select-trigger,
  .photo-select-search {
    box-shadow: inset 2px 2px 5px rgba(49, 82, 82, 0.05);
  }
  .tool-card,
  .category-links a,
  .button,
  .segmented button,
  .download-list a,
  .file-drop,
  .name-pill {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }
  .card-arrow {
    transition: transform 180ms ease;
  }
  /* Reset the old hard offset, including on touch devices. */
  .tool-card:hover,
  .category-links a:hover,
  .button:not(:disabled):hover,
  .segmented button:hover,
  .download-list a:hover,
  .file-drop:hover {
    transform: none;
  }
  .tool-card:hover,
  .category-links a:hover,
  .button:not(:disabled):hover,
  .download-list a:hover {
    box-shadow:
      -4px -4px 10px rgba(255, 255, 255, 0.7),
      5px 6px 12px rgba(49, 82, 82, 0.09);
  }
  .segmented button:hover,
  .file-drop:hover {
    box-shadow: none;
  }
  .text-button:hover,
  .file-item button:hover,
  .top-nav a:hover,
  .footer-links a:hover,
  .brand:hover,
  .back-link:hover,
  .text-button:active,
  .file-item button:active,
  .top-nav a:active,
  .footer-links a:active,
  .brand:active,
  .back-link:active {
    transform: none;
  }
  .tool-card:focus-visible,
  .category-links a:focus-visible,
  .download-list a:focus-visible,
  .button:not(:disabled):focus-visible {
    outline: 2px solid var(--ui-green);
    outline-offset: 4px;
    box-shadow: 0 7px 16px rgba(49, 82, 82, 0.12);
  }
  .file-drop:focus-within {
    border-color: var(--ui-green);
    background: var(--ui-hover-surface);
  }
  .search-box {
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease,
      background-color 180ms ease;
  }
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a) {
    border-radius: 4px;
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      background-color 180ms ease,
      color 180ms ease;
    text-underline-offset: 4px;
  }
  .footer-suggestion a {
    display: inline-block;
  }
  :is(
    .top-nav a,
    .footer-links a,
    .footer-suggestion a,
    .brand,
    .back-link,
    .breadcrumb a
  ):focus-visible {
    color: var(--ui-green);
    background: var(--ui-hover-surface);
    outline: 2px solid var(--ui-green);
    outline-offset: 4px;
  }
}
@media screen and (hover: hover) and (pointer: fine) {
  .search-box:hover {
    border-color: var(--ui-control-line);
    box-shadow: 0 7px 16px rgba(49, 82, 82, 0.12);
  }
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a):hover {
    color: var(--ui-green);
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
    transform: translateY(-2px);
  }
  .tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
    box-shadow:
      -8px -8px 18px rgba(255, 255, 255, 0.9),
      14px 16px 26px rgba(49, 82, 82, 0.13);
  }
  .tool-card:hover .card-arrow {
    transform: translate(2px, -2px);
  }
  .category-links a:hover,
  .button:not(:disabled):hover,
  .download-list a:hover,
  .file-drop:hover,
  .product-calendar .name-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(49, 82, 82, 0.12);
  }
  .segmented button:not(:disabled):hover {
    box-shadow: inset 2px 2px 5px rgba(49, 82, 82, 0.05);
  }
  .product-page
    :is(
      .button:not(:disabled),
      .segmented button:not(:disabled),
      .download-list a,
      .file-drop,
      .name-pill,
      .leisure-options label,
      .personality-options label,
      .cv-template-card,
      .greeting-template,
      .photo-collage-tile
    ):hover {
    color: var(--ui-ink);
    border-color: var(--ui-control-line);
    background: var(--ui-hover-surface);
  }
  .product-page
    :is(
      .leisure-options label,
      .personality-options label,
      .cv-template-card,
      .greeting-template,
      .photo-collage-tile
    ) {
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }
}
@media screen {
  .search-box:active {
    box-shadow: inset 3px 3px 8px rgba(49, 82, 82, 0.12);
  }
  .search-box:focus-within {
    border-color: var(--ui-green);
    box-shadow:
      0 0 0 3px #1d6a5212,
      inset 2px 2px 5px rgba(49, 82, 82, 0.05);
  }
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a):active {
    color: var(--ui-green);
    background: transparent;
    box-shadow: none;
    transform: translateY(1px);
  }
  .tool-card:active,
  .category-links a:active,
  .button:not(:disabled):active,
  .segmented button:not(:disabled):active,
  .download-list a:active,
  .file-drop:active,
  .name-pill:active {
    transform: translateY(1px);
    box-shadow: inset 3px 3px 8px rgba(49, 82, 82, 0.12);
  }
  .tool-card:active .card-arrow {
    transform: none;
  }
  .button:disabled,
  .segmented button:disabled {
    transform: none;
    box-shadow: none;
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  .search-box,
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a) {
    transition: none;
  }
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a):hover,
  :is(.top-nav a, .footer-links a, .footer-suggestion a, .brand, .back-link, .breadcrumb a):active {
    transform: none;
  }
  .tool-card,
  .category-links a,
  .button,
  .segmented button,
  .download-list a,
  .file-drop,
  .card-arrow {
    transition: none;
  }
  .tool-card:hover,
  .category-links a:hover,
  .button:not(:disabled):hover,
  .segmented button:hover,
  .download-list a:hover,
  .file-drop:hover,
  .tool-card:active,
  .category-links a:active,
  .button:not(:disabled):active,
  .segmented button:active,
  .download-list a:active,
  .file-drop:active,
  .tool-card:hover .card-arrow {
    transform: none;
  }
}

.metadata-results {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.metadata-result {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: var(--ui-card-surface);
  overflow-wrap: anywhere;
}
.metadata-result h3 {
  color: var(--ui-heading);
  font-size: 16px;
  margin: 0 0 10px;
}
.metadata-result p,
.metadata-explanation p {
  font-size: 14px;
  line-height: 1.75;
}
.metadata-result p {
  margin: 8px 0;
}
.metadata-explanation {
  border-top: 1px solid var(--ui-line);
  margin-top: 28px;
  padding-top: 24px;
}
.metadata-explanation h3 {
  color: var(--ui-heading);
  font-size: 19px;
}
.metadata-explanation a {
  color: var(--ui-ink);
  text-underline-offset: 3px;
}
.metadata-explanation a:hover {
  color: var(--ui-green);
}
.metadata-explanation a:focus-visible {
  outline: 2px solid var(--ui-green);
  outline-offset: 3px;
}
.file-drop.metadata-drag {
  background: var(--ui-hover-surface);
  border-color: var(--ui-control-line);
}
.metadata-result a[aria-disabled='true'] {
  pointer-events: none;
  opacity: 0.5;
}
.metadata-error {
  font-weight: 600;
}
/* Product pages use the home palette. Screen-only: exported paper stays independent. */
@media screen {
  .product-page
    :is(
      .third-details,
      .table-scroll,
      .spelling-result,
      .spelling-suggestions,
      .iban-bank-card,
      .iban-advanced,
      .iban-guide > details,
      .split-beneficiaries,
      .travel-preferences-panel,
      .friend-builder-controls,
      .qr-preview
    ) {
    border-color: var(--ui-line);
    border-radius: 12px;
  }
  .product-page
    :is(
      .third-details,
      .spelling-suggestions,
      .iban-bank-card,
      .travel-preferences-panel,
      .friend-builder-controls
    ) {
    background: var(--ui-card-surface);
  }
  .product-page .daily-table thead {
    background: var(--ui-hover-surface);
    color: var(--ui-heading);
  }
  .product-page .table-scroll {
    border-color: var(--ui-line);
  }
  .product-page .friend-option-row > input {
    border-color: var(--ui-input-line);
    border-radius: 8px;
    color: var(--ui-ink);
  }
  .product-page .shopping-item {
    padding: 16px 12px;
    margin: 8px 0;
    border: 1px solid var(--ui-line);
    border-radius: 10px;
    background: var(--ui-card-surface);
  }
  .product-page #education-detail > p {
    border-color: var(--ui-line);
  }
  .product-example-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin: 0 0 16px;
  }
  .product-example-bar span {
    font-size: 11px;
    color: var(--ui-muted);
  }
  .product-example-bar .text-button {
    min-height: 36px;
  }
  .product-example-bar button:disabled {
    opacity: 0.5;
    text-decoration: none;
  }
  .product-area-title {
    font-size: 19px;
    margin-bottom: 18px;
    color: var(--ui-heading);
  }
  .product-document-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
  .product-document-grid > * {
    min-width: 0;
  }
  .product-document-preview {
    position: sticky;
    top: 20px;
  }
  .product-document-preview > .small-note {
    margin: 0 0 16px;
  }
  .product-document-preview .document-preview {
    max-height: 75vh;
    overflow: auto;
  }
  .product-document-preview .document-preview:empty {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px dashed var(--ui-control-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
  }
  .product-document-preview .document-preview:empty::before {
    content: '填写内容后，点击“生成预览”。';
    color: var(--ui-muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
  }
  .product-document-grid .cv-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-calculation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
  }
  .product-calculation-grid > section {
    min-width: 0;
  }
  .product-calculation-grid > section + section {
    padding: 24px;
    border-radius: 16px;
    background: var(--ui-card-surface);
    border: 1px solid var(--ui-line);
    align-self: start;
  }
  .product-calculation-grid .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }
  .product-calculation-grid .stats-grid .stat {
    background: transparent;
    border: 0;
    padding: 12px 0;
    border-radius: 0;
  }
  .product-calculation-grid .stats-grid .stat:first-child .stat-value {
    font-size: clamp(32px, 4vw, 48px);
  }
  .product-calculation-grid .stats-grid .stat + .stat {
    border-top: 1px solid var(--ui-control-line);
  }
  .product-breakdown,
  .product-timer-settings {
    padding: 18px 0;
    border-top: 1px solid var(--ui-line);
    margin-top: 22px;
  }
  .product-breakdown summary,
  .product-timer-settings summary {
    font-weight: 700;
    color: var(--ui-heading);
    cursor: pointer;
    line-height: 1.6;
  }
  .product-timer-settings[open] summary {
    margin-bottom: 20px;
  }
  .product-primary-result {
    margin-top: 24px;
    border-radius: 16px;
    padding: 24px;
    background: var(--ui-card-surface);
    border: 1px solid var(--ui-control-line);
    color: var(--ui-heading);
  }
  .product-primary-result > span {
    font-size: 13px;
  }
  .product-primary-result > strong {
    display: block;
    font-size: 52px;
    line-height: 1.2;
    color: var(--ui-heading);
    margin: 12px 0;
  }
  .product-primary-result p {
    font-size: 13px;
  }
  .product-page {
    padding-bottom: 64px;
  }
  .product-header {
    max-width: 950px;
    margin-bottom: 28px;
  }
  .product-header h1 {
    font-size: clamp(30px, 3.6vw, 48px);
    letter-spacing: -0.045em;
  }
  .product-header > p:last-child {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.65;
  }
  .product-page .breadcrumb {
    padding-bottom: 28px;
  }
  .product-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    color: var(--ui-muted);
    font-size: 13px;
  }
  .product-steps li {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .product-steps li > span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid var(--ui-control-line);
    border-radius: 50%;
    color: var(--ui-ink);
    font-weight: 700;
    background: var(--ui-card-surface);
  }
  .product-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
  }
  .product-workspace-single,
  .product-editor .product-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-page .tool-panel {
    width: 100%;
    max-width: none;
    background: transparent;
    min-width: 0;
  }
  .product-page .panel-heading {
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 16px 24px;
  }
  .product-page .panel-body {
    padding: 28px;
  }
  .product-page .file-drop {
    background: var(--ui-card-surface);
    min-height: 200px;
  }
  .product-guide {
    padding: 24px;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    background: var(--ui-card-surface);
    min-width: 0;
  }
  .product-guide h2 {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.025em;
    color: var(--ui-heading);
  }
  .product-guide p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ui-muted);
  }
  .product-guide .eyebrow {
    font-size: 10px;
    color: var(--ui-green);
  }
  .product-check {
    border-top: 1px solid var(--ui-line);
    margin-top: 20px;
    padding-top: 18px;
  }
  .product-check h3 {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--ui-heading);
  }
  .product-guide .product-local {
    color: var(--ui-muted);
    font-size: 12px;
  }
  .product-help-link {
    color: var(--ui-ink);
    font-size: 13px;
    text-underline-offset: 4px;
  }
  .product-inline-guide {
    margin-top: 20px;
  }
  .product-inline-guide .product-guide,
  .product-editor .product-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
  }
  .product-inline-guide .product-guide > .eyebrow,
  .product-editor .product-guide > .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .product-inline-guide .product-guide h2,
  .product-editor .product-guide h2 {
    margin: 0;
  }
  .product-inline-guide .product-check,
  .product-editor .product-check {
    grid-column: 2;
    grid-row: 2 / span 3;
    border-top: 0;
    border-left: 1px solid var(--ui-line);
    padding: 0 0 0 24px;
    margin: 0;
  }
  .product-inline-guide .product-guide > p,
  .product-editor .product-guide > p {
    margin: 0;
  }
  .product-method {
    max-width: none;
    padding: 26px 0;
    scroll-margin-top: 24px;
  }
  .product-method summary {
    cursor: pointer;
    color: var(--ui-heading);
    padding: 12px 0;
  }
  .product-method summary .eyebrow {
    display: block;
    margin: 0 0 8px;
  }
  .product-method summary h2 {
    display: inline;
    font-size: 22px;
  }
  .product-method-body {
    max-width: 880px;
    padding-top: 20px;
    line-height: 1.75;
    color: var(--ui-muted);
  }
  .product-method-body p {
    font-size: 14px;
  }
  .product-page .stats-grid {
    gap: 12px;
    border: 0;
  }
  .product-page .stat {
    border: 1px solid var(--ui-line);
    background: var(--ui-card-surface);
    border-radius: 12px;
  }
  .product-calculate .stats-grid .stat:first-child {
    background: var(--ui-card-surface);
    border-color: var(--ui-line);
  }
  .product-calculate .stats-grid .stat:first-child .stat-value {
    font-size: 30px;
  }
  .product-page .table-scroll {
    max-width: 100%;
  }
  .product-text .panel-body {
    padding: 24px;
  }
  .product-text textarea {
    min-height: 220px;
    resize: vertical;
  }
  .product-text .stats-grid {
    margin-bottom: 12px;
  }
  .product-text .field-row:has(textarea) {
    gap: 24px;
  }
  .product-text .panel-body > .tool-controls > .field-row:has(textarea),
  .product-text .panel-body > .field-row:has(textarea) {
    margin-bottom: 8px;
  }
  .product-game .tool-header {
    max-width: 850px;
  }
  .product-game .tool-panel {
    max-width: 1000px;
    margin-inline: auto;
  }
  .product-game .panel-heading {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .product-game .leisure-question {
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    background: var(--ui-card-surface);
  }
  .product-game .leisure-options label {
    border-radius: 10px;
    min-height: 48px;
    padding: 13px;
  }
  .product-game #quiz-progress {
    padding: 12px 0;
    background: transparent;
  }
  .product-quiz-meter {
    display: block;
    width: 100%;
    height: 8px;
    accent-color: var(--ui-green);
    margin: 0 0 24px;
    border: 0;
    border-radius: 8px;
  }
  .product-quiz-meter::-webkit-progress-bar {
    border-radius: 8px;
    background: var(--ui-hover-surface);
  }
  .product-quiz-meter::-webkit-progress-value {
    border-radius: 8px;
    background: var(--ui-green);
  }
  .product-game .leisure-report {
    border-radius: 16px;
    border-color: var(--ui-control-line);
  }
  .product-daily .timer-display {
    font-variant-numeric: tabular-nums;
    font-size: clamp(42px, 7vw, 84px);
    letter-spacing: -0.04em;
    text-align: center;
    color: var(--ui-heading);
    padding: 28px 0;
  }
  .product-daily .panel-body:has(#timer-display) {
    max-width: 800px;
    margin-inline: auto;
  }
  .product-daily .panel-body:has(#timer-display) .tool-actions {
    justify-content: center;
  }
  .product-calendar .date-display {
    font-size: 18px;
    padding-bottom: 12px;
  }
  .nameday-upcoming,
  .nameday-wishes {
    border-top: 1px solid var(--ui-line);
    margin-top: 28px;
    padding-top: 26px;
  }
  .nameday-upcoming h2,
  .nameday-wishes h2 {
    font-size: 22px;
    color: var(--ui-heading);
  }
  .nameday-days {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .nameday-days article {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
  }
  .nameday-days h3 {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ui-heading);
  }
  .nameday-days .name-pill {
    padding: 5px 8px;
    font-size: 12px;
  }
  .nameday-days p {
    font-size: 12px;
  }
  .nameday-quick-dates {
    margin: 0 0 20px;
  }
  .product-calendar .name-pill {
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  .product-calendar a.name-pill {
    text-decoration: none;
  }
  .product-calendar a.name-pill:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .product-calendar a.name-pill:focus-visible {
    outline: 2px solid var(--ui-green);
    outline-offset: 3px;
  }
  .product-calendar #today-content h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 20px;
  }
  .product-calendar .result-row {
    padding: 20px 0;
  }
  .product-file .image-preview {
    max-height: 460px;
    object-fit: contain;
  }
  .crop-editor {
    margin-bottom: 24px;
  }
  #crop-source {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 460px;
    margin: 18px auto;
    cursor: crosshair;
    touch-action: none;
    border-radius: 8px;
  }
  .crop-editor .tool-actions {
    gap: 8px;
  }
  .product-downloads {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    background: var(--ui-card-surface);
  }
  .product-downloads h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--ui-heading);
  }
  .product-downloads p {
    font-size: 12px;
    color: var(--ui-muted);
  }
  .product-downloads ul {
    padding: 0;
    margin: 12px 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }
  .product-downloads li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    justify-content: space-between;
  }
  .product-downloads li > span {
    overflow-wrap: anywhere;
    font-size: 13px;
  }
  .product-downloads [data-output-stale] {
    font-weight: 700;
  }
  .product-page summary:focus-visible,
  .product-help-link:focus-visible {
    outline: 2px solid var(--ui-green);
    outline-offset: 4px;
  }
}
@media screen and (max-width: 1000px) {
  .product-document-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-document-preview {
    position: static;
  }
  .product-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-workspace > .product-guide {
    display: block;
  }
  .product-workspace > .product-guide .product-check {
    grid-area: auto;
    border-left: 0;
    border-top: 1px solid var(--ui-line);
    padding: 16px 0 0;
    margin-top: 16px;
  }
}
@media screen and (max-width: 600px) {
  .nameday-days {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-calculation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .product-calculation-grid > section + section {
    padding: 18px;
  }
  .product-page .panel-body {
    padding: 18px;
  }
  .product-page .panel-heading {
    padding: 14px 18px;
    font-size: 10px;
  }
  .product-header > p:last-child {
    font-size: 15px;
  }
  .product-steps {
    gap: 8px;
    font-size: 11px;
  }
  .product-steps li {
    flex: 1;
    align-items: flex-start;
    line-height: 1.5;
    gap: 6px;
  }
  .product-steps li > span {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }
  .product-inline-guide .product-guide,
  .product-editor .product-guide {
    display: block;
    padding: 20px;
  }
  .product-inline-guide .product-guide h2,
  .product-editor .product-guide h2 {
    margin: 10px 0;
  }
  .product-inline-guide .product-check,
  .product-editor .product-check {
    border-left: 0;
    border-top: 1px solid var(--ui-line);
    margin-top: 16px;
    padding: 16px 0 0;
  }
  .product-page .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-page .stat {
    padding: 16px;
  }
  .product-page .tool-actions > .button {
    flex-grow: 1;
  }
  .product-game .leisure-question {
    padding: 16px;
  }
  .product-page .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-downloads {
    padding: 16px;
  }
}
@media print {
  .product-steps,
  .product-guide,
  .product-method,
  .product-downloads {
    display: none !important;
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  html,
  .product-page * {
    scroll-behavior: auto;
  }
  .name-pill {
    transition: none;
  }
  .product-calendar .name-pill:hover,
  .name-pill:active {
    transform: none;
  }
  .product-page
    :is(
      .leisure-options label,
      .personality-options label,
      .cv-template-card,
      .greeting-template,
      .photo-collage-tile
    ) {
    transition: none;
  }
}

/* Search entry pages: useful examples reuse the site's existing surfaces. */
.search-guide {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: var(--ui-card-surface);
  color: var(--ui-ink);
}
.search-guide h2 {
  color: var(--ui-heading);
  font-size: clamp(20px, 3vw, 26px);
  margin: 0 0 14px;
}
.search-guide h3 {
  color: var(--ui-heading);
  font-size: 17px;
}
.search-guide p,
.search-guide li {
  line-height: 1.75;
}
.search-guide .small-note,
.tool-examples > p {
  color: var(--ui-muted);
  font-size: 13px;
}
.search-questions {
  margin: 20px 0;
}
.search-questions details {
  padding: 14px 0;
  border-top: 1px solid var(--ui-line);
}
.search-questions summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ui-ink);
}
.search-questions summary:focus-visible {
  outline: 2px solid var(--ui-green);
  outline-offset: 4px;
}
.tool-examples {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ui-line);
}
.tool-examples .tool-actions {
  gap: 10px;
}
.tool-examples .button {
  white-space: normal;
  text-align: left;
}
.search-task-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 20px 0;
  font-size: 14px;
}
.search-task-links a {
  color: var(--ui-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.search-task-links a:hover {
  color: var(--ui-green);
}
.search-task-links a:focus-visible {
  outline: 2px solid var(--ui-green);
  outline-offset: 4px;
}
.nameday-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.nameday-samples article {
  min-width: 0;
}
.nameday-samples figure {
  margin: 0;
}
.nameday-samples figcaption p {
  font-size: 13px;
}
.nameday-sample-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}
.creative-gallery figure {
  margin: 0;
  min-width: 0;
}
.creative-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.creative-gallery figcaption {
  padding: 12px 0;
}
.creative-gallery figcaption p {
  font-size: 13px;
}
.book-example-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.book-example-gallery figure:not(:first-child) {
  grid-column: 2;
}
.book-example-gallery figure:first-child {
  grid-row: 1 / 4;
}
.cv-example-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.cv-example-gallery article {
  min-width: 0;
}
@media (max-width: 600px) {
  .book-example-gallery,
  .cv-example-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .book-example-gallery figure:not(:first-child),
  .book-example-gallery figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .book-example-gallery figure:first-child img {
    max-width: 280px;
    margin-inline: auto;
  }
  .nameday-samples {
    grid-template-columns: minmax(0, 1fr);
  }
  .nameday-sample-art {
    max-width: 300px;
    margin-inline: auto;
  }
  .nameday-samples article {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ui-line);
  }
}

/* Keep scrollbar geometry stable; reveal only the scroller that is moving. */
@media screen {
  html.scrollbars-auto-hide,
  html.scrollbars-auto-hide * {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }
  html.scrollbars-auto-hide.is-scrolling,
  html.scrollbars-auto-hide .is-scrolling {
    scrollbar-color: var(--ui-muted) transparent;
  }
  html.scrollbars-auto-hide::-webkit-scrollbar,
  html.scrollbars-auto-hide *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
  }
  html.scrollbars-auto-hide::-webkit-scrollbar-thumb,
  html.scrollbars-auto-hide *::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
  }
  html.scrollbars-auto-hide.is-scrolling::-webkit-scrollbar-thumb,
  html.scrollbars-auto-hide .is-scrolling::-webkit-scrollbar-thumb {
    background-color: var(--ui-muted);
  }
  html.scrollbars-auto-hide::-webkit-scrollbar-track,
  html.scrollbars-auto-hide *::-webkit-scrollbar-track,
  html.scrollbars-auto-hide::-webkit-scrollbar-corner,
  html.scrollbars-auto-hide *::-webkit-scrollbar-corner {
    background: transparent;
  }
}

/* Keep each wish and its actions together, with room before the next example. */
#nameday-wishes article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ui-line);
}

/* VAT reference table shares the site's transparent surfaces and text roles. */
.vat-modes {
  margin-top: 24px;
}
#vat-custom-field {
  margin-bottom: 18px;
}
#vat-custom-field[hidden] {
  display: none;
}
#vat-rate-help {
  margin-bottom: 12px;
}
.vat-table-wrap {
  max-height: 440px;
  overflow: auto;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  margin: 20px 0;
}
.vat-table-wrap:focus-visible {
  outline: 2px solid var(--ui-green);
  outline-offset: 4px;
}
.vat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  color: var(--ui-ink);
}
.vat-table caption {
  text-align: left;
  padding: 14px;
  color: var(--ui-muted);
  font-size: 12px;
}
.vat-table th,
.vat-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ui-line);
}
.vat-table thead th {
  color: var(--ui-heading);
}
.vat-table tbody th {
  font-weight: 500;
}
.vat-table td {
  font-variant-numeric: tabular-nums;
}
#vat-results .stat-value {
  color: var(--ui-ink);
  font-variant-numeric: tabular-nums;
}

/* Shared brand signature. Chinese uses the bundled wordmark glyphs, with
   English centered underneath; English pages use a single Latin wordmark. */
@font-face {
  font-family: FleetingBrand;
  src: url('/assets/fonts/cover-brand-serif.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.home-brand .brand-emblem,
.workspace-heading .brand-emblem {
  display: block;
  width: 28px;
  height: 38px;
  flex: none;
  color: #365c4c;
}
.brand-copy {
  display: grid;
  justify-items: center;
  row-gap: 7px;
  text-align: center;
  color: #203d37;
  white-space: nowrap;
}
.brand-copy .brand-wordmark {
  display: block;
  font:
    400 31px/1.05 FleetingBrand,
    'Songti SC',
    serif;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
}
.brand-copy .brand-english {
  display: block;
  font:
    400 9px/1.1 Georgia,
    serif;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}
.brand-copy .brand-english[hidden] {
  display: none;
}
html[lang='en'] .brand-copy .brand-wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  padding-left: 0.12em;
}
@media (max-width: 760px) {
  .brand-copy {
    row-gap: 5px;
  }
  .brand-copy .brand-wordmark {
    font-size: 26px;
  }
  html[lang='en'] .brand-copy .brand-wordmark {
    font-size: 15px;
    letter-spacing: 0.08em;
    padding-left: 0.08em;
  }
  .brand-copy .brand-english {
    font-size: 7.5px;
    letter-spacing: 0.17em;
  }
  .home-brand .brand-emblem,
  .workspace-heading .brand-emblem {
    width: 24px;
    height: 34px;
  }
}

/* Custom select controls. Native selects are retained only for form values. */
.select-control {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  vertical-align: middle;
}
select.select-native {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.select-control .select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  margin: 0;
  text-align: left;
  color: #29463e;
  border: 1px solid #a2b8ac90;
  border-radius: 9px;
  background: #ffffff85;
  box-shadow: none;
  font:
    400 13px/1.45 Inter,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  transform: none;
  transition:
    border-color 150ms,
    background 150ms;
}
.select-control .select-trigger:hover,
.select-control.is-open .select-trigger {
  border-color: #618777;
  background: #ffffffc9;
}
.select-trigger:focus-visible {
  outline: 2px solid #3c7965;
  outline-offset: 3px;
}
.select-control .select-trigger:disabled {
  opacity: 0.5;
  cursor: default;
}
.select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-chevron {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 150ms;
}
.select-chevron svg {
  display: block;
  width: 16px;
  height: 16px;
}
.is-open .select-chevron {
  transform: rotate(180deg);
}
.select-menu {
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid #b8cbbdaa;
  border-radius: 12px;
  background: #fcfdf9;
  box-shadow:
    0 10px 36px #263e3317,
    0 2px 6px #263e3309;
  color: #29463e;
  font:
    400 13px/1.5 Inter,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #bacbc0 transparent;
}
.select-option {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 30px 10px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.select-option.is-highlighted {
  background: #edf3ec;
}
.select-option[aria-selected='true'] {
  color: #23664d;
  font-weight: 500;
}
.select-option[aria-selected='true']::after {
  content: '';
  position: absolute;
  right: 13px;
  top: calc(50% - 5px);
  width: 5px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.select-option[aria-disabled='true'] {
  opacity: 0.4;
  cursor: default;
}
.select-control--language {
  width: 133px;
}
.select-control--language .select-trigger {
  min-height: 40px;
  padding: 6px 2px;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
}
.select-control--language .select-trigger:hover,
.select-control--language.is-open .select-trigger {
  background: transparent;
  color: #247052;
}
.select-globe {
  display: flex;
  flex: none;
}
.select-globe svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.2;
}

@font-face {
  font-family: AlbumNotebookHand;
  src: url('/assets/fonts/chillzhuo-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: AlbumDedication;
  src: url('/assets/fonts/album-dedication-script.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
